View previous topic :: View next topic |
Author |
Message |
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 3:07 pm Post subject: /dev/eth0 does not exist after reboot. |
|
|
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 |
|
|
bet1m l33t
Joined: 04 Dec 2004 Posts: 631 Location: Kosova/Prishtine
|
Posted: Sun Apr 24, 2005 3:09 pm Post subject: |
|
|
/dev/eth0 ??
Code: |
# ifconfig /* to list NIC-s */
|
this forum have a great search form _________________ #370559 |
|
Back to top |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 3:30 pm Post subject: |
|
|
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 |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Sun Apr 24, 2005 3:34 pm Post subject: |
|
|
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 |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 3:38 pm Post subject: |
|
|
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 |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Sun Apr 24, 2005 3:52 pm Post subject: |
|
|
Do you connect via dhcp or have the IP adress assigned in a static way? |
|
Back to top |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 3:53 pm Post subject: |
|
|
dynamic
dhcp |
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Sun Apr 24, 2005 4:12 pm Post subject: |
|
|
------- wrote: | dynamic
dhcp |
/etc/conf.d/net:
Then:
Code: | /etc/init.d/net.eth0 restart |
This will work if your inet card has been detected.
Post
and the part of your kernel config otherwise. |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Sun Apr 24, 2005 4:29 pm Post subject: |
|
|
What do you get if you run the following command
_________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 4:41 pm Post subject: |
|
|
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 |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 4:41 pm Post subject: |
|
|
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 |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Sun Apr 24, 2005 4:44 pm Post subject: |
|
|
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 |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Sun Apr 24, 2005 4:50 pm Post subject: |
|
|
Also, could you post the output of
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 |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 6:39 pm Post subject: |
|
|
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 |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Sun Apr 24, 2005 6:46 pm Post subject: |
|
|
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 |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 6:53 pm Post subject: |
|
|
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 |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Sun Apr 24, 2005 7:03 pm Post subject: |
|
|
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 |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 7:24 pm Post subject: |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Sun Apr 24, 2005 7:40 pm Post subject: |
|
|
------- 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. |
|
Back to top |
|
|
square n00b
Joined: 23 Apr 2005 Posts: 33
|
Posted: Sun Apr 24, 2005 8:11 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
|
Back to top |
|
|
|