Motorola WN8256 PC card wireless adapter

Post Reply
Message
Author
tinker
Posts: 52
Joined: Thu 06 Dec 2007, 19:12
Location: Midwestern United States

Motorola WN8256 PC card wireless adapter

#1 Post by tinker »

My problem is that I only got this properly configured once, in one particular pup-save file using 3.01. I tried lots of times to get it to work. I seem to remember that it finally involved both using the networking gui and some combination of command line tools. I downloaded several versions of the Windows driver as well as using the one that came on the CD with the card. Of course I didn't write everything down in detail so I simply don't know how to repeat my success.

I play around with lots of other variations of puppy (including now 4.00) in their own frugal subdirectories, and I want to be able to set up wireless for those too.

I used various instructions in the forum regarding the networking setup gui, and also various information I found on the web about setting up this particular driver under Windows using ndiswrapper. As I remember it, I could never get the driver to load using the gui alone. Once I could get it to load, I could use the gui to configure it.

I use WPA-PSK with TKIP for encryption. My router does not broadcast the SSID.

I have also tried copying that working pup-save file and "upgrading" with later puppies, but networking doesn't work in the resulting pup-save. Maybe if I knew more about networking in general in linux and where puppy in particular stores things, I could manage to "extract" the working network details from my pup-save, but I don't know enough now.

If anyone has a simple repeatable method for getting this particular card working, I would really appreciate it.

My machine is a Toshiba Satellite notebook M35X-S109 with 1.25GB Memory and a 40GB hard drive and a DVD reader/ CD writer.

tinker
Posts: 52
Joined: Thu 06 Dec 2007, 19:12
Location: Midwestern United States

#2 Post by tinker »

sorry, I meant WN825G.

tinker
Posts: 52
Joined: Thu 06 Dec 2007, 19:12
Location: Midwestern United States

Motorola WN825G

#3 Post by tinker »

I had previously gotten my Motorola WN825G card working (somehow) in a particular pup-save file using puppy 3.01. I wanted to set it up for other puppy versions too (WNOP, dingo, PCPuppyOS, etc) but I could never get it working. So, my latest thought was to skip using the configuration tools, instead just copy over anything from the working version that was at all related to wireless.

I started clean with 4.00 final CD. I booted using pfix=ram, then I copied over all of the following. I saved to a new pup-save and when I rebooted, the card fired up the very first time.

Here is a complete list of all of the files or directories that I copied from a pup-save where the wireless worked:

All of /etc/WAG (I tarred it up and copied it over)
All of /etc/ndiswrapper (ditto)
/etc/wpa_supplicant.conf
/etc/wlan0mode
/etc/wlan0wireless
/etc/ethernetmodules
/etc/networkusermodules
/etc/modprobe.conf
/etc/rc.d/MODULESCONFIG (I added bcm43xx to the skip section)

(Of course if anyone can still tell me how to get it going the regular way, I would appreciate it!)

tinker
Posts: 52
Joined: Thu 06 Dec 2007, 19:12
Location: Midwestern United States

All files - complete details

#4 Post by tinker »

Here is a complete list of the contents of all the files that
seemed to be necessary for me to get my Motorola WN825G wireless
card working in Puppy 4.00 using ndiswrapper.

/etc/WAG/profile-conf contains:

# This is the config file for WAG's profile management.
# It allows you to store the connection information for access points.
# For now you must set it up by hand.
# Two connections are supplied by default.
# The first is called 'autoconnect'. It clears all settings
# and forces your card to connect to the best station it can find.
# The second is a template. Copy it when making a new entry.

# WAG uses a combination of context search and line counting to
# find the required information. Don't misspell a line or delete
# an unneeded line. This will break the profile. Settings not
# required should be set to
# TITLE must be sequentially numbered.

TITLE1="home"
WPA_DRV="wext"
WPA_TYPE=""
WPA_AP_SCAN="2"
ESSID="xxxxxxxxx"
NWID=""
KEY="yyyyyyyyyyyyy"
MODE="managed"
SECURE="open"
FREQ=""
CHANNEL=""
(I put the original autoconnect profile here as title2)

/etc/WAG/wag-conf
# set this to your wireless interface (wlan0, eth1, ath0, ra0, etc)
# leave blank to autodetect (recommended)
WLAN=""

# if you must modprobe a driver (optional, but may include ndiswrapper or cardbus driver)
MODDATA=""

# default wireless IP
WIFIIP="192.168.0.3"

# customizable button title for user script manuwifi
# leave blank to disable button
CUSTOMSCRIPT="Mozilla"

# wireless PCMCIA socket (usually 0 or 1)
# null for no PCMCIA
# note: this is non existant by default
# it will be created by the dotpup installer

/etc/ndiswrapper/bcmwl5a/
drwxr-xr-x 2 root root 1024 2007-12-15 21:01 .
drwxr-xr-x 3 root root 1024 2007-12-15 21:01 ..
lrwxrwxrwx 1 root root 26 2007-12-15 21:12 14E4:4320.5.conf -> 14E4:4320:7010:1057.5.conf
-rw-r--r-- 1 root root 774 2007-12-15 21:01 14E4:4320:7010:1057.5.conf
-rw-r--r-- 1 root root 774 2007-12-15 21:01 14E4:4320:7025:1057.5.conf
-rw-r--r-- 1 root root 40976 2007-12-15 21:01 bcmwl5a.inf
-rw-r--r-- 1 root root 285056 2007-12-15 21:01 bcmwl5.sys

/etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ap_scan=2
update_config=1

network={
ssid="xxxxxxxxx"
psk=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
}

/etc/wlan0mode

echo "Trying to get IP address from DHCP server (60sec timeout)..."
echo "Trying to get IP address from DHCP server (60sec timeout)..." > /dev/console
rm /etc/dhcpc/dhcpcd-wlan0.pid 2>/dev/null #if left over from last session, causes trouble.
rm /etc/dhcpc/dhcpcd-wlan0.cache 2>/dev/null #ditto
rm /etc/dhcpc/dhcpcd-wlan0.info 2>/dev/null #ditto
dhcpcd wlan0

/etc/wlan0wireless
#!/bin/sh
#Configure the wireless interface through WPA
/usr/sbin/wpa_connect.sh wlan0 wext

/etc/ethernetmodules
ndiswrapper

/etc/networkusermodules
ndiswrapper

/etc/modprobe.conf
... I appended the following:
alias wlan0 ndiswrapper

/etc/rc.d/MODULESCONFIG
added " bcm43xx " to the "skip" section

tinker
Posts: 52
Joined: Thu 06 Dec 2007, 19:12
Location: Midwestern United States

spare WN825G card

#5 Post by tinker »

I have an extra Motorola WN825G card just like the one I've been posting about. If Barry would llike it, I will send it to him.

Post Reply