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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
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.