marvin rouge Veteran
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Wed Jan 04, 2006 4:33 pm Post subject: [NET.ETH0] baselayout vs bash (resolu) |
|
|
J'ai un souci de config, et je me casse le nez dessus depuis midi.
C'est tout simple: net-eth0 est un lien sur net.lo (dans /etc/init.d)
Mon baselayout : sys-apps/baselayout-1.12.0_pre12 (j'ai aussi essayé avec une version précédente, et ça ne passe pas)
Config dans /etc/conf.d/net : Code: | modules=( "ifconfig" )
modules=( "dhclient" )
config_eth0=( "dhcp" ) |
Code: | # /etc/init.d/net.eth0 start
* Starting eth0
* Bringing up eth0
* "dhcp"
* No loaded modules provide ""dhcp"" ("dhcp"_start) [ !! ]
|
Et pour net.lo, c'est aussi la catastrophe, il me met (de tête) "No loaded module provides "brd" ("127.0.0.1/8 brd 127.255.255.255")
(évidemment, au boot c'est pas joli, ça démarre difficilement)
Pour avoir le réseau, je fait dhcpcd eth0 dans un terminal.
Les fichiers de conf sont mis à jour via dispatch-conf.
Bref, je vois pas bien le problème.
EDIT
J'ajoute Code: | config_eth1=( "192.168.1.50 netmask 255.255.255.0 broadcast 192.168.1.255" ) | dans /etc/conf.d/net
Et puis: Code: | # /etc/init.d/net.eth1 start
* Caching service dependencies ...
[ ok ]
* Starting eth1
* Bringing up eth1
* "192.168.1.50
* No loaded modules provide ""192.168.1.50" ("192.168.1.50_start)
* netmask
* No loaded modules provide "netmask" (netmask_start)
* 255.255.255.0
SIOCSIFADDR: Invalid argument [ !! ]
* broadcast
* No loaded modules provide "broadcast" (broadcast_start)
* 192.168.1.255"
|
outch !
Last edited by marvin rouge on Wed Jan 04, 2006 5:52 pm; edited 2 times in total |
|