Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After emerge system, dhcp and "netmount" problem
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Floog
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2002
Posts: 116

PostPosted: Thu Jul 29, 2004 4:52 am    Post subject: Reply with quote

Hi JD,

Please post the eth0 line that you are using in your /etc/conf.d/net.
And also please post the output of lsmod showing your NIC module that gets loaded upon boot.

Thanks,

Floog

jdhooghe85 wrote:
i am using the nvidia ethernet driver:forcedeth and it starts as a module as it should at startup. when i type ifconfig in my system it only shows lo and when i type ifconfig in livecd it shows lo and eth0. I use cable from a router and the only thing i have enabled in /etc/conf.d/net is the dhcp stuff and nothing else.
Back to top
View user's profile Send private message
lesc
n00b
n00b


Joined: 27 Apr 2003
Posts: 26
Location: Edmonton, Alberta

PostPosted: Thu Jul 29, 2004 11:10 am    Post subject: Reply with quote

jdhooghe85, can you please provide a copy of the /etc/conf.d/net file. In the net file I provided, you should have iface_eth0="dhcp" uncommented. I also have dhcpcd_eth0="-d" uncommented for debug purposes.

=====
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0=
#iface_eth1=
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
dhcpcd_eth0="-d"
# For adding aliases to a interface
#
#alias_eth0=
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0=
#netmask
# For setting the default gateway
#
#gateway=
==========

What version of hotplug do you have installed?

"emerge search hotplug" will show the version you have installed.

bash-2.05b# emerge search hotplug
Searching...
[ Results for search key : hotplug ]
[ Applications found : 2 ]

* sys-apps/hotplug
Latest version available: 20040401
Latest version installed: 20040401
Size of downloaded files: 40 kB
Homepage: http://linux-hotplug.sourceforge.net
Description: USB and PCI hotplug scripts
License: GPL-2

* sys-apps/hotplug-base
Latest version available: 20040401
Latest version installed: 20040401
Size of downloaded files: 40 kB
Homepage: http://linux-hotplug.sourceforge.net
Description: Base Hotplug framework
License: GPL-2

jdhooghe85 wrote:
Its still not working for me, i followed floog's suggestion but it doesnt work. When i boot to the live cd the internet works but when i am in my system it doesnt. i am using the nvidia ethernet driver:forcedeth and it starts as a module as it should at startup. when i type ifconfig in my system it only shows lo and when i type ifconfig in livecd it shows lo and eth0. I use cable from a router and the only thing i have enabled in /etc/conf.d/net is the dhcp stuff and nothing else. I also have the right dns address in /etc/resolv.conf. when i type ifconfig eth0 it shows eth0 in loopback. If anyones got any suggestions that would be great.

_________________
Linux Registered User # 187441
Back to top
View user's profile Send private message
oliwood
n00b
n00b


Joined: 24 May 2004
Posts: 42

PostPosted: Fri Jul 30, 2004 3:52 pm    Post subject: Reply with quote

Mr Lesc+Floog,
Thanks for all your help -

Quote:

Try Floogs sugguestion (see message Floog Wed July 28, 2004 8:57 am).
If you need further help let us know and we can walk you through it.


I got through an emerge -u system, and ran dispatch-conf (I dont now trust etc-update!) and netwmount, ssd, and Samba now fire up when I boot!

Which is all cool - but I still have to do a su > dhcpcd eth0 to be able to get anywhere! Any ideas?

oli
_________________
If something sounds odd itseither my poor explaination skills - or Im trying to be funny and it didnt work.

www.coldclimate.co.uk/blog
www.coldclimate.co.uk/gentoo
Back to top
View user's profile Send private message
oliwood
n00b
n00b


Joined: 24 May 2004
Posts: 42

PostPosted: Fri Jul 30, 2004 4:01 pm    Post subject: Reply with quote

My thanks to Lesc and Floog -Im now out of this damned nightmare! The emerge -u system did the trick - I just had to run dispatch-conf to clean things up and then re-edit my /etc/conf.d/net and add back some stuff that my origianl etc-update hosing had got rid of!

The combinations of a dodgy emerge and an etc-update had me completely confused!
_________________
If something sounds odd itseither my poor explaination skills - or Im trying to be funny and it didnt work.

www.coldclimate.co.uk/blog
www.coldclimate.co.uk/gentoo
Back to top
View user's profile Send private message
Floog
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2002
Posts: 116

PostPosted: Fri Jul 30, 2004 4:20 pm    Post subject: Reply with quote

No prob., Oli.
We all worked through it together.
I really enjoy the open attitude of the Gentoo community.
Coming from a binaries based distro. background, Gentoo is taking a while to get used to, but I am enjoying it more and more every day.

Floog
Back to top
View user's profile Send private message
lesc
n00b
n00b


Joined: 27 Apr 2003
Posts: 26
Location: Edmonton, Alberta

PostPosted: Fri Jul 30, 2004 7:42 pm    Post subject: Reply with quote

Great news oliwood! You solved this problem.

I learned a lot working through this eth0 problem. It's great to see the Gentoo users working together to solve each others problems. Since the last time I was here, I have read a lot of message threads about "etc-update" and the use of dispatch-conf. It's good to see that this worked for you.

oliwood wrote:
My thanks to Lesc and Floog -Im now out of this damned nightmare! The emerge -u system did the trick - I just had to run dispatch-conf to clean things up and then re-edit my /etc/conf.d/net and add back some stuff that my origianl etc-update hosing had got rid of!

The combinations of a dodgy emerge and an etc-update had me completely confused!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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