You are not logged in.

#1 2014-11-27 13:23:01

chosentorture
Member
Registered: 2014-10-31
Posts: 58

[solved] pacstrap, iw, ifconfig commands not found

I installed the latest arch linux on my laptop yesterday and followed the beginners guide with two exceptions. I installed the Intel microcode update on grub after the installation and I didn't configure my network settings for Ethernet and WiFi. I was connected to the internet during the installation via USB tethering through my Android.

I've already added a user and I'm trying to configure my wireless network to work and when I tried to use

iw dev

as root, I get the following error:

-bash: iw: command not found 

Similarly, ifconfig and pacstrap yield the same result when I try to use them. What did I screw up?

Last edited by chosentorture (2014-11-27 13:44:19)

Offline

#2 2014-11-27 13:29:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [solved] pacstrap, iw, ifconfig commands not found

Nothing.  None of those tools are part of a base install.  You'll need to re-tether, or get an ethernet connection, then install the tools you need.  But there is no need for pacstrap - you should use pacman to install packages on a running system, pacstrap is a wrapper script specifically (and only) for the initial installation - use pacman.

EDIT: I don't know the details or the politics behind it, but `ip` from iproute2 which is part of the base install is essentially replacing ifconfig.

Last edited by Trilby (2014-11-27 13:30:55)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-11-27 13:37:21

chosentorture
Member
Registered: 2014-10-31
Posts: 58

Re: [solved] pacstrap, iw, ifconfig commands not found

Trilby wrote:

Nothing.  None of those tools are part of a base install.  You'll need to re-tether, or get an ethernet connection, then install the tools you need.  But there is not need for pacstrap - you should use pacman to install packages on a running system, pacstrap is a wrapper script specifically (and only) for the initial installation.

But I installed both the base packages and the base-devel packages.
Specifically, I did this sequentially;

pacstrap /mnt base

During the downloading and installation process, the screen went black and so I pressed the Up Arrow key and the the package that was downloading seemed interrupted by my key press and started on another line. After that,

pacstrap /mnt base-devel

Did I proceed correctly and are the errors mentioned in the OP normal after this post?

Last edited by chosentorture (2014-11-27 13:38:27)

Offline

#4 2014-11-27 13:39:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [solved] pacstrap, iw, ifconfig commands not found

Yes it sounds like you did everything right.  As I said, none of the tools you mention are part of a base install (i.e., not part of the base or base-devel groups).  The errors you are getting are expected - those commands are not found as they have not been installed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-11-27 13:43:27

chosentorture
Member
Registered: 2014-10-31
Posts: 58

Re: [solved] pacstrap, iw, ifconfig commands not found

Oh. OK. Thanks.

Offline

Board footer

Powered by FluxBB