Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/eth0 does not exist after reboot.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 3:07 pm    Post subject: /dev/eth0 does not exist after reboot. Reply with quote

After reboot, /dev/eth0 does not exist. I did:

rc-update add net.eth0 default

which stated that:

net.eth0 already installed in runlevel default;skipping.


Is there a package that I should have installed and missed or what's going on here?

Thanks
Back to top
View user's profile Send private message
bet1m
l33t
l33t


Joined: 04 Dec 2004
Posts: 631
Location: Kosova/Prishtine

PostPosted: Sun Apr 24, 2005 3:09 pm    Post subject: Reply with quote

/dev/eth0 ??

Code:

# ifconfig /* to list NIC-s */


this forum have a great search form :D
_________________
#370559
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 3:30 pm    Post subject: Reply with quote

humm .. I'm sure I don't know what I'm talking about .. but

when I do ifconfig from the liveCD I get output for eth0 and lo, after I reboot, I only get output for lo. maybe that is clearer..

I thought that eth0 was a device .. hence /dev/eth0 .. not so ?




great search forum :

/dev/eth0 -- wrong -- no wonder I didn't find anything with the search looking for this ..
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Sun Apr 24, 2005 3:34 pm    Post subject: Reply with quote

Your post is related to this post, i.e. you don't have proper support in your kernel for your nic.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 3:38 pm    Post subject: Reply with quote

Is this because of something I neglected to select in the "make menuconfig" menu, or because I neglected to emerge the correct driver?
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sun Apr 24, 2005 3:52 pm    Post subject: Reply with quote

Do you connect via dhcp or have the IP adress assigned in a static way?
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 3:53 pm    Post subject: Reply with quote

dynamic
dhcp
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sun Apr 24, 2005 4:12 pm    Post subject: Reply with quote

------- wrote:
dynamic
dhcp


/etc/conf.d/net:
Code:
iface_eth0="dhcp"


Then:
Code:
/etc/init.d/net.eth0 restart


This will work if your inet card has been detected.

Post
Code:
dmesg | grep eth0

and the part of your kernel config otherwise.
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Sun Apr 24, 2005 4:29 pm    Post subject: Reply with quote

What do you get if you run the following command
Code:
dmesg | grep eth0

_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 4:41 pm    Post subject: Reply with quote

dmesg | grep eth0 == no output

contents of /etc/conf.d/net includes the line:
iface_eth0="dhcp"

output from:
/etc/init.d/net.eth0 restart
says:

*Bringing eth0 up via DHCP... [!!]

and that's it .. then ifconfig STILL only displays lo output.
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 4:41 pm    Post subject: Reply with quote

dmesg | grep eth0 == no output

contents of /etc/conf.d/net includes the line:
iface_eth0="dhcp"

output from:
/etc/init.d/net.eth0 restart
says:

*Bringing eth0 up via DHCP... [!!]

and that's it .. then ifconfig STILL only displays lo output.
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sun Apr 24, 2005 4:44 pm    Post subject: Reply with quote

So your card is NOT detected.
I assume you have built your kernel by hand.
What's you card and what do you have checked in the 'Ethernet (10 or 100Mbit)' section?

Could have 'lsmod' while on LiveCD to determine what module you need...
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Sun Apr 24, 2005 4:50 pm    Post subject: Reply with quote

Also, could you post the output of
Code:
lspci -v

while booted boot off the liveCD, unless you happen to have pciutils already on your system -- then do lspci from your system.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 6:39 pm    Post subject: Reply with quote

lspci does not exist in kernel and can't be emerged due to current issue. output form livecd(and I assume you only mean the nic output):

0000:01:b.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
Subsystem: Linksys: Unknown device 0574
Flags: bus master,fast Back2Back, medium devsel, latency 66 IRQ 9
Memory at f0000000 (32-bit, preferable)
I/O ports as 3400 [size=256]
Memory at e81800000 (32-bit, non-preferable) [size=512K]
Capabilities: [50] Power Management version 2


Card = Linksys 10/100 LNE100TX

yes built kernel by hand -- stage 1 --
checked in the menuconfig:

[*]EISA,VLB, PCI and on board controllers
<*> RealTek RTL-8139 PCI Fast Ethernet Adapter support

*********
That is probaby the issue ? that I don't have the correct driver seleted in the menuconfig .. cause like I was saying.. I have a linksys lne100tx
*********
[*]Use PIO instead of MMIO

but I'm not seeing any linksys in the list of available.


thanks
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Sun Apr 24, 2005 6:46 pm    Post subject: Reply with quote

I have the same NIC. Use the Tulip driver
Code:
Ethernet (10 or 100Mbit)  --->
  Tulip family network device support  --->
    <*>   DECchip Tulip (dc2114x) PCI support

_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 6:53 pm    Post subject: Reply with quote

roger.

If I may ask .. how do you figure something like that out?

and do you check any of the sibdirs uder that?
New bus config
UsePCI shared mem for nic regs
use napi rx polling

?
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Sun Apr 24, 2005 7:03 pm    Post subject: Reply with quote

I might have actually looked at the chips on my network card to see what they said, but I can't remember if I did or even if that helped me -- sometimes that does help, like my ATA PCI card says Promise 20267 on it.

Most likely, I booted off a LiveCD and ran lsmod to see what modules the LiveCD was using, then cross checked that list in menuconfig.

Or, I might have done just what you did -- ask someone :)


Can't really remember what I did for sure -- been a good while ago.

As for the subdirs stuff, what I showed you is all I am using. That doesn't mean I have the absolute best setup, but it has worked flawlessly and consistently for me.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 7:24 pm    Post subject: Reply with quote

selected the tulip driver

make && make modules_install

it didn't take very long .. ?

and I should I have to re - emerge everything I did during the initial install following the install guide? I'm thinking no but I thought I'd just ask.

I typically feel like garbage when I realize I've asked stupid questions, but I find myself doing it so frequently....
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Sun Apr 24, 2005 7:40 pm    Post subject: Reply with quote

------- wrote:
selected the tulip driver

make && make modules_install

it didn't take very long .. ?

If you have compiled a kernel of the same version before, it will notb take long.
------- wrote:

and I should I have to re - emerge everything I did during the initial install following the install guide? I'm thinking no but I thought I'd just ask.

You're correct.

As a side advice, your nick will look more readable with some plain english letters. The changing room is here. :)
_________________
Murphy's Law of Gentoo installation: If a compile can fail, it will.

MacGillicuddy's Corollary: At the most inopportune time.

Please search and read the FAQs before posting.
Back to top
View user's profile Send private message
square
n00b
n00b


Joined: 23 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 8:11 pm    Post subject: Reply with quote

I rebooted and got the same messages on startup and

output from:
/etc/init.d/net.eth0 restart
says:

*Bringing eth0 up via DHCP... [!!]

startup error says same with more :

*ERROR: Problem starting needing services.
* "netmount" was not started

btw,
I am square
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Jul 14, 2005 1:41 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-332982.html
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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