USB wireless adapter causing freeze up

Asked by Patrick M

Running 16.04 on AMD 64 bit type system. When I first plugged in my new wireless adapter, the usual stuff, until I entered the network key. Then the system froze. And now anytime I plug in the adapter my screen freezes.

The adapter is an Edimax EW-7811 Un adapter

System: HP-Compaq: AMD A4-5300B APU with Radeon(tm) HD Graphics × 2

These a disk with a zip file that has a Linux tarball, but I'm not quite savvy enough to unpack / install the drivers...

Here's the readme file:

1. ReleaseNotes.pdf

 2. document/
  2.1 Quick_Start_Guide_for_Driver_Compilation_and_Installation.pdf
  2.2 Quick_Start_Guide_for_Station_Mode.pdf
  2.3 wpa_cli_with_wpa_supplicant.pdf
  2.4 HowTo_support_more_VidPids.pdf
  2.5 Wireless_tools_porting_guide.pdf
  2.6 HowTo_enable_driver_to_support_WIFI_certification_test.pdf
  2.7 HowTo_enable_the_power_saving_functionality.pdf
  2.8 Quick_Start_Guide_for_SoftAP.pdf
  2.9 SoftAP_Mode_features.pdf
  2.10 linux_dhcp_server_notes.txt
  2.11 Quick_Start_Guide_for_Bridge.pdf
  2.12 RTK_P2P_WFD_Programming_guide.pdf
  2.13 HowTo_enable_driver_to_support_80211d.pdf
  2.14 Realtek_WiFi_concurrent_mode_Introduction.pdf
  2.15 Miracast_for_Realtek_WiFi.pdf

 3. driver/
  3.1 rtl8188C_8192C_usb_linux_v4.0.5_11249.20140422.tar.gz
   Naming rule: rtlCHIPS_linux_vM.N.P[.H]_sssss.yyyymmdd[_beta].tar.gz
   where:
    CHIPS: supported chips
    M: Major version
    N: miNor version
    P: Patch number
    H: Hotfix number
    s: SVN number
    y: package year
    m: package month
    d: package day
    _beta: beta driver

 4. wpa_supplicant_hostapd/
  4.1 wpa_supplicant_hostapd-0.8_rtw_r7475.20130812.tar.gz
   4.1.1 wpa_supplicant
    The tool help the wlan network to communicate under the
    protection of WPAPSK mechanism (WPA/WPA2) and add WPS patch
   4.1.2 hostapd
  4.2 wpa_0_8.conf
    Configure file sample for wpa_supplicant-0.8
  4.3 rtl_hostapd_2G.conf
  4.4 rtl_hostapd_5G.conf
    Configure files for Soft-AP mode 2.4G/5G
  4.5 p2p_hostapd.conf
    Configure file for hostapd for Wi-Fi Direct (P2P)

  4.6 wpa_supplicant_8_jb_4.2_rtw_r8680.20130821.tar.gz
    wpa_supplicant_8 from Android 4.2 SDK and patched by Realtek
    could be used for pure-linux and Android 4.2. Support only cfg80211/nl80211.

  4.7 wpa_supplicant_8_kk_4.4_rtw_r10450.20140220.tar.gz
    wpa_supplicant_8 from Android 4.4 SDK and patched by Realtek
    could be used for pure-linux and Android 4.4. Support only cfg80211/nl80211.

 5. wireless_tools/
  5.1 wireless_tools.30.rtl.tar.gz

 6. android_ref_codes_JB_4.2
  6.1 linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
   Kernel patch file for cfg80211's STATION_INFO_ASSOC_REQ_IES event for kernel 3.0.

  6.2 realtek_wifi_SDK_for_android_JB_4.2_20130208.tar.gz
   This tar ball includes our android wifi reference codes for Android 4.2

  6.3 Realtek_Wi-Fi_SDK_for_Android_JB_4.2.pdf
   Guide for porting Realtek wifi onto your Android 4.2 system

 7. android_ref_codes_KK_4.4
  7.1 linux-3.0.42_STATION_INFO_ASSOC_REQ_IES.diff
   Kernel patch file for cfg80211's STATION_INFO_ASSOC_REQ_IES event for kernel 3.0.

  7.2 realtek_wifi_SDK_for_android_KK_4.4_20140117.tar.gz
   This tar ball includes our android wifi reference codes for Android 4.3

  7.3 Realtek_Wi-Fi_SDK_for_Android_KK_4.4.pdf
   Guide for porting Realtek wifi onto your Android 4.4 system

 8. install.sh
  Script to compile and install WiFi driver easily in PC-Linux

==================================================================================================================
  User Guide for Driver compilation and installation
==================================================================================================================
   (*) Please refer to document/Quick_Start_Guide_for_Driver_Compilation_and_Installation.pdf
==================================================================================================================
  User Guide for Station mode
==================================================================================================================
   (*) Please refer to document/Quick_Start_Guide_for_Station_Mode.pdf
==================================================================================================================
  User Guide for Soft-AP mode
==================================================================================================================
   (*) Please refer to document/Quick_Start_Guide_for_SoftAP.pdf
   (*) Please use wpa_supplicant_hostapd-0.8_rtw_r7475.20130812.tar.gz
   (*) Please refer to document/linux_dhcp_server_notes.txt
==================================================================================================================
  User Guide for Wi-Fi Direct
==================================================================================================================
  Realtek Legacy Wi-Fi Direct:
   (*) Please refer to document/RTK_P2P_WFD_Programming_guide.pdf
   (*) Please use wpa_supplicant_hostapd-0.8_rtw_r7475.20130812.tar.gz
   (*) Please refer to document/linux_dhcp_server_notes.txt
  Wi-Fi Direct with nl80211
   (*) Please use:
     wpa_supplicant_8_jb_4.2_rtw_r8680.20130821.tar.gz
    or
     wpa_supplicant_8_kk_4.4_rtw_r10450.20140220.tar.gz
   (*) For P2P instruction/command, please refer to:
     README-P2P inside the wpa_supplicant folder of the wpa_supplicant_8 you choose
   (*) For DHCP server, please refer to:
     document/linux_dhcp_server_notes.txt
==================================================================================================================
  User Guide for WPS2.0
==================================================================================================================
   (*) Please use:
     wpa_supplicant_hostapd-0.8_rtw_r7475.20130812.tar.gz
    or
     wpa_supplicant_8_jb_4.2_rtw_r8680.20130821.tar.gz
    or
     wpa_supplicant_8_kk_4.4_rtw_r10450.20140220.tar.gz
   (*) For WPS instruction/command, please refert to:
     README-WPS inside the wpa_supplicant folder of the wpa_supplicant_8 you choose
==================================================================================================================
  User Guide for Power Saving Mode
==================================================================================================================
   (*) Please refer to document/HowTo_enable_the_power_saving_functionality.pdf
==================================================================================================================
  User Guide for Applying Wi-Fi solution onto Andriod System
==================================================================================================================
   (*) For Android 1.6 ~ 2.3, 4.0, 4.1, 4.3, please contact us for further information
   (*) For Android 4.2, please refer to android_ref_codes_JB_4.2/Realtek_Wi-Fi_SDK_for_Android_JB_4.2.pdf
   (*) For Android 4.4, please refer to android_ref_codes_KK_4.4/Realtek_Wi-Fi_SDK_for_Android_KK_4.4.pdf

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Patrick M
Solved:
Last query:
Last reply:
Revision history for this message
Patrick M (prmillius) said :
#1

It also has a sh.install script, on the install CD, but when I run the script in terminal (using sudo) it get an error that there's authentication failure.

Revision history for this message
Patrick M (prmillius) said :
#2

here's the script:

#!/bin/bash
# Auto install for 8192cu
# September, 1 2010 v1.0.0, willisTang
#
# Add make_drv to select chip type
# Novembor, 21 2011 v1.1.0, Jeff Hung
################################################################################

echo "##################################################"
echo "Realtek Wi-Fi driver Auto installation script"
echo "Novembor, 21 2011 v1.1.0"
echo "##################################################"

################################################################################
# Decompress the driver source tal ball
################################################################################
cd driver
Drvfoulder=`ls |grep .tar.gz`
echo "Decompress the driver source tar ball:"
echo " "$Drvfoulder
tar zxvf $Drvfoulder

Drvfoulder=`ls |grep -iv '.tar.gz'`
echo "$Drvfoulder"
cd $Drvfoulder

################################################################################
# If makd_drv exixt, execute it to select chip type
################################################################################
if [ -e ./make_drv ]; then
 ./make_drv
fi

################################################################################
# make clean
################################################################################
echo "Authentication requested [root] for make clean:"
if [ "`uname -r |grep fc`" == " " ]; then
        sudo su -c "make clean"; Error=$?
else
        su -c "make clean"; Error=$?
fi

################################################################################
# Compile the driver
################################################################################
echo "Authentication requested [root] for make driver:"
if [ "`uname -r |grep fc`" == " " ]; then
 sudo su -c make; Error=$?
else
 su -c make; Error=$?
fi
################################################################################
# Check whether or not the driver compilation is done
################################################################################
module=`ls |grep -i 'ko'`
echo "##################################################"
if [ "$Error" != 0 ];then
 echo "Compile make driver error: $Error"
 echo "Please check error Mesg"
 echo "##################################################"
 exit
else
 echo "Compile make driver ok!!"
 echo "##################################################"
fi

if [ "`uname -r |grep fc`" == " " ]; then
 echo "Authentication requested [root] for remove driver:"
 sudo su -c "rmmod $module"
 echo "Authentication requested [root] for insert driver:"
 sudo su -c "insmod $module"
 echo "Authentication requested [root] for install driver:"
 sudo su -c "make install"
else
 echo "Authentication requested [root] for remove driver:"
 su -c "rmmod $module"
 echo "Authentication requested [root] for insert driver:"
 su -c "insmod $module"
 echo "Authentication requested [root] for install driver:"
 su -c "make install"
fi
echo "##################################################"
echo "The Setup Script is completed !"
echo "##################################################"

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Probably Bug #1666421

Which kernel version are you running (output of the command uname -a)

Is it one of the versions between 4.4.0-63 and 4.4.0-72?

Try installing the version 4.4.0-74.95 kernel packages from xenial-proposed (or wait a few more days until they are moved to xenial-updates)

Revision history for this message
Patrick M (prmillius) said :
#4

hanks for the reply.
I'm running :4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Software updater picked up the new kernel as soon as I changed the repository to include proposed.

The bug fix worked!

Thanks.....