LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   after install: no eth0 in dev (https://www.linuxquestions.org/questions/slackware-installation-40/after-install-no-eth0-in-dev-533840/)

jrscandora 03-02-2007 04:42 AM

after install: no eth0 in dev
 
Howdy -

I have just recently completed a fresh install of Slackware 11.0. I am booting with kernel 2.4.33.3 at this time because that was the only set of modules installed in /lib/modules.

I am attempting to get a "3Com 3C905CX-TXM" NIC to start talking.

dmesg now has the following lines:
3c59x: Donald Becker and others...
00:08.0: 3COM PCI 3C905c Tornado at 0xe400 Vers LK1.1.18

ifconfig confirms that the eth0 interface is up!

However, I do not see an eth0 device in /dev, i.e. no /dev/eth0

This very same card was working fine in the same exact hardware configuration with 10.2.

Does anyone have a bit of insight to share? :)

Thanks!

-js

General Failure 03-02-2007 11:34 AM

It probably is up. Network interfaces just don't appear in /dev.

Did you actually check if it works?

onebuck 03-02-2007 12:21 PM

Quote:

Originally Posted by jrscandora
Howdy -

I have just recently completed a fresh install of Slackware 11.0. I am booting with kernel 2.4.33.3 at this time because that was the only set of modules installed in /lib/modules.

I am attempting to get a "3Com 3C905CX-TXM" NIC to start talking.

dmesg now has the following lines:
3c59x: Donald Becker and others...
00:08.0: 3COM PCI 3C905c Tornado at 0xe400 Vers LK1.1.18

ifconfig confirms that the eth0 interface is up!

However, I do not see an eth0 device in /dev, i.e. no /dev/eth0

This very same card was working fine in the same exact hardware configuration with 10.2.

Does anyone have a bit of insight to share? :)

Thanks!

-js

Hi,

The eth device is a logical network interface and handled differently. As far as the kernel is concerned this network interface is a software object. You could use google-linux to get some really good information.

You do seem to have the eth0 device up. Did you run netconfig?
Or edit the /etc/rc.d/rc.inet1.conf file? I like to start with a static IP for most installs, then if the person(s) wants dhcp the configure of the /etc/rc.d/inet1.conf will be adjusted.

If you make a change to eth0 in /etc/rc.d/rc.inet1.conf file, you must restart the inet as root.
Code:

#/etc/rc.d/rc.inet1 restart        #restart network
If you manually setup the eth0 device then you will need to as root;
Code:

#ifconfig eth0 192.168.0.15          #state IP
#route add default gw 192.168.0.1    #set gateway
#route -n                            #will show route table
#ping 192.168.0.1                    #your gateway
#ping 64.233.161.104                #google IP outside LAN
#ping google.com                    #check DNS

If the ping google.com fails then check the /etc/resolv.conf file for your DNS.

Remember that the above is just a manual configuration. If you reboot the setting will be lost unless you insert the information into the /etc/rc.d/rc.inet1.conf.


All times are GMT -5. The time now is 08:16 AM.