LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-21-2006, 02:39 AM   #1
bluesky2_1986
Member
 
Registered: Jun 2006
Posts: 42

Rep: Reputation: 15
wireless connection Suse 10.2


Hi guys...

I use Suse 10.2. I want to connect to internet from a wireless modem.
Suse finds the wireless modem. I can connect to internet via wireless modem only if there is no password on the modem.

If I use WPA encryption I cannot connect to internet.

Should I download sth else or.
 
Old 12-21-2006, 03:34 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you can connect in the open mode, then your wireless device and wireless kernel module is working. This is good news because that is usually the hardest part. I'm using SuSE 10.1 so I apologize if my information is outdated.

You need to make sure that both the wireless-tools and wpa_supplicant packages are installed. You can install them in YaST2 using the software installer.

In YaST2 -> Network Devices -> Network Card, your first choice is whether to use ifup or NetworkManager. I prefer ifup because NetworkManager seems to work better with WEP rather than WPA-PSK. That may have changed with 10.2 so I'll let you decide which is your preference. Make your selection and click "Next"

On the following page, "Network Card Configuration Overview", select your wireless device in the list, and click on the edit button. Click on Automatic Address setup. This will cause the IP address, Gateway Address and DNS addresses to be supplied automatically by the modem. That saved a lot of work, didn't it!

Under Detailed settings, click on Hostname and Nameserver. Enter your computers hostname (not localhost please!!!). This is the same for all the network interfaces on the computer. This is just where this item ended up. Make sure that the "Update Name Servers and Search List" box is selected. This will supply your computer with the DNS address in /etc/resolv.conf. You need this to browse the web. Click the "OK" button.

If your modem includes a wireless NAT router, then you may access the internet through a local IP address such as 192.168.1.1. Check the routers documenation and if that is the case, enter that IP address in the "Default Gateway" line. Click "OK"

Click on the Hardware details. If you were using ndiswrapper, you might need to enter "ndiswrapper" in the module name line. However your device seems to be working so let's leave this line alone. Click "OK". Click "Next".

Here we finally get to the WPA configuration page. Select Operating Mode : Managed
Enter a name for your wireless network in "Network Name (ESSID)":
Under Authentication Mode, select "WPA-PSK"

For Key Input Type use the same type of key as the router uses and enter the same pre-shared-key as the modem uses. If the modem has a Local Ethernet port, then you may need to plug in directly to access the wireless configuration. It may use a web interface. I cut and pasted between my laptop and my wireless router to guarantee that the keys were identical. Be sure to make a the key vary hard.
I use this oneliner to generate a 64 hex digit random key to use:
Code:
dd if=/dev/random bs=32 count=1 2>/dev/null | od -t x2 | sed -e '3d' -e 's/^.\{8\}//' -e 's/ //g' | tr -d '\n' ; echo
You could cut and past it into "konsole" to print out your own random key. Then cut and paste it into the "Encryption Key" setting for both the interface and the modem.

Click on "Advanced". It is optional but you could enter your modems MAC address in the Access Point line. This will assure that you connect to the correct AP. ( Someone may use your essid to try to get your computer to authorize with their own AP. ) Good thing for WPA encryption. Click "OK" then click "Next".

Hopefully your encrypted wireless network is now working.
 
Old 07-09-2007, 08:19 AM   #3
soenderup
LQ Newbie
 
Registered: Jun 2005
Location: Australia
Distribution: SuSE 10.2
Posts: 17

Rep: Reputation: 0
Similar problem

Hi there

Sorry for coming into this threat. I hope that is all right.

I have a (probably) similar problem since I upgraded to Suse 10.2:
I am using a DELL XPS computer, with a built in Wireless Network Card.

Name [00000002] RAS Async Adapter
Adapter Type Wide Area Network (WAN)
Product Type RAS Async Adapter

When I tried to connect to a wireless network via KNetworkmanager (I chose this option when I set up the card), then it shows no network whatsoever. At home, where I have all the network details, I enter all details (Network Name, DNS server, Password etc.) manually in YAST, and I connect to the wireless network without difficulty. The network also shows in KNetworkmanager. Yet this network is the only one it picks up (there is another network in the neighbourhood which it should pick up but doesn't). When I am away and try to connect to a Wireless Network, then no network shows in KNetworkmamanger at all. Actually, there is not even a wireless entry in the menue.

So, in short, manual setting up of a wireless network works without problems, but automatic setup does not work.
As I can get the wireless card to work at all seems to indicate that it is recognised and the driver is working (really, though?). So I am at a loss.

So, is this related or should I start a new threat?

Many thanks!

Last edited by soenderup; 07-09-2007 at 08:47 PM.
 
  


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
cannot get wireless connection to work on suse Armon Linux - Wireless Networking 0 07-11-2006 01:13 AM
suse 10.0 wireless connection steeler fan Linux - Wireless Networking 3 02-20-2006 02:47 AM
Suse 10.0 Wireless Connection Problem cubbuk Linux - Laptop and Netbook 25 02-18-2006 02:54 PM
How to configure wireless connection with Suse 9.2 kromatic Linux - Hardware 4 03-14-2005 02:34 PM
suse 9.2 wireless connection problem avimd Linux - Wireless Networking 1 11-19-2004 11:23 PM

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

All times are GMT -5. The time now is 04:43 PM.

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