Re: A simple wifi solution for FSO ...

2009-01-04 Thread lollisoft

Hi,

I haven't the wpa-conf executable on my FSO 4.1. Also I have grepped for it
with opkg list | grep wpa.

Where did I get this script / application ?

With this and with more than one configuration in wpa_supplicant.conf, do I
get a uninteruptable
wlan, if both wlans are in the same house while I am walking around in it ?

Meaning, I listen to a shoutcast stream witn mplayer :-)

Thanks

Lothar


Samuel Pereira wrote:
 
 
 nice idea - it would be even nicer if it could be consolidated into
 one script, which checks the current state of the network devices, and
 switches the two to their opposite state. one less icon on the desktop
   
 I already have done this, you can check and download a file here 
 http://blog.samuelpereira.net/?p=4
 
 
 Thanks,
 Samuel
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/A-simple-wifi-solution-for-FSO-...-tp2106354p2108781.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


A simple wifi solution for FSO ...

2009-01-03 Thread lollisoft

Hi,

I had played around with wifi and tried to get some desktop symbols.
Here is my solution, that in my case works due to unencrypted wifi.

I have tested the scripts on my FSO 'more homework' (4.1) with
suspending the phone to see if wifi keeps working after wakeup.

Maybe there are 'better' GUI solutions, but for me it's good :-)

I think where could also used some python scripts to list scanned essid to
select from.
Also there could be developed some generic dialogs that doesn't rely on any
specific distribution.
But I am much away from writing python scripts :-)

Lothar

Shellscripts in /home/root yet (to be moved and desktop files tweaked):

wlan.sh to activate wifi and deactivate usb0 to simpify routing

#!/bin/sh
# Replace openmoko with your essid

iwconfig eth0 essid openmoko  ifup eth0  ifdown usb0

wlan-off.sh to revert back to usb0

#!/bin/sh

ifup usb0  ifdown eth0

Desktop files for each:

Switching on...

[Desktop Entry]
Name=Wifi On
Comment=Switch on wireless network
Note=Hard wired to my home network
Exec=/home/root/wlan.sh
Icon=star.png
Type=Application
Categories=Games

Categories=Office;


Switching off...

[Desktop Entry]
Name=Wifi Off
Comment=Switch on wireless network
Note=Hard wired to my home network
Exec=/home/root/wlan-off.sh
Icon=star.png
Type=Application
Categories=Games

Categories=Office;
-- 
View this message in context: 
http://n2.nabble.com/A-simple-wifi-solution-for-FSO-...-tp2106354p2106354.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: A simple wifi solution for FSO ...

2009-01-03 Thread Robin Paulson
2009/1/4 lollisoft lothar.behr...@lollisoft.de:
 Switching on...

 [Desktop Entry]
 Name=Wifi On
 Comment=Switch on wireless network
 Note=Hard wired to my home network
 Exec=/home/root/wlan.sh
 Icon=star.png
 Type=Application
 Categories=Games

 Categories=Office;

 Switching off...

 [Desktop Entry]
 Name=Wifi Off
 Comment=Switch on wireless network
 Note=Hard wired to my home network
 Exec=/home/root/wlan-off.sh
 Icon=star.png
 Type=Application
 Categories=Games

nice idea - it would be even nicer if it could be consolidated into
one script, which checks the current state of the network devices, and
switches the two to their opposite state. one less icon on the desktop

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


Re: A simple wifi solution for FSO ...

2009-01-03 Thread Samuel Pereira

 nice idea - it would be even nicer if it could be consolidated into
 one script, which checks the current state of the network devices, and
 switches the two to their opposite state. one less icon on the desktop
   
I already have done this, you can check and download a file here 
http://blog.samuelpereira.net/?p=4


Thanks,
Samuel

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