Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Java/Open Source Daily
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tutorials







A Writer's View of the Linux Wireless Dream, Part 1
Setting SuSE 8.0 Linux Up for the SMC2632W Wireless Card

Rob Reilly
Monday, June 2, 2003 10:51:02 AM

The first order of business was to get the stock card working, before I did any hardware hacking or modifications. Hardware hacking of the card will be described in the next story in this series. Since the SMC 2632 card was a Prism2 chip from Intersil, it was a given I was going to use the wlan-ng drivers. There were a few files that needed to be changed in order to get the card recognized and working properly under the Linux 2.4.18-4GB kernel.

The first file that had to be changed was /etc/modules.config. I added an entry for the wireless card.

alias wlan0 prism2_cs

And, I almost forgot to run depmod, as root.

depmod -a

I also created a file in /etc/sysconfig/network called ifcfg-wlan0. The card was set with DHCP, although you could easily use static IPs too. It looked like this:

DEVICE=wlan0
ONBOOT=no
BOOTPROTO=dhcp
USERCTL=yes
DHCLIENT_SET_DOWN_LINK=yes
STARTMODE=hotplug
MODE="Managed"
UNIQUE=""

Next was the config file in /etc/pcmcia directory. I had to make sure that the SMC2632 entry was bound to the prism2 card. It looked like:

card "SMC2632W"
manfid 0x0156, 0x0002
bind "prism2_cs"

The last file that needed editing was the wlan-ng.opts file in the /etc/pcmcia directory. I had to make sure the IS_ADHOC line said "no," like this.

IS_ADHOC=no
# y|n, y - adhoc, n - infrastructure

I also had to set the variables for Auth Type and DesiredSSID. I left the DesiredSSID empty so that it could just pick up the first access point it found. They looked like this:

AuthType="opensystem"     
# opensystem | sharedkey (requires WEP)
DesiredSSID=""

I didn't bother with WEP initially because my location was fairly isolated and I could accept the risk of a neighborhood hacker. This is something you will need to determine on your own, however. If you are in a corporate setting, then you will definitely need to read the wlan-ng documentation to set this security measure up.

WEP isn't all that great anyway, since programs like Airsnort can figure out the encryption keys. VPN sounds like a good start to securing a wireless link, but, I haven't started working with that yet. Perhaps in a later article.

With all the files edited, it was time to start up the stock PCMCIA card, grab an IP and see how it worked.

Next: The Acid Test »

Skip Ahead

1 Wireless Dream, Picture the Scene...
2 Wireless Linux Laptop Requirements
3 Setting SuSE 8.0 Linux Up for the SMC2632W Wireless Card
4 The Acid Test
5 The Dream Continues





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers