Linux

Archive for the ‘Networking’

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 [...]


Find out your IP in Linux

Finding out your PC’s IP in Linux is a simple matter of typing ifconfig in a Terminal shell. But what if you’re behind a router? Thanks to a simple shell script, you can display your IP in the command line by[...]


Make the lights of your NIC blink

If you work on a large network and you get sent to the server room to check out a certain network card, you might get lost in the multitude of network hardware. To find your certain NIC, SSH to the machine in question an[...]