WLAN using a 3Com Office Connect 11g

I have a 3Com OfficeConnect Wireless 11g PCMCIA card lying around - 3CRWE154G72.

I wanted to get it up and running using debian unstable.

I've never got this card to play nice with the prism drivers that linux seems to think are the ones to use. So - let's try ndiswrapper.

Following steps are based on information from the #debian IRC channel on freenode

apt-get install build-essential ndiswrapper-source module-assistant wireless-tools
module-assistant auto-install ndiswrapper

The first command gets the stuff you need. The second builds and installs the kernel module. In this case I also needed to get ndiswrapper-utils - which it prompted for and fetched (over the ethernet LAN connection). This is good - since it needs something providing ndiswrapper-module - and that's what you're building.

Now - you need to get the drivers - I downloaded the exe - ran it on windows (turns out to be a self-extracting rar file). This gave an install diskette set of files with a subdirectory Driver.

Now - we need to install the driver:

ndiswrapper -i Driver/3C154G72.INF

Note - this was the only .inf file in the driver dir. This installed the correct driver for me - you can see the results with ndiswrapper -l
Installed ndis drivers:
3c154g72 driver present, hardware present

You can test this now by modprobing ndiswrapper and using iwconfig (it should have created a wlan0 interface)

However - for automatic handling - I have the following in /etc/network/interfaces after the lo and eth0 areas

iface wlan0 inet dhcp
pre-up modprobe ndiswrapper
post-down rmmod ndiswrapper
wireless-essid <MYSSID>
wireless-key restricted <MYWEP>

Now - a simple ifup wlan0 brings me online via the wireless net - and it all works (as long as eth0 is ifdown'd). All I need to do now is find a good way to auto eth0 at work and auto wlan0 at home.

Technorati Tags:Technorati Tags:

Comments

chris's picture

Inserting the card

Inserting the card automatically loads prism54 (and some other dependent module). So - the first time the card is inserted I need to do an

rmmod prism54

so that the ifup wlan0 command works.

Sooner or later I'll go looking at how to prevent it loading in the first place.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <strike> <caption>
  • Lines and paragraphs break automatically.
  • Replace [debbug:xxxxx] with a link to the relevant debian bug.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].
  • You may link to Gallery2 items on this site using a special syntax.
  • Insert Google Map macro.
  • Images can be added to this post.
  • You can link nodes to other nodes using the following syntax:
    [node:node_id,param_1="val1",param_2="val2"]

More information about formatting options