You are not logged in.
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
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
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
Please edit your first post and choose a title that actually reflects your issue: https://wiki.archlinux.org/index.php/Fo … ow_to_post
Offline
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
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...
Offline
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
How did you install Arch?
Offline
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
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.
Offline
sudo pacman -S wpa-supplicant
error: target not found: wpa-supplicantLast edited by sg4rb0 (2016-01-28 20:21:27)
Offline
That isn't the full output: that is the command...
Also, that is not what the package is called.
Offline
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
Oh my god, it's an underscore. Sorry!
Offline
This error is explainable - as you note - by using a hyphen rather than an underscore. Earlier you had a different error:
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
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
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