Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Wifi] Blacklister un AP (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
bulki
Guru
Guru


Joined: 25 Nov 2004
Posts: 529
Location: SiliconValley

PostPosted: Tue Oct 25, 2005 4:42 pm    Post subject: [Wifi] Blacklister un AP (résolu) Reply with quote

Yop tout le monde,
je voulais savoir s'il y avait un moyen simple de blacklister cetains access points. Par exemple, lorsque je fais un dhcp sur mon AP, je me connecte sur celui du voisin :oops: ...

Merci ;)


Last edited by bulki on Wed Oct 26, 2005 12:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
MrCoYoTe
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2005
Posts: 99

PostPosted: Tue Oct 25, 2005 4:48 pm    Post subject: Reply with quote

J'ai pas très bien compris, ton AP ? access point normal genre linksys ? ou c'est un AP fait maison ? parceque je sais pas mais avant de faire un dhcp wlan0 en général on définit l'AP et sa mac adresse avec la commande iwconfig.

Alors à moins que ton voisin est le meme nom et la meme mac address ce qui est impossible ..... 8O
Back to top
View user's profile Send private message
bulki
Guru
Guru


Joined: 25 Nov 2004
Posts: 529
Location: SiliconValley

PostPosted: Tue Oct 25, 2005 4:58 pm    Post subject: Reply with quote

MrCoYoTe wrote:
J'ai pas très bien compris, ton AP ? access point normal genre linksys ? ou c'est un AP fait maison ? parceque je sais pas mais avant de faire un dhcp wlan0 en général on définit l'AP et sa mac adresse avec la commande iwconfig.

Alors à moins que ton voisin est le meme nom et la meme mac address ce qui est impossible ..... 8O


Disons que je suis souvent en déplacement, que je ne connais pas TJRS toutes les infos sur la borne sur laquelle je me connecte. Certaines fois, je suis dans un environnement avec plusieurs bornes autour de moi (cf Université).

Comme avant toute chose je définis un:

Code:
iwconfig eth1 mode managed essid off key off

Pour remettre les pendules à l'heure, il devrait se connecter automatiquement sans que je lui donne de plus amples infos sur la borne qui a le meilleur rapport signal/bruit...

Dans mon cas, il se connecte sur celle du voisin...
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Tue Oct 25, 2005 5:01 pm    Post subject: Reply with quote

rajoute ap <MAC DE TON AP WIFI> a ta commande pour specifier l'acces point a utiliser
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
bulki
Guru
Guru


Joined: 25 Nov 2004
Posts: 529
Location: SiliconValley

PostPosted: Tue Oct 25, 2005 5:04 pm    Post subject: Reply with quote

kernel_sensei wrote:
rajoute ap <MAC DE TON AP WIFI> a ta commande pour specifier l'acces point a utiliser


Mais si je peux en utiliser 10 et sur ces 10, 1 seule ne me convient pas, n'y a-t-il pas un moyen de faire en sorte qu'il ne s'y connecte pas ?
Back to top
View user's profile Send private message
nico_calais
l33t
l33t


Joined: 09 Jun 2005
Posts: 628
Location: Saint Julien en Genevois

PostPosted: Wed Oct 26, 2005 6:59 am    Post subject: Reply with quote

Qu'est ce que tu utilises exactement comme AP ?
_________________
"Unix IS user friendly... It's just selective about who its friends are." — Tollef Fog Heen tollef@add.no
Back to top
View user's profile Send private message
LostControl
l33t
l33t


Joined: 02 Mar 2004
Posts: 885
Location: La Glane, Suisse

PostPosted: Wed Oct 26, 2005 7:05 am    Post subject: Reply with quote

Salut,

Voici un extrait de /etc/conf.d/wireless :
Code:
# You can define blacklisted Access Points in the same way
#blacklist_aps=( "ESSID 1" "ESSID 2" )
#blacklist_aps_eth0=( "ESSID 3" ESSID 4" )

Que dire de plus ? :wink: Ah oui, peut-être que /etc/conf.d/wireless vient de /etc/conf.d/wireless.example. Voilà tout est dit !

A+
_________________
http://www.jaqpot.net
http://www.fail2ban.org
Back to top
View user's profile Send private message
bulki
Guru
Guru


Joined: 25 Nov 2004
Posts: 529
Location: SiliconValley

PostPosted: Wed Oct 26, 2005 12:00 pm    Post subject: Reply with quote

LostControl wrote:
Salut,

Voici un extrait de /etc/conf.d/wireless :
Code:
# You can define blacklisted Access Points in the same way
#blacklist_aps=( "ESSID 1" "ESSID 2" )
#blacklist_aps_eth0=( "ESSID 3" ESSID 4" )

Que dire de plus ? :wink: Ah oui, peut-être que /etc/conf.d/wireless vient de /etc/conf.d/wireless.example. Voilà tout est dit !

A+


Mieux que ça, tu pouvais pas faire :D

Merci bcp :D
Back to top
View user's profile Send private message
LostControl
l33t
l33t


Joined: 02 Mar 2004
Posts: 885
Location: La Glane, Suisse

PostPosted: Wed Oct 26, 2005 12:05 pm    Post subject: Reply with quote

bulki wrote:
Mieux que ça, tu pouvais pas faire :D

Merci bcp :D

Mais de rien :wink:

Tu pourrais également résoudre ton problème de manière inverse avec ça :

Code:
# This lists the preferred ESSIDs to connect to in order
# ESSID's can contain any characters here as they must match the broadcast
# ESSID exactly.
# Surround each ESSID with the " character and seperate them with a space
# If the first ESSID isn't found then it moves onto the next
# If this isn't defined then it connects to the first one found
#preferred_aps=( "ESSID 1" "ESSID 2" )

# You can also define a preferred_aps list per interface
#preferred_aps_eth0=( "ESSID 3" "ESSID 4" )

# You can also say whether we only connect to preferred APs or not
# Values are "any", "preferredonly", "forcepreferred", "forcepreferredonly" and "forceany"
# "any" means it will connect to visible APs in the preferred list and then any
# other available AP
# "preferredonly" means it will only connect to visible APs in the preferred list
# "forcepreferred" means it will forceably connect to APs in order if it does not find
# them in a scan
# "forcepreferredonly" means it forceably connects to the APs in order and does not bother
# to scan
# "forceany" does the same as forcepreferred + connects to any other available AP
# Default is "any"
#associate_order="any"
#associate_order_eth0="any"


A+
_________________
http://www.jaqpot.net
http://www.fail2ban.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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