![]() ![]() ![]() In openSUSE and other SUSE-based systems ( SUSE enterprise desktop\server, etc.) you can make changes "permanent" across reboots by adding an appropriate entry to the /etc/sysconfig/network/ifcfg-ethN file (ifcfg-eth0 for the first Ethernet interface config file, ifcfg-eth1 - for the second, etc.): Making Changes Permanent - Surviving a Reboot NOTE: You may not be able do this if using a DSL modem (depending on modem vendor or ISP). To confirm your setting, you may prefer to execute " ip link ls eth0" or " ip addr ls eth0" instead of " ifconfig eth0". etc/init.d/network stop ip link set eth0 address 02:01:02:03:04:08 /etc/init.d/network start If you have iproute2 utilities installed, you may prefer to use the " ip" command, as follows: CentOS and Scientific Linux), to disable and restart networking, one must stop and start /etc/init.d/network, instead of /etc/init.d/networking. Alternatively, under RHEL/ Fedora and possibly other GNU/Linux distributions (incl. The above should work on Debian, Ubuntu, and similar distributions. etc/init.d/networking stop ifconfig eth0 hw ether 02:01:02:03:04:08 /etc/init.d/networking start prepended with "sudo "), in order for things to work! NOTE: Commands below MUST be executed with root privileges (e.g. Substitute according to your requirements. ![]() NOTE: MAC addresses used within this article are provided for example only. Typically, eth0 is for Ethernet connection, and wlp2s0 for Wireless connection.Under GNU/Linux, the MAC address of a network interface card (NIC) can be changed by following the procedures below. Inet6 1:2:00:33:333/64 scope global mngtmpaddr noprefixroute dynamic Valid_lft 548176sec preferred_lft 61403sec Inet6 AB:AD:AK:AI/64 scope global temporary dynamic Valid_lft 61791sec preferred_lft 61791sec How to copy and paste with a clipboard in Tmux 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000.How to download Torrents using the command-line in Terminal.How to safely create or resize partitions in Linux using GParted. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |