Set up internet connection using PPPoE on Fedora

I don’t know how many of you have heard about this term called “PPPoE” which stands for Point-to-Point-Protocol over Ethernet. Even though this article is not intended to explain in detail about this protocol, in order to have a general understanding let’s go through the common concepts of PPP and PPPoE briefly.

PPPoE as a derivate of PPP
Point-to-Point Protocol (PPP) is a data link protocol used to establish a direct connection between two nodes. It can provide connection authentication, transmission encryption and compression. PPP is also used over internet access connections. Two derivatives of PPP, Point-to-Point Protocol over Ethernet (PPPoE) and Point-to-Point Protocol over ATM (PPPoA) are most commonly used by Internet Service Providers (ISPs) to establish a Digital Subscriber Line (DSL) internet service connection with customers. The Point-to-Point Protocol over Ethernet (PPPoE) is a network protocol for encapsulating PPP frames inside ethernet frames.

Establish a PPPoE connection
This would normally require a authenticated DSL connection via phone line, trunk line, optical fibre etc. So I would assume that you have Read More »

LAN file transfer using netcat

The following explanation is something I don’t want to miss from my blog because this helped me a lot in various situations. Actually this post was supposed to be here earlier than now. By the way, not boring you much, let me get into the topic.

All of you must have heard about ssh,sftp etc for remote login and file transfer between two machines in same LAN. Need to quickly transfer a file from one computer to another? No login is required if you are using netcat for the same. As a security concern netcat itself offers no way to control who can send what to whom. It’s syntax is as follows

nc [OPTIONS…] [hostname] [port]Read More »

vnStat for monitoring network traffic through interfaces

Image

We all live in a world surrounded by networks. The most important among them, and no doubt in that, is internet technology. When we relate networks to the computer systems, it is GNU/Linux dominating this particular field (again no doubt). Organizations working under computer networks usually run on GNU/Linux environment. So there is a great need for monitoring the network traffic. vnStat arrives in such a situation rendering a great help towards the network world. It is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s). vnStat can be used even without root permission on most systems. It will be helpful for some of you for accounting the amount of data being transfered from our system to the outside world. I will brief some basic command-line options to start with. Install the utility from your distro’s default package manager.

The basic format for vnStat is
vnstat [options]

For creating a new database for a particular interface
Read More »