Welcome to the tutorial guide. The guide will provide a user with guidancv and instructions on how to configure and udpdate new arch linuxbase system.
Configure and Update the New Arch Linux base system
Your new Arch Linux system will boot up and finish with a login prompt (you may want to change the boot order in your BIOS back to booting from hard disk).
Please note that the new Arch Linux base system is now a functional GNU/Linux environment ready for customisation. Now you can build this elegant set of tools according to your needs and purposes.
Now, please login with the root account. Let’s configure pacman and update the system as root, then add a normal user. Please follow the steps as mentioned below:
Configuring the network
If you are encountering problems with network configuration then this will prove helpful for you.
If the network is configured properly then your network will be working. Let’s do a test by pinging google by running following command:
# ping -c 3 www.google.com
If by running the ping command for google, an “unknown host” error is received, this will show that your network is not properly configured. It is a good idea to double-check the following files for integrity and proper settings:
/etc/rc.conf # Specifically, check your HOSTNAME= and NETWORKING section.
/etc/hosts # Double-check your format. (See above.)
/etc/resolv.conf # If you are using a static IP. If you are using DHCP, this file will be dynamically created and destroyed by default, but can be changed to the preference.
Wired LAN
Please check your Ethernet with
# ifconfig -a
By running this command, all interfaces will be listed. You should see an entry for eth0, or perhaps eth1.
• Static IP
If you would like to set a new static IP then please run following command:
# ifconfig eth0 netmask up
and the default gateway with
# route add default gw
Please verify that /etc/resolv.conf contains the DNS server and add it if it is missing. Now you can check the network again by pinging www.google.com. If everything is working now you can adjust /etc/rc.conf in a similar way in which you were advisd for static IP.
• DHCP
If you have a DHCP server/router in the network then please run this command:
# dhcpcd eth0
If it is working, then please adjust /etc/rc.conf for dynamic IP.
Wireless LAN
• Please ensure that the driver has created a usable interface by running this command:
# iwconfig
• Bring the interface up with ifconfig up. e.g.:
# ifconfig wlan2 up
• If you want to specify the id of the wireless network, then please run the following command:iwconfig essid .
• If you are using WEP; then please run following command: iwconfig essid key , e.g.:
# iwconfig wlan2 essid linksys key ABCDEF01234
• You can request an IP address with dhcpcd . For example:
# dhcpcd wlan2
• Ensure you can route:
$ ping -c 3 www.google.com
Analog Modem
If you are interested in using a Hayes-compatible, external, analog modem, then please note that you will need to at least have the ppp package installed. You can modify the file /etc/ppp/options to suit your needs and according to man pppd.
You have to define a chat script to supply your username and password to the ISP after the initial connection has been established. The manpages for pppd and chat have examples in them that should suffice to get a connection up and running if you’re either experienced or stubborn enough. With udev, your serial ports usually are /dev/tts/0 and /dev/tts/1.
ISDN
If you are interested in setting up ISDN, then please follow the following steps:
Install and configure hardware
Install and configure the ISDN utilities
Add settings for your ISP
The current Arch stock kernels include the necessary ISDN modules, and you will not need to recompile the kernel unless you are about to use rather odd ISDN hardware. After physically installing the ISDN card in the machine or plugging in the USB ISDN-Box, you can try loading the modules with modprobe.
Please note that nearly all passive ISDN PCI cards are handled by the hisax module, which needs two parameters: type and protocol. You should set protocol to ‘1′ if the country in which you are residing uses the 1TR6 standard, ‘2′ if it uses EuroISDN (EDSS1), ‘3′ if you’re hooked to a so-called leased-line without D-channel, and ‘4′ for US NI1.
The type parameter depends on your card; a list of all possible types can be found in the README.HiSax kernel documentation. You can choose the card and load the module with the appropriate options as below:
# modprobe hisax type=18 protocol=2
This will load the hisax module for my ELSA Quickstep 1000PCI. You should find helpful debugging output in the /var/log/everything.log file, in which you should see your card being prepared for action. Please note that you will probably need to load some USB modules before you can work with an external USB ISDN Adapter.
Once you have confirmed that your card works with certain settings, you can add the module options to your /etc/modprobe.conf by running following command:
alias ippp0 hisax
options hisax type=18 protocol=2
Please note that you will need to add the SPID to the t
After you have configured your ISDN card with the isdnctrl utility, you should be able to dial into the machine you specified with the PHONE_OUT parameter, but fail the username and password authentication. In order to make this work please add your username and password to /etc/ppp/pap-secrets or /etc/ppp/chap-secrets as if you were configuring a normal analogous PPP link, depending on which protocol your ISP uses for authentication. If in doubt, put your data into both files.
If you have set up everything in a correct way you will be able to establish a dial-up connection with
# isdnctrl dial ippp0
as root, but if you have any problems then please remember to check the logfiles.
If you followed the advise and guidance as provided in this tutorial guide, then you would have successfully updated and configured the Arch Linux base system.