0

I am new to arch-linux, I have only used Ubuntu in the past. I am trying to install arch-linux on my computer, and it boots up to the terminal interface successfully, but I am unable to connect to the internet, so I can't install any packages via pacman, which I need to do since I need to install the desktop-environment, and other packages. I looked at the official installation guide and I tried ip link to connect to it. It game me an error, and I tried ip-link(8) to see if it was listed, but it told me the command was not found. I'm not sure what to do now. Can someone help me out?

4
  • What is your internet connection type: wifi, ethernet, something other? ip-link(8) is not a single command but command ip with parameter link, you said you already run it. What is it's output? Commented Oct 25, 2022 at 1:24
  • ip-link(8) refers to a man page, not a command. Try man 8 ip-link to see it. You said ip link gave an error, but you didn't say what error. ip link shows network interfaces; it does not connect anything. How do you need to connect? Via ethernet? Via wifi? Normally, an ethernet connection should just work, but for wifi, you'd connect using iwctl on the live environment. Commented Oct 25, 2022 at 3:17
  • We can't help you fix an error if we don't know what it is. So please edit your question and show us the exact error you are receiving. Commented Oct 25, 2022 at 9:53
  • Relating (duplicate?) - unix.stackexchange.com/questions/97323/… and unix.stackexchange.com/questions/615054/… Commented Oct 26, 2022 at 11:40

2 Answers 2

0

iwctl command.

To use it list devices, and get the first item (e.g wlan0). Then run this command:

station wlan0 connect *router ssid here*
-1

I managed to fix the problem by using ethernet, instead of attempting to connect to a WiFi network. After connecting my ethernet cable, I could get online and install packages. Thank you to @frabjous for putting me on the right track.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.