How do I compile drivers?
How do I get the dhcp on madrake 7.1 to work. I set it up but it still doesn't work. I have a 3c509b and I cannot tell if its working properly in Mandrake. If this nic requires extra drivers how do I install them?
|
Old ISA NICs are a bit more of a hastle under Linux. You probably don't have to compile any drivers, they're already on there. Try the command: "lsmod"
If 3c509 isn't listed, then its no big deal. Try: cat /proc/interrupts Choose a number that isn't listed modprobe 3c509 irq=x Where X is that chosen number. If you get a pile of errors... try a different IRQ. Eventually you'll get the card to register (You'll just get another prompt and no errors). Then try: dhcpcd eth0 Luck, Finegan |
The 3c509 is there. I did the dhcpcd eth0 as u ssuggested but it says its allrdy running if not to delte a file, and retry I did this and still not working. Its a cable modem connection if that will change anything. Since the nic showed up in lsmod does that mean it is working properly? thanx
|
your nic sounds like it's working alright. might wanna try a couple other things.
type "ifconfig etho up" to bring up your eth0 interface. i'd double to make sure it's not something with your cable. a lot of cable companies restrict their networks based on mac address of your card. meaning, that if you put in a new nic, then you won't be able to access the network. my service used to be like that, and i changed nics all the time... so it was kinda irritating. hope this helps. :-) |
I also use the 3c509b isa. And under mandy 8.1 & 8.2 i havent had any problems with it. I just went into the control center and used the wizard. In debian i just told it to use the 3c509 driver in the kernel (2.2) and set up the /etc/network/interfaces for the network. Heres my config if you can use it:
iface lo inet loopback iface eth0 inet dhcp gateway 192.168.x.x |
i once had a 3c509b combo-E (or something like that) isa. And for some reason i never got that running(worked fine under win98) You can see your model on the card in the top left corner.
|
Okay, hopefully its not one of those grumpy cable companies... From the ground up though. First, to make sure the card is kosher. Try:
dmesg | more and spacebar through that some. Its the list of everything the kernel recognizes as it loads (including what it recognizes from modules being loaded). In there should be some goop about 3com and eth0. Are there any errors near those lines? If not, step 2, try: dhcpcd eth0 ifconfig Is there an entry for eth0 and does it have an IP address? If so, then this is probably one of those funky cable companies that requires that you use their hostname or somesuch before their server will forward any packets. Oh, who is it? Luck, Finegan |
I am using Cox Cable. Is the command
dhcpcd eth0 ifconfig one command or 2? Thanx |
2.
The first command will try to get eth0 up using DHCP, the second command should show you statistics for eth0, indicating whether or not it is up and running. If things still don't seem to be working, post the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network. |
Just loaded turbolinux which is quite a bit faster than mandrake 7.1. I am still having the same problem though, and
DHCPcd eth0 isn't recognized as a command. The 3c509 is there and there are no errors on boot, and wheni run the network diagnostics test it says it up and good but still, no connections. I have downloaded and printed the manual but its networking section is not that great. Any more ideas that I can do? Will posting those scripts put me at risk by showing my network settings and such? Sorry but I am linux newb. Thanx Gonus |
Quote:
You still haven't posted the output of ifconfig; please do. If ifconfig shows no stats for eth0, try ifconfig -a. The "-a" option tells ifconfig to report all cards, even those that are inactive. Quote:
ping -c 5 xxx.xxx.xxx.xxx (replace xxx.xxx.xxx.xxx with the IP; the -c 5 tells ping to send 5 requests and then quit) For that matter, you should get positive responses from: ping -c 5 127.0.0.1 Since you're having the same problem under two different distros, it's possible that your basic network config might actually be OK, but we're missing a piece of critical info supplied by your ISP which allows you to connect to their DHCP server. What information in terms of host name, domain name, IP addresses, etc. did they give you? |
ok here they are
eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes network NETWORKING=yes PROFILENAME="No_Profile" HOSTNAME=cowan233 DOMAINNAME=cowan233 GATEWAY=68.7.xxx.1 GATEWAYDEV=cable modem FORWARD_IPV4=yes IPX=no thanx for explaining it to me. |
OK, that looks good (although you left out half of the important info in /etc/sysconfig/network-scripts/ifcfg-eth0).
Post the results you get from my other suggestions: Quote:
Quote:
- try to ping the IP of the gateway (the address on the "GATEWAY=" line in /etc/sysconfig/network). If that works, then you're getting the correct basic information from the DHCP server. -try to ping 66.218.71.80. If that works, you can at least "see" the Internet -try to ping www.yahoo.com. If thid fails, look in /etc/resolv.conf; it should look very similar to this: Code:
domain your_ISP's_domain.com Remember that when you make chnges to network settings, you usually have to restart network services, or reset your NIC to have the changes take effect. Do this as root. To restart the network service: service network restart To reset your NIC: /sbin/ifdown eth0 /sibin/ifup eth0 Or: /sbin/ifconfig eth0 down /sbin/ifconfig/eth0 up |
in the /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes thats all that is there. Should there be more? when I input ifconfig yes it shows eth0. It even states that it is up and show the mac address but does not give an IP. I get 100% reply when I ping the loopback. I forgot to ping the gateway address will tryafter I post this then correct it Could not ping any internet addresses. resolv.conf is exactly like what u posted except mine has search local domans, between isps domain and name server I saw what you meant with the gateway device. and I changed it to eth0 Turbolinux actually restarts the services after you playwith the settings, but I went ahead ans restarted them with /sbin/ifconfig eth0 down /sbin/ifconfig eth0 up Thanx will post the gateway in a bit. |
^
^ ^ |
All times are GMT -5. The time now is 10:39 AM. |