public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] wireless problem
@ 2006-02-02 11:49 Jean Magnan de Bornier
  2006-02-02 13:14 ` Iain Buchanan
  0 siblings, 1 reply; 26+ messages in thread
From: Jean Magnan de Bornier @ 2006-02-02 11:49 UTC (permalink / raw
  To: gentoo-user

Hello all,
Using a Dell latitude x1, dual-boot with w$ xp; on my campus they have a
wireless network which I can access with my mail login and password. It
works without a problem on w$.
On my gentoo I installed wpa_supplicant with the following item in
the conf file:

network={
	ssid="Universite Paul Cezanne"
	identity="mylogin"
	password="mypassword"
	priority=5
}

Here mylogin and password are also (of course) what I enter to access the
network when on w$.

When I type "iwconfig" I obtain this:

eth1      IEEE 802.11g  ESSID:"Universite Paul Cezanne"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:12:DA:AE:5A:50   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=91/100  Signal level=-37 dBm  Noise level=-80 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:5350   Missed beacon:0

Seems to indicate I am actually connected?

But then I can't access the network (firefox doesn't find anything).

Maybe it the identity/password which is not correct?

Thanks for any help,
-- 
Jean
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2006-02-02 11:49 Jean Magnan de Bornier
@ 2006-02-02 13:14 ` Iain Buchanan
  2006-02-02 14:55   ` Simon Prosser
  0 siblings, 1 reply; 26+ messages in thread
From: Iain Buchanan @ 2006-02-02 13:14 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-02-02 at 12:49 +0100, Jean Magnan de Bornier wrote:
> 
> When I type "iwconfig" I obtain this:
> 
> eth1      IEEE 802.11g  ESSID:"Universite Paul Cezanne"  
>           Mode:Managed  Frequency:2.412 GHz  Access Point: 00:12:DA:AE:5A:50 

> Seems to indicate I am actually connected?

this indicates you are associated with the AP whose mac address is
00:12:DA:AE:5A:50

> But then I can't access the network (firefox doesn't find anything).

next you have to make sure you have an ip address (ifconfig eth1) and
the necessary routing (route -n)

dhcp should set this up for you.

See what those two commands say for starters.

HTH,
-- 
Iain Buchanan <iain at netspace dot net dot au>

The early worm gets the bird.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2006-02-02 13:14 ` Iain Buchanan
@ 2006-02-02 14:55   ` Simon Prosser
  2006-02-02 15:35     ` Jean Magnan de Bornier
  2006-02-03  8:10     ` Jean Magnan de Bornier
  0 siblings, 2 replies; 26+ messages in thread
From: Simon Prosser @ 2006-02-02 14:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]

heres my /etc/conf.d/net might give you some pointers if you dont want to use 
dhcp...

config_ath0=( "192.168.2.3 netmask 255.255.255.0 brd 192.168.0.255" )
routes_ath0=( "default gw 192.168.2.1" )
essid_ath0="belkin54g"
config_eth0=( "192.168.0.7" )

hth...

On Thursday 02 February 2006 13:14, Iain Buchanan wrote:
> On Thu, 2006-02-02 at 12:49 +0100, Jean Magnan de Bornier wrote:
> > When I type "iwconfig" I obtain this:
> >
> > eth1      IEEE 802.11g  ESSID:"Universite Paul Cezanne"
> >           Mode:Managed  Frequency:2.412 GHz  Access Point:
> > 00:12:DA:AE:5A:50
> >
> > Seems to indicate I am actually connected?
>
> this indicates you are associated with the AP whose mac address is
> 00:12:DA:AE:5A:50
>
> > But then I can't access the network (firefox doesn't find anything).
>
> next you have to make sure you have an ip address (ifconfig eth1) and
> the necessary routing (route -n)
>
> dhcp should set this up for you.
>
> See what those two commands say for starters.
>
> HTH,
> --
> Iain Buchanan <iain at netspace dot net dot au>
>
> The early worm gets the bird.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2006-02-02 14:55   ` Simon Prosser
@ 2006-02-02 15:35     ` Jean Magnan de Bornier
  2006-02-03  8:10     ` Jean Magnan de Bornier
  1 sibling, 0 replies; 26+ messages in thread
