Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ending up on the AP of the neighbor with dhcp...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Thu Jul 28, 2005 7:21 pm    Post subject: Ending up on the AP of the neighbor with dhcp... Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Thu Jul 28, 2005 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Thu Jul 28, 2005 8:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Fri Jul 29, 2005 9:43 am    Post subject: Reply with quote

preferred_aps=( "essid-of-ap" )
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Fri Jul 29, 2005 9:58 am    Post subject: Reply with quote

Does that go in /etc/conf.d/wirelress or /etc/conf.d/net? :?
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Jul 29, 2005 10:21 am    Post subject: Reply with quote

Either

We may depreciate /etc/conf.d/wireless at some point, so /etc/conf.d/net is preferred really
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Fri Jul 29, 2005 11:00 am    Post subject: Reply with quote

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") ? 8)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Jul 29, 2005 11:03 am    Post subject: Reply with quote

Documentation is only good when people read it

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4#doc_chap3
/etc/conf.d/wireless.example

HINT: blacklisted_aps=( "not_this" "or-that" )
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Fri Jul 29, 2005 11:11 am    Post subject: Reply with quote

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 ? 8)


Thanks for the swift help! :-)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Jul 29, 2005 11:42 am    Post subject: Reply with quote

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 ? 8)


We already have a net.example, but yes, we would attach wireless.example to net.example
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum