Scoobsky
27th April 2004, 12:38 AM
Hi all,
I know many postings have been made regarding configuring a Cable modem on a linux distro but I've been searching through the archives & al but to no avail with something that gets my internet working.
My Cable modem is connected to my PC using the USB port. I do NOT have a network card in my PC.
I've just installed Fedora Core 2 Test 2 and can't get dhclient to get an IP address.
My Cable modem has the USB light on which means the USB port is active. when I do a dhclient, both my send and receive lights flash like a christmas tree, but I can;t get an IP address from my ISP.
I tried the rmmod acm (which failed cos it said it can;t find acm in /proc/modules - but I'm not too bothered about this as it only just removes it from the kernel and it's not part of it at the moment as far as I know).
then did a modprobe usbnet, which return me to the prompt without any error message (so I assumed it worked). then running dhclient fails to get an IP add. well.. it does comes back with DHCPFETCH and gets a valid IP from my ISP but it won;t accept it.
when I do a ifup eth0, it comes back saying: ifup eth0 configuration for eth0 not found.
I've also tried to ifconfig eth0 up, and also it returns to the prompt with no errors, it makes no difference whatsoever.
I found a posting somewhere that says to do the following:
ln -s ifcfg-eth0 eth0
but that fails too.. I had a look at /dev and it contains no mention of eth0 (not does it contain anything about ifcfg-eth0).
when I do an ifconfig -a, I get an result for local loop (lo), one for eth0 (even though I don;t have a network adapter, but I suspect eth0 is bound to usbnet in my case) and I get an entry for sit0 (IPv6).
Also, I did a `find . | grep eth0` and absolutely nothing returned apart from the sym link I created, nothing down as eth0 in /dev.... does that mean eth0 is somehow not configured (but again, should it as I don;t have a network card?)?
That's what I get on a dhclient:
/sbin/dhclient-script: configuration for eth0 not found.
dhclient.c(2041): null pointer
DHCPDECLINE on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 172.24.207.254
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 172.24.207.254
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 172.24.207.254
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping
it's getting a DHCP offer not doing anything with it.
I'm at loss.
Please some help.. or point me to URLs to get more help.
Cheers,
M.
PS: reposting as I was asked to start a new thread... answers still welcome though! :-)
I know many postings have been made regarding configuring a Cable modem on a linux distro but I've been searching through the archives & al but to no avail with something that gets my internet working.
My Cable modem is connected to my PC using the USB port. I do NOT have a network card in my PC.
I've just installed Fedora Core 2 Test 2 and can't get dhclient to get an IP address.
My Cable modem has the USB light on which means the USB port is active. when I do a dhclient, both my send and receive lights flash like a christmas tree, but I can;t get an IP address from my ISP.
I tried the rmmod acm (which failed cos it said it can;t find acm in /proc/modules - but I'm not too bothered about this as it only just removes it from the kernel and it's not part of it at the moment as far as I know).
then did a modprobe usbnet, which return me to the prompt without any error message (so I assumed it worked). then running dhclient fails to get an IP add. well.. it does comes back with DHCPFETCH and gets a valid IP from my ISP but it won;t accept it.
when I do a ifup eth0, it comes back saying: ifup eth0 configuration for eth0 not found.
I've also tried to ifconfig eth0 up, and also it returns to the prompt with no errors, it makes no difference whatsoever.
I found a posting somewhere that says to do the following:
ln -s ifcfg-eth0 eth0
but that fails too.. I had a look at /dev and it contains no mention of eth0 (not does it contain anything about ifcfg-eth0).
when I do an ifconfig -a, I get an result for local loop (lo), one for eth0 (even though I don;t have a network adapter, but I suspect eth0 is bound to usbnet in my case) and I get an entry for sit0 (IPv6).
Also, I did a `find . | grep eth0` and absolutely nothing returned apart from the sym link I created, nothing down as eth0 in /dev.... does that mean eth0 is somehow not configured (but again, should it as I don;t have a network card?)?
That's what I get on a dhclient:
/sbin/dhclient-script: configuration for eth0 not found.
dhclient.c(2041): null pointer
DHCPDECLINE on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 172.24.207.254
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 172.24.207.254
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 172.24.207.254
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping
it's getting a DHCP offer not doing anything with it.
I'm at loss.
Please some help.. or point me to URLs to get more help.
Cheers,
M.
PS: reposting as I was asked to start a new thread... answers still welcome though! :-)