View previous topic :: View next topic |
Author |
Message |
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Thu Oct 31, 2002 3:44 pm Post subject: Trouble with DSL Connection |
|
|
I just installed Gentoo for the first time. Woohooo! But I'm having trouble with my DSL connection. Here was my procedure..
(1) added 'tulip' to my modules.autoload file
(2) added 'alias eth0 tulip' to the /etc/modules.d/aliases file
(3) put 'iface_eth0="0.0.0.0"' in the /etc/conf.d/net file
When I type....
Code: |
$ /etc/init.d/net.eth0 start
*Bringing eth0 up...
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
*Failed to bring eth0 up
|
When I type .....
Code: |
$ modprobe tulip
Can't locate module tulip
|
Did I miss anything? Could someone help me out. Thanks. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Oct 31, 2002 4:12 pm Post subject: Re: Trouble with DSL Connection |
|
|
webhawg wrote: |
(1) added 'tulip' to my modules.autoload file
(2) added 'alias eth0 tulip' to the /etc/modules.d/aliases file
(3) put 'iface_eth0="0.0.0.0"' in the /etc/conf.d/net file
|
Did you run update-modules? Also, one assumes that you recompiled your kernel with the tulip driver as a module.
For #3, did you edit out your IP address or did you really type "0.0.0.0" as the IP in /etc/conf.d/net?
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Thu Oct 31, 2002 4:20 pm Post subject: |
|
|
Quote: |
Did you run update-modules? Also, one assumes that you recompiled your kernel with the tulip driver as a module.
|
Yes..I did run update-modules and got no error messages. And yes..I did compile my kernel with the tulip driver.
Quote: |
For #3, did you edit out your IP address or did you really type "0.0.0.0" as the IP in /etc/conf.d/net?
|
I believe the iface_eth0="" looked like this and I entered the '0.0.0.0'. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Oct 31, 2002 4:25 pm Post subject: |
|
|
webhawg wrote: | I believe the iface_eth0="" looked like this and I entered the '0.0.0.0'. |
This is definitely wrong. Do you have a static or dynamic IP address from your DSL provider? (If you don't know, you'll need to call and ask them)
I'm guessing it's dynamic, in which case you want the line to say:
Also make sure all other lines in that file are commented out (preceeded by a # sign)
Of course, I don't think that's going to solve your problem since it doesn't even sound like your NIC is loaded correctly. Do you see anything at startup that might indicate a problem with your NIC? Run:
and you can browse through the output.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Thu Oct 31, 2002 4:53 pm Post subject: |
|
|
Quote: |
This is definitely wrong. Do you have a static or dynamic IP address from your DSL provider? (If you don't know, you'll need to call and ask them)
|
Yea...it is dynamic. I'll change that.
Quote: |
Of course, I don't think that's going to solve your problem since it doesn't even sound like your NIC is loaded correctly. Do you see anything at startup that might indicate a problem with your NIC? Run:
|
Yea...You are right. I don't think my /etc/conf.d/net file is the problem. I don't think my network card is configured right. But I don't know how to fix that. When I'm booting up. I see that it can't find or configure my ethernet card. It says...
Code: |
eth0: unknown interface: no such device
|
|
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Oct 31, 2002 4:56 pm Post subject: |
|
|
First, are you sure your NIC takes a tulip driver?
Second, assuming you are, I suggest compiling the driver into the kernel, as opposed to compiling it as a module.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Oct 31, 2002 5:16 pm Post subject: |
|
|
I use that card on a couple of my desktop machines. The forums server also uses that NIC, so I know it takes the tulip driver. I also know that I've never had a problem with it, but I always compile it into the kernel. Hopefully, that will solve all your problems.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Thu Oct 31, 2002 5:22 pm Post subject: |
|
|
Thanks for the help!!
I will recompile and let you know how it goes. |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Thu Oct 31, 2002 8:29 pm Post subject: |
|
|
klieber wrote: | Do you have a static or dynamic IP address from your DSL provider? (If you don't know, you'll need to call and ask them)
I'm guessing it's dynamic, in which case you want the line to say:
|
This isn't always the case, and it isn't the case for me. While I get an IP from my DSL provider, it is for the ppp0 interface, and not the eth0 interface that is connected to the DSL modem. I assigned eth0 an address of 172.16.1.1, where as eth1 going to my LAN is 172.16.0.1. rp-pppoe will make a connection and create interface ppp0 which gets the server-assigned IP. eth0 remains unaffected.
FYI. |
|
Back to top |
|
|
webhawg Apprentice
Joined: 18 Oct 2002 Posts: 293
|
Posted: Sat Nov 02, 2002 5:21 pm Post subject: |
|
|
Well...a friend helped me figure out the problem. I guess something screwed up when I did 'make modules' or make modules_install'. So I did that step again. I compiled tulip as a module in the kernel, but I guess I screwed up something after that. All is working now.
Oh...and I changed back iface_eth0="dhcp" to "0.0.0.0".
Thanks for the help. |
|
Back to top |
|
|
|