Lost Wifi and Mouse in GUI after updating

Hi

I followed Trystan's detailed instructions for upgrading my  emoncms to match the new hard drive image. This worked without any errors being reported.

I rebooted but could no longer access the PI server. I plugged in a network cable and used that connection and was able to access the server and all feeds and dashboards are working correctly.

I normally run the PI headless and access via SSH. I conected up a monitor and keyboard and rebooted again. It clearly showed that wlan0 was not loading. I originally set wifi up from the gui so I started X in the hope of running the graphical wifi setup again. To my surprise the mouse no longer works.

I don't think this is caused by Trystan's upgrade but possibly by Pi update.

I am not bothered by the loss of the mouse but I would like to get the wifi back. Is there any way to completely remove the wifi setup and driver from the command line followed by a reinstall? I would like to change the wifi dongle to a Wi-Pi at the same time as the original one I used was huge and physically blocked 3 of the USB ports on the hub.

 

 

 

ukmoose's picture

Re: Lost Wifi and Mouse in GUI after updating

The drivers for the wipi are built into the OS so it should just be the config you need to worry about.

There are many different ways of doing it, this is what I use.  If in doubt google it ;-)

so type the following

sudo nano /etc/network/interfaces

this opens the file for editing 

delete any lines that mention wlan0

then add the following at the bottom 

allow-hotplug wlan0

iface wlan0 inet dhcp

wpa-ssid "NAMEOFWIFI"
wpa-psk "WIFIPASSWORD"
iface default inet dhcp

Its CONTROL & X together to bring up the options and then follow the instructions to save the file, then 

 

sudo reboot

 

to reboot the Pi

ngbod's picture

Re: Lost Wifi and Mouse in GUI after updating

I upgraded my rpi hdd image to the latest one (January) but couldn't get WiFi to work either. I copied over known good working copies of my network/interfaces and wpa_supplicant files from the old image to give a fixed ip address and use my usb WiFi dongle like I normally do. With this image it was complaining early in the boot sequence of not being able to read/ or load wpa_supplicant and interfaces files and the WiFi dongle remained unusable. After a day spent googling and trying to configure the WiFi I gave up and reloaded a backup image of the setup which used the November image and all was working well again. 

I didn't try the graphical user interface for WiFi setup just command line.

Ian Eagland's picture

Re: Lost Wifi and Mouse in GUI after updating

Hi

Thanks for the reply.

I made the changed to /etc/network/interfaces.

There was no entry for wlan0.

Sadly making the changes made no difference. One thing I noticed. I took the Wi-Pi off another PI. When used on that Pi at boot up the Wi-Pi  flashes a led. On this setup the led does not flash. Does this indicate anything?

Regards

Ian

TrystanLea's picture

Re: Lost Wifi and Mouse in GUI after updating

It appears that this is due to the problem found by sbeausol here: http://openenergymonitor.org/emon/node/3688

If its looks like its really hard to add in the drivers I could recompile the image without the os update?

Ian Eagland's picture

Re: Lost Wifi and Mouse in GUI after updating

Hi Trystan

In my case I am not sure if it is a driver problem. I am using another Pi as a time lapse camera. I updated both the OS and firmware on that Pi as a test and the Wi-Pi wifi works perfectly. As I indicated I have another Pi on order and as soon as I receive it I will set up a duplicate system and see if that has a problem.

Ian

Ian Eagland's picture

Re: Lost Wifi and Mouse in GUI after updating

Hi

I have just used lsmod on my emoncms Pi and as mentioned in this thread http://openenergymonitor.org/emon/node/3688. I definitely have no drivers, nothing is listed.

The same command on my Camera Pi lists a whole bunch of stuff.

Question is, which of the steps in same thread 3688 I went through upgrading to the latest software on the emoncms Pi caused the trouble.

On the Camera Pi I used:-  sudo apt-get update && sudo apt-get upgrade followed by sudo rpi-update to keep up to date.

This has caused no problems and the wifi works.

Also is there any way I can force the drivers to install/update or what ever I need to get the mouse and wifi working?

Regards

Ian

 

 

pb66's picture

Re: Lost Wifi and Mouse in GUI after updating

Thread http://openenergymonitor.org/emon/node/3688. now has a link to an updated image to resolve this problem.

Regards

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.