Slow connection speeds with ASUS USB-N10

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
killbzminty

Slow connection speeds with ASUS USB-N10

Post by killbzminty »

Hi everyone,
I have just installed Linux Mint 11 and have spent all day trying to get my wireless connection established. I finally have managed to get a connection (or rather Mint sorted itself out) I was unable to get the supplied drivers to install but on the umpteenth installation it just worked itself out.

However my connection speed is incredibly slow. I tried downloading Google chrome and it was downloading at about 5.6Kb/sec. I ended up canceling the download and DLed it on my windows computer in about a minute rather then an hour and a half.

I am entirely new to ANY linux distro and I am struggling to get my head around it. I would like to replace windows eventually with Linux as 'Freeware' appeals to me and would like to in time customize linux to suit my needs. I have installed and looked at Mint 10, Mint 11, Ubuntu 10, Ubuntu 11 today but have settled on Mint 11 as it appears to offer what I am looking for to learn on in terms of GUI and layout.

My system is brand new (assembled it yesterday)
Intel core i3 2100 @3.1GHz
4GB ddr3 memory
500gb sata 6gbs WD HDD
ASUS P8H67-I mobo

I purchased an ASUS USB-N10 wireless N usb dongle as it said it was Linux ready. Although I was unable to get the supplied drivers to install (I didnt know how)
I am running Linux Mint 11 64bit OS
I entered into a terminal the following

Code: Select all

lsusb 

killbz@Minty ~ $ lsusb
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 045e:0745 Microsoft Corp.
Bus 002 Device 003: ID 0b05:1786 ASUSTek Computer, Inc.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



And yes I have searched various other threads and Google but none seem to deal with this particular dongle and I am not too sure what other information would be relevant at this stage.
Any help would be greatly appreciated as the slow speed is the only draw back at this moment.
Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Slow connection speeds with ASUS USB-N10

Post by AlbertP »

The driver for your device, r8712u, is still in development and so not yet fully working. Maybe in a next Mint release it will work better.

Edit: Please check that it's indeed r8712u using this command:

Code: Select all

inxi -N
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
killbzminty

Re: Slow connection speeds with ASUS USB-N10

Post by killbzminty »

killbz@Minty ~ $ inxi -N
Network: Card Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver r8169


This is what returned. However my ethernet port is not being used as it is a USB dongle, unless it is sharing the bandwidth??
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Slow connection speeds with ASUS USB-N10

Post by AlbertP »

You can add r8712u to the file /etc/modules:

Code: Select all

gksu gedit /etc/modules
This opens a text editor. On a blank line in the file, please add r8712u. Then save it and reboot.

Now I think the driver will load and it may work. But remember that the driver is in development; it's not yet ready to be used by default.

Your ethernet may work better in Linux, I am also using a r8169 card and that card works fine at me.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
killbzminty

Re: Slow connection speeds with ASUS USB-N10

Post by killbzminty »

I entered the code in a terminal and it brought up the following in a text doc.


# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
rtc
r8712u


I added the r8712u as you can see at the bottom and saved the document. After rebooting I could not connect at all.
It would connect with zero bars for signal strength then disconnect and try and reconnect again over and over.
I had to go back into the text doc and delete the r8712u line in order to connect again.

I have got a .tar.bz file on the disc I received with the dongle however I could not work out how to install the drivers in the first place. I believe the drivers I am using at the moment are built into Mint 11. Would the original drivers work to get proper wireless N speeds?
How would I install them?
I have extracted the .tar.bz to a folder in my home folder and read the readme file.

This is the readme file

Release Date: 2009-0825, ver 0003
RTL8192SU Linux driver
--This driver supports RealTek rtl8192SU USB Wireless LAN NIC
for
2.6 kernel:
Fedora Core 2/3/4/5, Debian 3.1, Mandrake 10.2/Mandriva 2006,
SUSE 9.3/10.1/10.2, Gentoo 3.1, Ubuntu 7.10/8.04, etc.
2.4 kernel:
Redhat 9.0/9.1

===============================================================================
Component
===============================================================================
The driver is composed of several parts:
1. Firmare to make nic work
1.1 firmare/RTL8192SU

