Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > No internet at boot - SOLVED

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-03-2005   #1 (permalink)
Just Joined!
 
Join Date: Sep 2005
Posts: 91
No internet at boot - SOLVED

Hi All

I'm runnin' Suse 9.3 and have just installed Gentoo on VMWare 5.5 beta. I'm trying to connect to the internet via a router thru dhcp but I get the following error a boot:

Eth0 was not started
Error: problem starting needed services
"netmount was not started"

My /etc/conf.d/net is as follows (straight from the Handbook):
config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"

I saw this thread and thought i'd found a solution by changing my conf.d as follows:
ifconfig_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"
this is the thread: http://www.linuxforums.org/forum/topic-61434.html

Have I missed anything during the install? Any help aimed at a Noob would be grateful!

Thanks in advance.
ipsofacto is offline  


Reply With Quote
Old 12-03-2005   #2 (permalink)
Linux Engineer
 
Join Date: Oct 2004
Location: Vancouver
Posts: 1,366
Send a message via AIM to genesus Send a message via Skype™ to genesus
type in as root "rc-update show" to make sure all needed processes are there and running at the correct run level...

Do you see on "net.eth0 default" and "net.lo boot"?

Also, remember that you can leave /etc/conf.d/net blank to automatically use dhcp to configure the network

If these don't work try to get it working manually to make sure that at least your drivers are setup correctly...as root:

ifconfig eth0 up
dhcpcd eth0
ping -c 3 www.google.com ---should return a value if configured correctly
__________________
Operating System: GNU Emacs
genesus is offline   Reply With Quote
Old 12-03-2005   #3 (permalink)
Just Joined!
 
Join Date: Sep 2005
Posts: 91
Thanks for your reply genesus. I ran the 'rc-update show' command and received (amongst other things) the following:

net.eth0: default
net.lo: boot
netmount: default

When i ran the'ifconfig eth0 up' command it returns 'eth0: unknown interface: No such device'.

Trying to ping google returns 'ping: bad number of packets to transmit'.

I cant recall compiling anything to do with Rhine so perhaps I incorrectly compiled my kernal (noob, remember)???? Failing that, could this be something to do with installing on VMware (obviously nothing to do with me whatsoever!!)???

Thanks again.
ipsofacto is offline   Reply With Quote
Old 12-03-2005   #4 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
What network card do you have?
You should have the driver built-in, not as a module.

Did you emerge dhcpcd?
If not, use your livecd to chroot into Gentoo, then emerge dhcpcd.
Did you emerge coldplug?
__________________
Go RedWings
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Old 12-04-2005   #5 (permalink)
Just Joined!
 
Join Date: Sep 2005
Posts: 91
Thanks for your reply budman7.

As regards network card then lspci from my suse box throws up this (which i'm guessing is the info you need):

Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] rev 78

I did emerge dhcpcd but done it again (clutching at straws now!). No need to chroot into gentoo via cd, everything's fine bar the error message below:

* starting eth0
* Bringing eth0
* Configuration not set for eth0 - assuming dhcp
*dchp
*eth0 does not exist
* Error: problem starting needed services
"net-mount not started*

Any other ideas? I may have a stab at dual-bootin' it with Suse and see if that makes a difference. VMware uses bridged networking - not that I know anything about that! - but perhaps that has something to do with it??

Thanks again
ipsofacto is offline   Reply With Quote
Old 12-04-2005   #6 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
Did you emerge coldplug?
And did you have this built-in.

< > VIA Rhine support

If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A), │
│ Rhine-II (VT6102), say Y here

This is in
Device drivers --->
Network Device support
Ethernet (10 or 100 Mbit) --->[*] Ethernet (10 or 100Mbit)
__________________
Go RedWings
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Old 12-04-2005   #7 (permalink)
Just Joined!
 
Join Date: Sep 2005
Posts: 91
Firstly, thanks for your help on this one budman7.

Ok, you nailed it. I didnt compile VIA Rhine support into the kernel.

So, just to confirm, I now have to include that and then recompile the kernel. Will I then have to copy it and my config file over to my /boot partition and change /etc/grub/grub.conf or will I be 'good to go' after the recompile?

Thanks again!
ipsofacto is offline   Reply With Quote
Old 12-04-2005   #8 (permalink)
Linux Engineer
 
Join Date: Oct 2004
Location: Vancouver
Posts: 1,366
Send a message via AIM to genesus Send a message via Skype™ to genesus
Quote:
Originally Posted by ipsofacto
Firstly, thanks for your help on this one budman7.

Ok, you nailed it. I didnt compile VIA Rhine support into the kernel.

So, just to confirm, I now have to include that and then recompile the kernel. Will I then have to copy it and my config file over to my /boot partition and change /etc/grub/grub.conf or will I be 'good to go' after the recompile?

Thanks again!
Follow the steps in the gentoo handbook, you will have to update grub.conf
__________________
Operating System: GNU Emacs
genesus is offline   Reply With Quote
Old 12-05-2005   #9 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
It is still the same kernel, you should ot have to update grub.
That is a lilo thing.

I have had to recompile my kernel because I compiled alsa as built-in, not as module.
and I didn't have to do anything with Grub.
__________________
Go RedWings
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Old 12-05-2005   #10 (permalink)
Just Joined!
 
Join Date: Sep 2005
Posts: 91
Thanks for all your help with this! I will let you know how I get on.

Thanks again.
ipsofacto is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:30 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2