From: Jean Magnan de Bornier @ 2006-02-02 15:35 UTC (permalink / raw
  To: gentoo-user

Le 02 février à 15:55:55 Simon Prosser <admin@speednet-pro.com> écrit notamment:

| heres my /etc/conf.d/net might give you some pointers if you dont want to use 
| dhcp...
>
| config_ath0=( "192.168.2.3 netmask 255.255.255.0 brd 192.168.0.255" )
| routes_ath0=( "default gw 192.168.2.1" )
| essid_ath0="belkin54g"
| config_eth0=( "192.168.0.7" )
>
| hth...
>
| On Thursday 02 February 2006 13:14, Iain Buchanan wrote:
| > On Thu, 2006-02-02 at 12:49 +0100, Jean Magnan de Bornier wrote:
| > > When I type "iwconfig" I obtain this:
| > >
| > > eth1      IEEE 802.11g  ESSID:"Universite Paul Cezanne"
| > >           Mode:Managed  Frequency:2.412 GHz  Access Point:
| > > 00:12:DA:AE:5A:50
| > >
| > > Seems to indicate I am actually connected?
| >
| > this indicates you are associated with the AP whose mac address is
| > 00:12:DA:AE:5A:50

Oh! I though it was *my* mac address (flush)

| >
| > > But then I can't access the network (firefox doesn't find anything).
| >
| > next you have to make sure you have an ip address (ifconfig eth1) and
| > the necessary routing (route -n)
| >
| > dhcp should set this up for you.
| >
| > See what those two commands say for starters.

[...]

Thanks a lot Simon and Iain; I will try dhcp tomorrow morning,
cheers
-- 
Jean

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2006-02-02 14:55   ` Simon Prosser
  2006-02-02 15:35     ` Jean Magnan de Bornier
@ 2006-02-03  8:10     ` Jean Magnan de Bornier
  2006-02-03 16:21       ` Simon Prosser
  1 sibling, 1 reply; 26+ messages in thread
From: Jean Magnan de Bornier @ 2006-02-03  8:10 UTC (permalink / raw
  To: gentoo-user

Le 02 février à 15:55:55 Simon Prosser <admin@speednet-pro.com> écrit notamment:

| heres my /etc/conf.d/net might give you some pointers if you dont want to use 
| dhcp...
>
| config_ath0=( "192.168.2.3 netmask 255.255.255.0 brd 192.168.0.255" )
| routes_ath0=( "default gw 192.168.2.1" )
| essid_ath0="belkin54g"
| config_eth0=( "192.168.0.7" )
>
| hth...
>
| On Thursday 02 February 2006 13:14, Iain Buchanan wrote:
| > On Thu, 2006-02-02 at 12:49 +0100, Jean Magnan de Bornier wrote:
| > > When I type "iwconfig" I obtain this:
| > >
| > > eth1      IEEE 802.11g  ESSID:"Universite Paul Cezanne"
| > >           Mode:Managed  Frequency:2.412 GHz  Access Point:
| > > 00:12:DA:AE:5A:50
| > >
| > > Seems to indicate I am actually connected?
| >
| > this indicates you are associated with the AP whose mac address is
| > 00:12:DA:AE:5A:50
| >
| > > But then I can't access the network (firefox doesn't find anything).
| >
| > next you have to make sure you have an ip address (ifconfig eth1) and
| > the necessary routing (route -n)
| >
| > dhcp should set this up for you.
| >
| > See what those two commands say for starters.

OK, dhcpcd does the connection all right, and thanks for that; however I
still need to enter the user and password informations. I guess it might
be a provider matter?

cheers,
-- 
Jean

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2006-02-03  8:10     ` Jean Magnan de Bornier
@ 2006-02-03 16:21       ` Simon Prosser
  2006-02-03 16:43         ` Jean Magnan de Bornier
  0 siblings, 1 reply; 26+ messages in thread
From: Simon Prosser @ 2006-02-03 16:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

On Friday 03 February 2006 08:10, Jean Magnan de Bornier wrote:
> OK, dhcpcd does the connection all right, and thanks for that; however I
> still need to enter the user and password informations. I guess it might
> be a provider matter?

have a read of /etc/conf.d/wireless.example <== all you needs in there ;)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2006-02-03 16:21       ` Simon Prosser
@ 2006-02-03 16:43         ` Jean Magnan de Bornier
  0 siblings, 0 replies; 26+ messages in thread
From: Jean Magnan de Bornier @ 2006-02-03 16:43 UTC (permalink / raw
  To: gentoo-user

Le 03 février à 17:21:34 Simon Prosser <admin@speednet-pro.com> écrit notamment:

| On Friday 03 February 2006 08:10, Jean Magnan de Bornier wrote:
| > OK, dhcpcd does the connection all right, and thanks for that; however I
| > still need to enter the user and password informations. I guess it might
| > be a provider matter?
>
| have a read of /etc/conf.d/wireless.example <== all you needs in there ;)

Did it already... but this is not so easy to figure out
I'll look at all that again soon
thanks
-- 
Jean

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* [gentoo-user] wireless problem
@ 2008-03-19 11:42 Dani Crisan
  2008-03-19 11:50 ` Neil Bothwick
  2008-03-19 11:51 ` Henry Gebhardt
  0 siblings, 2 replies; 26+ messages in thread
From: Dani Crisan @ 2008-03-19 11:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2468 bytes --]

 Please help me in solving this issue.

So....
 	  
			  
iwlist scan  
eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

sit0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:1B:11:FB:9D:00
                    ESSID:"dlink"
                    Mode:Master
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=83/100  Signal level=-51 dBm  Noise level=-95 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=0000001e7286c097
          Cell 02 - Address: 00:1D:7E:E3:8C:DD
                    ESSID:"baladei-wifi"
                    Mode:Master
                    Channel:10
                    Frequency:2.457 GHz (Channel 10)
                    Quality=96/100  Signal level=-32 dBm  Noise level=-95 dBm
                    Encryption key:on
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=00000000c2357a43
	

and my wireless is connecting to dlink since it is free. Mine is baladei-wifi. 

Here are the /etc/conf.d/net
 	  
			  
modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")
wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
config_wlan0=("dhcp")
	

and the wpa_supplicant.conf

 	  
			  
ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="baladei-wifi"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP 
        psk=a077c1a5543504137b2a0d42ad045741c6173cb2bb9770a1818e6d661b968d32
}
	How can I make it to authenticate to my "baladei-wifi"?

Please help because I didn't find anything on the web to solve my issue.





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[-- Attachment #2: Type: text/html, Size: 5448 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2008-03-19 11:42 Dani Crisan
@ 2008-03-19 11:50 ` Neil Bothwick
  2008-03-19 11:51 ` Henry Gebhardt
  1 sibling, 0 replies; 26+ messages in thread
From: Neil Bothwick @ 2008-03-19 11:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

On Wed, 19 Mar 2008 04:42:06 -0700 (PDT), Dani Crisan wrote:

> and my wireless is connecting to dlink since it is free. Mine is
> baladei-wifi. 
> 
> Here are the /etc/conf.d/net
> 			  
> modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")
> wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
> config_wlan0=("dhcp")
[snip]

> 	How can I make it to authenticate to my "baladei-wifi"?
> 
> Please help because I didn't find anything on the web to solve my issue.

Look closer to home, specifically /etc/conf.d/wireless.example. More
specifically, the preferred_aps setting.


-- 
Neil Bothwick

Sussh. Be vewwy quiet, I'm hunting tagwines. hahahahah.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2008-03-19 11:42 Dani Crisan
  2008-03-19 11:50 ` Neil Bothwick
