- Korean: 이 페이지는 아직 한글로 번역되지 않았습니다.
net-ifupdown.plugin.bash¤
ifupdown network configurations.
group:net | runtype:systemd | deps: os-systemd | port: -
Usage
net-ifupdown help|install|uninstall|download|disable|configgen|configapply|check|run
$ net-ifupdown install - install ifupdown network configurations
$ net-ifupdown uninstall - uninstall ifupdown configurations
$ net-ifupdown download - download ifupdown package files to pkg dir
$ net-ifupdown disable - disable ifupdown plugin
$ net-ifupdown configgen - generate ifupdown configuration files
$ net-ifupdown configapply - apply ifupdown configuration files
$ net-ifupdown check - check ifupdown plugin status
$ net-ifupdown run - run ifupdown network services
$ net-ifupdown help - show this help message
Description
Ifupdown provides network interface configuration for Debian/Ubuntu systems.
Jangbi Configs¤
/opt/jangbi/.config
RUN_NET_IFUPDOWN=1 # enable ifupdown network configurations
Check if running¤
bash command
$ systemctl status networking
● networking.service - Raise network interfaces
Active: active (exited)
$ ip addr show
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
Current Configuration¤
Current configuration is stored in /etc/network/
. it is generated by net-ifupdown configgen
command on install.
You can edit it manually and not run install or configapply commands to keep current configurations.
/etc/network/interfaces
Exit Status
-
1
:Invalid command or parameters provided.
Check your public IP and network information:
myip
ips
In this example, we check the public IP address as seen from the internet and list all local IP addresses on the system.
Test website availability and pick random content:
down4me http://example.com
pickfrom /path/to/file.txt
In this example, we check if a website is down and pick a random line from a specified file for various utility purposes.