Ici, j'ai un problème.
J'ai un routeur sans fil qui est Buffalo WCR-HP-GN, et je configure un WIFI qui utilise l'authentification WPA2-PSK et la phrase secrète cryptée par TKIP. Le mot de passe est composé de 9 lettres.
Ma femme a un macbook et il peut se connecter au wifi. Mais mon lenovo x200 avec Ubuntu 12.04 LTS ne peut pas se connecter au wifi. J'ai vérifié le réglage et l'IP, tout va bien. Je peux obtenir l'IP via dhclient
, mais lorsque j'essaie de ping
la passerelle, cela ne fonctionne pas. Si j'essaie de le connecter avec un câble Ethernet filaire et que tout va bien, je peux ping
la passerelle.
Quelqu'un peut-il me dire ce qui s'est passé et comment le résoudre? Merci !!
Voici le journal dmesg
pendant que je me connecte au wifi.
[85315.000578] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[85315.616173] usb 4-2: new full-speed USB device number 35 using uhci_hcd
[85321.433260] wlan0: authenticate with 4c:e6:76:5f:74:ff (try 1)
[85321.448196] wlan0: authenticated
[85321.449359] wlan0: associate with 4c:e6:76:5f:74:ff (try 1)
[85321.455113] wlan0: RX AssocResp from 4c:e6:76:5f:74:ff (capab=0x411 status=0 aid=2)
[85321.455122] wlan0: associated
[85321.463260] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[85321.464451] cfg80211: Calling CRDA for country: GB
[85321.475841] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
[85321.475852] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475859] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
[85321.475866] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475872] cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:
[85321.475879] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475885] cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:
[85321.475892] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475898] cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:
[85321.475905] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475911] cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width channel with regulatory rule:
[85321.475918] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475924] cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width channel with regulatory rule:
[85321.475931] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475937] cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width channel with regulatory rule:
[85321.475944] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475950] cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width channel with regulatory rule:
[85321.475957] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475963] cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width channel with regulatory rule:
[85321.475970] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475976] cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:
[85321.475983] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.475989] cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width channel with regulatory rule:
[85321.476029] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476035] cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width channel with regulatory rule:
[85321.476042] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476049] cfg80211: Updating information on frequency 5180 MHz for a 20 MHz width channel with regulatory rule:
[85321.476058] cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476065] cfg80211: Updating information on frequency 5200 MHz for a 20 MHz width channel with regulatory rule:
[85321.476074] cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476082] cfg80211: Updating information on frequency 5220 MHz for a 20 MHz width channel with regulatory rule:
[85321.476090] cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476098] cfg80211: Updating information on frequency 5240 MHz for a 20 MHz width channel with regulatory rule:
[85321.476107] cfg80211: 5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476115] cfg80211: Updating information on frequency 5260 MHz for a 20 MHz width channel with regulatory rule:
[85321.476123] cfg80211: 5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476131] cfg80211: Updating information on frequency 5280 MHz for a 20 MHz width channel with regulatory rule:
[85321.476139] cfg80211: 5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476147] cfg80211: Updating information on frequency 5300 MHz for a 20 MHz width channel with regulatory rule:
[85321.476155] cfg80211: 5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476163] cfg80211: Updating information on frequency 5320 MHz for a 20 MHz width channel with regulatory rule:
[85321.476171] cfg80211: 5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[85321.476179] cfg80211: Updating information on frequency 5500 MHz for a 20 MHz width channel with regulatory rule:
[85321.476187] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476194] cfg80211: Updating information on frequency 5520 MHz for a 20 MHz width channel with regulatory rule:
[85321.476203] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476211] cfg80211: Updating information on frequency 5540 MHz for a 20 MHz width channel with regulatory rule:
[85321.476220] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476227] cfg80211: Updating information on frequency 5560 MHz for a 20 MHz width channel with regulatory rule:
[85321.476236] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476244] cfg80211: Updating information on frequency 5580 MHz for a 20 MHz width channel with regulatory rule:
[85321.476252] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476260] cfg80211: Updating information on frequency 5600 MHz for a 20 MHz width channel with regulatory rule:
[85321.476269] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476276] cfg80211: Updating information on frequency 5620 MHz for a 20 MHz width channel with regulatory rule:
[85321.476285] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476293] cfg80211: Updating information on frequency 5640 MHz for a 20 MHz width channel with regulatory rule:
[85321.476301] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476308] cfg80211: Updating information on frequency 5660 MHz for a 20 MHz width channel with regulatory rule:
[85321.476317] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476324] cfg80211: Updating information on frequency 5680 MHz for a 20 MHz width channel with regulatory rule:
[85321.476334] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476341] cfg80211: Updating information on frequency 5700 MHz for a 20 MHz width channel with regulatory rule:
[85321.476350] cfg80211: 5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A mBi, 2700 mBm)
[85321.476356] cfg80211: Disabling freq 5745 MHz
[85321.476362] cfg80211: Disabling freq 5765 MHz
[85321.476367] cfg80211: Disabling freq 5785 MHz
[85321.476372] cfg80211: Disabling freq 5805 MHz
[85321.476377] cfg80211: Disabling freq 5825 MHz
[85321.476390] cfg80211: Regulatory domain changed to country: GB
[85321.476396] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[85321.476404] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[85321.476412] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[85321.476419] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[85321.476427] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[85326.605714] iwlwifi 0000:03:00.0: Tx aggregation enabled on ra = 4c:e6:76:5f:74:ff tid = 6
[85331.952112] wlan0: no IPv6 routers present
Ceci est le journal dhclient
$ Sudo dhclient wlan0 -v
Internet Systems Consortium DHCP Client 4.1-ESV-R4
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/
Sending on LPF/wlan0/
Sending on Socket/fallback
DHCPREQUEST of 192.168.11.3 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.11.3 from 192.168.11.1
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
RTNETLINK answers: File exists
bound to 192.168.11.3 -- renewal in 69538 seconds.
La table de routage:
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.11.1 0.0.0.0 UG 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.11.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
Je ne peux pas envoyer de ping via la connexion sans fil:
$ ping 192.168.11.1
PING 192.168.11.1 (192.168.11.1) 56(84) bytes of data.
^C
--- 192.168.11.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
Je peux envoyer une requête ping via la connexion filaire:
$ ping 192.168.11.1
PING 192.168.11.1 (192.168.11.1) 56(84) bytes of data.
64 bytes from 192.168.11.1: icmp_req=1 ttl=64 time=0.988 ms
64 bytes from 192.168.11.1: icmp_req=2 ttl=64 time=0.811 ms
64 bytes from 192.168.11.1: icmp_req=3 ttl=64 time=0.820 ms
64 bytes from 192.168.11.1: icmp_req=4 ttl=64 time=0.860 ms
^C
--- 192.168.11.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.811/0.869/0.988/0.079 ms
J'essaie de comprendre le problème et j'ai constaté qu'il y a beaucoup de signal sur le même canal que j'utilise.Si je change de canal, je peux cingler l'IP du routeur. Je vais modifier cette réponse pendant que je peux obtenir un journal détaillé :)
Essayez de vous connecter sans fil, puis utilisez un autre appareil pour afficher la page du routeur et voir s'il répertorie votre hôte comme connecté.
En outre, je vois cela dans vos journaux:
192.168.11.3
S'agit-il de l'adresse IP attribuée à votre ordinateur? Si c'est le cas, essayez d'attribuer une adresse IP statique de votre routeur à l'adresse MAC de cet ordinateur, ou définissez l'IP statique dans Ubunt . Remplacez-le par un élément du domaine du routeur, tel que
192.168.11.13
(en supposant, bien sûr, que cette adresse IP n'est pas déjà prise)