Problem setting wireless

Issues related to configuring your network
Post Reply
bbmak
Posts: 11
Joined: 2007/02/09 07:51:08

Problem setting wireless

Post by bbmak » 2007/05/11 02:41:45

Hi,
I am new to setting up wireless in linux, and i have problem setting up the connection.

I am sure the wireless card is working under centos because when i disable all the Encryption Technique, i am able to get on the internet, but when i using wep or wap-psk. I have problem activating the wireless card.

How can I use wep and wap-psk under centos 5?
Please describe detaily because i am new to setting wireless in linux.

wap_gui & wap_supplicant are installed.

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Problem setting wireless

Post by Lenard » 2007/05/11 11:39:45

Step one: browse this Networking Support forum where you can find nuggets of information like:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=8155&forum=40

Also look in the older CentOS 4.X Networking Support forum(lots more help is available) :
http://www.centos.org/modules/newbb/viewforum.php?forum=30

Step two: provide details of what you have and what you have tried.

Some hardware information would be nice, some information about wireless setup would be nice also.

Try this command twice, first with encryption disable then enable on the wireless router: /sbin/iwlist scan

Sample output:
[code]
$ iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:0A:E9:09:EC:60
ESSID:"MyRouter"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.422 GHz (Channel 3)
Quality:84/100 Signal level:-42 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=1000
Extra:atim=0

[/code]

bbmak
Posts: 11
Joined: 2007/02/09 07:51:08

Re: Problem setting wireless

Post by bbmak » 2007/05/11 19:35:46

i use the Toshiba Port?g? 2000
here is the hardware spec
http://reviews.cnet.com/Toshiba_Port_g_2000_series/4507-3121_7-8529761.html?tag=sub


I only use system-config-network to config

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Problem setting wireless

Post by Lenard » 2007/05/11 20:22:46

Thanks for the review, but it does not provide any useful information. It is more of a marketing overview than any thing else. but it did provide me with enough of a clue to find out that the wireless interface is a Toshiba branded orinoco[_cs] type device. The typed command 'lspci -v' minus the single quotemarks is a lot more useful.

The first link in my earlier reply is helpful, basically it say that WEP encryptions must match on the wireless router and on the wireless device on/in the laptop or you will not be able to get a connection. This is for both the password and the encryption method, if the router is using 64-bit encryption and your laptop is using 128-bit then no connection is possible. if you are sending a string value (plain text) password then the /etc/system/network-scripts/ifcfg- should look like: KEY=s:

Otherwise you must use the hex password value the router is expecting, see the routers 'web interface' for this value.

The default for Linux is to use the 128-bit encryption for wireless devices with WEP. Also with some older orinoco devices wap encryption does not work or causes problems (no support for this in the firmware for the device).

Post Reply