LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-04-2003, 02:29 AM   #1
ssevenup
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Rep: Reputation: 0
RedHat 9 and a Linksys ISA->PCMCIA bridge


I am attempting to set up a P166 box with RedHat 9 as a Router/Firewall and wireless access point. The first step in getting the Prism card going was to get the Linksys ISA->PCMCIA bridge working. The stock kernel did not load the module at boot time, so I built my own. I think there may be some ISA configuration in order, but it seems that the isapnp process is changing. lspnp comes with RedHat 9, but it appears to expect /proc/bus/pnp to be there, and it's not. Can someone tell me if there is documentation that explains this process in RedHat 9. Most FAQ's and documents I have found suggest that one should download the isapnp package and use it to configure the interrupts and such. This stuff has supposedly been moved into the kernel in later distros, but I can't find the "new" instructions. A lot of the stuff in proc does not seem to be where I expected it either. Here is the contents of /proc/isapnp after I manually loaded some modules (they fail to load on their own at boot time)..

Card 1 'VIA3018:VIA PCMCIA CARD' PnP version 1.0
Logical device 0 'PNP0e00:Unknown'
Supported registers 0x2
Compatible device PNP0e00
Device is active
Active port 0x3e0
Resources 0
Priority preferred
Port 0x3e0-0x3e3, align 0x1, size 0x2, 16-bit address decoding

Here is the dmesg stuff...

Linux Kernel Card Services 3.1.22
options: [pci] [cardbus]
ds: no socket drivers loaded!
unloading Kernel Card Services

I get Card Services version mismatch messages when I manually load modules, and I am trying to use the hostap_cs drivers.
 
Old 06-06-2003, 01:07 AM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
The problem first seems to be getting RH to recognize the pcmcia device, the hostap_cs drivers are great for this too, that's exactly what I use them for, except I've just got a simple WDT11 PCI bridge card.

I would honestly check over at pcmcia-cs.sourceforge.net and find out for certain that this card is supported, it might not be supported by the in-kernel yenta_socket driver, which would require you to compile pcmcia-cs as an external package and use the good old pcmcia_core module.

They left a lot of the older ISA based pcmcia bridges behind with the switch to yenta_socket and in-kernel pcmcia.

Cheers,

Finegan
 
Old 06-07-2003, 09:17 PM   #3
ssevenup
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thank's Finegan,

It was ultimately a matter of figuring out how to understand the differences between the RedHat "way" and the generic way of working. I altered some files in /etc/pcmcia, but initially I didn't alter them enough :-) Once I convinced the hostap_cs driver to load, the rest fell into place fairly well. Now I have trouble with getting iwpriv to set the MAC address "allow" list. First /etc/sysconfig/network-scripts/ifcfg-wlan0 and company don't apear to accomodate multiple IWPRIV args, so I had to add a new shell script to the mix. Then I found that as long as wlan0 was in Master mode it would refuse to accept "addmac" args to iwpriv. I must set it to ad-hoc first, add my MAC addreses and then set it to Master. I just subscribed to the hostap mailing list, and I'm hoping for some answers. The error in Master mode is "no private ioctls".

--MM
 
Old 06-08-2003, 03:59 AM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I've never used MAC limiting on the wireless level, I always bothered with that in iptables. The Prism2 card I have now is archaic, at least its firmware is, and I can never seem to get it to not freak out if I try much of anything in ad-hoc mode...

Then again, I think I'm using the same version of the driver from about... July last year maybe.

RH's entire networking mess is still not that well built to accomodate for a wireless setup, much less one that is routing and not speaking "managed". Honestly, just ditch it and use rc.local, its just as safe and although its rather hackish, it works brilliantly.

Oh, if you're worried about wireless security a lot, since you've already gotten the hostap drivers running, you may want to stop by http://www.blackalchemy.to/project/fakeap/

Cheers,

Finegan
 
Old 06-08-2003, 09:36 PM   #5
ssevenup
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by finegan

RH's entire networking mess is still not that well built to accomodate for a wireless setup, much less one that is routing and not speaking "managed". Honestly, just ditch it and use rc.local, its just as safe and although its rather hackish, it works brilliantly.

Oh, if you're worried about wireless security a lot, since you've already gotten the hostap drivers running, you may want to stop by http://www.blackalchemy.to/project/fakeap/

Cheers,

Finegan
My remaining issues with iwpriv turned out to be PEBKAC (problem exists between keyboard and chair). Otherwise I would have looked at your suggestion. I am most interested in the directions WiFi security is taking. We have meetings at work on the topic (NASA/Ames Research Center). They want to eventually ditch wired connections completely once 802.11i or whatever it winds up named becomes a standard. I didn't have any luck reaching that link. My latest problem is getting the newer kernel source that someone patched with hostap to build. Also, I am starting to try and understand how to set up iptables. The canned answer RedHat comes with is pretty crappy.

--MM
 
Old 06-09-2003, 03:33 PM   #6
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
You might want to take a longer look at WEP, it gets slagged pretty hard, but if you try out one of the key attack tools like wepcrack or airsnort you're going to find that it takes a huge amount of passive sniffed packets before the key can be guessed, even with a 128-bit key. Not exactly anything you want to bank on in the office, but a combination of that and IPsec, and it gets pretty ridiculous.

I never really started getting the gist of iptables until I just went out and found a vanilla IPtables NAT box firewall script, and then hacked that up as an example with the help of the ubiquitous IPtables how-to. I understand your concern with redhat.

Cheers,

Finegan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
386 + ISA-PCMCIA adapter + PCMCIA Ralink wifi card v6sa Linux - Newbie 0 05-19-2005 12:42 PM
connecting over linksys wet54g wireless bridge to wrt54g meyersjd Linux - Wireless Networking 0 02-27-2005 01:47 PM
PCMCIA ISA Bridge Issues bm3780 Linux - Hardware 4 12-24-2003 01:42 PM
pcmcia to pci bridge + wlan_ng driver twolf Linux - Newbie 0 03-23-2003 11:13 AM
PCMCIA to serial port bridge footrest Programming 0 03-22-2002 01:11 AM


All times are GMT -5. The time now is 08:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration