Skip to content

How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)

  • On Raspbian, you don't need to install the 8192cu driver manually, as it comes with the distribution

  • To avoid disconnection issues, you need however to disable power management. This needs to be done in two places. First, this is what I have in /etc/modprobe.d/8192cu.conf:
    options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

  • This alone did not prevent the issue. I also had to add this entry to /etc/network/interfaces:
    auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    wireless-power off
    iface default inet dhcp


Sources: https://github.com/xbianonpi/xbian/issues/217, https://www.kuerbis.org/2016/03/raspberry-pi-3-kurztipps-wlan-sleep-mode-verhindern/
  • Twitter
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Mixx How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Bloglines How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Technorati How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Fark this: How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at YahooMyWeb
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at Furl.net
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at reddit.com
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at blinklist.com
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at Spurl.net
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at NewsVine
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at Simpy.com
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at blogmarks
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Recovering an unmanageable WRT54GL (OpenWRT lost password)

A friend recently brought us a Linksys WRT54GL which had been laying around for a while and whose password was not available anymore.

None of the "easy" password recovery methods seemed to work (like holding the reset button, power-cycling etc.) - possibly because the corresponding options had been previously disabled.

In the end, I used the TFTP method described here: http://oldwiki.openwrt.org/OpenWrtDocs(2f)Installing(2f)TFTP.html

However, it didn't work until all these conditions were met:

- the laptop with the firmware image and the tftp client had to be connected to the WRT through an external switch

- the switch had to be unplugged from the LAN

- I had to lauch a "ping -f 192.168.1.1" in a different terminal before powering on the WRT in order for the tftp transfer to start

- before and after the flashing I followed the 30/30/30 procedure (not sure if that one is mandatory but it is recommended)

To make sure the hardware was working I installed the latest firmware from the Linksys website (WRT54GL_v4.30.11_012_ETSI_EN_code.bin), but now I'll likely reflash it with OpenWRT - this time from the web interface :o)
  • Twitter
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Recovering an unmanageable WRT54GL (OpenWRT lost password)
  • Mixx Recovering an unmanageable WRT54GL (OpenWRT lost password)
  • Bloglines Recovering an unmanageable WRT54GL (OpenWRT lost password)
  • Technorati Recovering an unmanageable WRT54GL (OpenWRT lost password)
  • Fark this: Recovering an unmanageable WRT54GL (OpenWRT lost password)
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at YahooMyWeb
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at Furl.net
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at reddit.com
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at blinklist.com
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at Spurl.net
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at NewsVine
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at Simpy.com
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) at blogmarks
  • Bookmark Recovering an unmanageable WRT54GL (OpenWRT lost password) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to)

It seems that after having been up for a couple of days, the WAG200G starts having issues routing UDP packets properly. This particularly affects VoIP traffic (here IAX2 on port 4569). The symptoms are that "regular surfing" works flawlessly, but the registration with the asterisk server fails. tcpdump shows no traffic on the server side. Restarting the WAG200G immediately solves the problem.

Here is how I restarted the router from the command line:
wget --http-user=admin --http-password=pa55w0rd \
--post-data='reboot=1&save=Enregistrer+les+param%E8tres&todo=reboot&h_reboot=1&this_file=Reboot.htm&next_file=index.htm&message=' \
http://192.168.0.1/setup.cgi

(replace password and IP address as appropriate)
  • Twitter
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to)
  • Mixx Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to)
  • Bloglines Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to)
  • Technorati Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to)
  • Fark this: Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to)
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at YahooMyWeb
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at Furl.net
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at reddit.com
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at blinklist.com
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at Spurl.net
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at NewsVine
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at Simpy.com
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) at blogmarks
  • Bookmark Linksys WAG200G-EU stops routing UDP after a while (scripted reboot how-to) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca