Linux получил IP от DHCP, но все еще не может соединиться с WI-FI WPA2

Здесь я получил проблему.

У меня есть Беспроводной маршрутизатор, который является Buffalo WCR-HP-GN, и установка I WI-FI, которые используют аутентификацию WPA2-PSK и пароль, зашифрованный TKIP. Пароль является числами с 9 буквами.

У моей жены есть MacBook, и он может соединиться с Wi-Fi. Но моя lenovo x200 с Ubuntu 12.04 LTS не может соединиться с Wi-Fi. Я проверил установку и IP, все прекрасно. Я могу передать IP dhclient, но когда я пытаюсь ping шлюз, это не работает. Если я пытаюсь соединить его с проводным кабелем Ethernet, и все прекрасно, я могу ping шлюз.

Кто-либо может сказать мне, что произошло и как решить его? Спасибо!!

Вот dmesg зарегистрируйтесь, в то время как я соединяюсь с Wi-Fi.

[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

Это 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.

Таблица маршрутизации:

$ 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

Я не могу проверить с помощью ping-запросов через беспроводное подключение:

$ 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

Я могу проверить с помощью ping-запросов через проводное подключение:

$ 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
4
задан 21 August 2012 в 20:52

2 ответа

Я пытаюсь выяснить проблему, и я нашел, там имеет много сигнала на том же канале, который я использую. Если я переключаю канал, я могу проверить с помощью ping-запросов IP маршрутизатора. Я отредактирую этот ответ, в то время как я могу получить журнал детали :)

1
ответ дан 21 October 2019 в 13:05

Попытайтесь соединиться с помощью беспроводных технологий, затем с помощью другого устройства, чтобы просмотреть страницу маршрутизатора и видеть, перечисляет ли это хост, как соединено.

кроме того, я вижу это в Ваших журналах:

192.168.11.3

это IP-адрес, присвоенный Вашему компьютеру? Если так, попытайтесь присвоить статический IP от своего маршрутизатора до MAC-адреса того компьютера, или устанавливает статический IP в Ubuntu . Измените его на что-то в домене маршрутизатора, такой как

192.168.11.13

(предположение, конечно, что тот IP уже не взят)

0
ответ дан 21 October 2019 в 13:05

Другие вопросы по тегам:

Похожие вопросы: