Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Network after Install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LinuxWannabe
n00b
n00b


Joined: 27 Apr 2003
Posts: 17

PostPosted: Mon Apr 28, 2003 1:41 pm    Post subject: No Network after Install Reply with quote

During Intallation, I can connect, ping, ftp everything.

But now when I boot up the Machine, network does not work.

dhcpcd eth0

doesnt even recognize the ethernet.
The Link and power lights are on on the Card, but Gentoo wont recognize it. I checked the kernel config file, and there is driver support (my netgear card isnt listed there, but a default card is selected).

Anyone know whats wrong?
Back to top
View user's profile Send private message
tod
Developer
Developer


Joined: 17 Apr 2002
Posts: 136
Location: Ozarks, USA

PostPosted: Mon Apr 28, 2003 2:34 pm    Post subject: Reply with quote

Did you compile your network card as a module? You might have to modprobe it first. You can then add it to /etc/modules.autoload.d/kernel-2.4
so that it is automatically loaded at boot.

hth
Back to top
View user's profile Send private message
LinuxWannabe
n00b
n00b


Joined: 27 Apr 2003
Posts: 17

PostPosted: Mon Apr 28, 2003 3:10 pm    Post subject: Reply with quote

How do I modprobe my nic??
Back to top
View user's profile Send private message
adumare
n00b
n00b


Joined: 27 Apr 2003
Posts: 27

PostPosted: Mon Apr 28, 2003 4:09 pm    Post subject: Reply with quote

You need to compile the driver for your network card into the kernel (or as a module) You need to go into your kernel configuration ([code]make menuconfig[/code] usually) choose Network Device Suport and choose the driver for your network card. I would suggest you build it as a module (if you are not sure which driver you should use you can choose mutiple drivers and just load the one that works). After you have selected the card exit from the configuration and type [code]make modules[/code] followed by [code]make modules_install[/code] (if you didn't build it as a module you will have to do [code]make dep clean bzImage install[/code] and reboot your system). Now you can type modprobe and the name of the module you built (this will not be nessary if you didn't build it as a module). If you do not know the name of the module you can find it in [code]/lib/modules/`uname -r`/kernel/drivers/net[/code] infact you might check there before you go messing in the kernel config because you may already have done this.

Once you have the module loaded you will want to add it to /etc/modules.autoload so it will be loaded everytime you boot the system.

Hopefully that makes some sense :)
Back to top
View user's profile Send private message
LinuxWannabe
n00b
n00b


Joined: 27 Apr 2003
Posts: 17

PostPosted: Mon Apr 28, 2003 4:11 pm    Post subject: Reply with quote

Also getting errors on boot, saying eth0, no such device found.

dhcp

I have it connected to my Router.

ifconfig eth0

says device not found.

Im wondering if the kernel doesnt have support for my network card.
Back to top
View user's profile Send private message
LinuxWannabe
n00b
n00b


Joined: 27 Apr 2003
Posts: 17

PostPosted: Mon Apr 28, 2003 4:24 pm    Post subject: Reply with quote

I have a netgear Ethernet card.

And there are no Netgear options for the Kernel NIC DEvices.

IS there a default choice that I can select to see if it will initialize my nic?
Back to top
View user's profile Send private message
r0cket-
n00b
n00b


Joined: 16 Apr 2003
Posts: 62

PostPosted: Mon Apr 28, 2003 4:46 pm    Post subject: Reply with quote

LinuxWannabe wrote:
I have a netgear Ethernet card.

And there are no Netgear options for the Kernel NIC DEvices.

IS there a default choice that I can select to see if it will initialize my nic?


What's the model number of the card? Likely, you'll have to find what chipset it uses and enable the drivers for that chipset.

Try doing 'cat /proc/pci' and see if anything shows up for network, ethernet, Netgear, etc. That may give you the model number, if you don't feel like popping the case off the system. You can also boot up off whatever install media you used and 'lsmod' or 'cat dmesg' should show what driver is being loaded for the card.
Back to top
View user's profile Send private message
LinuxWannabe
n00b
n00b


Joined: 27 Apr 2003
Posts: 17

PostPosted: Mon Apr 28, 2003 5:05 pm    Post subject: Reply with quote

I did that proc/pci and the ethernet came back as

'Lite-On Communications LNE100TX'

I have no clue what module that would be for, I modularized almost half of the available NIC Drivers on the menuconfig in hoping that one would do something. But as of now, im stumped
Back to top
View user's profile Send private message
r0cket-
n00b
n00b


Joined: 16 Apr 2003
Posts: 62

PostPosted: Mon Apr 28, 2003 5:21 pm    Post subject: Reply with quote

LinuxWannabe wrote:
I did that proc/pci and the ethernet came back as

'Lite-On Communications LNE100TX'

I have no clue what module that would be for, I modularized almost half of the available NIC Drivers on the menuconfig in hoping that one would do something. But as of now, im stumped


Hmm. I always thought the LNE100TX was a Linksys card, but alright.

Driver for that is Tulip. Try 'modprobe tulip' and then 'ifconfig -a' and see if anything shows up.
Back to top
View user's profile Send private message
LinuxWannabe
n00b
n00b


Joined: 27 Apr 2003
Posts: 17

PostPosted: Mon Apr 28, 2003 6:13 pm    Post subject: Reply with quote

Quote:
modprobe tulip
cant locate module tulip
Back to top
View user's profile Send private message
r0cket-
n00b
n00b


Joined: 16 Apr 2003
Posts: 62

PostPosted: Mon Apr 28, 2003 6:22 pm    Post subject: Reply with quote

Alrighty, sounds like the module wasn't compiled/installed. I'd suggest following the instructions adumare provided above, choosing Tulip as the driver for your ethernet card. That will likely fix the problem.
Back to top
View user's profile Send private message
LinuxWannabe
n00b
n00b


Joined: 27 Apr 2003
Posts: 17

PostPosted: Mon Apr 28, 2003 6:26 pm    Post subject: Reply with quote

im looking at the make menuconfig file now and there is no tulip or linksys NIC module in the choices...
Back to top
View user's profile Send private message
r0cket-
n00b
n00b


Joined: 16 Apr 2003
Posts: 62

PostPosted: Mon Apr 28, 2003 6:33 pm    Post subject: Reply with quote

LinuxWannabe wrote:
im looking at the make menuconfig file now and there is no tulip or linksys NIC module in the choices...


Eh, there is one. I'm not sure how they word it, though. Look for something about 'DEC Tulip-based' or something along those lines. Should say Tulip, or possibly 21x4x.
Back to top
View user's profile Send private message
adumare
n00b
n00b


Joined: 27 Apr 2003
Posts: 27

PostPosted: Tue Apr 29, 2003 1:10 pm    Post subject: Reply with quote

The tulip driver is under the EISA,VLP,PCI Controller section (in Network driver support). and it is called DECChip Tulip dc21x4x I would build it as a module then insmod it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum