Wireless driver packages for 1.0.4-1.0.9 updated

News, happenings
Post Reply
Message
Author
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

Wireless driver packages for 1.0.4-1.0.9 updated

#1 Post by tempestuous »

Wireless drivers for Puppy 1.0.4-1.0.9 (2.4.29 kernel) have just been updated.

UPDATE August 2006: These files are no longer at http://mymirrors.homelinux.org/puppy/wireless/
They're now here http://dotpups.de/dotpups/Wifi/drivers-for-Puppy-1/

See http://www.murga.org/~puppy/viewtopic.php?t=8488
for wifi drivers compatible with Puppy 2.0/2.01.

wpa_supplicant is now ver 0.4.7, and it works. I tested it with the most common (and basic) form of WPA encryption, WPA-PSK/TKIP, with the MADWiFi driver and D-Link DWL-G650r4 PCMCIA card connecting to a Netgear router.

Ralink
Last edited by tempestuous on Wed 16 Aug 2006, 00:47, edited 4 times in total.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#2 Post by kirk »

Thanks Tempestuous! I was going to try and compile that rtl8180 driver. Did you compile that in puppy? If so did you have to recompile the kernel?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#3 Post by tempestuous »

I used Puppy's old-fashioned system of using Vector Linux as the development environment. These days you should be able to add usr_devx.sfs to Puppy to have a build environment ... though to build certain modules you may also need the kernel source tree. Instructions are somewhere on this site. Barry provides a kernel configuration file.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#4 Post by kirk »

I was going to try it in puppy, but it looks like a pain. It would be nice if there was an unleashed package with all the include/lib files for compiling drivers. BIG HINT BARRY! Thanks again.

iscove

HostAP drivers

#5 Post by iscove »

For Tempestuous:

I got the package working well for my D-Link DWL-650 revP1 wireless PC card, but had to edit hostap_fw_load to conform to file locations, case in file names and version of one of the firmware images. I can send you the fixed tarball if you reply via email.

norman iscove <iscove@uhnres.utoronto.ca>

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#6 Post by tempestuous »

Thanks to iscove the new HostAP driver package is now fixed.

His network connect script reveals an important point - some PCMCIA/Cardbus users experience problems with no network interface being created after their wireless driver is loaded.
This is almost certainly related to the PCMCIA host interface, not the wireless adaptor. A "reset" of the interface usually cures the problem. The "gentle reset" option is -

Code: Select all

cardctl eject
cardctl insert
... but iscove requires the more thorough process of restarting cardmgr -

Code: Select all

read PID</var/run/cardmgr.pid
kill $PID
sleep 3
cardmgr
I have included this information in the _Puppy_wireless_README.
I also included information about deleting the /etc/dhcpc/dhcpcd-xxx.pid file to make dhcpcd work, too.

EDIT: July 2008
From Puppy version 4.1 the pcmcia-cs package has been replaced by pcmciautils. The "cardctl" utility is replaced by "pccardctl". Here are updated instructions -
Check if the PCMCIA system recognises your device with these 2 commands -

Code: Select all

pccardctl status
pccardctl ident
If you cannot see your device listed, reset the Cardbus interface like this -

Code: Select all

pccardctl eject
pccardctl insert
Now run "pccardctl ident" again. It might(?) be necessary to restart pcmciautils, like this -

Code: Select all

pcmcia-socket-startup
Last edited by tempestuous on Sun 06 Jul 2008, 13:52, edited 1 time in total.

richiew
Posts: 13
Joined: Tue 16 Aug 2005, 21:57
Location: Lincs. Uk

#7 Post by richiew »

Seeing your last comment about feedback, I thought I would post my success story here.

The package worked great and enabled me to access my wireless etwork without having to reduce the network security.

My final set of commands is as follows:

modprobe ndiswrapper
sleep 5
wpa_supplicant -D ndiswrapper -i wlan0 -c /etc/wpa_supplicant.conf -B
sleep 30
dhcpcd -t 20 -h puppypc -d wlan0

The only other thing I had to change was the SSID and PassKey in the conf file.

Fantastic. Thanks for a great set up.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#8 Post by tempestuous »

March 2006
Orinoco
Monitor support (for scanning and sniffing) in the CVS version of the orinoco driver is not as straightforward as I had assumed. Apparently monitor mode does not work with newer orinoco firmwares (ver 8.x).
It's possible to flash the firmware in an orinoco device back to an older version, but the easier solution is to use an earlier version of the orinoco driver (0.13e) with monitor patch.
So I have provided Orinoco driver version 0.13e-patched, plus version 0.15rc2 for use with Orinoco USB devices, Symbol Spectrum24 devices, and Apple Airport.

Zydas
I had inadvertently provided an early version of this driver from http://sourceforge.net/projects/zd1211/ Several forum members seem to have used this successfully, but I have now updated this driver to the more recent version from http://zd1211.ath.cx/

Mikrodots
Posts: 29
Joined: Fri 31 Mar 2006, 19:59
Location: Boston, MA USA
Contact:

Sierra Wireless 860 3G requires cardmgr restart

#9 Post by Mikrodots »

tempestuous,

Thanks for your post; it helped me figure out why I couldn't get my sierra 860 card running.

This card also needs a restart of cardmgr to run otherwise I get a the message "unsupported card in socket 0" logged in /var/log/messages

Here
http://www.murga.org/~puppy/viewtopic.php?p=44839#44839
is my post on how to get the 860 running.

Thanks again. Mikrodots

kulkulcaan
Posts: 5
Joined: Tue 04 Apr 2006, 16:34

Broadcom 14e4:4318 working

#10 Post by kulkulcaan »

I have a Broadcom wifi mini pci card. The chipset is 14e4:4318 which I havent found listed as working.

I installed ndiswrapper and found that it came with the driver already - bcmwl5.

However, this driver did not work so I removed it and loaded the bcmwl5.inf driver from XP.

This loaded correctly and I was able to configure the card in WAG.

I'm now using /etc/rc.d/rc.local to configure the card at bootup.

Works great.

K

donde
Posts: 126
Joined: Mon 30 Jan 2006, 01:00

#11 Post by donde »

I have almost the same setup, using a Fujitsu laptop with internal Broadcom wireless card. I got it all working, except have to do modprobe ndiswrapper, WAG, Scan, and select Cell at startup. Could you advise of the entries you made in /etc/rc.d/rc.local?
Thanks...donde

kulkulcaan
Posts: 5
Joined: Tue 04 Apr 2006, 16:34

wireless configuration at boot up

#12 Post by kulkulcaan »

Heres what I put in /etc/rc.d/rc.local after configuring the broadcom card;

nodprobe ndiswrapper
iwconfig wlan0 essid "network name"
iwconfig wlan0 key "encryption key"
ifconfig wlan0 "ip address" up
route add default gw "router ip address"

You may need to put some sleep commands between each one.

Also, I did not use dhcp but you could do ;

dhcpcd-t 20 "pcname" wlan0

Hope this helps

K

kemoschwabbie
Posts: 10
Joined: Fri 02 Jun 2006, 21:56

WPA w/Orinoco Gold Classic PCMCIA card

#13 Post by kemoschwabbie »

I am running Puppy 2.0 and am having difficulty getting my Orinoco Gold classic to work in my Compaq Armada 7800 Laptop on an WPA-PSK wireless network. I have found a lot of documentation on using it with WEP, but not WPA. Can someone show me the steps to do this? I'd prefer to use the Wizards as much as possible, though I understand if I need to drop to the console to do it.

Thanks in advance!

Kemo :lol:

Sparky2
Posts: 26
Joined: Thu 01 Jun 2006, 01:17

#14 Post by Sparky2 »

kulkulcaan,

Just a little aside - what do the sleep commands do? I have a similar rc.local file but I have no sleep commands and everything still works. I have seen other people suggesting them but I have never understood why. Please enlighten me ........

Thanks,

Mark

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#15 Post by tempestuous »

kemoschwabbie.
You need ndiswrapper with wpa_supplicant. Get wpa_supplicant here http://www.dotpups.de/dotpups/Wifi/wireless-drivers/

kemoschwabbie
Posts: 10
Joined: Fri 02 Jun 2006, 21:56

Follow Up on Orinoco Card

#16 Post by kemoschwabbie »

I should have mentioned that I have the 8410 version of the Classic Gold card. I don't know if I am loading the proper modules for the card or if I should be using madwifi with the wpa_supplicant.

I am doing the following;
# Loading the chipset
modprobe oronico_cs
#Then bringing up the connection
ifconfig eth0 up
#Now starting the wpa_supplicant
wpa_supplicant -i eth0 -D madwifi -c /etc/wpa_supplicant.conf -dd
#I have triple checked the .conf file to ensure it is correct

This is the text I am getting outPSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='KeM0Schw@BB1E'
Initializing interface (2) 'eth0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=19 WE(source)=14 enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:02:2d:ab:32:cc
wpa_driver_madwifi_del_key: keyidx=0
ioctl[unknown???]: Operation not supported
wpa_driver_madwifi_del_key: keyidx=1
ioctl[unknown???]: Operation not supported
wpa_driver_madwifi_del_key: keyidx=2
ioctl[unknown???]: Operation not supported
wpa_driver_madwifi_del_key: keyidx=3
ioctl[unknown???]: Operation not supported
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface eth0
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=13):
4b 65 4d 30 53 63 68 77 40 42 42 31 45 KeM0Schw@BB1E
ioctl[SIOCSIWESSID]: Device or resource busy
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth0
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=0
wpa_driver_madwifi_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
ioctl[IEEE80211_IOCTL_SETOPTIE]: Operation not supported
wpa_driver_madwifi_deinit: failed to clear WPA IE
ioctl[SIOCSIWAP]: Device or resource busy
Cancelling scan request
sh-3.00#

Thanks in advance.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#17 Post by tempestuous »

Let's go back to square one.
kemoschwabbie wrote:I don't know if I am loading the proper modules for the card ...
Yes, I think orinoco_cs is correct. The Orinoco Classic Gold 8410 model contains a Hermes chipset, which is very similar to the older Orinoco chipset, and is supported by the same driver ... however, this driver is not supported by wpa_supplicant, so you must use ndiswrapper instead.

Walk before you run. Get ndiswrapper working with your card before attempting to add wpa_supplicant to the mix.
And I suggest you turn off encryption at your access point while testing. Do this -

ndiswrapper -i /path/to/mywindowsdriver.inf
## check whether the driver installed successfully with "ndiswrapper -l"
## this should report "driver present, hardware present"
modprobe ndiswrapper
ifconfig wlan0 up
iwconfig wlan0 essid MY_ESSID key none mode managed
dhcpcd -t 30 -h puppypc -d wlan0

If this works, reboot, enable WPA encryption at the router, and you can try wpa_supplicant.
Modify the configuration file, /root/.etc/wpa_supplicant.conf, to include your SSID and Personal Security Key (PSK).
kemoschwabbie wrote:I don't know ... if I should be using madwifi with the wpa_supplicant.
Forget about madwifi, I just used it as an example in the README. Your commands are -

modprobe ndiswrapper
ifconfig wlan0 up
wpa_supplicant -i wlan0 -D ndiswrapper -c /etc/wpa_supplicant.conf -dd
## wpa_supplicant may take about 30 seconds to negotiate the connection
## connection is successful when you see "EAPOL: startWhen --> 0"
## now we can get an IP address. Open a second xterminal,
dhcpcd -t 30 -h puppypc -d wlan0

Post Reply