Banging my head accessing my wifi

View: New views
10 Messages — Rating Filter:   Alert me  

Banging my head accessing my wifi

by malat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

  I am trying -yet again- to access wifi from my debian/stable box. I
gave up on using NetworkManager  since it does not even scan or list
available networks.

  I added the following line to  /etc/network/interfaces:

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

+ iface wlan0 inet dhcp
+        wpa-ssid NEUF_XXXX
+        wpa-psk thepassword

Which should be started using:

$ sudo ifup wlan0
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:21:5c:a0:55:17
Sending on   LPF/wlan0/00:21:5c:a0:55:17
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Here is part of dmesg:

[   28.308932] lo: Disabled Privacy Extensions
[   31.768007] eth0: no IPv6 routers present
[   32.017203] iwlagn 0000:0c:00.0: firmware: requesting iwlwifi-4965-2.ucode
[   32.056427] iwlagn 0000:0c:00.0: loaded firmware version 228.57.2.23
[   32.056564] iwlagn 0000:0c:00.0: Radio disabled by HW RF Kill switch
[   32.069235] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  170.001038] CE: hpet increasing min_delta_ns to 15000 nsec
[ 1962.649644] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 2284.348142] tg3 0000:09:00.0: PME# enabled
[ 2315.633884] iwlagn 0000:0c:00.0: Radio disabled by HW RF Kill switch
[ 2315.652621] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2399.634986] tg3 0000:09:00.0: PME# disabled
[ 2399.652239] tg3 0000:09:00.0: irq 30 for MSI/MSI-X
[ 2399.711970] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2401.311916] tg3: eth0: Link is up at 100 Mbps, full duplex.
[ 2401.311919] tg3: eth0: Flow control is on for TX and on for RX.
[ 2401.312114] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 2411.652288] eth0: no IPv6 routers present


I am using a default debian installation with GNOME, what tool can use
to actually get anywhere (at least get informative debug info).

Thanks,
--
Mathieu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Banging my head accessing my wifi

by Tim Tebbit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mathieu Malaterre wrote:
> Here is part of dmesg:

> [   32.017203] iwlagn 0000:0c:00.0: firmware: requesting iwlwifi-4965-2.ucode
> [   32.056427] iwlagn 0000:0c:00.0: loaded firmware version 228.57.2.23
> [   32.056564] iwlagn 0000:0c:00.0: Radio disabled by HW RF Kill switch

Does this mean the radio switch is in the "off" position? ^^^^^^^^^^^^^^


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Banging my head accessing my wifi

by malat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Nov 4, 2009 at 11:52 PM, Tim Tebbit <ttebbit@...> wrote:
> Mathieu Malaterre wrote:
>> Here is part of dmesg:
>
>> [   32.017203] iwlagn 0000:0c:00.0: firmware: requesting iwlwifi-4965-2.ucode
>> [   32.056427] iwlagn 0000:0c:00.0: loaded firmware version 228.57.2.23
>> [   32.056564] iwlagn 0000:0c:00.0: Radio disabled by HW RF Kill switch
>
> Does this mean the radio switch is in the "off" position? ^^^^^^^^^^^^^^

I do not understand what you mean. How do I turn this thing on ?

Thx
--
Mathieu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


RE: Banging my head accessing my wifi

by Kevin Ross-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: Mathieu Malaterre [mailto:mathieu.malaterre@...]
> Sent: Wednesday, November 04, 2009 3:07 PM
>
> On Wed, Nov 4, 2009 at 11:52 PM, Tim Tebbit <ttebbit@...> wrote:
> > Mathieu Malaterre wrote:
> >> Here is part of dmesg:
> >
> >> [   32.017203] iwlagn 0000:0c:00.0: firmware: requesting iwlwifi-
> 4965-2.ucode
> >> [   32.056427] iwlagn 0000:0c:00.0: loaded firmware version
> 228.57.2.23
> >> [   32.056564] iwlagn 0000:0c:00.0: Radio disabled by HW RF Kill
> switch
> >
> > Does this mean the radio switch is in the "off" position?
> ^^^^^^^^^^^^^^
>
> I do not understand what you mean. How do I turn this thing on ?

You don't say what kind of computer you have, but many laptops have an
actual switch on the edge of the computer that is used to turn on/off wifi
and Bluetooth.  I know my Thinkpad does.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Banging my head accessing my wifi

by Tim Tebbit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mathieu Malaterre wrote:

> On Wed, Nov 4, 2009 at 11:52 PM, Tim Tebbit <ttebbit@...> wrote:
>> Mathieu Malaterre wrote:
>>> Here is part of dmesg:
>>> [   32.017203] iwlagn 0000:0c:00.0: firmware: requesting iwlwifi-4965-2.ucode
>>> [   32.056427] iwlagn 0000:0c:00.0: loaded firmware version 228.57.2.23
>>> [   32.056564] iwlagn 0000:0c:00.0: Radio disabled by HW RF Kill switch
>> Does this mean the radio switch is in the "off" position? ^^^^^^^^^^^^^^
>
> I do not understand what you mean. How do I turn this thing on ?
>
> Thx


It's a physical switch on the laptop. Everyone does it differently. On
my T61 it's on the left front. Somewhat looks like a lid latch release.
On a Toshiba I had it was also on the left front, but much smaller. What
is the make/model of the laptop in question?



--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Banging my head accessing my wifi

by Boyd Stephen Smith Jr.-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 04 November 2009 17:13:51 Kevin Ross wrote:

> > From: Mathieu Malaterre [mailto:mathieu.malaterre@...]
> > Sent: Wednesday, November 04, 2009 3:07 PM
> > On Wed, Nov 4, 2009 at 11:52 PM, Tim Tebbit <ttebbit@...> wrote:
> > > Mathieu Malaterre wrote:
> > >> Here is part of dmesg:
> > >> [   32.056564] iwlagn 0000:0c:00.0: Radio disabled
> > >> by HW RF Kill switch
> > > Does this mean the radio switch is in the "off" position?
> > I do not understand what you mean. How do I turn this thing on ?
> You don't say what kind of computer you have, but many laptops have an
> actual switch on the edge of the computer that is used to turn on/off wifi
> and Bluetooth.  I know my Thinkpad does.
Failing that, my "HW RF Kill switch" on this Inspiron E1505 is Fn+F2; F2 has a
blue picture of a tower with "radio waves" coming out of it.  I think it is
odd that my HW (hardware) switch only works when my computer is on, and
probably involves SMM (system management mode) part of my BIOS software.
--
Boyd Stephen Smith Jr.           ,= ,-_-. =.
bss@...             ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/            \_/



signature.asc (204 bytes) Download Attachment

Re: Banging my head accessing my wifi

by Klistvud :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dne, 04. 11. 2009 23:37:24 je Mathieu Malaterre napisal(a):

The first thing to make sure is that your router's MAC filtering isn't
on (and filtering your WiFi card out). The next thing is to disable all
security settings in yor router and your card (there'll be plenty of
time to set wpa keys later on, if and when you get the thing working).
Then, put the right commands in your e/n/i. Let me give you the
relevant snippet from my e/n/i which WORKS:

<snip>

# This was added by me to override DHCP and set a static IP
allow-hotplug wlan0
iface wlan0 inet static
        address 192.168.2.123
        netmask 255.255.255.0
        gateway 192.168.2.1
        wireless-essid Type_your_ESSID_here

</snip>

Of course, this is a static configuration; if you want DHCP, then you
just leave out *any reference* to your wirelles interface in e/n/i.
That way, NetworkManager will take over and hopefully configure your
wireless on-the-fly.

--
Regards,

Klistvud
Certifiable Loonix User #481801


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Banging my head accessing my wifi

by deloptes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mathieu Malaterre wrote:

