Re: [gentoo-user] wireless software config problem

2017-09-12 Thread allan gottlieb
On Thu, Sep 07 2017, allan gottlieb wrote:

> On Thu, Sep 07 2017, Canek Peláez Valdés wrote:
>
>> On Wed, Sep 6, 2017 at 6:31 PM, allan gottlieb  wrote:
>>>
>>> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
>>> working fine.
>>>
>>> At work the desired network is named "nyu".  The sysadmins say I need to
>>> change at least one security parameter.  When I open the gui it shows
>>> the network configuration parameters (by clicking the gear) and lets me
>>> select different values.  However the "Apply" button never becomes
>>> active so I can only "Cancel".
>>>
>>> If I try to select the "nyu" network it asks for the password, which I
>>> know and enter. I then click the appropriate button (something like
>>> "apply" or "ok").  As expected the window goes away but I am not
>>> connected and the window reappears.
>>>
>>> A "tip" from the sys admins at work is to somehow tell my system to
>>> forget all it knows about the network "nyu", but neither I nor they know
>>> how to do it (they don't "fully support" linux).
>>
>> I would try this:
>>
>> 1. Select the system menu (top right corner)
>> 2. Select settings (lower left corner of the menu)
>> 3. Select Network
>> 4. Click the gears icon for the wireless network
>> 5. Select the "Reset" option (last option available)
>> 6. Click the "Forget" button
>>
>> This should allow you to start from the beginning. You should not need to
>> muck around  around with permissions, it should Just Work™.
>>
>> Regards.
>> --
>> Dr. Canek Peláez Valdés
>
> Thank you canek!
>
> It is a little embarrassing since I got to the same screen as you see in
> step 5 via a different path but didn't think of "reset".  Instead I
> tried "security" and "identity", made my changes but could not "apply"
> them.  I am back at nyu on tuesday and will definitely try your
> suggestion.
>
> Thank you again.
> allan

Worked Perfectly!
thanks again,
allan



Re: [gentoo-user] wireless software config problem

2017-09-07 Thread allan gottlieb
On Thu, Sep 07 2017, Canek Peláez Valdés wrote:

> On Wed, Sep 6, 2017 at 6:31 PM, allan gottlieb  wrote:
>>
>> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
>> working fine.
>>
>> At work the desired network is named "nyu".  The sysadmins say I need to
>> change at least one security parameter.  When I open the gui it shows
>> the network configuration parameters (by clicking the gear) and lets me
>> select different values.  However the "Apply" button never becomes
>> active so I can only "Cancel".
>>
>> If I try to select the "nyu" network it asks for the password, which I
>> know and enter. I then click the appropriate button (something like
>> "apply" or "ok").  As expected the window goes away but I am not
>> connected and the window reappears.
>>
>> A "tip" from the sys admins at work is to somehow tell my system to
>> forget all it knows about the network "nyu", but neither I nor they know
>> how to do it (they don't "fully support" linux).
>
> I would try this:
>
> 1. Select the system menu (top right corner)
> 2. Select settings (lower left corner of the menu)
> 3. Select Network
> 4. Click the gears icon for the wireless network
> 5. Select the "Reset" option (last option available)
> 6. Click the "Forget" button
>
> This should allow you to start from the beginning. You should not need to
> muck around  around with permissions, it should Just Work™.
>
> Regards.
> --
> Dr. Canek Peláez Valdés

Thank you canek!

It is a little embarrassing since I got to the same screen as you see in
step 5 via a different path but didn't think of "reset".  Instead I
tried "security" and "identity", made my changes but could not "apply"
them.  I am back at nyu on tuesday and will definitely try your
suggestion.

Thank you again.
allan



Re: [gentoo-user] wireless software config problem

2017-09-06 Thread Canek Peláez Valdés
On Wed, Sep 6, 2017 at 6:31 PM, allan gottlieb  wrote:
>
> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
> working fine.
>
> At work the desired network is named "nyu".  The sysadmins say I need to
> change at least one security parameter.  When I open the gui it shows
> the network configuration parameters (by clicking the gear) and lets me
> select different values.  However the "Apply" button never becomes
> active so I can only "Cancel".
>
> If I try to select the "nyu" network it asks for the password, which I
> know and enter. I then click the appropriate button (something like
> "apply" or "ok").  As expected the window goes away but I am not
> connected and the window reappears.
>
> A "tip" from the sys admins at work is to somehow tell my system to
> forget all it knows about the network "nyu", but neither I nor they know
> how to do it (they don't "fully support" linux).

I would try this:

1. Select the system menu (top right corner)
2. Select settings (lower left corner of the menu)
3. Select Network
4. Click the gears icon for the wireless network
5. Select the "Reset" option (last option available)
6. Click the "Forget" button

This should allow you to start from the beginning. You should not need to
muck around  around with permissions, it should Just Work™.

Regards.
--
Dr. Canek Peláez Valdés
Profesor de Carrera Asociado C
Departamento de Matemáticas
Facultad de Ciencias
Universidad Nacional Autónoma de México


Re: [gentoo-user] wireless software config problem

2017-09-06 Thread allan gottlieb
On Wed, Sep 06 2017, Mick wrote:

> On Wednesday, 6 September 2017 22:29:29 BST allan gottlieb wrote:
>> On Wed, Sep 06 2017, Alan McKinnon wrote:
>> > On 06/09/2017 18:31, allan gottlieb wrote:
>> >> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
>> >> working fine.
>> >> 
>> >> At work the desired network is named "nyu".  The sysadmins say I need to
>> >> change at least one security parameter.  When I open the gui it shows
>> >> the network configuration parameters (by clicking the gear) and lets me
>> >> select different values.  However the "Apply" button never becomes
>> >> active so I can only "Cancel".
>> >> 
>> >> If I try to select the "nyu" network it asks for the password, which I
>> >> know and enter. I then click the appropriate button (something like
>> >> "apply" or "ok").  As expected the window goes away but I am not
>> >> connected and the window reappears.
>> >> 
>> >> A "tip" from the sys admins at work is to somehow tell my system to
>> >> forget all it knows about the network "nyu", but neither I nor they know
>> >> how to do it (they don't "fully support" linux).
>> >> 
>> >> Any help would be appreciated.
>> > 
>> > Your sysadmins are talking shit. What they need to do is tell you what
>> > the security settings are for that SSID. If it's a corporate firm it's
>> > likely something along the lines of "Protected EAP (PEAP)" and they must
>> > tell you what it requires. Or, find a working Windows machine and check
>> > it's wireless network property for that SSID. Usually, one can figure it
>> > out relatively easily.
>> > 
>> > That your sysadmins don't know this is a rather brutal indictement of
>> > your sysadmins...
>> > 
>> > In connman one often has delete and re-create connections as it often
>> > happens there isn't an Edit button in connman applets! But not in
>> > NetworkManager:
>> > right click -> Config -> Edit -> Save
>> > always does the trick if you click the right buttons in the Edit step
>> 
>> I must not have been clear.  They told me about peap etc.
>> I can't make network manager change to the desired configuration.
>> When I change the settings, the gui doesn't let me apply the change.
>> 
>> allan
>
> This sounds like an OS user permissions problem.  Do you have sys-auth/polkit 
> installed and is USE="policykit" enabled for networkmanager?
>
> Also have a read here in case you need to create this rule:
>
> https://wiki.gentoo.org/wiki/NetworkManager#Fixing_nm-applet_insufficient_privileges

I run gentoo stable and networkmanager-1.4.4-r1 doesn't have a policykit
use flag (version ~1.8.0 does have a that use flag).

I will try changing the settings tomorrow as root (the network in
question is at work)

thanks
allan





Re: [gentoo-user] wireless software config problem

2017-09-06 Thread Mick
On Wednesday, 6 September 2017 22:29:29 BST allan gottlieb wrote:
> On Wed, Sep 06 2017, Alan McKinnon wrote:
> > On 06/09/2017 18:31, allan gottlieb wrote:
> >> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
> >> working fine.
> >> 
> >> At work the desired network is named "nyu".  The sysadmins say I need to
> >> change at least one security parameter.  When I open the gui it shows
> >> the network configuration parameters (by clicking the gear) and lets me
> >> select different values.  However the "Apply" button never becomes
> >> active so I can only "Cancel".
> >> 
> >> If I try to select the "nyu" network it asks for the password, which I
> >> know and enter. I then click the appropriate button (something like
> >> "apply" or "ok").  As expected the window goes away but I am not
> >> connected and the window reappears.
> >> 
> >> A "tip" from the sys admins at work is to somehow tell my system to
> >> forget all it knows about the network "nyu", but neither I nor they know
> >> how to do it (they don't "fully support" linux).
> >> 
> >> Any help would be appreciated.
> > 
> > Your sysadmins are talking shit. What they need to do is tell you what
> > the security settings are for that SSID. If it's a corporate firm it's
> > likely something along the lines of "Protected EAP (PEAP)" and they must
> > tell you what it requires. Or, find a working Windows machine and check
> > it's wireless network property for that SSID. Usually, one can figure it
> > out relatively easily.
> > 
> > That your sysadmins don't know this is a rather brutal indictement of
> > your sysadmins...
> > 
> > In connman one often has delete and re-create connections as it often
> > happens there isn't an Edit button in connman applets! But not in
> > NetworkManager:
> > right click -> Config -> Edit -> Save
> > always does the trick if you click the right buttons in the Edit step
> 
> I must not have been clear.  They told me about peap etc.
> I can't make network manager change to the desired configuration.
> When I change the settings, the gui doesn't let me apply the change.
> 
> allan

This sounds like an OS user permissions problem.  Do you have sys-auth/polkit 
installed and is USE="policykit" enabled for networkmanager?

Also have a read here in case you need to create this rule:

https://wiki.gentoo.org/wiki/NetworkManager#Fixing_nm-applet_insufficient_privileges

-- 
Regards,
Mick



Re: [gentoo-user] wireless software config problem

2017-09-06 Thread allan gottlieb
On Wed, Sep 06 2017, Alan McKinnon wrote:

> On 06/09/2017 18:31, allan gottlieb wrote:
>> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
>> working fine.
>> 
>> At work the desired network is named "nyu".  The sysadmins say I need to
>> change at least one security parameter.  When I open the gui it shows
>> the network configuration parameters (by clicking the gear) and lets me
>> select different values.  However the "Apply" button never becomes
>> active so I can only "Cancel".
>> 
>> If I try to select the "nyu" network it asks for the password, which I
>> know and enter. I then click the appropriate button (something like
>> "apply" or "ok").  As expected the window goes away but I am not
>> connected and the window reappears.
>> 
>> A "tip" from the sys admins at work is to somehow tell my system to
>> forget all it knows about the network "nyu", but neither I nor they know
>> how to do it (they don't "fully support" linux).
>> 
>> Any help would be appreciated.
>
>
> Your sysadmins are talking shit. What they need to do is tell you what
> the security settings are for that SSID. If it's a corporate firm it's
> likely something along the lines of "Protected EAP (PEAP)" and they must
> tell you what it requires. Or, find a working Windows machine and check
> it's wireless network property for that SSID. Usually, one can figure it
> out relatively easily.
>
> That your sysadmins don't know this is a rather brutal indictement of
> your sysadmins...
>
> In connman one often has delete and re-create connections as it often
> happens there isn't an Edit button in connman applets! But not in
> NetworkManager:
> right click -> Config -> Edit -> Save
> always does the trick if you click the right buttons in the Edit step

I must not have been clear.  They told me about peap etc.
I can't make network manager change to the desired configuration.
When I change the settings, the gui doesn't let me apply the change.

allan



Re: [gentoo-user] wireless software config problem

2017-09-06 Thread Alan McKinnon
On 06/09/2017 18:31, allan gottlieb wrote:
> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
> working fine.
> 
> At work the desired network is named "nyu".  The sysadmins say I need to
> change at least one security parameter.  When I open the gui it shows
> the network configuration parameters (by clicking the gear) and lets me
> select different values.  However the "Apply" button never becomes
> active so I can only "Cancel".
> 
> If I try to select the "nyu" network it asks for the password, which I
> know and enter. I then click the appropriate button (something like
> "apply" or "ok").  As expected the window goes away but I am not
> connected and the window reappears.
> 
> A "tip" from the sys admins at work is to somehow tell my system to
> forget all it knows about the network "nyu", but neither I nor they know
> how to do it (they don't "fully support" linux).
> 
> Any help would be appreciated.


Your sysadmins are talking shit. What they need to do is tell you what
the security settings are for that SSID. If it's a corporate firm it's
likely something along the lines of "Protected EAP (PEAP)" and they must
tell you what it requires. Or, find a working Windows machine and check
it's wireless network property for that SSID. Usually, one can figure it
out relatively easily.

That your sysadmins don't know this is a rather brutal indictement of
your sysadmins...

In connman one often has delete and re-create connections as it often
happens there isn't an Edit button in connman applets! But not in
NetworkManager:
right click -> Config -> Edit -> Save
always does the trick if you click the right buttons in the Edit step


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Wireless keyboard mouse

2017-02-16 Thread J. Roeleveld
On February 17, 2017 6:00:56 AM GMT+01:00, the...@sys-concept.com wrote:
>If I use wireless keyboard and mouse from same company can I use them
>with three computers?
>
>My space is limited, and the boxes are close to each other; in addition
>I have only one monitor.
>
>PC-1: PS/2(Keyboard+Mouse) + DB9 Monitor
>PC-2: PS/2(Keyboard+Mouse) + DB9 Monitor
>
>I use KVM switch to control the above two (all wired keyboard and
>mouse).
>Now I have a new additional box:
>
>PC-3: 1 port with (PS/2 Keyboard or Mouse) + USB's DB9 plug monitor.
>
>How to get all three working with one monitor keyboard and mouse.

Wireless keyboard and mouse items usually have an ID code to allow multiple to 
be used in a small area. I have not found any where I can change the ID myself.

This means that you will need a KVM that supports the type of connector. As 
modern PCs all use USB, one with USB ports would be useful.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-12 Thread Marat BN
The solution I use when dealing with the problem of network software
overwriting '/etc/resolf.conf' is to make that file immutable with
'chattr +i'.

Not quite an answer to your question on nameserver prioritization, but
could be useful to prevent your nameservers from being changed.


-- Marat



On 07/09/2016 07:53 AM, Mick wrote:
> Hi All,
>
> I just noticed my resolv.conf is topped up with the nameservers of the 
> wireless LAN I happen to be associated at the time and my wired ethernet 
> nameserver(s) are pushed further down.  This happens despite the fact that I 
> have configured my wired ethernet to have a lesser priority than the wired 
> NIC.
>
> For example:
>
> less /etc/resolv.conf 
> # Generated by dhcpcd from wlan0.dhcp, enp11s0.dhcp
> # /etc/resolv.conf.head can replace this line
> domain openwifi
> nameserver 192.168.22.22
> nameserver 192.168.22.23
> nameserver 10.10.10.254
> # /etc/resolv.conf.tail can replace this line
>
> The first 3 non-commented entries were produced by wlan0, demoting my wired 
> ethernet nameserver.
>
> ip route show
> default via 10.10.10.254 dev enp11s0  metric 10 
> default via 10.160.95.1 dev wlan0  metric 20 
> 10.10.10.0/24 dev enp11s0  proto kernel  scope link  src 10.10.10.7  metric 
> 10 
> 10.160.95.0/29 dev wlan0  proto kernel  scope link  src 10.160.95.2  metric 
> 20 
> 127.0.0.0/8 dev lo  scope host 
>
> If I am associated, but not authenticated with the wireless LAN, any URLs I 
> try to visit will be queried with the 192.168.22.2* nameserver, before it 
> times out and 10.10.10.254 takes over.
>
> Waiting for URLs to resolve becomes tedious after a while.  Is there a way to 
> prioritise nameservers so that the NIC metric is respected, whenever the 
> resolv.conf content is updated?
>




Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-12 Thread Emanuele Rusconi
On 11 July 2016 at 17:31, Alan McKinnon  wrote:

> On 11/07/2016 10:32, Emanuele Rusconi wrote:
> > Wouldn't it be better to just use the same servers for both wired and
> > wireless? It's what I use and it works flawlessly.
>
> It works flawlessly *for you*, but by no means can you consider it
> correct or stable.
>
> There is no guarantee that a wired and wireless network will use the
> same dns caches.
>
> If it happens to work, great, use it. But be aware there will come a day
> when that is no longer true.


That's why I phrased my suggestion as a question. I'm honestly curious:
aren't DNS servers like Google ones (8.8.8.8 etc.) supposed to be reachable
from anywhere? If you can't reach them, isn't your connectivity inherently
broken? I'm sure I'm missing something here.

-- Emanuele Rusconi


Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-11 Thread Alan McKinnon

On 11/07/2016 20:13, Mick wrote:

On Monday 11 Jul 2016 17:31:29 Alan McKinnon wrote:

On 11/07/2016 10:32, Emanuele Rusconi wrote:

Wouldn't it be better to just use the same servers for both wired and
wireless? It's what I use and it works flawlessly.


It works flawlessly *for you*, but by no means can you consider it
correct or stable.

There is no guarantee that a wired and wireless network will use the
same dns caches.


Yep, furthermore this is a laptop which is taken around the place and plugged
in and out of wired and wireless networks.



If it happens to work, great, use it. But be aware there will come a day
when that is no longer true.


When I get a minute I'll have a look at net-dns/openresolv which Fernando
suggested.  I think it will do what want.



why don't you go with the dns server addresses supplied by each 
network's dhcp? Presumably the admin put them their because they work on 
that network.




Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-11 Thread Mick
On Monday 11 Jul 2016 17:31:29 Alan McKinnon wrote:
> On 11/07/2016 10:32, Emanuele Rusconi wrote:
> > Wouldn't it be better to just use the same servers for both wired and
> > wireless? It's what I use and it works flawlessly.
> 
> It works flawlessly *for you*, but by no means can you consider it
> correct or stable.
> 
> There is no guarantee that a wired and wireless network will use the
> same dns caches.

Yep, furthermore this is a laptop which is taken around the place and plugged 
in and out of wired and wireless networks.


> If it happens to work, great, use it. But be aware there will come a day
> when that is no longer true.

When I get a minute I'll have a look at net-dns/openresolv which Fernando 
suggested.  I think it will do what want.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-11 Thread Alan McKinnon
On 11/07/2016 10:32, Emanuele Rusconi wrote:
> Wouldn't it be better to just use the same servers for both wired and
> wireless? It's what I use and it works flawlessly.

It works flawlessly *for you*, but by no means can you consider it
correct or stable.

There is no guarantee that a wired and wireless network will use the
same dns caches.

If it happens to work, great, use it. But be aware there will come a day
when that is no longer true.




-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-11 Thread Emanuele Rusconi
Wouldn't it be better to just use the same servers for both wired and
wireless? It's what I use and it works flawlessly.
In that case you have at least a couple of options:

The second line says:

# /etc/resolv.conf.head can replace this line

So, you can just put your preferred servers in the /etc/resolv.conf.head
file and they will be written at the top of /etc/resolv.conf .


Or, you can write your own /etc/resolv.conf and add this line to your
/etc/dhcpcd.conf :

nohook resolv.conf

This is the same as the -C option, and tells dhcpcd to not overwrite
/etc/resolv.conf .



-- Emanuele Rusconi


Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-09 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/09/2016 03:25 PM, Mick wrote:
> On Saturday 09 Jul 2016 11:34:59 Fernando Rodriguez wrote:
>> On 07/09/2016 10:53 AM, Mick wrote:
>>> Hi All,
>>>
>>> I just noticed my resolv.conf is topped up with the nameservers of the
>>> wireless LAN I happen to be associated at the time and my wired ethernet
>>> nameserver(s) are pushed further down.  This happens despite the fact that
>>> I have configured my wired ethernet to have a lesser priority than the
>>> wired NIC.
>>>
>>> For example:
>>>
>>> less /etc/resolv.conf
>>> # Generated by dhcpcd from wlan0.dhcp, enp11s0.dhcp
>>> # /etc/resolv.conf.head can replace this lineL
>>> domain openwifi
>>> nameserver 192.168.22.22
>>> nameserver 192.168.22.23
>>> nameserver 10.10.10.254
>>> # /etc/resolv.conf.tail can replace this line
>>>
>>> The first 3 non-commented entries were produced by wlan0, demoting my
>>> wired
>>> ethernet nameserver.
>>>
>>> ip route show
>>> default via 10.10.10.254 dev enp11s0  metric 10
>>> default via 10.160.95.1 dev wlan0  metric 20
>>> 10.10.10.0/24 dev enp11s0  proto kernel  scope link  src 10.10.10.7 
>>> metric 10 10.160.95.0/29 dev wlan0  proto kernel  scope link  src
>>> 10.160.95.2  metric 20 127.0.0.0/8 dev lo  scope host
>>>
>>> If I am associated, but not authenticated with the wireless LAN, any URLs
>>> I
>>> try to visit will be queried with the 192.168.22.2* nameserver, before it
>>> times out and 10.10.10.254 takes over.
>>>
>>> Waiting for URLs to resolve becomes tedious after a while.  Is there a way
>>> to prioritise nameservers so that the NIC metric is respected, whenever
>>> the resolv.conf content is updated?
>>
>> Look at the -C option on dhcpcd's man page. It is done by a dhcpcd hook that
>> you can disable with that option. Where to specify it depends on what
>> you're using to manage your network connections.
> 
> Thanks, that'll work, but it is a nuclear option because, as I understand it, 
> it will work all the time.  So when the ethernet cable is disconnected the 
> wireless will not be able to obtain nameservers.

Check out net-dns/openresolv [1]. I've never used it but it's mean to solve 
that problem.
If you use NetworkManager I think all you need to do is enable that use flag.

[1] http://roy.marples.name/projects/openresolv/index

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXgVYtAAoJEPbOFX/5Ulwc0MIP/RcyQ6dAed9YAC9KOMwCrfmu
SsONlWAaBgCSrHKGZcI3a4G9WKd8kyGPUM2deSP02JBNTDiHwZxwb494dQk2u2HN
Y6WoHE65F7LE6er5HaPBW28qTSHQ0BaH2SNQzJsId+hl0CnVfFr8t6IU+Qav7W2m
Oyeh3Wph5kDHx2cX80Czs45lWkxIbcsx2bN8a4G9ZjSk23KDtkvG5F5CgZgU/aYK
F0815O0lqzA+CLhSgzQsYOeF5aRBQ1jEh+EHSWC6Py6AuSNHmw5YanrnpelzFNHD
GhG26b2aKuXcUI7DW2MtF3vnMqcQ8nXIZjpkoKF0JAy31ruPvKJVCWMuVUrZD/l1
uTqo1DhfUyaynjG2cX5TZ9+pk8GfAaRG+W9bq/xu/v4zAKxfVZS8DUo2VOMvZqdv
YO8azzbwqyPfG7M6mF6NPLBR4h+EQYpCHoh8B8u+gsXkRxsDB5zlKqaXGO579p15
tvaAxbpW6veDH8taQITEnG7cGLm+cv9raVYmBK2rcOvPSnbfYE/A+UifmQ9gBNp7
CzEpEryIuUIL+ztkgQpLxZY1ldAt3WuiB99i+rcksVvsOO3mSHq10298M+PcfM0g
tvCkL6ttDhPiTQCXvzHuaH8lvxfHdN70LUrKngnC2NtQpzXdgFcSJynJ26wx6xrU
P6Txb5Q7nzPO+bdF7otO
=2Z4B
-END PGP SIGNATURE-



Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-09 Thread Mick
On Saturday 09 Jul 2016 11:34:59 Fernando Rodriguez wrote:
> On 07/09/2016 10:53 AM, Mick wrote:
> > Hi All,
> > 
> > I just noticed my resolv.conf is topped up with the nameservers of the
> > wireless LAN I happen to be associated at the time and my wired ethernet
> > nameserver(s) are pushed further down.  This happens despite the fact that
> > I have configured my wired ethernet to have a lesser priority than the
> > wired NIC.
> > 
> > For example:
> > 
> > less /etc/resolv.conf
> > # Generated by dhcpcd from wlan0.dhcp, enp11s0.dhcp
> > # /etc/resolv.conf.head can replace this lineL
> > domain openwifi
> > nameserver 192.168.22.22
> > nameserver 192.168.22.23
> > nameserver 10.10.10.254
> > # /etc/resolv.conf.tail can replace this line
> > 
> > The first 3 non-commented entries were produced by wlan0, demoting my
> > wired
> > ethernet nameserver.
> > 
> > ip route show
> > default via 10.10.10.254 dev enp11s0  metric 10
> > default via 10.160.95.1 dev wlan0  metric 20
> > 10.10.10.0/24 dev enp11s0  proto kernel  scope link  src 10.10.10.7 
> > metric 10 10.160.95.0/29 dev wlan0  proto kernel  scope link  src
> > 10.160.95.2  metric 20 127.0.0.0/8 dev lo  scope host
> > 
> > If I am associated, but not authenticated with the wireless LAN, any URLs
> > I
> > try to visit will be queried with the 192.168.22.2* nameserver, before it
> > times out and 10.10.10.254 takes over.
> > 
> > Waiting for URLs to resolve becomes tedious after a while.  Is there a way
> > to prioritise nameservers so that the NIC metric is respected, whenever
> > the resolv.conf content is updated?
> 
> Look at the -C option on dhcpcd's man page. It is done by a dhcpcd hook that
> you can disable with that option. Where to specify it depends on what
> you're using to manage your network connections.

Thanks, that'll work, but it is a nuclear option because, as I understand it, 
it will work all the time.  So when the ethernet cable is disconnected the 
wireless will not be able to obtain nameservers.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-09 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/09/2016 10:53 AM, Mick wrote:
> Hi All,
> 
> I just noticed my resolv.conf is topped up with the nameservers of the 
> wireless LAN I happen to be associated at the time and my wired ethernet 
> nameserver(s) are pushed further down.  This happens despite the fact that I 
> have configured my wired ethernet to have a lesser priority than the wired 
> NIC.
> 
> For example:
> 
> less /etc/resolv.conf 
> # Generated by dhcpcd from wlan0.dhcp, enp11s0.dhcp
> # /etc/resolv.conf.head can replace this lineL
> domain openwifi
> nameserver 192.168.22.22
> nameserver 192.168.22.23
> nameserver 10.10.10.254
> # /etc/resolv.conf.tail can replace this line
> 
> The first 3 non-commented entries were produced by wlan0, demoting my wired 
> ethernet nameserver.
> 
> ip route show
> default via 10.10.10.254 dev enp11s0  metric 10 
> default via 10.160.95.1 dev wlan0  metric 20 
> 10.10.10.0/24 dev enp11s0  proto kernel  scope link  src 10.10.10.7  metric 
> 10 
> 10.160.95.0/29 dev wlan0  proto kernel  scope link  src 10.160.95.2  metric 
> 20 
> 127.0.0.0/8 dev lo  scope host 
> 
> If I am associated, but not authenticated with the wireless LAN, any URLs I 
> try to visit will be queried with the 192.168.22.2* nameserver, before it 
> times out and 10.10.10.254 takes over.
> 
> Waiting for URLs to resolve becomes tedious after a while.  Is there a way to 
> prioritise nameservers so that the NIC metric is respected, whenever the 
> resolv.conf content is updated?
> 

Look at the -C option on dhcpcd's man page. It is done by a dhcpcd hook that you
can disable with that option. Where to specify it depends on what you're using 
to
manage your network connections.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXgRmiAAoJEPbOFX/5UlwckloP/RS5QM9FrJN/EGk5F2v3vakC
DP5EIqx103d2Qte91zmBPNGpq3PKCDi2aQza3dIspQ6zfR/I4P8u3ODbsclIc1U9
gikAKos+fVB+6nVCAVKKrpyWsDGJ7Qgupu+x1SOP1MDLNBkDnIgS2n72S0Z6FCUF
d5q4lUyp5w8G/+A+m01FnpFZCcBZBfBLQY9cccUR6CkkuJW1+vjPzppJoeQ032CT
FRqebV17htnJzuME85KcVTuawiO8xuHM/Y9tkVupe8fyEPlG8k53WY4XNh3KuuEZ
gIqjsYJWEJeH0HQp9MFM+HBesJrRAgaTT0jAmEXiNcKeVx0UHZppNfSl8q/NKT+o
rChcHJ62lrW8Q4gHtf7I5tkXyZdfLM1TdiViLTKUR9EGkV+lnoQFHDbe0+MCirkC
/2XsbYTUBWb5zMwCH0I9QCjA8LsCD5I4YK+strXld+6+yaGRDNh2XUo36uJCoJNZ
6fbOweDHCV9CMgkHH78swYZa3Fu7z8n4my7i/lEo9L+7r0IIcspDrxhgtP4T7qLu
UYrWoOTALUwiyqtIry7FnciifdlrCoURm9rAp9jZAz8PTha33d2Vhlj/tKiL8v3x
YmuB+Tz9/yLp8VXpR5h2hO4i2WTOQnW+vgugw0v3DJqE3JRKqqGsfhX9gA4JTDz2
Jwp9Faoag1hKEf8Dl8I9
=TqPa
-END PGP SIGNATURE-



Re: [gentoo-user] wireless USB mouse via PS/2 adapter and KVM switch

2015-11-30 Thread J. Roeleveld
On Saturday 28 November 2015 18:55:43 the...@sys-concept.com wrote:
> I have a KVM witch IOGEAR that using old type PS/2 ports
> I've tried to connect to it Wireless USB Mouse via USB-to-PS/2 adapter.
> 
> It doesn't work :-/

And your question is? :)

Anyway, about the issue you are seeing, this is, unfortunately, as expected.

When USB-mice first appeared, most computers still only had PS/2 plugs. (Some 
even still had the older thicker round plugs)

In order to make the new USB mice to work, the USB/PS/2 adapters appeared. 
They worked because the mouse recognized the adapter and changed the signal 
accordingly.

The adapters don't have any fancy circuitry to translate between USB and PS/2.

--
Joost



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 17/11/14 14:42, behrouz khosravi wrote:
 Hi.
 
 I was going to install gentoo on my laptop and since I needed an
 easy WPA2 wireless connection I used system rescue cd for
 installation. After finishing the installation when I booted gentoo
 the ifconfig -a didnt show my wireless interface. I thought that
 I have not included the driver, so I used the genkernel to compile
 another kernel but the problem is not gone.
 
 have I missed something?
 
 thanks

Hm, does wireless device require firmware? Have you installed firmware
properly?


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJUaekHAAoJEK64IL1uI2haivUIAJN6zsbPkxfvErtate/YV0AI
KCNv+BJlcQWE9QbM5puHkK03B8sQb5NMWBlThW+vt6TpACMkwe8mWfUadALZIt9e
0RrjsSlsLjncsSX0lbxHPGyIgMgwqQF+6T0tWl6Y6gbryXzBJHfKl0+zGEgX/VNZ
wcxEDL5gitAQjQe3qqYCM9AgJA26bup5Cy6Ijaf6QhmD9NB50QTBPO7zodY46hbh
cOZiA52lwPDk9nLYOFWPFlqlBJhS5MwF2Q7CRhItSa6wAOJAUffR97m9qgWUMFhr
pOjUHVNJHIRFWz8n0ZrQ2tNUnjXtWt2qYd8UMMgTt7aGGcb8wZtTUzuaqZpb1vQ=
=HjmP
-END PGP SIGNATURE-



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi


 Hm, does wireless device require firmware? Have you installed firmware
 properly?


I dont think so. I have installed gentoo on it before and back then I just
used the genkernel and it was working.


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com wrote:



 Hm, does wireless device require firmware? Have you installed firmware
 properly?


 I dont think so. I have installed gentoo on it before and back then I just
 used the genkernel and it was working.

What's the output of 'lspci -k'?



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 7:32 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:

 On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
 
 
 
  Hm, does wireless device require firmware? Have you installed firmware
  properly?
 
 
  I dont think so. I have installed gentoo on it before and back then I
just
  used the genkernel and it was working.

 What's the output of 'lspci -k'?


It shows the device which is a atheros ar9285
But doesnt show any kernel driver in use for it.
So that is because the driver is  not compiled?


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com wrote:

 On Nov 17, 2014 7:32 PM, Alexander Kapshuk alexander.kaps...@gmail.com
 wrote:

 On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
 
 
  Hm, does wireless device require firmware? Have you installed firmware
  properly?
 
 
  I dont think so. I have installed gentoo on it before and back then I
  just
  used the genkernel and it was working.

 What's the output of 'lspci -k'?


 It shows the device which is a atheros ar9285
 But doesnt show any kernel driver in use for it.
 So that is because the driver is  not compiled?

I dare say the kernel driver may not have been compiled into the
kernel, or compiled as a kernel module.
What's the output of 'cd /usr/src/linux  grep -i ath .config'?



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 7:16 PM, Alexander Kapshuk
alexander.kaps...@gmail.com wrote:
 On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com 
 wrote:

 On Nov 17, 2014 7:32 PM, Alexander Kapshuk alexander.kaps...@gmail.com
 wrote:

 On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
 
 
  Hm, does wireless device require firmware? Have you installed firmware
  properly?
 
 
  I dont think so. I have installed gentoo on it before and back then I
  just
  used the genkernel and it was working.

 What's the output of 'lspci -k'?


 It shows the device which is a atheros ar9285
 But doesnt show any kernel driver in use for it.
 So that is because the driver is  not compiled?

 I dare say the kernel driver may not have been compiled into the
 kernel, or compiled as a kernel module.
 What's the output of 'cd /usr/src/linux  grep -i ath .config'?

The driver that supports your wireless card is ath9k by the looks of it.
You want to make sure CONFIG_ATH9K is either set to Y, or M in your
.config file.



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:

 On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
 
  On Nov 17, 2014 7:32 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com
  wrote:
 
  On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi 
bz.khosr...@gmail.com
  wrote:
  
  
  
   Hm, does wireless device require firmware? Have you installed
firmware
   properly?
  
  
   I dont think so. I have installed gentoo on it before and back then I
   just
   used the genkernel and it was working.
 
  What's the output of 'lspci -k'?
 
 
  It shows the device which is a atheros ar9285
  But doesnt show any kernel driver in use for it.
  So that is because the driver is  not compiled?

 I dare say the kernel driver may not have been compiled into the
 kernel, or compiled as a kernel module.
 What's the output of 'cd /usr/src/linux  grep -i ath .config'?


Well I looked and the relevant module was not compiled.
I have changed the config so I cant answer your question unfortunately !
I hope new kernel will fix it.
But I have used the previous config in kernel about 2 month ago. I cant
believe I have not used the wireless that time!


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 7:36 PM, behrouz khosravi bz.khosr...@gmail.com wrote:

 On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
 wrote:

 On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
  On Nov 17, 2014 7:32 PM, Alexander Kapshuk
  alexander.kaps...@gmail.com
  wrote:
 
  On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi
  bz.khosr...@gmail.com
  wrote:
  
  
  
   Hm, does wireless device require firmware? Have you installed
   firmware
   properly?
  
  
   I dont think so. I have installed gentoo on it before and back then I
   just
   used the genkernel and it was working.
 
  What's the output of 'lspci -k'?
 
 
  It shows the device which is a atheros ar9285
  But doesnt show any kernel driver in use for it.
  So that is because the driver is  not compiled?

 I dare say the kernel driver may not have been compiled into the
 kernel, or compiled as a kernel module.
 What's the output of 'cd /usr/src/linux  grep -i ath .config'?


 Well I looked and the relevant module was not compiled.
 I have changed the config so I cant answer your question unfortunately !
 I hope new kernel will fix it.
 But I have used the previous config in kernel about 2 month ago. I cant
 believe I have not used the wireless that time!

Do let us know how you go with the module built into the kernel.



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 9:06 PM, behrouz khosravi bz.khosr...@gmail.com wrote:


 On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:
 
  On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
  
   On Nov 17, 2014 7:32 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com
   wrote:
  
   On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi 
bz.khosr...@gmail.com
   wrote:
   
   
   
Hm, does wireless device require firmware? Have you installed
firmware
properly?
   
   
I dont think so. I have installed gentoo on it before and back
then I
just
used the genkernel and it was working.
  
   What's the output of 'lspci -k'?
  
  
   It shows the device which is a atheros ar9285
   But doesnt show any kernel driver in use for it.
   So that is because the driver is  not compiled?
 
  I dare say the kernel driver may not have been compiled into the
  kernel, or compiled as a kernel module.
  What's the output of 'cd /usr/src/linux  grep -i ath .config'?
 

 Well I looked and the relevant module was not compiled.
 I have changed the config so I cant answer your question unfortunately !
 I hope new kernel will fix it.
 But I have used the previous config in kernel about 2 month ago. I cant
believe I have not used the wireless that time!

Well thank you very much.
The new kernel works.
Good day


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 7:55 PM, behrouz khosravi bz.khosr...@gmail.com wrote:

 On Nov 17, 2014 9:06 PM, behrouz khosravi bz.khosr...@gmail.com wrote:


 On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
 wrote:
 
  On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi
  bz.khosr...@gmail.com wrote:
  
   On Nov 17, 2014 7:32 PM, Alexander Kapshuk
   alexander.kaps...@gmail.com
   wrote:
  
   On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi
   bz.khosr...@gmail.com
   wrote:
   
   
   
Hm, does wireless device require firmware? Have you installed
firmware
properly?
   
   
I dont think so. I have installed gentoo on it before and back then
I
just
used the genkernel and it was working.
  
   What's the output of 'lspci -k'?
  
  
   It shows the device which is a atheros ar9285
   But doesnt show any kernel driver in use for it.
   So that is because the driver is  not compiled?
 
  I dare say the kernel driver may not have been compiled into the
  kernel, or compiled as a kernel module.
  What's the output of 'cd /usr/src/linux  grep -i ath .config'?
 

 Well I looked and the relevant module was not compiled.
 I have changed the config so I cant answer your question unfortunately !
 I hope new kernel will fix it.
 But I have used the previous config in kernel about 2 month ago. I cant
 believe I have not used the wireless that time!

 Well thank you very much.
 The new kernel works.
 Good day

Good to hear.

Thanks for letting us know.



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Mon, Nov 17, 2014 at 9:27 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com wrote:

 On Mon, Nov 17, 2014 at 7:55 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
  On Nov 17, 2014 9:06 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
 
  On Nov 17, 2014 8:46 PM, Alexander Kapshuk 
 alexander.kaps...@gmail.com
  wrote:
  
   On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi
   bz.khosr...@gmail.com wrote:
   
On Nov 17, 2014 7:32 PM, Alexander Kapshuk
alexander.kaps...@gmail.com
wrote:
   
On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi
bz.khosr...@gmail.com
wrote:



 Hm, does wireless device require firmware? Have you installed
 firmware
 properly?


 I dont think so. I have installed gentoo on it before and back
 then
 I
 just
 used the genkernel and it was working.
   
What's the output of 'lspci -k'?
   
   
It shows the device which is a atheros ar9285
But doesnt show any kernel driver in use for it.
So that is because the driver is  not compiled?
  
   I dare say the kernel driver may not have been compiled into the
   kernel, or compiled as a kernel module.
   What's the output of 'cd /usr/src/linux  grep -i ath .config'?
  
 
  Well I looked and the relevant module was not compiled.
  I have changed the config so I cant answer your question unfortunately !
  I hope new kernel will fix it.
  But I have used the previous config in kernel about 2 month ago. I cant
  believe I have not used the wireless that time!
 
  Well thank you very much.
  The new kernel works.
  Good day

 Good to hear.

 Thanks for letting us know.


Thanks for your help!


Re: [gentoo-user] wireless dropping connections

2012-10-31 Thread Paul Hartman
On Tue, Oct 30, 2012 at 6:29 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
 (802.11n)

 Several times a day, this thing just drops wireless.

Has it always done this? If not, did anything change around the time
the problem started? Upgrading drivers/kernel, firmware on router,
change of internet connection speed, usage patters, etc.

I had a D-Link router that would reboot itself every time there were
more than 100 or so connections. That meant any time something like
bittorrent was used, it would reboot every 10 or 15 minutes until the
network traffic died down. The same router would melt down under the
load from 10mbps network traffic.

I have a Buffalo router running OpenWrt whose network disconnects
randomly, including wired network. The box doesn't reboot but
networking gets reset or something. Usually happens once or twice an
hour. Stock firmware and DD-WRT also suffer from widely-reported
disconnect issues, so this may be another defective design...

And I have a high-power microwave oven that kills all wifi connections
in the entire house every time it is used. The food comes out nice and
hot, though. :)



Re: [gentoo-user] wireless dropping connections

2012-10-31 Thread Alan McKinnon
On Wed, 31 Oct 2012 15:01:26 -0500
Paul Hartman paul.hartman+gen...@gmail.com wrote:

 On Tue, Oct 30, 2012 at 6:29 AM, Alan McKinnon
 alan.mckin...@gmail.com wrote:
  I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
  (802.11n)
 
  Several times a day, this thing just drops wireless.
 
 Has it always done this? If not, did anything change around the time
 the problem started? Upgrading drivers/kernel, firmware on router,
 change of internet connection speed, usage patters, etc.

It's done it since new (which was recently) and nothing else changed.
The XBox, tablets, phones and the missus' Windows laptop all show the
same problem - so it's not Gentoo :-)

Wireless was always stable on all my previous b/g routers, but this one
is n and has been doing it out of the box.

I switched it from channel 8 to channel 1 yesterday and now find it
disconnects more often. Next step I think is to try 6 and 11 in that
order whilst making the local hardware store owner weathly by buying
trunking and moving the device

 I had a D-Link router that would reboot itself every time there were
 more than 100 or so connections. That meant any time something like
 bittorrent was used, it would reboot every 10 or 15 minutes until the
 network traffic died down. The same router would melt down under the
 load from 10mbps network traffic.
 
 I have a Buffalo router running OpenWrt whose network disconnects
 randomly, including wired network. The box doesn't reboot but
 networking gets reset or something. Usually happens once or twice an
 hour. Stock firmware and DD-WRT also suffer from widely-reported
 disconnect issues, so this may be another defective design...

I've seen issues like that many times too. 

It used to be I could go down to stores at work and book out a nice
shiny new Cisco with pro-grade wireless chips and drivers, no question
asked. Those things are rock solid and refuse to die, we have 1000s in
the field that have never been touched for years. 

I can still book stuff out, but lately it's a Billion I'd get :-(

 
 And I have a high-power microwave oven that kills all wifi connections
 in the entire house every time it is used. The food comes out nice and
 hot, though. :)
 
:-)


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Neil Bothwick
On Tue, 30 Oct 2012 13:29:43 +0200, Alan McKinnon wrote:

 I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
 (802.11n)
 
 Several times a day, this thing just drops wireless. I doubt it's my
 laptop as other devices in the house also get affected.

Have you tried switching to a different channel, just in case it is caused
by interference?


-- 
Neil Bothwick

This universe is sold by mass, not by volume.
Some expansion may have occurred during shipment


signature.asc
Description: PGP signature


Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Bill Kenworthy
outside interference? (usual is a microwave oven) - is there a device
closer to the AP that stays in better lock because the signal is strong
enough to override the interference?

BillK

On Tue, 2012-10-30 at 13:29 +0200, Alan McKinnon wrote:
 I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
 (802.11n)

 Several times a day, this thing just drops wireless. I doubt it's my
 laptop as other devices in the house also get affected. When this
 happens I usually manually reconnect using wicd, it can do this
 automatically but there's a long timeout first before it realizes the
 connection was dropped.
 
 The router logs have very little in them, all I see is my laptop asking
 for and getting a new IP. Laptop logs show this:
 
 Oct 30 13:10:45 khamul dhcpcd[24141]: wlan0: carrier lost
 Oct 30 13:10:45 khamul kernel: [229075.169304] cfg80211: Calling CRDA
 to update world regulatory domain Oct 30 13:10:45 khamul kernel:
 [229075.214909] cfg80211: World regulatory domain updated: Oct 30
 13:10:45 khamul kernel: [229075.214911] cfg80211:   (start_freq -
 end_freq @ bandwidth), (max_antenna_gain, max_eirp) Oct 30 13:10:45
 khamul kernel: [229075.214913] cfg80211:   (2402000 KHz
 - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
 
 followed by the usual verbose junk of reconnection logs.
 
 I wouldn't even know where to start debugging this. The only unusual
 part of the setup is I don't use the router's dhcp server, that is done
 with dhcp-4.2.4_p2 on a separate wired Gentoo server.
 
 Anyone have a logical series of debug steps I can apply?
 





Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Bruce Hill
On Tue, Oct 30, 2012 at 01:29:43PM +0200, Alan McKinnon wrote:
 I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
 (802.11n)
 
 Several times a day, this thing just drops wireless. I doubt it's my
 laptop as other devices in the house also get affected. When this
 happens I usually manually reconnect using wicd, it can do this
 automatically but there's a long timeout first before it realizes the
 connection was dropped.

ack on the interference...

Last year we experienced this identical problem, and changed the router to
channel 11. It was the cordless phone on the same channel for us.
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Alan McKinnon
On Tue, 30 Oct 2012 11:45:37 +
Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 30 Oct 2012 13:29:43 +0200, Alan McKinnon wrote:
 
  I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
  (802.11n)
  
  Several times a day, this thing just drops wireless. I doubt it's my
  laptop as other devices in the house also get affected.
 
 Have you tried switching to a different channel, just in case it is
 caused by interference?
 
 


Actually, I hadn't tried that. I use channel 8 and this is at my house.
I've only ever seen 2 other neighbour's APs show up and they both use
channel 1.

But then common sense kicked in. All previous APs have been 802.11g,
this is the first 802.11g, and it sits next to a cordless phone. I
really should mount the AP up high and extend the cable.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Alan McKinnon
On Tue, 30 Oct 2012 19:47:34 +0800
Bill Kenworthy bi...@iinet.net.au wrote:

 outside interference? (usual is a microwave oven) - is there a device
 closer to the AP that stays in better lock because the signal is
 strong enough to override the interference?

There is a long range Siemens cordless phone that hides behind the
extra monitor :-)

It's hidden because

a. the power cable is short
b. I hate phones and usually pretend to myself they don't exist




 
 BillK
 
 On Tue, 2012-10-30 at 13:29 +0200, Alan McKinnon wrote:
  I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
  (802.11n)
 
  Several times a day, this thing just drops wireless. I doubt it's my
  laptop as other devices in the house also get affected. When this
  happens I usually manually reconnect using wicd, it can do this
  automatically but there's a long timeout first before it realizes
  the connection was dropped.
  
  The router logs have very little in them, all I see is my laptop
  asking for and getting a new IP. Laptop logs show this:
  
  Oct 30 13:10:45 khamul dhcpcd[24141]: wlan0: carrier lost
  Oct 30 13:10:45 khamul kernel: [229075.169304] cfg80211: Calling
  CRDA to update world regulatory domain Oct 30 13:10:45 khamul
  kernel: [229075.214909] cfg80211: World regulatory domain updated:
  Oct 30 13:10:45 khamul kernel: [229075.214911] cfg80211:
  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
  Oct 30 13:10:45 khamul kernel: [229075.214913] cfg80211:   (2402000
  KHz
  - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
  
  followed by the usual verbose junk of reconnection logs.
  
  I wouldn't even know where to start debugging this. The only unusual
  part of the setup is I don't use the router's dhcp server, that is
  done with dhcp-4.2.4_p2 on a separate wired Gentoo server.
  
  Anyone have a logical series of debug steps I can apply?
  
 
 
 



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Eliezer Croitoru

On 10/30/2012 9:26 PM, Alan McKinnon wrote:


Actually, I hadn't tried that. I use channel 8 and this is at my house.
I've only ever seen 2 other neighbour's APs show up and they both use
channel 1.

But then common sense kicked in. All previous APs have been 802.11g,
this is the first 802.11g, and it sits next to a cordless phone. I
really should mount the AP up high and extend the cable.
most cordless phones that works on 2.4 ghz are not suppose to affect 
your wireless connection.

many of them wont even work in 2.4 ghz but at 5+ ghz.

Regards

--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer at ngtech.co.il



Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread William Kenworthy


On Tue, 2012-10-30 at 21:26 +0200, Alan McKinnon wrote:
 On Tue, 30 Oct 2012 11:45:37 +
 Neil Bothwick n...@digimed.co.uk wrote:
 
  On Tue, 30 Oct 2012 13:29:43 +0200, Alan McKinnon wrote:
  
   I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
   (802.11n)
   
   Several times a day, this thing just drops wireless. I doubt it's my
   laptop as other devices in the house also get affected.
  
  Have you tried switching to a different channel, just in case it is
  caused by interference?
  
  
 
 
 Actually, I hadn't tried that. I use channel 8 and this is at my house.
 I've only ever seen 2 other neighbour's APs show up and they both use
 channel 1.
 
 But then common sense kicked in. All previous APs have been 802.11g,
 this is the first 802.11g, and it sits next to a cordless phone. I
 really should mount the AP up high and extend the cable.
 
 
 

Keep in mind there are only 3 non-overlapping channels in the 11 channel
allocation scheme ... channel 8 is not one of them.  If you have no
neighbours thats fine, but even (perhaps especially because of the
hidden node effect/problem) distant stations can effect your throughput.

Still, that phone you mention must be suspect number 1 :)

BillK






Re: [gentoo-user] Wireless connection-sharing with networkmanager problem

2012-10-02 Thread J. Roeleveld

On Tue, October 2, 2012 3:18 am, João Matos wrote:
 Dear list,

 I've been trying to get networkmanager working and use it to share my
 Internet connection with my Android.

 I have my wireless card working properly, since I can create a network
 with
 my phone and connect to it, using the networkmanager script from KDE.

 I've already enabled the connection-sharing user flag, and followed the
 instruction from
 http://simplehacksnreviews.wordpress.com/2011/10/30/simple-connection-sharing-with-networkmanager-how-to-connect-with-a-3g-usb-modem-on-linux/(just
 4 simple steps), and tried many other configurations by myself.

 Apparently the configuration is ok, bcz my wlan0 gets itself a IP address,
 but my smartphone can't see the network I've *theoretically* created.

 I don't know why, the channel is -1 (0 Mhz) (networkmanager screeshot
 attached), and I think is should be the problem, but I don't know what
 else
 to try.

 Any ideias how to solve this problem? do you need any other information?

Can you please clarify if you want to use your mobile phone to provide an
internet connection to your laptop?

Assuming the answer is yes, you should only need to do the following:
- Configure your mobile to enable Portable Wi-Fi hotspot
- Configure your laptop to connect to your mobile as if it's a standard
WiFi hotspot/access point.

There should be no need to adjust anything else on your laptop.

The website you followed describes how to do it with a USB-connection.
That works differently then when using WIFI.

-- 
Joost




Re: [gentoo-user] Wireless connection-sharing with networkmanager problem

2012-10-02 Thread João Matos
Sorry for not letting it clear.

There are two parts at this website. The part I followed is *Part #2*. you
can search for *Part #2*:. But it is too simple to be relevant.

I have a desktop machine, witch is connected to a wireless router by a
wired connection. But the wireless router is too far from my room, so I
want to use my wireless card to extend the signal, so I'll be able to use
it by my phone and my friends I'll also use it.

Since I just want to extend it, I guess that I should use infrastructure
mode, to maintain all the devices at the same network, using the dhcp
server from the router itself. But, first things first! I just want to
connect and see it working anyway, in first place.

My phone still can't see the network, but my sister's notebook does.
However it is seen in a different way: the windows 7 recognize it as if it
were a wired conection ( 3 PCs icon instead of a usual signal bar). But
when connected it still can't surf the net.

Any help would be appreciated. :)

2012/10/2 J. Roeleveld jo...@antarean.org


 On Tue, October 2, 2012 3:18 am, João Matos wrote:
  Dear list,
 
  I've been trying to get networkmanager working and use it to share my
  Internet connection with my Android.
 
  I have my wireless card working properly, since I can create a network
  with
  my phone and connect to it, using the networkmanager script from KDE.
 
  I've already enabled the connection-sharing user flag, and followed the
  instruction from
  http://simplehacksnreviews.wordprpart2
 #ess.com/2011/10/30/simple-connection-sharing-with-networkmanager-how-to-connect-with-a-3g-usb-modem-on-linux/(justhttp://simplehacksnreviews.wordpress.com/2011/10/30/simple-connection-sharing-with-networkmanager-how-to-connect-with-a-3g-usb-modem-on-linux/(just
  4 simple steps), and tried many other configurations by myself.
 
  Apparently the configuration is ok, bcz my wlan0 gets itself a IP
 address,
  but my smartphone can't see the network I've *theoretically* created.
 
  I don't know why, the channel is -1 (0 Mhz) (networkmanager screeshot
  attached), and I think is should be the problem, but I don't know what
  else
  to try.
 
  Any ideias how to solve this problem? do you need any other information?

 Can you please clarify if you want to use your mobile phone to provide an
 internet connection to your laptop?

 Assuming the answer is yes, you should only need to do the following:
 - Configure your mobile to enable Portable Wi-Fi hotspot
 - Configure your laptop to connect to your mobile as if it's a standard
 WiFi hotspot/access point.

 There should be no need to adjust anything else on your laptop.

 The website you followed describes how to do it with a USB-connection.
 That works differently then when using WIFI.

 --
 Joost





