|Alex Williams 6b6a7b2c92||3 years ago|
|.gitignore||5 years ago|
|CHANGELOG.md||3 years ago|
|LICENSE||3 years ago|
|LICENSE-GPL||5 years ago|
|README.md||3 years ago|
|module.l||3 years ago|
|network.sh||3 years ago|
|network_dhcp.sh||3 years ago|
|network_static.sh||3 years ago|
|udhcpc.script||3 years ago|
|udhcpc.script.orig||5 years ago|
A simple set of shell scripts for managing networking on TinyCore Linux
tce-load -wi network
Note: This extension is architecture independent, but hasn't been officially added to TinyCore yet. I've included the packaged extension in the releases Downloads.
The configuration file is located at
/usr/local/etc/network.conf. It's a simple key/value file similar to this:
mode=dhcp interface=eth0 hostname=mybox ntpserver=pool.ntp.org
mode=static interface=eth0 ip=192.0.2.2 subnet=255.255.255.0 router=192.0.2.1 dns="188.8.131.52 184.108.40.206" hostname=mybox4 ntpserver=pool.ntp.org
mode=static interface=eth0 ip="2001:db8::2" subnet_ipv6="/32" router="2001:db8::1" dns="2001:4860:4860::8888 2001:4860:4860::8844" hostname=mybox6 ntpserver=pool.ntp.org
Notes about IPv6:
tce-load -wi iproute2
To install these scripts manually:
network.sh, network_dhcp.sh, network_static.sh, and udhcpc.scriptto
network.sh script reads values from
network.conf, sets them as temporary environment variables and passes them to either
network_dhcp.sh. Those scripts will use
udhcpc to release or renew a DHCP lease.
See the Changelog.
This project is MIT licensed, see the LICENSE file for more info.
The following files are licensed under GPL-V2: