View previous topic :: View next topic |
Author |
Message |
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Thu Jul 28, 2005 7:21 pm Post subject: Ending up on the AP of the neighbor with dhcp... |
|
|
Hi all!
Both me and my neighbour have wireless AP's. When I give a Code: | /etc/init.d/net.wlan0 start | (configured to use DHCP) I always end up on the AP of the neighbour... How do I force the script to ignore that AP and/or only use my AP...? _________________ Greetz,
Evert Meulie |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Thu Jul 28, 2005 7:34 pm Post subject: |
|
|
meulie,
You BOTH should set up some encryption. You are wide open to a drive by hacking.
Ensure you both set your APs to different channels too, or you will get collissions which reduce the effective bandwidth. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Thu Jul 28, 2005 8:04 pm Post subject: |
|
|
Well, he wants to leave his wide open (his choice, and it enables me to use it as backup...) but I am planning on enabling WPA on mine. Haven't quite gotten that to work with my bcm4306/ndiswrapper though... For the time being I use MAC-checking to keep unwanted people out.
But how do I tell my laptop to FIRST try my own AP (and if that one is down maybe the neighbour's)...?
Anything I can set in /etc/conf.d/net ? _________________ Greetz,
Evert Meulie |
|
Back to top |
|
|
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Fri Jul 29, 2005 9:43 am Post subject: |
|
|
preferred_aps=( "essid-of-ap" ) |
|
Back to top |
|
|
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Fri Jul 29, 2005 9:58 am Post subject: |
|
|
Does that go in /etc/conf.d/wirelress or /etc/conf.d/net? _________________ Greetz,
Evert Meulie |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri Jul 29, 2005 10:21 am Post subject: |
|
|
Either
We may depreciate /etc/conf.d/wireless at some point, so /etc/conf.d/net is preferred really |
|
Back to top |
|
|
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Fri Jul 29, 2005 11:00 am Post subject: |
|
|
OK, I've added Code: | preferred_aps_wlan0=( "my_essid_at_home", "my_essid_at_work" ) | Is there also an option for the opposite, like forbidden_aps_wlan0=("essid_of_neighbor") ? _________________ Greetz,
Evert Meulie |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Fri Jul 29, 2005 11:11 am Post subject: |
|
|
Since you're talking about maybe depreciating /etc/conf.d/wireless in the future, isn't it better to rename /etc/conf.d/wireless.example to /etc/conf.d/net.example ?
Thanks for the swift help! _________________ Greetz,
Evert Meulie |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri Jul 29, 2005 11:42 am Post subject: |
|
|
meulie wrote: | Since you're talking about maybe depreciating /etc/conf.d/wireless in the future, isn't it better to rename /etc/conf.d/wireless.example to /etc/conf.d/net.example ? |
We already have a net.example, but yes, we would attach wireless.example to net.example |
|
Back to top |
|
|
|