Where Does Linux Save Wireless Card Settings?

Q. I’d like to get more information about my wireless settings stored under CentOS / RHEL / Fedora Linux. Where Does Linux Save Wireless Card Settings?

A. Linux saves network related settings under /etc directory. Different Linux distribution uses different file names.


Red Hat / RHEL / CentOS / Fedora Linux Settings File

Edit file /etc/sysconfig/network-scripts/ifcfg-ethX or /etc/sysconfig/network-scripts/ifcfg-wmasterX. Usually ifcfg-wmasterX file is for wireless and ifcfg-ethX is for each wired interface. It is recommended that you use GUI tool called system-config-network to modify / edit / setup wireless settings. Open terminal and type the command:
The Network Administration Tool (system-config-network) is an easy way to make changes to the various network interface configuration files.

Debian / Ubuntu Linux Settings File

Edit file /etc/network/interfaces. You can use GUI tool called network-admin to make and view changes :
Here is sample wireless config file:
cat /etc/network/interfaces

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
auto wlan0
iface wlan0 inet dhcp
wpa-driver mrv8335
wpa-conf /etc/wpa_supplicant.conf
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.