Linux

Archive for the ‘Networking’

Change your MAC address in Linux

If you wish to change your MAC address in Linux, all you have to do is bring the interface down then use the hw ether switch: ifconfig eth0 downifconfig eth0 hw ether 02:01:02:03:04:08ifconfig eth0 up [...]


Find out your router’s external IP address using the Linux command line

If you want to find out what external IP address your router has assigned to it, you can either search the Internet for sites that can display that said IP address or you can use the Linux command line: wget -O - -q ican[...]


Mount Windows shares like normal drives in Linux

If you want to have access to Windows shares and mount them like normal drives in Linux, use the smbmount command: smbmount “\\\\WINDOWS\\c” -c ‘mount /mount/Windows’ -I 192.168.0.3 where “\[...]


Flush DNS cache in Linux

If you happened to register a new domain name and you can’t access it, it may be your DNS cache that holds the problem. Here’s how to flush DNS cache in Linux: /etc/rc.d/init.d/nscd restart [...]