Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Network device config file format update

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Robert Helgesson" <rycee AT home.se>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] Network device config file format update
  • Date: Tue, 23 Sep 2003 21:58:20 +0200

Howdy,

The new system for configuring network devices is in the devel grimoire
now. Please try it out, I'm sure there are a few bugs.

The new system is completely backwards compatible so if you're happy
with your existing setup then you won't have to change anything.

There are three new variables:

UP_ON_BOOT - If set to "no" then the device will not be brought up
automatically during boot. Anything else than "no" is
considered as an "yes".
MTU - A number specifying the Maximum Transfer Unit. Can be empty.
POINTOPOINT - The address used for point-to-point mode. Can be empty.

The following functions can be created in the config file. None of them
take any arguments.

do_device_up, do_device_down
Overrides what normally is a call to ifconfig or dhcpcd.

do_route_up, do_route_down
Allows overriding of default call to the route command.

do_status
Overrides the default text printed for this device when doing
"telinit run network status".

on_up, on_down
Run when device has been successfully been brought up and down
respectively.

--
/ Robert Helgesson |-- rycee AT home.se --\
\-- GPG Key ID: 41E95A5B --| http://www.rycee.cx/ /



  • [SM-Discuss] Network device config file format update, Robert Helgesson, 09/23/2003

Archive powered by MHonArc 2.6.24.

Top of Page