Re: QtMoko - v11 - WiFi take 2

2009-09-24 Thread Torfinn Ingolfsen
On Thu, Sep 24, 2009 at 10:07 PM, Torfinn Ingolfsen wrote:

> Note: it works fine manually. It still doesn't work from the GUI or with
> the lan-network script.
>
>
And, after a restart of the FreeRunner, it even works from the GUI.



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


Re: QtMoko - v11 - WiFi take 2

2009-09-24 Thread Torfinn Ingolfsen
Note: it works fine manually. It still doesn't work from the GUI or with the
lan-network script.

On Thu, Sep 24, 2009 at 9:38 PM, Torfinn Ingolfsen  wrote:

> I did another test with wpa_supplicant manually.
> This time, I looked more closely at the output, and noticed it said
> "authentication timeout". Duh!
> I checked my passphrase in wpa_supplicant.conf - one characyter had the
> wrong case.
>
> It works now:
> neo:~# ifconfig eth0
> eth0  Link encap:Ethernet  HWaddr 00:12:cf:8e:e4:11
>   inet addr:10.1.161.6  Bcast:10.1.255.255  Mask:255.255.0.0
>   inet6 addr: fe80::212:cfff:fe8e:e411/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:743 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:571745 (558.3 KiB)  TX bytes:17229 (16.8 KiB)
>
> neo:~# iwconfig eth0
> eth0  AR6000 802.11g  ESSID:"kg4"
>   Mode:Managed  Frequency:2.417 GHz  Access Point:
> 00:0F:66:51:AA:41
>   Bit Rate=48 Mb/s   Tx-Power=15 dBm   Sensitivity=0/3
>   Retry:on
>   Encryption key:off
>   Power Management:off
>   Link Quality:194/94  Signal level:-157 dBm  Noise level:-96 dBm
>   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>   Tx excessive retries:7  Invalid misc:0   Missed beacon:0
>
>
> Sorry for all the noise.
> --
> Regards,
> Torfinn Ingolfsen
>



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


Re: QtMoko - v11 - WiFi take 2

2009-09-24 Thread Torfinn Ingolfsen
I did another test with wpa_supplicant manually.
This time, I looked more closely at the output, and noticed it said
"authentication timeout". Duh!
I checked my passphrase in wpa_supplicant.conf - one characyter had the
wrong case.

It works now:
neo:~# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:12:cf:8e:e4:11
  inet addr:10.1.161.6  Bcast:10.1.255.255  Mask:255.255.0.0
  inet6 addr: fe80::212:cfff:fe8e:e411/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:743 errors:0 dropped:0 overruns:0 frame:0
  TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:571745 (558.3 KiB)  TX bytes:17229 (16.8 KiB)

neo:~# iwconfig eth0
eth0  AR6000 802.11g  ESSID:"kg4"
  Mode:Managed  Frequency:2.417 GHz  Access Point:
00:0F:66:51:AA:41
  Bit Rate=48 Mb/s   Tx-Power=15 dBm   Sensitivity=0/3
  Retry:on
  Encryption key:off
  Power Management:off
  Link Quality:194/94  Signal level:-157 dBm  Noise level:-96 dBm
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:7  Invalid misc:0   Missed beacon:0


Sorry for all the noise.
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - v11 - WiFi take 2

2009-09-24 Thread tingox
Hi,

On Thu, Sep 24, 2009 at 9:45 AM, Radek Polak  wrote:

> Torfinn Ingolfsen wrote:
>
> > Another thought crossed my mind:
> > Is there a switch (software) that must be turned on to active the
> > radio of the WLAN on the FreeRunner?
>
> In QtMoko the switch is in "Devtools" menu [1] but is not needed. Wlan
> works out-of-the box (at least for me).
>

Ok, good to know.


> Btw are you really using latest QtMoko (=SHR) kernel?


Well, I copied QtMoko v11 (qtmoko-debian-v11.tar.gz) to my SD card (p2
partition. Uname says
neo:~# uname -a
Linux neo 2.6.29-rc3 #1 PREEMPT Tue Sep 1 23:03:59 CEST 2009 armv4tl
GNU/Linux

and this is a newer kernel than the one with QtMoko v9 at least.
/proccmdline says:
neo:~# cat /proc/cmdline
loglevel=4 console=tty0 console=ttySAC2,115200 init=/sbin/init ro
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(qi),0x0004(depr-ub-env),0x0080(kernel),0x000a(depr),0x0004(identity-ext2),0x0f6a(rootfs)
g_ether.host_addr=00:1F:11:01:0D:38 g_ether.dev_addr=00:1F:11:01:0D:38
root=/dev/mmcblk0p2 rootdelay=1 loglevel=1 quiet splash

I don't know of any other means to identify the QtMoko version I am using.
lsb_release isn't there:
neo:~# lsb_release -a
-bash: lsb_release: command not found

-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - v11 - WiFi take 2

2009-09-24 Thread Radek Polak
Torfinn Ingolfsen wrote:

> Another thought crossed my mind:
> Is there a switch (software) that must be turned on to active the
> radio of the WLAN on the FreeRunner?

In QtMoko the switch is in "Devtools" menu [1] but is not needed. Wlan
works out-of-the box (at least for me).

Btw are you really using latest QtMoko (=SHR) kernel? I am quite sure i
had this message with older kernels.

ioctl[SIOCSIWENCODEEXT]: Operation not supported

Regards

Radek


[1] http://activationrecord.net/radekp/qtmoko/screenshots/scripts.png


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


Re: QtMoko - v11 - WiFi take 2

2009-09-24 Thread Paul Fertser
Torfinn Ingolfsen  writes:
> Is there a switch (software) that must be turned on to active the
> radio of the WLAN on the FreeRunner?  Perhaps I am missing something
> very obvious here  (But if the radio was off, 'iwlist eth0 scan'
> wouldn't show anything, right?)

Right. There's a switch, one sometimes needs to manually bind s3c-mci
and/or load ar6000 module. But if iwlist eth0 scan works, it's already
turned on.

What i'd recommend is to use wpa_supplicant manually and look at its
output carefully. Also you might need "wmiconfig" trick or sometimes
to just change AP.

-- 
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: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Torfinn Ingolfsen
Another thought crossed my mind:
Is there a switch (software) that must be turned on to active the radio of
the WLAN on the FreeRunner?
Perhaps I am missing something very obvious here
(But if the radio was off, 'iwlist eth0 scan' wouldn't show anything,
right?)

-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Torfinn Ingolfsen
Hi,
Two quick questions for those who have a working wireless using WPA-PSK  in
QtMoko:

1) are you using Qi to boot the installation? (If the answer is no, what are
you using?)
2) Is your installation on a SDcard or in NAND?

(I am using Qi, and my installation is on a SDcard partition)
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Torfinn Ingolfsen
Hi,

On Wed, Sep 23, 2009 at 6:01 PM, Tschaka  wrote:

> Try with AES instead of TKIP. Set it on your router and try to connect
> again. i had it, that TKIP just didnt work somehow. AES works flawlessly.
>

