Additional Network Config Examples
From ArchWiki
[edit] Example configs
These are additional contributed network profiles for the new Arch network scripts. These are currently unstable, and are detailed here: Network Scripts
Basic examples are found in /etc/network.d/examples/ included with the scripts
- My university configuration
[main] description = university wireless connection connection = wireless security = "wpa-config" scan = "on" interface = "ipw0" timeout = "20" ip = "dhcp"
- My home configuration
[main] description = iphitus' wireless network connection = wireless essid = iphitus security = wpa key = NotTellingYou timeout = 10 interface = ipw0 scan = on ip = dhcp dhcp-timeout = 10
- Example multi profile configuration file (no bonding enabled)
[main] connection = multi description = home networks profiles = wifi ethernet [wifi] description = iphitus' wireless network connection = wireless essid = iphitus security = wpa key = NotTellingYou timeout = 10 interface = ipw0 scan = on ip = dhcp dhcp-timeout = 10 [ethernet] connection = ethernet ip = dhcp dhcp-timeout = 2
- Contributed Example
[main] description = Gaya WiFi connection = wireless essid = "Gaya" security = "wpa-config" scan = "on" interface = "eth1" timeout = "20" ip = "dhcp" dhcp-timeout = 10 post_up = "mount /mnt/home_remote; mount /mnt/pub;" pre_down = "umount -l /mnt/home_remote; umount -l /mnt/pub ;"