Re: [SHR-U] Wifi stopped working

2010-04-26 Thread HansV

lsusb gives:
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub.

So I suppose my WiFi is dead.
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4961242.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread Ben Thompson
On Sun, Apr 25, 2010 at 11:42:39PM -0700, HansV wrote:
 
 lsusb gives:
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub.
 
 So I suppose my WiFi is dead.

No, I don't think so. My wifi is fine and I get the same output. How
are you using wifi by the way? Do you use wpa_supplicant or a GUI such
as Mokonnect or NWA?

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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread HansV

I use Mokonnect. It doesn't seem to find the WiFi hardware. The WiFi
indicator comes on in the shelf while Mokonnect is trying to power up the
device. But Mokonnect waits forever. Maybe some modules are missing in my
setup?
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4961348.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread Ben Thompson
On Mon, Apr 26, 2010 at 12:26:18AM -0700, HansV wrote:
 
 I use Mokonnect. It doesn't seem to find the WiFi hardware. The WiFi
 indicator comes on in the shelf while Mokonnect is trying to power up the
 device. But Mokonnect waits forever. Maybe some modules are missing in my
 setup?

Hmm, I have never really had any luck with Mokonnect so it might be
worth trying another client such as NWA or wpa_supplicant. However, if
you think there is a problem with the hardware maybe have a look in
the output of dmesg.


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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread Xavier Cremaschi
Wifi seems unavailable, but after seeking the ML I found there is a bug
in FSO MS5 (MS5 is the revision ?) and I had to do :
  echo s3c2440-sdi /sys/bus/platform/drivers/s3c2440-sdi/unbind
  echo s3c2440-sdi /sys/bus/platform/drivers/s3c2440-sdi/bind
in order to get eth0 back.


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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread HansV

[quote]Wifi seems unavailable, but after seeking the ML I found there is a
bug
in FSO MS5 (MS5 is the revision ?) and I had to do :
  echo s3c2440-sdi /sys/bus/platform/drivers/s3c2440-sdi/unbind
  echo s3c2440-sdi /sys/bus/platform/drivers/s3c2440-sdi/bind
in order to get eth0 back. [/quote]

I entered the commands above and eth0 is available now. But Mokonnect still
doesn't work, even after rebooting the FR. It says:
Wifi device seems to be off, trying to power it on...
This message takes forever. When the FR goes in standby the Wifi symbols is
shown in the top-shelf.
In Settings-Connectivity I can't change the WiFi setting, it always stays
in 'Automatic'.

After the reboot I had to enter the above commands again to get eth0 back.
The error message is now followed by:
Failed powering on the device or it was still not found in connman.
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4961739.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread Michele Brocco
to be honest. Mokonnect rarely worked for me. I would also suggest u
to use wpa_supplicant or similar wifi tools.
Usually I turn on wifi using the shr settings ui and then run
wpa_supplicant and udhcpc. That works 99% of the time if the interface
is up.

Good luck

On Mon, Apr 26, 2010 at 11:17 AM, HansV h...@vanpee.be wrote:

 [quote]Wifi seems unavailable, but after seeking the ML I found there is a
 bug
 in FSO MS5 (MS5 is the revision ?) and I had to do :
      echo s3c2440-sdi /sys/bus/platform/drivers/s3c2440-sdi/unbind
      echo s3c2440-sdi /sys/bus/platform/drivers/s3c2440-sdi/bind
 in order to get eth0 back. [/quote]

 I entered the commands above and eth0 is available now. But Mokonnect still
 doesn't work, even after rebooting the FR. It says:
 Wifi device seems to be off, trying to power it on...
 This message takes forever. When the FR goes in standby the Wifi symbols is
 shown in the top-shelf.
 In Settings-Connectivity I can't change the WiFi setting, it always stays
 in 'Automatic'.

 After the reboot I had to enter the above commands again to get eth0 back.
 The error message is now followed by:
 Failed powering on the device or it was still not found in connman.
 --
 View this message in context: 
 http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4961739.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.

 ___
 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-U] Wifi stopped working

2010-04-26 Thread HansV

Strange thing is that I can't power on using shr settings: the dropdown only
shows the 'Automatic' value, on and off are not available.
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4962328.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread Fox Mulder
Only when you switch the automatic value to manual the option to
power it on and off appears.

Am 26.04.2010 14:37, schrieb HansV:
 
 Strange thing is that I can't power on using shr settings: the dropdown only
 shows the 'Automatic' value, on and off are not available.

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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread Davide Scaini
On Mon, Apr 26, 2010 at 2:37 PM, HansV h...@vanpee.be wrote:


 Strange thing is that I can't power on using shr settings: the dropdown
 only
 shows the 'Automatic' value, on and off are not available.


do you switched (the switch) from automatic to manual?


 --
 View this message in context:
 http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4962328.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.

 ___
 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-U] Wifi stopped working

2010-04-26 Thread HansV

OK, I didn't see this is a switch, I thought it was a dropdown box. Now I can
switch it on manually. Still finding out how to start wifi with
wpa-supplicant.
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4963760.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: [SHR-U] Wifi stopped working

2010-04-26 Thread Paul Fertser
HansV h...@vanpee.be writes:
 OK, I didn't see this is a switch, I thought it was a dropdown
 box. Now I can switch it on manually. Still finding out how to start
 wifi with wpa-supplicant.

Hard to succeed when you're reluctant to read, eh? ;)

http://wiki.openmoko.org/wiki/FSO_Resources
http://www.mail-archive.com/community@lists.openmoko.org/msg58146.html

-- 
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: [SHR-U] Wifi stopped working

2010-04-25 Thread HansV

I have the same problem, but upgrading didn't solve it. I tried everything I
could think of, but no wifi so far. Any ideas?
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4959480.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: [SHR-U] Wifi stopped working

2010-04-25 Thread Iain B. Findleton
I have had experience with a lot of WiFi chips that is that they stop
working after a couple of years. Check that the device is found on your
machine. I use lsusb

HansV wrote:
 I have the same problem, but upgrading didn't solve it. I tried everything I
 could think of, but no wifi so far. Any ideas?
   


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


Re: [SHR-U] WiFi-related memory leak

2010-02-24 Thread Denis Shulyaka
2010/2/21 Timo Juhani Lindfors timo.lindf...@iki.fi:
 Can you try the same test again without swap?

Here it is. Without swap and midori this time:
ftp://shulyaka.org.ru/pub/memlog2.tar.bz2

The phone survived for 2 hours this time. I guess it could live a
little longer without transmission-daemon.
Xorg was killed at about 19:25.
I'm not sure about what happened with the script but id didn't take
logs for 25 minutes between 18:58 and 19:22. It's the time when
transmission-daemon was killed.

The most interesting line in slabtop was:
  OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME
 12278  12278 100%4.00K  122781 49112K size-4096

It was counting all the time the test was run. Don't know what it means though.

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


Re: [SHR-U] WiFi-related memory leak

2010-02-24 Thread Timo Juhani Lindfors
Denis Shulyaka shuly...@gmail.com writes:
 Here it is. Without swap and midori this time:
 ftp://shulyaka.org.ru/pub/memlog2.tar.bz2

Hmm. The memory usage of frameworkd actually decreased during the test:

$ grep frameworkd ps*
ps.17:57:32:root  1219 46.6 16.4  32368 19876 ?Ss   17:31  12:15 
python /usr/bin/frameworkd
ps.18:02:34:root  1219 39.1 16.4  32368 19876 ?Ss   17:31  12:16 
python /usr/bin/frameworkd
ps.18:07:36:root  1219 34.0 16.2  32368 19628 ?Ss   17:31  12:21 
python /usr/bin/frameworkd
ps.18:12:38:root  1219 29.9 16.1  32368 19500 ?Ss   17:31  12:22 
python /usr/bin/frameworkd
ps.18:17:40:root  1219 26.6 15.5  32368 18780 ?Ss   17:31  12:22 
python /usr/bin/frameworkd
ps.18:22:42:root  1219 24.0 15.4  32368 18676 ?Ss   17:31  12:23 
python /usr/bin/frameworkd
ps.18:27:44:root  1219 21.9 14.8  32368 17964 ?Ss   17:31  12:23 
python /usr/bin/frameworkd
ps.18:32:46:root  1219 20.1 14.5  32368 17592 ?Ss   17:31  12:23 
python /usr/bin/frameworkd
ps.18:37:50:root  1219 18.6 14.3  32368 17376 ?Ss   17:31  12:23 
python /usr/bin/frameworkd
ps.18:42:54:root  1219 17.2 14.0  32368 17044 ?Ss   17:31  12:23 
python /usr/bin/frameworkd
ps.18:48:00:root  1219 16.1 13.7  32368 16668 ?Ss   17:31  12:23 
python /usr/bin/frameworkd
ps.18:53:06:root  1219 15.1 13.5  32368 16384 ?Ds   17:31  12:24 
python /usr/bin/frameworkd
ps.18:58:33:root  1219 14.1 13.0  32368 15812 ?Ss   17:31  12:25 
python /usr/bin/frameworkd
ps.19:22:18:root  1219 13.5 13.5  32368 16356 ?Rs   17:31  15:02 
python /usr/bin/frameworkd
ps.19:27:22:root  1219 17.2 13.5  32368 16356 ?Rs   17:31  20:00 
python /usr/bin/frameworkd
ps.19:32:24:root  1219 20.6 13.5  32368 16356 ?Rs   17:31  24:58 
python /usr/bin/frameworkd
ps.19:37:26:root  1219 23.6 13.5  32368 16356 ?Rs   17:31  29:52 
python /usr/bin/frameworkd
ps.19:42:30:root  1219 26.5 13.5  32368 16356 ?Rs   17:31  34:51 
python /usr/bin/frameworkd
ps.19:47:47:root  1219 29.2 13.5  32368 16356 ?Rs   17:31  39:53 
python /usr/bin/frameworkd
ps.19:53:12:root  1219 31.0 13.5  32368 16356 ?Rs   17:31  44:01 
python /usr/bin/frameworkd

How can this happen? ;)

Same for Xorg too:

$ grep _ /usr/bin/Xorg ps*
ps.17:57:32:root  1203  3.9  5.4  10780  6592 tty1 Ss+ 17:31   1:03  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:02:34:root  1203  3.4  5.4  10780  6556 tty1 Ss+ 17:31   1:04  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:07:36:root  1203  3.0  4.9  10780  5948 tty1 Ss+ 17:31   1:06  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:12:38:root  1203  2.7  4.8  10780  5896 tty1 Ss+ 17:31   1:07  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:17:40:root  1203  2.4  4.4  10780  5436 tty1 Ss+ 17:31   1:09  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:22:42:root  1203  2.2  4.4  10780  5432 tty1 Ss+ 17:31   1:10  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:27:44:root  1203  2.0  4.4  10780  5352 tty1 Ss+ 17:31   1:11  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:32:46:root  1203  1.9  4.2  10780  5168 tty1 Ss+ 17:31   1:12  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:37:50:root  1203  1.8  4.3  10780  5224 tty1 Ss+ 17:31   1:14  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:42:54:root  1203  1.7  4.1  10780  5004 tty1 Ss+ 17:31   1:14  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:48:00:root  1203  1.6  3.8  10780  4712 tty1 Ss+ 17:31   1:15  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:53:06:root  1203  1.5  3.6  10780  4388 tty1 Ss+ 17:31   1:16  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.18:58:33:root  1203  1.5  3.5  10780  4284 tty1 Ss+ 17:31   1:20  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1
ps.19:22:18:root  1203  2.5  3.4   9916  4212 tty1 Rs+ 17:31   2:52  
\_ /usr/bin/Xorg :0 -pn -nocursor -dpi 280 vt1

