You are not logged in.

#1 2010-02-18 22:13:38

thesimpsons
Member
From: Rockville, MD
Registered: 2009-03-30
Posts: 15

How to connect to the Wi-Fi?

I don't have Internet, so I go to the library use free Wi-Fi(no password  necessary).  Now I have base system(archlinux-2009.08-core-i686), when I install I choose base and base-devel packages, also I choose netcfg and wireless tool. DHCP is on, my wireless adapter is atheros AR5007, I guess  the drive is fine(I didn't install the adapter drive).  I can scan the ESSID, but just can't connect, when I ping google.com it said unknow hostname. I read the arch wiki, but I don't know what's wrong. Please help, I need the Internet to get my x-windows.

I am a freshman, can you recommend some books about linux? I want to study more Arch linux. Thank you for your patient.


I'm learning English.  If there are any grammar or other mistakes, please tell me. Thank you.

Offline

#2 2010-02-18 22:33:02

ArchSoarer
Member
From: Cho-fu-sa
Registered: 2009-11-02
Posts: 23

Re: How to connect to the Wi-Fi?

You should check this link on the ArchWiki (your loyal friend big_smile) http://wiki.archlinux.org/index.php/Wireless#madwifi
Or you could get the Arch Linux Handbook too if you want.

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

If you have the essid try using ifconfig. I'm gonna sume your connection is named wlan0 because I have the same wireless card. Well, then try this as root:

ifconfig wlan0 up

Now that your card is active, do this:

 iwconfig wlan0 essid ESSIDNAME

or

 iwconfig wlan0 mode Managed essid ESSIDNAME

Where ESSIDNAME is... well you should know. The Managed mode should work fine. After that, do this:

 dhcpcd wlan0

To get an automatic IP address.

You'll have some messages on console... and that should be working now.

Last edited by ArchSoarer (2010-02-18 22:36:29)

Offline

#3 2010-02-18 22:42:01

Staerseus
Member
From: Prague
Registered: 2009-11-07
Posts: 109
Website

Re: How to connect to the Wi-Fi?

Did you try to connect in this order?

1) iwlist wlan0 scanning (maybe you have another name than wlan0)
2)iwconfig wlan0 essid ESSId
3)dhcpcd wlan0

And then it should work fine :-)


Thanks for the GNU/Linux. EDIT:Thanks for the GNU/Linux, Linux guru, for the manuals and wikis.

Offline

#4 2010-02-18 22:42:32

Staerseus
Member
From: Prague
Registered: 2009-11-07
Posts: 109
Website

Re: How to connect to the Wi-Fi?

Oh, I am so slow :-)


Thanks for the GNU/Linux. EDIT:Thanks for the GNU/Linux, Linux guru, for the manuals and wikis.

Offline

#5 2010-02-18 23:50:36

thesimpsons
Member
From: Rockville, MD
Registered: 2009-03-30
Posts: 15

Re: How to connect to the Wi-Fi?

Staerseus wrote:

Did you try to connect in this order?

1) iwlist wlan0 scanning (maybe you have another name than wlan0)
2)iwconfig wlan0 essid ESSId
3)dhcpcd wlan0

And then it should work fine :-)

I did this twice  but when I ping google.com

it's unknow host name


I'm learning English.  If there are any grammar or other mistakes, please tell me. Thank you.

Offline

#6 2010-02-18 23:54:48

Parter
Member
From: Kiev, Ukraine
Registered: 2010-01-31
Posts: 22

Re: How to connect to the Wi-Fi?

Post the output of iwconfig

Offline

#7 2010-02-19 00:00:11

ArchSoarer
Member
From: Cho-fu-sa
Registered: 2009-11-02
Posts: 23

Re: How to connect to the Wi-Fi?

Yes, please give us some more info on iwconfig or even on modules you're running. Post the iwconfig and lsmod output.

Offline

#8 2010-02-20 14:45:01

thesimpsons
Member
From: Rockville, MD
Registered: 2009-03-30
Posts: 15

Re: How to connect to the Wi-Fi?

Parter wrote:

Post the output of iwconfig

1) iwlist wlan0 scanning (maybe you have another name than wlan0)  (can find the wi if)
2)iwconfig wlan0 essid wap      (nothing show on)
3)dhcpcd wlan0  (alreday on)


I'm learning English.  If there are any grammar or other mistakes, please tell me. Thank you.

Offline

Board footer

Powered by FluxBB