Tervehdys !
Nyt pitäisi saada consolesta käsin toimimaan RT2860STA piirinen Linksys kortti
Tuskaa on, ja pää ei riitä, ohjeita
löytyy mutta en ole saanut toimimaan :/ Termistö on hukassa ja muuta sellaista ..
sympton@shuttle:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 RT2860 Wireless ESSID:"" Nickname:"RT2860STA"
Mode:Auto Frequency=2.412 GHz Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Link Quality=10/100 Signal level:0 dBm Noise level:-67 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sympton@shuttle:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:1b:47:d7:b5
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:1bff:fe47:d7b5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56653745 errors:0 dropped:1343732 overruns:0 frame:0
TX packets:32846080 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:61064879933 (61.0 GB) TX bytes:4396930025 (4.3 GB)
Interrupt:17
lo 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:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1888 (1.8 KB) TX bytes:1888 (1.8 KB)
wlan0 Link encap:Ethernet HWaddr 00:25:9c:e5:66:1e
inet6 addr: fe80::225:9cff:fee5:661e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1740 errors:0 dropped:0 overruns:0 frame:0
TX packets:5056 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:465659 (465.6 KB) TX bytes:0 (0.0 B)
Interrupt:17
sympton@shuttle:~$ iwlist wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 90:E6:BA:94:C5:E0
Protocol:802.11b/g/n
ESSID:"ASUS"
Mode:Managed
Channel:1
Quality:70/100 Signal level:-62 dBm Noise level:-87 dBm
Encryption key:on
Bit Rates:54 Mb/s
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
/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 eth0
iface eth0 inet dhcp
# WiFi
#iface wlan0 inet dhcp
# pre-up ifconfig wlan0 up
# pre-up iwconfig wlan0 essid "ASUS"
# pre-up iwconfig wlan0 mode Managed
# pre-up iwpriv wlan0 set Authmode=WPAPSK
# pre-up iwpriv wlan0 set EncrypType=AES
# pre-up iwpriv wlan0 set WPAPSK="avain"
# pre-up ifconfig wlan0 up
#iface wlan0 inet dhcp
# pre-up iwpriv wlan0 auth 3
# pre-up iwpriv wlan0 enc 3
# pre-up iwconfig wlan0 essid ASUS
# pre-up iwpriv wlan0 wpapsk avain
# pre-up iwconfig wlan0 essid ASUS
iface wlan0 inet dhcp
pre-up iwconfig wlan0 essid ASUS
pre-up iwpriv wlan0 set NetworkType=Managed
pre-up iwpriv wlan0 set AuthMode=WPA
pre-up iwpriv wlan0 set EncrypType=AES
pre-up iwpriv wlan0 set WPAPSK="avain"
#pre-up wpa_supplicant -Bw -Dwext -ieth0 -c/etc/wpa_supplicant/wpa_supplicant.conf
#post-down killall -q wpa_supplicant
sympton@shuttle:~$ sudo ifup wlan0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/00:25:9c:e5:66:1e
Sending on LPF/wlan0/00:25:9c:e5:66:1e
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
ssh stop/waiting
ssh start/running, process 1906
Eli näyttäisi siltä että kortti vallan toimii
Mutta miten saan WPA:n yms laitettua kohillee ? Kuten alussa sanoin, termistö on hukassa, eli nuo wpa-psk yms .. Tukiasemassa (ASUS RT-N15) on seuraavaa :
SSID: ASUS
Hide SSID: No
Wireless Mode: AUTO
b/g Protection: YES
Channel bandwidth: 20/40Mhz
Channel: AUTO
Extension channel: AUTO
Authentication Method: WPA-Auto-personal
WPA Encryption: AES
WPA Pre-Shared Key: avain
WEP Encryption: none
Key Index: 2
Kaiken tämän lisäksi pitäisi tämä wlan yhteys saada sitten myöhemmin jaettua eth0:lalle, mutta kun nyt saisi
tuon wlanin ensin pelittämään
-Tomi