Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] wifi woes

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
gc88
Posts: 2
Joined: 2018-07-13 10:56

[SOLVED] wifi woes

#1 Post by gc88 »

I'm unable to get this Edimax USB wifi card working.

System info:

Lenovo w530,
root@deb9:~# uname -ra
Linux deb9 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
Mate desktop 1.16.2

root@deb9:~# cat /etc/debian_version
9.4

lsusb output:

Bus 002 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

Steps taken:

I installed the driver supplied by the manufacturer on the cd supplied which was a simple extraction of the tar ball and then running the install.sh script as per their documentation. Which results in an error:

cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-6-common/scripts/Makefile.build:298: recipe for target '/home/glen/Wifi-driver/RTL8188C_8192C_USB_linux_v4.0.5_11249.20140422/driver/rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422/core/rtw_debug.o' failed
make[4]: *** [/home/glen/Wifi-driver/RTL8188C_8192C_USB_linux_v4.0.5_11249.20140422/driver/rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422/core/rtw_debug.o] Error 1
/usr/src/linux-headers-4.9.0-6-common/Makefile:1517: recipe for target '_module_/home/glen/Wifi-driver/RTL8188C_8192C_USB_linux_v4.0.5_11249.20140422/driver/rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422' failed
make[3]: *** [_module_/home/glen/Wifi-driver/RTL8188C_8192C_USB_linux_v4.0.5_11249.20140422/driver/rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-6-amd64'
Makefile:718: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################


Next, I installed the firmware-realtek package which was fine. However I am still unable to get the device to connect. It finds the wifi network, I enter the password but it just does not connect.

Any help would be appreciated thanks
Last edited by gc88 on 2018-07-17 06:55, edited 2 times in total.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: wifi woes

#2 Post by bw123 »

Have you read/followed this?
https://wiki.debian.org/rtl819x
...
However I am still unable to get the device to connect. It finds the wifi network, I enter the password but it just does not connect.
...
What are you using to connect? If it's network manager there is a well known bug in wifi.scan-rand-mac-address setting, easy to find on a search.
resigned by AI ChatGPT

gc88
Posts: 2
Joined: 2018-07-13 10:56

Re: wifi woes

#3 Post by gc88 »

bw123 wrote:Have you read/followed this?
https://wiki.debian.org/rtl819x
...
However I am still unable to get the device to connect. It finds the wifi network, I enter the password but it just does not connect.
...
What are you using to connect? If it's network manager there is a well known bug in wifi.scan-rand-mac-address setting, easy to find on a search.
Yes, I am using network-manager.

Edit:

I found the bug: https://bugs.debian.org/cgi-bin/bugrepo ... =842422#40

I added the following line to /etc/NetworkManager/NetworkManager.conf then restarted network-manager and now it works.
Thanks for the help :mrgreen:


[device]
wifi.scan-rand-mac-address=no

arzgi
Posts: 1194
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: wifi woes

#4 Post by arzgi »

Great news! Can you please edit the header of your first post of the thread, and add [SOLVED] to front of header.

Post Reply