无线网卡问题,急,求解救。。。

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 无线网卡问题,急,求解救。。。

#31

帖子 poloshiao »

02:04.0 Network controller [0280]: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN [103c:12f8]
Kernel driver in use: wl
Kernel modules: wl, ssb
已經說明 可以使用的 驅動模組是 wl, ssb
目前使用中的驅動模組是 wl
driver=wl 沒有抓到 BCM4306 的 MAC
serial: xx:xx:xx:xx:xx:xx
所以沒有分配給 wlan0 無線網卡界面
sudo rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
http://askubuntu.com/questions/98702/ho ... -in-rfkill

Soft blocked: yes
改為
Soft blocked: no
然後重開機
再試試 上面的指令
看看 有沒有 抓到 MAC

意思是 看看 是不是因為 Soft blocked: yes 導至沒有 抓到 MAC ?
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#32

帖子 pangxin1986 »

poloshiao 写了:
02:04.0 Network controller [0280]: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN [103c:12f8]
Kernel driver in use: wl
Kernel modules: wl, ssb
已經說明 可以使用的 驅動模組是 wl, ssb
目前使用中的驅動模組是 wl
driver=wl 沒有抓到 BCM4306 的 MAC
serial: xx:xx:xx:xx:xx:xx
所以沒有分配給 wlan0 無線網卡界面
sudo rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
http://askubuntu.com/questions/98702/ho ... -in-rfkill

Soft blocked: yes
改為
Soft blocked: no
然後重開機
再試試 上面的指令
看看 有沒有 抓到 MAC

意思是 看看 是不是因為 Soft blocked: yes 導至沒有 抓到 MAC ?
好的,我试下,谢谢...
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#33

帖子 pangxin1986 »

poloshiao 写了:
02:04.0 Network controller [0280]: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN [103c:12f8]
Kernel driver in use: wl
Kernel modules: wl, ssb
已經說明 可以使用的 驅動模組是 wl, ssb
目前使用中的驅動模組是 wl
driver=wl 沒有抓到 BCM4306 的 MAC
serial: xx:xx:xx:xx:xx:xx
所以沒有分配給 wlan0 無線網卡界面
sudo rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
http://askubuntu.com/questions/98702/ho ... -in-rfkill

Soft blocked: yes
改為
Soft blocked: no
然後重開機
再試試 上面的指令
看看 有沒有 抓到 MAC

意思是 看看 是不是因為 Soft blocked: yes 導至沒有 抓到 MAC ?
我能弱弱的问下这个怎样改没?我刚才直接输入sudo rfkill list all没有输出
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$ sudo rfkill list all
[sudo] password for pangxin:
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 无线网卡问题,急,求解救。。。

#34

帖子 poloshiao »

我刚才直接输入sudo rfkill list all没有输出
viewtopic.php?p=3119400#p3119400
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$ sudo rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: hp-gps: GPS
Soft blocked: yes
Hard blocked: yes
这个怎样改没?
http://askubuntu.com/questions/98702/ho ... -in-rfkill
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#35

帖子 pangxin1986 »

poloshiao 写了:
我刚才直接输入sudo rfkill list all没有输出
viewtopic.php?p=3119400#p3119400
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$ sudo rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: hp-gps: GPS
Soft blocked: yes
Hard blocked: yes
这个怎样改没?
http://askubuntu.com/questions/98702/ho ... -in-rfkill
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$ sudo -r hp_wmi modprobe
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
user name|#uid] file ...
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$ sudo -r hp-wifi modprobe
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
user name|#uid] file ...
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#36

帖子 pangxin1986 »

引用:
这个怎样改没?

http://askubuntu.com/questions/98702/ho ... -in-rfkill

现在输入sudo rfkill list all没有输出了
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#37

帖子 pangxin1986 »

poloshiao 写了:
我刚才直接输入sudo rfkill list all没有输出
viewtopic.php?p=3119400#p3119400
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$ sudo rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: hp-gps: GPS
Soft blocked: yes
Hard blocked: yes
这个怎样改没?
http://askubuntu.com/questions/98702/ho ... -in-rfkill
这个输出是什么意思?
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#38

帖子 pangxin1986 »

怎么没有人看了呢,问题急需解决啊...
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 无线网卡问题,急,求解救。。。

#39

帖子 poloshiao »

sudo -r hp_wmi modprobe
http://manpages.ubuntu.com/manpages/tru ... obe.8.html
1. 試試
sudo modprobe -r hp_wmi
现在输入sudo rfkill list all没有输出了
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
2. 無線網卡界面沒啟動
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#40

帖子 pangxin1986 »

http://manpages.ubuntu.com/manpages/tru ... obe.8.html
1. 試試
sudo modprobe -r hp_wmi

输入这个命令没有输出...
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#41

帖子 pangxin1986 »

现在输入sudo rfkill list all没有输出了
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.

2. 無線網卡界面沒啟動
这是怎么回事呀,之前没有这样呀,现在怎么这样了...
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 无线网卡问题,急,求解救。。。

#42

帖子 poloshiao »

输入这个命令没有输出...
lsmod | grep hp_wmi
如果沒有回應
表示已經移除這個模組
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#43

帖子 pangxin1986 »

lsmod | grep hp_wmi
如果沒有回應
表示已經移除這個模組

输出如下内容

pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$ lsmod | grep hp_wmi
hp_wmi 17834 0
sparse_keymap 13658 1 hp_wmi
wmi 18827 1 hp_wmi
pangxin@pangxin-HP-Compaq-nc6220-PL814AV:~$
pangxin1986
帖子: 43
注册时间: 2011-06-16 17:08

Re: 无线网卡问题,急,求解救。。。

#44

帖子 pangxin1986 »

poloshiao 写了:
输入这个命令没有输出...
lsmod | grep hp_wmi
如果沒有回應
表示已經移除這個模組
有没有办法通过配置etc/network/interfaces来实现无线上网呢?
我这个文件下就只有

auto lo
iface lo inet loopback
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 无线网卡问题,急,求解救。。。

#45

帖子 poloshiao »

有没有办法通过配置etc/network/interfaces来实现无线上网呢?
1. Ubuntu 預設 network manager 管理連線上網
右上方 連線圖示 是一個 network manager 的設定程式 NM-Applet
讓你設定連線

2. network manager 的設定檔
/etc/NetworkManager/NetworkManager.conf
這一行
plugins=ifupdown,keyfile,ofono # ifupdown 排在前 keyfile 排在後
表示
/etc/network/interfaces
裡已經啟動的網卡界面 優先啟動 # 就是 有加 auto 在 網卡界面前面
/etc/network/interfaces
裡沒啟動的網卡界面 而 NM-Applet 有設定自動啟動的 網卡界面次優啟動 # 自動連線有打勾的
結果是
無論你在 /etc/network/interfaces 或 NM-Applet 設定 只要不重複 都可以開機 自動啟動
意思是 在哪裡設定都行

3. 新手 或 簡單裝置 直接使用 NM-Applet 設定 比較簡單
有經驗的使用者 或 較複雜的裝置 或者 Server 版本 可以考慮使用 /etc/network/interfaces
只要不重複就好
我这个文件下就只有
auto lo
iface lo inet loopback
這個界面 就是 localhost
網址是 127.0.0.1 或 127.0.1.1
auto lo
表示 開機就啟動
所以 不必在 NM-Applet 再重複設定
這兩行 不可以刪除
否則本機網路完全不通
回复