Portál AbcLinuxu, 14. května 2025 03:07
pejsanek:/etc/network# ifdown ath0 ifdown: interface ath0 not configured pejsanek:/etc/network# ifup ath0 SIOCADDRT: Network is unreachable Failed to bring up ath0.Zde je konfiguracni soubor site :
pejsanek:/etc/network# cat interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # 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.1Pouzivam Debian sid. Da se snad nastavit sit jeste nekde jinde, aby to takto nezlobilo? Nebo alespon, jak mam vyresit ten problem, co zde popisuji...
wireless_essid CZFree.Net wireless_mode managedNebo (pokud to má být access point):
wireless_essid CZFree.Net wireless_mode master wireless_channel 1
pejsanek:/etc/init.d# cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth1 ath0 eth0 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 eth0 inet static address 192.168.0.3 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 # gateway 192.168.0.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 network 192.168.0.0 broadcast 192.168.0.255 # gateway 192.168.0.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.1.1 wireless_essid WLAN wireless_mode master wireless_channel 1
iwconfig wlan0 (notebook) IEEE 802.11g ESSID : WLAN nickname : bafik mode : Ad-Hoc Frequency : 2.412GHz Bit Rate = 11Mb/s atd....a pocitac s Micronet wifi 11/54/108mbit s atheros driverama
iwconfig ath0 (PC) ath0 IEEE 802.11g ESSID:"WLAN" Nickname:"nafik" Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:0F:A3:11:0D:8F Bit Rate=54 Mb/s Tx-Power:50 dBm Sensitivity=0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:2 Invalid misc:2 Missed beacon:0S tim ze link quality u PC kazdou vterinu leze z 0procent na 46-50procent a zase zpet..
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.