1 |
on 06/14/2011 10:45 PM Cahn Roger wrote the following: |
2 |
>> # /etc/init.d/net.eth0 stop |
3 |
>> # ifconfig eth0 192.168.1.20 up |
4 |
>> |
5 |
>> and post output of |
6 |
> |
7 |
> /etc/init.d/net.eth0 stop |
8 |
> * Caching service dependencies ... |
9 |
> /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable |
10 |
> /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable |
11 |
> SIOCADDRT: Le fichier existe |
12 |
> /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable |
13 |
> /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable |
14 |
> SIOCADDRT: Le fichier existe |
15 |
> /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable |
16 |
> /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable |
17 |
> SIOCADDRT: Le fichier existe |
18 |
> [ ok ] |
19 |
> * samba -> stop: smbd ... |
20 |
> [ ok ] |
21 |
> * samba -> stop: nmbd ... |
22 |
> [ ok ] |
23 |
> * Unmounting network filesystems ... |
24 |
> [ ok ] |
25 |
> /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable |
26 |
> /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable |
27 |
> SIOCADDRT: Le fichier existe |
28 |
> * net.eth0: error loading /etc/init.d/../conf.d/net |
29 |
> * ERROR: net.eth0 failed to stop |
30 |
> |
31 |
> (command unobtenaible) |
32 |
|
33 |
Run these (in sequence) as root (and post output): |
34 |
|
35 |
# echo > /etc/conf.d/net |
36 |
# /etc/init.d/net.eth0 stop |
37 |
# /etc/init.d/net.eth0 zap |
38 |
# ifconfig eth0 192.168.1.20 up |
39 |
# ifconfig |
40 |
# ping 192.168.1.1 |