You are not logged in.
After installation, I need to run the below command to connect to the Internet
dhcpcd enp0s3
I installed Arch on Virtual Box 6.1 running in Windows 10 Pro. During installation internet was working by default. After reboot it stopped working. And I had to use the above mentioned command. Could someone suggest options?
Steps I followed to install :-
Created a 15GB virtual disk
After booting to live CD
loadkeys uk
fdisk
to create two partitions for BIOS boot(2MB) and Linux filesystem(remaining)
GPT was also written
mkfs.ext4 /dev/sda2
mount /dev/sda2 /mnt
pacstrap /mnt base linux linux-firmware i3-wm python vim grub xorg-xserver dhcpcd
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime
hwclock --systohc
vim /etc/locale.gen
uncomment en_GB.UTF-8 UTF-8
locale-gen
vim /etc/locale.conf
LANG=en_GB.UTF-8
vim /etc/vconsole.conf
KEYMAP=uk
vim /etc/hostname
hostname
passwd
To set the root password
vim /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 hostname.localdomain hostname
grub-install --target=i386-pc /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
vim /boot/grub/grub.cfg
Reduce wait in grub
useradd -m user1
passwd user1
Last edited by fazillatheef (2021-01-20 23:26:51)
Offline
you need to enable the dhcpcd service after you install it, as with every service you install on arch linux.
Offline
https://wiki.archlinux.org/index.php/Dhcpcd#Running and read the links
Online
This question seems to be asked on a daily basis...
Offline
As the installation guide says: "Complete the network configuration for the newly installed environment, that may include installing suitable network management software. "
Offline
Thanks for the replies.
Offline
I tried the following and it now works automatically
systemctl enable dhcpcd
Offline