Re: ifup(down) ath0


To Debian CZ/SK project discussion list <czdebian-l zavinac debian bod cz>
From Vladimir Smelhaus <smelhaus zavinac bpt bod cz>
Date Mon, 07 Feb 2005 15:02:55 +0100
User-agent Mozilla Thunderbird 1.0 (Windows/20041206)

eXtrEMe nafik wrote:
Zdravim, pokousim se nastavit wifi sit, ta nekdy funguje, nekdy ne. Prvotni problem asi je asi v tomto : pejsanek:/etc/network# ifdown ath0
ifdown: interface ath0 not configured
pejsanek:/etc/network# ifup ath0
SIOCADDRT: Network is unreachable
Failed to bring up ath0.

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth1 ath0
iface eth1 inet static
        address 192.168.1.13
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.1.1

iface ath0 inet static
        address 192.168.0.1
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.1.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.1.1


Řekl bych, že gateway uvedená u obou interfaců je na jeden počítač moc. Navíc je stejná u ath0 jako u eth1.

V.



Partial thread listing: