FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-15-2011, 02:46 PM
Adrian Rocha
 
Default How select the access point manually in a wireless network?

> It may not be possible if the connection quality is too low. What does
> 'iwpriv scan' say when you are in the middle?

Hi Brian,iwpriv scan? maybe you mean*'iwlist scan'I can see booth access points in the list:
[root@rocha-ar /]# iwlist eth1 scaneth1 * * *Scan completed :* * * * * Cell 01 - Address: 00:22:0C:94:CD:10* * * * * * * * * * ESSID:"TCORP"* * * * * * * * * * Mode:Managed* * * * * * * * * * Frequency:2.417 GHz (Channel 2)* * * * * * * * * * Quality:5/5 *Signal level:-46 dBm *Noise level:-92 dBm* * * * * * * * * * IE: IEEE 802.11i/WPA2 Version 1* * * * * * * * * * * * Group Cipher : TKIP*
* * * * * * * * * * * Pairwise Ciphers (1) : CCMP* * * * * * * * * * * * Authentication Suites (1) : 802.1x* * * * * * * * * * IE: WPA Version 1* * * * * * * * * * * * Group Cipher : TKIP* * * * * * * * * * * * Pairwise Ciphers (1) : TKIP* * * * * * * * * * * * Authentication Suites (1) : 802.1x* * * * * * * * * * Encryption keyn* * * * * * * * * * Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s* * * *
* * * * * * * * * * * 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s* * * * * * * * * * * * * * * 48 Mb/s; 54 Mb/s...* * * * * Cell 05 - Address: 00:26:529:7B0* * * * * * * * * * ESSID:"TCORP"* * * * * * * * * * Mode:Managed* * * * * * * * * * Frequency:2.422 GHz (Channel 3)* * * * * * * * * * Quality:1/5 *Signal level:-81 dBm *Noise level:-86 dBm* * * * * * * * * * IE: IEEE 802.11i/WPA2 Version 1* * * * * * *
* * * * * Group Cipher : TKIP* * * * * * * * * * * * Pairwise Ciphers (1) : CCMP* * * * * * * * * * * * Authentication Suites (1) : 802.1x* * * * * * * * * * IE: WPA Version 1* * * * * * * * * * * * Group Cipher : TKIP* * * * * * * * * * * * Pairwise Ciphers (1) : TKIP* * * * * * * * * * * * Authentication Suites (1) : 802.1x* * * * * * * * * * Encryption keyn* * * * * * * * * * Bit Rates:1 Mb/s; 2
Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s* * * * * * * * * * * * * * * 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s* * * * * * * * * * * * * * * 48 Mb/s; 54 Mb/s...* * * * * Cell 08 - Address: 00:3A:99:0C:27:30* * * * * * * * * * ESSID:"TCORP"* * * * * * * * * * Mode:Managed* * * * * * * * * * Frequency:2.447 GHz (Channel 8)* * * * * * * * * * Quality:4/5 *Signal level:-67 dBm *Noise level:-85 dBm* * * * * * * * * * IE: IEEE
802.11i/WPA2 Version 1* * * * * * * * * * * * Group Cipher : TKIP* * * * * * * * * * * * Pairwise Ciphers (1) : CCMP* * * * * * * * * * * * Authentication Suites (1) : 802.1x* * * * * * * * * * IE: WPA Version 1* * * * * * * * * * * * Group Cipher : TKIP* * * * * * * * * * * * Pairwise Ciphers (1) : TKIP* * * * * * * * * * * * Authentication Suites (1) : 802.1x* * * * * * * * * * Encryption keyn*
* * * * * * * * * Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s* * * * * * * * * * * * * * * 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s* * * * * * * * * * * * * * * 48 Mb/s; 54 Mb/s
> You could try setting the freq/channel before the ap.

I try setting the freq/channel, but does not work"iwconfig eth1 channel 2 freq 2.417G ap 00:3A:99:0C:27:30 commit"
 
Old 06-15-2011, 03:28 PM
Brian
 
Default How select the access point manually in a wireless network?

On Wed 15 Jun 2011 at 07:46:08 -0700, Adrian Rocha wrote:

> > It may not be possible if the connection quality is too low. What does
> > 'iwpriv scan' say when you are in the middle?
>
>
> Hi Brian,
> iwpriv scan? maybe you mean*'iwlist scan'

I do. Thanks.

> I can see booth access points in the list:

There is not too much difference between the Quality values for Cell 01
and Cell 08.

> I try setting the freq/channel, but does not work
> "iwconfig eth1 channel 2 freq 2.417G ap 00:3A:99:0C:27:30 commit"

Channel 2 is 00:22:0C:94:CD:10.

Perhaps the software which manages the wireless connection is a factor.
What do you use?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110615152818.GN19572@desktop">http://lists.debian.org/20110615152818.GN19572@desktop
 
Old 06-15-2011, 04:40 PM
Andrew Sackville-West
 
Default How select the access point manually in a wireless network?