2. Module source code
2.1 ieee80211
2.2 HAL/rtl8192u
2.3 wpa_supplicant-0.5.10 (User can download the latest version from
internet also, but it is suggested to use default package contained
in the distribution because there should less compilation issue.)

3. Script to build the modules
3.1 Makefile

4. Script to load/unload modules
4.1 wlan0up
4.2 wlan0down

5. Script and configuration for DHCP
5.1 wlan0dhcp
5.2 ifcfg-wlan0

6. Example of supplicant configuration file:
6.1 wpa1.conf

7. Script to run wpa_supplicant
7.1 runwpa

===============================================================================
Installation
===============================================================================
<<Method 1>>
Runing the scripts accomplish all operations including building up modules
from the source code, installing driver to the kernel and starting up the nic.
1. Build up the drivers from the source code
make

2. Install the driver to the kernel
make install
reboot

3. bring up wlan if nic is not brought up by GUI, such as NetworkManager
ifconfig wlan0 up
Note: use ifconfig to check whether wlan0 is brought up and use iwconfig to check your wlan interface name,
since it may change wlan0 to wlan1,etc.

<<Method 2>>
Or only load the driver module to kernel and start up nic.
1. Build up the drivers from the source code
make
2. Copy firmware to /lib/firmware/ or /lib/firmware/(KERNEL_VERSION)/
cp -rf firmware/RTL8192SU /lib/firmware
or
cp -rf firmware/RTL8192SU /lib/firmware/(KERNEL_VERSION)
Note: This depends on whether (KERNEL_VERSION) subdirectory exists under /lib/firmware

3. Load driver module to kernel and start up nic.
./wlan0up
Note: when "insmod: error inserting 'xxxx.ko': -1 File exists" comes out
after run ./wlan0up, please run ./wlan0down first, then it should
be ok..
Note: If you see the message of "unkown symbol" during ./wlan0up, it
is suggested to build driver by <<Method 1>>.

===============================================================================
Set wireless lan MIBs
===============================================================================
This driver uses Wireless Extension as an interface allowing you to set
Wireless LAN specific parameters.

Current driver supports "iwlist" to show the device status of nic
iwlist wlan0 [parameters]
where
parameter explaination [parameters]
----------------------- -------------
Show available chan and freq freq / channel
Show and Scan BSS and IBSS scan[ning]
Show supported bit-rate rate / bit[rate]

For example:
iwlist wlan0 channel
iwlist wlan0 scan
iwlist wlan0 rate

Driver also supports "iwconfig", manipulate driver private ioctls, to set
MIBs.

iwconfig wlan0 [parameters] [val]
where
parameter explaination [parameters] [val] constraints
----------------------- ------------- ------------------
Connect to AP by address ap [mac_addr]
Set the essid, join (I)BSS essid [essid]
Set operation mode mode {Managed|Ad-hoc}
Set keys and security mode key/enc[ryption] {N|open|restricted|off}

For example:
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
iwconfig wlan0 essid "ap_name"
iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 essid "name" mode Ad-hoc
iwconfig wlan0 key 0123456789 [2] open
iwconfig wlan0 key off
iwconfig wlan0 key restricted [3] 0123456789
Note: Better to set these MIBS without GUI such as NetworkManager and be sure that our
nic has been brought up before these settings. WEP key index 2-4 is not supportted by
NetworkManager.

===============================================================================
Getting IP address
===============================================================================
After start up the nic, the network needs to obtain an IP address before
transmit/receive data.
This can be done by setting the static IP via "ifconfig wlan0 IP_ADDRESS"
command, or using DHCP.

If using DHCP, setting steps is as below:
(1)connect to an AP via "iwconfig" settings
iwconfig wlan0 essid [name] or
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX

(2)run the script which run the dhclient
./wlan0dhcp
or
dhcpcd wlan0
(Some network admins require that you use the
hostname and domainname provided by the DHCP server.
In that case, use
dhcpcd -HD wlan0)


===============================================================================
WPAPSK/WPA2PSK
===============================================================================
Wpa_supplicant helps to secure wireless connection with the protection of
WPAPSK/WPA2PSK mechanism.

