A while back, I used my Arch laptop to pre-configure a router for a customer, which of course required me set up a static IP on my eth0. I should have done this from the command line, instead I used the graphical Network Manager. I had a lot of trouble getting the graphical application to accept a change in IP, and in getting to go back to DHCP when I was done, and I wound up going back and forth between the Network Manager and terminal commands. I've mentioned before my ISP is behind two NATed networks, the router in the outbuilding where the uplink to the ISP is (this is also the network my server is on) and the router in my house. The static IP I used for the customer router configuration was in the same address range as my "outside" network Though I successfully got eth0 back on DHCP, there was a phantom adapter still out there on the same range as the network my server was on, preventing me from ssh'ing in. I did come across a hack, if I set eth0 to an IP and mask of all zeros, then stopped and started dhcpcd on eth0, I could connect. I had also used the laptop on a customer's WiFi recently, and the connection was horrible.
I decided to see if just installing the wicd network manager would clear everything up (and it did), but before installing Wicd, I had to update the system, so first a little bit about pacman
Arch's primary package manager is pacman. The -S operator is for sync operations, including package installation, for instance:
# sudo pacman -S <package_name>
..... installs a package from the standard repos and is more or less equivalent to the Debian instruction ....
# sudo apt-get install <package_name>
The option -y used with -S refreshes the master package list and -u updates all out of date packages, so the command
# sudo pacman -Syu .... is equivalent to the Debian instruction ....
# sudo apt-get update .... followed by ....
# sudo apt-get upgrade
# sudo pacman -Syu <package_name1> <package_name2>
would update the system, then install the selected packages
# sudo pacman -Sc
.... cleans packages that are no longer installed from the pacman cache as well as currently unused sync databases to free up disk space. I got 3Gb back! 'pacman -Scc' removes all files from the cache.
# systemctl stop <package_name> i.e # systemctl stop NetworkManager
# systemctl disable <package_name> i.e. # systemctl disable NetworkManager
# gpasswd -a USERNAME users
# systemctl start wicd.service
# wicd-client
# systemctl enable wicd.service
Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.
The HPR Website Design is released to the Public Domain.