Re: Freerunner wireless internet

2009-09-01 Thread Davide Scaini
I'm using a real .28-rc4 that works fine with wifi but has some issues with
telephony reliability. (and right now I have no idea where you can find that
kernel over the internet... I have a copy on my hd)
You can try the one from shr-testing repos that is reposted as a .28-stable
but it's an .29-rc2 ... i tryed it and it seems to work fine even with wifi.
Give a try: http://build.shr-project.org/shr-testing/images/om-gta02/

don't forget to download and untar the modules, then reboot twice... et
voilà, it works!


On Sat, Aug 29, 2009 at 9:01 PM, Michele Brocco ssj2mi...@gmail.com wrote:

 On 8/29/09, Davide Scaini dsca...@gmail.com wrote:
  which kernel? you need the perfect blend :)
  e.g. i use a 2.6.28-rc4 with nwa. no a single freeze!
 
  On 8/28/09, Michele Brocco ssj2mi...@gmail.com wrote:
  On 8/26/09, Nicola Mfb nicola@gmail.com wrote:
  On Wed, Aug 26, 2009 at 2:13 PM, Michele Broccossj2mi...@gmail.com
  wrote:
  [...]
  For me in SHR-U with mofi wifi reconnects after resume (just with the
  same essid however). It just doesnt re-request a dhcp lease, have to
  call udhcpc manually then. Does the dhcp-lease re-request after
  re-connection to the AP work for u guys?
 
  Try NWA, it listens for a wpa_supplicant dbus signal occourring when
  the network status changes, in the case of disconnection/reassociation
  it respawns the dhcp client. That's typical in a suspend/resume cycle.
 
  Unfortunately NWA does not find any network here. And when i start it
  sequentially more than one time all my phone freezes.
  Any clues?
  Btw. I like the qtgui!
 
 I am running 2.6.29-rc3 from the SHR-U repositories. So that might be
 the reason. Maybe i will have a try if I find the kernel image and
 modules somewhere to download.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-29 Thread Michele Brocco
On 8/29/09, Davide Scaini dsca...@gmail.com wrote:
 which kernel? you need the perfect blend :)
 e.g. i use a 2.6.28-rc4 with nwa. no a single freeze!

 On 8/28/09, Michele Brocco ssj2mi...@gmail.com wrote:
 On 8/26/09, Nicola Mfb nicola@gmail.com wrote:
 On Wed, Aug 26, 2009 at 2:13 PM, Michele Broccossj2mi...@gmail.com
 wrote:
 [...]
 For me in SHR-U with mofi wifi reconnects after resume (just with the
 same essid however). It just doesnt re-request a dhcp lease, have to
 call udhcpc manually then. Does the dhcp-lease re-request after
 re-connection to the AP work for u guys?

 Try NWA, it listens for a wpa_supplicant dbus signal occourring when
 the network status changes, in the case of disconnection/reassociation
 it respawns the dhcp client. That's typical in a suspend/resume cycle.

 Unfortunately NWA does not find any network here. And when i start it
 sequentially more than one time all my phone freezes.
 Any clues?
 Btw. I like the qtgui!

I am running 2.6.29-rc3 from the SHR-U repositories. So that might be
the reason. Maybe i will have a try if I find the kernel image and
modules somewhere to download.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-28 Thread Helge Hafting
Rui Miguel Silva Seabra wrote:
 On Wed, Aug 26, 2009 at 01:19:52PM +0200, Helge Hafting wrote:

 1. The wireless does not work after the phone wakes from suspend.
[...]
 Just this morning, with SHR 2009/08/08:
   1. resume
   2. enable wifi in shr-settings
   3. use mofi to connect
   4. profit
 
 Could it be that mofi uses some of the workarounds?

Possible, or maybe you got lucky. Bugs are not always reliable. The 
problems I see does not have to happen on every suspend/resume cycle. 
They merely happens often enough to be a nuicance.

Helge Hafting


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-28 Thread Michele Brocco
On 8/26/09, Nicola Mfb nicola@gmail.com wrote:
 On Wed, Aug 26, 2009 at 2:13 PM, Michele Broccossj2mi...@gmail.com wrote:
 [...]
 For me in SHR-U with mofi wifi reconnects after resume (just with the
 same essid however). It just doesnt re-request a dhcp lease, have to
 call udhcpc manually then. Does the dhcp-lease re-request after
 re-connection to the AP work for u guys?

 Try NWA, it listens for a wpa_supplicant dbus signal occourring when
 the network status changes, in the case of disconnection/reassociation
 it respawns the dhcp client. That's typical in a suspend/resume cycle.

Unfortunately NWA does not find any network here. And when i start it
sequentially more than one time all my phone freezes.
Any clues?
Btw. I like the qtgui!

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-28 Thread Davide Scaini
which kernel? you need the perfect blend :)
e.g. i use a 2.6.28-rc4 with nwa. no a single freeze!

On 8/28/09, Michele Brocco ssj2mi...@gmail.com wrote:
 On 8/26/09, Nicola Mfb nicola@gmail.com wrote:
 On Wed, Aug 26, 2009 at 2:13 PM, Michele Broccossj2mi...@gmail.com
 wrote:
 [...]
 For me in SHR-U with mofi wifi reconnects after resume (just with the
 same essid however). It just doesnt re-request a dhcp lease, have to
 call udhcpc manually then. Does the dhcp-lease re-request after
 re-connection to the AP work for u guys?

 Try NWA, it listens for a wpa_supplicant dbus signal occourring when
 the network status changes, in the case of disconnection/reassociation
 it respawns the dhcp client. That's typical in a suspend/resume cycle.

 Unfortunately NWA does not find any network here. And when i start it
 sequentially more than one time all my phone freezes.
 Any clues?
 Btw. I like the qtgui!

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Freerunner wireless internet

2009-08-26 Thread Juan Lucas Dominguez Rubio
Hello, list:
 
has anyone ever accessed the internet via wifi from the Freerunner? If so, 
which distro was it? Does it work only with some particular (few?) routers?
 
Regards,
Juan Lucas
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Marcel
Am Mittwoch, den 26.08.2009, 10:43 +0200 schrieb Juan Lucas Dominguez
Rubio:
 Hello, list:
  
 has anyone ever accessed the internet via wifi from the Freerunner? If
 so, which distro was it? Does it work only with some particular (few?)
 routers?

I did multiple times with different routers on Om2009t5 and other distros.
Getting the ath6k to register get into a wlan is the most work intensive
part since the GUIs tend to get somehow confused. Once Paroli refused to
show any wlan anymore until I reflashed 2k9t5 (having had shr in
between). But basically it works.

--
Marcel


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Christ van Willegen
On Wed, Aug 26, 2009 at 10:43 AM, Juan Lucas Dominguez
Rubiojldoming...@prodevelop.es wrote:
 Hello, list:

 has anyone ever accessed the internet via wifi from the Freerunner? If so,
 which distro was it? Does it work only with some particular (few?) routers?

I've been able to browse and download updates for the FR using the
built-in Wifi.

This was using SHR-U and Mokonnect.

I have a reasonable generic AP (Linksys WRTG), nothing special
(although I had to change my 1-character ESSID to something longer,
there appears (appeared?) to be a bug when doing that...).

HTH!

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Krzysztof 'soltys' Koros'cik
Juan Lucas Dominguez Rubio pisze:
 Hello, list:
  
 has anyone ever accessed the internet via wifi from the Freerunner? If
 so, which distro was it? Does it work only with some particular (few?)
 routers?
  
 Regards,
 Juan Lucas
Hi Juan,

On my Freerunner wifi works for some time now, it connects to my home
network using WPA-PSK. Running latest shr-unstable and using mokonnect
for connecting.


Regards

-- 
Krzysztof 'soltys' Koroscik
jid: sol...@szluug.org
e-mail: sol...@szluug.org


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Davide Scaini
I use -with success- shr-u with nwa (a wireless manager that is very
reliable). I can get connected quite everywhere :)
d