and hal:

$ grep  1123  ps*
ps.17:57:32:sshd  1123  0.3  1.8   4512  2200 ?Ss   17:30   0:05 
/usr/sbin/hald
ps.18:02:34:sshd  1123  0.3  1.8   4512  2200 ?Ss   17:30   0:06 
/usr/sbin/hald
ps.18:07:36:sshd  1123  0.3  1.6   4512  2056 ?Ss   17:30   0:06 
/usr/sbin/hald
ps.18:12:38:sshd  1123  0.2  1.6   4512  2056 ?Ss   17:30   0:07 
/usr/sbin/hald
ps.18:17:40:sshd  1123  0.2  1.6   4512  1964 ?Ss   17:30   0:07 
/usr/sbin/hald
ps.18:22:42:sshd  1123  0.2  1.6   4512  1960 ?Ss   17:30   0:08 
/usr/sbin/hald
ps.18:27:44:sshd  1123  0.2  1.5   4512  1920 ?Ss   17:30   0:08 
/usr/sbin/hald
ps.18:32:46:sshd  1123  0.2  1.5   4512  1828 ?Ss   17:30   0:09 
/usr/sbin/hald
ps.18:37:50:sshd  1123  0.2  1.4   4512  1716 ?Ss   17:30   

Re: [SHR-U] WiFi-related memory leak

2010-02-24 Thread Denis Shulyaka
2010/2/24 Timo Juhani Lindfors timo.lindf...@iki.fi:
 Hmm. The memory usage of frameworkd actually decreased during the test:
 How can this happen? ;)
 Same for Xorg too:
 and hal:

I have no idea why it decreased. I guess kernel unloads some parts of
executable that are not executed ATM.

 (Why is it running as sshd user btw?!)

I don't know, isn't it default in SHR?

 I have never used slabtop before. Here when wifi is connected it
 displays
    38     38 100%    4.00K     38        1       152K size-4096

So it's just 152K. In my case it's 40-50K and counting.

BTW, what kind of WiFi authentication and encryption do you use? I use
WPA and TKIP, may be I should try something else?

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


Re: [SHR-U] WiFi-related memory leak

2010-02-24 Thread Timo Juhani Lindfors
Denis Shulyaka shuly...@gmail.com writes:
 I have no idea why it decreased. I guess kernel unloads some parts of
 executable that are not executed ATM.

Ah that is true, read-only mappings do not need to be kept in memory.

 BTW, what kind of WiFi authentication and encryption do you use? I use
 WPA and TKIP, may be I should try something else?

No encryption in this case.


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


Re: [SHR-U] WiFi-related memory leak

2010-02-22 Thread Bastian Muck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Am 21.02.2010 10:37, schrieb Timo Juhani Lindfors:
 Denis Shulyaka shuly...@gmail.com writes:
 It writes output of `ps auxf`, `free` and `df -h` to a corresponding
 file every 5 minutes.

 Hmm, you are using swap. I do not know how to see how many bytes each
 process has in swap. This would let us see which process is the one
 whose memory usage steadily increases. Now we only see that RSS
 (number of bytes each process has in RAM) decreases when the bytes are
 moved to swap.

 Can you try the same test again without swap?

I know, I can't help that much, but I am sure that midori is the
problem. I often hear music with vagalume over wlan and it is no
problem to hear 3 or 4 hours. But if I use Midori then after 10
minutes (and sometimes less) the system hangs because of no ram.


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


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iD8DBQFLgs/OlYiDScJJ+7QRAqSnAJ40A3/O51VvE/sRaIc5Rs1Y5NeygACeJ3mR
dSLOnSBG6CQRZJNRfs8J7+k=
=nSNz
-END PGP SIGNATURE-


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


Re: [SHR-U] WiFi-related memory leak

2010-02-22 Thread Timo Juhani Lindfors
Bastian Muck bastian.m...@gmx.de writes:
 I know, I can't help that much, but I am sure that midori is the
 problem. I often hear music with vagalume over wlan and it is no
 problem to hear 3 or 4 hours. But if I use Midori then after 10
 minutes (and sometimes less) the system hangs because of no ram.

You might want to free some RAM by using more light-weight
programs.

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


Re: [SHR-U] WiFi-related memory leak

2010-02-21 Thread rixed
 What additional info I can gather?

Use slabtop to monitor kernel memory pools. It may be interresting.


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


Re: [SHR-U] WiFi-related memory leak

2010-02-21 Thread Timo Juhani Lindfors
Denis Shulyaka shuly...@gmail.com writes:
 It writes output of `ps auxf`, `free` and `df -h` to a corresponding
 file every 5 minutes.

Hmm, you are using swap. I do not know how to see how many bytes each
process has in swap. This would let us see which process is the one
whose memory usage steadily increases. Now we only see that RSS
(number of bytes each process has in RAM) decreases when the bytes are
moved to swap.

Can you try the same test again without swap?


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


Re: [SHR-U] WiFi-related memory leak

2010-02-20 Thread Denis Shulyaka
2010/2/19 Denis Shulyaka shuly...@gmail.com:
 I'll do some logging of `ps auxf`, `free` and `df -h` every 5 minutes.

OK, I did some tests today, here are the logs:
ftp://shulyaka.org.ru/pub/memlog.tar.bz2

I have rebooted the phone to get clear results, started WiFi, Midori
and transmission-daemon and run the following script:

#!/bin/bash
while true; do
STAMP=`date +%H:%M:%S`
ps axuf  ps.$STAMP
free  free.$STAMP
df -h  df.$STAMP

sleep 300
done

It writes output of `ps auxf`, `free` and `df -h` to a corresponding
file every 5 minutes.

The phone could survive for 4 hours. When I look at the phone after
about 3 hrs and 45 min the Xorg (along with vala-terminal and my
script) was already killed (the last log entry was at 3:40). However I
still was able to ssh into the phone and get some final data manually
(named *.last).
On the phone screen I saw text console with following messages:

[15237.185000] Out of memory: kill process 1409 (screen) score 188 or a child
[15237.185000] Killed process 1442 (sh)
[15237.27] Out of memory: kill process 1215 (batget) score 166 or a child
[15237.275000] Killed process 1215 (batget)
[15238.045000] Out of memory: kill process 1409 (screen) score 124 or a child
[15238.05] Killed process 1409 (screen)
[15238.22] Out of memory: kill process 1473 (udhcpc) score 118 or a child
[15238.225000] Killed process 1473 (udhcpc)
[15238.355000] Out of memory: kill process 1445 (wpa_supplicant) score
106 or a child
[15238.36] Killed process 1445 (wpa_supplicant)
[15239.005000] Out of memory: kill process 2393 (bash) score 98 or a child
[15239.01] Killed process 2405 (bash)
[16042.17] Out of memory: kill process 2391 (sshd) score 89 or a child
[16042.17] Killed process 2393 (bash)
[16068.555000] Out of memory: kill process 1083 (sshd) score 56 or a child
[16068.555000] Killed process 1083 (sshd)

What additional info I can gather?

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


Re: [SHR-U] WiFi-related memory leak

2010-02-19 Thread Timo Juhani Lindfors
Denis Shulyaka shuly...@gmail.com writes:
 Is it a known problem, or I have unique combination of AP software and
 FR settings?

Never heard of such a problem. Can you make it happen again? Write a
cron job that logs the output of ps axuf to file every 30 minutes
for example. This makes it easy to see if some process is consuming
more and more memory.


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


Re: [SHR-U] WiFi-related memory leak

2010-02-19 Thread omcomali . rhn
On Thu, 18 Feb 2010 16:18:32 -0800 (PST)
vancel35 van...@thespazcat.com wrote:

 
 I don't know if what I saw was the same problem, but I left mine on my wifi
 ovenight and when I woke up, it wasn't responding very quickly, but as far
 as I know, nothing had been killed.
 
 I didn't even think about the Wifi being the problem.  If it's data-related,
 I probably didn't have enough data passing to cause a problem.
 
 -Laura

I've had something similar, compiling a big project on the Freerunner with swap 
enabled, wifi on.
Before I started, some RAM was free, after it finished (about 6h), and I closed 
all programs to match the previous state, the system was much less responsive, 
RAM was nearly full and 50MB of swap was used. All programs seemed to have 
normal reserved memory footprints.

The above details are not to be trusted, I could have overlooked something 
important.

Maybe it has something to do with memory fragmentation? Or maybe it's 
sd-related?

Cheers,
rhn

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


Re: [SHR-U] WiFi-related memory leak

2010-02-19 Thread William Kenworthy
On Fri, 2010-02-19 at 09:42 +0100, omcomali@porcupinefactory.org
wrote:
 On Thu, 18 Feb 2010 16:18:32 -0800 (PST)
 vancel35 van...@thespazcat.com wrote:
 
  
  I don't know if what I saw was the same problem, but I left mine on my wifi
  ovenight and when I woke up, it wasn't responding very quickly, but as far
  as I know, nothing had been killed.
  
  I didn't even think about the Wifi being the problem.  If it's data-related,
  I probably didn't have enough data passing to cause a problem.
  
  -Laura
 
 I've had something similar, compiling a big project on the Freerunner with 
 swap enabled, wifi on.
 Before I started, some RAM was free, after it finished (about 6h), and I 
 closed all programs to match the previous state, the system was much less 
 responsive, RAM was nearly full and 50MB of swap was used. All programs 
 seemed to have normal reserved memory footprints.
 
 The above details are not to be trusted, I could have overlooked something 
 important.
 
 Maybe it has something to do with memory fragmentation? Or maybe it's 
 sd-related?
 
 Cheers,
 rhn
 

There was a report a while back of logs (which are on a tmpfs and
therefore subtract from memory) filling up and causing problems.  When
on wifi is the FR generating lots of messages?  What does free and df
-h report?

BillK




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


Re: [SHR-U] WiFi-related memory leak

2010-02-19 Thread Denis Shulyaka
2010/2/19 Timo Juhani Lindfors timo.lindf...@iki.fi:
 Never heard of such a problem. Can you make it happen again? Write a
 cron job that logs the output of ps axuf to file every 30 minutes
 for example. This makes it easy to see if some process is consuming
 more and more memory.

Yes, it happens every time and much faster than the whole night. I'll
do some logging of `ps auxf`, `free` and `df -h` every 5 minutes.

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


Re: [SHR-U] Wifi stopped working

2010-02-18 Thread vancel35

An update here.

I upgraded my phone the night before last, and my wifi works again.  I had
just given up and was upgrading nightly.  I'm not sure what specific package
fixed it, but I noticed that some of the core packages were updated (such as
phonefsod, libframeworkd, mdbus2, etc.).

I think that I had found that it was that the dbus couldn't control the wifi
radio.  I'm not sure where the disconnect was, but the apps would call the
dbus, and the wifi radio wouldn't respond.

No matter which specific package it was, my wifi works now without me doing
anything beyond update/upgrade nightly.  I didn't add any extra kernel
modules or anything.

-Laura
-- 
View this message in context: 
http://n2.nabble.com/SHR-U-Wifi-stopped-working-tp4562468p4594298.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


[SHR-U] WiFi-related memory leak

2010-02-18 Thread Denis Shulyaka
Hi!

I'm using the latest SHR unstable. I experience some problems with
WiFi. When I enable WiFi and connect to an AP, it works well for about
half an hour. Then all the applications begin to respond more and more
slowly, and then kernel starts killing everything until it kills
wpa_supplicant or Xorg. Now I can't use my freerunner for downloading
torrents with transmission-daemon over night any more)

Is it a known problem, or I have unique combination of AP software and
FR settings?

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


Re: [SHR-U] WiFi-related memory leak

2010-02-18 Thread vancel35

I don't know if what I saw was the same problem, but I left mine on my wifi
ovenight and when I woke up, it wasn't responding very quickly, but as far
as I know, nothing had been killed.

I didn't even think about the Wifi being the problem.  If it's data-related,
I probably didn't have enough data passing to cause a problem.

-Laura
-- 
View this message in context: 
http://n2.nabble.com/SHR-U-WiFi-related-memory-leak-tp4595250p4595313.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: [SHR-U] Wifi stopped working

2010-02-13 Thread Neil Jerram
On 12 February 2010 17:43, vancel35 van...@thespazcat.com wrote:

 On a recent update/upgrade, I lost my ability to see wifi connections.  [...]

Sounds to me like a missing or not working kernel module - but I'm
totally guessing.  Have you also asked on the shr-users mailing list?

Regards,
 Neil

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


Re: [SHR-U] Wifi?

2010-01-12 Thread Al Johnson
On Monday 04 January 2010, Sebastian Krzyszkowiak wrote:
 I didn't try bluetooth, but WiFi just works here with plain
 wpa_supplicant, with open, WPA and WEP networks.
 When signal is weak, wmiconfig -i eth0 --power maxperf is sometimes
 very helpful.

This is also needed for certain access points even with a strong signal. My 
WRT54G (old, stock firmware) is very unreliable without it, but fine with it.

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


Re: [SHR-U] Wifi?

2010-01-09 Thread Paul Fertser
Iain B. FIndleton ifindle...@videotron.ca writes:
 Anybody actually have reliable bluetooth and/or wifi working on the 
 SHR-U using the .29 kernel from last December?

Yes, bluetooth networking just worked for me. Please refer to
[1]. Unfortunately, pidof trick doesnt't work anymore with the latest
bluez4 releases so one needs to use:

After bluetooth is powered on and bluetoothd is started one should do

export BTADAPTER=`dbus-send --system --dest=org.bluez --print-reply / \
org.bluez.Manager.DefaultAdapter | tail -1 | sed 's/^.*\(.*\).*$/\1/'`

And then in all instructions instead of /org/bluez/`pidof bluetoothd`/hci0

one should use $BTADAPTER. The panu script should be altered too
obviously.

