For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Scripted Interface Configuration

Scripted Interface Configuration

Created by dave. Last edited by dave, 19 years and 17 days ago. Viewed 3,185 times. #1
[edit] [rdf]

Configuring Network Interfaces From A Script

Check out netconfig:

[root@localhost ~]# netconfig --help
Usage: netconfig [OPTION...]
  --bootproto=(dhcp|bootp|none)     Boot protocol to use
  --gateway=STRING                  Network gateway
  --ip=STRING                       IP address
  --nameserver=STRING               Nameserver
  --netmask=STRING                  Netmask
  --hostname=STRING                 Hostname
  --domain=STRING                   Domain name
  -d, --device=STRING               Network device
  --nodns                           No DNS lookups
  --hwaddr=STRING                   Ethernet hardware address
  --description=STRING              Description of the device

Help options: -?, --help Show this help message --usage Display brief usage message

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt