LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ifup

brings up network interfaces configured in /etc/network/interfaces

TLDR

Enable a specific interface
$ ifup [eth0]
copy
Enable all interfaces marked as auto
$ ifup -a
copy

SYNOPSIS

ifup [options] interface

DESCRIPTION

ifup brings up network interfaces configured in /etc/network/interfaces. It reads the interface definition and executes the appropriate commands and scripts to configure the interface, including setting IP addresses, running DHCP clients, and executing user-defined scripts.The command handles the complete interface initialization sequence, including any dependencies or prerequisites defined in the configuration file.

PARAMETERS

-a, --all

Bring up all interfaces marked as auto in /etc/network/interfaces
-v, --verbose
Print verbose information
--force
Force configuration even if interface seems to be up
--no-scripts
Don't run any pre/post scripts

INSTALL

sudo apt install ifupdown
copy
sudo apk add ifupdown-ng
copy
nix profile install nixpkgs#ifupdown-ng
copy

CAVEATS

Part of the ifupdown package, primarily used on Debian-based systems. Modern systems often use NetworkManager or systemd-networkd instead. Requires the interface to be defined in /etc/network/interfaces.

HISTORY

ifup is part of the ifupdown package, the traditional network interface configuration system on Debian and derivatives. While still widely used, it is gradually being replaced by NetworkManager for desktop systems and systemd-networkd for servers.

SEE ALSO

ifdown(8), ip(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid