Hi All,
Today, I installed the radio on my raspberry pi and prepared the SD card as per these instructions:
http://emoncms.org/site/docs/raspberrypigateway
Then, tried to setup wifi using the instructions mentioned here:
http://wiki.openenergymonitor.org/index.php?title=Raspberry_Pi#Using_WiF...
But I was unable to get WiFi setup correctly. I think, maybe, because the instructions talk about Wheezy as the OS, but the prompt on the Pi after logging in as root greets me with :
Industrial Perennial Environment - Release 1
by NutCom Services, Inc. - http://nutcom.hu/ipe/
I was able to run the 'lsusb' command, with this output:
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 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
The last line indicating the wifi module I have entered. But, the 'lsmod' command shows nothing loaded:
root@oemgateway:~# sudo lsmod
Module Size Used by
The file ' /etc/wpa_supplicant/wpa_supplicant.conf' does not exist, and the contents of /etc/network/interfaces are originally:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
But, I added the following lines to that file (as per the instructions):
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
Is somebody willing and able to help me get this solved?
Regards,
AET
Re: Can't get WiFi to work on Raspberry Pi EmonBase
Perhaps could you try to temporarily disable authentication on your router.
Re: Can't get WiFi to work on Raspberry Pi EmonBase
I will give it a try but how would that help if I am unable to config the wifi dongle to connect to my ssid in the first place?
Re: Can't get WiFi to work on Raspberry Pi EmonBase
I setup an open wifi network and rebooted the pi with the wifi dongle. I see no difference. ifconfig shows only lo and eth0, but no wifi :-(
Re: Can't get WiFi to work on Raspberry Pi EmonBase
You appear to be running the read only file system, which is what the root greeting means.
So in order to add those a lines to the files to configure the wifi you will need to do it when the SD card is plugged into a different computer and not modify them on the raspberry pi itself.
Re: Can't get WiFi to work on Raspberry Pi EmonBase
sorry ukmoose, I forgot to mention that I made those changes by putting the rootFS in RW mode first (ipe-rw)... that way the files can be edited while ssh'ed into the pi.
Re: Can't get WiFi to work on Raspberry Pi EmonBase
Sorry, no time to investigate your problem (I just triggered on Wi-Fi Raspberry Pi, consider this as an automatic answer), but you might find interesting information in there:
http://openenergymonitor.org/emon/node/2941
especially the link to M Svay's blog:
http://svay.com/blog/setting-up-a-wifi-connection-on-the-raspberrypi/
thanks to which I could get mine to work.
Re: Can't get WiFi to work on Raspberry Pi EmonBase
Thanks a bunch Jerome, I will investigate :-)
Re: Can't get WiFi to work on Raspberry Pi EmonBase
Hi aet!
I'm experiencing the very same issue. Have you been able to resolve it?
Any help is appreciated!
Re: Can't get WiFi to work on Raspberry Pi EmonBase
Which Pi set up are you using? The 20th January image has a problem that prevents it working on WiFi. Trystan & Glyn are aware of the problem and are working on a fix.
If you run update & upgrade on the earlier image the same problem occurs.
Regards
Ian
Re: Can't get WiFi to work on Raspberry Pi EmonBase
Thank you for your quick response!
I am using the ready-to-go SD-card image linked here: http://emoncms.org/site/docs/raspberrypigateway
and I ran apt-get update and upgrade. I´ll try to reinstall the system without running these commands!
[EDIT:]
I reflashed my SD card and changed /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf as described here: http://wiki.openenergymonitor.org/index.php?title=Raspberry_Pi#Using_WiF...
Unfortunately I am receiving the very same error message as before when running ifup wlan0: "Cannot find device "wlan0""
I am using the same wifi dongle as aet (with an RTL8188CUS chipset) and can see the device when running lsusb.
I suppose this is because of lacking wifi drivers, is that possible?
[EDIT #2:]
I switched back to raspbian, configured it to minimize write- operations and now the wifi dongle is working like a charm. I also had troubles connecting my arduino nano to the raspberry running ipe- r1, but this issue has also been revolved by switching to raspbian.
Thank you for your efforts!
Regards,
tonnenpinguin
Re: Can't get WiFi to work on Raspberry Pi EmonBase
Great.
Can you detail or point to a doc showing how to proceed to minimize write operations ?
Thanks.
(I use raspian myself, and didn't do anything special. I just avoid using emoncms on it, and I try not to limit the logging to what is needed for the tests.)