probleme carte rezo

probleme carte rezo - Multimédia - Linux et OS Alternatifs

Marsh Posté le 03-01-2003 à 12:46:51    

zof-linux1:/home/maminova# /etc/init.d/networking restart
Reconfiguring network interfaces... /etc/network/interfaces:13: option with empty value
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:13: option with empty value
ifup: couldn't read interfaces file "/etc/network/interfaces"
done.

 
 
 
et voici mon fichier /etc/network/interfaces :
 

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 
# The loopback
auto lo
iface lo inet loopback
 
#The first network card - this entry was created during the Debian installation
#(network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        gateway=192.168.1.1
        network 192.168.1.0
        broadcast 192.168.1.255
 
~                                                                                
~                                                    

Reply

Marsh Posté le 03-01-2003 à 12:46:51   

Reply

Marsh Posté le 03-01-2003 à 13:23:57    

zophren a écrit :

zof-linux1:/home/maminova# /etc/init.d/networking restart
Reconfiguring network interfaces... /etc/network/interfaces:13: option with empty value
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:13: option with empty value
ifup: couldn't read interfaces file "/etc/network/interfaces"
done.

 
 
 
et voici mon fichier /etc/network/interfaces :
 

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 
# The loopback
auto lo
iface lo inet loopback
 
#The first network card - this entry was created during the Debian installation
#(network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        gateway=192.168.1.1
        network 192.168.1.0
        broadcast 192.168.1.255
 
~                                                                                
~                                                    

 


 
enleve le "=" aprés "gateway" dans ton fichier
Ce devrait marcher aprés

Reply

Marsh Posté le 03-01-2003 à 13:38:22    

ouais, c'est bon j'ai trouvé, mais faut aussi le virer, car la gateway n'a pas besoin de gateway, enfin je me comprend, merci quand meme :)

Reply

Marsh Posté le 03-01-2003 à 15:02:30    

bah, euh, oui... la gateway, ca se règle avec la commande route...

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed