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
— (current)
Line 1: Line 1:
-Use netcfg to setup multiple NICs. 
  
-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.d 
-# 
-# This now requires the netcfg package 
-# 
-NETWORKS=(YOUR PROFILES GO HERE AND ARE SEPARATED BY SPACES) 
-</​file>​ 
arch_networking.1327503492.txt.gz ยท Last modified: 2021/05/02 21:36 (external edit)