如何解决这个无线网卡驱动安装的问题?谢谢(已经解决)

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
wayoca
帖子: 454
注册时间: 2010-01-01 23:29
系统: Ubuntu19.10

如何解决这个无线网卡驱动安装的问题?谢谢(已经解决)

#1

帖子 wayoca » 2014-03-02 10:00

ubuntu13.01 x64

磊科336 8188eus

sudo sh install.sh

Please select card type(1/2):
1) RTL8188eus
2) RTL8189es
#? 1
You have selected RTL8188eus
rtw_version.h has existed!
Authentication requested [root] for make clean:
install.sh: 38: [: unexpected operator
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8188e/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8188e ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/OUTSRC/rtl8188e ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
Authentication requested [root] for make driver:
install.sh: 48: [: unexpected operator
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.0-14-generic/build M=/home/wayoca/下载/01/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116 modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.13.0-14-generic'
CC [M] /home/wayoca/下载/01/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/core/rtw_cmd.o
In file included from /home/wayoca/下载/01/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/core/rtw_cmd.c:23:0:
/home/wayoca/下载/01/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/osdep_service.h: In function ‘thread_enter’:
/home/wayoca/下载/01/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/osdep_service.h:1401:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
daemonize("%s", name);
^
cc1: some warnings being treated as errors
make[2]: *** [/home/wayoca/下载/01/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/core/rtw_cmd.o] 错误 1
make[1]: *** [_module_/home/wayoca/下载/01/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.13.0-14-generic'
make: *** [modules] 错误 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

感谢
上次由 wayoca 在 2014-04-05 16:20,总共编辑 2 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#2

帖子 poloshiao » 2014-03-02 12:01

Please select card type(1/2):
1) RTL8188eus
2) RTL8189es
從終端機
sudo lshw -numeric -class network
把結果直接複製 貼上來
wayoca
帖子: 454
注册时间: 2010-01-01 23:29
系统: Ubuntu19.10

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#3

帖子 wayoca » 2014-03-02 15:56

poloshiao 写了:
Please select card type(1/2):
1) RTL8188eus
2) RTL8189es
從終端機
sudo lshw -numeric -class network
把結果直接複製 貼上來

wayoca@wayoca-H61MLC2:~/下载/01$ sudo lshw -numeric -class network
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10EC:8136]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 05
serial: b8:97:5a:2e:5f:e2
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8105e-1.fw ip=192.168.0.77 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:40 ioport:e000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
*-network:0
description: Ethernet interface
physical id: 1
logical name: eth1
serial: 00:e0:4c:53:44:58
size: 100Mbit/s
capacity: 100Mbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=dm9601 driverversion=22-Aug-2005 duplex=full firmware=Davicom DM96xx USB 10/100 Ether ip=192.168.1.7 link=yes multicast=yes port=MII speed=100Mbit/s
*-network:1 DISABLED
description: Wireless interface
physical id: 2
bus info: usb@2:1.2
logical name: wlan0
serial: 08:10:77:c3:de:f7
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8188eu multicast=yes wireless=unassociated
wayoca@wayoca-H61MLC2:~/下载/01$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#4

帖子 poloshiao » 2014-03-02 21:28

*-network:1 DISABLED
description: Wireless interface
缺少 product:
有點奇怪

從終端機
編輯/設定組合偏好設定/捲動方式/無限制 打勾
sudo lspci -nnvvv
兩個 n 三個 v
把結果直接複製 貼上
http://paste.ubuntu.com
再把回應網址 貼上來
wayoca
帖子: 454
注册时间: 2010-01-01 23:29
系统: Ubuntu19.10

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#5

帖子 wayoca » 2014-03-03 12:10

poloshiao 写了:
*-network:1 DISABLED
description: Wireless interface
缺少 product:
有點奇怪

從終端機
編輯/設定組合偏好設定/捲動方式/無限制 打勾
sudo lspci -nnvvv
兩個 n 三個 v
把結果直接複製 貼上
http://paste.ubuntu.com
再把回應網址 貼上來


