You are not logged in.

#1 2008-03-16 18:04:41

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

iwlist scan does nothing // netcfg

I'm trying to merge to netcfg instead of wicd and most of it works. Problem one is that  "iwlist wlan0 scanning" says nothing is found when a normal user, but does as root. Can I make it work with a normal user? Same goes for netcfg-menu, which I have to do as root.

Second is when I try to connect to my wireless network, it just fails. It doesn't say why though. In wicd the password was as wep (hex), do I have to do that with this or should just wep be working?

DESCRIPTION="Home Network"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="reasons"
KEY="---------"
IP="dhcp"

Offline

#2 2008-03-16 18:38:26

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: iwlist scan does nothing // netcfg

I added my user to the 'network' group.  http://wiki.archlinux.org/index.php/Groups

EDIT:  I can run iwlist scanning as user.

Last edited by tigrmesh (2008-03-16 18:45:02)

Offline

#3 2008-03-16 18:47:01

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: iwlist scan does nothing // netcfg

I already am in the network group which I thought would cover it. I can run it, it just doesn't find anything whereas root does.

Offline

#4 2008-03-16 20:31:47

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: iwlist scan does nothing // netcfg

in KEY do you have your passphrase or the hashed key? also is your ssid hidden? if not you shouldnt need scan set to yes


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#5 2008-03-16 21:17:57

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: iwlist scan does nothing // netcfg

The key isn't the hashes, that's just for here. It's not hidden either so I'm fixing that now but it still failed.

Offline

#6 2008-03-17 00:28:00

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: iwlist scan does nothing // netcfg

I got all that working with

CONNECTION="wireless"
DESCRIPTION="Home Network"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="reasons"
KEY="1234567890"
IP="dhcp"
TIMEOUT=90
DHCP_TIMEOUT=90
DHCP_OPTIONS="-m 1"

Now to just get it for the normal user.

Offline

Board footer

Powered by FluxBB