Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
diskless node works until I use net.eth0-dependent packages!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vputz
Guru
Guru


Joined: 16 Mar 2005
Posts: 310
Location: Oxford, England

PostPosted: Mon Feb 20, 2006 3:26 pm    Post subject: diskless node works until I use net.eth0-dependent packages! Reply with quote

Here's an odd one which hopefully will be obvious to someone...

I've set up a diskless node using the howto; good so far. It boots! It mounts the root directory! It lets me log in!

Well... it lets me log in after a bunch of messages about how other directories (nfs shares) couldn't be mounted and net-dependent services can't be started. One can't have everything. However, it lets me log on as root and mount /opt, /usr, and /home (as per the howto).

The only problem with this is that while everything looks good, any attempt to use a net-dependent service tries to start net.eth0 as a dependency... and as SOON as it tries to start net.eth0, the whole shebang comes crashing down since it's trying to reconfigure the network and thus loses its root directory.

VERY annoying, since the whole reason I'm trying this is to set up a compile farm, which sorta obviously needs the network...

Any ideas on how to diagnose? I'm having a hard time getting any log messages working as well...

-->VPutz
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Feb 20, 2006 3:37 pm    Post subject: Reply with quote

in conf.d/net

Code:
config_eth0=( "noop" "dhcp" )


This says if eth0 has an ipv4 address then do nothing, otherwise get a dhcp address.

That should be documented in net.example
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
vputz
Guru
Guru


Joined: 16 Mar 2005
Posts: 310
Location: Oxford, England

PostPosted: Wed Feb 22, 2006 12:24 am    Post subject: Reply with quote

UberLord wrote:
in conf.d/net

Code:
config_eth0=( "noop" "dhcp" )


This says if eth0 has an ipv4 address then do nothing, otherwise get a dhcp address.

That should be documented in net.example

And it was. For whatever reason, my conf.d/net was still using the old iface_eth0 notation and didn't have that information.

Anyway, it worked like a champ; thanks! Now I can netboot and get distcc up as I'd desired...

...AFTER I login as root and "mount -a". For whatever reason, my mounts are not mounting automatically. Netmount has "before *" in its "depends {" block. I'm not certain what's going on yet except that it may have something to do with root being read-only for a certain amount of time (it's RW by the time a login prompt shows, but maybe it's RO when trying to mount?). Very curious.

I may try to simply install "from scratch" to a net mounted directory and see how that goes...

-->VPutz
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
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