|
[Original]
[Print]
[Top]
|
OK, I have Slackware 10.0. I have a dlink ethernet card and I have a cable modem. I could't get Slackware Linux to recognize the card, so I'm back on Windows XP. (I'm sorry, I just need the Internet) So, how do I get Slackware to recognize my card???
Also, once I do get connection to the Internet, how do I put a firewall on this machine??? I've read everything I could find in the FAQ's and HOWTOs out there, and they didn't answer anything. I don't know what to do to get this thing to work, and a firewall is very important.
Please reply if possible. My email address is davidallenbauer@hotpop.com.
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
David A. Bauer wrote:
... how do I get Slackware to recognize my card???
Depending on the model of the network interface card, you may need to configure the system to load the correct module, with appropriate options. More details than that would likely require that you tell us more about your network interface.
Also, once I do get connection to the Internet, how do I put a firewall on this machine???
much of that depends on what you intend by "firewall". If your goal is to simply keep outsiders from accessing your personal system, you need only ensure that no services are running and listening on the external address. The "firewall" becomes unnecessary in that case.
On the other hand, if you do intend to have some services running, but accessible from only certain addresses (for example), proper configuration of TCP_Wrappers may be as much "firewall" as you need.
If your intention is to use the Linux system _as_ a firewall, to protect other computers on a LAN behind, and perhaps to provide network address translation services, you'll need to research IP-Tables, (if you installed the IP-Tables utilities on your system with the OS, you should be able to get a reasonable start by reading associated manual pages).
Don't expect to find anything of the "ZoneAlarm" variety: in most cases something like TCP-Wrappers will give you the same functionality with much fewer headaches. In *all* cases, simply turning off services will provide you with the "best" access control.
I hope I've helped, but if you come back with a) a model number for your network interface, and b) more detail about what you intend to use a firewall for, I'm sure others will be able to provide you with even more help.
-- ---------------------------------------------------------------------- Sylvain Robitaille syl@alcor.concordia.ca Systems analyst Concordia University Instructional & Information Technology Montreal, Quebec, Canada ----------------------------------------------------------------------
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
David A. Bauer wrote:
OK, I have Slackware 10.0. I have a dlink ethernet card and I have a cable modem. I could't get Slackware Linux to recognize the card, so I'm back on Windows XP. (I'm sorry, I just need the Internet) So, how do I get Slackware to recognize my card???
Make/Model? Then google for it, you should find a kernel module name for it. Using the lspci command might also help you ID the card too. Also try looking in /usr/src/linux/Documentation/networking.
Also, once I do get connection to the Internet, how do I put a firewall on this machine???
Linux comes with the netfilter firewall, you configure it with the iptables command. There are a bunch of utils that can help you create firewall scripts (look them up on freshmeat.net) and a bunch of HOWTOs FAQs on tldp.org and netfilter.org.
Blumf
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCI6rUMid3IcxolsoRAshCAJ98frPeeQsJq9xWp8uq86aM0HNm6gCfU5X7 TZJSMV3J8mWjvuV/ERQGiek= =nhax -----END PGP SIGNATURE-----
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
Blumf wrote:
Also, once I do get connection to the Internet, how do I put a firewall on this machine???
Linux comes with the netfilter firewall, you configure it with the iptables command. There are a bunch of utils that can help you create firewall scripts
I would recommend GuardDog and FireStarter. Both do the job pretty well.
-- Milan Babuskov http://abrick.sourceforge.net
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
David A. Bauer wrote:
OK, I have Slackware 10.0. I have a dlink ethernet card and I have a cable modem. I could't get Slackware Linux to recognize the card, so I'm back on Windows XP. (I'm sorry, I just need the Internet) So, how do I get Slackware to recognize my card???
Have you tried turning the hotplug on?
Is that the PCI card? If yes, look at the output of "lspci" and search the google with card info you find there.
-- Milan Babuskov http://abrick.sourceforge.net
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
# Some dlink cards use the tulip driver and some the via-rhine if I am remembering right or possibly the ne and the 8390 driver together. Dlink only made about 40 cards. there are about 15 possible driver combinations. I think there are only 3 or 4 where you have to use 2 drivers at once, in the older cards
What model is your card?.
# You will find these module's "switches" so to speak in /etc/rc.modules You may modify the right line for your card by uncommenting the appropriate "modprobe line" -- removing the # mark.
The dlink website may have some clues. Possibly the Ethernet-HOWTO in /usr/doc/Linux-HOWTO
Did you run netconfig and setup routing correctly?
What is the output of "dmesg|more" with regard to eth0?
What is the output of "/sbin/ifconfig" and "netstat -n" ?
There is a good IPCHAINS firewall made by roaring penguin. http://roaringpenguin.com The product it was contained in was rp-pppoe. They still have it under free software. They may also have an iptables firewall as well, for pppoe. If your kernel has backward compatibility with IPCHAINS, (which used to be compilable, but I don't know about 10.1) then it would be easy to implement. It would not hurt to try looking inside it even though rp-pppoe was not made for cable modems. The firewall would still work, as it is not tied to any sort of kernel. Like I said, it may be IPCHAINS, but that may be soluble in your kernel, certainly it should be if you rebuild the kernel according to the readme in /usr/src/linux and after reading how to configure it in a few HOWTOs.
There are other basic firewalls sort of pre-written in the IPTABLES HOW-TO. I believe they are broken though.
Some kernels will not have all the "packet inspection switches" turned on that will allow a firewall to work. That takes reading a firewall how-to in /usr/doc/Linux-HOWTOs and then recompiling the kernel in with reference to the networking section. It always did require that, but 10.1 may have changed that. A good thing is to go into that HOWTO directory and doing this "grep -i iptables * | less" Then look at each HOWTO in turn until you can figure out how to do an easy firewall.
EC[:-}
David A. Bauer wrote:
OK, I have Slackware 10.0. I have a dlink ethernet card and I have a cable modem. I could't get Slackware Linux to recognize the card, so I'm back on Windows XP. (I'm sorry, I just need the Internet) So, how do I get Slackware to recognize my card???
Also, once I do get connection to the Internet, how do I put a firewall on this machine??? I've read everything I could find in the FAQ's and HOWTOs out there, and they didn't answer anything. I don't know what to do to get this thing to work, and a firewall is very important.
Please reply if possible. My email address is davidallenbauer@hotpop.com.
|
|
|
[Original]
[Print]
[Top]
|
|