On 2005.05.29 09:39, Brett Parker wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Barry Samuels bjsamuels@beenthere-donethat.org.uk wrote:
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 seem to have waproamd working now. All I need to do is provide the
encryption key via iwconfig and it connects.
If you drop a file in /etc/waproamd/keys/accesspointmacaddress.wep containing just the wep key then it'll automagically do that step for you.
That could be very useful - thanks. I can't confirm that it works at the moment as I now can't get into my wireless access point via browser. It says 'access refused' or similar. I've even tried the reset button to start from the factory settings again but with the same result. I'll have to contact my supplier tomorrow about that.
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?
I'm assuming that you're running the DHCP server on your network? If so, assign a static IP to the mac address for your laptop, it's certainly how I've got mine configured (the laptop always gets 192.168.0.2 from my DHCP server at home)/
I have two network cards for the laptop one of which is wired (not wireless) and your suggestion works with that - thanks again. Can I include two sections in the DHCP config for the same hostname but with different MAC addresses so that it would work with either card?
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???
Hmmm, got some form of firewall on the laptop? I can't think of any other reason for it... Certainly seems to work for me.
Pinging now works ???
One more problem has me stumped. I use Privoxy as a proxy with my web browser. Once dhclient3 has been started and the IP address etc. set I cannot access the web via Privoxy. If I disconnect Privoxy then I can get out. The problem exists whether I use domain names or IP addresses so it doesn't seem to be DNS related.
If I stop dhclient3 and set the network settings manually it still won't work with Privoxy connected. If I try it by assigning network settings manually first before I run dhclient3 for the first time then it works using Privoxy.
Cheers,
Brett Parker
Barry Samuels (Baffled of Maldon) http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain