LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Centos Newbie : Setting up wireless Network (https://www.linuxquestions.org/questions/linux-newbie-8/centos-newbie-setting-up-wireless-network-4175464632/)

skoda 06-04-2013 01:08 AM

Centos Newbie : Setting up wireless Network
 
Hello all!

i am trying to connect my centos5.9 to the wireless network.
i am using a tohiba satalite pro s200 laptop top.

The problem is

Bringing up interface wlan0:
Determining IP information for wlan0...failed


#cat /etc/sysconfig/network-scripts/ifcfg-wlan0
Quote:

# Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=00:1c:bf:b8:b9:41
NETMASK=
DHCP_HOSTNAME=
IPADDR=
BONDING_OPTS=
DOMAIN=
MASTER=
TYPE=Wireless
ESSID=
CHANNEL=
MODE=
SECURITYMODE=
RATE=

Please help!

Nikosis 06-04-2013 01:44 AM

Welcome to LQ

Do you have Network Manager installed?
if so, the process should be straightforward
This might be helpful

skoda 06-04-2013 02:27 AM

Quote:

Originally Posted by Nikosis (Post 4964974)
Welcome to LQ

Do you have Network Manager installed?
if so, the process should be straightforward
This might be helpful

intrestinglly, i really foudn this link on a google search and followed the commands in this page too
http://wiki.centos.org/HowTos/Laptops/NetworkManager

but when activating wlan0, the mention error message appears.
i also tried activating though this program http://s27.photobucket.com/user/jc61...a/dns.png.html
result is same.

skoda 06-05-2013 12:44 AM

i found a solution is provided for this problem here : http://forums.fedoraforum.org/showpo...76&postcount=2

in that he says to ad these lines to /etc/rc.d/rc.local

Code:

sbin/iwconfig wlan0 mode managed
sbin/iwconfig wlan0 essid "yourid"
sbin/iwconfig wlan0 channel 6
sbin/iwconfig wlan0 mode managed
sbin/iwconfig wlan0 key open xxxxxxxxxx
sbin/ifconfig wlan0 up
dhclient wlan0

what i don't undestand is :
- "yourid" is what?
- key open xxxxxxx, the xxxxxx should replace with what?


All times are GMT -5. The time now is 07:52 AM.