LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-11-2006, 09:14 PM   #1
JavaGeekLover
LQ Newbie
 
Registered: Feb 2006
Location: Boston
Distribution: SUSE 10
Posts: 8

Rep: Reputation: 0
Getting wireles to start on boot (YaST problems)


Hello All,
I'm a linux newbie trying to get my SuSE Linux 10.1 laptop working on my wireless network. I can enter my key (hex) in KNetworkManager and everything works. Unfortunately, I need to reenter the key every time I boot. Is there a way to configure SuSE (or linux, in general) to connect to my network on startup?

I saw on one post a suggestion to setup the network using YaST. Unfortunately, I enter the key & SID and it never connects. KNetworkManager stops working whenever I enter settings into YaST.

Does anyone have any suggestions on how to configure my system to connect to a specified wireless network automatically? Is there a way to do it in KNetworkManager? If not, can it be done via the kernel? If neither is an option, does anyone have any suggestions on troubleshooting the YaST configuration?

Thannks in advance,
Steven
 
Old 06-11-2006, 09:48 PM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
Well, What I would do is add the command line configuration commands you need into /etc/rc.local which is automatically loaded on bootup. I know that you wanted to do it through Knetworkmanager and YaST, but this is nearly as simple and works quite well. To do this you need to place these lines into /etc/rc.local:

iwconfig eth1 up (where eth1 is your wireless network's "name")
iwconfig eth1 essid [yoursidhere]
iwconfig eth1 key [yourkeyhere - if you need it]
dhclient eth1 (this may also be "dhcp eth1", try one and if it doesn't work try the other.)


Hopefully these commands are proving useful, and I hope that they work for you. If they don't work, or if this is all over your head right now, post back and I will see what I can do to either explain this more fully or walk you through something else. Good luck.
 
Old 06-11-2006, 10:35 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
SuSE linux doesn't have an rc.local file.

SuSE has a configuration file for the network interfaces in the /etc/sysconfig/network directory.

If the interface is "wlan0" then you want to edit the /etc/sysconfig/network/ifcfg-wlan0 file.
You can change the startmode and enter the PSK key there. You may still need to run through the yast setup
and select to use the traditional method rather than using knetworkmanager. I myself haven't had much luck with knetworkmanager in SuSE 10.1.

If there is a problem with authentication, you can run wpa_cli to find out what the problem is.
su to root, then enter "wpa_cli -p /var/run/wpa_supplicant -i wlan0", where wlan0 is your wireless device.
 
  


Reply



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
YaST Modules won't start JonathonReinhart SUSE / openSUSE 8 05-23-2006 05:28 AM
Suse 9.1 YaST only one package per start? MagicMaxi Linux - Software 5 10-10-2005 03:00 PM
Yast doesn't start if it's not from console AJ_Cantos SUSE / openSUSE 7 12-14-2004 05:37 PM
YaST (Suse 9.1) will not start anymore pbogaart Linux - Newbie 3 08-28-2004 06:11 AM
yast doesnt start kromatic Linux - Newbie 8 08-26-2004 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration