You are not logged in.

#1 2016-11-07 23:05:32

harrypotter
Member
Registered: 2016-11-07
Posts: 6

[SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

Greetings,

This is the first time I was sucessfully able to restart into an arch system (been trying for ages). And, while I was able to walk through what I thought was the successful implementation of the install guide, once I had restarted into the system, it appears that many things are missing. Mind you, I am able to login and there is a prompt and everything. However, many of the tools (as listed above) that are used for configuring the wifi are not installed (or available, idk). Anyway, I would post the output from any of the various logs, however I don't have internet, so that's impossible. The one tool that does appear to be on here is ip but I'm not sure if I can configure everything with just ip. Again, I do apologize for not being able to provide more information. However I am in the perrenial newbie position of not knowing even enough to know what I ought to share. So, if someone could point me in the right direction I would be really grateful.

Notes: somethings that I have tried is to look up my interface wlp2s0 which is down according to ip and of course ping does not return anything; neither does pacman allow me to install anything (naturally).


Thanks,
~H.

Last edited by harrypotter (2016-11-08 18:39:10)

Offline

#2 2016-11-08 01:18:55

ErSoul
Member
Registered: 2012-01-26
Posts: 54

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

All those tools are deprecated. iproute2 is the way to go. i'll give you some basic steps to get up your cable interface (assuming your behind a dhcp server), so you can install the 'iw' package, and all you wanna do:

1. Check your network interfaces with

ip link

.
2. When you identified your ethernet NIC (probably 'enoX' or 'ethX' ; X= number ), then set up your interface with

ip link set $MY_INTERFACE up

3. Finally, start listening for a dhcp package with

dhclient -v $MY_INTERFACE

or with

dhcpcd $MY_INTERFACE

Note that $MY_INTERFACE should be whichever interface you chose from the the first step.

Offline

#3 2016-11-08 01:44:57

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

Offline

#4 2016-11-08 03:32:21

harrypotter
Member
Registered: 2016-11-07
Posts: 6

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

Ok, I executed the steps as ErSoul outlined, and the interface is "UP" but ping does not work. Is there something else I am missing?

Offline

#5 2016-11-08 04:34:24

ErSoul
Member
Registered: 2012-01-26
Posts: 54

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

Show us the output of

ip addr

and

ip ro

Offline

#6 2016-11-08 04:39:58

harrypotter
Member
Registered: 2016-11-07
Posts: 6

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

ok,
no output for "ip ro"
ip addr:
1: lo: <LOOPBACK,UP,OWER_UP> mtu 65536 qdisc noqueue....link/ether 3c:a9:f4...
2. ok, sorry I can't type all this out. but all the interfaces are UP.

Offline

#7 2016-11-08 04:51:11

ErSoul
Member
Registered: 2012-01-26
Posts: 54

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

At least show me the ip address and netmask that ip addr returns, with that, I could help you adding a route with ip route

Offline

#8 2016-11-08 09:06:09

Expatbrat
Member
From: Ireland
Registered: 2014-01-28
Posts: 29

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

Follow the instructions for copying and pasting code in the wiki so you do not have to type everything!

Last edited by Expatbrat (2016-11-08 09:07:47)

Offline

#9 2016-11-08 13:51:42

harrypotter
Member
Registered: 2016-11-07
Posts: 6

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

Ok, i mean i'll type it out because I literally don't have internet on the other machine and I am reading directly from the screen. Unless there is some way to copy and paste code from an offline machine that I don't know about?

here is the results from ip addr, verbatim:

1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc no queue state UNKNOWN group default qulen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valide_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wlp2s0: <NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc mq state DOWN group default qulen 1000
link/ether 3c:a9:f4:62:31:94 brd ff:ff:ff:ff:ff:ff
3: eno1 <NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc fq_code1 state DOWN group default qulen 1000
link/ether f0:1f:af:41:74:46 brd ff:ff:ff:ff:ff:ff

That is all...

Offline

#10 2016-11-08 13:59:40

ayekat
Member
Registered: 2011-01-17
Posts: 1,626

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

It looks like your machine has both a wireless NIC (wlp2s0) and an ethernet NIC (eno1).

In order to make the wireless network work, you can read through https://wiki.archlinux.org/index.php/Wireless.
In particular, you enable the card with `ip link`, then use wpa_supplicant to authenticate with a wireless network, then use some DHCP client (dhclient, dhcpcd, systemd-networkd, ...) to get an IP address and join the network. If you haven't installed wpa_supplicant during the installation, you will need to connect to the internet otherwise (either through the live ISO again, or simply through a wired connection).

In order to make the wired network work, you can read through https://wiki.archlinux.org/index.php/Ne … IP_address.
In particular, you plug in an ethernet cable, then enable the card with `ip link`, then use some DHCP client to get an IP address and join the network.

(of course I'm oversimplifying stuff here - you are in any case encouraged to read the wiki articles)

Last edited by ayekat (2016-11-08 14:00:29)


pkgshackscfgblag

Offline

#11 2016-11-08 14:06:11

ErSoul
Member
Registered: 2012-01-26
Posts: 54

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

Your interface is not up. Set it up, like i told you on the first reply, and then just paste.
in resume, do the following:

ip link set eno1 up
dhcpcd eno1

dhcpcd should give you all the routes to communicate with the network, and also assign you an ip address. if not, check to see if the cable is not damage.

if dhcpcd does its job, then u should see your ip address with the following command

ip addr show eno1 | grep -w inet | cut -d ' ' -f 6

and also have ip ro should return some output.

if all respond as expected, then you've joined succesfully to the network. Then you can install whichever tool you'll need or want...

Offline

#12 2016-11-08 14:07:48

harrypotter
Member
Registered: 2016-11-07
Posts: 6

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

Ok, thanks
That is what I expected I would have to do. I'm just confused as to why the base installation did not include wpa_supplicant and many of the other wifi management tools included in the live ISO.

Offline

#13 2016-11-08 14:20:44

harrypotter
Member
Registered: 2016-11-07
Posts: 6

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

ErSoul,

I just plugged it into an ethernet cable and ran the commands and now it works; well, the ethernet connection works. So now I can solve the wifi connection.

Thanks

Offline

#14 2016-11-08 14:36:29

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,646

Re: [SOLVED] Missing Wifi tools, ifconfig, iwconfig, iwlist

harrypotter wrote:

Ok, thanks
That is what I expected I would have to do. I'm just confused as to why the base installation did not include wpa_supplicant and many of the other wifi management tools included in the live ISO.

Because many people don't need those tools in their base installation. You are responsible for installing what you need.

Offline

Board footer

Powered by FluxBB