On Wed, Aug 26, 2009 at 10:50 AM, Krzysztof 'soltys' Koros'cik 
sol...@szluug.org wrote:

 Juan Lucas Dominguez Rubio pisze:
  Hello, list:
 
  has anyone ever accessed the internet via wifi from the Freerunner? If
  so, which distro was it? Does it work only with some particular (few?)
  routers?
 
  Regards,
  Juan Lucas
 Hi Juan,

 On my Freerunner wifi works for some time now, it connects to my home
 network using WPA-PSK. Running latest shr-unstable and using mokonnect
 for connecting.


 Regards

 --
 Krzysztof 'soltys' Koroscik
 jid: sol...@szluug.org
 e-mail: sol...@szluug.org


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Paul Fertser
Juan Lucas Dominguez Rubio jldoming...@prodevelop.es writes:
 has anyone ever accessed the internet via wifi from the Freerunner?
 If so, which distro was it?  Does it work only with some particular
 (few?) routers?

I recommend you to read FSO_resources wiki page, it has a working
recipe.

Experience shows that ar6000 works with most APs, but not all.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Matthias Apitz
 On Wed, Aug 26, 2009 at 10:50 AM, Krzysztof 'soltys' Koros'cik 
 sol...@szluug.org wrote:
 
  Juan Lucas Dominguez Rubio pisze:
   Hello, list:
  
   has anyone ever accessed the internet via wifi from the Freerunner? If
   so, which distro was it? Does it work only with some particular (few?)
   routers?
  
   Regards,
   Juan Lucas
  Hi Juan,
 
  On my Freerunner wifi works for some time now, it connects to my home
  network using WPA-PSK. Running latest shr-unstable and using mokonnect
  for connecting.

I'm using Om2008.9, Wifi with WEP and WPA work reliable for me; config details
see chap. 6 in:
http://www.unixarea.de/openmoko.txt

HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread ø
Juan Lucas Dominguez Rubio escribió:
 has anyone ever accessed the internet via wifi from the Freerunner? If 
 so, which distro was it? Does it work only with some particular (few?) 
 routers?


On OM200X series I have always done it. But never with gui program. I 
edited /etc/network/interfaces and restart network. Wifi must be powered 
( any command for that? ).

Encryption is WEP.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Adolph J. Vogel
On Wednesday 26 August 2009 10:58:17 Paul Fertser wrote:
 Juan Lucas Dominguez Rubio jldoming...@prodevelop.es writes:
  has anyone ever accessed the internet via wifi from the Freerunner?
  If so, which distro was it?  Does it work only with some particular
  (few?) routers?

 I recommend you to read FSO_resources wiki page, it has a working
 recipe.

 Experience shows that ar6000 works with most APs, but not all.

Is there a list, or a way to know which APs wont work?

regards, Adolph
-- 
Adolph J. Vogel BEng(Hons)




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Freerunner wireless internet

2009-08-26 Thread Niels Heyvaert


 has anyone ever accessed the internet via wifi from the Freerunner? If so, 
 which distro was it? Does it work only with some particular (few?) routers?


I've been connecting to my Linksys (WRT54GX v2, WPA AES) on the FreeRunner 
running Koolu Android Beta 7 and OM2009.
 
With SHR-U and Mokonnect (my current setup) it does not work.
_
Voeg vrienden toe van LinkedIn  Facebook aan je Windows Live
http://profile.live.com/connect
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Paul Fertser
Adolph J. Vogel ajvo...@tuks.co.za writes:
 On Wednesday 26 August 2009 10:58:17 Paul Fertser wrote:
 Juan Lucas Dominguez Rubio jldoming...@prodevelop.es writes:
  has anyone ever accessed the internet via wifi from the Freerunner?
  If so, which distro was it?  Does it work only with some particular
  (few?) routers?

 I recommend you to read FSO_resources wiki page, it has a working
 recipe.

 Experience shows that ar6000 works with most APs, but not all.

 Is there a list, or a way to know which APs wont work?

I'm afraid there's no such a list. I can only try to find out the
model of AP i was unable to use myself.

Also OM trac has some reports, e.g. [1]

[1] http://docs.openmoko.org/trac/ticket//1250
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Ben Thompson
On Wed, Aug 26, 2009 at 09:25:43AM +, Niels Heyvaert wrote:
 
 
  has anyone ever accessed the internet via wifi from the Freerunner? If so, 
  which distro was it? Does it work only with some particular (few?) routers?
 
 
 I've been connecting to my Linksys (WRT54GX v2, WPA AES) on the FreeRunner 
 running Koolu Android Beta 7 and OM2009.
  
 With SHR-U and Mokonnect (my current setup) it does not work.

