Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't get LAN to work after install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
geekrock
n00b
n00b


Joined: 11 Sep 2002
Posts: 14
Location: Virginia

PostPosted: Thu Sep 12, 2002 8:19 pm    Post subject: can't get LAN to work after install Reply with quote

after installing gentoo (everything went smoothly) i get these messages while booting the system.

*Bringing eth0 up...
*Failed to bring eth0 up

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


Could someone help me to get my lan working? Gentoo is installed on my desktop, 3com network card (driver installed into the kernel) hooked into a hub and then my laptop is also hooked into the hub. The laptop is providing net access.

Thanks in advance.

Joshua
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Thu Sep 12, 2002 8:45 pm    Post subject: Re: can't get LAN to work after install Reply with quote

geekrock wrote:
after installing gentoo (everything went smoothly) i get these messages while booting the system.

*Bringing eth0 up...
*Failed to bring eth0 up

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


Could someone help me to get my lan working? Gentoo is installed on my desktop, 3com network card (driver installed into the kernel) hooked into a hub and then my laptop is also hooked into the hub. The laptop is providing net access.

Thanks in advance.

Joshua


Could you provide us with some more information?
Are you using a static IP address or are you using DHCP?

What is the output of ifconfig -a?
Since it is failing at netmount, are you trying to automatically mount some NFS drives during startup? If so, try to comment them out from /etc/fstab.

Hope this helps :-)
Erik
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Sep 12, 2002 8:49 pm    Post subject: Reply with quote

When you are booted from your self-compiled kernel, can you try running the ifconfig command manually using the settings you specified in /etc/conf.d/net, to try to bring eth0 up, and post any errors you receive?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
geekrock
n00b
n00b


Joined: 11 Sep 2002
Posts: 14
Location: Virginia

PostPosted: Thu Sep 12, 2002 9:12 pm    Post subject: ifconfig and /etc/fstab Reply with quote

ifconfig basically just tells me my network isn't UP or RUNNING... loopback is working of course ;).. i have it setup to use DHCP... i wasn't 100% sure how to configure that so i just uncommented the dhcp line in my net config file and commented the static IP part. if there is anymore info i can provide, please let me know.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Sep 12, 2002 9:15 pm    Post subject: Reply with quote

OK, then try
Code:
# dhcpcd -d eth0
...which should leave some juicy stuff somewhere in /var/log, or wherever your system logger puts its debug messages.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Thu Sep 12, 2002 9:52 pm    Post subject: Reply with quote

rac wrote:
OK, then try
Code:
# dhcpcd -d eth0
...which should leave some juicy stuff somewhere in /var/log, or wherever your system logger puts its debug messages.

I use dhcp to connect to our HUGE intranet and here is the part from my /etc/conf.d/net
iface_eth0="dhcp"
dhcpcd_eth0="-D -H"

If you do a man dhcpcd, you'll find the following :

Code:
       -D     Forces  dhcpcd  to  set domainname of the host to the domainname option supplied by DHCP server. By default dhcpcd will NOT
              set domainname of the host to the domainname option received from DHCP server.

       -H     Forces dhcpcd to set hostname of the host to the hostname option supplied by DHCP server.  By default dhcpcd will  NOT  set
              hostname of the host to the hostname option received from DHCP server.

Add these options along with the -d.

Erik
Back to top
View user's profile Send private message
geekrock
n00b
n00b


Joined: 11 Sep 2002
Posts: 14
Location: Virginia

PostPosted: Thu Sep 12, 2002 11:39 pm    Post subject: no dice Reply with quote

thanks for the tip ebrostig, but it still didn't work :( i dunno what to do.... i'm using metalog, where does it store info on dhcpcd's output?

Joshua
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Sep 12, 2002 11:42 pm    Post subject: Re: no dice Reply with quote

geekrock wrote:
i'm using metalog, where does it store info on dhcpcd's output?

For debug stuff, unless you've set up a debug target, probably in /var/log/everything.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
geekrock
n00b
n00b


Joined: 11 Sep 2002
Posts: 14
Location: Virginia

PostPosted: Thu Sep 12, 2002 11:46 pm    Post subject: dhcpcd Reply with quote

the only output dhcpcd has in my log is as follows:


Sep 12 15:33:27 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device




i also noticed something else... when i'm booting up, it says some local file systems couldn't be mounted... could that be the network file system? probalby not since it's earlier in the boot process.

Joshua
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Sep 13, 2002 12:47 am    Post subject: Re: dhcpcd Reply with quote

geekrock wrote:
Sep 12 15:33:27 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device

Sorry, but could you double-check that the driver for your NIC is in the kernel? Maybe look for its initialization string in "dmesg"?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
geekrock
n00b
n00b


Joined: 11 Sep 2002
Posts: 14
Location: Virginia

PostPosted: Fri Sep 13, 2002 1:08 am    Post subject: something else Reply with quote

i did a cat /proc/pci and it recognizes my network card... i noticed something funny though, when i did an ifconfig -a... it's coming up "dummy0" for the first entry. and then the second entry is of course "lo".... maybe this will help?

Joshua
Back to top
View user's profile Send private message
tsigo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 122

PostPosted: Wed Sep 18, 2002 11:39 pm    Post subject: Reply with quote

I have the exact same problem.

Same error message when I do dhcpd debug mode, and my network card (3c905C) is listed in /proc/pci. I made sure to compile support for it into the kernel.

No dummy0 entry in ifconfig -a, though, just lo. This is only happening since the fresh install of 1.4 rc1. Obviously it worked fine during the install process.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Sep 18, 2002 11:53 pm    Post subject: Reply with quote

I looked at a few pages of Google results and at the source code for arch/i386/kernel/pci-i386.c and I still can't convince myself that the fact that something appears in /proc/pci means that the driver is loaded correctly. Is anyone sure about this?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
tsigo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 122

PostPosted: Fri Sep 20, 2002 4:53 pm    Post subject: Reply with quote

I recompiled the kernel, made sure that the drivers for 3c905x was built in and not a module and then re-copied it to /boot (after mounting it) and it seemed to fix it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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