Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 22 Aug 2014, 23:55
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
HowTo for pcmcia wireless?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [45 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Sun 15 May 2005, 23:49    Post subject:  

OK, so I downloaded and burned puppy 1.0.1, because the disappearing ndiswrapper seemed like a 1.0.2 bug to me...so, I booted 1.0.1 on a clean pup001 file, and did the file extracting, etc...now, when puppy boots, just before X starts, ndiswrapper loads correctly, then I get this:

Error for wireless request 'Set ESSID' (8B1A): SET failed on device eth1; No such device.

So, is this an indication that the pcmcia subsystem isn't seeing the card? or something else?

ND
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Mon 16 May 2005, 06:01    Post subject:  

I'm running 1.0.2RC right now. I typed:

# modinfo ndiswrapper

...which gives useful info. Then I typed:

# modprobe ndiswrapper

...and it loaded ok.

If you just type
# insmod ndiswrapper
it won't work, can't find the module, you would have to specify the entire path and filename. But there's more to it -- insmod in the 2.6 kernel seems to be partly crippled. It's a different modprobe package that I had to compile for k2.6.
Back to top
View user's profile Send private message Visit poster's website 
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Mon 16 May 2005, 10:12    Post subject:  

When I was running 1.0.2RC, I first booted up with a clean pup001 file, and after I'd extracted the necessary files and such, I typed

modprobe ndiswrapper

and received no error messages...in fact, I received no message at all. It just gave me a new prompt line, so I took this as a good sign. It was only when I rebooted that I got the error message, which was apparently produced by one of the config files I installed, because it occurred as part of the boot process, rather than by any input I did. So it seems like some bug is causing ndiswrapper to disappear? I'll try all of this again at home, as I'll soon be separated from this computer, and report my findings...

Any ideas on the error message I'm getting with 1.0.1? At least ndiswrapper is loading OK there...

ND
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 16 May 2005, 16:56    Post subject:  

Sorry. We're past the extent of my knowledge. Good thing Bladehunter's back Smile

Good luck!

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Mon 16 May 2005, 18:02    Post subject:  

Barry, you're right. "Insmod" gives and error in 1.0.2RC where "modprobe" does not. I'm currently in XP and don't have a utility to handle the .tar files, but I'm nearly positive that one of the configs calls ndiswrapper with insmod. I can change this line to modprobe easily enough. However, I'm suspecting that the pcmcia system isn't seeing (or identifying or something) the card, because after I manually modprobe ndiswrapper, if I then do "iwconfig", I get an output which shows me two devices (one is eth0, but sorry i can't remember the other) and says "no wireless extensions" or something like that for both of them. Sorry I'm not being more precise with the messages. is there any way i can get a list of pcmcia hardware that the system has detected?

ND

PS. i downloaded and burned Feather yesterday (good thing I brought a CDRW!) and all I had to do was run through the network setup wizard and it worked like a charm. Might they have some moves we can steal?
PPS That success makes me all the more determined to get this to work!
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Tue 17 May 2005, 04:58    Post subject:  

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
Back to top
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Wed 18 May 2005, 13:36    Post subject:  

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?
Back to top
View user's profile Send private message 
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Sun 22 May 2005, 23:34    Post subject:  

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
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Wed 25 May 2005, 05:58    Post subject:  

hmmmmmm

Try
#cat /proc/pci > pci.txt

and either attach the text file (pci.txt) or cut and paste the contents.....We're looking for any references to the card

Should I assume that the machine in question has 2 pcmcia sockets ?

If so is there any info about socket 1 ?
Back to top
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Thu 26 May 2005, 22:31    Post subject:  

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
Back to top
View user's profile Send private message 
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Sun 29 May 2005, 11:53    Post subject:  

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].
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Wed 01 Jun 2005, 00:57    Post subject:  

The most important piece of info is the PCI ID......could you post that up ?
Back to top
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Wed 01 Jun 2005, 01:25    Post subject:  

Ashamed to have to ask, but how do I get it?

I know this is like, linux101.

Embarassed

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].
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Thu 02 Jun 2005, 05:48    Post subject:  

#lspci -n will get pci-id



But...The athros chipset is support by madwifi, which is native driver......
Back to top
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Thu 02 Jun 2005, 22:56    Post subject:  

bladehunter wrote:


But...The athros chipset is support by madwifi, which is native driver......


...which means?

I should Just Work(tm)?

...I'm afraid that I'm missing something painfully obvious here, and I'll just feel like an idiot when we find it...

Confused

ND
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [45 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0825s ][ Queries: 13 (0.0042s) ][ GZIP on ]