我可以连接到无线,但无法连接到互联网。
我尝试过但没有帮助的方法:
- 距离路由器越来越近
- 格式化
- 重新安装固件
一些诊断细节:
cat /etc/resolv.conf
# Generated by NetworkManager nameserver 94.143.178.17 nameserver 195.167.65.194
nm-tool
NetworkManager Tool `State: connected (global) - Device: eth0 ----------------------------------------------------------------- Type: Wired Driver: tg3 State: unavailable Default: no HW Address: 00:1D:72:28:DF:B9 Capabilities: Carrier Detect: yes Wired Properties Carrier: off - Device: wlan0 ---------------------------------------------------------------- Type: 802.11 WiFi Driver: b43 State: disconnected Default: no HW Address: 00:1F:3A:56:5E:73 Capabilities: Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Access Points EFESSOU GEUSEIS: Infra, 00:05:59:0B:6C:37, Freq 2437 MHz, Rate 54 Mb/s, Strength 54 - Device: ttyUSB0 [Cosmote Default] ------------------------------------------- Type: Mobile Broadband (GSM) Driver: option1 State: connected Default: yes Capabilities: IPv4 Settings: Address: 31.152.209.75 Prefix: 32 (255.255.255.255) Gateway: 10.64.64.64 DNS: 94.143.178.17 DNS: 195.167.65.194
sudo iwlist scan
lo Interface doesn't support scanning. eth0 Interface doesn't support scanning. irda0 Interface doesn't support scanning. wlan0 Scan completed : Cell 01 - Address: 00:05:59:0B:6C:37 Channel:6 Frequency:2.437 GHz (Channel 6) Quality=42/70 Signal level=-68 dBm Encryption key:off ESSID:"EFESSOU GEUSEIS" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=000000333425f1b6 Extra: Last beacon: 784ms ago IE: Unknown: 000F45464553534F552047455553454953 IE: Unknown: 010582848B962C IE: Unknown: 030106 IE: Unknown: 2A0100 IE: Unknown: 32080C1218243048606C wwan0 Interface doesn't support scanning. ppp0 Interface doesn't support scanning.
cat /var/lib/NetworkManager/NetworkManager.state
[main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true
cat /etc/network/interfaces
auto lo iface lo inet loopback
lsmod | grep b43
b43 318816 0 mac80211 272785 1 b43 cfg80211 172392 2 b43,mac80211 ssb 50682 1 b43
route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.64.64.64 0.0.0.0 UG 0 0 0 ppp0 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 ppp0
我在宽带连接上网时运行了这些代码。如果您需要在我连接无线网络(无线网络有问题)时执行任何命令,请告诉我。
答案1
您包含的 iwlist 和 lsmod 的输出表明您的计算机已识别并可以使用无线网卡,因此不太可能是驱动程序问题。
根据您的路由表,您的计算机似乎设置为通过 ppp0 接口而不是 wlan0 接口发送所有互联网流量。请尝试拔下/禁用您已配置的任何调制解调器或 VPN,然后尝试再次连接到无线。
答案2
您的有线运营商(无论是哪家)已关闭。您必须将其激活。
echo on | sudo tee /sys/class/net/eth0/device/power/control