If the version of Wireless Extension in your system is equal or larger than 18,
WEXT driver interface is recommended. Otherwise, IPW driver interface is advised.
Note: Wireless Extension is defined us "#define WIRELESS_EXT" in Kernel
Note: To check the version of wireless extension, please type "iwconfig -v"


If IPW driver interface is used, it us suggested to follow the steps from 1 to 6.
If wpa_supplicant has been installed in your system, only steps 5 and 6 are required
to be executed for WEXT driver interface.

To see detailed description for driver interface and wpa_supplicant, please type
"man wpa_supplicant".

(1)Download latetest source code for wpa supplicant or use wpa_supplicant-0.5.10
attached in this package. (It is suggested to use default package contained
in the distribution because there should less compilation issue.)

Unpack source code of WPA supplicant:

tar -zxvf wpa_supplicant-0.5.10.tar.gz (e.g.)
cd wpa_supplicant-0.5.10

(2)Create .config file:
cp defconfig .config

(3)Edit .config file, uncomment the following line if ipw driver interface
will be applied:
#CONFIG_DRIVER_IPW=y.

(4)Build and install WPA supplicant:
make
cp wpa_cli wpa_supplicant /usr/local/bin

NOTE:
1. If make error for lack of <include/md5.h>, install the openssl lib(two ways):
(1) Install the openssl lib from corresponding installation disc:
Fedora Core 2/3/4/5(openssl-0.9.71x-xx),
Mandrake10.2/Mandriva10.2(openssl-0.9.7x-xmdk),
Debian 3.1(libssl-dev), Suse 9.3/10.0/10.1(openssl_devl),
Gentoo(dev-libs/openssl), etc.
(2) Download the openssl open source package from www.openssl.org, build and
install it.
2. If make errors happen in RedHat(and also Fedora Core) for kssl.h,
please add lines below into Makefile
CPPFLAGS+=-I/usr/kerboros/include

(5)Edit wpa_supplicant.conf to set up SSID and its passphrase.
For example, the following setting in "wpa1.conf" means SSID
to join is "BufAG54_Ch6" and its passphrase is "87654321".

Example 1: Configuration for WPA-PWK
network={
ssid="BufAG54_Ch6"
#scan_ssid=1 //see note 3
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="87654321"
priority=2
}

Example 2: Configuration for LEAP
network={
ssid="BufAG54_Ch6"
key_mgmt=IEEE8021X
group=WEP40 WEP104
eap=LEAP
identity="user1"
password="1111"
}
Example 3: Linking to hidden ssid given AP's security policy exactly.(see note 3 below)
ap_scan=2
network={
ssid="Hidden_ssid"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk="12345678"
}

Example 4: Linking to ad-hoc (see note 4 below)
ap_scan=2
network={
ssid="Ad-hoc"
mode=1
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP
psk="12345678"
}
Note: 1. proto=WPA for WPA, proto=RSN for WPA2.
2. If user needs to connect an AP with WPA or WPA2 mixed mode, it is suggested
to set the cipher of pairwise and group to both CCMP and TKIP unless you
know exactly which cipher type AP is configured.
3. When connecting to hidden ssid, explicit security policy should be given with
ap_scan=2 being setting.
4. It is suggested setting ap_scan to 2 and mode to 1 when linking to or creating an ad-hoc. Group and pairwise
cipher type should also be explicit, always with group setting to TKIP or CCMP and pairwise setting
to NONE. Lower version wpa_supplicant may not allow setting group to CCMP with pairwise setting to NONE.
So if any problem, you may try to set both group and pairwise to CCMP, leaving other setting unchanged, when
connecting to an CCMP-encrypted ad-hoc.
5. More config setting option, please refer to wpa_supplicant.conf in wpa_supplicant.tar.gz that we provide.

(6)Execute WPA supplicant (Assume rtl8192E and related modules had been
loaded):
./runwpa

Note: The script runwpa will check Wireless Extension version automatically.
If the version of Wireless Extension is equal or larger than 18, the
option of "-D wext" is selected. If the version of Wireless extension
is less than 18, the option of "-D ipw" is selected.

===============================================================================
For kernel 2.4 notes
===============================================================================
First of all, we have to install the necessary tools for building the driver. In the RedHat9 installation, please
choose the "Customize the set of packages to be install" and include two packages "Development Tools", "Kernel Development".

The RedHat 9 (kernel 2.4.20-8) just suppports the WEP security for Wifi. We have to patch the kernel with updating
wireless extension so that the kernel just supports the WPA, WPA2 functionalities by stardard wireless extension. This
driver had been verified on the patched 2.4.20-8 kernel and the WPA/WPA2 PSK works fine on the patched kernel.

First of all, we must have three patch file to update the wireless extension.
1. iw241_we16-6.diff (http://www.hpl.hp.com/personal/Jean_Tou ... e16-6.diff)
2. iw249_we17-13.diff (http://www.hpl.hp.com/personal/Jean_Tou ... 17-13.diff)
3. iw240_we18-5.diff (http://www.hpl.hp.com/personal/Jean_Tou ... e18-5.diff)

Copy these three patch files to the patient directory of the linux kernel source folder and use the following
command to patch the RedHat 9 kernel.
$> patch -p0 < ./iw241_we16-6.diff
$> patch -p0 < ./iw249_we17-13.diff
$> patch -p0 < ./iw240_we18-5.diff

After patching the kernel, please remember to re-build the updated kernel/modules and use it for your target platform.
Now, the patched kernel had got the ability to support the WPA/WPA2 PSK functionalities with wireless extension interface.

Reminding: At the first time to use the wpa_supplicant, pleasee remember to compile the wpa_supplicant with the updated
kernel so that the wpa_supplicant will get the latest wireless extension version for supporting more functionalities.

Finally, the kernel 2.4 can't support the WPS functionality.


Under installation it tells me to run the scripts and it is supposed to do every thing, however I do not know how to run scripts.
Would these drivers work?
I realize I should have mentioned this before I think.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Slow connection speeds with ASUS USB-N10

Post by AlbertP »

As I said, r8712u is a driver that's being tested and the driver on the CD might work better.

It's possible that the driver on the CD is already installed in Mint. You can add (EDIT) rtl8192u_usb to /etc/modules to use it (and remove r8712u).
Please reboot and try again.

(EDITED)
If it still does not work, and you want to try the version from the CD: (Note, use this only when neither r8712u nor rtl8192u_usb in /etc/modules work)
Right-click the folder where the files are unpacked > Open in Terminal.
In that terminal (the folder name will be visible somewhere before the $ sign) type these commands:

Code: Select all

sudo make
sudo make install
After installing, make sure rtl8192su is in /etc/modules, and not the others. Then reboot.
Last edited by AlbertP on Sun Jun 19, 2011 8:45 am, edited 1 time in total.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
killbzminty

Re: Slow connection speeds with ASUS USB-N10

Post by killbzminty »

I got the following returned.
  • killbz@Minty ~/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009 $ make
    make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
    CC [M] /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.o
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192_rx_initiate’:
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:1603:35: warning: passing argument 4 of ‘usb_fill_bulk_urb’ makes pointer from integer without a cast
    include/linux/usb.h:1265:20: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192_rx_isr’:
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:2060:4: warning: passing argument 4 of ‘usb_fill_bulk_urb’ makes pointer from integer without a cast
    include/linux/usb.h:1265:20: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:2067:30: warning: assignment makes pointer from integer without a cast
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192SU_MacConfigAfterFwDownload’:
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:7839:24: warning: comparison between ‘rtl819xUsb_loopback_e’ and ‘enum _RTL8192SUSB_LOOPBACK’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:7841:30: warning: comparison between ‘rtl819xUsb_loopback_e’ and ‘enum _RTL8192SUSB_LOOPBACK’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192_usb_probe’:
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12317:5: error: ‘struct net_device’ has no member named ‘open’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12318:5: error: ‘struct net_device’ has no member named ‘stop’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12319:5: error: ‘struct net_device’ has no member named ‘tx_timeout’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12320:5: error: ‘struct net_device’ has no member named ‘do_ioctl’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12321:5: error: ‘struct net_device’ has no member named ‘set_multicast_list’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12322:5: error: ‘struct net_device’ has no member named ‘set_mac_address’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12323:5: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12324:6: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    make[2]: *** [/home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.o] Error 1
    make[1]: *** [_module_/home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make: *** [all] Error 2
    killbz@Minty ~/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009 $ sudo make install
    [sudo] password for killbz:
    make[1]: Entering directory `/home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u'
    make -C /lib/modules/2.6.38-8-generic/build M= CC=gcc modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
    HOSTCC scripts/basic/fixdep
    HOSTCC scripts/basic/docproc
    HOSTCC scripts/kconfig/conf.o
    HOSTCC scripts/kconfig/kxgettext.o
    HOSTCC scripts/kconfig/zconf.tab.o
    HOSTLD scripts/kconfig/conf
    scripts/kconfig/conf --silentoldconfig Kconfig
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    UPD include/generated/utsrelease.h
    make[3]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
    make[2]: *** [prepare0] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u'
    make: *** [install] Error 2
I have edited the the /etc/modules with rtl8192su
I am rebooting after I post this.
killbzminty

Re: Slow connection speeds with ASUS USB-N10

Post by killbzminty »

It has not affected the connection stability like the last time.
Is there a way of seeing what drivers it is now using?
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Slow connection speeds with ASUS USB-N10

Post by AlbertP »

I have found on internet that you have to do sudo make instead of make.

By the way, can you put rtl8192u_usb in /etc/modules and see if that helps?
(Sorry, I supplied an outdated module name in my last post)
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
killbzminty

Re: Slow connection speeds with ASUS USB-N10

Post by killbzminty »

I tried

Code: Select all

sudo make install
however it appeared to give me the same ERROR 2
  • Minty rtl8192su_linux_2.4_2.6.0003.1019.2009 # sudo make
    make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
    CC [M] /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.o
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192_rx_initiate’:
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:1603:35: warning: passing argument 4 of ‘usb_fill_bulk_urb’ makes pointer from integer without a cast
    include/linux/usb.h:1265:20: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192_rx_isr’:
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:2060:4: warning: passing argument 4 of ‘usb_fill_bulk_urb’ makes pointer from integer without a cast
    include/linux/usb.h:1265:20: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:2067:30: warning: assignment makes pointer from integer without a cast
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192SU_MacConfigAfterFwDownload’:
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:7839:24: warning: comparison between ‘rtl819xUsb_loopback_e’ and ‘enum _RTL8192SUSB_LOOPBACK’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:7841:30: warning: comparison between ‘rtl819xUsb_loopback_e’ and ‘enum _RTL8192SUSB_LOOPBACK’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192_usb_probe’:
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12317:5: error: ‘struct net_device’ has no member named ‘open’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12318:5: error: ‘struct net_device’ has no member named ‘stop’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12319:5: error: ‘struct net_device’ has no member named ‘tx_timeout’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12320:5: error: ‘struct net_device’ has no member named ‘do_ioctl’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12321:5: error: ‘struct net_device’ has no member named ‘set_multicast_list’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12322:5: error: ‘struct net_device’ has no member named ‘set_mac_address’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12323:5: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12324:6: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    make[2]: *** [/home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.o] Error 1
    make[1]: *** [_module_/home/killbz/Programs/Linux/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make: *** [all] Error 2
I am starting to think that perhaps it is the actual wireless adapter that is being slow, as it is only a USB adapter whereas my Windows 7 pc has a PCIe wireless adapter and may just be faster due to the pcie interface.
Do you think a different usb adapter may give better speeds? If so do you have any recommendations?
Thank you AlbertP I believe your advice has helped, it has certainly helped me understand a little more about linux.
killbzminty

Re: Slow connection speeds with ASUS USB-N10

Post by killbzminty »

I just noticed when I clicked on connection information that the wireless is using a r8712u drivers and not the r8192u .
Is there a way to force it to use the r8192u drivers even tho they appear to be older? (if I am reading it right)
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Slow connection speeds with ASUS USB-N10

Post by AlbertP »

Open the /etc/modprobe.d/blacklist.conf file (right-click > Open as Root, or gksu gedit /etc/modprobe.d/blacklist.conf).
There you can put this line:
blacklist r8712u
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Locked

Return to “Networking”