User Tools

Site Tools


arch_networking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arch_networking [2012/01/25 14:58]
walter
arch_networking [2016/01/19 21:01]
walter removed
Line 1: Line 1:
-Use netcfg to setup multiple NICs. +[[https://wiki.archlinux.org/index.php/Netctl]]
- +
-Example files are in /etc/network.d/​examples +
- +
-Copy the example file to /​etc/​network.d/ +
- +
-The name of the file identifies with network profile it is and is needed later +
- +
-Set the hostname and network profiles to use at startup in /​etc/​rc.conf and add "​net-profiles"​ to the daemons line as a replacement for the "​network"​ enrty +
- +
-<file | /​etc/​rc.conf>​ +
-# ----------------------------------------------------------------------- +
-# NETWORKING +
-# ----------------------------------------------------------------------- +
-+
-# HOSTNAME: Hostname of machine. Should also be put in /​etc/​hosts +
-+
-HOSTNAME="​chopin"​ +
- +
-# Enable these network profiles at boot-up. ​ These are only useful +
-# if you happen to need multiple network configurations (ie, laptop users) +
-#   - set to '​menu'​ to present a menu during boot-up (dialog package required) +
-#   - prefix an entry with a ! to disable it +
-+
-# Network profiles are found in /etc/network.+
-+
-# This now requires the netcfg package +
-+
-NETWORKS=(YOUR PROFILES GO HERE AND ARE SEPARATED BY SPACES) +
- +
-DAEMONS=( *blah* net-profiles *blah* ) +
-</file>+