Let's try again.
The last reply I sent to Brett by mistake. Sorry!
On 2005.05.28 13:05, Brett Parker wrote:
-----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?!
That was right but I've since installed DHCP and have got it working after a few hiccoughs.
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
I seem to have waproamd working now. All I need to do is provide the encryption key via iwconfig and it connects.
Now I have another problem. As my laptop now doesn't have a fixed IP address how do I find out what that address is so that other machines on my network can contact it?
The other thing I've discovered is that I cant't ping the laptop, using it's assigned IP taken from the output of dhclient, even from the laptop???
Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain