View previous topic :: View next topic |
Author |
Message |
tlepo Tux's lil' helper


Joined: 04 Sep 2003 Posts: 131 Location: Elouges (Belg.)
|
Posted: Sun Aug 03, 2008 6:58 pm Post subject: [openRC] cd: /net: Aucun fichier ou dossier ... (résolu) |
|
|
Bonjour,
Les lignes de mon fichier /etc/conf.d/net sont commentées et, après une remise-à-jour, je m'attends à recevoir de mon routeur une adresse 192.168.0.x (DHCP). Or, suite à un reboot, j'ai noté:
Code: |
/etc/init.d/net.eth0: line 253: cd: /net: Aucun fichier ou dossier de ce type
ls: ne peut accéder *.sh: Aucun fichier ou dossier de ce type
/etc/init.d/net.eth0: line 329: bash_variable: command not found
|
Actuellement, je suis obligé d'attribuer à eth0 une adresse IP manuellement avec ifconfig. Routage par la commande route add...
Je n'arrive pas à corriger le problème pour que /etc/init.d/net.eth0 ne me retourne plus l'erreur indiquée plus haut. Merci d'avance pour toute aide.
A+ T
Last edited by tlepo on Sun Aug 03, 2008 7:33 pm; edited 1 time in total |
|
Back to top |
|
 |
tlepo Tux's lil' helper


Joined: 04 Sep 2003 Posts: 131 Location: Elouges (Belg.)
|
Posted: Sun Aug 03, 2008 7:32 pm Post subject: |
|
|
J'ai parlé trop vite.
Il manquait un lien dans /etc/init.d/ et j'ai dû le créer ln -s net.lo net.eth0. Je ne sais pas pourquoi il a disparu mais c'est réparé maintenant.
A+ T |
|
Back to top |
|
 |
VikingB Apprentice


Joined: 19 May 2006 Posts: 263 Location: ~Brussels (B)
|
|
Back to top |
|
 |
|