@ 2008-03-19 11:51 ` Henry Gebhardt
  1 sibling, 0 replies; 26+ messages in thread
From: Henry Gebhardt @ 2008-03-19 11:51 UTC (permalink / raw
  To: gentoo-user

On Wed, Mar 19, 2008 at 12:42 PM, Dani Crisan <danicrisan82@yahoo.com> wrote:
>  (...)
>  modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")
>  wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
>  config_wlan0=("dhcp")
>
>  (...)
>
>  How can I make it to authenticate to my "baladei-wifi"?
>

     preferred_aps="'baladei-wifi' 'dlink'"
     associate_order="forcepreferred"

That way it will first try baladei-wifi, and only if that doesn't
work, dlink. Notice that 'baladei-wifi' and 'dlink' are in single
quotes. See /etc/conf.d/net.example for more details.

~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
@ 2008-03-19 12:06 Dani Crisan
  2008-03-19 12:22 ` Neil Bothwick
  0 siblings, 1 reply; 26+ messages in thread
From: Dani Crisan @ 2008-03-19 12:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]

Thank you for the quick reply.

I made what you said and now it still connects to dlink but I'll read the wireless.example.

Have a nice day.

----- Original Message ----
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Sent: Wednesday, March 19, 2008 1:50:35 PM
Subject: Re: [gentoo-user] wireless problem

On Wed, 19 Mar 2008 04:42:06 -0700 (PDT), Dani Crisan wrote:

> and my wireless is connecting to dlink since it is free. Mine is
> baladei-wifi. 
> 
> Here are the /etc/conf.d/net
>               
> modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")
> wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
> config_wlan0=("dhcp")
[snip]

>     How can I make it to authenticate to my "baladei-wifi"?
> 
> Please help because I didn't find anything on the web to solve my issue.

Look closer to home, specifically /etc/conf.d/wireless.example. More
specifically, the preferred_aps setting.


-- 
Neil Bothwick

Sussh. Be vewwy quiet, I'm hunting tagwines. hahahahah.






      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[-- Attachment #2: Type: text/html, Size: 1884 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2008-03-19 12:06 Dani Crisan
@ 2008-03-19 12:22 ` Neil Bothwick
  0 siblings, 0 replies; 26+ messages in thread
From: Neil Bothwick @ 2008-03-19 12:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

On Wed, 19 Mar 2008 05:06:59 -0700 (PDT), Dani Crisan wrote:

> I made what you said and now it still connects to dlink but I'll read
> the wireless.example.

Please don't top-post, it makes conversations difficult to follow and
impossible to quote meaningfully.

preferred_aps means that it will try that aps first, but if it fails, it
will then try dlink. You can force it to only use a specific aps with
essid_wlan0="baladei-wifi" but I susopect your problem is that the
connection to your preferred aps is failing and dlink being used as a
fallback.

The system log should show details of the connection process, try "tail
-f /var/log/messages" before you do "/etc/init.d/wlan0 start".


-- 
Neil Bothwick

When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
@ 2008-03-19 12:54 Dani Crisan
  2008-03-19 13:02 ` Neil Bothwick
  2008-03-19 13:15 ` Alexander Meinke
  0 siblings, 2 replies; 26+ messages in thread
From: Dani Crisan @ 2008-03-19 12:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4491 bytes --]

Hy again,

Here is the new /etc/conf.d/net:

pre-up(){
 ifconfig wlan0 up
}

modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")
essid_wlan0="any"
mode_wlan0="managed"
preferred_aps_wlan0="'baladei-wifi' 'dlink'"
assciate_order_wlan0="forcepreferedonly"
wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
config_wlan0=("dhcp")

When I issue /etc/init.d/net.wlan0 restart it still connects to dlink and from the log file it seems that it ignores baladei-wifi:

 Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: received SIGTERM, stopping
Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: removing default route via 192.168.0.1 metric 2000
Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: deleting IP address 192.168.0.101/24
Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: exiting
Mar 19 14:50:18 dani-laptop ACPI: PCI interrupt for device 0000:0c:00.0 disabled
Mar 19 14:50:18 dani-laptop ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
Mar 19 14:50:18 dani-laptop PM: Writing back config space on device 0000:0c:00.0 at offset 1 (was 100102, writing 100106)
Mar 19 14:50:18 dani-laptop ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0)
Mar 19 14:50:18 dani-laptop wlan0: authenticated
Mar 19 14:50:18 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: authentication frame received from 00:1b:11:fb:9d:00, but not in authenticate state - ignored
Mar 19 14:50:18 dani-laptop wlan0: RX AssocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=2)
Mar 19 14:50:18 dani-laptop wlan0: associated
Mar 19 14:50:18 dani-laptop ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0)
Mar 19 14:50:18 dani-laptop wlan0: authenticated
Mar 19 14:50:18 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: authentication frame received from 00:1b:11:fb:9d:00, but not in authenticate state - ignored
Mar 19 14:50:18 dani-laptop wlan0: RX AssocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=1)
Mar 19 14:50:18 dani-laptop wlan0: associated
Mar 19 14:50:19 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:19 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:19 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0)
Mar 19 14:50:19 dani-laptop wlan0: authenticated
Mar 19 14:50:19 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:19 dani-laptop wlan0: RX ReassocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=2)
Mar 19 14:50:19 dani-laptop wlan0: associated


Any ideeas?


----- Original Message ----
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Sent: Wednesday, March 19, 2008 2:22:11 PM
Subject: Re: [gentoo-user] wireless problem

On Wed, 19 Mar 2008 05:06:59 -0700 (PDT), Dani Crisan wrote:

> I made what you said and now it still connects to dlink but I'll read
> the wireless.example.

Please don't top-post, it makes conversations difficult to follow and
impossible to quote meaningfully.

preferred_aps means that it will try that aps first, but if it fails, it
will then try dlink. You can force it to only use a specific aps with
essid_wlan0="baladei-wifi" but I susopect your problem is that the
connection to your preferred aps is failing and dlink being used as a
fallback.

The system log should show details of the connection process, try "tail
-f /var/log/messages" before you do "/etc/init.d/wlan0 start".


-- 
Neil Bothwick

When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.






      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

[-- Attachment #2: Type: text/html, Size: 5237 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2008-03-19 12:54 Dani Crisan
@ 2008-03-19 13:02 ` Neil Bothwick
  2008-03-19 13:15 ` Alexander Meinke
  1 sibling, 0 replies; 26+ messages in thread
From: Neil Bothwick @ 2008-03-19 13:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

On Wed, 19 Mar 2008 05:54:10 -0700 (PDT), Dani Crisan wrote:

PLEASE DO NOT TOP-POST

> modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")
> essid_wlan0="any"

Try setting this to baladei-wifi

> mode_wlan0="managed"
> preferred_aps_wlan0="'baladei-wifi' 'dlink'"

I'm not sure how the init script will react to the nested quotes
instead of parentheses here. The syntax in the examples is

preferred_aps_wlan0=( "baladei-wifi" "dlink" )

> assciate_order_wlan0="forcepreferedonly"
> wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
> config_wlan0=("dhcp")
> 
> When I issue /etc/init.d/net.wlan0 restart it still connects to dlink
> and from the log file it seems that it ignores baladei-wifi:

If the fixed net config doesn't help, try disabling WPA on the access
point and see if it then connects.


-- 
Neil Bothwick

Top Oxymorons Number 48: freewill offering

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2008-03-19 12:54 Dani Crisan
  2008-03-19 13:02 ` Neil Bothwick
@ 2008-03-19 13:15 ` Alexander Meinke
  1 sibling, 0 replies; 26+ messages in thread
From: Alexander Meinke @ 2008-03-19 13:15 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dani,

your configuration file looks ok. To prior one ap more than another Iam using
the priority=<int> option in my wpa_supplicant.conf.
The second problem, that you're not able to connect to your wpa secured ap,
could be triggered by not compiled in gnutls. So please check if this useflag is
enabled.


Regards,

acm.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFH4RH3YCx19pTB5PERAgc7AJ9n6z5080jGodvsIAGH1oAtmFEu1gCfYaho
UnpexLHd7n3lwW19or3R170=
=EsRb
-----END PGP SIGNATURE-----
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
@ 2008-03-20 10:52 Dani Crisan
  2008-03-20 12:35 ` Henry Gebhardt
  2008-03-20 12:56 ` Neil Bothwick
  0 siblings, 2 replies; 26+ messages in thread
From: Dani Crisan @ 2008-03-20 10:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1638 bytes --]



----- Original Message ----
From: Alexander Meinke <ameinke@online.de>
To: gentoo-user@lists.gentoo.org
Sent: Wednesday, March 19, 2008 3:15:35 PM
Subject: Re: [gentoo-user] wireless problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dani,

your configuration file looks ok. To prior one ap more than another Iam using
the priority=<int> option in my wpa_supplicant.conf.
The second problem, that you're not able to connect to your wpa secured ap,
could be triggered by not compiled in gnutls. So please check if this useflag is
enabled.


Regards,

acm.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFH4RH3YCx19pTB5PERAgc7AJ9n6z5080jGodvsIAGH1oAtmFEu1gCfYaho
UnpexLHd7n3lwW19or3R170=
=EsRb
-----END PGP SIGNATURE-----

Thank you.
Now I can connect to my wireless but only when I issue 
 wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
and then
 dhcpcd wlan0.
which means that wpa_supplicant.conf is ok

If I issue /etc/init.d/net.wlan0 it connects to the other wireless network.
Here is my /etc/conf.d/net

modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")
wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
essid_wlan0="baladei-wifi"
mode_wlan0="managed"
preferred_aps_wlan0=("baladei-wifi" "dlink")
assciate_order_wlan0="forcepreferedonly"
config_wlan0=("dhcp")

gentoo-user@lists.gentoo.org mailing list







      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[-- Attachment #2: Type: text/html, Size: 2294 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2008-03-20 10:52 [gentoo-user] wireless problem Dani Crisan
@ 2008-03-20 12:35 ` Henry Gebhardt
  2008-03-20 12:56 ` Neil Bothwick
  1 sibling, 0 replies; 26+ messages in thread
From: Henry Gebhardt @ 2008-03-20 12:35 UTC (permalink / raw
  To: gentoo-user

On Thu, Mar 20, 2008 at 11:52 AM, Dani Crisan <danicrisan82@yahoo.com> wrote:
> assciate_order_wlan0="forcepreferedonly"

Are you sure you spelled forcepreferedonly correctly? I'd think there
is another 'r' in there: forcepreferredonly.

Btw., forcepreferred should suffice.

~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
@ 2008-03-20 12:54 Dani Crisan
  0 siblings, 0 replies; 26+ messages in thread
From: Dani Crisan @ 2008-03-20 12:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

Thank you for bringing that up to my attention but that didn't solve it.

It seems that when I issue /etc/init.d/net.wlan0 restart wpa_supplicant.conf isn't taken into consideration.

-- 
gentoo-user@lists.gentoo.org mailing list







      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[-- Attachment #2: Type: text/html, Size: 856 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
  2008-03-20 10:52 [gentoo-user] wireless problem Dani Crisan
  2008-03-20 12:35 ` Henry Gebhardt
@ 2008-03-20 12:56 ` Neil Bothwick
  1 sibling, 0 replies; 26+ messages in thread
From: Neil Bothwick @ 2008-03-20 12:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

On Thu, 20 Mar 2008 03:52:40 -0700 (PDT), Dani Crisan wrote:

> modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")

This is a bit of a guess, but try using 

modules_wlan0=( "wpa_supplicant" "iwconfig" )

dhcp is the default, so unnecessary and, although the docs are a little
vague on this, it appears that the order may matter.


-- 
Neil Bothwick

Dyslexics of the world, untie!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] wireless problem
@ 2008-03-20 13:04 Dani Crisan
  0 siblings, 0 replies; 26+ messages in thread
From: Dani Crisan @ 2008-03-20 13:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

Thank you Neil.

I'll buy a beer. This was it. 

modules_wlan0=( "wpa_supplicant" "iwconfig" ) is correct

Have a nice day/night whatever.






      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

[-- Attachment #2: Type: text/html, Size: 584 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [gentoo-user] Wireless problem
@ 2008-05-29 20:54 Rev. Ferris
  2008-05-30  7:19 ` Jil Larner
  0 siblings, 1 reply; 26+ messages in thread
From: Rev. Ferris @ 2008-05-29 20:54 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I have a wireless problem.
I bought yesterday a Zyxel G202 USB stick and I attack it of my 
workstation.
This hardware is supported from zd1211rw driver.
I set all parameters of my network and I started it.
It works fine, pretty signal quality, good speed, etc.
After some "quiet" time, from my network monitor I noticed a lost in the 
connection.
Now, if I restart the connection it works fine, but after a X time it 
disconnects again.
I don't find any message on dmesg or /var/log/messages and for that 
reason I have no idea how I can solve the problem. I think it is 
something correlates with energy management.
Any idea?
Thanks,
Luigi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkg/GAQACgkQYoDKzgS2pLNNLACfbiavFhRPBwVUFtKLSHjbfAUC
DZ4An2bm2q6N3T92E8tWstaAaZ0xpbaf
=XZSu
-----END PGP SIGNATURE-----
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] Wireless problem
  2008-05-29 20:54 [gentoo-user] Wireless problem Rev. Ferris
@ 2008-05-30  7:19 ` Jil Larner
  2008-05-30 20:14   ` Rev. Ferris
  0 siblings, 1 reply; 26+ messages in thread
From: Jil Larner @ 2008-05-30  7:19 UTC (permalink / raw
  To: gentoo-user

Hi,

Power saving, see man iwconfig (but I can't say more, I never touched it)

Bye,
Jil

Rev. Ferris a écrit :
> Hi!
> I have a wireless problem.
> I bought yesterday a Zyxel G202 USB stick and I attack it of my 
> workstation.
> This hardware is supported from zd1211rw driver.
> I set all parameters of my network and I started it.
> It works fine, pretty signal quality, good speed, etc.
> After some "quiet" time, from my network monitor I noticed a lost in the 
> connection.
> Now, if I restart the connection it works fine, but after a X time it 
> disconnects again.
> I don't find any message on dmesg or /var/log/messages and for that 
> reason I have no idea how I can solve the problem. I think it is 
> something correlates with energy management.
> Any idea?
> Thanks,
> Luigi
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] Wireless problem
  2008-05-30  7:19 ` Jil Larner
@ 2008-05-30 20:14   ` Rev. Ferris
  2008-06-02 23:05     ` Iain Buchanan
  0 siblings, 1 reply; 26+ messages in thread
From: Rev. Ferris @ 2008-05-30 20:14 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Unfortunately this card doesn't accept that command:
iwconfig eth2 power off
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device eth2 ; Operation not supported.

Any other suggestion?
Thanks,
Luigi

Alle venerdì 30 maggio 2008, Jil Larner ha scritto:
> Hi,
>
> Power saving, see man iwconfig (but I can't say more, I never touched
> it)
>
> Bye,
> Jil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhAYD0ACgkQYoDKzgS2pLPSIgCgjCVq/FaNECUlrDkuG9j+qMLi
D0gAoIs/Uz8/aicBHsCkIbeHJCgh3Skz
=DDrb
-----END PGP SIGNATURE-----
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] Wireless problem
  2008-05-30 20:14   ` Rev. Ferris
@ 2008-06-02 23:05     ` Iain Buchanan
  2008-06-05 19:42       ` Rev. Ferris
  0 siblings, 1 reply; 26+ messages in thread
From: Iain Buchanan @ 2008-06-02 23:05 UTC (permalink / raw
  To: gentoo-user

On Fri, 2008-05-30 at 22:14 +0200, Rev. Ferris wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Unfortunately this card doesn't accept that command:
> iwconfig eth2 power off
> Error for wireless request "Set Power Management" (8B2C) :
>     SET failed on device eth2 ; Operation not supported.
> 
> Any other suggestion?
> Thanks,
> Luigi

how about
iwconfig eth2 power all
?  Perhaps you could write a postup script that pings slowly:
ping -i 30 your.isp.com

hth,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

Vulcans worship peace above all.
		-- McCoy, "Return to Tomorrow", stardate 4768.3

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] Wireless problem
  2008-06-02 23:05     ` Iain Buchanan
@ 2008-06-05 19:42       ` Rev. Ferris
  2008-06-06  9:59         ` Mick
  0 siblings, 1 reply; 26+ messages in thread
From: Rev. Ferris @ 2008-06-05 19:42 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> how about
> iwconfig eth2 power all
> ?  Perhaps you could write a postup script that pings slowly:
> ping -i 30 your.isp.com
>
> hth,
> --

iwconfig eth2 power all doesnt't work:
#iwconfig eth2 power all
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device eth2 ; Operation not supported.
but I tried to put the zd1211rw driver in debug mode. When I lose the 
contact I read by dmesg or in /var/log/messages:
[...]
zd1211rw 5-7:1.0: iw_get_range()
zd1211rw 5-7:1.0: zd_mac_get_channel() channel 6
usb 5-7: handle_retry_failed_int() retry failed interrupt
[...]
Now I can't understand if it is a usb power or a driver problem.
How can I test it?
Thank a lots.
Luigi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhIQZkACgkQYoDKzgS2pLMfVQCfZTNQaw7mlYTg0Ftw52BTvVZK
poYAniZAG+aDcQapTqkQFKUWtjXTcdAZ
=MI4e
-----END PGP SIGNATURE-----
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [gentoo-user] Wireless problem
  2008-06-05 19:42       ` Rev. Ferris
@ 2008-06-06  9:59         ` Mick
  0 siblings, 0 replies; 26+ messages in thread
From: Mick @ 2008-06-06  9:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

On Thursday 05 June 2008, Rev. Ferris wrote:
> > how about
> > iwconfig eth2 power all
> > ?  Perhaps you could write a postup script that pings slowly:
> > ping -i 30 your.isp.com

I have experienced the same signal drop after a while on an AP that I never 
had disconnection problems before.  I am using the rt2500usb in kernel driver 
and that's the only change that I recall.  Therefore, I assumed that the 
signal is dropped due to some driver behaviour, but have not had the time or 
knowledge to troubleshoot it further.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2008-06-06  9:59 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20 10:52 [gentoo-user] wireless problem Dani Crisan
2008-03-20 12:35 ` Henry Gebhardt
2008-03-20 12:56 ` Neil Bothwick
  -- strict thread matches above, loose matches on Subject: below --
2008-05-29 20:54 [gentoo-user] Wireless problem Rev. Ferris
2008-05-30  7:19 ` Jil Larner
2008-05-30 20:14   ` Rev. Ferris
2008-06-02 23:05     ` Iain Buchanan
2008-06-05 19:42       ` Rev. Ferris
2008-06-06  9:59         ` Mick
2008-03-20 13:04 [gentoo-user] wireless problem Dani Crisan
2008-03-20 12:54 Dani Crisan
2008-03-19 12:54 Dani Crisan
2008-03-19 13:02 ` Neil Bothwick
2008-03-19 13:15 ` Alexander Meinke
2008-03-19 12:06 Dani Crisan
2008-03-19 12:22 ` Neil Bothwick
2008-03-19 11:42 Dani Crisan
2008-03-19 11:50 ` Neil Bothwick
2008-03-19 11:51 ` Henry Gebhardt
2006-02-02 11:49 Jean Magnan de Bornier
2006-02-02 13:14 ` Iain Buchanan
2006-02-02 14:55   ` Simon Prosser
2006-02-02 15:35     ` Jean Magnan de Bornier
2006-02-03  8:10     ` Jean Magnan de Bornier
2006-02-03 16:21       ` Simon Prosser
2006-02-03 16:43         ` Jean Magnan de Bornier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox