List of all services connected to internet in Linux

To determine all services connecting to the internet, enter the command below in a terminal window: $ sudo lsof -n -P -i +c 15 <enter>

You can also find similar information using the command below: $ sudo netstat -anp | grep e tcp e udp <enter>

. . . → Read More: List of all services connected to internet in Linux

Multiple Wireless LANs WRT54G2 – Allow guests to use your WLAN

You have a wireless router at home. There are occasions when you have guests at your home, and they require to access the internet over your Wireless Network. Unfortunately, the default firmware on the Cisco / Linksys WRT54G2 wireless router does not allow you to have a separate WLAN access password for your guests.

In . . . → Read More: Multiple Wireless LANs WRT54G2 – Allow guests to use your WLAN

Remove the pain from firewall rules building – Firewall Builder

If you are new to firewalls and want an easy way to build the rules for your devices, you can use Firewall Builder. It can be installed on Linux, Windows and other platforms. You can download it from http://www.fwbuilder.org.

The key feature is an easy to use GUI-based firewall rules system. Firewall Builder can also . . . → Read More: Remove the pain from firewall rules building – Firewall Builder

Remove Network Manager Wireless LAN connections

Login as root and type following command to edit the network connections.

# wicd <enter>

You can then setup the wireless LAN after a reboot.

Change host name in Fedora Linux

To change the host name on Fedora Linux, do the following:

Open a terminal window Login as root Add the host name to /etc/hosts Add the host name to /etc/syconfig/network Reboot your computer

Add the host name to /etc/hosts

# vi /etc/hosts <enter> Add below line to the end of the file 192.168.1.101 . . . → Read More: Change host name in Fedora Linux

List open network connections using lsof

You can list out open network connections using lsof by logging in as root and using the lsof command as given below: 1. su 2. lsof -i -P -n

This will list out all commands and processes that are connected to the network.

Securely copy files to Linux across a network

Use scp to copy files securely from one linux computer to another over a network. $ scp -r /folder/folder1 user@computer.com:/home/user/folder <enter>

where: /folder/folder1 is the source folder -r is for recursively copy user@computer.com: is the destination computer. This can also be an IP address /home/user/folder is the destination folder.

Once you type above command, you . . . → Read More: Securely copy files to Linux across a network

Verify open ports on a Linux system

# netstat -tupnl <enter>

This command will show you all the open ports on your system.

Nmap online – Network scans from the internet

You can use http://nmap-online.com It is the equivalent of scanning a system or network for open ports from outside of the network you are in.

TOPICS