Re: ifup(down) ath0


To Debian CZ/SK project discussion list <czdebian-l zavinac debian bod cz>
From Milan Čermák <mcermak zavinac chello bod cz>
Date Mon, 07 Feb 2005 15:20:20 +0100
User-agent Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1

To asi taky nebude to pravé ořechové, aby počítač byl sám sobě gatewayí. Gateway by pro všechna rozhraní (neumím skloňovat slovo interface :-)) měla být jen jedna.

Milan Čermák

eXtrEMe nafik napsal(a):
S tim gateway mate pravdu u ath0, ma bejt 192.168.0.1;

----- Original Message ----- From: "Vladimir Smelhaus" <smelhaus zavinac bpt bod 
cz>
To: "Debian CZ/SK project discussion list" <czdebian-l zavinac debian bod cz>
Sent: Monday, February 07, 2005 3:02 PM
Subject: Re: ifup(down) ath0


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.

________________________________________________
CZdebian-l maillist  -  CZdebian-l zavinac debian bod cz
http://www.debian.cz/mailman/listinfo/czdebian-l
E-mail (un)subscriptions: czdebian-l-request zavinac debian bod cz


________________________________________________
CZdebian-l maillist  -  CZdebian-l zavinac debian bod cz
http://www.debian.cz/mailman/listinfo/czdebian-l
E-mail (un)subscriptions: czdebian-l-request zavinac debian bod cz




Partial thread listing: