A shell script to configure network interfaces. I have zero clue as of why something like this exists.

Nova 7d9474bd77 Added sdhcp support to setnet 2 years ago
ChangeLog 7d9474bd77 Added sdhcp support to setnet 2 years ago
LICENSE d983d6bf44 add LICENSE 4 years ago
Makefile 5bf16cd24e Forgot a very silly detail there : 2 2 years ago
README.md d3889660a2 Updated README.md 2 years ago
setnet-dhclient 6738eceb72 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 2 years ago
setnet-dhcpc 6738eceb72 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 2 years ago
setnet-dhcpcd 6738eceb72 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 2 years ago
setnet-sdhcp 7d9474bd77 Added sdhcp support to setnet 2 years ago
setnet-udhcpc 1c144ba1db Post hoc, ergo propter hoc. 2 years ago
setnet.8 a140e81f37 Version 0.4 5 years ago
setnet.8.gz d467e9c538 See the changelog for changes 2 years ago
setnet.8.html d467e9c538 See the changelog for changes 2 years ago
setnet.desktop 5cdf66cf48 Added .desktop file 2 years ago
setnetrc 19650bae5d towards setnet-0.4 5 years ago
wpa_setnet.conf 037d978bb8 wtf is this cr*p 2 years ago

README.md

setnet.sh

This is a simple shell script to configure and manage network interfaces. At the moment, it is only able to bring up ethernet and wi-fi networks (WPA-Personal and WPA-Enterprise), using either static or dhcp-based IP configuration.

For more information, please visit the webpage:

http://kalos.mine.nu/setnet

Dependencies

setnet.sh depends on the following packages:

  • a standard posix shell (tested with bash, busybox, dash, ksh, mksh, posh, yash, zsh)
  • dialog
  • wpa_supplicant
  • iproute2
  • a DHCP client (default is dhclient, but also dhcpc , dhcpcd and udhcpc are available as options with DHCPC=client at install time)
  • iw