http://paste.ubuntu.com/7025621/
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#6

帖子 poloshiao » 2014-03-03 12:40

沒有偵測到 無線網卡

如果你的無線網卡是 USB 裝置
請增加
sudo lsusb -v
把結果直接複製貼上
http://paste.ubuntu.com
再把網址貼上來

如果
lspci
lsusb
都偵測不到
請交叉測試 硬件有沒有問題

交叉測試 就是
網卡 拿到別的電腦 試試
拿一支功能正常的網卡 插到你的電腦試試
wayoca
帖子: 454
注册时间: 2010-01-01 23:29
系统: Ubuntu19.10

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#7

帖子 wayoca » 2014-03-06 12:26

poloshiao 写了:
沒有偵測到 無線網卡

如果你的無線網卡是 USB 裝置
請增加
sudo lsusb -v
把結果直接複製貼上
http://paste.ubuntu.com
再把網址貼上來

如果
lspci
lsusb
都偵測不到
請交叉測試 硬件有沒有問題

交叉測試 就是
網卡 拿到別的電腦 試試
拿一支功能正常的網卡 插到你的電腦試試

网卡是好的,usb的,在win下很正常工作。

http://paste.ubuntu.com/7042320/
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#8

帖子 poloshiao » 2014-03-06 12:45

http://paste.ubuntu.com/7042320/
sudo lsusb -v
Bus 002 Device 003: ID 0bda:8179 Realtek Semiconductor Corp.
https://usb-ids.gowdy.us/read/UD/0bda/8179
RTL8188EUS 802.11n Wireless Network Adapter
請你參考使用說明書 或者 到 windows 裝置管理員 查看 無線網卡晶片型號 是不是 RTL8188EUS

參考這個網頁
http://community.linuxmint.com/tutorial/view/1344
試試
wayoca
帖子: 454
注册时间: 2010-01-01 23:29
系统: Ubuntu19.10

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#9

帖子 wayoca » 2014-03-06 13:01

poloshiao 写了:
http://paste.ubuntu.com/7042320/
sudo lsusb -v
Bus 002 Device 003: ID 0bda:8179 Realtek Semiconductor Corp.
https://usb-ids.gowdy.us/read/UD/0bda/8179
RTL8188EUS 802.11n Wireless Network Adapter
請你參考使用說明書 或者 到 windows 裝置管理員 查看 無線網卡晶片型號 是不是 RTL8188EUS
win下设备管理器显示 8188eu

就是因为英文不好,看不懂linux下的说明,安装起来才费事
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#10

帖子 poloshiao » 2014-03-06 13:53

win下设备管理器显示 8188eu
這兩篇 都可以參考
1. http://community.linuxmint.com/tutorial/view/1344
2. http://wireless.kernel.org/en/users/Drivers/rtl819x
staging drivers
r8188eu is a USB driver for RTL8188EU devices
3. 如果 1 有效 優先使用
4. 如果需要中文說明 請你使用 RTL8188EU 或 RTL8188EUS 搜尋看看
wayoca
帖子: 454
注册时间: 2010-01-01 23:29
系统: Ubuntu19.10

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#11

帖子 wayoca » 2014-03-09 17:08

poloshiao 写了:
win下设备管理器显示 8188eu
這兩篇 都可以參考
1. http://community.linuxmint.com/tutorial/view/1344
2. http://wireless.kernel.org/en/users/Drivers/rtl819x
staging drivers
r8188eu is a USB driver for RTL8188EU devices
3. 如果 1 有效 優先使用
4. 如果需要中文說明 請你使用 RTL8188EU 或 RTL8188EUS 搜尋看看
用了你给的第一个链接是下载的包,驱动好像安装好了

wayoca@wayoca-H61MLC2:~$ sudo iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: D8:42:AC:32:34:F8
ESSID:"chinaNETABCD"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
Bit Rates:108 Mb/s
Extra:wpa_ie =dd160050f20101000050f20401000050f20401000050f202
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality:0 Signal level:0 Noise level:0

wayoca@wayoca-H61MLC2:~$ sudo iwconfig wlan0 essid chinaNETABCD key 9876-5432-10
wayoca@wayoca-H61MLC2:~$ sudo dhclient wlan0
wayoca@wayoca-H61MLC2:~$
wayoca@wayoca-H61MLC2:~$ ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:2e:5f:e2
inet 地址:192.168.0.77 广播:192.168.0.255 掩码:255.255.255.0
inet6 地址: fe80::ba97:5aff:fe2e:5fe2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:5960 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:4366 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:1423475 (1.4 MB) 发送字节:381295 (381.2 KB)

eth1 Link encap:以太网 硬件地址 00:e0:4c:53:44:58
inet 地址:192.168.1.7 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::2e0:4cff:fe53:4458/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:82 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:354 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:5386 (5.3 KB) 发送字节:31538 (31.5 KB)

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:315 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:315 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:28827 (28.8 KB) 发送字节:28827 (28.8 KB)

wlan0 Link encap:以太网 硬件地址 08:10:77:c3:de:f7
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

wlan0:avahi Link encap:以太网 硬件地址 08:10:77:c3:de:f7
inet 地址:169.254.12.147 广播:169.254.255.255 掩码:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 跃点数:1

wayoca@wayoca-H61MLC2:~$

获取不到地址呢
不良少年
帖子: 29
注册时间: 2014-03-09 8:54
系统: win7+ubuntu

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#12

帖子 不良少年 » 2014-03-16 18:38

离线呢?怎么装无线网卡驱动啊?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#13

帖子 poloshiao » 2014-03-16 21:25

sudo iwlist wlan0 scan
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
需要設定 WPA
sudo dhclient wlan0
wlan0 Link encap:以太网 硬件地址 08:10:77:c3:de:f7
UP BROADCAST MULTICAST MTU:1500 跃点数:1
可能因爲在無線連線 設定的地方 沒有設定 WPA
所以 連接 無線路由 沒有通過
無法獲得分配 IPv4

WPA 種類好幾種
具體要看你的 無線路由 使用說明書
參閱
1. https://help.ubuntu.com/community/WifiDocs/WPAHowTo
2. http://manpages.ubuntu.com/manpages/pre ... ant.8.html
3. http://manpages.ubuntu.com/manpages/pre ... onf.5.html
wayoca
帖子: 454
注册时间: 2010-01-01 23:29
系统: Ubuntu19.10

Re: 如何解决这个无线网卡驱动安装的问题?谢谢

#14

帖子 wayoca » 2014-04-05 16:19

poloshiao 写了:
sudo iwlist wlan0 scan
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
需要設定 WPA
sudo dhclient wlan0
wlan0 Link encap:以太网 硬件地址 08:10:77:c3:de:f7
UP BROADCAST MULTICAST MTU:1500 跃点数:1
可能因爲在無線連線 設定的地方 沒有設定 WPA
所以 連接 無線路由 沒有通過
無法獲得分配 IPv4

WPA 種類好幾種
具體要看你的 無線路由 使用說明書
參閱
1. https://help.ubuntu.com/community/WifiDocs/WPAHowTo
2. http://manpages.ubuntu.com/manpages/pre ... ant.8.html
3. http://manpages.ubuntu.com/manpages/pre ... onf.5.html
我可能命令行弄的不对,我把配置文件interfaces禁用,然后安装回network-manager图形界面,在这里面wifi直接输入密码就可以用 了。现在终于可以了。谢谢
头像
bokuno
帖子: 177
注册时间: 2009-05-10 22:18
系统: Slax Linux

Re: 如何解决这个无线网卡驱动安装的问题?谢谢(已经解决)

#15

帖子 bokuno » 2014-04-05 16:31

root@slax:~/desktop# lsusb
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.
我的USB WIFI和你的一样。安装了rtl8188eu这个驱动就好了。
这个帖子有提到:
viewtopic.php?t=441949
Using Slax Linux.
With KDE Desktop, Konqueror browser.
回复