You are not logged in.

#1 2016-01-28 18:59:21

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Forgot to install dialog during install: no wifi now [solved]

I have installed Arch, and during the install I used wifi-menu and connected to my WiFi to download updates and stuff. However, now my install is complete and I've rebooted, I can no longer use wifi-menu like I did during the install to enable my WiFi. It now gives the message below

$sudo wifi-menu
Please install 'dialog' to use wifi-menu


If I try to install dialog, I can't, because I need an internet connection. So what am I supposed to do?

The only thing I've done so far is done a $ip a, and I can see my wifi link is wlo1 (at least I assume that is what it is). But it says the state is DOWN. So I've tried the command below to try and bring it up

$sudo ip link set wlo1 up

This doesn't help. I'm so stuck with how to fix this. Please help me.

Last edited by sg4rb0 (2016-01-30 21:51:21)

Offline

#2 2016-01-28 19:04:02

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

Re: Forgot to install dialog during install: no wifi now [solved]

The installation iso includes many tools that are not part of a base install.  Connect manually or use a wired connection, then install the tools you want with pacman.


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

Offline

#3 2016-01-28 19:09:53

g2g591
Member
Registered: 2007-12-24
Posts: 54

Re: Forgot to install dialog during install: no wifi now [solved]

probably one of the easier ways to fix this if you can't really connect manually, would be to reboot from the install cd, setup your wifi using wifi-menu, then mount your arch linux install back onto /mnt

mount /dev/sdXY

(replace sdxy with the actual partition you installed it to) and then chroot into the install

arch-chroot /mnt /bin/bash

. From here you'll be able to install dialog

pacman -S dialog

(though you should probably also install  iw wpa_supplicant since it seems you missed the line in the install guide directing you to install all 3) and then should be fine to exit from the chroot, and reboot without the install cd this time.

Last edited by g2g591 (2016-01-28 19:10:47)

Offline

#4 2016-01-28 19:33:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Forgot to install dialog during install: no wifi now [solved]

Please edit your first post and choose a title that actually reflects your issue: https://wiki.archlinux.org/index.php/Fo … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-01-28 19:42:37

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Re: Forgot to install dialog during install: no wifi now [solved]

jasonwryan wrote:

Please edit your first post and choose a title that actually reflects your issue: https://wiki.archlinux.org/index.php/Fo … ow_to_post

Is my title any better? If not, I just don't know how to make it any more clear.

Offline

#6 2016-01-28 20:02:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Forgot to install dialog during install: no wifi now [solved]

Not really: see my edit.

Imagine how your title will look in a search page; you want something that is relevant and descriptive, not just a plea for help...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2016-01-28 20:02:53

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Re: Forgot to install dialog during install: no wifi now [solved]

Ok I connected my cable instead, and issued:

$sudo ip link set enp025 up
$sudo pacman -S dialog
$sudo dhcpcd enp025
$sudo wifi-menu

Then I get an error of: You need to install 'wpa_supplicant'

When I issue sudo -S wpa_supplicant, it says error wpa_supplicant not found. What next?

Offline

#8 2016-01-28 20:05:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Forgot to install dialog during install: no wifi now [solved]

How did you install Arch?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2016-01-28 20:10:34

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Re: Forgot to install dialog during install: no wifi now [solved]

How I installed Arch
#find USB disk to install Arch to
fdisk -l

#formart the partitions. I used full disk + made it bootable
cfdisk /dev/sdc

#exit and make the file system
mkfs.ext4 /dev/sdc1

#mount drive
mount /dev/sdc1 /mnt

#setup WiFi
wifi-menu

#Use the pacstrap script to install the base group:
pacstrap /mnt base

#Generate the fstab file
genfstab -p /mnt >> /mnt/etc/fstab

#root into the mount point
arch-chroot /mnt
#set the password
passwd

#set the pc name
echo computer > /etc/hostname

#sort the timezone
ln -s /usr/share/zoneinfo/Greenwich /etc/localtime
locale-gen

#create a user
useradd -m -g users -s /bin/bash steve
#set the passwod
passwd steve

#install sudo
pacman -S sudo

#configure the sudo file
EDITOR=nano visudo
##uncomment line below
%sudo  ALL=(ALL) ALL
#save and then add steve to the sudo group
groupadd sudo
usermod -G sudo steve
#Check change was implemented
cat /etc/passwd

#download grub packages
pacman -S grub-bios
#install grub
grub-install /dev/sdc
grub-mkconfig -o /boot/grub/grub.cfg

#make the init file
mkinitcpio -p linux
exit

#unmount your drive and reboot
umount -R /mnt
reboot

Offline

#10 2016-01-28 20:15:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Forgot to install dialog during install: no wifi now [solved]

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code

In code tags paste the full output of the command to install wpa_supplicant.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2016-01-28 20:18:10

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Re: Forgot to install dialog during install: no wifi now [solved]

sudo pacman -S wpa-supplicant
error: target not found: wpa-supplicant

Last edited by sg4rb0 (2016-01-28 20:21:27)

Offline

#12 2016-01-28 20:19:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Forgot to install dialog during install: no wifi now [solved]

That isn't the full output: that is the command...

Also, that is not what the package is called.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2016-01-28 20:22:01

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Re: Forgot to install dialog during install: no wifi now [solved]

OK I updated it with the error. You say it's not the package? Why does it tell me I need to install it then when I try and use wifi-menu?

Offline

#14 2016-01-28 20:23:07

sg4rb0
Banned
Registered: 2016-01-28
Posts: 27

Re: Forgot to install dialog during install: no wifi now [solved]

Oh my god, it's an underscore. Sorry!

Offline

#15 2016-01-28 21:33:30

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

Re: Forgot to install dialog during install: no wifi now [solved]

This error is explainable - as you note - by using a hyphen rather than an underscore.  Earlier you had a different error:

sg4rb0 wrote:

When I issue sudo -S wpa_supplicant, it says error wpa_supplicant not found. What next?

You left out the command `pacman` so you passed the -S flag to sudo (which would look for the password on stdin) and it tried to then execute wpa_supplicant.  But you hadn't installed wpa_supplicant yet.

In short, your initial problem came from working through the installation guide to quickly and not following it carefully.  Two subsequent problems have come from you typing to quickly and not following instructions carefully.  I sense a theme.

We can help you learn all about you linux system.  But you must bring the patience and attention to detail yourself.


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

Offline

#16 2016-01-29 11:53:58

sam3w
Member
Registered: 2016-01-28
Posts: 3

Re: Forgot to install dialog during install: no wifi now [solved]

Its always adivised to follow the arch wiki for installation https://wiki.archlinux.org/index.php/beginners'_guide
Run

 pacman -S iw wpa_supplicant dialog 

which you didnt do during your installation.Then follow https://wiki.archlinux.org/index.php/Wi … figuration

Offline

#17 2016-01-29 13:16:44

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

Re: Forgot to install dialog during install: no wifi now [solved]

sg4rb0, is this solved now?  If so, please mark this (and your other solved threads) as solved as you've been asked and instructed to do previously.

EDIT: as you seem to miss many things in reading instructions, I'll not assume that you can read between the lines: If multiple forum moderators need to make the same request for you to follow our protocols multiple times and you chose not to do so, you should not be surprised if your ability to post to the forums is eventually terminated.


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

Offline

Board footer

Powered by FluxBB