-- 
João de Matos
Linux User #461527


Re: [gentoo-user] Wireless connection-sharing with networkmanager problem

2012-10-02 Thread J. Roeleveld
João Matos jaon...@gmail.com wrote:

Sorry for not letting it clear.

There are two parts at this website. The part I followed is *Part #2*.
you
can search for *Part #2*:. But it is too simple to be relevant.

I have a desktop machine, witch is connected to a wireless router by a
wired connection. But the wireless router is too far from my room, so I
want to use my wireless card to extend the signal, so I'll be able to
use
it by my phone and my friends I'll also use it.

Since I just want to extend it, I guess that I should use
infrastructure
mode, to maintain all the devices at the same network, using the dhcp
server from the router itself. But, first things first! I just want to
connect and see it working anyway, in first place.

My phone still can't see the network, but my sister's notebook does.
However it is seen in a different way: the windows 7 recognize it as if
it
were a wired conection ( 3 PCs icon instead of a usual signal bar). But
when connected it still can't surf the net.

Any help would be appreciated. :)

2012/10/2 J. Roeleveld jo...@antarean.org


 On Tue, October 2, 2012 3:18 am, João Matos wrote:
  Dear list,
 
  I've been trying to get networkmanager working and use it to share
my
  Internet connection with my Android.
 
  I have my wireless card working properly, since I can create a
