Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

Netgear MA111 / linux-wlan-ng issues [VERBOSE]

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
cpwp
n00b
n00b
User avatar
Posts: 67
Joined: Wed Aug 28, 2002 8:57 am
Location: Ripley, Derbyshire, UK

Netgear MA111 / linux-wlan-ng issues [VERBOSE]

  • Quote

Post by cpwp » Wed Apr 28, 2004 7:46 pm

Hi All,

I'm having some problems getting my Netgear MA111 USB WLAN adaptor to work. Let's get the basics out of the way first:

Apple Powerbook 12" (Powerbook 6,1)
Kernel 2.6.1-benh1
linux-wlan-ng 0.2.1-pre20

I've entered the following into /etc/modules.d/aliases:

Code: Select all

alias wlan0 prism2_usb
I've configured /etc/conf.d/wlan.conf as such:

Code: Select all

WLAN_DEVICES="wlan0"
ChannelMinTime=200
ChannelMaxTime=250
WLAN_SCAN=n
SSID_wlan0="RLH"
ENABLE_wlan0=y
and /etc/conf.d/wlancfg-RLH like this:

Code: Select all

lnxreq_hostWEPEncrypt=true
lnxreq_hostWEPDecrypt=true
dot11PrivacyInvoked=true
dot11WEPDefaultKeyID=0
dot11ExcludeUnencrypted=true

PRIV_GENERATOR=/sbin/keygen
PRIV_KEY128=false
PRIV_GENSTR=""

dot11WEPDefaultKey0=<wep key here>

IS_ADHOC=n

AuthType=sharedkey

BCNINT=100
CHANNEL=6
BASICRATES="2 4"
OPRATES="2 4 11 22"
Both these files look okay to me. After this, I found the linux-wlan-ng documentation to be a bit sketchy, so I tried a number of things.
First, I copied the wlan.agent file supplied with linux-wlan-ng to my /etc/hotplug directory and made sure hotplug is in the default runlevel.

When I executed /etc/init.d/wlan start, I get some strange output:

Code: Select all

* Starting WLAN devices...
FATAL: Module prism2_usb already in kernel.
message=lnxreq_ifstate
  ifstate=fwload
  resultcode=success
Reading S-record file /etc/wlan//prism2_ru.hex...
prism2dl: No such file or directory
prism2dl: Failed to read /etc/wlan//prism2_ru.hex, exiting.
The output from iwconfig wlan0 shows that the interface is up:

Code: Select all

wlan0    IEEE 802.11-DS    ESSID:"RLH"    Nickname:"RLH"
         Mode:Auto    Frequency:2.467Ghz    Access Point: 00:00:00:00:00:00
         Bit Rate:2Mb/s    Tx-Power:2346 dBm
         Retry min limit:8    RTS thr:off    Fragment thr:off
         Encryption key:off
         Link Quality:0/92    Signal level:32/154    Noise level:11/154
         Rx invalid nwid:0    Rx invalid crypt:0    Rx invalid frag:0
         Tx excessive retries:0    Invalid misc:0    Missed beacon:0
2346 dBm !!?? I think that might exceed 802.11 specifications ;-)

But /var/log/messages looks rather more ill:

Code: Select all

Apr 28 20:22:54 snapper ident: nic h/w: id=0x8026 1.0.0
Apr 28 20:22:54 snapper ident: pri f/w: id=0x15 1.1.3
Apr 28 20:22:54 snapper ident: sta f/w: id=0x1f 1.7.0
Apr 28 20:22:54 snapper MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
Apr 28 20:22:54 snapper CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
Apr 28 20:22:54 snapper PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
Apr 28 20:22:54 snapper STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
Apr 28 20:22:54 snapper PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Apr 28 20:22:54 snapper STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Apr 28 20:22:54 snapper STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Apr 28 20:22:54 snapper Prism2 card SN: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
And any requests made by iwconfig resultin failure. For example, iwconfig wlan0 mode monitor gives:

Code: Select all

Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported.
The problem looks to me to be firmware based, although whether reading or writing, I'm not sure. Can anyone point me in the right direction?

Apologies, I am in 'verbose mode' tonight... ;-)

cpwp
Top
cartpullerjack
Apprentice
Apprentice
Posts: 185
Joined: Sun Nov 16, 2003 5:19 am

  • Quote

Post by cartpullerjack » Sat Jan 15, 2005 11:39 pm

did you ever get this working?
Top
neon
l33t
l33t
User avatar
Posts: 759
Joined: Mon Aug 04, 2003 11:47 am
Location: Catania, Italy, Europe

  • Quote

Post by neon » Sun Jan 16, 2005 12:30 pm

wlan-ng README wrote:Configuring:

NOTE: linux-wlan-ng does not fully implement the wireless extensions
interface. This means that you can't use iwconfig and its kin to
set things up. Instead, read on!
You have to use wlanctl-ng to configure that chipset, not iwconfig. For example:

Code: Select all

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=home authtype=opensystem
To bring up the interface and join ssid "home"

Or:

Code: Select all

wlanctl-ng wlan0 lnxreq_wlansniff enable=true channel=4
To enable packet sniffing on channel 4.
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Top
cartpullerjack
Apprentice
Apprentice
Posts: 185
Joined: Sun Nov 16, 2003 5:19 am

  • Quote

Post by cartpullerjack » Sun Jan 16, 2005 5:15 pm

yeah, i've gotten that far. i'm mostly wondering about WEP.

it seems no matter what I do, wep craps out on me.
Top
neon
l33t
l33t
User avatar
Posts: 759
Joined: Mon Aug 04, 2003 11:47 am
Location: Catania, Italy, Europe

  • Quote

Post by neon » Sun Jan 16, 2005 7:06 pm

cartpullerjack wrote:yeah, i've gotten that far. i'm mostly wondering about WEP.

it seems no matter what I do, wep craps out on me.
That's what i use for my wlan:

Code: Select all

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=we:pk:ey:he:re
wlanctl-ng wlan0 lnxreq_autojoin ssid=home authtype=opensystem
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Top
cartpullerjack
Apprentice
Apprentice
Posts: 185
Joined: Sun Nov 16, 2003 5:19 am

  • Quote

Post by cartpullerjack » Tue Jan 18, 2005 5:52 am

Awesome, it worked. Now, how about 128 bit encryption?

Or even better yet, somewhere that they list all of the mib attributes.
Top
neon
l33t
l33t
User avatar
Posts: 759
Joined: Mon Aug 04, 2003 11:47 am
Location: Catania, Italy, Europe

  • Quote

Post by neon » Tue Jan 18, 2005 1:08 pm

Code: Select all

wlanctl-ng: - control utility for 802.11 devices
  usage: wlanctl-ng interface|version|commands|mibs cmd cmdarg [cmdarg...]

         where "interface" is the name of a wireless
         network interface.  Running 'ifconfig' will list
         all network interfaces.

--->     For a list of available commands, run 'wlanctl-ng commands'

--->     For a list of available mib items, run 'wlanctl-ng mibs'
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Top
Post Reply

7 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic