HowTo for pcmcia wireless?
Ndiswrapper does not interface with the pcmcia subsystem, basically it just needs the pcmcia drivers loaded so it can talk to what's on the otherside of the bridge. Most 32bit 'pcmcia' cards are what is know as PC Cards.
I think the command to list the attached pcmcia devices is
#cardctl ident
acutally try
#cardctl --help and it should give you a list of options.
After you load ndiswrapper have a look at the /var/log/syslog or /var/log/messages
eg
# cat /var/log/messages | grep ndis
or
# cat /var/log/syslog | grep ndis
and post that info
If you do a simple modporbe ndiswrapper your wireless interface will be
wlan0.
If you run rc.wirless the wireless interface will be whatever
DEVICE=" "
is ie eth1 wlan0 eth0 and so forth
One thing DO NOT LOAD NDISWRAPPER AND THEN RUN rc.wirless do one or the other
I think the command to list the attached pcmcia devices is
#cardctl ident
acutally try
#cardctl --help and it should give you a list of options.
After you load ndiswrapper have a look at the /var/log/syslog or /var/log/messages
eg
# cat /var/log/messages | grep ndis
or
# cat /var/log/syslog | grep ndis
and post that info
If you do a simple modporbe ndiswrapper your wireless interface will be
wlan0.
If you run rc.wirless the wireless interface will be whatever
DEVICE=" "
is ie eth1 wlan0 eth0 and so forth
One thing DO NOT LOAD NDISWRAPPER AND THEN RUN rc.wirless do one or the other
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
Thanks for the help and info, Bladehunter. I won't be able to get my hands on that 'puter until Saturday night or Sunday morning, though, so I'll post the info found in the log files then.
Thanks agian,
ND
PS. My order of operation had been to:
1. unarchive the files I'd been given to thier proper locations
2. edit the ESSID in wireless.conf (leaving everything else blank means "auto", right?)
3. add the given lines to rc.local
4. (and this is where I might have been going wrong, according to what you've just told me) modprobe ndiswrapper
4.a. receive no interesting output, actually, no output at all
5. reboot. still no internet connection.
6. reboot into XP, come back to forum to post my troubles.
any steps I need to add? anything I'm doing terribly wrong?
Thanks agian,
ND
PS. My order of operation had been to:
1. unarchive the files I'd been given to thier proper locations
2. edit the ESSID in wireless.conf (leaving everything else blank means "auto", right?)
3. add the given lines to rc.local
4. (and this is where I might have been going wrong, according to what you've just told me) modprobe ndiswrapper
4.a. receive no interesting output, actually, no output at all
5. reboot. still no internet connection.
6. reboot into XP, come back to forum to post my troubles.
any steps I need to add? anything I'm doing terribly wrong?
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
Hi guys,
VERY busy this weekend (helping with a move), but here are the results...
cardctl ident gives the following:
Socket 0:
no product info available
This seems like a very bad sign to me. Seems that the card isn't being detected? or simply cannot be identified by puppy? One light is lighting up, btw...of two.
anyway, for drill I ran
# cat /var/log/messages | grep ndis
and I get
[date and time] syslog.info klogd: ndiswrapper version 1.1 loaded (preempt=yes, smp=no)
and that's it. Thoughts?
Thanks for sticking with me...
ND
VERY busy this weekend (helping with a move), but here are the results...
cardctl ident gives the following:
Socket 0:
no product info available
This seems like a very bad sign to me. Seems that the card isn't being detected? or simply cannot be identified by puppy? One light is lighting up, btw...of two.
anyway, for drill I ran
# cat /var/log/messages | grep ndis
and I get
[date and time] syslog.info klogd: ndiswrapper version 1.1 loaded (preempt=yes, smp=no)
and that's it. Thoughts?
Thanks for sticking with me...
ND
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
Hi Bladehunter,
No, only one pcmcia slot in this little beastie...
I was thinking about trying to talk my girlfriend through booting puppy, running the command, finding the output file, mounting a USB key, copying the file, unmounting the key, and rebooting (all over the phone), but then decided I'd just do it myself Saturday. So, I'll post it Sat night or early Sunday.
Thanks,
ND
BTW, I'm not sure if I ever mentioned this...but it's a Dell Inspiron 5100
No, only one pcmcia slot in this little beastie...
I was thinking about trying to talk my girlfriend through booting puppy, running the command, finding the output file, mounting a USB key, copying the file, unmounting the key, and rebooting (all over the phone), but then decided I'd just do it myself Saturday. So, I'll post it Sat night or early Sunday.
Thanks,
ND
BTW, I'm not sure if I ever mentioned this...but it's a Dell Inspiron 5100
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
Ok, here is the pci.txt file. The wifi adapter is the last item listed. It's definately there, and seems to be detected with no problems (at least here)...so, any idea where I'm going wrong?
ND
EDIT: The forum won't allow me to upload a file with a txt extension, apparently ("The Extension txt is not allowed"), so here's the important part cut and pasted. If you need any more info from the file, let me know.
Bus 3, device 0, function 0:
Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 1).
IRQ 11.
Master Capable. No bursts. Min Gnt=10.Max Lat=28.
Non-prefetchable 32 bit memory at 0x20800000 [0x2080ffff].
ND
EDIT: The forum won't allow me to upload a file with a txt extension, apparently ("The Extension txt is not allowed"), so here's the important part cut and pasted. If you need any more info from the file, let me know.
Bus 3, device 0, function 0:
Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 1).
IRQ 11.
Master Capable. No bursts. Min Gnt=10.Max Lat=28.
Non-prefetchable 32 bit memory at 0x20800000 [0x2080ffff].
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
Ashamed to have to ask, but how do I get it?
I know this is like, linux101.
ND
BTW, in case you still need this:
Contents of pci.txt:
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 3).
Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
Bus 0, device 1, function 0:
PCI bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 3).
Master Capable. Latency=32. Min Gnt=12.
Bus 0, device 29, function 0:
USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 2).
IRQ 11.
I/O at 0xbf80 [0xbf9f].
Bus 0, device 29, function 1:
USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 2).
IRQ 11.
I/O at 0xbf40 [0xbf5f].
Bus 0, device 29, function 2:
USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 2).
IRQ 11.
I/O at 0xbf20 [0xbf3f].
Bus 0, device 29, function 7:
USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 2).
IRQ 11.
Non-prefetchable 32 bit memory at 0xf4fffc00 [0xf4ffffff].
Bus 0, device 30, function 0:
PCI bridge: Intel Corp. 82801 PCI Bridge (rev 130).
Master Capable. No bursts. Min Gnt=4.
Bus 0, device 31, function 0:
ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 2).
Bus 0, device 31, function 1:
IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 2).
IRQ 11.
I/O at 0xbfa0 [0xbfaf].
Non-prefetchable 32 bit memory at 0x20000000 [0x200003ff].
Bus 0, device 31, function 5:
Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 2).
IRQ 7.
I/O at 0xb800 [0xb8ff].
I/O at 0xbc40 [0xbc7f].
Non-prefetchable 32 bit memory at 0xf4fff800 [0xf4fff9ff].
Non-prefetchable 32 bit memory at 0xf4fff400 [0xf4fff4ff].
Bus 0, device 31, function 6:
Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 2).
IRQ 11.
I/O at 0xb400 [0xb4ff].
I/O at 0xb080 [0xb0ff].
Bus 1, device 0, function 0:
VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] (rev 0).
IRQ 11.
Master Capable. Latency=32. Min Gnt=8.
Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
I/O at 0xc000 [0xc0ff].
Non-prefetchable 32 bit memory at 0xfcff0000 [0xfcffffff].
Bus 2, device 1, function 0:
Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 1).
IRQ 7.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xfaffe000 [0xfaffffff].
Bus 2, device 4, function 0:
CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 2).
IRQ 11.
Master Capable. Latency=168. Max Lat=5.
Non-prefetchable 32 bit memory at 0x20001000 [0x20001fff].
Bus 2, device 4, function 1:
FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller (rev 0).
IRQ 11.
Master Capable. Latency=32. Min Gnt=2.Max Lat=4.
Non-prefetchable 32 bit memory at 0xfaffd800 [0xfaffdfff].
Non-prefetchable 32 bit memory at 0xfaff8000 [0xfaffbfff].
Bus 3, device 0, function 0:
Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 1).
IRQ 11.
Master Capable. No bursts. Min Gnt=10.Max Lat=28.
Non-prefetchable 32 bit memory at 0x20800000 [0x2080ffff].
I know this is like, linux101.
ND
BTW, in case you still need this:
Contents of pci.txt:
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 3).
Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
Bus 0, device 1, function 0:
PCI bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 3).
Master Capable. Latency=32. Min Gnt=12.
Bus 0, device 29, function 0:
USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 2).
IRQ 11.
I/O at 0xbf80 [0xbf9f].
Bus 0, device 29, function 1:
USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 2).
IRQ 11.
I/O at 0xbf40 [0xbf5f].
Bus 0, device 29, function 2:
USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 2).
IRQ 11.
I/O at 0xbf20 [0xbf3f].
Bus 0, device 29, function 7:
USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 2).
IRQ 11.
Non-prefetchable 32 bit memory at 0xf4fffc00 [0xf4ffffff].
Bus 0, device 30, function 0:
PCI bridge: Intel Corp. 82801 PCI Bridge (rev 130).
Master Capable. No bursts. Min Gnt=4.
Bus 0, device 31, function 0:
ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 2).
Bus 0, device 31, function 1:
IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 2).
IRQ 11.
I/O at 0xbfa0 [0xbfaf].
Non-prefetchable 32 bit memory at 0x20000000 [0x200003ff].
Bus 0, device 31, function 5:
Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 2).
IRQ 7.
I/O at 0xb800 [0xb8ff].
I/O at 0xbc40 [0xbc7f].
Non-prefetchable 32 bit memory at 0xf4fff800 [0xf4fff9ff].
Non-prefetchable 32 bit memory at 0xf4fff400 [0xf4fff4ff].
Bus 0, device 31, function 6:
Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 2).
IRQ 11.
I/O at 0xb400 [0xb4ff].
I/O at 0xb080 [0xb0ff].
Bus 1, device 0, function 0:
VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] (rev 0).
IRQ 11.
Master Capable. Latency=32. Min Gnt=8.
Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
I/O at 0xc000 [0xc0ff].
Non-prefetchable 32 bit memory at 0xfcff0000 [0xfcffffff].
Bus 2, device 1, function 0:
Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 1).
IRQ 7.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xfaffe000 [0xfaffffff].
Bus 2, device 4, function 0:
CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 2).
IRQ 11.
Master Capable. Latency=168. Max Lat=5.
Non-prefetchable 32 bit memory at 0x20001000 [0x20001fff].
Bus 2, device 4, function 1:
FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller (rev 0).
IRQ 11.
Master Capable. Latency=32. Min Gnt=2.Max Lat=4.
Non-prefetchable 32 bit memory at 0xfaffd800 [0xfaffdfff].
Non-prefetchable 32 bit memory at 0xfaff8000 [0xfaffbfff].
Bus 3, device 0, function 0:
Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 1).
IRQ 11.
Master Capable. No bursts. Min Gnt=10.Max Lat=28.
Non-prefetchable 32 bit memory at 0x20800000 [0x2080ffff].
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
Ok
Now I just got hold of a dlink dwl-510 which uses the same chipset (atheros)...At the moment I'm running a 2.6.8 kernel on Slackware with the madwifi driver in master mode (ie access point)....All seems to be working fine.Once Barry decides on a kernel version for Puppy 1.0.3 I'll compile the drivers and forward them across. The only problem is that ad-hoc mode is "broken" according to the madwifi site..
So hopefully this will take the dependency away from ndiswrapper for these chips.
BTW in master mode (AP mode) it can also be used to bridge a wireless network to a wired network...
Now I just got hold of a dlink dwl-510 which uses the same chipset (atheros)...At the moment I'm running a 2.6.8 kernel on Slackware with the madwifi driver in master mode (ie access point)....All seems to be working fine.Once Barry decides on a kernel version for Puppy 1.0.3 I'll compile the drivers and forward them across. The only problem is that ad-hoc mode is "broken" according to the madwifi site..
So hopefully this will take the dependency away from ndiswrapper for these chips.
BTW in master mode (AP mode) it can also be used to bridge a wireless network to a wired network...
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
"Facilities"? Yes. "Abilities?" Maybe not so much I can put together a hard drive install on my primary 'puter with plenty of room to grow and work. So hardware and space aren't problems. I've never remastered a puppy before, though, so...it would be murky waters for me.bladehunter wrote: I don't know if you have the facilities to remaster with a new kernel
But I'm willing to give anything a shot, if folks are willing to help me along.
ND
Hey cool, that's the attitude...
Well it's not really a full remaster, just redoing the iso, which can be done from windows, with the the new kernel. I'm pretty sure the instructions are on Barry's site. Well any way if not I can supply the required instructions for you. May take a day or so to get it built and sent off, but real glad to see you haven't let this die.
Well it's not really a full remaster, just redoing the iso, which can be done from windows, with the the new kernel. I'm pretty sure the instructions are on Barry's site. Well any way if not I can supply the required instructions for you. May take a day or so to get it built and sent off, but real glad to see you haven't let this die.
-
- Ultra Super-stud
- Posts: 168
- Joined: Fri 06 May 2005, 02:36
OK....are you ready
like really really ready
well those drivers I was talking about....
compiled them remade the initial ramdisk with the drivers (it's now 16MB uncompressed)
booted up with my new kernel
executed
#modprobe ath_pci
#ifconfig ath0 192.168.1.130 up
and as if by magic it connected to my Access point (no encryption or security yet)
and now I'm typing this on Puppy-1.0.3 on my Dell lappy (with neomagic card)
if you would like and if you have a hotmail account that can take large email attachments I can post you the new image.gz and vmlinuz (kernel) to get you card going.
like really really ready
well those drivers I was talking about....
compiled them remade the initial ramdisk with the drivers (it's now 16MB uncompressed)
booted up with my new kernel
executed
#modprobe ath_pci
#ifconfig ath0 192.168.1.130 up
and as if by magic it connected to my Access point (no encryption or security yet)
and now I'm typing this on Puppy-1.0.3 on my Dell lappy (with neomagic card)
if you would like and if you have a hotmail account that can take large email attachments I can post you the new image.gz and vmlinuz (kernel) to get you card going.
- Attachments
-
- ath_pci.tar.gz
- driver for you
- (157.44 KiB) Downloaded 643 times
I've been working hard with the same problem. I have an Atheros card, and some distros pick it up, others do not. None have out of the box. My successes have been with those that have the MadWiFi drivers and KDE, such as Slax and PCLinuxOS. I'm still having trouble with getting them to speak with my Wireless hub since I'm using WPA encryption rather than WEP or none at all.