(sorry, i haven't put it on the wiki yet :( )

[1] http://wiki.openmoko.org/wiki/Manually_using_Bluetooth
-- 
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


[SHR-U] Wifi?

2010-01-04 Thread Iain B. FIndleton
After many spent hours trying to get wifi and bluetooth up and running 
on SHR-U, I am about to conclude that these features just do not
work.

Wifi, after doing the bind and module reload things, works for about 10 
pings, then appears to just stop, hanging the USB connection as well.

Bluetooth, after trying to install bluez4 and encountering installation 
errors relating to lack of the bluetooth file in init.d, appears to do 
absolutely nothing. The mokonnect application is pretty useless to me 
for some reason, and the settings app appears to not set anything.

Anybody actually have reliable bluetooth and/or wifi working on the 
SHR-U using the .29 kernel from last December?

If so, what is the formula?

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


Re: [SHR-U] Wifi?

2010-01-04 Thread Sebastian Krzyszkowiak
On Mon, Jan 4, 2010 at 20:03, Iain B. FIndleton ifindle...@videotron.ca wrote:
 After many spent hours trying to get wifi and bluetooth up and running
 on SHR-U, I am about to conclude that these features just do not
 work.

 Wifi, after doing the bind and module reload things, works for about 10
 pings, then appears to just stop, hanging the USB connection as well.

 Bluetooth, after trying to install bluez4 and encountering installation
 errors relating to lack of the bluetooth file in init.d, appears to do
 absolutely nothing. The mokonnect application is pretty useless to me
 for some reason, and the settings app appears to not set anything.

 Anybody actually have reliable bluetooth and/or wifi working on the
 SHR-U using the .29 kernel from last December?

 If so, what is the formula?

I didn't try bluetooth, but WiFi just works here with plain
wpa_supplicant, with open, WPA and WEP networks.
When signal is weak, wmiconfig -i eth0 --power maxperf is sometimes
very helpful.

-- 
Sebastian Krzyszkowiak
dos

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


Re: [SHR-U] Wifi?

2010-01-04 Thread Neil Jerram
2010/1/4 Sebastian Krzyszkowiak seba.d...@gmail.com:

 I didn't try bluetooth, but WiFi just works here with plain
 wpa_supplicant, with open, WPA and WEP networks.

Is plain wpa_supplicant the default SHR setup?  Last time I checked,
I thought it wasn't.  I've always wondered why not, as none of the
other options (Mofi, wicd etc.) have ever worked as well for me as
plain wpa_supplicant.

Regards,
Neil

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


Re: [SHR-U] Wifi?

2010-01-04 Thread Christian Rüb
  I didn't try bluetooth, but WiFi just works here with plain
  wpa_supplicant, with open, WPA and WEP networks.
 
 Is plain wpa_supplicant the default SHR setup?  Last time I checked,
 I thought it wasn't.  I've always wondered why not, as none of the
 other options (Mofi, wicd etc.) have ever worked as well for me as
 plain wpa_supplicant.


+1 for plain wpa_supplicant in SHR
I tried several GUIs but none of them was sufficient - now I use wpa_supplicant 
(in roaming mode with config file, not dbus) and wpa_gui to configure my 
wpa_supplicant.conf.

Plain wpa_supplicant has been working for me for many months now (no 
encryption, WPA(2) PSK, WEP).

Christian

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


Re: [SHR-U] Wifi?

2010-01-04 Thread Michael Smith
On Mon, 4 Jan 2010 22:19:10 +0100
Christian Rüb christian.r...@gmx.net wrote:

 +1 for plain wpa_supplicant in SHR
 I tried several GUIs but none of them was sufficient - now I use 
 wpa_supplicant (in roaming mode with config file, not dbus) and wpa_gui to 
 configure my wpa_supplicant.conf.
 
 Plain wpa_supplicant has been working for me for many months now (no 
 encryption, WPA(2) PSK, WEP).

Can you post a quick howto here on how you do that?

Thanks.
-- 
Michael Smith
Network Applications
www.netapps.com.au   | +61 (0) 416 062 898
Web Hosting  | Internet Services

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


Re: [SHR-U] Wifi?

2010-01-04 Thread Petr Vanek
 Plain wpa_supplicant has been working for me for many months now (no
 encryption, WPA(2) PSK, WEP).

Can you post a quick howto here on how you do that?

http://wiki.openmoko.org/wiki/WiFi#Using_wpa_supplicant_manually

P.


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


Re: [SHR-U] Wifi?

2010-01-04 Thread Michael Smith
On Mon, 4 Jan 2010 22:35:24 +0100
Petr Vanek van...@penguin.cz wrote:

  Plain wpa_supplicant has been working for me for many months now (no
  encryption, WPA(2) PSK, WEP).
 
 Can you post a quick howto here on how you do that?
 
 http://wiki.openmoko.org/wiki/WiFi#Using_wpa_supplicant_manually

Okay thanks. I am thinking that it should be possible to put most of that 
procedure into a package, with a launcher icon to initiate the process.
-- 
Michael Smith
Network Applications
www.netapps.com.au   | +61 (0) 416 062 898
Web Hosting  | Internet Services

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


Re: [SHR-U] Wifi?

2010-01-04 Thread Petr Vanek

 http://wiki.openmoko.org/wiki/WiFi#Using_wpa_supplicant_manually

Okay thanks. I am thinking that it should be possible to put most of
that procedure into a package, with a launcher icon to initiate the


i myself use iwconfig (the dbus methods just don't work for me...),
but it would not be too hard to bend this script [1] to use
wpa_suplicant

P.

[1] http://www.opkg.org/package_315.html


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


Re: [SHR-U] Wifi?

2010-01-04 Thread Christian Rüb
  Plain wpa_supplicant has been working for me for many months now (no
  encryption, WPA(2) PSK, WEP).
 
 Can you post a quick howto here on how you do that?
 
 http://wiki.openmoko.org/wiki/WiFi#Using_wpa_supplicant_manually
 
 P.

I use it in conjunction with a wpa_action script (from Debian), so also IP 
configuration depends on the wireless network and does not have to be dhcp 
always.
Setting a lower metric for your default gateway on USB (e.g. 100) also makes 
your traffic go through wireless and not USB...

Once configured, all you have to do is turn wifi on and off...

I have a README and scripts tared here:
http://openmoko.senfdax.de/shr-new-unstable/wpa-roaming.tar
http://openmoko.senfdax.de/shr-new-unstable/wpa-roaming.README

Christian

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


Re: [shr-u] wifi connection

2009-12-04 Thread Arigead
William Kenworthy wrote:
 On Thu, 2009-12-03 at 11:00 -0500, Iain B. Findleton wrote:
 Arigead wrote:
 Hello All,
 I was going to try and connect my FR to my laptop with an ad-hoc
 wifi connection but being as I've never even connected to infrastructure
 I decided that I'd start there. I followed the instructions in the wiki
 [1] but got some strange results:

 ifdown eth0  ifup eth0
 ifdown: interface eth0 not configured
 WPA: Configuring Interface
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 udhcpc (v1.13.2) started
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 Sending discover...
 Sending discover...
 Sending select for 192.168.1.137...
 Sending select for 192.168.1.137...
 Lease of 192.168.1.137 obtained, lease time 3600
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 adding dns 192.168.1.254


 r...@om-gta02 /media/card $ ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:12:CF:8F:37:23
   inet6 addr: fe80::212:cfff:fe8f:3723/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:751 errors:0 dropped:0 overruns:0 frame:0
   TX packets:381 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:353244 (344.9 KiB)  TX bytes:9635 (9.4 KiB)


 It appears that I get offered an address by the DHCP server on the wifi
 but that it's not being used by eth0 for some reason. Is this a know
 issue. To be honest I've never tried to use the wifi part of the phone
 before and the wiki might be outdated, even for infrastructure mode?

 Cheers for any help that anybody has time to offer.

   
 I have similar problems getting wifi to work on SHR-U. In my case I get
 an address and configure the interface via dhcp, but can not establish
 any traffic to the interface. In one case I could ping a host but the
 transit time was enormous.

 The other thing I note from ifconfig is ridiculous RX and TX values,
 almost 1TB on an interface I never have used. Looks to me like a bug
 somewhere in the driver code.
 [1] http://wiki.openmoko.org/wiki/Wifi

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
   
 Check route -n, and are you trying wifi with usb plugged in? - depending
 on the order you start/stop interfaces the default route could either be
 wrong or missing.  And which version of shr-u - latest, or older.
 
 BillK
 
 
 

Hi BillK,
your response motivated me to look at the latest shr-u image as I
was using one from mid November. Thought I'd best update it even thought
I'm sort of happy with what I've got at present. I do want to use wifi
for a demo so off we go. I grabbed the shr-u kernel from 29th of
November and the lite rootfs from 30th. Bit of a WTF moment there when I
failed to find any wifi antenna setting in Settings/Connectivity where
 I'm used to seeing it. Decided that I'd just enable the eth0 interface
with an ifup but get told that interface don't exist.

Maybe I leaped too far forward in time. Have you any recommendations as
to which version to use? I might go back a version and see how I get on.
Maybe I should be using the full root-fs but I only want the basics at
present.

I did in the mean time discover coova-chilli for the first time. That
one slipped under my radar, like a good many other things. I'll go back
in time but if you've any advice on a good image let me know.

Cheers

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


Re: [shr-u] wifi connection

2009-12-04 Thread Kosa


Arigead escribió:
 William Kenworthy wrote:
 On Thu, 2009-12-03 at 11:00 -0500, Iain B. Findleton wrote:
 Arigead wrote:
 Hello All,
 I was going to try and connect my FR to my laptop with an ad-hoc
 wifi connection but being as I've never even connected to infrastructure
 I decided that I'd start there. I followed the instructions in the wiki
 [1] but got some strange results:

 ifdown eth0  ifup eth0
 ifdown: interface eth0 not configured
 WPA: Configuring Interface
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 udhcpc (v1.13.2) started
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 Sending discover...
 Sending discover...
 Sending select for 192.168.1.137...
 Sending select for 192.168.1.137...
 Lease of 192.168.1.137 obtained, lease time 3600
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 adding dns 192.168.1.254


 r...@om-gta02 /media/card $ ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:12:CF:8F:37:23
   inet6 addr: fe80::212:cfff:fe8f:3723/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:751 errors:0 dropped:0 overruns:0 frame:0
   TX packets:381 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:353244 (344.9 KiB)  TX bytes:9635 (9.4 KiB)


 It appears that I get offered an address by the DHCP server on the wifi
 but that it's not being used by eth0 for some reason. Is this a know
 issue. To be honest I've never tried to use the wifi part of the phone
 before and the wiki might be outdated, even for infrastructure mode?

 Cheers for any help that anybody has time to offer.

   
 I have similar problems getting wifi to work on SHR-U. In my case I get
 an address and configure the interface via dhcp, but can not establish
 any traffic to the interface. In one case I could ping a host but the
 transit time was enormous.

 The other thing I note from ifconfig is ridiculous RX and TX values,
 almost 1TB on an interface I never have used. Looks to me like a bug
 somewhere in the driver code.
 [1] http://wiki.openmoko.org/wiki/Wifi

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
   
 Check route -n, and are you trying wifi with usb plugged in? - depending
 on the order you start/stop interfaces the default route could either be
 wrong or missing.  And which version of shr-u - latest, or older.

 BillK



 
 Hi BillK,
 your response motivated me to look at the latest shr-u image as I
 was using one from mid November. Thought I'd best update it even thought
 I'm sort of happy with what I've got at present. I do want to use wifi
 for a demo so off we go. I grabbed the shr-u kernel from 29th of
 November and the lite rootfs from 30th. Bit of a WTF moment there when I
 failed to find any wifi antenna setting in Settings/Connectivity where
  I'm used to seeing it. Decided that I'd just enable the eth0 interface
 with an ifup but get told that interface don't exist.
 
 Maybe I leaped too far forward in time. Have you any recommendations as
 to which version to use? I might go back a version and see how I get on.
 Maybe I should be using the full root-fs but I only want the basics at
 present.
 
 I did in the mean time discover coova-chilli for the first time. That
 one slipped under my radar, like a good many other things. I'll go back
 in time but if you've any advice on a good image let me know.
 
 Cheers

Shr teams just announced the release of a testing-image and it seems to
work fine. Mokoconnect is not working but I have been able to set up a
wifi connection to both wep (without password) and wpa-psk networks
using the termninal.  Take a look at here:

http://build.shr-project.org/shr-testing/images/om-gta02/

Cheers!

Kosa

- Un mundo mejor es posible -

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


Re: [shr-u] wifi connection

2009-12-04 Thread Arigead
Kosa wrote:
 
 Arigead escribió:
 William Kenworthy wrote:
 On Thu, 2009-12-03 at 11:00 -0500, Iain B. Findleton wrote:
 Arigead wrote:
 Hello All,
 I was going to try and connect my FR to my laptop with an ad-hoc
 wifi connection but being as I've never even connected to infrastructure
 I decided that I'd start there. I followed the instructions in the wiki
 [1] but got some strange results:

 ifdown eth0  ifup eth0
 ifdown: interface eth0 not configured
 WPA: Configuring Interface
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 udhcpc (v1.13.2) started
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 Sending discover...
 Sending discover...
 Sending select for 192.168.1.137...
 Sending select for 192.168.1.137...
 Lease of 192.168.1.137 obtained, lease time 3600
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 adding dns 192.168.1.254


 r...@om-gta02 /media/card $ ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:12:CF:8F:37:23
   inet6 addr: fe80::212:cfff:fe8f:3723/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:751 errors:0 dropped:0 overruns:0 frame:0
   TX packets:381 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:353244 (344.9 KiB)  TX bytes:9635 (9.4 KiB)


 It appears that I get offered an address by the DHCP server on the wifi
 but that it's not being used by eth0 for some reason. Is this a know
 issue. To be honest I've never tried to use the wifi part of the phone
 before and the wiki might be outdated, even for infrastructure mode?

 Cheers for any help that anybody has time to offer.

   
 I have similar problems getting wifi to work on SHR-U. In my case I get
 an address and configure the interface via dhcp, but can not establish
 any traffic to the interface. In one case I could ping a host but the
 transit time was enormous.

 The other thing I note from ifconfig is ridiculous RX and TX values,
 almost 1TB on an interface I never have used. Looks to me like a bug
 somewhere in the driver code.
 [1] http://wiki.openmoko.org/wiki/Wifi

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
   
 Check route -n, and are you trying wifi with usb plugged in? - depending
 on the order you start/stop interfaces the default route could either be
 wrong or missing.  And which version of shr-u - latest, or older.

 BillK



 Hi BillK,
 your response motivated me to look at the latest shr-u image as I
 was using one from mid November. Thought I'd best update it even thought
 I'm sort of happy with what I've got at present. I do want to use wifi
 for a demo so off we go. I grabbed the shr-u kernel from 29th of
 November and the lite rootfs from 30th. Bit of a WTF moment there when I
 failed to find any wifi antenna setting in Settings/Connectivity where
  I'm used to seeing it. Decided that I'd just enable the eth0 interface
 with an ifup but get told that interface don't exist.

 Maybe I leaped too far forward in time. Have you any recommendations as
 to which version to use? I might go back a version and see how I get on.
 Maybe I should be using the full root-fs but I only want the basics at
 present.

 I did in the mean time discover coova-chilli for the first time. That
 one slipped under my radar, like a good many other things. I'll go back
 in time but if you've any advice on a good image let me know.

 Cheers
 
 Shr teams just announced the release of a testing-image and it seems to
 work fine. Mokoconnect is not working but I have been able to set up a
 wifi connection to both wep (without password) and wpa-psk networks
 using the termninal.  Take a look at here:
 
 http://build.shr-project.org/shr-testing/images/om-gta02/
 
 Cheers!
 
 Kosa
 
 - Un mundo mejor es posible -
 

I did an opkg update and an opkg upgrade of my lite rootfs from the
30th of November and now there is a wifi on setting in
Setting/Connectivity  but doesn't seem to be able to find a dhcp offer
on my network.

I'll maybe change to the testing image and see how that works out.

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


Re: [shr-u] wifi connection

2009-12-03 Thread Iain B. Findleton
Arigead wrote:
 Hello All,
 I was going to try and connect my FR to my laptop with an ad-hoc
 wifi connection but being as I've never even connected to infrastructure
 I decided that I'd start there. I followed the instructions in the wiki
 [1] but got some strange results:

 ifdown eth0  ifup eth0
 ifdown: interface eth0 not configured
 WPA: Configuring Interface
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 udhcpc (v1.13.2) started
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 Sending discover...
 Sending discover...
 Sending select for 192.168.1.137...
 Sending select for 192.168.1.137...
 Lease of 192.168.1.137 obtained, lease time 3600
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 adding dns 192.168.1.254


 r...@om-gta02 /media/card $ ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:12:CF:8F:37:23
   inet6 addr: fe80::212:cfff:fe8f:3723/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:751 errors:0 dropped:0 overruns:0 frame:0
   TX packets:381 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:353244 (344.9 KiB)  TX bytes:9635 (9.4 KiB)


 It appears that I get offered an address by the DHCP server on the wifi
 but that it's not being used by eth0 for some reason. Is this a know
 issue. To be honest I've never tried to use the wifi part of the phone
 before and the wiki might be outdated, even for infrastructure mode?

 Cheers for any help that anybody has time to offer.

   
I have similar problems getting wifi to work on SHR-U. In my case I get
an address and configure the interface via dhcp, but can not establish
any traffic to the interface. In one case I could ping a host but the
transit time was enormous.

The other thing I note from ifconfig is ridiculous RX and TX values,
almost 1TB on an interface I never have used. Looks to me like a bug
somewhere in the driver code.
 [1] http://wiki.openmoko.org/wiki/Wifi

 ___
 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-u] wifi connection

2009-12-03 Thread William Kenworthy
On Thu, 2009-12-03 at 11:00 -0500, Iain B. Findleton wrote:
 Arigead wrote:
  Hello All,
  I was going to try and connect my FR to my laptop with an ad-hoc
  wifi connection but being as I've never even connected to infrastructure
  I decided that I'd start there. I followed the instructions in the wiki
  [1] but got some strange results:
 
  ifdown eth0  ifup eth0
  ifdown: interface eth0 not configured
  WPA: Configuring Interface
  ioctl[SIOCSIWENCODEEXT]: Operation not supported
  ioctl[SIOCSIWENCODEEXT]: Operation not supported
  ioctl[SIOCSIWENCODEEXT]: Operation not supported
  ioctl[SIOCSIWENCODEEXT]: Operation not supported
  udhcpc (v1.13.2) started
  run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
  Sending discover...
  Sending discover...
  Sending select for 192.168.1.137...
  Sending select for 192.168.1.137...
  Lease of 192.168.1.137 obtained, lease time 3600
  run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
  adding dns 192.168.1.254
 
 
  r...@om-gta02 /media/card $ ifconfig
  eth0  Link encap:Ethernet  HWaddr 00:12:CF:8F:37:23
inet6 addr: fe80::212:cfff:fe8f:3723/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:751 errors:0 dropped:0 overruns:0 frame:0
TX packets:381 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:353244 (344.9 KiB)  TX bytes:9635 (9.4 KiB)
 
 
  It appears that I get offered an address by the DHCP server on the wifi
  but that it's not being used by eth0 for some reason. Is this a know
  issue. To be honest I've never tried to use the wifi part of the phone
  before and the wiki might be outdated, even for infrastructure mode?
 
  Cheers for any help that anybody has time to offer.
 

 I have similar problems getting wifi to work on SHR-U. In my case I get
 an address and configure the interface via dhcp, but can not establish
 any traffic to the interface. In one case I could ping a host but the
 transit time was enormous.
 
 The other thing I note from ifconfig is ridiculous RX and TX values,
 almost 1TB on an interface I never have used. Looks to me like a bug
 somewhere in the driver code.
  [1] http://wiki.openmoko.org/wiki/Wifi
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community

Check route -n, and are you trying wifi with usb plugged in? - depending
on the order you start/stop interfaces the default route could either be
wrong or missing.  And which version of shr-u - latest, or older.

BillK




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


[shr-u] wifi connection

2009-12-02 Thread Arigead
Hello All,
I was going to try and connect my FR to my laptop with an ad-hoc
wifi connection but being as I've never even connected to infrastructure
I decided that I'd start there. I followed the instructions in the wiki
[1] but got some strange results:

ifdown eth0  ifup eth0
ifdown: interface eth0 not configured
WPA: Configuring Interface
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
udhcpc (v1.13.2) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
Sending discover...
Sending discover...
Sending select for 192.168.1.137...
Sending select for 192.168.1.137...
Lease of 192.168.1.137 obtained, lease time 3600
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
adding dns 192.168.1.254


r...@om-gta02 /media/card $ ifconfig
eth0  Link encap:Ethernet  HWaddr 00:12:CF:8F:37:23
  inet6 addr: fe80::212:cfff:fe8f:3723/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:751 errors:0 dropped:0 overruns:0 frame:0
  TX packets:381 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:353244 (344.9 KiB)  TX bytes:9635 (9.4 KiB)


It appears that I get offered an address by the DHCP server on the wifi
but that it's not being used by eth0 for some reason. Is this a know
issue. To be honest I've never tried to use the wifi part of the phone
before and the wiki might be outdated, even for infrastructure mode?

Cheers for any help that anybody has time to offer.


[1] http://wiki.openmoko.org/wiki/Wifi

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


Re: SHR-U wifi problem!!

2009-10-31 Thread Mario Huelsegge


Aditya Gandhi wrote:
 
 
 I dont know about encryption problems
 And its recursive even after reboot
 The aux buttin red led starts blinking after about 5-10 secs

 

I got the same problem with mokonnect using wep encryption (blinking aux
light). After switching to wpa2 mokonnect worked without problems. so it
seems to be a problem with encryption.
-- 
View this message in context: 
http://n2.nabble.com/SHR-U-wifi-problem-tp3920986p3924188.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: SHR-U wifi problem!!

2009-10-31 Thread Aditya Gandhi
 Thanks I do use wep

On Sat, Oct 31, 2009 at 9:16 PM, Mario Huelsegge huelse...@gmx.de wrote:



 Aditya Gandhi wrote:
 
 
  I dont know about encryption problems
  And its recursive even after reboot
  The aux buttin red led starts blinking after about 5-10 secs
 
 

 I got the same problem with mokonnect using wep encryption (blinking aux
 light). After switching to wpa2 mokonnect worked without problems. so it
 seems to be a problem with encryption.
 --
 View this message in context:
 http://n2.nabble.com/SHR-U-wifi-problem-tp3920986p3924188.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.

 ___
 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


SHR-U wifi problem!!

2009-10-30 Thread Aditya Gandhi
I flashed my freerunner with shr-u, did an opkg upgrade
now when i try connecting to wifi it hangs, stops responding...
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SHR-U wifi problem!!

2009-10-30 Thread Aditya Gandhi
i use mokonet to connect

On Sat, Oct 31, 2009 at 1:00 AM, Aditya Gandhi aditya...@gmail.com wrote:

 I flashed my freerunner with shr-u, did an opkg upgrade
 now when i try connecting to wifi it hangs, stops responding...

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


Re: SHR-U wifi problem!!

2009-10-30 Thread Matthias Huber

Aditya Gandhi schrieb:

i use mokonet to connect

On Sat, Oct 31, 2009 at 1:00 AM, Aditya Gandhi aditya...@gmail.com 
mailto:aditya...@gmail.com wrote:


I flashed my freerunner with shr-u, did an opkg upgrade
now when i try connecting to wifi it hangs, stops responding...


strange. is it reproducable (with reboot) ?

i have something in mind with encryption problems of mokonnect (did you 
mean them ?)



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


Re: SHR-U wifi problem!!

2009-10-30 Thread Aditya Gandhi
I dont know about encryption problems
And its recursive even after reboot
The aux buttin red led starts blinking after about 5-10 secs

On Sat, Oct 31, 2009 at 1:35 AM, Matthias Huber 
matthias.hu...@wollishausen.de wrote:

  Aditya Gandhi schrieb:

 i use mokonet to connect

 On Sat, Oct 31, 2009 at 1:00 AM, Aditya Gandhi aditya...@gmail.comwrote:

 I flashed my freerunner with shr-u, did an opkg upgrade
 now when i try connecting to wifi it hangs, stops responding...

  strange. is it reproducable (with reboot) ?

 i have something in mind with encryption problems of mokonnect (did you
 mean them ?)



 ___
 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-U wifi problem!!

2009-10-30 Thread Aditya Gandhi
I did a reinstall using usbnet still the same problem

On Sat, Oct 31, 2009 at 1:46 AM, Aditya Gandhi aditya...@gmail.com wrote:

 I dont know about encryption problems
 And its recursive even after reboot
 The aux buttin red led starts blinking after about 5-10 secs

 On Sat, Oct 31, 2009 at 1:35 AM, Matthias Huber 
 matthias.hu...@wollishausen.de wrote:

  Aditya Gandhi schrieb:

 i use mokonet to connect

 On Sat, Oct 31, 2009 at 1:00 AM, Aditya Gandhi aditya...@gmail.comwrote:

 I flashed my freerunner with shr-u, did an opkg upgrade
 now when i try connecting to wifi it hangs, stops responding...

  strange. is it reproducable (with reboot) ?

 i have something in mind with encryption problems of mokonnect (did you
 mean them ?)



 ___
 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


[SHR-u] Wifi, Keyboard and scripting

2009-10-28 Thread Johan Kraft
Hi all,

I have got a couple of questions regarding the latest SHR-u.

Is is possible to have it _not_ suspend as default when on battery?
How do I turn on the wifi radio from the command line (instead of going
through the settings)?
How do I run a script automatically at the end of the start up process?
When I start the terminal, the keyboard is the predictive one. How do I
change it to the 'terminal' keyboard as default?

In appreciation of your time

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


Re: [SHR-u] Wifi, Keyboard and scripting

2009-10-28 Thread Al Johnson
On Wednesday 28 October 2009, Johan Kraft wrote:
 Hi all,
 
 I have got a couple of questions regarding the latest SHR-u.
 
 Is is possible to have it _not_ suspend as default when on battery?

Settings - Power in the 'Power Settings' section

 How do I turn on the wifi radio from the command line (instead of going
 through the settings)?

mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage 
org.freesmartphone.Usage.SetResourcePolicy WiFi enabled

Change 'enabled' to 'auto' to let apps request it, or 'disabled' to force it 
off.

 How do I run a script automatically at the end of the start up process?

Never looked into that one.

 When I start the terminal, the keyboard is the predictive one. How do I
 change it to the 'terminal' keyboard as default?

Keyboard definitions live in 
/usr/lib/enlightenment/modules/illume/keyboard/*.kbd
The default definition is whichever is named Default.kbd, so if you rename the 
files you can change which is used by default.

 In appreciation of your time
 
 -Johan
 


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


Re: [SHR-u] Wifi, Keyboard and scripting

2009-10-28 Thread Petr Vanek
Is is possible to have it _not_ suspend as default when on battery?

Settings-Power-Auto-suspend: Off

How do I turn on the wifi radio from the command line (instead of going
through the settings)?

opkg install fsoraw

fsoraw --help

How do I run a script automatically at the end of the start up process?

start up of the system or start up of X?

either place your script into /etc/rc5.d or /etc/X11/Xsession.d , look
into how scripts are named - numbered. use the highest number +1 of
existing scripts or 99 to be the last to start.

When I start the terminal, the keyboard is the predictive one. How do I
change it to the 'terminal' keyboard as default?

http://wiki.openmoko.org/wiki/Illume_keyboard

Petr


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


Re: [SHR-u] Wifi, Keyboard and scripting

2009-10-28 Thread Matthias Huber
Johan Kraft schrieb:
 How do I run a script automatically at the end of the start up process?
make a script: /etc/init.d/johankraft

chmod +x /etc/init.d/johankraft
cd /etc/init.d/rc5.d
ln -s ../init.d/johannkraft S99johannkraft



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


Re: [SHR-u] Wifi, Keyboard and scripting

2009-10-28 Thread Johan Kraft
Hi,

Thanks for the answers, they are just what I needed. I should have
been more clear on the first one though.

I asked:
 Is is possible to have it _not_ suspend as default when on battery?

What I really meant was:
 Is is possible to have the FR _not_ suspend as default when on
battery, without going through the settings menu?


Cheers
Johan

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


Re: [SHR-u] Wifi, Keyboard and scripting

2009-10-28 Thread Matthias Huber
Johan Kraft schrieb:
 Hi,

 Thanks for the answers, they are just what I needed. I should have
 been more clear on the first one though.

 I asked:
  Is is possible to have it _not_ suspend as default when on battery?

 What I really meant was:
  Is is possible to have the FR _not_ suspend as default when on
 battery, without going through the settings menu?

   

should be normal behavior(not to suspend while on cable), but i also get 
sometimes the case, that it is suspending, although on the usb cable.
just replug and it won't be asleep furthermore. (happens some time, hope 
devs correct it in future)





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


Re: [shr-u] wifi timeout with mokonnect

2009-08-23 Thread Rask Ingemann Lambertsen
On Thu, Aug 20, 2009 at 12:16:02AM +0200, Bernhard Reiter wrote:
 Am Sonntag, den 16.08.2009, 21:00 +0200 schrieb Rask Ingemann
 Lambertsen:

  Someone needs to sit down with the firmware interface
  specification (i.e. from the existing driver?) and match it up
  with the Linux network device API (make htmldocs) and then write
  a new driver.
 
 any takers? at least for a detailed bug report? rask, what about
 yourself?

   I will not have the time at least until the gta02-core is out. It's
something that won't have basic functionality after a weekend because
 - The firmware is said to be a pain to work with,
 - I'm unfamiliar with the SDIO stack for communication with the card,
 - I'm unfamiliar with the IEEE 802.11 network layer,
 - I'm not yet using WLAN, but at least the 802.11 card that was collecting
   dust on a table for a few months has now found its way into a PCI slot.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-19 Thread Bernhard Reiter
Am Sonntag, den 16.08.2009, 21:00 +0200 schrieb Rask Ingemann
Lambertsen:
What little I've seen of that code does not look promising. The author
 didn't understand the netif_stop_queue()/netif_wake_queue() calls, so who
 knows what else might have gone wrong? Someone needs to sit down with the
 firmware interface specification (i.e. from the existing driver?) and match
 it up with the Linux network device API (make htmldocs) and then write
 a new driver.

any takers? at least for a detailed bug report? rask, what about
yourself?

bernhard


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


Re: [shr-u] wifi timeout with mokonnect

2009-08-17 Thread Rask Ingemann Lambertsen
On Sat, Aug 15, 2009 at 01:14:37AM +0400, Paul Fertser wrote:

 I really hoped Werner would take care of that but he's too busy with
 gta02-core project currently and we lack another expert in Wifi in
 general and Atheros's crappy code in particular :(

   What little I've seen of that code does not look promising. The author
didn't understand the netif_stop_queue()/netif_wake_queue() calls, so who
knows what else might have gone wrong? Someone needs to sit down with the
firmware interface specification (i.e. from the existing driver?) and match
it up with the Linux network device API (make htmldocs) and then write
a new driver.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-15 Thread Paul Fertser
arne anka openm...@ginguppin.de writes:
 and the fr is shock frozen.
 not really convincing a performance.

Reproduced it. Thanks for the bugreport, will try to
investigate.

Sorry for misinformation, i guess i did something slightly different
before so it didn't result in kernel panic. Sorry :(

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-15 Thread arne anka
 Sorry for misinformation,

i don't think misinformation is the right word here -- at least it  
helped me to understnad, what is supposed to be done and to happen.
and it looks like that instigated other people as well to try again.

if you or someone else can make something from the output, i'd be more  
than happy.

btw: what bothers me, with the preinstalled 2007.X wifi worked and did so  
with kernel 2.6.24, what broke that in 2.6.2[89]?

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-15 Thread William Kenworthy
The way I got around this is to use two scripts - the first just handles
spawning wpa_suppliocant and stops at a read statement - then hitting a
return key exits the script.  The various rm and kill commands are to
cleanup before and after - needed for reliable and repeatable
connections!  This works with AP's wpa2, wep and no encryption at all (I
use kernel 2.6.28 on shr-u, but it works with 2.6.29 as well)

The second script just calls the first using fsoraw - I use a desktop
icon calling script2 using xterm -e script2

script1:
#!/bin/sh

killall -9 wpa_supplicant udhcpc
sleep 1
rm /var/run/wpa_supplicant/eth0

echo wifi starting!
/usr/sbin/wpa_supplicant -B -t -i eth0 -Dwext
-c /etc/wpa_supplicant/wpa_supplicant.conf 
sleep 8
ifup eth0
route del default gw 192.168.0.200
read
ifdown eth0
killall -9 wpa_supplicant udhcpc
echo WiFi off


script2:
#!/bin/sh

export USER=root
export HOME=/home/root

cd /home/root
ifdown eth0

sleep 1

/usr/bin/fsoraw -s -r WiFi,CPU -- /home/root/mefiles/wifi

echo Done!



On Fri, 2009-08-14 at 20:46 +0200, arne anka wrote:
 well, i did right now
 
 # fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext  
 -c/etc/wpa_supplicant/wpa_supplicant.conf
 
 which resulted in
 
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 CTRL-EVENT-SCAN-RESULTS
 Trying to associate with XX:XX:.. (SSID='myssid' freq=2422 MHz)
 Association request to the driver failed
 Associated with XX:XX...
 WPA: Key negotiation completed with XX:XX:... [PTK=TKIP GTK=TKIP]
 CTRL-EVENT-CONNECTED - Connection to XX:XX:XX:... completed (auth) [id=2  
 id_str=]
 
 ok, dhclient eth0 opbtained an ip.
 but so fra i got vene without fsoraw the last time. let's see, what  
 happens in a second attempt.
 
 killing 'fsoraw ...' with CTRL+C ...
 
 CTRL-EVENT-TERMINATING - signal 2 received
 ioctl[SIOCSIWESSID]: Invalid argument
 ioctl[SIOCSIWMLME]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 
 
 hmm. ok,
 
 # fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext  
 -c/etc/wpa_supplicant/wpa_supplicant.conf
 
 and ...
 
   ioctl[SIOCGIWRANGE]: Input/output error
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCGIWSCAN]: Input/output error
 ioctl[SIOCSIWSCAN]: Input/output error
 Failed to initiate AP scan.
 ioctl[SIOCGIWSCAN]: Input/output error
 ioctl[SIOCSIWSCAN]: Input/output error
 Failed to initiate AP scan.
 ioctl[SIOCGIWSCAN]: Input/output error
 ioctl[SIOCSIWSCAN]: Input/output error
 Failed to initiate AP scan.
 ioctl[SIOCGIWSCAN]: Input/output error
 ioctl[SIOCSIWSCAN]: Input/output error
 Failed to initiate AP scan.
 ioctl[SIOCGIWSCAN]: Input/output error
 ioctl[SIOCSIWSCAN]: Input/output error
 ioctl[SIOCGIWSCAN]: Input/output error
 ...
 
 indefinitely.
 
 # killall wpa_suplicant
 
 and the fr is shock frozen.
 not really convincing a performance.
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!


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


Re: [shr-u] wifi timeout with mokonnect

2009-08-14 Thread arne anka
well, i did right now

# fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext  
-c/etc/wpa_supplicant/wpa_supplicant.conf

which resulted in

ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
CTRL-EVENT-SCAN-RESULTS
Trying to associate with XX:XX:.. (SSID='myssid' freq=2422 MHz)
Association request to the driver failed
Associated with XX:XX...
WPA: Key negotiation completed with XX:XX:... [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to XX:XX:XX:... completed (auth) [id=2  
id_str=]

ok, dhclient eth0 opbtained an ip.
but so fra i got vene without fsoraw the last time. let's see, what  
happens in a second attempt.

killing 'fsoraw ...' with CTRL+C ...

CTRL-EVENT-TERMINATING - signal 2 received
ioctl[SIOCSIWESSID]: Invalid argument
ioctl[SIOCSIWMLME]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported


hmm. ok,

# fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext  
-c/etc/wpa_supplicant/wpa_supplicant.conf

and ...

  ioctl[SIOCGIWRANGE]: Input/output error
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCGIWSCAN]: Input/output error
ioctl[SIOCSIWSCAN]: Input/output error
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Input/output error
ioctl[SIOCSIWSCAN]: Input/output error
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Input/output error
ioctl[SIOCSIWSCAN]: Input/output error
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Input/output error
ioctl[SIOCSIWSCAN]: Input/output error
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Input/output error
ioctl[SIOCSIWSCAN]: Input/output error
ioctl[SIOCGIWSCAN]: Input/output error
...

indefinitely.

# killall wpa_suplicant

and the fr is shock frozen.
not really convincing a performance.

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


Re: Re: [shr-u] wifi timeout with mokonnect

2009-08-14 Thread Peter Mogensen
arne anka wrote:
 well, i did 
 right now
 
 # fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext 
 -c/etc/wpa_supplicant/wpa_supplicant.conf
 
 which resulted in
[snip a lot]
 indefinitely.

I get excatly the same.

Only once have I managed to get a DHCP lease, but the network failed 
just after that.

What has gone wrong with WiFi during the summer? In april, I had an 
almost working phone with almost stable WiFi - at least the first 
connect after boot was never a problem.
Now I got it buzz-fixed, moved to the other end of the country and had 
holiday and when I return WiFi is broken and I have to use slow USB net.

Some one must know what has changed? New kernel?

/Peter


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


Re: [shr-u] wifi timeout with mokonnect

2009-08-14 Thread Paul Fertser
Peter Mogensen a...@bigendian.dk writes:
 Some one must know what has changed? New kernel?

Well, i must admit i collected several reports that despite huge gains
from moving to upstream SDIO stack there're some regressions. Several
people reported they can't connect to the networks they were able to
use before no matter what they try.

I really hoped Werner would take care of that but he's too busy with
gta02-core project currently and we lack another expert in Wifi in
general and Atheros's crappy code in particular :(

Life is unfair :-/

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-13 Thread Adam Jimerson
On Wednesday 12 August 2009 11:19:55 am you wrote:
 Adam, i can't see a decent reason for you to omit the list from CC.

 On Wed, Aug 12, 2009 at 11:09:35AM -0400, Adam Jimerson wrote:
  On Wednesday 12 August 2009 04:57:48 am you wrote:
   Adam Jimerson vend...@gmail.com writes:
On Tuesday 11 August 2009 02:41:53 am Paul Fertser wrote:
Please try wpa_supplicant method as described on FSO_Resources
wikipage and report the results.
   
I know wpa_supplicant stopped working for me, I don't know what went
wrong but when I started using mokonnect/connman it worked with no
hassles with the .29 kernel with out the test patches installed.
  
   AFAIK either you're not using any WPA networks or you use
   wpa_supplicant, connman can't affect that.
 
  That is right all the networks I use, or try to use, are just MAC
  filtered which wpa_supplicant use to work fine for but it stopped getting
  DHCP for some reason and the same goes for Mokonnect/connman

 wpa_supplicant never gets DHCP, that's something a dhcp client should be
 used for. Also you don't say if you tried the maxperf trick or not.

I know that wpa_supplicant doesn't handle DHCP but when I was using it then 
the ifup command would say that it connected, didn't return an error, but DHCP 
would always fail but it never did this before.  Then I switched to mokonnect 
after learning about it and it worked right after install until it got updated 
from the one in the SHR feeds which I'm guessing something broke.
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


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-u] wifi timeout with mokonnect

2009-08-13 Thread Paul Fertser
Adam Jimerson vend...@gmail.com writes:
 wpa_supplicant never gets DHCP, that's something a dhcp client should be
 used for. Also you don't say if you tried the maxperf trick or not.

 I know that wpa_supplicant doesn't handle DHCP but when I was using it then 
 the ifup command would say that it connected, didn't return an error, but 
 DHCP 
 would always fail but it never did this before.

ifup command is unnecessary here and quite possibly messes something
up.

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-13 Thread arne anka
 I know that wpa_supplicant doesn't handle DHCP but when I was using it  
 then
 the ifup command would say that it connected, didn't return an error,  
 but DHCP
 would always fail but it never did this before.

 ifup command is unnecessary here and quite possibly messes something
 up.


ok, i bite.

_how_ is it supposed to be done?
enabling wifi manually is not advised
ifup is not necessary and might be messing up.

please, paul, give me (and probably others too) a plain working example  
how to get up and down wifi repeatedly and reliable.
i don't have mokoconnect available, connman does not work for me on debian  
and the two or three other managers mentioned here and there are not  
available to me.
the most basic way would probably be
/etc/network/interfaces
so, how should that file loook like, how (if ifup is not advisable) is the  
iface to get up and down?



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


Re: [shr-u] wifi timeout with mokonnect

2009-08-13 Thread Adam Jimerson
On Thursday 13 August 2009 10:55:38 am arne anka wrote:
  I know that wpa_supplicant doesn't handle DHCP but when I was using it
  then
  the ifup command would say that it connected, didn't return an error,
  but DHCP
  would always fail but it never did this before.
 
  ifup command is unnecessary here and quite possibly messes something
  up.

 ok, i bite.

 _how_ is it supposed to be done?
 enabling wifi manually is not advised
 ifup is not necessary and might be messing up.

 please, paul, give me (and probably others too) a plain working example
 how to get up and down wifi repeatedly and reliable.
 i don't have mokoconnect available, connman does not work for me on debian
 and the two or three other managers mentioned here and there are not
 available to me.
 the most basic way would probably be
 /etc/network/interfaces
 so, how should that file loook like, how (if ifup is not advisable) is the
 iface to get up and down?


Same here I would like to know how to connect to a network without using the 
ifconfig commands
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


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-u] wifi timeout with mokonnect

2009-08-13 Thread Paul Fertser
Adam Jimerson vend...@gmail.com writes:
 On Thursday 13 August 2009 10:55:38 am arne anka wrote:
  I know that wpa_supplicant doesn't handle DHCP but when I was using it
  then
  the ifup command would say that it connected, didn't return an error,
  but DHCP
  would always fail but it never did this before.
 
  ifup command is unnecessary here and quite possibly messes something
  up.

 _how_ is it supposed to be done?


 Same here I would like to know how to connect to a network without using the 
 ifconfig commands

0. So, clean boot, you didn't touch resource policies in any way (SHR
settings/mdbus/whatever).
1. Then ``vim /etc/wpa_supplicant/wpa_supplicant.conf'' and configure the
way you need.
2. Then ``fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext
-c/etc/wpa_supplicant/wpa_supplicant.conf'' and wait for it to associate.
3. ``dhclient eth0'' (or whatever your favourite client is)
4. enjoy

If the step 2 or 3 fails, then 
2.5 ``wmiconfig -i eth0 --power=maxperf''

HTH
-- 
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: Re: [shr-u] wifi timeout with mokonnect

2009-08-13 Thread Peter Mogensen
Paul Fertser wrote:
 Adam Jimerson vend...@gmail.com writes:
 Same here I would like to know how to connect to a network without using the 
 ifconfig commands
 
 0. So, clean boot, you didn't touch resource policies in any way (SHR
 settings/mdbus/whatever).
 1. Then ``vim /etc/wpa_supplicant/wpa_supplicant.conf'' and configure the
 way you need.
 2. Then ``fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext
 -c/etc/wpa_supplicant/wpa_supplicant.conf'' and wait for it to associate.
 3. ``dhclient eth0'' (or whatever your favourite client is)
 4. enjoy
 
 If the step 2 or 3 fails, then 
 2.5 ``wmiconfig -i eth0 --power=maxperf''

No luck...
If I omit doing step 2.5 as step 1.5 eth0 just disappears after using 
step 2 (fsoraw).
If I do step 2.5 just before fsoraw it just goes quoted below.

I'm curious. WiFi used to be easy to get going. I just edited my 
wpa_supplicant.conf, added the wpa-conf to /etc/network/interfaces and 
did an ifup eth0.
What went wrong?

$ ./fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext -c/etc
Using **pending_return in dbus_connection_send_with_reply_setup() 
without pending_setup is deprecated and strongly discouraged
Using **pending_return in dbus_connection_send_with_reply_setup() 
without pending_setup is deprecated and strongly discouraged
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-13 Thread Paul Fertser
Peter Mogensen a...@bigendian.dk writes:
 Paul Fertser wrote:
 Adam Jimerson vend...@gmail.com writes:
 Same here I would like to know how to connect to a network without using 
 the 
 ifconfig commands
 
 0. So, clean boot, you didn't touch resource policies in any way (SHR
 settings/mdbus/whatever).
 1. Then ``vim /etc/wpa_supplicant/wpa_supplicant.conf'' and configure the
 way you need.
 2. Then ``fsoraw -r WiFi -- wpa_supplicant -ieth0 -Dwext
 -c/etc/wpa_supplicant/wpa_supplicant.conf'' and wait for it to associate.
 3. ``dhclient eth0'' (or whatever your favourite client is)
 4. enjoy
 
 If the step 2 or 3 fails, then 
 2.5 ``wmiconfig -i eth0 --power=maxperf''

 No luck...
 If I omit doing step 2.5 as step 1.5 eth0 just disappears after using 
 step 2 (fsoraw).

That's expected. Step 2.5 is to be done while wpa_supplicant is
running. And step 3 too. So you just leave it running and do you
stuff.

From your output it looks like wpa_supplicant can't see any wireless
network specified in your config...

 If I do step 2.5 just before fsoraw it just goes quoted below.

No sense in trying it before fsoraw...

 I'm curious. WiFi used to be easy to get going. I just edited my 
 wpa_supplicant.conf, added the wpa-conf to /etc/network/interfaces and 
 did an ifup eth0.

If you want to integrate fsoraw in networking scripts properly, it'd
be cool.

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Paul Fertser
Bernhard Reiter ock...@raz.or.at writes:
 Am Dienstag, den 11.08.2009, 10:41 +0400 schrieb Paul Fertser:
 Please try wpa_supplicant method as described on FSO_Resources
 wikipage and report the results.

 ok, using fsoraw it seems to connect to the router (only the important
 part given here):

 CTRL-EVENT-SCAN-RESULTS
 Trying to associate with mac address (SSID='SSID' freq=2437 MHz)
 Associated with mac address
 WPA: Key negotiation completed with mac address [PTK=CCMP GTK=TKIP]
 CTRL-EVENT-CONNECTED - Connection to mac address completed (auth)
 [id=0 id_str=]

 But unfortunately, I still can't ping my router, nor can I ping the
 FreeRunner from my laptop either.

You're supposed to somehow set IP for eth0 after that (usually with
the help of DHCP client). I really wonder why it's not obvious :S

Also some APs require wmiconfig -ieth0 --power=maxperf trick to
work.

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Paul Fertser
Adam Jimerson vend...@gmail.com writes:
 On Tuesday 11 August 2009 02:41:53 am Paul Fertser wrote:
 Please try wpa_supplicant method as described on FSO_Resources
 wikipage and report the results.

 I know wpa_supplicant stopped working for me, I don't know what went wrong 
 but when I started using mokonnect/connman it worked with no hassles with the 
 .29 kernel with out the test patches installed.

AFAIK either you're not using any WPA networks or you use
wpa_supplicant, connman can't affect that.

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Rui Miguel Silva Seabra
On Wed, Aug 12, 2009 at 12:56:26PM +0400, Paul Fertser wrote:
 Bernhard Reiter ock...@raz.or.at writes:
  Am Dienstag, den 11.08.2009, 10:41 +0400 schrieb Paul Fertser:
  Please try wpa_supplicant method as described on FSO_Resources
  wikipage and report the results.
 
  ok, using fsoraw it seems to connect to the router (only the important
  part given here):
 
  CTRL-EVENT-SCAN-RESULTS
  Trying to associate with mac address (SSID='SSID' freq=2437 MHz)
  Associated with mac address
  WPA: Key negotiation completed with mac address [PTK=CCMP GTK=TKIP]
  CTRL-EVENT-CONNECTED - Connection to mac address completed (auth)
  [id=0 id_str=]
 
  But unfortunately, I still can't ping my router, nor can I ping the
  FreeRunner from my laptop either.
 
 You're supposed to somehow set IP for eth0 after that (usually with
 the help of DHCP client). I really wonder why it's not obvious :S

You're also supposed to have an SSID setup before using a DHCP client.

At least for me that NEVER happens :|

 Also some APs require wmiconfig -ieth0 --power=maxperf trick to
 work.

I always run that.

Rui

-- 

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Rui Miguel Silva Seabra
On Wed, Aug 12, 2009 at 11:39:18AM +0100, Rui Miguel Silva Seabra wrote:
 On Wed, Aug 12, 2009 at 12:56:26PM +0400, Paul Fertser wrote:
  Bernhard Reiter ock...@raz.or.at writes:
   Am Dienstag, den 11.08.2009, 10:41 +0400 schrieb Paul Fertser:
   Please try wpa_supplicant method as described on FSO_Resources
   wikipage and report the results.
  
   ok, using fsoraw it seems to connect to the router (only the important
   part given here):
  
   CTRL-EVENT-SCAN-RESULTS
   Trying to associate with mac address (SSID='SSID' freq=2437 MHz)
   Associated with mac address
   WPA: Key negotiation completed with mac address [PTK=CCMP GTK=TKIP]
   CTRL-EVENT-CONNECTED - Connection to mac address completed (auth)
   [id=0 id_str=]
  
   But unfortunately, I still can't ping my router, nor can I ping the
   FreeRunner from my laptop either.
  
  You're supposed to somehow set IP for eth0 after that (usually with
  the help of DHCP client). I really wonder why it's not obvious :S
 
 You're also supposed to have an SSID setup before using a DHCP client.
 
 At least for me that NEVER happens :|

And before someone blames the wifi driver, mofi has no problem connecting
(but mokonnect is what I wish).

Rui

-- 

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Adolph J. Vogel
 i don't think i've ever got wifi to work

I feel your pain :(





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


Re: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Paul Fertser
Adolph J. Vogel ajvo...@tuks.co.za writes:
 i don't think i've ever got wifi to work

 I feel your pain :(

Try to do what's written on FSO_Resources wiki page and report the
results. The wlan chip _is_ compatible with most APs and the proposed
method of using it _does_ in fact work.

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Nicola Mfb
On Mon, Aug 10, 2009 at 2:43 PM, Bernhard Reiterock...@raz.or.at wrote:
 hi,

 using shr-u and mokonnect, i get a timeout when trying to connect to my
 managed wpa-secured home wlan router (while it is trying to setup
 dhcp, though things work fine with my laptop). is this some well-known
 issue or do i have to investigate my setup? (any debugging hints?) and
 what is the rsn encryption option that i get by default after a
 network scan but can't select in the list of encryption ways?

Hi Bernard, I'm try to address all wlan problems together and coding a
wifi manager prototype, that at some point may evolve in a freerunner
dedicated network manager with a splitted gui.
Please try it and report if it solves your problem, if possible use a
kernel with no wifi bugs.

http://wiki.openmoko.org/wiki/NWA

Regards

Nicola

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Paul Fertser
Adolph J. Vogel ajvo...@tuks.co.za writes:
 Im sorry if this is an obvious question, but what kernel is wifi bug
 free?

There's no such kernel in existance.

And wifi firmware is not bugfree and most probably will never
be. Blame Canada^W Atheros. Or buy a decent usb wifi dongle. :(

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Al Johnson
On Wednesday 12 August 2009, Paul Fertser wrote:
 Adolph J. Vogel ajvo...@tuks.co.za writes:
  Im sorry if this is an obvious question, but what kernel is wifi bug
  free?

 There's no such kernel in existance.

 And wifi firmware is not bugfree and most probably will never
 be. Blame Canada^W Atheros. Or buy a decent usb wifi dongle. :(

Given that 2.6.28/9 has had at least one kernel bug with wifi support on the 
FR it isn't unreasonable to ask whether the currently distributed kernels have 
all the known bug fixes applied. It wouldn't be the first time that known bug 
fixes haven't been applied in the shipping kernel.


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


Re: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Rui Miguel Silva Seabra
On Wed, Aug 12, 2009 at 03:04:26PM +0400, Paul Fertser wrote:
 Rui Miguel Silva Seabra r...@1407.org writes:
  On Wed, Aug 12, 2009 at 12:56:26PM +0400, Paul Fertser wrote:
  Bernhard Reiter ock...@raz.or.at writes:
   CTRL-EVENT-SCAN-RESULTS
   Trying to associate with mac address (SSID='SSID' freq=2437 MHz)
   Associated with mac address
   WPA: Key negotiation completed with mac address [PTK=CCMP GTK=TKIP]
   CTRL-EVENT-CONNECTED - Connection to mac address completed (auth)
   [id=0 id_str=]
  
   But unfortunately, I still can't ping my router, nor can I ping the
   FreeRunner from my laptop either.
  
  You're supposed to somehow set IP for eth0 after that (usually with
  the help of DHCP client). I really wonder why it's not obvious :S
 
  You're also supposed to have an SSID setup before using a DHCP client.
 
  At least for me that NEVER happens :|
 
 wpa_supplicant does that for you. I'm yet to see a single case when it
 couldn't.

Somehow people keep missing the point...

With Mokonnect that NEVER happens.

Wifi works just fine, Mofi sets it up without a problem.

I'm quite sure wpa_supplicat hand made config will work as well.

  Also some APs require wmiconfig -ieth0 --power=maxperf trick to
  work.
 
  I always run that.
 
 Eats battery like mad. I suggest using this only as a last resort.

I know, it lasted two hours last I tried, but at least it's reliable :)

Rui

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-12 Thread Rui Miguel Silva Seabra
On Wed, Aug 12, 2009 at 03:09:44PM +0200, Adolph J. Vogel wrote:
 Rui, what kernel are you using?

r...@om-gta02 ~ $ uname -a
Linux om-gta02 2.6.29-rc3 #1 PREEMPT Sun Aug 2 12:17:54 CEST 2009 armv4tl 
unknown

(which I think is the most recent uImage available on 2009/08/08).

With the shr-image and uImage from 2009/07/21 it was the same.

Rui

-- 

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-11 Thread Robin Paulson
2009/8/11 Rui Miguel Silva Seabra r...@1407.org:
 To me it has never worked, but never means in images 20090721 and 20090808 of 
 shr-u

 It doesn't even bother to set the SSID, but I don't know who's really at 
 fault here,
 mokonnect or connman.

 Anyway, connman is a real piece of crap (but NetworkManager is just marginally
 lesser crap) sprout from people with NIH sindrome who don't understand NM.

does wifi work yet with newer kernels? i heard some time back that .29
had issues. i don't think i've ever got wifi to work

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-11 Thread Paul Fertser
Robin Paulson robin.paul...@gmail.com writes:
 2009/8/11 Rui Miguel Silva Seabra r...@1407.org:
 Anyway, connman is a real piece of crap (but NetworkManager is just 
 marginally
 lesser crap) sprout from people with NIH sindrome who don't understand NM.

 does wifi work yet with newer kernels? i heard some time back that .29
 had issues. i don't think i've ever got wifi to work

.29 has issues but those in kernel are workaroundable. Those in
firmware are independent from the kernel and are unlikely to be ever
solved. Luckily they don't affect the majority of users.

Please try wpa_supplicant method as described on FSO_Resources
wikipage and report the results.

-- 
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: [shr-u] wifi timeout with mokonnect

2009-08-11 Thread Rui Miguel Silva Seabra
On Tue, Aug 11, 2009 at 06:37:03PM +1200, Robin Paulson wrote:
 2009/8/11 Rui Miguel Silva Seabra r...@1407.org:
  To me it has never worked, but never means in images 20090721 and 20090808 
  of shr-u
 
  It doesn't even bother to set the SSID, but I don't know who's really at 
  fault here,
  mokonnect or connman.
 
  Anyway, connman is a real piece of crap (but NetworkManager is just 
  marginally
  lesser crap) sprout from people with NIH sindrome who don't understand NM.
 
 does wifi work yet with newer kernels? i heard some time back that .29
 had issues. i don't think i've ever got wifi to work

I don't have any problems connecting with mofi.
Sure after, connecting I do wmiconfig -i eth0 --power maxperf and then keep a 
ping
running just to know if the connection is alive, but mofi establishes the wifi
connection and then it works.

With connman+mokonnect I have had ZERO success, so if it works for someone, 
either
that person has made some undocumented adjustment he can't remember or the 
current
versions don't work and he's not running them.

Rui

-- 

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


Re: [shr-u] wifi timeout with mokonnect

2009-08-11 Thread Adam Jimerson
On Tuesday 11 August 2009 02:41:53 am Paul Fertser wrote:
 Robin Paulson robin.paul...@gmail.com writes:
  2009/8/11 Rui Miguel Silva Seabra r...@1407.org:
  Anyway, connman is a real piece of crap (but NetworkManager is just
  marginally lesser crap) sprout from people with NIH sindrome who don't
  understand NM.
 
  does wifi work yet with newer kernels? i heard some time back that .29
  had issues. i don't think i've ever got wifi to work

 .29 has issues but those in kernel are workaroundable. Those in
 firmware are independent from the kernel and are unlikely to be ever
 solved. Luckily they don't affect the majority of users.

 Please try wpa_supplicant method as described on FSO_Resources
 wikipage and report the results.

I know wpa_supplicant stopped working for me, I don't know what went wrong 
but when I started using mokonnect/connman it worked with no hassles with the 
.29 kernel with out the test patches installed.
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


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-u] wifi timeout with mokonnect

2009-08-11 Thread Bernhard Reiter
Am Dienstag, den 11.08.2009, 10:41 +0400 schrieb Paul Fertser:
 Please try wpa_supplicant method as described on FSO_Resources
 wikipage and report the results.

ok, using fsoraw it seems to connect to the router (only the important
part given here):

CTRL-EVENT-SCAN-RESULTS
Trying to associate with mac address (SSID='SSID' freq=2437 MHz)
Associated with mac address
WPA: Key negotiation completed with mac address [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to mac address completed (auth)
[id=0 id_str=]

But unfortunately, I still can't ping my router, nor can I ping the
FreeRunner from my laptop either.

Bernhard


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


[shr-u] wifi timeout with mokonnect

2009-08-10 Thread Bernhard Reiter
hi,

using shr-u and mokonnect, i get a timeout when trying to connect to my
managed wpa-secured home wlan router (while it is trying to setup
dhcp, though things work fine with my laptop). is this some well-known
issue or do i have to investigate my setup? (any debugging hints?) and
what is the rsn encryption option that i get by default after a
network scan but can't select in the list of encryption ways?

regards
bernhard


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


Re: [shr-u] wifi timeout with mokonnect

2009-08-10 Thread Adam Jimerson
On Monday 10 August 2009 08:43:40 am Bernhard Reiter wrote:
 hi,

 using shr-u and mokonnect, i get a timeout when trying to connect to my
 managed wpa-secured home wlan router (while it is trying to setup
 dhcp, though things work fine with my laptop). is this some well-known
 issue or do i have to investigate my setup? (any debugging hints?) and
 what is the rsn encryption option that i get by default after a
 network scan but can't select in the list of encryption ways?

 regards
 bernhard



I sent an email about this earlier, mokonnect timesout connect, scanning, 
and/or tryinig to get DHCP, and it no longer reconnects to the AP on resume.  
The older versions worked flawlessly and made me like it because ever sense 
the wifi kernel bug it was the first program that just worked short of my 
having to restart connman to first use it (minor problem).  Sadly my post must 
have been ether lost, ate by some server, or just plan ignored.
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


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-u] wifi timeout with mokonnect

2009-08-10 Thread Rui Miguel Silva Seabra
On Mon, Aug 10, 2009 at 11:11:54AM -0400, Adam Jimerson wrote:
 On Monday 10 August 2009 08:43:40 am Bernhard Reiter wrote:
  hi,
 
  using shr-u and mokonnect, i get a timeout when trying to connect to my
  managed wpa-secured home wlan router (while it is trying to setup
  dhcp, though things work fine with my laptop). is this some well-known
  issue or do i have to investigate my setup? (any debugging hints?) and
  what is the rsn encryption option that i get by default after a
  network scan but can't select in the list of encryption ways?
 
  regards
  bernhard
 
 
 
 I sent an email about this earlier, mokonnect timesout connect, scanning, 
 and/or tryinig to get DHCP, and it no longer reconnects to the AP on resume.  
 The older versions worked flawlessly and made me like it because ever sense 
 the wifi kernel bug it was the first program that just worked short of my 
 having to restart connman to first use it (minor problem).  Sadly my post 
 must 
 have been ether lost, ate by some server, or just plan ignored.

To me it has never worked, but never means in images 20090721 and 20090808 of 
shr-u

It doesn't even bother to set the SSID, but I don't know who's really at fault 
here,
mokonnect or connman.

Anyway, connman is a real piece of crap (but NetworkManager is just marginally
lesser crap) sprout from people with NIH sindrome who don't understand NM.

Rui

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