SHR-U + Mokoconnect does not work for me either. I get DHCP timeout
and I have tried multiple AP's.

-- 

Ben Thompson

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Davide Scaini
On Wed, Aug 26, 2009 at 11:31 AM, Ben Thompson b...@york.ac.uk wrote:

 On Wed, Aug 26, 2009 at 09:25:43AM +, Niels Heyvaert wrote:
 
  
   has anyone ever accessed the internet via wifi from the Freerunner? If
 so, which distro was it? Does it work only with some particular (few?)
 routers?
  
 
  I've been connecting to my Linksys (WRT54GX v2, WPA AES) on the
 FreeRunner running Koolu Android Beta 7 and OM2009.
 
  With SHR-U and Mokonnect (my current setup) it does not work.

 SHR-U + Mokoconnect does not work for me either. I get DHCP timeout
 and I have tried multiple AP's.

try different wifi manager... try nwa please, nicola is doing hard work and
for me is nicely working.
http://wiki.openmoko.org/wiki/NWA
d



 --

 Ben Thompson

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Adolph J. Vogel
On Wednesday 26 August 2009 11:31:00 Ben Thompson wrote:
 On Wed, Aug 26, 2009 at 09:25:43AM +, Niels Heyvaert wrote:
   has anyone ever accessed the internet via wifi from the Freerunner? If
   so, which distro was it? Does it work only with some particular (few?)
   routers?
 
  I've been connecting to my Linksys (WRT54GX v2, WPA AES) on the
  FreeRunner running Koolu Android Beta 7 and OM2009.
 
  With SHR-U and Mokonnect (my current setup) it does not work.

 SHR-U + Mokoconnect does not work for me either. I get DHCP timeout
 and I have tried multiple AP's.
SHR-U + Mokoconnect does not work for me, but I haven`t upgraded and only have 
the 20090808 flash. Maybe it works better in latest SHR-U?

Ben, Niels? are you using the latest SHR-U?

-- 
Adolph J. Vogel BEng(Hons)




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Freerunner wireless internet

2009-08-26 Thread Niels Heyvaert

 has anyone ever accessed the internet via wifi from the Freerunner? If
 so, which distro was it? Does it work only with some particular (few?)
 routers?

 I've been connecting to my Linksys (WRT54GX v2, WPA AES) on the
 FreeRunner running Koolu Android Beta 7 and OM2009.

 With SHR-U and Mokonnect (my current setup) it does not work.

 SHR-U + Mokoconnect does not work for me either. I get DHCP timeout
 and I have tried multiple AP's.
 SHR-U + Mokoconnect does not work for me, but I haven`t upgraded and only have
 the 20090808 flash. Maybe it works better in latest SHR-U?

 Ben, Niels? are you using the latest SHR-U?

I'm currently using vanilla SHR-U dated 08/08/2009
_
Voeg vrienden toe van LinkedIn  Facebook aan je Windows Live
http://profile.live.com/connect
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Freerunner wireless internet

2009-08-26 Thread Juan Lucas Dominguez Rubio
  On Wed, Aug 26, 2009 at 11:31 AM, Ben Thompson b...@york.ac.uk wrote:
  
  On Wed, Aug 26, 2009 at 09:25:43AM +, Niels Heyvaert wrote:
  
  
   has anyone ever accessed the internet via wifi from the Freerunner? If 
   so, which distro was it? Does it work only with  some particular (few?) 
   routers?
  
 
  I've been connecting to my Linksys (WRT54GX v2, WPA AES) on the FreeRunner 
  running Koolu Android Beta 7 and  OM2009.
 
  With SHR-U and Mokonnect (my current setup) it does not work.
 
 
 SHR-U + Mokoconnect does not work for me either. I get DHCP timeout
 and I have tried multiple AP's.
 
 try different wifi manager... try nwa please, nicola is doing hard work and 
 for me is nicely working.
 http://wiki.openmoko.org/wiki/NWA
 d
 
 
Hi, I'm in the same situation as Ben and Niels (SHR-u, mokonnect, DHCP 
timeout). I'll try nwa later today, thanks.
 
Juan Lucas
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Freerunner wireless internet

2009-08-26 Thread Niels Heyvaert


 try different wifi manager... try nwa please, nicola is doing hard work and 
 for me is nicely working.
 http://wiki.openmoko.org/wiki/NWA
 d

I would if I could, but since I can't ssh into my FR (off topic), which is 
running from NAND since it can not read my SD Card (off topic), it's impossible 
for me to change anything which can not be done via the GUI.
_
Voeg vrienden toe van LinkedIn  Facebook aan je Windows Live
http://profile.live.com/connect
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Fox Mulder
Juan Lucas Dominguez Rubio wrote:
  On Wed, Aug 26, 2009 at 11:31 AM, Ben Thompson b...@york.ac.uk
 mailto:b...@york.ac.uk wrote:
 
  On Wed, Aug 26, 2009 at 09:25:43AM +, Niels Heyvaert wrote:
  
  
   has anyone ever accessed the internet via wifi from the
 Freerunner? If so, which distro was it? Does it work only with  some
 particular (few?) routers?
  
 
  I've been connecting to my Linksys (WRT54GX v2, WPA AES) on the
 FreeRunner running Koolu Android Beta 7 and  OM2009.
 
  With SHR-U and Mokonnect (my current setup) it does not work.


 SHR-U + Mokoconnect does not work for me either. I get DHCP timeout
 and I have tried multiple AP's.

 try different wifi manager... try nwa please, nicola is doing hard
 work and for me is nicely working.
 http://wiki.openmoko.org/wiki/NWA
 d
  
  
 Hi, I'm in the same situation as Ben and Niels (SHR-u, mokonnect, DHCP
 timeout). I'll try nwa later today, thanks.
  
Have you tried to use wmiconfig -i eth0 --power maxperf before
connecting to your AP?

I had equal wlan problems (dhcp timeout and packet loss) until someone
meantioned that the power saving feature of the freerunner wlan chip
doesn't work with all AP's. And since i'm disabling this feature i can
connect to my AP without problems anymore.

