LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-21-2004, 04:50 PM   #1
djzanni
Member
 
Registered: Dec 2003
Location: Washington, DC
Distribution: Ubuntu 7.04
Posts: 73

Rep: Reputation: 15
prism2/linux-wlan-ng problems


Welcome to newbie hell.

I'm trying to get a USB wireless adaptor with a prism2 chipset working with my system. I've compiled and installed the kernel and the prism2 modules seem to configure and compile just fine. And
Code:
modprobe prism2_usb
seems to work too. But when I run
Code:
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
I get an error message:
Code:
wlanctl-ng: No such device
... what the hell?

Thanks for any help you can give me. I'd gotten this working on RH9, but now I've switched over to Fedora Core 2 (Kernel 2.6.5) and I can't figure out whether I'm doing something differently than I did last time, or whether FC2 has special needs.

Thanks again.

-Dave Z.
 
Old 06-22-2004, 11:08 AM   #2
djzanni
Member
 
Registered: Dec 2003
Location: Washington, DC
Distribution: Ubuntu 7.04
Posts: 73

Original Poster
Rep: Reputation: 15
more info

So I went back and compiled the wlan stuff again and I noticed these warnings while it was compiling.

Code:
*** Warning: "wlan_unsetup" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_usb.ko] undefined!
*** Warning: "p80211netdev_hwremoved" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_usb.ko] undefined!
*** Warning: "unregister_wlandev" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_usb.ko] undefined!
*** Warning: "register_wlandev" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_usb.ko] undefined!
*** Warning: "wlan_setup" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_usb.ko] undefined!
*** Warning: "p80211netdev_rx" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_usb.ko] undefined!
*** Warning: "wlan_unsetup" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_plx.ko] undefined!
*** Warning: "p80211netdev_hwremoved" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_plx.ko] undefined!
*** Warning: "unregister_wlandev" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_plx.ko] undefined!
*** Warning: "register_wlandev" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_plx.ko] undefined!
*** Warning: "wlan_setup" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_plx.ko] undefined!
*** Warning: "p80211_resume" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_plx.ko] undefined!
*** Warning: "p80211_suspend" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_plx.ko] undefined!
*** Warning: "p80211netdev_rx" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_plx.ko] undefined!
*** Warning: "wlan_unsetup" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_pci.ko] undefined!
*** Warning: "p80211netdev_hwremoved" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_pci.ko] undefined!
*** Warning: "unregister_wlandev" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_pci.ko] undefined!
*** Warning: "register_wlandev" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_pci.ko] undefined!
*** Warning: "wlan_setup" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_pci.ko] undefined!
*** Warning: "p80211_resume" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_pci.ko] undefined!
*** Warning: "p80211_suspend" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_pci.ko] undefined!
*** Warning: "p80211netdev_rx" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_pci.ko] undefined!
*** Warning: "register_wlandev" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_cs.ko] undefined!
*** Warning: "wlan_unsetup" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_cs.ko] undefined!
*** Warning: "unregister_wlandev" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_cs.ko] undefined!
*** Warning: "p80211netdev_hwremoved" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_cs.ko] undefined!
*** Warning: "wlan_setup" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_cs.ko] undefined!
*** Warning: "p80211netdev_rx" [/home/dave/downloaded_apps/linux-wlan-ng-0.2.1-pre20/src/prism2/driver/prism2_cs.ko] undefined!
So when I run the following script I put in my rc.local file as per the README instructions...

Code:
modprobe prism2_usb
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=default authtype=opensystem
ifconfig wlan0 192.168.1.150 netmask 255.255.255.0 broadcast <yourBroadcast>
route add default gw 192.168.1.1
...I get the following output:

Code:
[root@localhost linux-wlan-ng-0.2.1-pre20]# /etc/rc.local
WARNING: Error inserting p80211 (/lib/modules/2.6.5-1.358/kernel/drivers/net/p80211.ko): Invalid module format
FATAL: Error inserting prism2_usb (/lib/modules/2.6.5-1.358/kernel/drivers/net/prism2_usb.ko): Invalid module format
wlanctl-ng: No such device
wlanctl-ng: No such device
/etc/rc.local: line 15: syntax error near unexpected token `newline'
/etc/rc.local: line 15: `ifconfig wlan0 192.168.1.150 netmask 255.255.255.0 broadcast <yourBroadcast>'
What's going on? Maybe this has something to do with the fact that it's the 2.6.5 kernel?

-dave Z.
 
Old 07-15-2004, 10:36 PM   #3
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
hmm, i use the prismII card as well, but the pcmcia version, with mine, i had to add lines to /etc/pcmcia/config in order for it to bind the driver, perhaps something similar?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wlan-ng problems (senao/engenius wlan usb adapter) poo bear Linux - Wireless Networking 6 05-05-2004 05:54 PM
prism2 chipset and wlan configuration djzanni Linux - Wireless Networking 3 02-29-2004 09:23 AM
wlan-ng (prism2) driver unable to detect DWL-520 card rnimz Linux - Hardware 2 02-06-2004 09:23 AM
Enabling monitor mode on Prism2 WLAN PCMCIA Card ? tekn0phile Linux - Wireless Networking 0 10-17-2003 05:41 PM
prism2-Wlan-ng....Wifi and Linux InDIo Linux - Wireless Networking 3 10-17-2003 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration