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?
2 Answers
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*
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.
ip-link(8)is not a single command but commandipwith parameterlink, you said you already run it. What is it's output?ip-link(8)refers to a man page, not a command. Tryman 8 ip-linkto see it. You saidip linkgave an error, but you didn't say what error.ip linkshows 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 usingiwctlon the live environment.