Network
ifcfg
Configure network interface parameters via Wicd.
networkinterfacewicdconfigurationwireless
Additional Notes
ifcfg is a command-line tool from the Wicd network manager for configuring network interfaces. Wicd is a lightweight network manager that handles both wired and wireless connections. The ifcfg command provides direct control over interface settings.
It can be used to set IP addresses, netmasks, wireless parameters, and other interface configurations. The command interacts with Wicd's configuration files and can be used as an alternative to ifconfig or ip for Wicd-managed interfaces.
Syntax
ifcfg [options] interface [command]
Parameters
interface: The network interface to configure (e.g.,eth0,wlan0).command: The action to perform.
Common Commands
up: Bring the interface up.down: Take the interface down.status: Show the current interface status.info: Show detailed interface information.wireless: Show wireless connection details.
Common Options
-h,--help: Display help.-v,--verbose: Show detailed output.
Examples
ifcfg eth0 up
Bring the eth0 interface up.
ifcfg wlan0 down
Take the wlan0 interface down.
ifcfg eth0 status
Show the current status of eth0.
Practical Notes
ifcfgis specific to the Wicd network manager. Modern systems usenetworkmanagerandnmcliinstead.- For direct interface configuration without a network manager, use
iporifconfig. - Wicd has not been actively maintained in recent years; most distributions now ship with NetworkManager.
- To check if Wicd is installed, look for
wicd-daemonorwicd-gtkpackages. - The command is not related to
ifcfg-*files in/etc/sysconfig/network-scripts/used by legacy Red Hat systems.