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.
I am currently doing a project to transfer data over ppp link in linux and want some valuable help to proceed. I am presenting the whole scenario here. I have a Linux Dial-in ppp server into which many computers running win xp and linux dials in. I have set up the linux box to act as a dial-in server. Each computer which dial-up this server have different username and password. In the Linux server one directory is maintained for each dial-in username both under a "send" and a "receive" directory. Whenever the connection is established from a computer say XXX to the server a program will run at the server which will send all files in the directory "/send/XXX" and at the other end the files will be received by the computer XXX in its receive directory. I have somehow able to write the C program which will take care of data transfer but the problem is that I have no way to figure out which user has logged in so that I can send data from the appropiate directory. I have called the C program in the "/etc/ppp/ip-up" script which is executed by the pppd each time the connection is established. I have heard that the username is recorded in wtmp system file but it will be helpful for me if somehow show the way to get the username after he has logged in so that I can pass it as a command line argument to the data transfer program.