LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-03-2006, 10:51 PM   #1
Bob H
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Rep: Reputation: 0
SUSE 10 pro/wireless 2200bg WPK encryption LAN and wifi unreliabel


First only my LAN worked

then once I installed new drivers for my wifi the wireless worked (for about 5 mins)

Since then my LAN and wifi have been working on / off ever since (constantly connecting and re-conecting and stopping and starting)

I set up my LAN and wifi in YAST. Below are the settings

I am new to routers and wifi and LINUX I think I may have set up the ip address incorectly. Can you see any obvious blunders in my setup or have any ideas.

(I turned off the ässignments by DHCP at someones suggestion - so have set it up manually)

LAN
>>Network Address Setup
IP address : 192.168.1.101 or assigned by dhcp
subnet mask : 255.255.255.0
>>Host name and name server configuration
Hostname : linux
Domain name : site

Change host name via dhcp is unchecked,
update name servers search list via dhcp unchecked

Name Server 1 : 192.168.1.254
Domain Serach : sitehecked
>>Routing
192.168.1.254


Wireless
>>Network Address Setup
IP address : 192.168.1.105 or assigned by dhcp
subnet mask : 255.255.255.0
>>Host name and name server configurat
Hostname : linux
Domain name : site

Change host name via dhcp is unchecked,
update name servers search list via dhcp unchecked

Name Server 1 : 192.168.1.254
Domain Serach : sitehecked


With the above configuaration both connectoin run badly


ANY IDEAS

It's taken me ages to get this far this relates to my previous post http://www.linuxquestions.org/questi...d.php?t=407757

unfortunatly the last advice to download some applications is not longer viable becuase I can't get the internet up for long enough (I am writing this in XP)
 
Old 02-03-2006, 11:01 PM   #2
Bob H
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
oh yeah I can only see eth 1 in Kinternet too.

I have been reading some stuff. I have assumed that because the PC is connected to the router by a cable (LAN) or radio (wifi) then it needs two IP address - should it only be one - could this be my error.

I dunno clutching at straws...

help

me

please
 
Old 02-04-2006, 12:09 AM   #3
shaunw
Member
 
Registered: Dec 2005
Posts: 77

Rep: Reputation: 15
wi-fi problems

The ip address for your nameserver doesn't look right.
Where did you get that from?
Post the make/model number of your router and your wi-fi card.
Also post the ip address of your default gateway and the name
of the driver or module name that you are using for the wi-fi
card.

 
Old 02-04-2006, 12:33 AM   #4
Bob H
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
o right

I'm just getting the info together
 
Old 02-04-2006, 12:44 AM   #5
Bob H
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Name server etc

Yeah I spoke to someone and the name server was incorrect. It is now

202.63.39.130 which corresponds with the Primary DNS of my router.
the default Gateway is 202.63.39.2

My router is a billion Myguard 7202g (this system works perfectly well in XP although teh settings are setup by dhcp but I was advised not to do that because of some problem in SUSE)

my laptop is an NEC with wifi centrino pro/wireless 2200bg
 
Old 02-04-2006, 12:52 AM   #6
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 use both a cable and wireless interface, you should shut one of them down, unless they are being used for different subnets.

Try
rcnetwork stop eth0
rcnetwork restart wlan0

I use DHCP.
On the "Network Address Setup" page I have
"Automatic Address Setup (via DHCP)" checked.

Checking the "Host Name and Name Server" button:
Under "Host Name and Name Server Configuration" I entered my Hostname and Domain name and checked the "Change Host Name via DHCP.

Clicking the Routing Button:
I entered the IP address of my Cisco Cable Router (192.168.1.1)

Clicking on the "Hardware Details" button:
on the Manual Network Card configuration:
The system gave my interface the Configuration name: wlan0.
The system gave my interface the Hardware Name: static-0. I didn't change it in the "Hardware Configuration Name" line underneath. I left it as it is.
Under Module Name: I entered the name of the kernel module for my wireless device. "ndiswrapper" in my case.

Under "DHCP Client Options" button. On the DHCP Client Options page, I checked the "Request Broadcast Response" box, and entered my hostname in the "DHCP Client Identifier" line. This may have been a mistake according to the SuSE manual (I read this part later), but after making this change, I was able to connect to my router after rebooting. The "Host Name to Send" line I left as AUTO.

On the Detailed Network Card Settings Button/page, I selected "Device Activation "At Boot Time" drop down item.
I clicked on the "User Controlled" box.
I have the "External Zone" selected for my firewall zone. Note: make sure that the DHCP Client is added to an allowed service for the Firewall zone you select)

Clicking on "Next" from the "Network Address Setup" page, gets me to the
"Wireless Network Card Configuration" page.
Operating Mode "Managed" dropdown item is selected.
I entered my LAN's domain name for the ESSID.
Authentication Mode "WPA-PSK" drop down item is selected.
Key Input Type, this is really up to you, but needs to match the router's setup.
I generated a 64 digit hex key using the random device:
Code:
dd if=/dev/random bs=1 count=32 | od -t x1 | sed -e 's/^[[:digit:]]\{7\}//' -e 's/ //g'  | tr '[[:lower:]]' '[[:upper:]]' | tr -d '\
' ; echo
note: there is a newline after the backslash,
in the second tr command's argument.
This part simply joins the two lines.  
It would be possible to do all of the conversion in a sed script,
but I don't know how to write a oneliner shell command
that contains a branch in the sed code.
Then I used cut and past to enter the key into the routers web setup page and the Yast Encryption Key entry.

If yast doesn't like the key, you might try editing it into /etc/sysconfig/ifcfg-wlan0 manually. That is what I did. I han't converted the letters "a-d" to uppercase. In hindsight, I think that yast was expecting Upper Case letters "A-D" for the input.

Now I don't have a passphrase that is someone could use a dictionary attack against. Plus, a script to generate a new key anytime I want.

I hope this helps. I can't guarantee that none of my items are in error, but I did post this message on my hp pavilion zv5000 using a wireless connection to a cisco cable router using this configuration.

Last edited by jschiwal; 02-04-2006 at 01:05 AM.
 
Old 02-04-2006, 12:57 AM   #7
Bob H
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Thank you very much Mr jschiwal

I will give that a go. In order to that though I have to reboot my system in suse (I'm in XP) so I will be a while
 
Old 02-04-2006, 01:40 AM   #8
Bob H
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
I've given it a go but I didn't understand the following


' Clicking on "Next" from the "Network Address Setup" page, gets me to the
"Wireless Network Card Configuration" page.
Operating Mode "Managed" dropdown item is selected.
I entered my LAN's domain name for the ESSID. '

what did you mean by "I entered my LAN's domain name for the essid" i it an IP address or the name that suse gave my connection or something else?
 
Old 02-04-2006, 05:49 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Perhaps it's a lack of creativity on my part. I use the domain name "jesnet" for my lan. All my computers use this domain name. I used the same name to identify my wireless network. Use the name that you used for ESSID in your wireless router setup. Sorry if I caused some confusion. I didn't mean that you had to use the same name for your domain as for the essid. In some cases, such as your network is a subnet of the internet (a real published domain name), this may be an error.
Some people prefer not to set this, thinking it can prevent a hacker from breaking in. However, that doesn't work at all.

I shortend the oneliner a bit, but used a sed script to generate a random hex string:
Code:
 dd if=/dev/random bs=1 count=32 2>/dev/null | od -t x1 | sed -f bk.sed
Code:
# sed program to convert the od -t x1 output to a large hexadecimal number

# remove the address part
s/^[[:digit:]]\{7\} //
s/^[[:digit:]]\{7\}$//

:join {
        N
        s/\n[[:digit:]]\{7\} //
        s/\n[[:digit:]]\{7\}$//
# remove the spaces
        s/ //g

# continue joining and removing the junk
        b join
};p
 
Old 02-11-2006, 05:58 PM   #10
Bob H
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
My Panasonic telephone was interfereing

I have more or less fixed it now - it drops out every half hour or so which i ok. (Idon't know why if I fix that I'll post my solution). The panasonic coordless phone seemed to be interfereing with the wifi. In addition the LAN was confliting somehow.

I do not understand how but by uninstalling the LAN (I only use wireless so this works for me) the wifi woked much better.

The wifi obvoisly is not quite as well setup as in XP because in XP it doesn't seem to drop out (although sometimes in gets v slow)
 
Old 02-12-2006, 01:00 AM   #11
dandolind
LQ Newbie
 
Registered: Feb 2006
Distribution: SuSE 10.0 dual booting XP
Posts: 8

Rep: Reputation: 0
I have the same intel wireless card. I'm running it on a Toshiba M45-269 with 1.5 gb ddr2 ram. Pentium M 740. My first suse install both connections were intermittant. I have re-installed a few times. I did a lot of reading and found some great tips. My wireless has been up for well over 2 hrs with no issues. It involves installing wifi-radar and following the directions. You copy about 5 files and edit a script and you have a nice gui for wireless. The downside to the networking fix is I have to boot acpi=off to get any connection to my router. Being a laptop I'm not crazy about disabling power management but it works.
 
Old 02-13-2006, 03:35 AM   #12
Bob H
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
FYI

The phone wasn't the problem. I'm now working fine - although the onnection gets lost about every half hour and I have to reconnect. Also as soon as I load firefox the connection is lost.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Intel PRO/Wireless 2200BG wfischer Linux - Wireless Networking 3 10-25-2006 09:20 AM
My pro/wireless 2200bg on SUSE 10 says it's connected but I can't load any pages Bob H Linux - Hardware 12 02-04-2006 02:05 AM
Intel Pro Wireless 2200BG bednarjm Fedora 2 12-10-2005 09:58 PM
Intel pro/wireless 2200BG lobwolf Linux - Wireless Networking 27 11-01-2005 10:20 AM
FC2 not recognizing the Intel PRO/Wireless 2200BG wireless card mdslf Linux - Laptop and Netbook 2 08-24-2004 02:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:47 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