kingoslo
Posts: 20
Joined: Sun Nov 18, 2012 11:21 pm

WIFI, cant get RTL8188CUS to work

Tue Aug 06, 2013 8:47 pm

Hello there,

I bought a cheap wifi dongle which has the RTL8188CUS.

A very very long thread on this forum had multiple users whom guaranteed it would work. I have wasted $100 on dongles which did not work, and I was finally fed up.

The project of getting wifi started about a year ago, and it still does not work.

I have tried all the configurations in the universe, I just want to beg somebody whom is knowledgable to walk through the process with me step by step, and correct the problem.

This is the only prositive sign I have:

Code: Select all

 $ susb

Code: Select all

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 005: ID 09da:000a A4 Tech Co., Ltd Optical Mouse Opto 510D
Bus 001 Device 006: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 007: ID 04b3:3025 IBM Corp. NetVista Full Width Keyboard
I had to set this in interfaces, otherwise the Pi was complaining it couldnt read the file at boot-time, no matter what I did to it:

Code: Select all

$ sudo nano /etc/network/interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
I hope you can help me, nice and slow, to get this to work. I cannot wait another year. Usually I reformat the SD card every time I mess something up. And buy a new dongle, when the tutorial fails. I am giving up that approach. Hope you can help.

Thank you for your time.

Kind regards,
Marius

MrEngman
Posts: 4036
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WIFI, cant get RTL8188CUS to work

Wed Aug 07, 2013 8:04 am

If it said it couldn't read the /etc/network/interfaces file then you put something in it than it did not like.

Take a look here for some simple instructions http://www.fars-robotics.net/


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

kingoslo
Posts: 20
Joined: Sun Nov 18, 2012 11:21 pm

Re: WIFI, cant get RTL8188CUS to work

Wed Aug 07, 2013 4:20 pm

MrEngman wrote:If it said it couldn't read the /etc/network/interfaces file then you put something in it than it did not like.

Take a look here for some simple instructions http://www.fars-robotics.net/


MrEngman
Thank you so much for this help! It works without wpa supplicant, when i put the ssid and wpa directly in the inferfaces data.

This is my current interfaces data:

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "XXXXXXXXXXX"
wpa-psk "XXXXXXXXXXX"
Are you able to suggest how to alter this file to get static IP?

Thank you for your time.

Kind regards,
Marius

MrEngman
Posts: 4036
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WIFI, cant get RTL8188CUS to work

Wed Aug 07, 2013 4:52 pm

To set up a static IP for the wifi you will need to alter the /etc/network/interfaces file to something like the following

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet static  <-- change from dhcp to static
address 192.168.1.3      <-- add address, netmask, network and gateway
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
wpa-ssid "XXXXXXXXXXX"
wpa-psk "XXXXXXXXXXX"
You will need to set the address, network and gateway settings to suit your own network.

address will be the static IP assigned to the wifi, and gateway is generally the router's IP.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

kingoslo
Posts: 20
Joined: Sun Nov 18, 2012 11:21 pm

Re: WIFI, cant get RTL8188CUS to work

Wed Aug 07, 2013 5:42 pm

Thanks Engman,

That was fantastic :D

Thank you for your time.

Kind regards,
Marius

MrEngman
Posts: 4036
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: WIFI, cant get RTL8188CUS to work

Wed Aug 07, 2013 5:49 pm

kingoslo wrote:Thanks Engman,

That was fantastic :D

Thank you for your time.

Kind regards,
Marius
Glad to be of help. Have fun with your Pi.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Return to “Troubleshooting”