-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Barry Samuels bjsamuels@beenthere-donethat.org.uk wrote:
I have a laptop with a wireless PCMCIA card which connects to my home network. This relies on a set of fixed parameters supplied by /etc/network/interfaces.
Ah, clear access point, then? No DHCP setup?!
I went away recently to a hotel that provided a wireless internet facility. It was then that I realised that I couldn't use it because I didn't know how to even though they gave me an access code - a single string of numerical digits.
That's probably a WEP key.
I assume that there must be a way of setting up my laptop to scan for wireless access points and connect to any available ones. How would the access code provided by the hotel fit in?
iwconfig <interface> key <stringofdigits>
What about things like machine hostname, IP address etc?
That's what DHCP is for, it throws you DNS servers, IP addresses and default gateways.
Personally, at the moment, I use waproamd to move between wireless networks, it scans around, when it detects an accesspoint it goes "ohhh, an access point" and then depending on some files either tries (1) to connect unencryted (no WEP), or (2) authenticate to the access point with WEP. It's very simple to setup, and can just use ESSIDs to set up the notwork.
Cheers, - -- Brett Parker web: http://www.sommitrealweird.co.uk/ email: iDunno@sommitrealweird.co.uk