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 > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 03-19-2008, 10:42 AM
Dani Crisan
 
Default wireless problem

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 keyff


* * * * * * * * * * 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:8CD


* * * * * * * * * * 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 keyn


* * * * * * * * * * 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=a077c1a5543504137b2a0d42ad045741c6173cb2bb9770 a1818e6d661b968d32


}





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 homepage.
 
Old 03-19-2008, 10:50 AM
Neil Bothwick
 
Default 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.
 
Old 03-19-2008, 10:51 AM
"Henry Gebhardt"
 
Default wireless problem

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
 
Old 03-19-2008, 11:06 AM
Dani Crisan
 
Default wireless problem

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.



Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
 
Old 03-19-2008, 11:22 AM
Neil Bothwick
 
Default 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.
 
Old 03-19-2008, 11:54 AM
Dani Crisan
 
Default wireless problem

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.



Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
 
Old 03-19-2008, 12:02 PM
Neil Bothwick
 
Default wireless problem

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
 
Old 03-19-2008, 12:15 PM
Alexander Meinke
 
Default 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)

iD8DBQFH4RH3YCx19pTB5PERAgc7AJ9n6z5080jGodvsIAGH1o AtmFEu1gCfYaho
UnpexLHd7n3lwW19or3R170=
=EsRb
-----END PGP SIGNATURE-----
--
gentoo-user@lists.gentoo.org mailing list
 
Old 03-20-2008, 09:52 AM
Dani Crisan
 
Default wireless problem

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

iD8DBQFH4RH3YCx19pTB5PERAgc7AJ9n6z5080jGodvsIAGH1o AtmFEu1gCfYaho
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




Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
 
Old 03-20-2008, 11:35 AM
"Henry Gebhardt"
 
Default wireless problem

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
 

Thread Tools




All times are GMT. The time now is 07:22 AM.

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