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