I'm running into the same problem I've had with the other non-Sharp roms. What's the easiest way to switch between different wireless networks?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152772\"][{POST_SNAPBACK}][/a][/div]
In Betas 1, 2, and 3 you can set different profiles and use a console command to switch between them (cardctl scheme _____). In r121 you can set up a wifi script for each network. I can post more details on my setup if you're running r121 and want them.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152779\"][{POST_SNAPBACK}][/a][/div]
Yep, that would be cool.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152786\"][{POST_SNAPBACK}][/a][/div]
First, you make a script to put in /bin, /usr/bin, your home dir, etc. It looks like this:
(wifi.sh, or whatever you want to name it.)
#!/bin/bash
/path/to/other/scripts/1
mv /path/to/other/scripts/2 /path/to/other/scripts/3
mv /path/to/other/scripts/1 /path/to/other/scripts/2
mv /path/to/other/scripts/3 /path/to/other/scripts/1
chmod a+x /path/to/other/scripts/1
chmod a+x /path/to/other/scripts/2Then, in /path/to/other/scripts/, make two scripts:
1 (be sure to name it "1" or edit the other scripts accordingly):
#!/bin/bash
pccardctl insert 1
killall dhcpcd
ifconfig wlan0 down
iwconfig wlan0 essid (SSIDNAME) mode managed key (KEY) channel (CHANNEL) power on
dhcpcd wlan02 (Same as for the above script except for call this one "2":
#!/bin/bash
pccardctl eject 1The script you run only calls the script that either turns your wifi on or off, then switches the on script and the off script so the next time it's run it will do the opposite. You can make different sets of these in their own directories with their own script to call each one. For instance you can have wifi-home.sh for your home network with the path /path/to/other/scripts/wifi-home/ and wifi-work.sh with the path /path/to/other/scripts/wifi-work/.
Unless I mistyped something, that should work. I assume it would work in non-r121 versions with tweaks (like changing pccardctl to cardctl), but I can't guarentee it.