无线网又上不了了

最大的社区版本,Ubuntu的发源地
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 无线网又上不了了

#16

帖子 poloshiao » 2015-10-23 7:34

现在安装了 broadcom-sta-dkms,能无线上网了,
還有沒有
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
的問題
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: 无线网又上不了了

#17

帖子 yangdawei.hit » 2015-10-23 7:35

uname -r
4.2.0-1-amd64

sudo lspci -knn
http://paste.ubuntu.com/12898255/

sudo lshw -numeric -class network
http://paste.ubuntu.com/12898268/

sudo rfkill list all
http://paste.ubuntu.com/12898275/

sudo nmcli dev status wlan0
http://paste.ubuntu.com/12898279/

sudo dhclient -v
http://paste.ubuntu.com/12898283/


sudo iwlist scan
http://paste.ubuntu.com/12898287/


sudo dkms status
http://paste.ubuntu.com/12898291/

sudo cat /etc/NetworkManager/NetworkManager.conf
http://paste.ubuntu.com/12898302/

sudo cat /etc/network/interfaces
http://paste.ubuntu.com/12898305/


sudo cat /etc/udev/rules.d/70-persistent-net.rules
http://paste.ubuntu.com/12898311/
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: 无线网又上不了了

#18

帖子 yangdawei.hit » 2015-10-23 7:37

代码: 全选

 sudo route -nv
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 wlan0
0.0.0.0         192.168.0.1     0.0.0.0         UG    600    0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlan0
是不是仍然有问题呢?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 无线网又上不了了

#19

帖子 poloshiao » 2015-10-23 7:45

sudo route -nv
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
這一行是多餘的
但是只要不影響功能 暫時不理它
先研究 wlan0 設定檔
http://paste.ubuntu.com/12898268/
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half
2. 你的有線網卡還沒關閉
2-1. duplex=half 合適驅動應該是 duplex=full
http://paste.ubuntu.com/12898268/
sudo lshw -numeric -class network
*-network
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
vendor: Broadcom Corporation [14E4]
configuration: broadcast=yes driver= driverversion=6.30.223.271 (r587334) ip=192.168.0.111 latency=0 multicast=yes wireless=IEEE 802.11abg
3. 無線網卡 BCM4313
3-1. 目前作用中驅動 wl0
3-2. 合適驅動是 wl (或 brcm80211 另見 4.)
https://wireless.wiki.kernel.org/en/users/Drivers/b43
List of hardware
14e4:4727 no BCM4313 b/g/n LCN (r1) wl/brcm80211
3-3. 建議 把 wl0 列入 載入黑名單
现在安装了 broadcom-sta-dkms,能无线上网了
3-4. https://packages.debian.org/jessie/all/ ... s/filelist
broadcom-sta-dkms 套件包 並沒有 wl0 驅動模組
3-5. 這個 wl0 的問題似乎是 broadcom-sta 的古老問題
http://ubuntuforums.org/showthread.php?t=1187656
Who is having problems with the wl or wl0 driver in jaunty?
3-5-1. 這裡有一個 補釘程式 適用在 Debian 8 的 broadcom-sta-dkms 6.30.223.248 版本 試試看
https://packages.gentoo.org/packages/ne ... oadcom-sta
3-5-2. 補充
https://wiki.debian.org/wl
Supported Devices
Version 6.30.223.248
This driver is packaged for the Debian 8 "Jessie" release as broadcom-sta-dkms.
Broadcom BCM4313 (PCI ID 14e4:4727)

4. 如果 wl 無法完全滿意 試試 brcm80211
4-1. https://wiki.debian.org/brcm80211
4-2. https://wireless.wiki.kernel.org/en/use ... /brcm80211
sudo nmcli dev status wlan0
Unknown parameter: wlan0
DEVICE TYPE STATE CONNECTION
wlan0 wifi connected TP-LINK_HyFi_83
5. 這個回應 有點奇怪 因為明明就有 wlan0
http://paste.ubuntu.com/12898302/
sudo cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
5-1. 表示 你的無線網卡 是在右上方 NM-Applet 連線圖示的地方 設定的
如果一直還有小問題 把無線網卡 設定畫面 全部擷圖 貼上來
http://paste.ubuntu.com/12898287/
sudo iwlist scan
wlan0 Scan completed :
Cell 01 - Address: 3C:46:D8:5C:07:83
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=52/70 Signal level=-58 dBm
Encryption key:off
ESSID:"TP-LINK_HyFi_83"
6. 你沒有設定 wpa_supplicant ?
6-1. 參見
https://wiki.debian.org/WiFi/HowToUse#wpa_supplicant
6-2. 個人電腦 建議使用 wpa2
http://paste.ubuntu.com/12898311/
sudo cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x14e4:0x4727 (brcmsmac)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="2c:d0:5a:b2:10:ca", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
现在安装了 broadcom-sta-dkms,能无线上网了
7. 可以考慮 把 /etc/udev/rules.d/70-persistent-net.rules 內容清空
重新開機後 會自動生成最新內容
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: 无线网又上不了了

#20

帖子 yangdawei.hit » 2015-10-23 8:02

感动啊,两位的指导真是太给力了。 :Cry
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 无线网又上不了了

#21

帖子 vickycq » 2015-10-23 10:05

现在安装了 broadcom-sta-dkms,能无线上网了
也许 ping 114 延时高是你的运营商问题? :Faint
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
回复