Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-29 Thread Helge Hafting
George Brooke wrote:

 Having low-level stuff like iwconfig fail is what makes me suspect a
 kernel problem.
 Try rmmod a6000 (I think thats the correct module) them modprobing it again 
 as 
 that some times works for me.

I might try. But if it helps, then it is still a kernel bug that needs 
fixing.
Messing around with modprobe commands is too cumbersome on such a device,
slightly more tolerable on PCs that have real keyboards.

Helge Hafting






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


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread Helge Hafting
Adam Jimerson wrote:
 Well it is nice to see that I am not the only person with this problem, 
 for me Mofi doesn't even load, I am installing the one from opkg.org 
 http://opkg.org to see if I have any better luck with it.

I have trouble with wifi in SHR testing too. I suspect a kernel problem.

I usually run wpa_supplicant. Failing that, I connect to WEP networks 
using iwlist iwconfig commands directly. Even these low-level tools 
fails most of the time. Occationally iwlist eth0 scan will work, but 
repeat the command and eth0 suddenly doesn't support scanning. And of 
course it won't ever connect to any access point. Similiarly, iwconfig 
may claim there is no support for setting the essid.

Having low-level stuff like iwconfig fail is what makes me suspect a 
kernel problem.

Helge Hafting


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


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread Nicola Mfb
2009/4/28 Helge Hafting helge.haft...@hist.no:
 Adam Jimerson wrote:
 Well it is nice to see that I am not the only person with this problem,
 for me Mofi doesn't even load, I am installing the one from opkg.org
 http://opkg.org to see if I have any better luck with it.

 I have trouble with wifi in SHR testing too. I suspect a kernel problem.

 I usually run wpa_supplicant. Failing that, I connect to WEP networks
 using iwlist iwconfig commands directly. Even these low-level tools
 fails most of the time. Occationally iwlist eth0 scan will work, but
 repeat the command and eth0 suddenly doesn't support scanning. And of
 course it won't ever connect to any access point. Similiarly, iwconfig
 may claim there is no support for setting the essid.

 Having low-level stuff like iwconfig fail is what makes me suspect a
 kernel problem.

I may confirm this, I got unexpected wow events (it was already
reported), playing with enabling/disabling wifi in FSO after a bit put
the wifi chip in an unusable state with a strange framework log error
(similiar to expecting power set to 0 but failed), when this happens
the command iwconfig eth0 power off crashes and the kernel oops.

Other problems with wpa roaming mode that seems to not work,
wpa_action is missing, wpa_cli does not reports all connect/disconnect
errors and so on.

I ignored all these issues as before I used mainly BT networking and
USB, they works well with recent kernels, with olders BT stopped to
work after suspend/resume and with USB my laptop was often not able to
enumerate.

The network nightmare :)

 Nicola

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


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread Adam Jimerson
On Tue, Apr 28, 2009 at 7:49 AM, Helge Hafting helge.haft...@hist.nowrote:

 I have trouble with wifi in SHR testing too. I suspect a kernel problem.

 I usually run wpa_supplicant. Failing that, I connect to WEP networks
 using iwlist iwconfig commands directly. Even these low-level tools
 fails most of the time. Occationally iwlist eth0 scan will work, but
 repeat the command and eth0 suddenly doesn't support scanning. And of
 course it won't ever connect to any access point. Similiarly, iwconfig
 may claim there is no support for setting the essid.

 Having low-level stuff like iwconfig fail is what makes me suspect a
 kernel problem.


The low-level tools even fail on open and Mac filtered networks, I'm not
finding any bug reports on SHR's bug tracking system but I may upgrade my
phone today and test with the latest kernel and everything, if no one has
already tried that.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread Adam Jimerson
On Tue, Apr 28, 2009 at 8:15 AM, Nicola Mfb nicola@gmail.com wrote:


  I ignored all these issues as before I used mainly BT networking and
 USB, they works well with recent kernels, with olders BT stopped to
 work after suspend/resume and with USB my laptop was often not able to
 enumerate.


I have not tried bluetooth networking before, but I have no problems with
USB networking with this kernel, so there is hope!
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread Jan Vlug




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Currently, I playing around with Android beta 6 (from Koolu). Wireless
does not work there either.
Sometimes I can the FreeRunner is able to scan for networks, sometimes
not.
I was never able to get a connection with an access point.

Adam Jimerson wrote:
| I am still trying to get my wireless to work on the 4/16 release of
SHR-Testing, I can get a scan to work on eth0 every now and then and
the rest of the time I get a "device does not support scanning error".
No matter if I can scan or not eth0 will not connect to any AP. I have
set up the /etc/network/interfaces so that eth0 uses wpa_supplicant,
which I have the file setup with the APs and everything, and when I try
and ifup eth0 it goes though the configurations but stops at a "No
lease failing" error. I have been at this for a while trying to get it
to work and all my attempts have failed. If anyone has any kind of
suggestion, or if they have had this problem with this version of
SHR-Testing please reply, I getting desperate and will try anything to
get it to work.
|
| -
|
| ___
| Openmoko community mailing list
| community@lists.openmoko.org
| http://lists.openmoko.org/mailman/listinfo/community
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkn2/HUACgkQvuFuLCp9giBV0QCgsEYQCCY3HQnZkQOiSEhrtosy
BKQAnA3bhCWCKiHGJ8KPs+OT4JWMA48f
=LzHl
-END PGP SIGNATURE-




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


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread George Brooke
On Tuesday 28 April 2009 12:49:44 Helge Hafting wrote:
 Adam Jimerson wrote:
  Well it is nice to see that I am not the only person with this problem,
  for me Mofi doesn't even load, I am installing the one from opkg.org
  http://opkg.org to see if I have any better luck with it.

 I have trouble with wifi in SHR testing too. I suspect a kernel problem.

 I usually run wpa_supplicant. Failing that, I connect to WEP networks
 using iwlist iwconfig commands directly. Even these low-level tools
 fails most of the time. Occationally iwlist eth0 scan will work, but
 repeat the command and eth0 suddenly doesn't support scanning. And of
 course it won't ever connect to any access point. Similiarly, iwconfig
 may claim there is no support for setting the essid.

 Having low-level stuff like iwconfig fail is what makes me suspect a
 kernel problem.
Try rmmod a6000 (I think thats the correct module) them modprobing it again as 
that some times works for me.

solar.george


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread Konstantin
George Brooke schrieb:
 On Tuesday 28 April 2009 12:49:44 Helge Hafting wrote:
 Adam Jimerson wrote:
 Well it is nice to see that I am not the only person with this problem,
 for me Mofi doesn't even load, I am installing the one from opkg.org
 http://opkg.org to see if I have any better luck with it.
 I have trouble with wifi in SHR testing too. I suspect a kernel problem.

 I usually run wpa_supplicant. Failing that, I connect to WEP networks
 using iwlist iwconfig commands directly. Even these low-level tools
 fails most of the time. Occationally iwlist eth0 scan will work, but
 repeat the command and eth0 suddenly doesn't support scanning. And of
 course it won't ever connect to any access point. Similiarly, iwconfig
 may claim there is no support for setting the essid.

 Having low-level stuff like iwconfig fail is what makes me suspect a
 kernel problem.
 Try rmmod a6000 (I think thats the correct module) them modprobing it again 
 as 
 that some times works for me.

I tried that once, too, which resulted in a kernel panic. The funny thing was
that I was in the middle of a phone call, which went on nevertheless until the
other side hung up. Smartphones are interesting devices :D

 solar.george

Regards,
Konstantin

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


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread Francesco de Virgilio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robin Paulson ha scritto:
 2009/4/28 Adam Jimerson vend...@gmail.com:
 Well it is nice to see that I am not the only person with this problem, for
 me Mofi doesn't even load, I am installing the one from opkg.org to see if I
 have any better luck with it.
 
 i'd recommend knjmokowifi also for managing connections, it works very nicely

Yeah, for me it's the best network manager ever created for FR ;)

- --
Francesco de Virgilio
*Ubuntu-it Member and Wiki Editor*
   mailto:frad...@ubuntu-it.org
   http://wiki.ubuntu-it.org/FrancescoDeVirgilio
*Wikimedia projects contributor*
   http://en.wikipedia.org/wiki/User:Fradeve11
*OpenStreetMap Mapper*
   http://www.openstreetmap.org/user/Fradeve11
*Blog*
   http://fradeve.netsons.org
Love - Peace - Freedom - Free Software
GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn3kgcACgkQRi2TsGSC4FbdEgCgiIPe6SPES7zjr+nn/kZp88hE
ROAAoKU92L1AcwzUMemvAQ6LrOh1RoBz
=Adl7
-END PGP SIGNATURE-

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


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-28 Thread Nicola Mfb
2009/4/27 Adam Jimerson vend...@gmail.com:
 I am still trying to get my wireless to work on the 4/16 release of
 SHR-Testing, I can get a scan to work on eth0 every now and then and the
 rest of the time I get a device does not support scanning error.  No
 matter if I can scan or not eth0 will not connect to any AP.  I have set up
 the /etc/network/interfaces so that eth0 uses wpa_supplicant, which I have
 the file setup with the APs and everything, and when I try and ifup eth0 it
 goes though the configurations but stops at a No lease failing error.  I
 have been at this for a while trying to get it to work and all my attempts
 have failed.  If anyone has any kind of suggestion, or if they have had this
 problem with this version of SHR-Testing please reply, I getting desperate
 and will try anything to get it to work.

I solved at least the no lease problem hacking a bit
/etc/udev/scripts/network.sh, basically when eth0 is added it launches
wpa_supplicant with -W (wait for wpa_cli) instead of ifup, after
launches wpa_cli -a /etc/wpa_supplicant/wpa_cli.sh, the last is a
script called when some event happens (CONNECT/DISCONNECT), on CONNECT
it launches udhcpc, and as eth0 is already associated and
authenticated I finally get a lease. I think this may be obtained
using wpa-roam too in a more elegant way, but it failed and I'm a bit
lazy to read an incomplete file set.
An issue is that power cycling the AP resulted in kernel reporting
ar6000 disconnected/connected but wpa_cli was not notified, after that
the freerunner continued to stay connected but I do not know if moving
to another configured network will notify a new association and a new
IP or I have to disable/reenable wifi.
This works starting/stopping wifi from shr-settings too without the
need of launch mofi.
I toggled wifi several times and it worked on a wpa-psk network
without problems, so I *suppose* that udhcpc when launched with the
eth0 not associated creates problems.
Tomorrow I'll try with the wpa2-enterprise network and report.

   Nicola

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


[SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-27 Thread Adam Jimerson
I am still trying to get my wireless to work on the 4/16 release of
SHR-Testing, I can get a scan to work on eth0 every now and then and the
rest of the time I get a device does not support scanning error.  No
matter if I can scan or not eth0 will not connect to any AP.  I have set up
the /etc/network/interfaces so that eth0 uses wpa_supplicant, which I have
the file setup with the APs and everything, and when I try and ifup eth0 it
goes though the configurations but stops at a No lease failing error.  I
have been at this for a while trying to get it to work and all my attempts
have failed.  If anyone has any kind of suggestion, or if they have had this
problem with this version of SHR-Testing please reply, I getting desperate
and will try anything to get it to work.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-27 Thread matthias
I had the same problems with the same image. But today, when i tried to
connect to the network of my university, it surprisingly worked.
I did the following:
powered up the device with shr-settings and started mofi.py in the terminal.
It worked fine until i switched the device off.
So, I hope that was no one-night-stand with me and eth0!
But your troubles make me worry!

Hope anyone can help!
Matthias

Adam Jimerson schrieb:
 I am still trying to get my wireless to work on the 4/16 release of
 SHR-Testing, I can get a scan to work on eth0 every now and then and
 the rest of the time I get a device does not support scanning
 error.  No matter if I can scan or not eth0 will not connect to any
 AP.  I have set up the /etc/network/interfaces so that eth0 uses
 wpa_supplicant, which I have the file setup with the APs and
 everything, and when I try and ifup eth0 it goes though the
 configurations but stops at a No lease failing error.  I have been
 at this for a while trying to get it to work and all my attempts have
 failed.  If anyone has any kind of suggestion, or if they have had
 this problem with this version of SHR-Testing please reply, I getting
 desperate and will try anything to get it to work.
 

 ___
 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: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-27 Thread Adam Jimerson
Well it is nice to see that I am not the only person with this problem, for
me Mofi doesn't even load, I am installing the one from opkg.org to see if I
have any better luck with it.

On Mon, Apr 27, 2009 at 2:43 PM, matthias matthiasfels...@web.de wrote:

 I had the same problems with the same image. But today, when i tried to
 connect to the network of my university, it surprisingly worked.
 I did the following:
 powered up the device with shr-settings and started mofi.py in the
 terminal.
 It worked fine until i switched the device off.
 So, I hope that was no one-night-stand with me and eth0!
 But your troubles make me worry!

 Hope anyone can help!
 Matthias

 Adam Jimerson schrieb:
  I am still trying to get my wireless to work on the 4/16 release of
  SHR-Testing, I can get a scan to work on eth0 every now and then and
  the rest of the time I get a device does not support scanning
  error.  No matter if I can scan or not eth0 will not connect to any
  AP.  I have set up the /etc/network/interfaces so that eth0 uses
  wpa_supplicant, which I have the file setup with the APs and
  everything, and when I try and ifup eth0 it goes though the
  configurations but stops at a No lease failing error.  I have been
  at this for a while trying to get it to work and all my attempts have
  failed.  If anyone has any kind of suggestion, or if they have had
  this problem with this version of SHR-Testing please reply, I getting
  desperate and will try anything to get it to work.
  
 
  ___
  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

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


Re: [SHR-Testing] Wireless Frustration (was: Re: [SHR-Testing] /etc/network/interfaces edit question)

2009-04-27 Thread Robin Paulson
2009/4/28 Adam Jimerson vend...@gmail.com:
 Well it is nice to see that I am not the only person with this problem, for
 me Mofi doesn't even load, I am installing the one from opkg.org to see if I
 have any better luck with it.

i'd recommend knjmokowifi also for managing connections, it works very nicely

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