How to setup WLAN security in SuSE Linux

by Volker Weber

I remember chatting with Wolfgang who was unable to find out where he could enter his WEP key in SuSE Linux. So here is a short (?) roadmap how to get there.

  1. Open YaST
  2. When prompted enter the root password
  3. Select Network Hardware
  4. Select Network Card Configuration
  5. Look for already configured devices and select your card
  6. Click on Change
  7. Click on Edit
  8. Click on Advanced
  9. Select Hardware Details from the dropdown list
  10. Click on Wireless Settings
  11. Make sure you have selected Managed (default since 9.1)
  12. Enter the SSID
  13. Enter the WEP key
  14. Leave the other fields empty
  15. Now click on numerous Continue and Finish buttons

I guess the programmer doubles as the Easter Bunny in the spring. :-)

Comments

Now, that's just the easy half of the story. Go ahead and tell the poor guy how to make DHCP work with his wireless adapter so that it will not only get an IP address but also adjusts the addresses for DNS server and standard gateway ;-)

Don't have any DHCP problems. Is that because the WLAN card is eth0?

Yup.

Long answer:
SuSE in their unmatched wisdom chose to decide that wireless adapters (at least the ones that are plugged into the system and therefore can't be ethX) are network adapters second class. So what they did was to configure the network services in such a way that a wireless adapter when plugged into the system won't interfere with the settings that were eventually set by any probably running "real" ethernet adapters. Thus, if you want to configure a notebook with integrated ethernet adapter (and probably most if not all of the notebooks that use a PCMCIA WLAN adapter) to get all the settings via DHCP, you will have to manually edit /etc/sysconfig/network/ifcfg-<whatever_your_wlan_adapter's_interface_is> and add the following line:

DHCLIENT_PRIMARY_INTERFACE='yes'

And no, this setting isn't available anywhere in Yast2.

I don't know if this is the right place but since we are on the topic of "how do to things in suse" - how do I get the laptor to suspend to disk when I close the lid?

I try 'apm -s' but it returns with "No APM support in kernel" - I would have thought the installer would have looked at the hardware, discovered that it was a laptop and sorted out all the apm stuff?

Can I propose a new thread, top five things about mac osx? To start:

1. Network profiles - being able to change my IP address at a click of a button
2. Expose - Need I say more?

Feel free to add more :)

Timothy Arnold, 2004-05-21 11:14

Post a comment











Shall I remember this for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.



Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Frequently asked questions

Twitter Updates

More >

Poll

Can you bring a camera phone to work?

Getting poll results. Please wait...

Local time is 21:24

visitors.gif
177 visitors online

News

Other sources of news, imported into my own format to make them more accessible:

Heise Online
Schlagzeilen
Weather

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Got the T-shirt?

Got the T-shirt?
Are you buying from the US?

Systems Architecture

This site runs on an Apache web server on top of the Linux operating system. The content is managed with MovableType which is implemented in Perl. Last but not least the HTML code your browser sees is put together with PHP.

© 1992-2008 Volker Weber.
All Rights Reserved.

Impressum