You are not logged in.

#1 2012-04-23 03:01:16

Babkock
Member
Registered: 2012-04-03
Posts: 13

Can't connect to wireless router - "iwlist wlan0 scan" gives no result

Hello, everyone. I installed Arch Linux alongside Windows and Ubuntu on my laptop, just a few hours ago. I cannot connect to the internet at all. It feels like I've tried everything. The SSID of my wireless router is called "shiggy_diggy".

iwconfig wlan0 essid "shiggy_diggy"

This doesn't work.

iwlist wlan0 scan

This doesn't give me any results. And I'm running this as root. My wireless router doesn't have a password, so I shouldn't have to use wpa_supplicant right? On the "select packages to install" screen of the installation process, I installed everything in "base" and "base-devel", plus the majority of the packages on the list. I tried searching these forums, and I can't find any threads with the same problem. They either use wpa_supplicant, or they say "thanks, that worked" when it doesn't work for me.

Can someone give me a simplified version of how to do this?

Offline

#2 2012-04-23 04:00:18

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Can't connect to wireless router - "iwlist wlan0 scan" gives no result

To your first question: No, you dont need wpa_supplicant if it is unencrypted.
To the second: Post the exact device-id of the wlan card (the relevant line of lspci -nn or lsusb) and which driver you use with it. Also look at the iwconfig basic output.
If setting the ESSID does not work like you do it, there is very likely not the correct driver loaded.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#3 2012-04-23 05:14:30

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Can't connect to wireless router - "iwlist wlan0 scan" gives no result

I suggest you also take a few minutes to read the Wireless Setup wiki page so you have an idea of what to check and which details to provide for us to help you troubleshoot this.


Burninate!

Offline

#4 2012-04-23 12:29:42

sealclubber
Member
Registered: 2012-04-16
Posts: 34

Re: Can't connect to wireless router - "iwlist wlan0 scan" gives no result

Babkock wrote:

Hello, everyone. I installed Arch Linux alongside Windows and Ubuntu on my laptop, just a few hours ago. I cannot connect to the internet at all. It feels like I've tried everything. The SSID of my wireless router is called "shiggy_diggy".

iwconfig wlan0 essid "shiggy_diggy"

This doesn't work.

iwlist wlan0 scan

This doesn't give me any results. And I'm running this as root. My wireless router doesn't have a password, so I shouldn't have to use wpa_supplicant right? On the "select packages to install" screen of the installation process, I installed everything in "base" and "base-devel", plus the majority of the packages on the list. I tried searching these forums, and I can't find any threads with the same problem. They either use wpa_supplicant, or they say "thanks, that worked" when it doesn't work for me.

Can someone give me a simplified version of how to do this?


I have had no problems with wpa_supplicant, it can work with encrypted and unencrytped connections just fine. In the default /etc/wpa_supplicant.conf file there are examples on how to set up a wireless network with no encryption. It looks something like:

network={
            ssid="shiggy_diggy"
            key_mgmt=none
}

Please don't copy and paste this above crap into a conf file, I have no idea what it looks like without my arch box in front of me big_smile


When I  win the lottery, the first thing I will do, before I buy a new car or a house, would be to buy a goddamn Cisco XR 12000 router and enough T3 lines to wire a country.

http://myanimelist.net/profile/sealclubber

Offline

#5 2012-04-23 17:21:21

earsplit
Member
Registered: 2012-03-31
Posts: 187
Website

Re: Can't connect to wireless router - "iwlist wlan0 scan" gives no result

From the wiki,

ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid [NETWORK NAME]
iwconfig

At this point, iwconfig should show your wireless device up with the specified essid
Now,

dhcpcd wlan0

to get a dynamic IP address.  If your network uses static IP, see the wiki.

An alternative is istalling wicd and adding it to the daemons array on boot. Use wicd-curses to connect.


((( configs :: website )))

Offline

#6 2012-04-23 22:30:02

Babkock
Member
Registered: 2012-04-03
Posts: 13

Re: Can't connect to wireless router - "iwlist wlan0 scan" gives no result

earsplit wrote:

From the wiki,

ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid [NETWORK NAME]
iwconfig

At this point, iwconfig should show your wireless device up with the specified essid
Now,

dhcpcd wlan0

to get a dynamic IP address.  If your network uses static IP, see the wiki.

An alternative is istalling wicd and adding it to the daemons array on boot. Use wicd-curses to connect.

THANK YOU SO MUCH

MAY THE DIVINES BLESS YOU WITH GOLDEN CHALICES TO DRINK FROM

Offline

#7 2012-04-24 05:04:22

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Can't connect to wireless router - "iwlist wlan0 scan" gives no result

Judging from that reaction, I'll take it your issue is resolved smile

Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

Board footer

Powered by FluxBB