network
  with
  my phone and connect to it, using the networkmanager script from
KDE.
 
  I've already enabled the connection-sharing user flag, and
followed the
  instruction from
  http://simplehacksnreviews.wordprpart2

#ess.com/2011/10/30/simple-connection-sharing-with-networkmanager-how-to-connect-with-a-3g-usb-modem-on-linux/(justhttp://simplehacksnreviews.wordpress.com/2011/10/30/simple-connection-sharing-with-networkmanager-how-to-connect-with-a-3g-usb-modem-on-linux/(just
  4 simple steps), and tried many other configurations by myself.
 
  Apparently the configuration is ok, bcz my wlan0 gets itself a IP
 address,
  but my smartphone can't see the network I've *theoretically*
created.
 
  I don't know why, the channel is -1 (0 Mhz) (networkmanager
screeshot
  attached), and I think is should be the problem, but I don't know
what
  else
  to try.
 
  Any ideias how to solve this problem? do you need any other
information?

 Can you please clarify if you want to use your mobile phone to
provide an
 internet connection to your laptop?

 Assuming the answer is yes, you should only need to do the following:
 - Configure your mobile to enable Portable Wi-Fi hotspot
 - Configure your laptop to connect to your mobile as if it's a
standard
 WiFi hotspot/access point.

 There should be no need to adjust anything else on your laptop.

 The website you followed describes how to do it with a
USB-connection.
 That works differently then when using WIFI.

 --
 Joost





-- 
João de Matos
Linux User #461527

Ok.
Sounds like you want to use your desktop as a wireless access point on the 
network.
I never did that myself as I would simply get a wireless access point and use 
that.

Try googling for howto wireless access point linux or similar.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Re: [gentoo-user] wireless newbee needs help

2012-02-10 Thread James Broadhead
On 9 February 2012 17:00, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 Hi,

 it's the first time I have to set up a wireless network on a notebook.

Save yourself some hassle and use either wicd or NetworkManager - both
wrap wpa_supplicant, and make for a much smoother mobile experience.



Re: [gentoo-user] wireless newbee needs help

2012-02-09 Thread ny6p01
On Thu, Feb 09, 2012 at 06:00:03PM +0100, Helmut Jarausch wrote:
 Hi,
 
 it's the first time I have to set up a wireless network on a notebook.
 
 How can I find out whether the connection is encrypted or not.
 
 wpa_gui tells me
   Authentication  WPA2-PSK
   Encryption  TKIP
 
 but
 
 iwconfig wlan0
 says
 
 Encryption key:off
 
 and on the server (hot spot) I have configure WPA2 personal, encryption 
 TKIP and an (ascii) password.
 
 Many thanks for your help,
 Helmut.
 

iirc, iwconfig doesn't recognize WPA2, so it looks like you have an
encrypted connection. You can try 'iwlist wlan0 scanning' to confirm this.

Terry




Re: [gentoo-user] wireless newbee needs help

2012-02-09 Thread Per-Erik Westerberg
tor 2012-02-09 klockan 18:00 +0100 skrev Helmut Jarausch:
 Hi,
 
 it's the first time I have to set up a wireless network on a notebook.
 
 How can I find out whether the connection is encrypted or not.
 
 wpa_gui tells me
   Authentication  WPA2-PSK
   Encryption  TKIP
 
 but
 
 iwconfig wlan0
 says
 
 Encryption key:off
 
 and on the server (hot spot) I have configure WPA2 personal, encryption 
 TKIP and an (ascii) password.
 
 Many thanks for your help,
 Helmut.
 

Hi,

I have installed wpa_supplicant and changed the country entry
in /etc/wpa_supplicant/wpa_supplicant.conf and also added a few lines at
the end of the file:

network={
ssid=my_essid
psk=my_ascii_password
priority=5
}

Then I created a symbolic link to /etc/init.d/net.lo called
/etc/init.d/net.wlan0 and that was it I think ... also set
rc_hotplug to net.wlan0 !net.* in /etc/rc.conf.

That should be all to get wireless networking going if the kernel module
for your network card is loaded and you have the firmware for it in
/lib/firmware.

Using kernel 3.1.5 at the moment and the carl9170 driver.

  BR / Per-Erik




Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown

2011-11-04 Thread Sebastian Beßler
Am 03.11.2011 23:57, schrieb Mick:
 This sounds familiar.  Please check with modinfo any options to switch off 
 (e.g. QoS, or power management) when you're loading the module.

modinfo only gives me this options

# modinfo -F parm ath9k
btcoex_enable:Enable wifi-BT coexistence
blink:Enable LED blink on activity
nohwcrypt:Disable hardware encryption
debug:Debugging mask

but I will try and see if debug shows something that helps.
Thx for the tip, modinfo was new to me.

Greetings

Sebastian Beßler



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown

2011-11-03 Thread Sebastian Beßler
Am 02.11.2011 20:39, schrieb Canek Peláez Valdés:

 Does the wireless card needs a firmware? Do you use an initramfs? I
 ask since my iwlagn wireless car does, and if I boot using an
 initramfs, I need to include the firmware file on it for the card to
 work.

No the card need no firmware.

I start my PC in the morning after it was shutdown for a few hours and
the card will not work. I then reboot without changing or doing anything
else and the card works just fine.

I get no error modprobing the driver in both cases, but only after a
reboot wlan0 gets created.

Greetings

Sebastian Beßler



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown

2011-11-03 Thread Mick
On Thursday 03 Nov 2011 13:16:40 Sebastian Beßler wrote:
 Am 02.11.2011 20:39, schrieb Canek Peláez Valdés:
  Does the wireless card needs a firmware? Do you use an initramfs? I
  ask since my iwlagn wireless car does, and if I boot using an
  initramfs, I need to include the firmware file on it for the card to
  work.
 
 No the card need no firmware.
 
 I start my PC in the morning after it was shutdown for a few hours and
 the card will not work. I then reboot without changing or doing anything
 else and the card works just fine.
 
 I get no error modprobing the driver in both cases, but only after a
 reboot wlan0 gets created.

This sounds familiar.  Please check with modinfo any options to switch off 
(e.g. QoS, or power management) when you're loading the module.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless network card not loaded on first boot after shutdown

2011-11-02 Thread Canek Peláez Valdés
On Wed, Nov 2, 2011 at 3:29 AM, Sebastian Beßler
sebast...@darkmetatron.de wrote:
 Hi,

 I have a wireless card that works most of the time perfect with the
 ath9k kernel module but not on first boot after a few hours long shutdown.

  * Bringing up interface wlan0
  *   ERROR: interface wlan0 does not exist
  *   Ensure that you have loaded the correct kernel module for your hardware
  * ERROR: net.wlan0 failed to start

 A reboot fixes the problem.
 The kernel module loads without error in both cases.

 # uname -r
 3.1.0-gentoo

 # lspci -v
 03:07.0 Network controller: Atheros Communications Inc. Device 002d (rev 01)
        Subsystem: Atheros Communications Inc. Device 0300
        Flags: bus master, 66MHz, medium devsel, latency 176, IRQ 21
        Memory at fdce (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ath9k
        Kernel modules: ath9k

 Greetings

Does the wireless card needs a firmware? Do you use an initramfs? I
ask since my iwlagn wireless car does, and if I boot using an
initramfs, I need to include the firmware file on it for the card to
work.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Wireless Configuration...

2011-09-10 Thread Mick
On Friday 09 Sep 2011 14:31:23 BRM wrote:
 - Original Message -
 
  From: Mick michaelkintz...@gmail.com
  Subject: Re: [gentoo-user] Wireless Configuration...
  OK, so if you restore the two lines and this error goes away, can you
  then initialise the device without any other errors?
 
 So far as I am aware.
 
  Assuming that rfkill shows all is unlocked and the device active, what
  does iwlist wlan0 scan show now?
 
 The output I quoted was from that configuration.

I see.  In that case if with the card initialised and unlocked it still cannot 
scan, I fear that the problem is with the driver/firmware.

If this started happening after a particular kernel version I would readily 
blame the kernel.

Although it won't solve the problem at hand you can boot with a previous 
kernel (from the time when it all worked fine) to prove that this is the case.

You can also try later kernels to see if it has been fixed.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless Configuration...

2011-09-09 Thread BRM
- Original Message -

 From: Mick michaelkintz...@gmail.com
 Subject: Re: [gentoo-user] Wireless Configuration...
 OK, so if you restore the two lines and this error goes away, can you then 
 initialise the device without any other errors?

So far as I am aware.

 Assuming that rfkill shows all is unlocked and the device active, what does 
 iwlist wlan0 scan show now?

The output I quoted was from that configuration.

- Original Message -
 From: Moritz Schlarb m...@moritz-schlarb.de
 Subject: [gentoo-user] Re: Wireless Configuration...
 Am 07.09.2011 16:06, schrieb Michael Mol:
  I believe NetworkManager provides WPA supplicant functionlaity, so I
  don't think you need wpa_supplicant if you have NetworkManager. 
 It's
  been a *long* time (about five years) since I messed with wireless
  configuration daemons, though. Lots of things can change in that time,
  including memory...

 I don't think so! NetworkManager generates a configuration file on the
 fly for wpa_supplicant, so you still need it, you just don't need to
 configure it anywhere else than NetworkManager!

So NetworkManager/KNetworkManager generates a wpa_supplicant.conf on the fly to 
use, thereby ignoring the one in /etc/wpa_supplicant?
Would it then be correct that it also ignores the settings in /etc/conf.d/net?

Ben




Re: [gentoo-user] Wireless Configuration...

2011-09-08 Thread Mick
On Thursday 08 Sep 2011 04:52:44 BRM wrote:
 - Original Message -
 
  From: Mick michaelkintz...@gmail.com

  Hmm ... what is the error/warning that comes up?
 
 pneumo-martyr wpa_supplicant # /etc/init.d/net.wlan0 start 
  * Bringing up interface wlan0
  *   Starting wpa_supplicant on wlan0 ...
 Line 17: WPA-PSK accepted for key management, but no PSK configured.
 Line 17: failed to parse network block.
 Failed to read or parse configuration
 '/etc/wpa_supplicant/wpa_supplicant.conf'. *   start-stop-daemon: failed
 to start
 `/usr/sbin/wpa_supplicant'
[ !! ] * ERROR: net.wlan0 failed to start

Ah!  This shows that your /etc/wpa_supplicant/wpa_supplicant.conf has 
something wrong with it and it can't be parsed.  Please check the file's 
access rights and its contents.  This is what it looks like here:

$ ls -la /etc/wpa_supplicant/wpa_supplicant.conf
-rw-r--r-- 1 root root 33388 Jun 14 15:02 
/etc/wpa_supplicant/wpa_supplicant.conf


  # iwlist wlan0 scanning
 
 Simply returns:
 
 wlan0No scan results

Your device has not been initiated, therefore it would not be able to scan 
until then.


 It also returns 0. I have wlan0 logs directed to /var/log/net/wireless,
 here's the output from the last attempt:
 
 Sep  7 23:01:43 pneumo-martyr NetworkManager: info  (wlan0): driver
 supports SSID scans (scan_capa 0x01). Sep  7 23:01:43 pneumo-martyr
 NetworkManager: info  (wlan0): new 802.11 WiFi device (driver:
 'b43legacy') Sep  7 23:01:43 pneumo-martyr NetworkManager: info 
 (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1 Sep  7
 23:01:43 pneumo-martyr NetworkManager: info  (wlan0): now managed Sep  7
 23:01:43 pneumo-martyr NetworkManager: info  (wlan0): device state
 change: 1 - 2 (reason 2) Sep  7 23:01:43 pneumo-martyr NetworkManager:
 info  (wlan0): bringing up device. Sep  7 23:01:43 pneumo-martyr kernel:
 ADDRCONF(NETDEV_UP): wlan0: link is not ready Sep  7 23:01:43
 pneumo-martyr NetworkManager: info  (wlan0): preparing device. Sep  7
 23:01:43 pneumo-martyr NetworkManager: info  (wlan0): deactivating
 device (reason: 2). Sep  7 23:01:43 pneumo-martyr NetworkManager: info 
 (wlan0): supplicant interface state:  starting - ready Sep  7 23:01:43
 pneumo-martyr NetworkManager: info  (wlan0): device state change: 2 - 3
 (reason 42)
 
 That's about as far as I have been able to get tonight.

Just in case, can you please check that rfkill lists both soft and hard locks 
are *not* on? 

Also, what is your wireless NIC?  It may be worth checking that you are still 
using the correct driver for your wireless chipset?

http://linuxwireless.org/en/users/Drivers/b43

and that you are using the latest firmware?

http://linuxwireless.org/en/users/Drivers/b43#Device_firmware_installation
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless Configuration...

2011-09-08 Thread BRM
- Original Message -

 From: Mick michaelkintz...@gmail.com
 On Thursday 08 Sep 2011 04:52:44 BRM wrote:
  - Original Message -
 
   From: Mick michaelkintz...@gmail.com
 
   Hmm ... what is the error/warning that comes up?
 
  pneumo-martyr wpa_supplicant # /etc/init.d/net.wlan0 start 
   * Bringing up interface wlan0
   *   Starting wpa_supplicant on wlan0 ...
  Line 17: WPA-PSK accepted for key management, but no PSK configured.
  Line 17: failed to parse network block.
  Failed to read or parse configuration
  '/etc/wpa_supplicant/wpa_supplicant.conf'. *   start-stop-daemon: 
 failed
  to start
  `/usr/sbin/wpa_supplicant'                                              
   
                         [ !! ] * ERROR: net.wlan0 failed to start
 
 Ah!  This shows that your /etc/wpa_supplicant/wpa_supplicant.conf has 
 something wrong with it and it can't be parsed.  Please check the file's 
 
 access rights and its contents.  This is what it looks like here:
 
 $ ls -la /etc/wpa_supplicant/wpa_supplicant.conf
 -rw-r--r-- 1 root root 33388 Jun 14 15:02 
 /etc/wpa_supplicant/wpa_supplicant.conf

That error only comes up when those two lines are commented out. If I return 
them, then all is fine.
 
   # iwlist wlan0 scanning
 
  Simply returns:
 
  wlan0            No scan results
 
 Your device has not been initiated, therefore it would not be able to scan 
 until then.

True.

  It also returns 0. I have wlan0 logs directed to 
 /var/log/net/wireless,
  here's the output from the last attempt:
 
  Sep  7 23:01:43 pneumo-martyr NetworkManager: info  (wlan0): driver
  supports SSID scans (scan_capa 0x01). Sep  7 23:01:43 pneumo-martyr
  NetworkManager: info  (wlan0): new 802.11 WiFi device (driver:
  'b43legacy') Sep  7 23:01:43 pneumo-martyr NetworkManager: 
 info 
  (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1 Sep  7
  23:01:43 pneumo-martyr NetworkManager: info  (wlan0): now managed 
 Sep  7
  23:01:43 pneumo-martyr NetworkManager: info  (wlan0): device state
  change: 1 - 2 (reason 2) Sep  7 23:01:43 pneumo-martyr NetworkManager:
  info  (wlan0): bringing up device. Sep  7 23:01:43 pneumo-martyr 
 kernel:
  ADDRCONF(NETDEV_UP): wlan0: link is not ready Sep  7 23:01:43
  pneumo-martyr NetworkManager: info  (wlan0): preparing device. Sep  
 7
  23:01:43 pneumo-martyr NetworkManager: info  (wlan0): deactivating
  device (reason: 2). Sep  7 23:01:43 pneumo-martyr NetworkManager: 
 info 
  (wlan0): supplicant interface state:  starting - ready Sep  7 23:01:43
  pneumo-martyr NetworkManager: info  (wlan0): device state change: 2 
 - 3
  (reason 42)
 
  That's about as far as I have been able to get tonight.
 
 Just in case, can you please check that rfkill lists both soft and hard locks 
 are *not* on? 

I have checked rfkill quite a bit. For a while, it was an issue whenever I 
restarted the wlan0 - I'd have to stop wlan0, rfkill unblock all, then start 
wlan0 again to get a connection. Very annoying.
Using KNetworkManager I have found it on occasion being blocked, but mostly 
unblocked.

 Also, what is your wireless NIC?  It may be worth checking that you are still 
 using the correct driver for your wireless chipset?
 http://linuxwireless.org/en/users/Drivers/b43
 and that you are using the latest firmware?
 http://linuxwireless.org/en/users/Drivers/b43#Device_firmware_installation

Sadly, it's a Dell TrueMobile 1300, which used the BroadCom 4306/Rev2 chipset.
There's only one version of the firmware usable for it, and the b43-legacy 
driver is the only one that supports it.

I am still trying to find a good replacement. Since I want a 802.11n capable 
replacement, finding a new mini-PCI card is hard. (Intel only has mini-PCIe.)
Finding a decently supported PCMCIA/PC Card card (Type 1 or 2) is also hard 
- most that are supported are only the 2.4GHZ range, and I'd like to use the 
5GHZ range for 802.11n with the 2.4 GHZ for 802.11g.
Simply put, I'd like to take full advantage of 802.11n and finding something 
capable and supported is proving difficult. The linuxwireless.org website is 
not very helpful in that respect either.

So, yes - I'm full open to replacement suggestions. I'd much rather have a 
fully supported Atheros-based card, and I'm getting tired of looking too.

Ben




Re: [gentoo-user] Wireless Configuration...

2011-09-08 Thread Mick
OK, so if you restore the two lines and this error goes away, can you then 
initialise the device without any other errors?

Assuming that rfkill shows all is unlocked and the device active, what does 
iwlist wlan0 scan show now?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless Configuration...

2011-09-07 Thread BRM
- Original Message -

 From: Mick michaelkintz...@gmail.com
 On Tuesday 06 Sep 2011 15:24:33 BRM wrote:
  - Original Message -
   From: Mick michaelkintz...@gmail.com
   On Saturday 03 Sep 2011 15:14:27 BRM wrote:
    - Original Message -
   I think the above should be either:
   
     ctrl_interface=/var/run/wpa_supplicant
     ctrl_interface_group=wheel
   
   or,
   
     DIR=/var/run/wpa_supplicant GROUP=wheel
 
  Ok. Corrected that to the first one.
 
 Fine.  I note that you said the wpa_gui won't scan further down this thread, 
 
 just in case ... is your user part of the wheel group?

Yes, so I can use sudo.
 
    #ctrl_interface_group=wheel
    ap_scan=1
    fast_reauth=1
    # This blank configuration will automatically use DHCP for any 
 net.*
    # scripts in /etc/init.d.  To create a more complete 
 configuration,
    # please review /etc/conf.d/net.example and save your 
 configuration
    # in /etc/conf.d/net (this file :]!).
    
    # Standard Network:
    config_eth0=( dhcp )
   
   The old syntax you use here, which was ( value ) is now 
 deprecated. 
   You
   should replace all such entries by removing the brackets, e.g. the 
 above
   becomes:
   
   config_eth0=dhcp
   
   This is explained in: 
 http://www.gentoo.org/doc/en/openrc-migration.xml
 
  Corrected that one too. eth0 was working fine though.
 
 Yes, because eth0 will default to dhcp, after the old syntax you were using 
 errors out or is ignored.

Ok.
 
   modules=wpa_supplicant
   wpa_supplicant_wlan0=-Dwext
   config_wlan0=dhcp
 
  I re-enabled those and added the last line.
 
 OK, wpa_supplicant should now work as intended.
 
 
   You need to add or uncomment the following to your 
 wpa_supplicant.conf:
   =
   network={
           key_mgmt=NONE
           priority=0
   }
   =
   The above will let latch on the first available AP.
 
  I wasn't sure that that one was for. I've re-enabled it and the 
 original
  one for my network. 
 
 OK, this is useful for open AP which accept connections.  If they need 
 encryption you can add this using the wpa_gui.

Interesting. Good to know. Thanks!
 
   Also, you can then add any AP of preference with passphrases and what
   not: =
   # Home Network
   network={
         ssid=MY-NETWORK
   #      key_mgmt=IEEE8021X  --You don't need these entries 
 here, unless
   #      eap=TLS             --you run SSL certs for authentication
         wep_key0=DEADBEAF0123456789ABCDEF000
         priority=1
         auth_alg=OPEN
   }
   =
 
  Interestingly, wpa_supplicant complains if those two lines are not there
  even though I am not doing SSL auth. 
 
 Hmm ... what is the error/warning that comes up?

I'll have to check after I get home.
 
 Either way, can you please add:
 
 eapol_version=1

Will do this evening.
 
  I'd rather use the NetworkManager in KDE than wpa_gui.
  That said, NetworkManager in KDE seems to be using wicd for some reason.
 You need someone else to chime in here, because I use neither of these.  As 
 far as I read in this M/L wicd is more or less fool-proof.
  I also have KDE running under Kubuntu on my work computer (4.6.2) and the
  Network Manager is completely different (don't know why) - it's not 
 wicd
  as far as I can tell.
 
  However, They are still not working. wpa_gui refuses to scan and find
  networks; while wicd is not finding networks either - but there's so
  little information in the GUI that it is practically useless to say why.
  Perhaps I've got something at the KDE layer screwed up?
 I don't know if one is causing a clash with the other, so don't try to 
 use 
 both at the same time.  If wicd is started automatically when you boot/login, 
 then just use that.

Well, I figured this part out. Essentially, I had wpa_supplicant, and wicd 
installed.
However, what I really wanted to NetworkManager and KNetworkManager installed.
So I removed wicd, and installed NetworkManager and KNetworkManager.
I now get the interface I expected under KDE and don't need to use wpa_gui any 
more.
Still, it doesn't scan.
 
 When wpa_gui refuses to scan what message do you get?  What do the logs say.
 Also, if wpa_gui or wicd fail to scan for APs what do you get from:
 # iwlist wlan0 scanning

At least from the applications I am not getting any error messages. I'll have 
to check the logs tonight and let you know.

This morning I checked the antennae to verify they were properly connected to 
the mini-PCI card (as I had opened it up a few weeks ago to see whether it was 
mini-PCI or mini-PCIe; but I didn't remove/disconnect anything at that  time). 
Everything checked out. So it shouldn't be a hardware issue unless the card is 
completely fried for some reason.

I'll check the logs this evening and let you know.

Thanks!

Ben




Re: [gentoo-user] Wireless Configuration...

2011-09-07 Thread Michael Mol
On Wed, Sep 7, 2011 at 9:54 AM, BRM bm_witn...@yahoo.com wrote:
 From: Mick michaelkintz...@gmail.com
 On Tuesday 06 Sep 2011 15:24:33 BRM wrote:
 I don't know if one is causing a clash with the other, so don't try to
 use
 both at the same time.  If wicd is started automatically when you boot/login,
 then just use that.

 Well, I figured this part out. Essentially, I had wpa_supplicant, and wicd 
 installed.
 However, what I really wanted to NetworkManager and KNetworkManager installed.
 So I removed wicd, and installed NetworkManager and KNetworkManager.
 I now get the interface I expected under KDE and don't need to use wpa_gui 
 any more.
 Still, it doesn't scan.

I believe NetworkManager provides WPA supplicant functionlaity, so I
don't think you need wpa_supplicant if you have NetworkManager. It's
been a *long* time (about five years) since I messed with wireless
configuration daemons, though. Lots of things can change in that time,
including memory...

-- 
:wq



Re: [gentoo-user] Wireless Configuration...

2011-09-07 Thread BRM
- Original Message -

 From: Mick michaelkintz...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Cc: 
 Sent: Tuesday, September 6, 2011 5:32 PM
 Subject: Re: [gentoo-user] Wireless Configuration...
 
 On Tuesday 06 Sep 2011 15:24:33 BRM wrote:
  - Original Message -
 
   From: Mick michaelkintz...@gmail.com
   
   On Saturday 03 Sep 2011 15:14:27 BRM wrote:
    - Original Message -
 
   I think the above should be either:
   
     ctrl_interface=/var/run/wpa_supplicant
     ctrl_interface_group=wheel
   
   or,
   
     DIR=/var/run/wpa_supplicant GROUP=wheel
 
  Ok. Corrected that to the first one.
 
 Fine.  I note that you said the wpa_gui won't scan further down this thread, 
 
 just in case ... is your user part of the wheel group?
 
    #ctrl_interface_group=wheel
    ap_scan=1
    fast_reauth=1
    # This blank configuration will automatically use DHCP for any 
 net.*
    # scripts in /etc/init.d.  To create a more complete 
 configuration,
    # please review /etc/conf.d/net.example and save your 
 configuration
    # in /etc/conf.d/net (this file :]!).
    
    # Standard Network:
    config_eth0=( dhcp )
   
   The old syntax you use here, which was ( value ) is now 
 deprecated. 
   You
   should replace all such entries by removing the brackets, e.g. the 
 above
   becomes:
   
   config_eth0=dhcp
   
   This is explained in: 
 http://www.gentoo.org/doc/en/openrc-migration.xml
 
  Corrected that one too. eth0 was working fine though.
 
 Yes, because eth0 will default to dhcp, after the old syntax you were using 
 errors out or is ignored.
 
 
   modules=wpa_supplicant
   wpa_supplicant_wlan0=-Dwext
   config_wlan0=dhcp
 
  I re-enabled those and added the last line.
 
 OK, wpa_supplicant should now work as intended.
 
 
   You need to add or uncomment the following to your 
 wpa_supplicant.conf:
   =
   network={
           key_mgmt=NONE
           priority=0
   }
   =
   The above will let latch on the first available AP.
 
  I wasn't sure that that one was for. I've re-enabled it and the 
 original
  one for my network. 
 
 OK, this is useful for open AP which accept connections.  If they need 
 encryption you can add this using the wpa_gui.
 
 
   Also, you can then add any AP of preference with passphrases and what
   not: =
   # Home Network
   network={
         ssid=MY-NETWORK
   #      key_mgmt=IEEE8021X  --You don't need these entries 
 here, unless
   #      eap=TLS             --you run SSL certs for authentication
         wep_key0=DEADBEAF0123456789ABCDEF000
         priority=1
         auth_alg=OPEN
   }
   =
 
  Interestingly, wpa_supplicant complains if those two lines are not there
  even though I am not doing SSL auth. 
 
 Hmm ... what is the error/warning that comes up?

pneumo-martyr wpa_supplicant # /etc/init.d/net.wlan0 start  
 * Bringing up interface wlan0
 *   Starting wpa_supplicant on wlan0 ...
Line 17: WPA-PSK accepted for key management, but no PSK configured.
Line 17: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
 *   start-stop-daemon: failed to start 
`/usr/sbin/wpa_supplicant'  
 [ !! ]
 * ERROR: net.wlan0 failed to start


 Either way, can you please add:
 
 eapol_version=1

Done.

   and something like this for WPA2:
   =
   network={
           ssid=what-ever
           proto=RSN
           key_mgmt=WPA-PSK
           pairwise=CCMP
           auth_alg=OPEN
           group=CCMP
           pskpass_123456789
           priority=5
   =
 
  I want to try to get away from adding things directly to the
  wpa_supplicant.conf file as I would rather that the connection information
  be managed by a GUI tool. 
 
 You should be able to add such details in the GUI of choice.  Adding them in 
 wpa_supplicant.conf means that they should appear already filled in the GUI.
 
 
  I'd rather use the NetworkManager in KDE than wpa_gui.
 
  That said, NetworkManager in KDE seems to be using wicd for some reason.
 
 You need someone else to chime in here, because I use neither of these.  As 
 far as I read in this M/L wicd is more or less fool-proof.
 
  I also have KDE running under Kubuntu on my work computer (4.6.2) and the
  Network Manager is completely different (don't know why) - it's not 
 wicd
  as far as I can tell.
 
  However, They are still not working. wpa_gui refuses to scan and find
  networks; while wicd is not finding networks either - but there's so
  little information in the GUI that it is practically useless to say why.
  Perhaps I've got something at the KDE layer screwed up?
 
 I don't know if one is causing a clash with the other, so don't try to 
 use 
 both at the same time.  If wicd is started automatically when you boot/login, 
 then just use that.
 
 When wpa_gui refuses to scan

Re: [gentoo-user] Wireless Configuration...

2011-09-06 Thread BRM
- Original Message -

 From: Mick michaelkintz...@gmail.com
 On Saturday 03 Sep 2011 15:14:27 BRM wrote:
  - Original Message -
   Assuming that you have built in your kernel or loaded the driver 
 module
   for your NIC and any firmware blobs have also been loaded, please 
 show:
 
  Yes. As I noted, it's worked before. The driver loads it find the 
 firmware,
  etc. Configuration information is below.
   
 
   /etc/conf.d/net
 
  # This is a network block that connects to any unsecured access point.
  # We give it a low priority so any defined blocks are preferred.
  ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
 
 I think the above should be either:
 
   ctrl_interface=/var/run/wpa_supplicant
   ctrl_interface_group=wheel
 
 or, 
 
   DIR=/var/run/wpa_supplicant GROUP=wheel

Ok. Corrected that to the first one.
 
  #ctrl_interface_group=wheel
  ap_scan=1
  fast_reauth=1
  # This blank configuration will automatically use DHCP for any net.*
  # scripts in /etc/init.d.  To create a more complete configuration,
  # please review /etc/conf.d/net.example and save your configuration
  # in /etc/conf.d/net (this file :]!).
 
  # Standard Network:
  config_eth0=( dhcp )

 The old syntax you use here, which was ( value ) is now deprecated.  
 You 
 should replace all such entries by removing the brackets, e.g. the above 
 becomes:
 
 config_eth0=dhcp
 
 This is explained in: http://www.gentoo.org/doc/en/openrc-migration.xml

Corrected that one too. eth0 was working fine though.
 
  dns_domain_lo=coal
  # Wireless Network:
  # TBD
  #config_wlan0 ( wpa_supplicant )
  #
 
  # Enable this to use WPA supplicant; however, need to change the
  configuration of the Wireless first. modules=( !plug 
 !iwconfig
  wpa_supplicant )
  #modules=( !plug wpa_supplicant )
  #modules=(iwconfig)
  #wpa_supplicant_wlan0=-Dwext
  #wpa_timeout_wlan0=15
 
  #modules=(iwconfig)
  #iwconfig_wlan0=mode managed
  #wpa_timeout_wlan0=15
 
 You should also add something like:
 
 modules=wpa_supplicant
 wpa_supplicant_wlan0=-Dwext
 config_wlan0=dhcp

I re-enabled those and added the last line.
 
 
   and 
   
   grep ^[^#] /etc/wpa_supplicant/wpa_supplicant.conf
 
  ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
  ap_scan=1
  fast_reauth=1
  country=US
 
  # Home Network
  #network={
  #       ssid=MY-NETWORK
  #       key_mgmt=IEEE8021X
  #       eap=TLS
  #       wep_key0=DEADBEAF0123456789ABCDEF000
  #       priority=1
  #       auth_alg=SHARED
  #}
  #
  #network={
  #       key_mgmt=NONE
  #       priority=-999
  #}
 
  The network information is commented out as I was trying to get it to work
  with the normal user-space tools (e.g. Network Manager); however, it is no
  longer working in that configuration either. It doesn't seem to ever 
 get
  to doing the SCAN portion of trying to find networks.
 
  I can see wlan0 in wpa_gui, but I can't get it to scan at all. And 
 I'd much
  rather use Network Manager if I could over wpa_gui; but it doesn't even
  see wlan0 (it happily finds eth0, my wired NIC.)
 
  Ben
 
 You need to add or uncomment the following to your wpa_supplicant.conf:
 =
 network={
         key_mgmt=NONE
         priority=0
 }
 =
 The above will let latch on the first available AP.

I wasn't sure that that one was for. I've re-enabled it and the original one 
for my network.
 
 Also, you can then add any AP of preference with passphrases and what not:
 =
 # Home Network
 network={
       ssid=MY-NETWORK
 #      key_mgmt=IEEE8021X  --You don't need these entries here, unless
 #      eap=TLS             --you run SSL certs for authentication
       wep_key0=DEADBEAF0123456789ABCDEF000
       priority=1
       auth_alg=OPEN
 }
 =

Interestingly, wpa_supplicant complains if those two lines are not there even 
though I am not doing SSL auth.
 
 and something like this for WPA2:
 =
 network={
         ssid=what-ever
         proto=RSN
         key_mgmt=WPA-PSK
         pairwise=CCMP
         auth_alg=OPEN
         group=CCMP
         pskpass_123456789
         priority=5
 =

I want to try to get away from adding things directly to the 
wpa_supplicant.conf file as I would rather that the connection information be 
managed by a GUI tool.
 
 Something like the above should get you online again, but you may need to 
 experiment with different settings depending on the encryption used by the 
 chosen AP.
 
 When wardriving open the wpa_gui, scan and double-click on your desired AP.  
 Then enter the key for it (if it has one) and you should be able to 
 associate.  
 At that point dhcpcd will kick in and you'll get an IP address and be able 
 to 
 connect to the Internet (as long as the AP is not asking for DNS 
 authentication or some such security measure).
 
 Of course if you use networkmanager you do not need to use wpa_gui.

I'd rather use the NetworkManager in KDE than 

Re: [gentoo-user] Wireless Configuration...

2011-09-06 Thread Mick
On Tuesday 06 Sep 2011 15:24:33 BRM wrote:
 - Original Message -
 
  From: Mick michaelkintz...@gmail.com
  
  On Saturday 03 Sep 2011 15:14:27 BRM wrote:
   - Original Message -

  I think the above should be either:
  
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
  
  or,
  
DIR=/var/run/wpa_supplicant GROUP=wheel
 
 Ok. Corrected that to the first one.

Fine.  I note that you said the wpa_gui won't scan further down this thread, 
just in case ... is your user part of the wheel group?

   #ctrl_interface_group=wheel
   ap_scan=1
   fast_reauth=1
   # This blank configuration will automatically use DHCP for any net.*
   # scripts in /etc/init.d.  To create a more complete configuration,
   # please review /etc/conf.d/net.example and save your configuration
   # in /etc/conf.d/net (this file :]!).
   
   # Standard Network:
   config_eth0=( dhcp )
  
  The old syntax you use here, which was ( value ) is now deprecated. 
  You
  should replace all such entries by removing the brackets, e.g. the above
  becomes:
  
  config_eth0=dhcp
  
  This is explained in: http://www.gentoo.org/doc/en/openrc-migration.xml
 
 Corrected that one too. eth0 was working fine though.

Yes, because eth0 will default to dhcp, after the old syntax you were using 
errors out or is ignored.


  modules=wpa_supplicant
  wpa_supplicant_wlan0=-Dwext
  config_wlan0=dhcp
 
 I re-enabled those and added the last line.

OK, wpa_supplicant should now work as intended.


  You need to add or uncomment the following to your wpa_supplicant.conf:
  =
  network={
  key_mgmt=NONE
  priority=0
  }
  =
  The above will let latch on the first available AP.
 
 I wasn't sure that that one was for. I've re-enabled it and the original
 one for my network. 

OK, this is useful for open AP which accept connections.  If they need 
encryption you can add this using the wpa_gui.


  Also, you can then add any AP of preference with passphrases and what
  not: =
  # Home Network
  network={
ssid=MY-NETWORK
  #  key_mgmt=IEEE8021X  --You don't need these entries here, unless
  #  eap=TLS --you run SSL certs for authentication
wep_key0=DEADBEAF0123456789ABCDEF000
priority=1
auth_alg=OPEN
  }
  =
 
 Interestingly, wpa_supplicant complains if those two lines are not there
 even though I am not doing SSL auth. 

Hmm ... what is the error/warning that comes up?

Either way, can you please add:

eapol_version=1


  and something like this for WPA2:
  =
  network={
  ssid=what-ever
  proto=RSN
  key_mgmt=WPA-PSK
  pairwise=CCMP
  auth_alg=OPEN
  group=CCMP
  pskpass_123456789
  priority=5
  =
 
 I want to try to get away from adding things directly to the
 wpa_supplicant.conf file as I would rather that the connection information
 be managed by a GUI tool. 

You should be able to add such details in the GUI of choice.  Adding them in 
wpa_supplicant.conf means that they should appear already filled in the GUI.

 
 I'd rather use the NetworkManager in KDE than wpa_gui.
 
 That said, NetworkManager in KDE seems to be using wicd for some reason.

You need someone else to chime in here, because I use neither of these.  As 
far as I read in this M/L wicd is more or less fool-proof.

 I also have KDE running under Kubuntu on my work computer (4.6.2) and the
 Network Manager is completely different (don't know why) - it's not wicd
 as far as I can tell.
 
 However, They are still not working. wpa_gui refuses to scan and find
 networks; while wicd is not finding networks either - but there's so
 little information in the GUI that it is practically useless to say why.
 Perhaps I've got something at the KDE layer screwed up?

I don't know if one is causing a clash with the other, so don't try to use 
both at the same time.  If wicd is started automatically when you boot/login, 
then just use that.

When wpa_gui refuses to scan what message do you get?  What do the logs say.

Also, if wpa_gui or wicd fail to scan for APs what do you get from:

# iwlist wlan0 scanning

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless Configuration...

2011-09-03 Thread BRM
- Original Message -

 From: Mick michaelkintz...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Cc: 
 Sent: Friday, September 2, 2011 11:29 AM
 Subject: Re: [gentoo-user] Wireless Configuration...
 
 On Friday 02 Sep 2011 14:38:56 BRM wrote:
  - Original Message -
 
   From: Canek Peláez Valdés can...@gmail.com
   
   On Thu, Sep 1, 2011 at 11:52 PM, BRM bm_witn...@yahoo.com 
 wrote:
    I still haven't decided what to get for my system to replace 
 the NIC
   
   with, but the card I have should be working with my existing 802.11g
   network already; however, it doesn't - I have had to connect my 
 laptop
   via Ethernet cable to my wireless bridge to get network access.
   
    /etc/init.d/net.wlan0 starts, but goes immediately inactive. From 
 what
    I
   
   can find on-line, this seems to have been something common after 
 moving
   to Base Layout 2/OpenRC; however, I couldn't find anything that
   specified what the actual solution was - I think most ended up doing a
   complete reinstall of their wicd/wpa-supplicant software - either way
   details were lacking.  I've successfully had wpa-supplicant 
 working in
   the past, and as a result of all of this I've tried to get it up 
 through
   the other method too (iwconfig?), but no success. (I think I have
   managed to get it to scan some, but not sufficiently and certainly no
   connections.)
   
   Did you followed the instructions at
   
   http://www.gentoo.org/doc/en/openrc-migration.xml
   
   specifically the network section?
 
  Yes, I believe so. It's been a while since I made the migration, but 
 the
  wireless configuration seems to have broken about the same time.
 
  The wired configuration works just fine, and the guide mentions nothing
  about Wireless changes - e.g. WPA Supplicant - and that's where the
  problem is. 
 
    Anyone see this issue and know what the solution is? I'd like 
 to at
   
   least get my 802.11g access back - the current setup is a bit of a 
 pain
   and very limiting.
   
   Since you use a laptop, I will assume you have either KDE, GNOME or
   Xfce. If that's the case, why don't you try NetworkManager or 
 connman,
   and use the GUI thingy to do the work for you? I haven't manually
   configured a wireless network in years, and I have been the last three
   months traveling with my laptop literally all over the world,
   connecting to all kinds of access points.
   NetworkMnager just works, but I also hear great comments about 
 connman.
 
  I'm using KDE, yes. I've tried the tools but it doesn't seem to 
 ever scan
  for a wireless network on its own, and the scans I have been able to force
  don't result in a connection - they don't even find the network 
 I'm trying
  to attach it to.  Prior to the change, I could get WPA Supplicant to
  connect to my wireless, though I did have to have it specifically
  configured to do so. It wouldn't typically work using the tools for the
  one wireless network, while I could get it to for others (hotels, other
  places, etc.).
 
  I have added another network that is configured a little differently that I
  would prefer to connect to (over the old one), but at the moment I'll 
 take
  either. (The new 802.11g network uses WPA2; the old one uses WEP+Shared.)
 
 Assuming that you have built in your kernel or loaded the driver module for 
 your NIC and any firmware blobs have also been loaded, please show:

Yes. As I noted, it's worked before. The driver loads it find the firmware, etc.
Configuration information is below.
 
 /etc/conf.d/net 

# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#ctrl_interface_group=wheel
ap_scan=1
fast_reauth=1
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

# Standard Network:
config_eth0=( dhcp )

dns_domain_lo=coal
# Wireless Network:
# TBD
#config_wlan0 ( wpa_supplicant )
#

# Enable this to use WPA supplicant; however, need to change the configuration 
of the Wireless first.
modules=( !plug !iwconfig wpa_supplicant )
#modules=( !plug wpa_supplicant )
#modules=(iwconfig)
#wpa_supplicant_wlan0=-Dwext
#wpa_timeout_wlan0=15

#modules=(iwconfig)
#iwconfig_wlan0=mode managed
#wpa_timeout_wlan0=15
 
 and  
 
 grep ^[^#] /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
ap_scan=1
fast_reauth=1
country=US

# Home Network
#network={
#   ssid=MY-NETWORK
#   key_mgmt=IEEE8021X
#   eap=TLS
#   wep_key0=DEADBEAF0123456789ABCDEF000
#   priority=1
#   auth_alg=SHARED
#}
#
#network={
#   key_mgmt=NONE
#   priority=-999
#}

The network information is commented out as I was trying to get it to work with 
the normal user

Re: [gentoo-user] Wireless Configuration...

2011-09-03 Thread Mick
On Saturday 03 Sep 2011 15:14:27 BRM wrote:
 - Original Message -
 
  From: Mick michaelkintz...@gmail.com
  To: gentoo-user@lists.gentoo.org

  Assuming that you have built in your kernel or loaded the driver module
  for your NIC and any firmware blobs have also been loaded, please show:

 Yes. As I noted, it's worked before. The driver loads it find the firmware,
 etc. Configuration information is below.
  
 
  /etc/conf.d/net
 
 # This is a network block that connects to any unsecured access point.
 # We give it a low priority so any defined blocks are preferred.
 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel

I think the above should be either:

  ctrl_interface=/var/run/wpa_supplicant
  ctrl_interface_group=wheel

or, 

  DIR=/var/run/wpa_supplicant GROUP=wheel

 #ctrl_interface_group=wheel
 ap_scan=1
 fast_reauth=1
 # This blank configuration will automatically use DHCP for any net.*
 # scripts in /etc/init.d.  To create a more complete configuration,
 # please review /etc/conf.d/net.example and save your configuration
 # in /etc/conf.d/net (this file :]!).
 
 # Standard Network:
 config_eth0=( dhcp )

The old syntax you use here, which was ( value ) is now deprecated.  You 
should replace all such entries by removing the brackets, e.g. the above 
becomes:

config_eth0=dhcp

This is explained in: http://www.gentoo.org/doc/en/openrc-migration.xml


 dns_domain_lo=coal
 # Wireless Network:
 # TBD
 #config_wlan0 ( wpa_supplicant )
 #
 
 # Enable this to use WPA supplicant; however, need to change the
 configuration of the Wireless first. modules=( !plug !iwconfig
 wpa_supplicant )
 #modules=( !plug wpa_supplicant )
 #modules=(iwconfig)
 #wpa_supplicant_wlan0=-Dwext
 #wpa_timeout_wlan0=15
 
 #modules=(iwconfig)
 #iwconfig_wlan0=mode managed
 #wpa_timeout_wlan0=15

You should also add something like:

modules=wpa_supplicant
wpa_supplicant_wlan0=-Dwext
config_wlan0=dhcp


  and 
  
  grep ^[^#] /etc/wpa_supplicant/wpa_supplicant.conf
 
 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
 ap_scan=1
 fast_reauth=1
 country=US
 
 # Home Network
 #network={
 #   ssid=MY-NETWORK
 #   key_mgmt=IEEE8021X
 #   eap=TLS
 #   wep_key0=DEADBEAF0123456789ABCDEF000
 #   priority=1
 #   auth_alg=SHARED
 #}
 #
 #network={
 #   key_mgmt=NONE
 #   priority=-999
 #}
 
 The network information is commented out as I was trying to get it to work
 with the normal user-space tools (e.g. Network Manager); however, it is no
 longer working in that configuration either. It doesn't seem to ever get
 to doing the SCAN portion of trying to find networks.
 
 I can see wlan0 in wpa_gui, but I can't get it to scan at all. And I'd much
 rather use Network Manager if I could over wpa_gui; but it doesn't even
 see wlan0 (it happily finds eth0, my wired NIC.)
 
 Ben

You need to add or uncomment the following to your wpa_supplicant.conf:
=
network={
key_mgmt=NONE
priority=0
}
=

The above will let latch on the first available AP.


Also, you can then add any AP of preference with passphrases and what not:
=
# Home Network
network={
  ssid=MY-NETWORK
#  key_mgmt=IEEE8021X  --You don't need these entries here, unless
#  eap=TLS --you run SSL certs for authentication
  wep_key0=DEADBEAF0123456789ABCDEF000
  priority=1
  auth_alg=OPEN
}
=

and something like this for WPA2:
=
network={
ssid=what-ever
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
group=CCMP
pskpass_123456789
priority=5
=

Something like the above should get you online again, but you may need to 
experiment with different settings depending on the encryption used by the 
chosen AP.

When wardriving open the wpa_gui, scan and double-click on your desired AP.  
Then enter the key for it (if it has one) and you should be able to associate.  
At that point dhcpcd will kick in and you'll get an IP address and be able to 
connect to the Internet (as long as the AP is not asking for DNS 
authentication or some such security measure).

Of course if you use networkmanager you do not need to use wpa_gui.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless Configuration...

2011-09-02 Thread Canek Peláez Valdés
On Thu, Sep 1, 2011 at 11:52 PM, BRM bm_witn...@yahoo.com wrote:
 I still haven't decided what to get for my system to replace the NIC with, 
 but the card I have should be working with my existing 802.11g network 
 already; however, it doesn't - I have had to connect my laptop via Ethernet 
 cable to my wireless bridge to get network access.

 /etc/init.d/net.wlan0 starts, but goes immediately inactive. From what I can 
 find on-line, this seems to have been something common after moving to Base 
 Layout 2/OpenRC; however, I couldn't find anything that specified what the 
 actual solution was - I think most ended up doing a complete reinstall of 
 their wicd/wpa-supplicant software - either way details were lacking.  I've 
 successfully had wpa-supplicant working in the past, and as a result of all 
 of this I've tried to get it up through the other method too (iwconfig?), but 
 no success. (I think I have managed to get it to scan some, but not 
 sufficiently and certainly no connections.)

Did you followed the instructions at

http://www.gentoo.org/doc/en/openrc-migration.xml

specifically the network section?

 Anyone see this issue and know what the solution is? I'd like to at least get 
 my 802.11g access back - the current setup is a bit of a pain and very 
 limiting.

Since you use a laptop, I will assume you have either KDE, GNOME or
Xfce. If that's the case, why don't you try NetworkManager or connman,
and use the GUI thingy to do the work for you? I haven't manually
configured a wireless network in years, and I have been the last three
months traveling with my laptop literally all over the world,
connecting to all kinds of access points.

NetworkMnager just works, but I also hear great comments about connman.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Wireless Configuration...

2011-09-02 Thread BRM
- Original Message -

 From: Canek Peláez Valdés can...@gmail.com
 On Thu, Sep 1, 2011 at 11:52 PM, BRM bm_witn...@yahoo.com wrote:
  I still haven't decided what to get for my system to replace the NIC 
 with, but the card I have should be working with my existing 802.11g network 
 already; however, it doesn't - I have had to connect my laptop via Ethernet 
 cable to my wireless bridge to get network access.
 
  /etc/init.d/net.wlan0 starts, but goes immediately inactive. From what I 
 can find on-line, this seems to have been something common after moving to 
 Base 
 Layout 2/OpenRC; however, I couldn't find anything that specified what the 
 actual solution was - I think most ended up doing a complete reinstall of 
 their 
 wicd/wpa-supplicant software - either way details were lacking.  I've 
 successfully had wpa-supplicant working in the past, and as a result of all 
 of 
 this I've tried to get it up through the other method too (iwconfig?), but 
 no success. (I think I have managed to get it to scan some, but not 
 sufficiently 
 and certainly no connections.)
 
 Did you followed the instructions at
 
 http://www.gentoo.org/doc/en/openrc-migration.xml
 
 specifically the network section?

Yes, I believe so. It's been a while since I made the migration, but the 
wireless configuration seems to have broken about the same time.

The wired configuration works just fine, and the guide mentions nothing about 
Wireless changes - e.g. WPA Supplicant - and that's where the problem is.
 
  Anyone see this issue and know what the solution is? I'd like to at 
 least get my 802.11g access back - the current setup is a bit of a pain and 
 very 
 limiting.
 
 Since you use a laptop, I will assume you have either KDE, GNOME or
 Xfce. If that's the case, why don't you try NetworkManager or connman,
 and use the GUI thingy to do the work for you? I haven't manually
 configured a wireless network in years, and I have been the last three
 months traveling with my laptop literally all over the world,
 connecting to all kinds of access points.
 NetworkMnager just works, but I also hear great comments about connman.

I'm using KDE, yes. I've tried the tools but it doesn't seem to ever scan for a 
wireless network on its own, and the scans I have been able to force don't 
result in a connection - they don't even find the network I'm trying to attach 
it to.  Prior to the change, I could get WPA Supplicant to connect to my 
wireless, though I did have to have it specifically configured to do so. It 
wouldn't typically work using the tools for the one wireless network, while I 
could get it to for others (hotels, other places, etc.).

I have added another network that is configured a little differently that I 
would prefer to connect to (over the old one), but at the moment I'll take 
either. (The new 802.11g network uses WPA2; the old one uses WEP+Shared.)

Ben




Re: [gentoo-user] Wireless Configuration...

2011-09-02 Thread Mick
On Friday 02 Sep 2011 14:38:56 BRM wrote:
 - Original Message -
 
  From: Canek Peláez Valdés can...@gmail.com
  
  On Thu, Sep 1, 2011 at 11:52 PM, BRM bm_witn...@yahoo.com wrote:
   I still haven't decided what to get for my system to replace the NIC
  
  with, but the card I have should be working with my existing 802.11g
  network already; however, it doesn't - I have had to connect my laptop
  via Ethernet cable to my wireless bridge to get network access.
  
   /etc/init.d/net.wlan0 starts, but goes immediately inactive. From what
   I
  
  can find on-line, this seems to have been something common after moving
  to Base Layout 2/OpenRC; however, I couldn't find anything that
  specified what the actual solution was - I think most ended up doing a
  complete reinstall of their wicd/wpa-supplicant software - either way
  details were lacking.  I've successfully had wpa-supplicant working in
  the past, and as a result of all of this I've tried to get it up through
  the other method too (iwconfig?), but no success. (I think I have
  managed to get it to scan some, but not sufficiently and certainly no
  connections.)
  
  Did you followed the instructions at
  
  http://www.gentoo.org/doc/en/openrc-migration.xml
  
  specifically the network section?
 
 Yes, I believe so. It's been a while since I made the migration, but the
 wireless configuration seems to have broken about the same time.
 
 The wired configuration works just fine, and the guide mentions nothing
 about Wireless changes - e.g. WPA Supplicant - and that's where the
 problem is. 
 
   Anyone see this issue and know what the solution is? I'd like to at
  
  least get my 802.11g access back - the current setup is a bit of a pain
  and very limiting.
  
  Since you use a laptop, I will assume you have either KDE, GNOME or
  Xfce. If that's the case, why don't you try NetworkManager or connman,
  and use the GUI thingy to do the work for you? I haven't manually
  configured a wireless network in years, and I have been the last three
  months traveling with my laptop literally all over the world,
  connecting to all kinds of access points.
  NetworkMnager just works, but I also hear great comments about connman.
 
 I'm using KDE, yes. I've tried the tools but it doesn't seem to ever scan
 for a wireless network on its own, and the scans I have been able to force
 don't result in a connection - they don't even find the network I'm trying
 to attach it to.  Prior to the change, I could get WPA Supplicant to
 connect to my wireless, though I did have to have it specifically
 configured to do so. It wouldn't typically work using the tools for the
 one wireless network, while I could get it to for others (hotels, other
 places, etc.).
 
 I have added another network that is configured a little differently that I
 would prefer to connect to (over the old one), but at the moment I'll take
 either. (The new 802.11g network uses WPA2; the old one uses WEP+Shared.)

Assuming that you have built in your kernel or loaded the driver module for 
your NIC and any firmware blobs have also been loaded, please show:

 /etc/conf.d/net 

and  

 grep ^[^#] /etc/wpa_supplicant/wpa_supplicant.conf

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless: deauthenticating by local choice

2011-08-31 Thread Paul Hartman
On Wed, Aug 31, 2011 at 12:30 PM, Grant emailgr...@gmail.com wrote:
 I'm on the road connecting to various wireless access points and
 sometimes I'm unable to connect and I get the (try 1) (try 2) (try 3)
 (timed out) messages in dmesg which makes sense.  Other times I get a
 different series of messages in dmesg when I'm unable to connect which
 don't make sense to me.  The interface connects, then disconnects,
 then connects, then disconnects, over and over until it finally
 decides to fail permanently.

Have you tried disabling power saving mode? Something like:

iwconfig wlan0 power off



Re: [gentoo-user] Wireless: deauthenticating by local choice

2011-08-31 Thread Grant
 I'm on the road connecting to various wireless access points and
 sometimes I'm unable to connect and I get the (try 1) (try 2) (try 3)
 (timed out) messages in dmesg which makes sense.  Other times I get a
 different series of messages in dmesg when I'm unable to connect which
 don't make sense to me.  The interface connects, then disconnects,
 then connects, then disconnects, over and over until it finally
 decides to fail permanently.

 Have you tried disabling power saving mode? Something like:

 iwconfig wlan0 power off

I love this list.  I don't want to speak too soon, but Paul, it looks
like you fixed it.  I've been struggling with this for a very long
time.  The problem would manifest with 2 different rt73 USB wireless
adapters.

- Grant



Re: [gentoo-user] Wireless: deauthenticating by local choice

2011-08-31 Thread Paul Hartman
On Wed, Aug 31, 2011 at 2:11 PM, Grant emailgr...@gmail.com wrote:
 I'm on the road connecting to various wireless access points and
 sometimes I'm unable to connect and I get the (try 1) (try 2) (try 3)
 (timed out) messages in dmesg which makes sense.  Other times I get a
 different series of messages in dmesg when I'm unable to connect which
 don't make sense to me.  The interface connects, then disconnects,
 then connects, then disconnects, over and over until it finally
 decides to fail permanently.

 Have you tried disabling power saving mode? Something like:

 iwconfig wlan0 power off

 I love this list.  I don't want to speak too soon, but Paul, it looks
 like you fixed it.

I hope so!

 I've been struggling with this for a very long
 time.  The problem would manifest with 2 different rt73 USB wireless
 adapters.

I had unstable connections and poor speeds on my laptop, and power
saving turned out to be the reason why. Some cards have intermediate
power-saving levels, too, which might give you a good compromise
between performance and battery life, if battery life is even a
concern.



Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...

2011-07-18 Thread BRM
- Original Message 

 From: Paul Hartman paul.hartman+gen...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Sent: Fri, July 15, 2011 5:24:48 PM
 Subject: Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...
 
 On Fri, Jul 15, 2011 at 2:54 PM,  ny6...@gmail.com wrote:
  I have  always had good luck with Atheros-based cards. HTH.
 
 Me too. Plus, they  are usually more likely to be able to do the fun
 stuff like master mode,  monitor mode, packet injection...

Any specific PCMCIA or mini-PCI (not mini-PCIe) cards you all would recommend 
then - either Atheros (preferred) or Intel?

I have only been able to find a couple - namely a few by HQRP, Everex, and 
TP-Link.
I haven't been able to find much info on HQRP, and their cards seem to be 
2.4GHz 
only - without proper 802.11n support.
Same for Everex and most others random ones.
TP-Link seems to support everything, but not sure about - Amazon reviews seem 
good (for the most part), but I have had trouble getting to their website for 
whatever reason - perhaps the Great Firewall of China is at play.

At least the Intel ones I come across on Amazon seem not support Wireless-N or 
be mini-PCIe.

TIA,

Ben




Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...

2011-07-18 Thread ny6p01
On Mon, Jul 18, 2011 at 10:58:45AM -0700, BRM wrote:
 - Original Message 
 
  From: Paul Hartman paul.hartman+gen...@gmail.com
  To: gentoo-user@lists.gentoo.org
  Sent: Fri, July 15, 2011 5:24:48 PM
  Subject: Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...
  
  On Fri, Jul 15, 2011 at 2:54 PM,  ny6...@gmail.com wrote:
   I have  always had good luck with Atheros-based cards. HTH.
  
  Me too. Plus, they  are usually more likely to be able to do the fun
  stuff like master mode,  monitor mode, packet injection...
 
 Any specific PCMCIA or mini-PCI (not mini-PCIe) cards you all would recommend 
 then - either Atheros (preferred) or Intel?
 
 I have only been able to find a couple - namely a few by HQRP, Everex, and 
 TP-Link.
 I haven't been able to find much info on HQRP, and their cards seem to be 
 2.4GHz 
 only - without proper 802.11n support.
 Same for Everex and most others random ones.
 TP-Link seems to support everything, but not sure about - Amazon reviews seem 
 good (for the most part), but I have had trouble getting to their website for 
 whatever reason - perhaps the Great Firewall of China is at play.
 
 At least the Intel ones I come across on Amazon seem not support Wireless-N 
 or 
 be mini-PCIe.
 
 TIA,
 
 Ben
 
 

I use the Dlink DWL-G630,
http://www.amazon.com/D-Link-DWL-G630-AirPlus-G-802-11g-Wireless/dp/B0009OH4GA/ref=sr_1_1?ie=UTF8qid=1311014826sr=8-1
although I think I have also used the G650 with equivalent results. I would
try that first. They are dirt cheap, anyways. You can't lose much. :)

Terry



Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...

2011-07-15 Thread ny6p01
I have always had good luck with Atheros-based cards. HTH.

Terry




Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...

2011-07-15 Thread Paul Hartman
On Fri, Jul 15, 2011 at 2:54 PM,  ny6...@gmail.com wrote:
 I have always had good luck with Atheros-based cards. HTH.

Me too. Plus, they are usually more likely to be able to do the fun
stuff like master mode, monitor mode, packet injection...



Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...

2011-07-14 Thread Neil Bothwick
On Thu, 14 Jul 2011 09:42:49 -0700 (PDT), BRM wrote:

 While I am at it, I am also considering getting a new wireless card for
 my D600 laptop to at least augment the internal b43-legacy supported
 Broadcom 43xx card that generally works, but is also a pain to keep
 working.

[snip]

 So that leaves me with using one of the open PCMCIA card slots. I have
 two wired PCMCIA adapters, useful mostly for multi-network and
 diagnostics; so the slots are open.

What format is the internal card? If it's mini-PCI, a standard Intel card
may be a better choice.


-- 
Neil Bothwick

Hard work has a future payoff. Laziness pays off now.


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...

2011-07-14 Thread BRM
- Original Message 

 From: Neil Bothwick n...@digimed.co.uk
 On Thu, 14 Jul 2011 09:42:49 -0700 (PDT), BRM wrote:
 
  While I am at  it, I am also considering getting a new wireless card for
  my D600 laptop  to at least augment the internal b43-legacy supported
  Broadcom 43xx card  that generally works, but is also a pain to keep
   working.
 
 [snip]
 
  So that leaves me with using one of the open  PCMCIA card slots. I have
  two wired PCMCIA adapters, useful mostly for  multi-network and
  diagnostics; so the slots are open.
 
 What format  is the internal card? If it's mini-PCI, a standard Intel card
 may be a better  choice.

Yes, I believe it's mini-PCI - two slots; only one used that I'm aware of.

Ok, for 802.11a/b/g; not sure how well it would be for 802.11n.

Ben




Re: [gentoo-user] Wireless Issue

2010-05-20 Thread Paul Hartman
On Wed, May 19, 2010 at 6:14 AM, CJoeB colleen.bea...@gmail.com wrote:
 Hi,

 I had wireless working just fine back when I was using the
 2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
 kernels, I haven't been able to get it working.  I was using the ipw3945
 driver, but this driver needs TKIP and something else (don't remember
 what) set in the cryptographic section of the kernel source.  I can't
 seem to find where that is located, if it is in the kernel that I am
 currently running - 2.6.31-gentoo-r10.

If I remember correctly, I think there were major changes to kernel
wireless infrastructure introduced in 2.6.30. And in wpa_supplicant
some changes had to be made for some people, like changing the driver
(in my case from -Dmadwifi to -Dwext). Sorry I'm not familiar with
your particular driver but I know there were major changes in general
around that time.

You may also need to emerge net-wireless/iw if you don't have it already.

In the crypto/cipher section of the kernel I've found it easiest to
just build all of them as modules and then they're available if
needed.



Re: [gentoo-user] Wireless Issue

2010-05-19 Thread Zeerak Mustafa Waseem
On Wed, May 19, 2010 at 07:14:35AM -0400, CJoeB wrote:
 Hi,
 
 I had wireless working just fine back when I was using the
 2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
 kernels, I haven't been able to get it working.  I was using the ipw3945
 driver, but this driver needs TKIP and something else (don't remember
 what) set in the cryptographic section of the kernel source.  I can't
 seem to find where that is located, if it is in the kernel that I am
 currently running - 2.6.31-gentoo-r10.
 
 I've tried using the corresponding driver within the kernel, but I still
 get told that my wireless connection does not exist and that I should
 verify the hardware or kernel module driver.
 
 I have also always used wireless-tools.  I know wpa_supplicant is
 supposed to be better because you can enable WEP encryption, but I tried
 to set that up too and I still get told that my wireless connection does
 not exist and that I should verify the hardware or kernel module driver.
 
 I'd be happy just using wireless-tools if I could get the ipw3945 driver
 to build, but can't without TKIP.  Does anyone know if this setting has
 been taken out of the kernel source or if it is just located in some
 obsure place that I can't find?
 
 Regards,
 
 Colleen
 
 -- 
 
 Registered Linux User #411143 with the Linux Counter, http://counter.li.org
 
 

I'm sorry if I'm mistaken, or if this comes across as awfully rude but didn't 
you ask the same question back in March? Did you have a look at the replies 
from then to see if that could help with this issue?
Also you can search within the kernel by entering '/' a search field will come 
up, and if you know part of the name (past thread of same title should reveal 
that), you should be able to locate it.

Hope it helps

-- 
Zeerak Waseem


pgpSfFWvAWtmz.pgp
Description: PGP signature


Re: [gentoo-user] Wireless Issue

2010-05-19 Thread Jake Moe
On 05/20/10 01:06, Zeerak Mustafa Waseem wrote:
 On Wed, May 19, 2010 at 07:14:35AM -0400, CJoeB wrote:
   
 Hi,

 I had wireless working just fine back when I was using the
 2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
 kernels, I haven't been able to get it working.  I was using the ipw3945
 driver, but this driver needs TKIP and something else (don't remember
 what) set in the cryptographic section of the kernel source.  I can't
 seem to find where that is located, if it is in the kernel that I am
 currently running - 2.6.31-gentoo-r10.

 I've tried using the corresponding driver within the kernel, but I still
 get told that my wireless connection does not exist and that I should
 verify the hardware or kernel module driver.

 I have also always used wireless-tools.  I know wpa_supplicant is
 supposed to be better because you can enable WEP encryption, but I tried
 to set that up too and I still get told that my wireless connection does
 not exist and that I should verify the hardware or kernel module driver.

 I'd be happy just using wireless-tools if I could get the ipw3945 driver
 to build, but can't without TKIP.  Does anyone know if this setting has
 been taken out of the kernel source or if it is just located in some
 obsure place that I can't find?

 Regards,

 Colleen

 -- 

 Registered Linux User #411143 with the Linux Counter, http://counter.li.org


 
 I'm sorry if I'm mistaken, or if this comes across as awfully rude but didn't 
 you ask the same question back in March? Did you have a look at the replies 
 from then to see if that could help with this issue?
 Also you can search within the kernel by entering '/' a search field will 
 come up, and if you know part of the name (past thread of same title should 
 reveal that), you should be able to locate it.

 Hope it helps

   
After you built your new kernel, did you re-emerge iwl3945-ucode?  I
usually forgot that step when upgrading my kernel (along with
nvidia-drivers).  I believe if you look in /var/log/messages, you'll see
a message about missing microcode if this is the case.

Also, I use wireless-tools just fine with mine, and it's running
2.6.31-r10 (I keep meaning to upgrade my kernel to the latest stable).

John Moe



Re: [gentoo-user] Wireless Issue

2010-03-25 Thread Frank Steinmetzger
Am Donnerstag, 25. März 2010 schrieb CJoeB:
 Hi,
 
 I have an Intel 3945 wireless adaptor in my laptop.  I have always used
 the ipw3945 driver in gentoo because I have never had any luck with the
 iwl3945 driver.
 [...]
 Tonight I, again, following the wiki, tried building the iwl3945 driver
 into the kernel, but had no success.  I need to get wireless working
 because I am changing isp's and will not longer be using an ethernet
 connection, but a dsl one.

Have you found out yet what really isn’t working? It could be a number of 
things, but when dealing with kernel drivers “it doesn’t work“ is not enough. 
;-)

 I don't know if it matters, but I am using wireless-extensions as
 opposed to wpa-supplicant because it doesn't seem that wpa-supplicant
 supports the Intel 3945 wireless adaptor.

IWL3945 and wpa_supplicant are working just fine over here. My only difference 
is that I’ve built it as a module. Here’s what I set in the kernel config.

Networking
  [*] Wireless
-*- Wireless extensions
{M} Common routines for IEEE802.11 drivers
M Generic IEEE 802.11 Networking Stack (mac80211)
Device drivers
  [*] Network device support
Wireless LAN
  [*] Wireless LAN (IEEE 802.11)
M Intel Wireless WiFi
  M Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)

# lsmod | grep iwl3945:
iwl394580412  0 
iwlcore98076  1 iwl3945
mac80211  142636  2 iwl3945,iwlcore
cfg80211   82108  3 iwl3945,iwlcore,mac80211

IIRC, there’s nothing more to it, really.
I also added suppor for tun/tap and devices and some ppp options because I use 
vpn on my Uni’s network, but I don’t reckon they’re a requisite for wireless. 

Then I grabbed iwl3945-ucode from portage, and that was it, IIRC. Just last 
weekend I rebuilt my system from scratch and it worked right away after I 
installed the ucode, dhcpcd and wpa_supplicant. Then I created the symlink 
net.wlan0 - net.lo in /etc/init.d and added it to the default runleven via 
rc-update. Oh yeah, I had to add the driver module iwl3945 to 
modules.autoload.d/kernel-2.6, because it didn’t get loaded (by udev?) at 
boot. Not sure if that is still necessary, but it was at some point in the 
past, obviosly.

Lastly, you need of course a correct wpa config, which is no rocket science 
either. Here’s mine for our WPA2 home network:

network={
ssid=our ssid
key_mgmt=WPA-PSK
#   group=TKIP
psk=our secret keyphrase
}

To connect, I did:

# wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext -iwlan0 
# dhcpcd wlan0 

and I was ready to go (That is from my memory, it may contain typos or similar 
errors).
-- 
Gruß | Greetings | Qapla'
UNIX is not user-unfriendly.
It just expects the user to be a little more computer-friendly.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless Issue

2010-03-25 Thread Albert Hopkins
On Thu, 2010-03-25 at 10:43 +0100, Frank Steinmetzger wrote:
  I don't know if it matters, but I am using wireless-extensions as
  opposed to wpa-supplicant because it doesn't seem that
 wpa-supplicant
  supports the Intel 3945 wireless adaptor.
 
 IWL3945 and wpa_supplicant are working just fine over here. My only
 difference 
 is that I’ve built it as a module. 

It should be build as a module because the driver needs access to
external firmware, and unless you are using an initrd with the external
firmware built into it, you're best of with a module.

FWIW, I've also been using the iwl3945 for as long as I can remember and
haven't had any issues.

-a




Re: [gentoo-user] Wireless...

2010-01-06 Thread BRM
- Original Message 

 From: BRM bm_witn...@yahoo.com
 From: Mike Edenfield 
   On 12/2/2009 9:17 PM, BRM wrote:
   I have wireless working (b43legacy driver for the Dell Wireless Broadcom) 
 through a static configuration in /etc/conf.d/net - basically:
   essid_wlan0=myWLAN
   key_MYWLAN=somekey
   config_MYWLAN=( dhcp )
   preferred_APS= ( myWLAN )
   I would like to use a tool like WPA Supplicant instead so I can have a 
   more 
 dynamic configuration.
   I've tried to setup WPA supplicant but haven't been able to get it to 
   work.
  Probably not what you wanted to hear, but I had the exact same problem with 
 the Dell bcm-based adapter in my Inspiron laptop.
  It would work fine for open wireless and WEP-secured wireless, but wouldn't 
 associated with a WPA-secured access point.
  Eventually I spent about $30 to purchase an iwl3945 replacement from Dell, 
 which worked fine, and never looked back.
 Thanks for the heads up.
 At this point, I'll be happy if I can just get WEP working using WPA 
 Supplicant/WiCD/etc. instead of a root user centric configuration file.

Well, it seems to be something with my home network; not sure what.
Over the holidays I did some traveling and took my laptop with me.
I was able to connect to other WEP networks just fine using WPA Supplicant;
however, when I got home I couldn't get WPA Supplicant to work with my home 
network and
had to revert back to setting it up via /etc/conf.d/net.

My home wireless network is a Linksys WRT54G version 3 hardware, with slightly 
outdated software (by 1 or 2 releases).
SSID is visible. It seems to find it, but then loses it pretty quickly and I 
have to restart wlan0 before I can try again.
Works fine when using a static WEP configuration though (e.g. no WPA 
Supplicant/WiCD/etc.).

Not sure what to look at next, but this is going to drive me a bit crazy.

Ben





Re: [gentoo-user] Wireless...

2009-12-03 Thread Mike Edenfield

On 12/2/2009 9:17 PM, BRM wrote:

I have wireless working (b43legacy driver for the Dell Wireless Broadcom) 
through a static configuration in /etc/conf.d/net - basically:

essid_wlan0=myWLAN
key_MYWLAN=somekey
config_MYWLAN=( dhcp )
preferred_APS= ( myWLAN )

I would like to use a tool like WPA Supplicant instead so I can have a more 
dynamic configuration.
I've tried to setup WPA supplicant but haven't been able to get it to work.


Probably not what you wanted to hear, but I had the exact 
same problem with the Dell bcm-based adapter in my Inspiron 
laptop.  It would work fine for open wireless and 
WEP-secured wireless, but wouldn't associated with a 
WPA-secured access point.


Eventually I spent about $30 to purchase an iwl3945 
replacement from Dell, which worked fine, and never looked back.


--Mike



Re: [gentoo-user] Wireless...

2009-12-03 Thread BRM
- Original Message 

From: Mike Edenfield kut...@kutulu.org
  On 12/2/2009 9:17 PM, BRM wrote:
  I have wireless working (b43legacy driver for the Dell Wireless Broadcom) 
  through a static configuration in /etc/conf.d/net - basically:
  essid_wlan0=myWLAN
  key_MYWLAN=somekey
  config_MYWLAN=( dhcp )
  preferred_APS= ( myWLAN )
  I would like to use a tool like WPA Supplicant instead so I can have a more 
  dynamic configuration.
  I've tried to setup WPA supplicant but haven't been able to get it to work.
 Probably not what you wanted to hear, but I had the exact same problem with 
 the Dell bcm-based adapter in my Inspiron laptop.
 It would work fine for open wireless and WEP-secured wireless, but wouldn't 
 associated with a WPA-secured access point.
 Eventually I spent about $30 to purchase an iwl3945 replacement from Dell, 
 which worked fine, and never looked back.

Thanks for the heads up.
At this point, I'll be happy if I can just get WEP working using WPA 
Supplicant/WiCD/etc. instead of a root user centric configuration file.

Ben




Re: [gentoo-user] Wireless...

2009-12-02 Thread Zeerak Waseem

This is my etc/conf.d/net file:

modules=( wpa_supplicant )
wpa_supplicant_wlan0=-Dwext
preferred_aps=(ESSID1 ESSID2)
essid_wlan0=any

All specific stuff is in /wpa_supplicant/supplicant.conf

Zeerak

On Thu, 03 Dec 2009 03:17:15 +0100, BRM bm_witn...@yahoo.com wrote:

I have wireless working (b43legacy driver for the Dell Wireless  
Broadcom) through a static configuration in /etc/conf.d/net - basically:


essid_wlan0=myWLAN
key_MYWLAN=somekey
config_MYWLAN=( dhcp )
preferred_APS= ( myWLAN )

I would like to use a tool like WPA Supplicant instead so I can have a  
more dynamic configuration.
I've tried to setup WPA supplicant but haven't been able to get it to  
work.


My last attempt was with:

modules=( wpa_supplicant )
wpa_supplicant_wlan0=-Dwext
wpa_timeout_wlan0=15

I also tried the iwconfig setup:

modules=( iwconfig )
iwconfig_wlan0=mode managed
wpa_timeout_wlan0=15

Both these were based on configurations I found while researching gentoo  
wireless configurations:


http://en.gentoo-wiki.com/wiki/Wireless_Networking

the wpa_supplicant man page possibly suggests uses -Dbroadcom, but the  
following supports -Dwext since I have the b43legacy driver working  
(firmware extracted using b43-fwcutter a while back; dmesg reports  
version 0x127).


http://linuxwireless.org/en/users/Drivers/b43

I have both the iwconfig utilities and wpa supplicant installed. When I  
used wpa supplicant with either configuration it would just keep  
searching.


Now, my wireless configuration is currently WEP; and I'd like to upgrade  
to WPA/WPA2 once I can get a wireless tool on the system as well.


Is there anything I'm doing wrong with the configuration above?

Also - what is the correct GUI for configuring connections under KDE4? I  
know of the WPA Supplicant GUI; and the GNOME GUI; but would like  
something under more directly KDE4.


KNemo just puts up monitors that are pretty useless (though look pretty).

TIA,

Ben

P.S. It seems my Linksys WRT54G v3 needs a firmware update for WPA2. So  
right now, I'd just like to be able to configure dynamically for my WEP  
network; then I'll focus on going to WPA/WPA2.






--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



Re: [gentoo-user] Wireless...

2009-12-02 Thread Crístian Viana
KDE 4 doesn't have an official network manager yet. you can use
net-misc/wicd, it works nice.

On Thu, Dec 3, 2009 at 2:17 AM, BRM bm_witn...@yahoo.com wrote:

 I have wireless working (b43legacy driver for the Dell Wireless Broadcom)
 through a static configuration in /etc/conf.d/net - basically:

 essid_wlan0=myWLAN
 key_MYWLAN=somekey
 config_MYWLAN=( dhcp )
 preferred_APS= ( myWLAN )

 I would like to use a tool like WPA Supplicant instead so I can have a more
 dynamic configuration.
 I've tried to setup WPA supplicant but haven't been able to get it to work.

 My last attempt was with:

 modules=( wpa_supplicant )
 wpa_supplicant_wlan0=-Dwext
 wpa_timeout_wlan0=15

 I also tried the iwconfig setup:

 modules=( iwconfig )
 iwconfig_wlan0=mode managed
 wpa_timeout_wlan0=15

 Both these were based on configurations I found while researching gentoo
 wireless configurations:

 http://en.gentoo-wiki.com/wiki/Wireless_Networking

 the wpa_supplicant man page possibly suggests uses -Dbroadcom, but the
 following supports -Dwext since I have the b43legacy driver working
 (firmware extracted using b43-fwcutter a while back; dmesg reports version
 0x127).

 http://linuxwireless.org/en/users/Drivers/b43

 I have both the iwconfig utilities and wpa supplicant installed. When I
 used wpa supplicant with either configuration it would just keep searching.

 Now, my wireless configuration is currently WEP; and I'd like to upgrade to
 WPA/WPA2 once I can get a wireless tool on the system as well.

 Is there anything I'm doing wrong with the configuration above?

 Also - what is the correct GUI for configuring connections under KDE4? I
 know of the WPA Supplicant GUI; and the GNOME GUI; but would like something
 under more directly KDE4.

 KNemo just puts up monitors that are pretty useless (though look pretty).

 TIA,

 Ben

 P.S. It seems my Linksys WRT54G v3 needs a firmware update for WPA2. So
 right now, I'd just like to be able to configure dynamically for my WEP
 network; then I'll focus on going to WPA/WPA2.





-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil


Re: [gentoo-user] wireless does not work on thinkpad t61

2009-09-11 Thread Albert Hopkins
On Fri, 2009-09-11 at 20:20 +0800, Xi Shen wrote:
 my laptop is thinkpad t61, and wireless card is intel pro/wireless
 3945abg (according to the lspci output). i have configured my kernel
 as instructed by the handbook, and after compiling and reboot, i can
 see my wlan interface by iwconfig -a, and i modprobe iwl3945. but when
 i try iwspy wlan0, it says 'interface doesnot support wireless
 statistic collection'. and led on my laptop is off, and i cannot get
 it on.


If you check your dmesg output you'll probably find an error message
about the driver not being able to locate the firmware.

# emerge net-wireless/iwl3945-ucode




Re: [gentoo-user] wireless does not work on thinkpad t61

2009-09-11 Thread Xi Shen
i solved it. thanks ;)


On Fri, Sep 11, 2009 at 8:42 PM, Albert Hopkins mar...@letterboxes.org wrote:
 On Fri, 2009-09-11 at 20:20 +0800, Xi Shen wrote:
 my laptop is thinkpad t61, and wireless card is intel pro/wireless
 3945abg (according to the lspci output). i have configured my kernel
 as instructed by the handbook, and after compiling and reboot, i can
 see my wlan interface by iwconfig -a, and i modprobe iwl3945. but when
 i try iwspy wlan0, it says 'interface doesnot support wireless
 statistic collection'. and led on my laptop is off, and i cannot get
 it on.


 If you check your dmesg output you'll probably find an error message
 about the driver not being able to locate the firmware.

 # emerge net-wireless/iwl3945-ucode






-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user] Wireless not working anymore

2009-06-30 Thread Stroller


On 29 Jun 2009, at 20:44, Neil Bothwick wrote:

On Mon, 29 Jun 2009 19:03:32 +0400, Vasya Volkov wrote:


After read this thread I don't understand how to start net.wlan0 with
firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
script which manual configure device but this is not the solution...


emerge -C net-wireless/iwl3945-ucode:0
emerge -av net-wireless/iwl3945-ucode:1


Although I don't have any answers to Vasya's question, clearly I am  
interpreting the word start differently to everyone else who is  
responding.


Stroller.



Re: [gentoo-user] Wireless not working anymore

2009-06-30 Thread Neil Bothwick
On Tue, 30 Jun 2009 09:24:10 +0100, Stroller wrote:

  After read this thread I don't understand how to start net.wlan0 with
  firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
  script which manual configure device but this is not the
  solution...  
 
  emerge -C net-wireless/iwl3945-ucode:0
  emerge -av net-wireless/iwl3945-ucode:1  
 
 Although I don't have any answers to Vasya's question, clearly I am  
 interpreting the word start differently to everyone else who is  
 responding.

wlan0 is refusing to start because the kernel is trying to load the
wrong firmware. By uninstalling the incompatible firmware and replacing
it with the correct one, wlan0 should just work.


-- 
Neil Bothwick

I understand the answers, the questions throw me.


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Alan McKinnon
On Monday 29 June 2009 11:29:22 Marco wrote:
 Hi all,

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

 In the boot messagesI have:
 [...]
  * Starting wlan0
 SIOCSIFFLAGS: No such file or directory
 SIOCSIFFLAGS: No such file or directory
  *   Starting wpa_supplicant on wlan0 ...
 SIOCSIFFLAGS: No such file or directory
 SIOCSIFFLAGS: No such file or directory
 Could not set interface 'wlan0' UP
 [ ok ] *   Starting wpa_cli on wlan0 ...
 [ ok ] * Backgrounding ...
 [...]

 And dmesg shows:
 [...]
 iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
 iwl3945 :03:00.0: restoring config space at offset 0x1 (was
 0x100102, writing 0x100106)
 firmware: requesting iwlwifi-3945-1.ucode
 iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
 iwl3945: Could not read microcode: -2

Did you install the microcode?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
В Пнд, 29/06/2009 в 11:30 +0200, Alan McKinnon пишет:
 On Monday 29 June 2009 11:29:22 Marco wrote:
  Hi all,
 
  after some updating (emerge --sync and emerge --update --deep world,
  etc.) my wirelss card does not work anymore.
 
  In the boot messagesI have:
  [...]
   * Starting wlan0
  SIOCSIFFLAGS: No such file or directory
  SIOCSIFFLAGS: No such file or directory
   *   Starting wpa_supplicant on wlan0 ...
  SIOCSIFFLAGS: No such file or directory
  SIOCSIFFLAGS: No such file or directory
  Could not set interface 'wlan0' UP
  [ ok ] *   Starting wpa_cli on wlan0 ...
  [ ok ] * Backgrounding ...
  [...]
 
  And dmesg shows:
  [...]
  iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
  iwl3945 :03:00.0: restoring config space at offset 0x1 (was
  0x100102, writing 0x100106)
  firmware: requesting iwlwifi-3945-1.ucode
  iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
  iwl3945: Could not read microcode: -2
 
 Did you install the microcode?
 
 
Same problem after install microcode.




Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
On Mon, Jun 29, 2009 at 11:30 AM, Alan McKinnonalan.mckin...@gmail.com wrote:
 On Monday 29 June 2009 11:29:22 Marco wrote:
 Hi all,

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

 In the boot messagesI have:
 [...]
  * Starting wlan0
 SIOCSIFFLAGS: No such file or directory
 SIOCSIFFLAGS: No such file or directory
  *   Starting wpa_supplicant on wlan0 ...
 SIOCSIFFLAGS: No such file or directory
 SIOCSIFFLAGS: No such file or directory
 Could not set interface 'wlan0' UP
 [ ok ] *   Starting wpa_cli on wlan0 ...
 [ ok ] *     Backgrounding ...
 [...]

 And dmesg shows:
 [...]
 iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
 iwl3945 :03:00.0: restoring config space at offset 0x1 (was
 0x100102, writing 0x100106)
 firmware: requesting iwlwifi-3945-1.ucode
 iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
 iwl3945: Could not read microcode: -2

 Did you install the microcode?

emerge -pv net-wireless/iwl3945-ucode

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/iwl3945-ucode-15.32.2.9  66 kB

Total: 1 package (1 reinstall), Size of downloads: 66 kB

Yes, it seems to be installed.

--
Regards,
 Marco



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Neil Bothwick
On Mon, 29 Jun 2009 11:29:22 +0200, Marco wrote:

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

What did you update? Telling us you updated wporld means nothing, it just
tells us that one of the unknown packages you updated may have broken
something. Use genlop or qlop to produce a list of the exact packages
installed.

 iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
 iwl3945: Could not read microcode: -2
[snip]
 Some research on 'SIOCSIFFLAGS: No such file or directory' showed that
 this is often caused by missing firmware for the wireless card. But
 net-wireless/iwl3945-ucode is installed on my system.

You may have it installed, but it is either in the wrong place or an
incompatible version as the kernel cannot load it.


-- 
Neil Bothwick

Access denied--nah nah na nah nah!


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
On Mon, Jun 29, 2009 at 11:44 AM, Neil Bothwickn...@digimed.co.uk wrote:
 On Mon, 29 Jun 2009 11:29:22 +0200, Marco wrote:

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

 What did you update? Telling us you updated wporld means nothing, it just
 tells us that one of the unknown packages you updated may have broken
 something. Use genlop or qlop to produce a list of the exact packages
 installed.

I installed a file containing the output of 'qlop -l'

 iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
 iwl3945: Could not read microcode: -2
 [snip]
 Some research on 'SIOCSIFFLAGS: No such file or directory' showed that
 this is often caused by missing firmware for the wireless card. But
 net-wireless/iwl3945-ucode is installed on my system.

 You may have it installed, but it is either in the wrong place or an
 incompatible version as the kernel cannot load it.

How can I find out about that? Where should it be located?

--
Regards,
 Marco


qlop.list
Description: Binary data


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
On Mon, Jun 29, 2009 at 11:57 AM, Marcolistwo...@gmail.com wrote:
 On Mon, Jun 29, 2009 at 11:44 AM, Neil Bothwickn...@digimed.co.uk wrote:
 On Mon, 29 Jun 2009 11:29:22 +0200, Marco wrote:

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

 What did you update? Telling us you updated wporld means nothing, it just
 tells us that one of the unknown packages you updated may have broken
 something. Use genlop or qlop to produce a list of the exact packages
 installed.

 I installed a file containing the output of 'qlop -l'
^^
attached I mean...



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Neil Bothwick
On Mon, 29 Jun 2009 11:57:41 +0200, Marco wrote:

 
  What did you update? Telling us you updated wporld means nothing, it
  just tells us that one of the unknown packages you updated may have
  broken something. Use genlop or qlop to produce a list of the exact
  packages installed.  
 
 I installed a file containing the output of 'qlop -l'

But you haven't told us when the problem started, so which of those
packages are relevant?

It looks like you installed a new microcode package two days ago, that
may be incompatible with your card. Have you tried rolling back to the
previous version?

  You may have it installed, but it is either in the wrong place or an
  incompatible version as the kernel cannot load it.  
 
 How can I find out about that? Where should it be located?

qlist will show where is is installed, /lib/firmware is the standard
location.


-- 
Neil Bothwick

Being defeated is a temporary condition. Giving up is what makes it
permanent


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Stroller


On 29 Jun 2009, at 10:39, Marco wrote:

On Mon, Jun 29, 2009 at 11:30 AM, Alan McKinnonalan.mckin...@gmail.com 
 wrote:

On Monday 29 June 2009 11:29:22 Marco wrote:

Hi all,

after some updating (emerge --sync and emerge --update --deep world,
etc.) my wirelss card does not work anymore.

In the boot messagesI have:
[...]
 * Starting wlan0
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
 *   Starting wpa_supplicant on wlan0 ...
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
Could not set interface 'wlan0' UP
[ ok ] *   Starting wpa_cli on wlan0 ...
[ ok ] * Backgrounding ...
[...]

And dmesg shows:
[...]
iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
iwl3945 :03:00.0: restoring config space at offset 0x1 (was
0x100102, writing 0x100106)
firmware: requesting iwlwifi-3945-1.ucode
iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
iwl3945: Could not read microcode: -2


Did you install the microcode?


emerge -pv net-wireless/iwl3945-ucode

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/iwl3945-ucode-15.32.2.9  66 kB

Total: 1 package (1 reinstall), Size of downloads: 66 kB

Yes, it seems to be installed.



You may need to REinstall it.

I would guess the installer might put the firmware in /lib/modules/ 
`uname -r`/something


If you change the kernel version, the `uname -r` path changes.

Stroller.




Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
On Mon, Jun 29, 2009 at 12:09 PM, Neil Bothwickn...@digimed.co.uk wrote:
 On Mon, 29 Jun 2009 11:57:41 +0200, Marco wrote:

[...]

 It looks like you installed a new microcode package two days ago, that
 may be incompatible with your card. Have you tried rolling back to the
 previous version?

I just rolled back to iwl3945-ucode-15.28.1.6. Wireless is working again.

Is the fact that the new version 15.32.2.9 does not work anymore
something I should report in the bug database?

  You may have it installed, but it is either in the wrong place or an
  incompatible version as the kernel cannot load it.

 How can I find out about that? Where should it be located?

 qlist will show where is is installed, /lib/firmware is the standard
 location.

There it is!

Thanks for your support!

--
Regards,
 Marco



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Sebastian Günther
Am Mon, 29 Jun 2009 12:29:53 +0200
schrieb Marco listwo...@gmail.com:

 On Mon, Jun 29, 2009 at 12:09 PM, Neil Bothwickn...@digimed.co.uk
 wrote:
  On Mon, 29 Jun 2009 11:57:41 +0200, Marco wrote:
 
 [...]
 
  It looks like you installed a new microcode package two days ago,
  that may be incompatible with your card. Have you tried rolling
  back to the previous version?
 
 I just rolled back to iwl3945-ucode-15.28.1.6. Wireless is working
 again.
 
 Is the fact that the new version 15.32.2.9 does not work anymore
 something I should report in the bug database?
 

No, there are slotted versions of it. On purpose...

This is because of changes in kernel. I do not remember which version
of the Kernel required the new firmware. But it was definitely stated in
the elog of iwl3945-ucode, that there are compatibility issues with
some kernel versions.

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
After read this thread I don't understand how to start net.wlan0 with
firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
script which manual configure device but this is not the solution...





Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Fabio Palladino
 Read this warning:

 *
 * Due to ucode API change this version of ucode works only with kernels
 * =2.6.29-rc1. If you have to use older kernels please install ucode
 * with older API:
 * emerge net-wireless/iwl3945-ucode:0
 * For more information take a look at bugs.gentoo.org/246045
 *



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Alejandro
2009/6/29 Fabio Palladino palladino.fa...@gmail.com

  Read this warning:

  *
  * Due to ucode API change this version of ucode works only with kernels
  * =2.6.29-rc1. If you have to use older kernels please install ucode
  * with older API:
  * emerge net-wireless/iwl3945-ucode:0
  * For more information take a look at bugs.gentoo.org/246045
  *


That seams clear dont't instal the latest ucode if you are not running the
latest stable gentoo kernel. Sounds good. Did you only update ucode, but not
the kernel? Time to do it.
  I have the same chip in my notebook, never a problem with this.

Cheers!


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
В Пнд, 29/06/2009 в 14:15 -0300, Alejandro пишет:
 
 
 2009/6/29 Fabio Palladino palladino.fa...@gmail.com
  Read this warning:
 
  *
  * Due to ucode API change this version of ucode works only
 with kernels
  * =2.6.29-rc1. If you have to use older kernels please
 install ucode
  * with older API:
  * emerge net-wireless/iwl3945-ucode:0
  * For more information take a look at bugs.gentoo.org/246045
  *
 
 
 That seams clear dont't instal the latest ucode if you are not running
 the latest stable gentoo kernel. Sounds good. Did you only update
 ucode, but not the kernel? Time to do it.
   I have the same chip in my notebook, never a problem with this.
 
 Cheers!
After reading this thread I don't understand how to start net.wlan0 with
firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
script which manual configure device but this is not the solution...
-- 
Vasya Volkov




  1   2   3   >