Fast questions (email, GPRS, WiFi...)
Alexander Syring
openmoko at asyring.homeip.net
Sun Jul 13 01:24:21 CEST 2008
And probably you have to del the usb0 default route
route del default gw 192.168.0.202
Am Sonntag, 13. Juli 2008 01:14:59 schrieb Jim Morris:
> Ok using these scripts u and d (below) and the suggestion below it works,
> but is unreliable, I can ssh into it over wifi, but it quickly loses its
> connection, not sure why yet.
>
> # u this turns on wifi and usb0 off
> ifdown usb0
> ifup eth0
>
> # d this brings back usb0
> ifdown eth0
> killall wpa_supplicant
> ifup usb0
>
> Jim Morris wrote:
> > arne anka wrote:
> >> well, i did what
> >> http://wiki.openmoko.org/wiki/GTA02_wlan
> >> says -- adding
> >>
> >> iface eth0 inet dhcp
> >> wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
> >
> > Ok that worked, although I have some routing issues now. The manual
> > method did not work though.
> >
> > > iwconfig
> >
> > eth0 AR6000 802.11g ESSID:"morrisnetwork2"
> > Mode:Managed Frequency:2.422 GHz Access Point:
> > 00:1D:5A:BB:FA:A9 Bit Rate=48 Mb/s Tx-Power=16 dBm Sensitivity=0/3
> > Retry:on
> > Encryption key:off
> > Power Management:off
> > Link Quality:207/94 Signal level:-144 dBm Noise level:-96
> > dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive
> > retries:17 Invalid misc:0 Missed beacon:11
> >
> > Although it says encryption key off, but I presume wpa_supplicant is
> > handling that.
> >
> > > ifconfig
> >
> > eth0 Link encap:Ethernet HWaddr 00:12:CF:74:20:A8
> > inet addr:192.168.1.70 Bcast:192.168.1.255
> > Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:1657 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:832 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:725595 (708.5 KiB) TX bytes:37892 (37.0 KiB)
> >
> >
> > So its connected to my access point, and I turned off eth0, but I cannot
> > ping the wireless, I'll work on that it may be routing or it may be
> > encryption.
> >
> > Thanks all.
P.S. sorry for CC
More information about the community
mailing list