Skip to content

Configure network interfaces on a GNU/Linux system

License

Notifications You must be signed in to change notification settings

pticon/netconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netconfig

Configure network interfaces on a GNU/Linux system.

Usage

Display or set network informations
usage: netconfig [options] [interface]
options:
	--help  |-h           : display this and exit
	--dhcp  |-d           : dhcp mode
	--eth   |-e <ethaddr> : set MAC address
	--ip    |-i <ip>      : set ip address
	--mask  |-m <mask>    : set ip mask address
	--bcast |-b <addr>    : set broadcast address
	--gw    |-g <gw>      : set the default gateway
	--ns    |-n <server>  : set the name server
	--save  |-s           : save the configuration
	--csv   |-c           : output display as a CSV
	--all   |-a           : consider all of the interfaces

Example

./netconfig -ac

netconfig will display in a CSV format about if (interface), plug (state), dyn (dynamic), mac (mac address), ip (IP address), mask (network mask), bcast (broadcast address), gw (gateway) and ns (Name server).

License

netconfig is licensed uder the MIT license.

About

Configure network interfaces on a GNU/Linux system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published