> On Wed, Nov 4, 2009 at 11:52 PM, Tim Tebbit <ttebbit@...> wrote:
>> Mathieu Malaterre wrote:
>>> Here is part of dmesg:
>>
>>> [ 32.017203] iwlagn 0000:0c:00.0: firmware: requesting
>>> [ iwlwifi-4965-2.ucode 32.056427] iwlagn 0000:0c:00.0: loaded firmware
>>> [ version 228.57.2.23 32.056564] iwlagn 0000:0c:00.0: Radio disabled by
>>> [ HW RF Kill switch
>>
>> Does this mean the radio switch is in the "off" position? ^^^^^^^^^^^^^^
>
> I do not understand what you mean. How do I turn this thing on ?
>
> Thx

use iwconfig to see what status your card is in

/sbin/iwconfig
lo        no wireless extensions.

eth1      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abg  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=off
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

irda0     no wireless extensions.

 Tx-Power=off means power is disabled (kill switch is off)

you can activate this by the Fn+F<x> combination or hardware switch and with
iwconfig wlan0 txpower 15

regards


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Banging my head accessing my wifi

by malat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Nov 6, 2009 at 7:18 PM, Emanoil Kotsev <deloptes@...> wrote:

> Mathieu Malaterre wrote:
>
>> On Wed, Nov 4, 2009 at 11:52 PM, Tim Tebbit <ttebbit@...> wrote:
>>> Mathieu Malaterre wrote:
>>>> Here is part of dmesg:
>>>
>>>> [ 32.017203] iwlagn 0000:0c:00.0: firmware: requesting
>>>> [ iwlwifi-4965-2.ucode 32.056427] iwlagn 0000:0c:00.0: loaded firmware
>>>> [ version 228.57.2.23 32.056564] iwlagn 0000:0c:00.0: Radio disabled by
>>>> [ HW RF Kill switch
>>>
>>> Does this mean the radio switch is in the "off" position? ^^^^^^^^^^^^^^
>>
>> I do not understand what you mean. How do I turn this thing on ?
>>
>> Thx
>
> use iwconfig to see what status your card is in
>
> /sbin/iwconfig
> lo        no wireless extensions.
>
> eth1      no wireless extensions.
>
> wmaster0  no wireless extensions.
>
> wlan0     IEEE 802.11abg  ESSID:""
>          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
>          Tx-Power=off
>          Retry  long limit:7   RTS thr:off   Fragment thr:off
>          Power Management:off
>          Link Quality:0  Signal level:0  Noise level:0
>          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
> irda0     no wireless extensions.
>
>  Tx-Power=off means power is disabled (kill switch is off)
>
> you can activate this by the Fn+F<x> combination or hardware switch and with
> iwconfig wlan0 txpower 15

$ /sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:""
          Mode:Managed  Frequency:2.417 GHz  Access Point: Not-Associated
          Tx-Power=15 dBm
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

pan0      no wireless extensions.


At least this means the hardware thingy is ON. Now I cannnot switch it
off using the Fn+F<x> comb, I am guessing I am not using the right
keyboard map...




--
Mathieu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Banging my head accessing my wifi

by malat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Nov 8, 2009 at 11:54 AM, Mathieu Malaterre
<mathieu.malaterre@...> wrote:

> On Fri, Nov 6, 2009 at 7:18 PM, Emanoil Kotsev <deloptes@...> wrote:
>> Mathieu Malaterre wrote:
>>
>>> On Wed, Nov 4, 2009 at 11:52 PM, Tim Tebbit <ttebbit@...> wrote:
>>>> Mathieu Malaterre wrote:
>>>>> Here is part of dmesg:
>>>>
>>>>> [ 32.017203] iwlagn 0000:0c:00.0: firmware: requesting
>>>>> [ iwlwifi-4965-2.ucode 32.056427] iwlagn 0000:0c:00.0: loaded firmware
>>>>> [ version 228.57.2.23 32.056564] iwlagn 0000:0c:00.0: Radio disabled by
>>>>> [ HW RF Kill switch
>>>>
>>>> Does this mean the radio switch is in the "off" position? ^^^^^^^^^^^^^^
>>>
>>> I do not understand what you mean. How do I turn this thing on ?
>>>
>>> Thx
>>
>> use iwconfig to see what status your card is in
>>
>> /sbin/iwconfig
>> lo        no wireless extensions.
>>
>> eth1      no wireless extensions.
>>
>> wmaster0  no wireless extensions.
>>
>> wlan0     IEEE 802.11abg  ESSID:""
>>          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
>>          Tx-Power=off
>>          Retry  long limit:7   RTS thr:off   Fragment thr:off
>>          Power Management:off
>>          Link Quality:0  Signal level:0  Noise level:0
>>          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>>          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>>
>> irda0     no wireless extensions.
>>
>>  Tx-Power=off means power is disabled (kill switch is off)
>>
>> you can activate this by the Fn+F<x> combination or hardware switch and with
>> iwconfig wlan0 txpower 15
>
> $ /sbin/iwconfig
> lo        no wireless extensions.
>
> eth0      no wireless extensions.
>
> wmaster0  no wireless extensions.
>
> wlan0     IEEE 802.11abgn  ESSID:""
>          Mode:Managed  Frequency:2.417 GHz  Access Point: Not-Associated
>          Tx-Power=15 dBm
>          Retry min limit:7   RTS thr:off   Fragment thr:off
>          Power Management:off
>          Link Quality:0  Signal level:0  Noise level:0
>          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
> pan0      no wireless extensions.
>
>
> At least this means the hardware thingy is ON. Now I cannnot switch it
> off using the Fn+F<x> comb, I am guessing I am not using the right
> keyboard map...

Long story short, I was trying to access a sfr/neuf box. It comes with
two network: NEUF_wifi & NEUF_XXX
I was able to access the NEUF_wifi (public) without problem, this
means hardware was ok. But then I could not access NEUF_XXX.
On the back of the hardware device the WPA-PSK is written in clear
(don't ask). From the begining I thought I could use that...until I
actually connect to the interface (192.168.1.1) and discover that it
was setup to be WEP (with a substring of the password written on the
back of the hardware).
Changing to WPA-PSK, made everything work as expected.

Sorry for the noise, but I discover hal-info the in the process :)
--
Mathieu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...