John W. Linville | 30 Jan 21:39
Favicon

New list for wireless dev discussions

At the wireless summit in London, we collectively decided to move
day-to-day wireless development discussions to our own list.  I am
hosting a list for this purpose:

	http://lists.tuxdriver.org/mailman/listinfo/wireless

If you are interested in Linux wireless development, please subscribe
to the list.

Thanks,

John
--

-- 
John W. Linville
linville at tuxdriver.com

Jon Smirl | 30 Jan 23:15
Picon

Getting dscape running

I'd like to get a basic connection working on my system so that I can
check out the dscape stack and do some work on it. I am targeting an
embedded system using USB dongles but right now I am working on my
desktop. Hopefully this new list can provide the guidance that I need.

I have NetworkManager from CVS and the current version of
wpa_supplicant running. Hardware is a rt2570 dongle using the dscape
stack. OS is Ubuntu.

When I use NetworkManager to switch to the wireless device it fails.
It says the access point is unencrypted when it is running actually
WEP. The problem is probably caused by the NULL gobject reference.
What's causing this?

NetworkManager: <info>  Activation (wlan0) started...
NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device
Prepare) scheduled...
NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device
Prepare) started...
NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device
Configure) scheduled...
NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device
Prepare) complete.
NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device
Configure) starting...
NetworkManager: <info>  Activation (wlan0/wireless): access point
'Smirl' is unencrypted, no key needed.

(NetworkManager:22478): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(Continue reading)

Pavel Roskin | 30 Jan 23:24
Picon

Getting dscape running

Hello, Jon!

On Tue, 2007-01-30 at 17:15 -0500, Jon Smirl wrote:
> I'd like to get a basic connection working on my system so that I can
> check out the dscape stack and do some work on it. I am targeting an
> embedded system using USB dongles but right now I am working on my
> desktop. Hopefully this new list can provide the guidance that I need.
> 
> I have NetworkManager from CVS and the current version of
> wpa_supplicant running. Hardware is a rt2570 dongle using the dscape
> stack. OS is Ubuntu.
> 
> When I use NetworkManager to switch to the wireless device it fails.
> It says the access point is unencrypted when it is running actually
> WEP. The problem is probably caused by the NULL gobject reference.
> What's causing this?

The mailing list for NetworkManager is networkmanager-list at gnome.org,
the website is http://www.gnome.org/projects/NetworkManager/

I believe this list is about the kernel part of wireless support.  If
you track the issue to the kernel, then please post here.  Don't forget
the kernel messages and more details about the kernel.

If you want a basic connection with WEP, you can try to use iwconfig.
Please make sure to set the channel, the AP (BSSID) and the ESSID.

You can also run wpa_supplicant from the command line.  wpa_supplicant
would find the AP for you.

(Continue reading)

Mark Wallis | 30 Jan 23:24

Getting dscape running

Hi Jon,

> I have NetworkManager from CVS and the current version of
> wpa_supplicant running. Hardware is a rt2570 dongle using the dscape
> stack. OS is Ubuntu.

Have you confirmed you are able to connect using iwconfig manually instead 
of Network Manager ? Are you able to get associated ? 

I assume you are using the rt2500usb.ko driver, but can you confirm 
you are using a recent CVS tarball ?

Regards,
Mark Wallis
rt2x00 Project Admin
mwallis at serialmonkey.com

Jon Smirl | 30 Jan 23:41
Picon

Getting dscape running

On 1/30/07, Mark Wallis <mwallis at serialmonkey.com> wrote:
> Hi Jon,
>
> > I have NetworkManager from CVS and the current version of
> > wpa_supplicant running. Hardware is a rt2570 dongle using the dscape
> > stack. OS is Ubuntu.
>
> Have you confirmed you are able to connect using iwconfig manually instead
> of Network Manager ? Are you able to get associated ?

check out my other post
>
> I assume you are using the rt2500usb.ko driver, but can you confirm
> you are using a recent CVS tarball ?

I'm using rt2500usb from the wireless-dev tree.
I'll pull from CVS and try your most recent code.

This is part of what makes working on wireless hard, the pieces are
scattered everywhere.

>
>
> Regards,
> Mark Wallis
> rt2x00 Project Admin
> mwallis at serialmonkey.com
>
>
>
(Continue reading)

Pavel Roskin | 30 Jan 23:54
Picon

Getting dscape running

On Tue, 2007-01-30 at 17:36 -0500, Jon Smirl wrote:
> Here's the same rt2570 device using the ifconfig commands. I was
> trying to get NetworkManager running on it in case it was doing
> something that I wasn't doing manually. Some is not quite right with
> the WEP exchange.
> 
> jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ iwconfig
> lo        no wireless extensions.
> 
> eth0      no wireless extensions.
> 
> wmaster0  IEEE 802.11g  Frequency:2.412 GHz
>           RTS thr:off   Fragment thr=2346 B
> 
> wlan0     IEEE 802.11g  ESSID:""
>           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
>           RTS thr:off   Fragment thr=2346 B
>           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
> 
> jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo iwconfig wlan0 channel 1
> jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo iwconfig wlan0
> key F491B8B905
> jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo iwconfig wlan0
> essid Smirl
> jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo iwconfig wlan0
> ap 00:11:95:18:15:31

It would be interesting to look at the iwconfig output at this point.
(Continue reading)

Mark Wallis | 31 Jan 00:01

Getting dscape running

> check out my other post

It would be helpful if you could provide a debug trace as well.

> This is part of what makes working on wireless hard, the pieces are
> scattered everywhere.

Probably best to move this discussion to rt2400-devel and let us check
if the problem still exists in our latest CVS. From there, if assoc
is working fine you can bounce over to the NetworkManager list and go
from there.

Regards,
Mark Wallis
rt2x00 Project Admin
mwallis at serialmonkey.com

Jon Smirl | 30 Jan 23:36
Picon

Getting dscape running

Here's the same rt2570 device using the ifconfig commands. I was
trying to get NetworkManager running on it in case it was doing
something that I wasn't doing manually. Some is not quite right with
the WEP exchange.

jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  IEEE 802.11g  Frequency:2.412 GHz
          RTS thr:off   Fragment thr=2346 B

wlan0     IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          RTS thr:off   Fragment thr=2346 B
          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

jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo iwconfig wlan0 channel 1
jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo iwconfig wlan0
key F491B8B905
jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo iwconfig wlan0
essid Smirl
jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo iwconfig wlan0
ap 00:11:95:18:15:31
jonsmirl at jonsmirl:/extra/wireless-dev/net/d80211$ sudo dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
(Continue reading)

Jon Smirl | 31 Jan 00:48
Picon

Getting dscape running

On 1/30/07, Mark Wallis <mwallis at serialmonkey.com> wrote:
> > check out my other post
>
> It would be helpful if you could provide a debug trace as well.
>
> > This is part of what makes working on wireless hard, the pieces are
> > scattered everywhere.
>
> Probably best to move this discussion to rt2400-devel and let us check
> if the problem still exists in our latest CVS. From there, if assoc
> is working fine you can bounce over to the NetworkManager list and go
> from there.

ralink CVS won't build with the current wireless-dev tree.
It tool a little while to check since I had to rebuild my kernel and
turn debugfs on.
I'll try Pavel's suggestions next.

jonsmirl at jonsmirl:/extra/ralink/rt2x00$ make
  CC [M]  /extra/ralink/rt2x00/ieee80211/ieee80211.o
In file included from /extra/ralink/rt2x00/ieee80211/ieee80211.c:13:
include/linux/netdevice.h:406: error: duplicate member 'ax25_ptr'
/extra/ralink/rt2x00/ieee80211/ieee80211.c: In function 'ieee80211_tx_h_rts':
/extra/ralink/rt2x00/ieee80211/ieee80211.c:858: error:
'IEEE80211_HW_SOFTWARE_RTS' undeclared (first use in this function)
/extra/ralink/rt2x00/ieee80211/ieee80211.c:858: error: (Each
undeclared identifier is reported only once
/extra/ralink/rt2x00/ieee80211/ieee80211.c:858: error: for each
function it appears in.)
/extra/ralink/rt2x00/ieee80211/ieee80211.c: In function
(Continue reading)

Jon Smirl | 31 Jan 01:09
Picon

Getting dscape running

On 1/30/07, Pavel Roskin <proski at gnu.org> wrote:
> > I'm unable to connect to it using WEP. The same device works on the Intel stack.
>
> And how about connections without WEP?
>
> > wmaster0: TX to low-level driver (len=26) FC=0x00a0 DUR=0x013a
> > A1=00:11:95:18:15:31 A2=00:15:e9:2d:76:57 A3=00:11:95:18:15:31
> > wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
>
> My understanding of the code that prints the above is that either the AP
> doesn't support WEP or the client doesn't have WEP enabled.  That can
> include the case when some other encryption algorithm is active.

I think I've located what the problem is. NetworkManager was hanging
around as a deamon and changing my encryption settings improperly
(turning off WEP) probably because of the NULL gobject problem. I
fixed my system to not run NM, rebooted and now I can connect. I'll
just get rid of NM since it is not needed for my application. Turning
off encryption gave me enough clues to blame NM.

>
> Just in case, please make sure your .config enables CONFIG_CRYPTO_ECB
> and CONFIG_CRYPTO_ARC4.
>
> --
> Regards,
> Pavel Roskin
>
>
>
(Continue reading)


Gmane