[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wlan in several networks?



Hi.

,---[Michael Renner]---------------------------------
| I move with my notebook form home (WEP, ESSID=any)
| to the university (no WEP, ESSID=any) and to my institute
| (no WEP, but ESSID=secret).
| Is there a way to automate the configuration for the
| different environments?
'-----------------------------------------------

You can define "schemes" in your /etc/pcmcia/wireless.opts
I've here two schemes.

---[snip]---
work,*,*,*)
	 ESSID="p188a1"
	 KEY="dead-beef-0815-4711"
	 ;;
clublan,*,*,*)
	 ESSID="aether"
	 KEY="s:secretphrase"
	 ;;
*,*,*,*)
	 ESSID="any"
	 ;;
	 
---[snip]---

So you can switch as root (or sudo) the eviroments with:

cardctl scheme work       or
cardctl scheme clublan

HTH
Dennis



Reply to: