Category Archives: 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 “\\\\WINDOWS\\c” is the name of the share and /mount/Windows is the destination point. You need the Samba package installed for this as it contains the smbmount… Read More »

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 simply invoking the whatismyip command. Do this: cd /usr/bin sudo nano whatismyip In the… Read More »

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 and do a sudo ethtool -o eth0 The lights of the network card should start… Read More »