wlan module r8188eu

Message
Author
sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

r8188eu not working; how to unblacklist

#31 Post by sindi »

To unblacklist edit /etc/rc.d/MODULESCONFIG and remove the line r8188eu.
It is last after a long list of fb and sound modules.
The module also appears in another file which is regenerated by this one,
and should not be edited. I did a grep -r r8188eu to find the two files.
Someone asked how to unblacklist wireless modules in puppy years ago but
never got an answer.

I was still unable to get r8188 to work at all. After dhcpcd failed,
I assigned IP address manually but could not ping the router.

I had to reblacklist and reboot before ndiswrapper would work again.

I found a note in a kernel log that r8188eu is in the staging directory
and I am warned. This means it is buggy. The chip is at least 5 years
old and the 2011 inf etc. files did not work with linux but the card seller
steered me to a NEW 2013 driver which I got working with linux.

Maybe r8188eu works with some cards/chips but not mine.

The seller keeps trying to issue me a refund and I keep telling them I
got the card working but they should assign someone who knows English to
answer questions about computer gear. In a previous email they told me
to download 'the CD driver' from an IP address on their LAN and asked
what operating system I was using after I had told them.

I am impressed with how well tahr works on older hardware - sound, ethernet,
wifi, graphics, all the things that go wrong with other puppies.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

unstable connection with realtek rtl8192su

#32 Post by sindi »

1. Every time I boot I need to run setup again to get the wlan0 connection.
2. After an hour I suddenly lost my connection.
3. I was unable to reestablish the connection using any of the three
methods (Simple, Frisbee, standard). My router was detected (but not the
two neighbors' signal that were detected an hour ago), however puppy
could not establish a connection. (Poor signal leading to dropped connection?).
4. I rebooted and Simple method worked.

I can't use this card in a computer set up for a linux newbie and young kids.
It is not worth the $2.78 I paid for it. The recipient is disabled and low-income
so I want to minimize his costs. Maybe the card will work better with XP.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

increasing drop timeout to prevent dropped connections

#33 Post by sindi »

Frisbee, diagnostics, drop timeout, change from 0 to suggested 15 seconds.
This will slow down startup of the connection but prevent lost connections,
I hope. The solution was found online.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Starting simple network setup from command line; ndiswrapper

#34 Post by sindi »

After exactly one more hour (Netflix as a test), with 0 changed to 15
to prevent wifi disconnects, X suddenly exited to a terminal (text)
with a page of error messages: Stack (lots of strings of numbers/letters),
IRQ (messages involving sometimes usb and usually ndiswrapper), and
finally kernel panic exiting to text mode.

I powered off with the power button and rebooted.

On reboot, there is never a connection until I run the network connection
wizard. I can type sns in a terminal instead, then 'connect'.

How might I automate the connection procedure? Hopefully my 'victim' can
tolerate rebooting every hour if he does not need to also go through the
network setup each time.

I started by putting 'sns' into rc.local (don't know if that works yet).

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

2014 XP driver for rtl8188eu rtl8192su etc.

#35 Post by sindi »

Three files used by ndiswrapper for rtl8192su etc. PID 0179 (and others such as 8179).

http://keesan.freeshell.org/puppy/rtl8192su-2014.zip

This is the latest driver I could find for the card, from necacom.net (no Driver Updater required).
I did not check out all 53 hits on rtl8188, just the first few ending in u for USB not e for pci-express.
At least one 2015 driver is only for Windows 8.

I downloaded a 7z file which produced about 70MB setup files and drivers for XP-Win10.
(The 2013 version also including Mac and linux drivers).
I extracted the three ndiswrapper-relevant files and zipped and uploaded them.

The 2014 version has a smaller rtwlan_XP.sys instead of the 2013 plain rtwlan.sys
and the other two files are also different (larger).

I have not tried watching netflix for an hour yet, or tried the driver with XP.
Presumably they have fixed some problems.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Latest driver version 1030.2.0731.2015 for rtl8192su etc.

#36 Post by sindi »

http://keesan.freeshell.org/puppy/rtl8192su-2015.zip

I left the 2014 file there for a while.

The file was about 32M, XP-Win10, no linux or Mac drivers.
Also available for just Win8-10.

To connect, instead of running SNS on boot, I can manually assign
IP numbers with a script 'net-on'.

ifconfig wlan0 192.168.1.65
route add default gw 192.168.1.1

I will try assigning them with the network wizard instead.

ndiswrapper is automatically loaded, as is dhcpcd.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

rtwlan 2015 XP driver works perfectly with ndiswrapper

#37 Post by sindi »

I tested the 2015 driver (from netacom) for one hour of netflix followed by one hour of youtube.
No disconnects or crashes. (15 sec timeout instead of the default 0 sec).

The release notes mention a lot of improvements to the XP driver since late 2013.
The driver was first used in 2007.

Wikipedia says ndiswrapper only works with XP drivers using a format that was changed
in 2006, but luckily Realtek used the older format. Nice of them to keep supporting XP through Sept 2015!

The list of ndiswrapper-compliant USB wifi devices does not include Realtek (chip maker), just
OEM devices.

Ubuntu provides a good tutorial for ndiswrapper.

ndiswrapper can be used CLI.
From the directory with .inf and .sys files type:

ndiswrapper -i filename.inf (compiles a linux 'module' from the XP files)
modprobe ndiswrapper
another package is needed for wpa but not wep

module ndiswrapper was not installed but I am online with wifi and can install it manually.
(Is it really needed?).

dhcpcd was NOT running when I first booted - this means I have to start it manually
or assign IP address manually to wlan0. It runs automatically when using native linux
wifi drivers - why?

I can try to start dhcpcd at boot (before loading X) by adding a line to /etc/rc.d/rc.local.
This did not work for ifconfig wlan0 to set IP number.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

assign ip address with dhcpcd or statically

#38 Post by sindi »

dhcpcd starts automatically when I boot puppy with X, but not without X. Why?
The USB card will be used on a computer that always runs X.

On my computer I was able to assign a static IP address and it just connected to
wifi after reboot, without dhcpcd. Previous times it did not connect until I
assigned IP address manually or via dhcpcd. I have no idea why it worked this time.

I could not assign IP address during boot (in /etc/rc.d/rc.local).
Not a problem for me to do it manually each time.

Use the larger network wizard to assign static IP, or you can maybe
edit the file= /etc/network-wizard/wireless/profiles/XX:....Open.conf if it already
exists and has the first section filled in.

There are several lines related to the router - ESSID, channel etc.
Channel 6 is default. If you drop connections due to interference try 1 or 11.

My settings:

Static_IP='yes'
IP_ADDRESS='192.168.1.65' (my choice of address - the router assigns 100+)
NETMASK='255.255.255.0'
DNS_SERVER='75.75.75.75' (comcast)
DNS_SERVER2='8.8.8.8' (google)
GATEWAY='192.168.1.1 (my router IP address)

(I have two such files but one is empty - 1 bit length).

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

avoid rtl8188su etc. in linux

#39 Post by sindi »

Even with the latest driver, this USB wifi card is very unstable.
Once in a while the drivers are still installed after a reboot.
It disconnects frequently. It crashes puppy with a page full of error
messages after exiting to text mode. I had to reboot using Wary on
a USB flash drive (puppy 6 won't boot in the ACER netbook) to fix
file structurewith e2fsck.

On my netbook the ndiswrapper rtl driver works with Tahr 6, not with
Slacko 6.3 or 5.7 eeepc (which also does not work even with ethernet -
wrong hardware). Not with WARY 5.5 (which also has no sound but works
fine with ethernet). Lupu 5.2.8 is unusable on this netbook (freezes)
and Puppy 4 (pulp) won't even boot, nor will boxpuppee 4.3.1.
puppeee514 keeps barking. Lots of networking and sound problems.

I think Wary worked with the onboard wifi before the slot died.

I have an MN-510 USB wifi card - grey box with antenna, long cord,
which works perfectly in XP and in Wary but Tahr and Slacko do not
have the correct driver modules for it and ndiswrapper does not work.
(No new network detected). Other linux users report that ndiswrapper
does not work. linux-wlan-ng is supposedly the needed module. I
have not compiled anything with/for puppy.

orinoco pcmcia cards work in Puppy 4, Wary, Lupu 5.2.5 (not 5.2.8),
but there is no pcmcia slot.

I am now online with Wary 5.5 and no sound. I have USB headphones.
My other option is Tahr with ethernet, for watching netflix in bed.
Does Slacko 6.3 also work with Chrome 38+? There is a Firefox
extension for watching Youtube without Pepper Flash.

Another option is to use a Droid X in bed for netflix and youtube
with sound and wary for email with larger keyboard and screen.

My young neighbor spent $12 on a USB wifi card for linux. My goal
is to make existing hardware usable without spending money.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: avoid rtl8188su etc. in linux

#40 Post by rcrsn51 »

sindi wrote:Even with the latest driver, this USB wifi card is very unstable..
Are you talking about the ndiswrapper XP driver or a Linux driver? In a previous message, you reported that the device was working well.

Have you tried anything from here?

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

rtl8192su with native linux driver 8188eu - does not work

#41 Post by sindi »

The native driver r8188eu does not work - it finds the router but will
not connect.

I downloaded the linux pet packages provided at that link (Slacko 6.3
and Tahr can petget install without needing X, a big improvement). The
module 8188eu loaded but did not detect any new networks. I manually
unloaded r8188eu (rmmod).

Mediafire (where the package is) needs javascript to download (or
whatever else Opera has that lynx does not).

Perhaps it is not correct for my chip, which works (sometimes) with
rtl8192su XP driver under ndiswrapper.

MN-510 for wary, or ethernet cable for later puppies, is acceptable. I
only use the netbook plugged into AC.

I also have an old bridge that will pick up a wifi signal (with WEP or
no encryption) and convert it to ethernet signal, but that is equally
unlikely to work with newer puppies and I think it needs AC power.

Post Reply