Page 1 of 1

wifi for 24/7

Posted: Mon Mar 18, 2013 7:13 pm
by basti122303
Has anybody the raspberry get working for 24h without lose the network connection?

A earlier post of me can be found here http://www.raspberrypi.org/phpBB3/viewt ... 26&t=36936

A friend of me has also 2 raspberrys with similar problems, an other friend have told me about a person on the debian mailing list. How have a look on the USB/network stack, said that this would be only trash and he is wondering that this is working anyway.

I'm very glad about this situation, I think the raspberry is still a good idea and a great project but not with this essential bug.
I have not buy a „ready to go“ developer board to re-implement the hardware components.

Re: wifi for 24/7

Posted: Mon Mar 18, 2013 9:08 pm
by poing
I use these dongles with the Pi: http://www.ebay.com/itm/130859135182?ss ... 1497.l2649 .

I have an Edimax WiFi dongle in my Windows PC. This is connected to a Pi model A with two of the above dongles, one as AP (to connect to the PC) the other as client. The client of the model A is connected to a Pi model B which has also one of these dongles as AP, which in turn is bridged to the Ethernet port to gain access to Internet.

For the last 5 days this is up and running where I connect to the net from my PC through 2 Pies. Not very fast of course, but it is a duration test.

So the answer to your question is yes :D

Re: wifi for 24/7

Posted: Mon Mar 18, 2013 9:37 pm
by SN
vonets bridge solves the problem - pi thinks it has an ethernet connection then - for the n'th time - i've got 130+ days continuous operation using this with no hiccups

Re: wifi for 24/7

Posted: Tue Mar 19, 2013 11:57 am
by basti122303
which chip is inside ?
Please post your lsusb to indicate this.

I have also try a rt5370 (with antenna) this would be also trash see this link, especially the comments http://lucsmall.com/2012/09/21/ralink-r ... pberry-pi/.

Re: wifi for 24/7

Posted: Tue Mar 19, 2013 12:45 pm
by poing
basti122303 wrote:which chip is inside ?
Please post your lsusb to indicate this.

I have also try a rt5370 (with antenna) this would be also trash see this link, especially the comments http://lucsmall.com/2012/09/21/ralink-r ... pberry-pi/.
Strange, I have four of these with internal antenna and they all work fine. Just ordered a few more and two with external antenna some days ago, will test them thouroughly before giving feedback n ebay. Possibly a bad batch?

Re: wifi for 24/7

Posted: Wed Mar 20, 2013 12:51 pm
by basti122303
I have bought the dongle in September 2012, the comments in the link are from January 2013 so its not only a batch, this a generally problem, i think.

Re: wifi for 24/7

Posted: Wed Mar 20, 2013 1:27 pm
by poing
Strange. What I do with a fresh install of wheezy is just edit /etc/network/interfaces to look like this:

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
wpa-ssid xxxxxxx
wpa-psk xxxxxxxxxxxxxx

and after a reboot it just works. Always.

Re: wifi for 24/7

Posted: Wed Mar 20, 2013 1:40 pm
by basti122303
in my opinion thats a problem with the dongle or with the USB/ network stack witch is also trash.
but there you can see my /etc/network/interfaces

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
  wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface wlan0 inet dhcp
  wireless-power off

Re: wifi for 24/7

Posted: Wed Mar 20, 2013 2:21 pm
by poing
basti122303 wrote:in my opinion thats a problem with the dongle or with the USB/ network stack witch is also trash.
but there you can see my /etc/network/interfaces
I don't think the hard- en software is influenced by anyone's opinion. As we have the same hardware you could try different software if someone claims it works ;)

Re: wifi for 24/7

Posted: Wed Mar 20, 2013 2:41 pm
by basti122303
I'm root, the big h/s-ware dictator, my opinion is the law! ;)