mati@RAKIETA:~$ sudo ifconfigath0 Link encap:Ethernet HWaddr 00:1f:3a:3f:ec:5f inet6 addr: fe80::21f:3aff:fe3f:ec5f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)eth0 Link encap:Ethernet HWaddr 00:1e:68:11:f8:31 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:4578 errors:0 dropped:0 overruns:0 frame:0 TX packets:2341 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3712737 (3.5 MB) TX bytes:294125 (287.2 KB) Interrupt:252 Base address:0x2000lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:500 (500.0 B) TX bytes:500 (500.0 B)wifi0 Link encap:UNSPEC HWaddr 00-1F-3A-3F-EC-5F-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15883 errors:0 dropped:0 overruns:0 frame:3134 TX packets:583 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:280 RX bytes:1360545 (1.2 MB) TX bytes:26818 (26.1 KB) Interrupt:19
mati@RAKIETA:~$ sudo iwconfiglo no wireless extensions.eth0 no wireless extensions.wifi0 no wireless extensions.ath0 IEEE 802.11g ESSID:"" Nickname:"" Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated Bit Rate:0 kb/s Tx-Power:16 dBm Sensitivity=1/1 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=0/70 Signal level=-96 dBm Noise level=-96 dBm Rx invalid nwid:15721 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
mati@RAKIETA:~$ sudo lshw -C network *-network description: Ethernet interface product: MCP67 Ethernet vendor: nVidia Corporation physical id: a bus info: pci@0000:00:0a.0 logical name: eth0 version: a2 serial: 00:1e:68:11:f8:31 capacity: 100MB/s width: 32 bits clock: 66MHz capabilities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.61 latency=0 link=no maxlatency=20 mingnt=1 module=forcedeth multicast=yes port=MII *-network description: Wireless interface product: AR242x 802.11abg Wireless PCI Express Adapter vendor: Atheros Communications Inc. physical id: 0 bus info: pci@0000:03:00.0 logical name: wifi0 version: 01 serial: 00:1f:3a:3f:ec:5f width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless configuration: broadcast=yes driver=ath_pci latency=0 module=ath_pci multicast=yes wireless=IEEE 802.11g
mati@RAKIETA:~$ sudo ifconfig ath0 downmati@RAKIETA:~$ sudo dhclient -r ath0Internet Systems Consortium DHCP Client V3.0.6Copyright 2004-2007 Internet Systems Consortium.All rights reserved.For info, please visit http://www.isc.org/sw/dhcp/wifi0: unknown hardware address type 801wifi0: unknown hardware address type 801Listening on LPF/ath0/00:1f:3a:3f:ec:5fSending on LPF/ath0/00:1f:3a:3f:ec:5fSending on Socket/fallbackmati@RAKIETA:~$ sudo ifconfig ath0 upmati@RAKIETA:~$ sudo iwconfig ath0 essid "neciak"mati@RAKIETA:~$ sudo iwconfig ath0 key 1DD25AA75mati@RAKIETA:~$ sudo iwconfig ath0 mode Managedmati@RAKIETA:~$ sudo dhclient ath0There is already a pid file /var/run/dhclient.pid with pid 0Internet Systems Consortium DHCP Client V3.0.6Copyright 2004-2007 Internet Systems Consortium.All rights reserved.For info, please visit http://www.isc.org/sw/dhcp/wifi0: unknown hardware address type 801wifi0: unknown hardware address type 801Listening on LPF/ath0/00:1f:3a:3f:ec:5fSending on LPF/ath0/00:1f:3a:3f:ec:5fSending on Socket/fallbackDHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1No DHCPOFFERS received.No working leases in persistent database - sleeping.
wlanconfig ath0 list scanSSID BSSID CHAN RATE S:N INT CAPSeddie 00:06:25:e8:3a:05 6 54M 36:0 100 EPs
sudo dhcpcd ath0zamiastsudo dhclient ath0
mati@RAKIETA:~$ iwlist scanlo Interface doesn't support scanning.eth0 Interface doesn't support scanning.wifi0 Interface doesn't support scanning.ath0 Scan completed : Cell 01 - Address: 00:0E:2E:4E:1A:B3 ESSID:"Default" Mode:Master Frequency:2.437 GHz (Channel 6) Quality=2/70 Signal level=-93 dBm Noise level=-95 dBm Encryption key:off Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Extra:bcn_int=100 Cell 02 - Address: 00:1A:70:99:A9:42 ESSID:"neciak" Mode:Master Frequency:2.462 GHz (Channel 11) Quality=43/70 Signal level=-52 dBm Noise level=-95 dBm Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s 6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Extra:bcn_int=100 Cell 03 - Address: 00:06:4F:50:3D:DB ESSID:"NASOR" Mode:Master Frequency:2.457 GHz (Channel 10) Quality=12/70 Signal level=-83 dBm Noise level=-95 dBm Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Extra:bcn_int=100 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK
mati@RAKIETA:~$ sudo ifconfig ath0 downmati@RAKIETA:~$ sudo dhclient -r ath0There is already a pid file /var/run/dhclient.pid with pid 0Internet Systems Consortium DHCP Client V3.0.6Copyright 2004-2007 Internet Systems Consortium.All rights reserved.For info, please visit http://www.isc.org/sw/dhcp/wifi0: unknown hardware address type 801wifi0: unknown hardware address type 801Listening on LPF/ath0/00:1f:3a:3f:ec:5fSending on LPF/ath0/00:1f:3a:3f:ec:5fSending on Socket/fallbackmati@RAKIETA:~$ sudo ifconfig ath0 upmati@RAKIETA:~$ sudo iwconfig ath0 essid "neciak"mati@RAKIETA:~$ sudo iwconfig ath0 key s:8005200501mati@RAKIETA:~$ sudo iwconfig ath0 channel 11mati@RAKIETA:~$ sudo iwconfig ath0 mode Managedmati@RAKIETA:~$ sudo dhclient ath0There is already a pid file /var/run/dhclient.pid with pid 0Internet Systems Consortium DHCP Client V3.0.6Copyright 2004-2007 Internet Systems Consortium.All rights reserved.For info, please visit http://www.isc.org/sw/dhcp/wifi0: unknown hardware address type 801wifi0: unknown hardware address type 801Listening on LPF/ath0/00:1f:3a:3f:ec:5fSending on LPF/ath0/00:1f:3a:3f:ec:5fSending on Socket/fallbackDHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 15DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7No DHCPOFFERS received.No working leases in persistent database - sleeping.
mati@RAKIETA:~$ sudo dhcpcd ath0Error, ath0: timed out
There is already a pid file /var/run/dhclient.pid with pid 0
wlanconfig ath0 destroywlanconfig ath0 create wlandev wifi0 wlanmode staiwconfig ath0 essid test_apiwconfig ath0 channel 6ifconfig ath0 10.0.0.100 netmask 255.255.255.0 uprouta add default gw 10.0.0.1
echo "194.204.159.1" > /etc/resolve.confecho "194.204.152.34" > /etc/resolve.conf