Ciao,
 Rainer

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Ben Thompson
On Wed, Aug 26, 2009 at 09:52:29AM +, Niels Heyvaert wrote:
 
  has anyone ever accessed the internet via wifi from the Freerunner? If
  so, which distro was it? Does it work only with some particular (few?)
  routers?
 
  I've been connecting to my Linksys (WRT54GX v2, WPA AES) on the
  FreeRunner running Koolu Android Beta 7 and OM2009.
 
  With SHR-U and Mokonnect (my current setup) it does not work.
 
  SHR-U + Mokoconnect does not work for me either. I get DHCP timeout
  and I have tried multiple AP's.
  SHR-U + Mokoconnect does not work for me, but I haven`t upgraded and only 
  have
  the 20090808 flash. Maybe it works better in latest SHR-U?
 
  Ben, Niels? are you using the latest SHR-U?
 
 I'm currently using vanilla SHR-U dated 08/08/2009

I was using this too so I opkg updated now and it looks like I now
have a DHCP lease. Many thanks for the fix. 

-- 

Ben Thompson

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Helge Hafting
Juan Lucas Dominguez Rubio wrote:
 Hello, list:
  
 has anyone ever accessed the internet via wifi from the Freerunner? If 
 so, which distro was it? Does it work only with some particular (few?) 
 routers?

I have done it, with SHR.
There are a few quirks. work around them, and it is no worse than
any other linux distro. The quirks I have seen:

1. The wireless does not work after the phone wakes from suspend.
And I don't mean it lost the association, wifi cannot be
brought up at all. Very irritating, for wpa_supplicant can
re-associate automatically _if_ the chip  driver itself works.

Workaround: unload the ar6000 module and reload it. Then
it works as usual. The problem is, it has to be done manually
and the phone is almost always sleeping (as it should), so
this workaround has to be done all the time. which is why I
don't normally use wifi. :-(

Considering that the workaround is so simple, fixing
the kernel should be simple too. Drivers have hooks
for suspend/resume. So just make the resume handler
do exactly the same initialization as when the module
is loaded. wpa_supplicant can then do the rest, any association
will be lost anyway after a long sleep.



2. When the module is freshly loaded, setting the essid is unsupported
until an encryption key has been set. (iwconfig returns with an
error message if I try setting the essid first.) This probably
cause trouble for any sw that tries to set the essid first.

My workaround is to set the encryption key first.

The simplest (but not necessarily the best) kernel fix would be
to have driver initialization explicitly set some key as the last
step. Then users wouldn't have to.



Helge Hafting

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Rui Miguel Silva Seabra
On Wed, Aug 26, 2009 at 01:19:52PM +0200, Helge Hafting wrote:
 Juan Lucas Dominguez Rubio wrote:
  Hello, list:
   
  has anyone ever accessed the internet via wifi from the Freerunner? If 
  so, which distro was it? Does it work only with some particular (few?) 
  routers?
 
 I have done it, with SHR.
 There are a few quirks. work around them, and it is no worse than
 any other linux distro. The quirks I have seen:
 
 1. The wireless does not work after the phone wakes from suspend.
 And I don't mean it lost the association, wifi cannot be
 brought up at all. Very irritating, for wpa_supplicant can
 re-associate automatically _if_ the chip  driver itself works.
 
 Workaround: unload the ar6000 module and reload it. Then
 it works as usual. The problem is, it has to be done manually
 and the phone is almost always sleeping (as it should), so
 this workaround has to be done all the time. which is why I
 don't normally use wifi. :-(
 
 Considering that the workaround is so simple, fixing
 the kernel should be simple too. Drivers have hooks
 for suspend/resume. So just make the resume handler
 do exactly the same initialization as when the module
 is loaded. wpa_supplicant can then do the rest, any association
 will be lost anyway after a long sleep.

Just this morning, with SHR 2009/08/08:
1. resume
2. enable wifi in shr-settings
3. use mofi to connect
4. profit

Could it be that mofi uses some of the workarounds?

connman+mokonnect has never worked on my Freerunner, I'm willing to
try new versions if they're already in the shr-u repo because mokonnect
seems much more better in terms of usability (but unfortunately doesn't WFM).

Rui

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Paul Fertser
Helge Hafting helge.haft...@hist.no writes:
 1. The wireless does not work after the phone wakes from suspend.
 And I don't mean it lost the association, wifi cannot be
 brought up at all. Very irritating, for wpa_supplicant can
 re-associate automatically _if_ the chip  driver itself works.

 Workaround: unload the ar6000 module and reload it. Then
 it works as usual. The problem is, it has to be done manually
 and the phone is almost always sleeping (as it should), so
 this workaround has to be done all the time. which is why I
 don't normally use wifi. :-(

 Considering that the workaround is so simple, fixing
 the kernel should be simple too.

I spent a _lot_ of time trying to understand and solve that
problem. Everything is extremely complicated thanks to the messy
design of the driver.

I've just sent my one-liner patch to the kernel ML, it solved all the
issues i saw here, please test and report.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Michele Brocco
 Just this morning, with SHR 2009/08/08:
 1. resume
 2. enable wifi in shr-settings
 3. use mofi to connect
 4. profit
For me in SHR-U with mofi wifi reconnects after resume (just with the
same essid however). It just doesnt re-request a dhcp lease, have to
call udhcpc manually then. Does the dhcp-lease re-request after
re-connection to the AP work for u guys?


  Could it be that mofi uses some of the workarounds?

  connman+mokonnect has never worked on my Freerunner, I'm willing to
  try new versions if they're already in the shr-u repo because mokonnect
  seems much more better in terms of usability (but unfortunately doesn't WFM).

Same here.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner wireless internet

2009-08-26 Thread Nicola Mfb
On Wed, Aug 26, 2009 at 2:13 PM, Michele Broccossj2mi...@gmail.com wrote:
[...]
 For me in SHR-U with mofi wifi reconnects after resume (just with the
 same essid however). It just doesnt re-request a dhcp lease, have to
 call udhcpc manually then. Does the dhcp-lease re-request after
 re-connection to the AP work for u guys?

Try NWA, it listens for a wpa_supplicant dbus signal occourring when
the network status changes, in the case of disconnection/reassociation
it respawns the dhcp client. That's typical in a suspend/resume cycle.

Nicola

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community