Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi all. This is my first post here and I hope I am not re-opening something old. I want to build a Linux machine that sits between my gateway device and my cable modem and logs all activity in and out of my building. Primarily I just want to see where all the bandwidth is going (like a combined 320 gig in August). Is there a way to do this that does not involve great expenditures of either money or time? I have lots of parts lying around with which make a fairly good machine and I have been using Linux for a bunch of years now. Desktop is not a necessity, I can use a terminal just fine.
Thanks for the reply. I think a clarification is in order. What I really need to know is how to do this or do I even have to do this to get the information I want. Since all my switches are, well, switches I can't just plug a system into a port and see all the traffic and since my modem only has one port I can't plug in there either. So, do I need to build a system with 2 network cards and use some software to capture everything? I am sorry if this sounds like a rather simplistic problem but for some reason I just can't get my mind wrapped around it.
Apart from the clarification surprises, in short if you run a packet capture app on a machine with two ethernet devices in bridge mode + promiscuous mode + without assigned IP addresses you should have your traffic pass-tru. Search for "snort inline" to get the idea.
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Depending on what kind of router you have, you may be able to flash it to use DD-WRT or OpenWRT and use a plugin for monitoring/logging network traffic.
One such tool, no longer under active development, is wrtbwmon,... a small shell script that can be run on various Linux powered routers. There are other projects referenced on the Google code page for the script;