Modmypi.com'da bir nano wifi adaptörü satın aldım ( bu ).
Çalışıyor, bir raspbmc konfigürasyonunda kontrol ettim (orada yapılandırmak için raspbmc kullandım).
Şimdi hırıltılı dağıtımıma geri döndüm ve işe yarayamıyorum.
Bir ifconfig yaptığımda orada (aşağıya bakın).
Modmypi.com'daki yardım sayfasında bir komut dosyası vardı, ancak bunu çalıştırdığımda şu istisnayı alıyorum: "Görünüşe göre yeni 2012-09-18-wheezy-raspbian görüntüsünü kullanıyorsunuz. Üzgünüm ama komut dosyası şu anda ayarlanmayacak GUI'yi startx komutunu kullanarak başlatmanız ve WiFi Config'i kullanarak ayarlamanız gerekiyor. Komut dosyası artık sona erecek. Devam etmek için herhangi bir tuşa basın ... "
Şimdi GUI'deyim ve başladım nm-connection-editor
, ancak bir ipadresi almıyor gibi görünüyor.
Bu komutu okudum: dhclient -v wlan0
ve bu çıktı:
sudo dhclient -v wlan0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/00:0f:more numbers
Sending on LPF/wlan0/00:0f:more numbers
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Ve şimdi ne yapacağımı bilmiyorum.
Bu ifconfig
:
wlan0 Link encap:Ethernet HWaddr 00:0f:1more numbers
UP BROADCAST 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
iwconfig wlan0
:
wlan0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
/etc/wpa_supplicant/wpa_supplicant.conf
:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="Nerd"
psk="SECRET"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
}
Yürütme bunu wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
verir:
wlan0: Trying to associate with 2a:65:11:f2:ce:97 (SSID='Nerd' freq=2412 MHz)
wlan0: Association request to the driver failed
wlan0: Associated with 2a:65:11:f2:ce:97
wlan0: WPA: Key negotiation completed with 2a:65:11:f2:ce:97 [PTK=CCMP GTK=TKIP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 2a:65:11:f2:ce:97 completed (auth) [id=0 id_str=]
wlan0: CTRL-EVENT-DISCONNECTED bssid=2a:65:11:f2:ce:97 reason=0
wlan0: Trying to associate with 90:00:4e:87:c8:cf (SSID='Nerd' freq=2412 MHz)
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-TERMINATING - signal 2 received
wlan0: Trying to associate with 90:00:4e:87:c8:cf (SSID='Nerd' freq=2412 MHz)
wlan0: Association request to the driver failed
iwconfig wlan0
da faydalı olacaktır.
iwconfig wlan0