You are not logged in.

#1 2012-02-18 15:09:06

saikyou
Member
Registered: 2012-02-18
Posts: 8

Just installed Arch and wireless_tools command is not found

I'm a very new user to Linux (maybe I shouldn't be using Arch, but I don't want to half-ass my linux transition wink) anyway, I just installed Arch, and I made sure (or so I thought) to include wireless_tools in the list of packages to install during initial installation. However, the installation has finished, and I'm trying to configure my wireless and it gives me a command not found error when I input wireless_tools. Might it be hiding somewhere outside of a path directory? Is there some other reason for this? I even went back and re-installed to make sure I selected the wireless_tools package, but nada. All I have here is wireless, so... kind of need it. Help!

Thanks




P.S. side note, but entering that spambot test - and its subsequent output - felt like a fraternity hazing ritual. Seems like there must be some less painful way to prevent spambots. But maybe not. Oh well.

Offline

#2 2012-02-18 15:13:02

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Just installed Arch and wireless_tools command is not found

Wireless_tools is the package name, not the name of the binaries it installs. Pacman can list all the files installed by a package (check the man page).
This should get you started:
https://wiki.archlinux.org/index.php/Wireless_Setup

Offline

#3 2012-02-18 16:17:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Just installed Arch and wireless_tools command is not found

Packages often provide many commands and these commands expect certain syntax, arguments etc. so you should start with the wiki, followed by the man pages (if the things you need are not in the wiki or are not working).
https://wiki.archlinux.org/index.php/FA … tart_it.3F

Offline

#4 2012-02-18 20:16:35

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Just installed Arch and wireless_tools command is not found

The first thing I do after installing a new package with a binary is "pacman -Ql $PACKAGE" to see what's new.

saikyou wrote:

P.S. side note, but entering that spambot test - and its subsequent output - felt like a fraternity hazing ritual. Seems like there must be some less painful way to prevent spambots. But maybe not. Oh well.

I once tried to create an Arch Wiki account from a Windows box at work. It was an AWKward moment.

Offline

#5 2012-02-20 22:58:35

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Just installed Arch and wireless_tools command is not found

pacman -Q wireless_tools (Is it installed?)
try the iwconfig command.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2012-02-22 06:20:15

saikyou
Member
Registered: 2012-02-18
Posts: 8

Re: Just installed Arch and wireless_tools command is not found

Hoookay... so, I had set my computer down for a few days because I was busy, but armed with the knowledge I got here, I was able to proceed a bit on the wireless thing. So I do have wireless_tools. Yay! But now there's a new issue. I have a Dell D620 and I'm trying to connect to my wireless router in my apartment, and so far no dice. I have the Intel iwl3945 driver in there and so far it seems to be recognized OK. But nothing's getting off the ground. I followed all of the instructions in the Wireless Setup wiki page. I scanned the wireless list and found my desired network. I noticed that its mode was listed as "Master", whereas I had set my wireless device to be in ad-hoc mode (which configured without error). So I tried to set it to Master:

# iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
     SET failed on device wlan0 ; invalid argument.

OK... well let's see if we can connect anyway.

# iwconfig wlan0 essid "WARPSTAR-8A96B6" key xxxx
Error for wireless request "Set Encode" (8B2A) :
     SET failed on device wlan0 ; Invalid argument.

Another error message I'm getting:

# iwconfig wlan0 channel auto
[ 2356.005470] iwl3945 0000:0c:00.0: REPLY_REMOVE_STA failed
[ 2356.006867] iwl3945 0000:0c:00.0: failed to remove IBSS station 00:00:00:00:00


argh.... help please!

Offline

#7 2012-02-22 06:56:41

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: Just installed Arch and wireless_tools command is not found

Is the access point wpa / wpa2? If so are you using wpasupplicant?

Offline

#8 2012-02-22 09:43:07

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Just installed Arch and wireless_tools command is not found

Any special setup, or why do you want Master/ad-hoc mode? Have a look at man iwconfig (you can search manpages with "/") for what they mean, you probably want managed.
While youre there, check out the key/enc section - just using "key" expects an hex string.

If you are in control of the router, you should really switch it to WPA. Wep encryption is easily broken.

Offline

#9 2012-02-22 12:03:08

saikyou
Member
Registered: 2012-02-18
Posts: 8

Re: Just installed Arch and wireless_tools command is not found

Since I don't really know much about this stuff at all, I'm just following what was given in the wireless setup guide on the wiki. As for the best mode, perhaps I don't want Master, but it's what comes up as the listed mode of the wireless network when I run "iwlist wlan0 scan". Can I change this? Should I? Do I have to set my wireless card to be the same setting? I'm not entirely clear what the setting means anyway.

I checked the settings of my router and the encryption is given as WPA. I haven't looked into wpasupplicant; perhaps I shall now.

Offline

#10 2012-02-22 18:33:44

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: Just installed Arch and wireless_tools command is not found

saikyou wrote:

Since I don't really know much about this stuff at all, I'm just following what was given in the wireless setup guide on the wiki. As for the best mode, perhaps I don't want Master, but it's what comes up as the listed mode of the wireless network when I run "iwlist wlan0 scan". Can I change this? Should I? Do I have to set my wireless card to be the same setting? I'm not entirely clear what the setting means anyway.

I checked the settings of my router and the encryption is given as WPA. I haven't looked into wpasupplicant; perhaps I shall now.


Yeah, if you are using wpa and you are not using wpa_supplicant you will not be able to connect. That is your problem. Unless you have already installed. Then you could use something like networkmanager, wicd, etc.. You may want to check your rc.conf or post that as well when looking for help. Anyways, the relevant information you are probably looking for is here:

https://wiki.archlinux.org/index.php/Be … ptional.29

Offline

Board footer

Powered by FluxBB