On Wed, Jun 15, 2011 at 04:28:18PM +0100, Brian wrote:
> On Wed 15 Jun 2011 at 07:46:08 -0700, Adrian Rocha wrote:
>
> > > It may not be possible if the connection quality is too low. What does
> > > 'iwpriv scan' say when you are in the middle?
> >
> >
> > Hi Brian,
> > iwpriv scan? maybe you mean*'iwlist scan'
>
> I do. Thanks.
>
> > I can see booth access points in the list:
>
> There is not too much difference between the Quality values for Cell 01
> and Cell 08.
>
> > I try setting the freq/channel, but does not work
> > "iwconfig eth1 channel 2 freq 2.417G ap 00:3A:99:0C:27:30 commit"
>
> Channel 2 is 00:22:0C:94:CD:10.
>
> Perhaps the software which manages the wireless connection is a factor.
> What do you use?

this is a good point. to really figure out what is going on, make sure
you shutdown everything else that is trying to manage the connection
-- networkmanager, wicd, etc.

Also, what does syslog show when you try to set the access point?

A
 
Old 06-15-2011, 06:59 PM
Adrian Rocha
 
Default How select the access point manually in a wireless network?

> Channel 2 is 00:22:0C:94:CD:10.

Correct Brian, I tryed with the channel 2. And I*tried to*change*the*AP*in both*directions.
> Perhaps the software which manages the wireless connection is a factor.
> What do you use?
I use the NetworkManager to admin the conections.I can't
see any log about the setting of the AP manually in the syslog. I attached the syslog of NetworkManager start.now I stoped this deamon and I'm trying to connect to the wireless network manually.
 
Old 06-15-2011, 09:59 PM
Freeman
 
Default How select the access point manually in a wireless network?

On Wed, Jun 15, 2011 at 05:44:17AM -0700, Adrian Rocha wrote:
> It doesn't works
> I try this in a place when I have signal of booth access points
> I*attached*the the console screen:
>
> (when I'm in the first floor)
> [root@rocha-ar /]# iwconfig eth1
> eth1 * * *IEEE 802.11abgn *ESSID:"TCORP" *Nickname:""
> * * * * * Mode:Managed *Frequency:2.447 GHz *Access Point: 00:3A:99:0C:27:30 **
> * * * * * Bit Rate=11 Mb/s * Tx-Power:24 dBm **
> * * * * * Retry min limit:7 * RTS thrff * Fragment thrff
> * * * * * Power Managementmode:All packets received
> * * * * * Link Quality=3/5 *Signal level=-69 dBm *Noise level=-82 dBm
> * * * * * Rx invalid nwid:0 *Rx invalid crypt:42 *Rx invalid frag:0
> * * * * * Tx excessive retries:71 *Invalid misc:0 * Missed beacon:0
> (in the second)
> [root@rocha-ar /]# iwconfig eth1
> eth1 * * *IEEE 802.11abgn *ESSID:"TCORP" *Nickname:""
> * * * * * Mode:Managed *Frequency:2.417 GHz *Access Point: 00:22:0C:94:CD:10 **
> * * * * * Bit Rate=11 Mb/s * Tx-Power:24 dBm **
> * * * * * Retry min limit:7 * RTS thrff * Fragment thrff
> * * * * * Power Managementmode:All packets received
> * * * * * Link Quality=5/5 *Signal level=-52 dBm *Noise level=-82 dBm
> * * * * * Rx invalid nwid:0 *Rx invalid crypt:45 *Rx invalid frag:0
> * * * * * Tx excessive retries:85 *Invalid misc:0 * Missed beacon:0
> (and I try this in the middle)
> [root@rocha-ar /]# iwconfig eth1 ap 00:3A:99:0C:27:30
> [root@rocha-ar /]# iwconfig eth1
> eth1 * * *IEEE 802.11abgn *ESSID:"TCORP" *Nickname:""
> * * * * * Mode:Managed *Frequency:2.417 GHz *Access Point: 00:22:0C:94:CD:10 **
> * * * * * Bit Rate=36 Mb/s * Tx-Power:24 dBm **
> * * * * * Retry min limit:7 * RTS thrff * Fragment thrff
> * * * * * Power Managementmode:All packets received
> * * * * * Link Quality=4/5 *Signal level=-65 dBm *Noise level=-89 dBm
> * * * * * Rx invalid nwid:0 *Rx invalid crypt:45 *Rx invalid frag:0
^^^^^^^^^^^^^^^^^^^


> * * * * * Tx excessive retries:86 *Invalid misc:0 * Missed beacon:0
>
> The access point doesn't change
>

OK. But do you need to be entering a password with the "key" parameter?

--
Regards,
Freeman

"Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer." --Somebody


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110615215947.GA4476@Europa.office">http://lists.debian.org/20110615215947.GA4476@Europa.office
 
Old 06-15-2011, 10:21 PM
Brian
 
Default How select the access point manually in a wireless network?

On Wed 15 Jun 2011 at 11:59:00 -0700, Adrian Rocha wrote:

> I use the NetworkManager to admin the conections.
> I can't see any log about the setting of the AP manually in the syslog. I
> attached the syslog of NetworkManager start.
>
> now I stoped this deamon and I'm trying to connect to the wireless network
> manually.

I have no experience of NetworkManager but would expect it to allow you
to choose the AP manually. Is it something you have tried?

The roaming bit is probably handled by wpasupplicant, which NM uses, and
I do know wpasupplicant can be given a priority parameter to deal with
APs which are in close proximity, the same SSIDs but different BSSIDs,
say, but do not know how NetworkManager makes use of it.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110615222126.GP19572@desktop">http://lists.debian.org/20110615222126.GP19572@desktop
 

Thread Tools




All times are GMT. The time now is 12:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org