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