Arch Linux Installation log pt. 3 – Getting online

October 7, 2009  |  Arch Linux

After the base Arch Linux system is installed, the next logical step is to get online.

If you are connected to a router through a network cable you probably are online already, but in my case I didn’t sit close enough to my router to be able to use a cable. I had to configure my wireless card to get online.

The first thing I needed to do was to bring the interface up.

To check what interfaces are available:

ifconfig

My wireless interface is called wlan0, so the following command brings the interface up:

ifconfig wlan0 up

I use MAC authentication on my router so I don’t have to worry about any encryption. The following command sets up communcation between my laptop and my router:

iwconfig wlan0 essid "[my SID]"

Now, all I need is an IP address, which I get with the following command:

dhcpcd wlan0

To check that I really are online, I try to ping Google:

ping -c3 www.google.com
ping

There you go. I’m online, and ready to update my system.

Read more at the Arch Linux Wiki



Leave a Reply