I tried with WPA-PSK / AES. It didn't work any better:
neo:/# /opt/qtmoko/bin/lan-network install eth0 wireless -essid "kg4"
-authmode WPA-PSK "password" AES
LAN: Starting config script for lan plugin
LAN: With params : install
LAN: eth0 wireless -essid kg4 -authmode WPA-PSK password AES
lan-network wireless -essid kg4 -authmode WPA-PSK password AES
neo:/# /opt/qtmoko/bin/lan-network start eth0
LAN: Starting config script for lan plugin
LAN: With params : start
LAN: starting eth0
Starting wireless
+ . /root/Settings/Network/wireless/eth0
+ WIRELESS_ESSID=kg4
+ WIRELESS_AUTH_MODE=WPA-PSK
+ WIRELESS_WPA_PSK=password
+ WIRELESS_PAIRWISE=CCMP TKIP
+ WIRELESS_GROUP=CCMP TKIP
+ WPACONF=/etc/wpa_supplicant/wpa_supplicant.conf
+ echo
+ echo ctrl_interface=/var/lib/wpa_supplicant
+ echo ctrl_interface_group=0
+ echo eapol_version=1
+ echo fast_reauth=1
+ echo ap_scan=1
+ echo network={
+ [ -n kg4 ]
+ echo ssid="kg4"
+ [ -n  ]
+ echo proto=WPA2 WPA RSN
+ [ -n WPA-PSK ]
+ echo key_mgmt=WPA-PSK
+ [ -n CCMP TKIP ]
+ echo pairwise=CCMP TKIP
+ [ -n CCMP TKIP ]
+ echo group=CCMP TKIP
+ [ -n password ]
+ echo psk="password"
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ echo }
+ /sbin/ifconfig eth0 up
+ [  !=  ]
+ /sbin/iwconfig eth0 ap any
+ [  !=  ]
+ /sbin/iwconfig eth0 rate auto
+ [  !=  ]
+ [  !=  ]
+ [  !=  ]
+ /usr/sbin/wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -B+
logger -t WPA
+ sleep 3
 -ieth0
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
+ /sbin/udhcpc -n -i eth0
udhcpc (v0.9.9-pre) started
+ try_ip eth0
+ COUNT=0
+ echo Trying to find ip: 0
Trying to find ip: 0
+ [ 0 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk BEGIN{FS=":"}{print $2}
+ grep inet[^6]+ awk {print $1}

+ IP=
+ [ -n  ]
+ sleep 1
Sending discover...
+ COUNT=1
+ [ 1 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk {print $1}
+ awk BEGIN{FS=":"}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
Sending discover...
+ COUNT=2
+ [ 2 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk+ awk {print $1}
 BEGIN{FS=":"}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=3
+ [ 3 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk BEGIN{FS=":"}{print $2}
+ Sending discover...
grep inet[^6]
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=4
+ [ 4 -gt 10 ]
+ /sbin/ifconfig eth0
+ + awk {print $1}+ awk BEGIN{FS=":"}{print $2}
grep inet[^6]

+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=5
+ [ 5 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk BEGIN{FS=":"}{print $2}
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
Lease failed:
No lease, failing.
+ COUNT=6
+ [ 6 -gt 10 ]
+ /sbin/ifconfig eth0
+ + grep inet[^6]+ awk BEGIN{FS=":"}{print $2}
awk {print $1}

+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=7
+ [ 7 -gt 10 ]
+ /sbin/ifconfig eth0
+ + awk {print $1}
+ grep inet[^6]
awk BEGIN{FS=":"}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=8
+ [ 8 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk BEGIN{FS=":"}{print $2}
+ grep inet[^6]
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=9
+ [ 9 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk+ grep inet[^6]
+ awk BEGIN{FS=":"}{print $2}
 {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=10
+ [ 10 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk BEGIN{FS=":"}{print $2}
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=11
+ [ 11 -gt 10 ]
+ stop eth0
+ print_debug stopping interface eth0
+ [ 1 -eq 1 ]
+ echo LAN: stopping interface eth0
LAN: stopping interface eth0
+ [ 1 -eq 1 ]
+ echo LAN: stopping interface eth0
+ /sbin/ifconfig eth0 0.0.0.0 down
+ ifdown eth0
ifdown: interface eth0 not configured
+ ps aux
+ grep [u]dhcpc .*-i eth0
+ awk {print $2}
+ DHCP_PIDS=
+ [ -n  ]
+ ps aux
+ + awk {print $2}
grep [w]pa_supplicant .* -ieth0
+ WPASUP_PIDS=5845
+ [ -n 5845 ]
+ kill 5845
+ [ -e /home/root/Documents/eth0.txt ]
neo:/#






-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Tschaka



Torfinn Ingolfsen wrote:
> 
> Hi,
> 
> Ok, now I have QtMoko v11 instaled, and I am trying to get Wireless
> working
> again.
> Now I am using the QT network script, /opt/qtmoko//bin/lan-network from a
> shell (via ssh).
> I have changed the script so it doesn't do ifdown / ifup usb0. (The
> passpharse is also changed)
> Here is what I have done:
> /opt/qtmoko/bin/lan-network install eth0 dhcp
> /opt/qtmoko/bin/lan-network install eth0 wireless -essid "kg4" -authmode
> WPA-PSK "password" TKIP
> 
> neo:~# /opt/qtmoko//bin/lan-network start eth0
> LAN: Starting config script for lan plugin
> LAN: With params : start
> LAN: starting eth0
> Starting wireless
> + . /root/Settings/Network/wireless/eth0
> + WIRELESS_ESSID=kg4
> + WIRELESS_AUTH_MODE=WPA-PSK
> + WIRELESS_WPA_PSK=password
> + WIRELESS_PAIRWISE=TKIP
> + WIRELESS_GROUP=TKIP
> + WPACONF=/etc/wpa_supplicant/wpa_supplicant.conf
> + echo
> + echo ctrl_interface=/var/lib/wpa_supplicant
> + echo ctrl_interface_group=0
> + echo eapol_version=1
> + echo fast_reauth=1
> + echo ap_scan=1
> + echo network={
> + [ -n kg4 ]
> + echo ssid="kg4"
> + [ -n  ]
> + echo proto=WPA2 WPA RSN
> + [ -n WPA-PSK ]
> + echo key_mgmt=WPA-PSK
> + [ -n TKIP ]
> + echo pairwise=TKIP
> + [ -n TKIP ]
> + echo group=TKIP
> + [ -n password ]
> + echo psk="password"
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + [ -n  ]
> + echo }
> + /sbin/ifconfig eth0 up
> + [  !=  ]
> + /sbin/iwconfig eth0 ap any
> + [  !=  ]
> + /sbin/iwconfig eth0 rate auto
> + [  !=  ]
> + [  !=  ]
> + [  !=  ]
> + /usr/sbin/wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -B
> -ieth0
> + + sleep 3
> logger -t WPA
> ioctl[SIOCSIWENCODEEXT]: Operation not supported
> ioctl[SIOCSIWENCODEEXT]: Operation not supported
> ioctl[SIOCSIWENCODEEXT]: Operation not supported
> ioctl[SIOCSIWENCODEEXT]: Operation not supported
> + /sbin/udhcpc -n -i eth0
> + try_ip eth0
> + COUNT=0
> + echo Trying to find ip: 0
> Trying to find ip: 0
> + [ 0 -gt 10 ]
> + /sbin/ifconfig eth0
> + grep inet[^6]
> + awk BEGIN{FS=":"}{print $2}
> + awk {print $1}
> udhcpc (v0.9.9-pre) started
> + IP=
> + [ -n  ]
> + sleep 1
> Sending discover...
> + COUNT=1
> + [ 1 -gt 10 ]
> + /sbin/ifconfig eth0
> + + grep inet[^6]
> + awk {print $1}
> awk BEGIN{FS=":"}{print $2}
> + IP=
> + [ -n  ]
> + sleep 1
> Sending discover...
> + COUNT=2
> + [ 2 -gt 10 ]
> + /sbin/ifconfig eth0
> + + grep inet[^6]
> awk BEGIN{FS=":"}{print $2}
> + awk {print $1}
> + IP=
> + [ -n  ]
> + sleep 1
> + COUNT=3
> + [ 3 -gt 10 ]
> + /sbin/ifconfig eth0
> + grep inet[^6]
> + + awk {print $1}
> awk BEGIN{FS=":"}{print $2}
> + IP=
> + [ -n  ]
> + sleep 1
> Sending discover...
> + COUNT=4
> + [ 4 -gt 10 ]
> + /sbin/ifconfig eth0
> + grep inet[^6]
> + awk {print $1}
> + awk BEGIN{FS=":"}{print $2}
> + IP=
> + [ -n  ]
> + sleep 1
> + COUNT=5
> + [ 5 -gt 10 ]
> + /sbin/ifconfig eth0
> + + + grep inet[^6]awk BEGIN{FS=":"}{print $2}
> awk {print $1}
> 
> + IP=
> + [ -n  ]
> + sleep 1
> + COUNT=6
> + [ 6 -gt 10 ]
> + /sbin/ifconfig eth0
> + grep inet[^6]
> + awk BEGIN{FS=":"}{print $2}
> + awk {print $1}
> + IP=
> + [ -n  ]
> + sleep 1
> Lease failed:
> No lease, failing.
> + COUNT=7
> + [ 7 -gt 10 ]
> + /sbin/ifconfig eth0
> + grep inet[^6]
> + awk BEGIN{FS=":"}{print $2}
> + awk {print $1}
> + IP=
> + [ -n  ]
> + sleep 1
> + COUNT=8
> + [ 8 -gt 10 ]
> + /sbin/ifconfig eth0
> + grep inet[^6]
> + awk BEGIN{FS=":"}{print $2}
> + awk {print $1}
> + IP=
> + [ -n  ]
> + sleep 1
> + COUNT=9
> + [ 9 -gt 10 ]
> + /sbin/ifconfig eth0
> + awk BEGIN{FS=":"}{print $2}+ grep inet[^6]
> + awk {print $1}
> 
> + IP=
> + [ -n  ]
> + sleep 1
> + COUNT=10
> + [ 10 -gt 10 ]
> + /sbin/ifconfig eth0
> + awk {print $1}+ awk BEGIN{FS=":"}{print $2}
> + grep inet[^6]
> 
> + IP=
> + [ -n  ]
> + sleep 1
> + COUNT=11
> + [ 11 -gt 10 ]
> + stop eth0
> + print_debug stopping interface eth0
> + [ 1 -eq 1 ]
> + echo LAN: stopping interface eth0
> LAN: stopping interface eth0
> + [ 1 -eq 1 ]
> + echo LAN: stopping interface eth0
> + /sbin/ifconfig eth0 0.0.0.0 down
> + ifdown eth0
> ifdown: interface eth0 not configured
> + ps aux
&g

Re: QtMoko - v11 - WiFi take 2

2009-09-22 Thread Radek Polak
Torfinn Ingolfsen wrote:

> So unfortunately, it doesn't work. :-/
> I really don't understand why this doesn't work.

Can you check on your router, if freerunner got connected? If yes then
it's DHCP problem. If no then i dont know. If you have latest kernel
(the one in V11) then it should work. You can also check signal
strength.

Regards

Radek


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


QtMoko - v11 - WiFi take 2

2009-09-22 Thread Torfinn Ingolfsen
Hi,

Ok, now I have QtMoko v11 instaled, and I am trying to get Wireless working
again.
Now I am using the QT network script, /opt/qtmoko//bin/lan-network from a
shell (via ssh).
I have changed the script so it doesn't do ifdown / ifup usb0. (The
passpharse is also changed)
Here is what I have done:
/opt/qtmoko/bin/lan-network install eth0 dhcp
/opt/qtmoko/bin/lan-network install eth0 wireless -essid "kg4" -authmode
WPA-PSK "password" TKIP

neo:~# /opt/qtmoko//bin/lan-network start eth0
LAN: Starting config script for lan plugin
LAN: With params : start
LAN: starting eth0
Starting wireless
+ . /root/Settings/Network/wireless/eth0
+ WIRELESS_ESSID=kg4
+ WIRELESS_AUTH_MODE=WPA-PSK
+ WIRELESS_WPA_PSK=password
+ WIRELESS_PAIRWISE=TKIP
+ WIRELESS_GROUP=TKIP
+ WPACONF=/etc/wpa_supplicant/wpa_supplicant.conf
+ echo
+ echo ctrl_interface=/var/lib/wpa_supplicant
+ echo ctrl_interface_group=0
+ echo eapol_version=1
+ echo fast_reauth=1
+ echo ap_scan=1
+ echo network={
+ [ -n kg4 ]
+ echo ssid="kg4"
+ [ -n  ]
+ echo proto=WPA2 WPA RSN
+ [ -n WPA-PSK ]
+ echo key_mgmt=WPA-PSK
+ [ -n TKIP ]
+ echo pairwise=TKIP
+ [ -n TKIP ]
+ echo group=TKIP
+ [ -n password ]
+ echo psk="password"
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ echo }
+ /sbin/ifconfig eth0 up
+ [  !=  ]
+ /sbin/iwconfig eth0 ap any
+ [  !=  ]
+ /sbin/iwconfig eth0 rate auto
+ [  !=  ]
+ [  !=  ]
+ [  !=  ]
+ /usr/sbin/wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -B
-ieth0
+ + sleep 3
logger -t WPA
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
+ /sbin/udhcpc -n -i eth0
+ try_ip eth0
+ COUNT=0
+ echo Trying to find ip: 0
Trying to find ip: 0
+ [ 0 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk BEGIN{FS=":"}{print $2}
+ awk {print $1}
udhcpc (v0.9.9-pre) started
+ IP=
+ [ -n  ]
+ sleep 1
Sending discover...
+ COUNT=1
+ [ 1 -gt 10 ]
+ /sbin/ifconfig eth0
+ + grep inet[^6]
+ awk {print $1}
awk BEGIN{FS=":"}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
Sending discover...
+ COUNT=2
+ [ 2 -gt 10 ]
+ /sbin/ifconfig eth0
+ + grep inet[^6]
awk BEGIN{FS=":"}{print $2}
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=3
+ [ 3 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ + awk {print $1}
awk BEGIN{FS=":"}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
Sending discover...
+ COUNT=4
+ [ 4 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk {print $1}
+ awk BEGIN{FS=":"}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=5
+ [ 5 -gt 10 ]
+ /sbin/ifconfig eth0
+ + + grep inet[^6]awk BEGIN{FS=":"}{print $2}
awk {print $1}

+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=6
+ [ 6 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk BEGIN{FS=":"}{print $2}
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
Lease failed:
No lease, failing.
+ COUNT=7
+ [ 7 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk BEGIN{FS=":"}{print $2}
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=8
+ [ 8 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk BEGIN{FS=":"}{print $2}
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=9
+ [ 9 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk BEGIN{FS=":"}{print $2}+ grep inet[^6]
+ awk {print $1}

+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=10
+ [ 10 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk {print $1}+ awk BEGIN{FS=":"}{print $2}
+ grep inet[^6]

+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=11
+ [ 11 -gt 10 ]
+ stop eth0
+ print_debug stopping interface eth0
+ [ 1 -eq 1 ]
+ echo LAN: stopping interface eth0
LAN: stopping interface eth0
+ [ 1 -eq 1 ]
+ echo LAN: stopping interface eth0
+ /sbin/ifconfig eth0 0.0.0.0 down
+ ifdown eth0
ifdown: interface eth0 not configured
+ ps aux
+ grep [u]dhcpc .*-i eth0
+ awk {print $2}
+ DHCP_PIDS=
+ [ -n  ]
+ ps aux
+ grep [w]pa_supplicant .* -ieth0
+ awk {print $2}
+ WPASUP_PIDS=2391
+ [ -n 2391 ]
+ kill 2391
+ [ -e /home/root/Documents/eth0.txt ]
neo:~#

So unfortunately, it doesn't work. :-/
I really don't understand why this doesn't work.
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko v11

2009-09-22 Thread Torfinn Ingolfsen
Hi,

I just finished installing QtMoko v11 on my FreeRunner. (My "upgrade" method
consists of bot from nand, mkfs.ext3 /dev/mmcblk0p2 + install + restore a
few files from backup)

A quick question:
I get these messages in /var/log/messages after boot:
Sep 22 20:47:11 neo Qtopia: Unable to register with BlueZ service manager...

Sep 22 20:47:11 neo kernel: [21474747.875000] Bluetooth: SCO (Voice Link)
ver 0.6
Sep 22 20:47:11 neo kernel: [21474747.875000] Bluetooth: SCO socket layer
initialized
Sep 22 20:47:11 neo Qtopia: Unable to register with BlueZ service manager...

Sep 22 20:47:11 neo last message repeated 4 times

Are they important?
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko v11

2009-09-21 Thread Jim Morris
Radek Polak wrote:
> Hi,
> i have just uploaded QtMoko on debian v11 images to
> 

Is it my imagination or does the battery indicator not work properly?

It shows charging OK when USB is plugged in, but when not charging, it always 
shows full, even when 
it is about 50%.

-- 
Jim Morris, http://blog.wolfman.com

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


Re: QtMoko v11

2009-09-21 Thread mobi phil
links2 is the fastest web browser so far, I use it daily on the freerunner.
You may build it with directfb and/or X11 support... then netsurf seems to
be faster than dillo...

On Sun, Sep 20, 2009 at 10:03 PM, Jim Morris  wrote:

> Radek Polak wrote:
>
> > My favourite one is links2. Fast, stable, fixed size fonts.
> >
>
> Yes I like links2 but how do you set it up to run from the FR when it is a
> console app?
> Do you have a way to add desktop icons or something for launching it?
>
> >
> > Long term plan is to use arora. Looks very nice and uses QtWebkit so it
> > shouldnt be that hard to port it.
>
> I'll take a look at it, is it being ported? if not I can try to port it.
>
> --
> Jim Morris, http://blog.wolfman.com
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko v11

2009-09-21 Thread Radek Polak
Jim Morris wrote:

> Is it worth starting a fork from 0.8.0 (the last version to support 4.4) and 
> move forward with 
> porting it to qtextended?

You can start with porting the latest 0.9.0 because we are using QT
4.5.2

If all goes well then it would just involve writing qbuild.pro files.

Regards

Radek


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


Re: QtMoko v11

2009-09-20 Thread Jim Morris
Fabio Locati wrote:
> I guess QtMokov11 works with 4.5 ;)
> 

Yea I wish :)

Has anyone started a port of 0.8.0 to qtExtended 4.4? ie created the qbuild.pro 
files etc?

Is it worth starting a fork from 0.8.0 (the last version to support 4.4) and 
move forward with 
porting it to qtextended?



-- 
Jim Morris, http://blog.wolfman.com

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


Re: QtMoko v11

2009-09-20 Thread Fabio Locati
I guess QtMokov11 works with 4.5 ;)

On Sun, Sep 20, 2009 at 10:13 PM, Jim Morris  wrote:
> Jim Morris wrote:
>> Radek Polak wrote:
>>
>>> Long term plan is to use arora. Looks very nice and uses QtWebkit so it
>>> shouldnt be that hard to port it.
>>
>> I'll take a look at it, is it being ported? if not I can try to port it.
>>
>
> Looked at it they dropped support for qte 4.4, it only supports qt4.5 now, 
> I'll see if I can get an
> older version, and build that.
>
> --
> Jim Morris, http://blog.wolfman.com
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Fabio A Locati

Home: Segrate, Milan, Italy (GMT +1)
Phone: +39-328-3799681
MSN/Jabber/E-Mail: fabioloc...@gmail.com

PGP Key: 9EF6 3C79 F6DF 76CD 770A 43A1 DCCB 415C 9656 3334

Envolved in: KDE, OpenStreetMap, Ubuntu, Wikimedia

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


Re: QtMoko v11

2009-09-20 Thread Jim Morris
Jim Morris wrote:
> Radek Polak wrote:
> 
>> Long term plan is to use arora. Looks very nice and uses QtWebkit so it
>> shouldnt be that hard to port it.
> 
> I'll take a look at it, is it being ported? if not I can try to port it.
> 

Looked at it they dropped support for qte 4.4, it only supports qt4.5 now, I'll 
see if I can get an 
older version, and build that.

-- 
Jim Morris, http://blog.wolfman.com

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


Re: QtMoko v11

2009-09-20 Thread Jim Morris
Radek Polak wrote:

> My favourite one is links2. Fast, stable, fixed size fonts.
> 

Yes I like links2 but how do you set it up to run from the FR when it is a 
console app?
Do you have a way to add desktop icons or something for launching it?

> 
> Long term plan is to use arora. Looks very nice and uses QtWebkit so it
> shouldnt be that hard to port it.

I'll take a look at it, is it being ported? if not I can try to port it.

-- 
Jim Morris, http://blog.wolfman.com

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


Re: QtMoko v11

2009-09-20 Thread Radek Polak
Jim Morris wrote:

> Is there a better web browser though? The one in the menu still gets killed 
> when I try to load say 
> http://wolfman.com, and http://dogz.us just shows a blank screen. The fonts 
> are so small on most 
> other sites it is impossible to read without a magnifying glass :)

My favourite one is links2. Fast, stable, fixed size fonts.

> I think this one was a demo they put there to show webkit in action.

Long term plan is to use arora. Looks very nice and uses QtWebkit so it
shouldnt be that hard to port it.

Regards

Radek


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


Re: QtMoko v11

2009-09-20 Thread Dan Leinir Turthra Jensen
On Sunday 20 September 2009 15:11:21 -= Apertum =- wrote:
> * Ali wrote, Il 20/09/2009 14:41:
> > I wouldn't mind it gone from the distro I think it sucks. Remember
> >   qtmoko is on debian so everything in debian is available to us.
> >   apt-get install iceweasel (firefox with free graphics) but that's
> > overkill (and slow) on a phone. Try midori, I think it's a little bloated
> > for the freerunner, but it does the job. Dillo[1] is my favourite but I
> > can't seem to find it in the repos- even the old version based on gtk was
> > really fast. Dillo2 uses fltk2- it's damn fast and fairly pretty. [1]
> > Also has an opk that you may be able to extract and execute, but I
> > haven't had the chance to test it out myself.
> 
> I totally agree on using other browser, with the power of Debian, we can
> use pretty everything with Apt, that's why i like a lot QtMoko! :-)
> 
> However it's not a bad idea to purge out from the QtMoko base
> installation all the software that sucks like, that said,  this
> QtExtended default browser that, in fact, it's not usable for Web
> browsing (but also the QtGPSdemo... and other default QtExtended
> software pretty useless).
> 
> I think it's not bad to insert as a default browser Midori or, like you
> said, Dillo, or any other Browser finger friendly, fast, usable, and
> stable. And as default software pre-installed, i think also it's pretty
> a must to insert a very good mixer (QalsaMixer) to fine tune calls volume.

  The problem with all of the suggestions above is that, great as it is that 
QtMoko is now able to run any app, also those based on X, is that well... They 
feel out of place. It's really nice to be able to do it, but a core feature 
(such as web browser arguably is these days in a smart device like the 
freerunner) really needs to be integrated. The thing is, the web browser 
currently doesn't do what's needed - but that does not mean that it's 
unfixable.

-- 
..Dan // Leinir..
http://leinir.dk/

  Co-
existence
  or no
existence

  - Piet Hein

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


Re: QtMoko v11

2009-09-20 Thread -= Apertum =-


* Ali wrote, Il 20/09/2009 14:41:
>
> I wouldn't mind it gone from the distro I think it sucks. Remember
>   qtmoko is on debian so everything in debian is available to us.
>   apt-get install iceweasel (firefox with free graphics) but that's overkill 
> (and slow) on a phone. Try midori, I
>  think it's a little bloated for the freerunner, but it does the job.
> Dillo[1] is my favourite but I can't seem to find it in the repos- even
> the old version based on gtk was really fast. Dillo2 uses fltk2- it's
> damn fast and fairly pretty. [1] Also has an opk that you may be able to
> extract and execute, but I haven't had the chance to test it out
> myself. 
>
>   

I totally agree on using other browser, with the power of Debian, we can
use pretty everything with Apt, that's why i like a lot QtMoko! :-)

However it's not a bad idea to purge out from the QtMoko base
installation all the software that sucks like, that said,  this
QtExtended default browser that, in fact, it's not usable for Web
browsing (but also the QtGPSdemo... and other default QtExtended
software pretty useless).

I think it's not bad to insert as a default browser Midori or, like you
said, Dillo, or any other Browser finger friendly, fast, usable, and
stable. And as default software pre-installed, i think also it's pretty
a must to insert a very good mixer (QalsaMixer) to fine tune calls volume.

-- 
Andrea

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


Re: QtMoko v11

2009-09-20 Thread Ali
On Sat, 2009-09-19 at 22:08 -0700, Jim Morris wrote:
> Excellent,Thanks Radek.
> 
> Seems to work ok so far.
> 
> Is there a better web browser though? The one in the menu still gets killed 
> when I try to load say 
> http://wolfman.com, and http://dogz.us just shows a blank screen. The fonts 
> are so small on most 
> other sites it is impossible to read without a magnifying glass :)
> 
> I think this one was a demo they put there to show webkit in action.
> 
> Thanks
> Jim
I wouldn't mind it gone from the distro I think it sucks. Remember
  qtmoko is on debian so everything in debian is available to us.
  apt-get install iceweasel (firefox with free graphics) but that's overkill 
(and slow) on a phone. Try midori, I
 think it's a little bloated for the freerunner, but it does the job.
Dillo[1] is my favourite but I can't seem to find it in the repos- even
the old version based on gtk was really fast. Dillo2 uses fltk2- it's
damn fast and fairly pretty. [1] Also has an opk that you may be able to
extract and execute, but I haven't had the chance to test it out
myself. 

[1] http://misc.andi.de1.cc/dillo/


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


Re: QtMoko v11

2009-09-19 Thread Jim Morris
Radek Polak wrote:
> Hi,
> i have just uploaded QtMoko on debian v11 images to
> 
>
Excellent,Thanks Radek.

Seems to work ok so far.

Is there a better web browser though? The one in the menu still gets killed 
when I try to load say 
http://wolfman.com, and http://dogz.us just shows a blank screen. The fonts are 
so small on most 
other sites it is impossible to read without a magnifying glass :)

I think this one was a demo they put there to show webkit in action.

Thanks
Jim

-- 
Jim Morris, http://blog.wolfman.com

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


Re: QtMoko v11

2009-09-19 Thread ANT

Radek Polak wrote: 
>Btw you can see screenshots here:

There is also possibility to install skins for keyboard via packages
(already in the feed).
http://scap.linuxtogo.org/files/2866a9641625b23c13a83b28db11.png

Cheers,
Anton
-- 
View this message in context: 
http://n2.nabble.com/QtMoko-v11-tp3674816p3676343.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: QtMoko v11

2009-09-19 Thread Radek Polak
Radek Polak wrote:

> There is also greatly improved X application support (QX) thanks to
> Anton Olkhovik. QX can now scan for .desktop files and you can add
> installed applications from GUI. It also displays application icons and
> you can also enable/disable suspend, screen dimming, GPS usage for each
> app.

Btw you can see screenshots here:

http://activationrecord.net/radekp/qtmoko/screenshots/qx.png
http://activationrecord.net/radekp/qtmoko/screenshots/qx_app_settings.png


Radek


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


QtMoko v11

2009-09-19 Thread Radek Polak
Hi,
i have just uploaded QtMoko on debian v11 images to

http://activationrecord.net/radekp/qtmoko/download/

MD5 sums:

2d15b193258de441789564b4f81a1da2  qtmoko-debian-v11.jffs2
2ac2b4b5cf28cf4b46f1c6be7cb0063c  qtmoko-debian-v11.tar.gz
2e4998463523afed3d16b64a7f09ee10  uImage-v11.bin

The rootfs is based on v9 version, because in v10 there was problem with
setting date/time. However all enhancements from v10 are there (more
memory, faster start...) so this is not downgrade.

There is also greatly improved X application support (QX) thanks to
Anton Olkhovik. QX can now scan for .desktop files and you can add
installed applications from GUI. It also displays application icons and
you can also enable/disable suspend, screen dimming, GPS usage for each
app.

As always thanks everybody for feedback and Anton for great work.

Cheers

Radek







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