LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   creating multipe connections (https://www.linuxquestions.org/questions/linux-networking-3/creating-multipe-connections-672740/)

ritam_bkp 09-27-2008 10:07 AM

creating multipe connections
 
i use dsl connection to cnnct to the internet through my ubuntu pc.
in ubuntu,at first i had to run pppoeconf command to enter my user name and password(this edits the dsl-provider file)..now each time i connect to the net i use the pon dsl-provider command..
what i want to know is stated below -

# i have three username-passwrds that cnnct to the internet..
only the 1st one has unlimited broadband priviledge but it is much slower than the others

each time if i wish to cnnct by different usernames, i have to run the pppoeconf command and scan my devices and provide my 2nd or 3rd username and paswrd ..
when i will shift to my 1st one...i have to repeat this tedious procedure again....
i guess ..u all will agree with me that this is a frustrutaing thing to do all the time...
in windows xp i can create many simultaneous connections (eg. MyConnection1,MyConnection2,MyConnection3 etc)...and cnnct through wichever i wish with just 2 piece of clicks



---- so,how can i keep simultaneous 2,3 connection files and cnnct through which ever i like without the pppoeconf shit all the time??

mrog 09-28-2008 04:06 AM

The man page for pon seems to suggest a solution.

Run pppoeconf for the first dsl connection.
Then rename the file to dsl-1 (or whatever).
i.e. mv /etc/ppp/peers/dsl-provider /etc/ppp/peers/dsl-1
Then do the same for dsl-2.
To connect use "pon dsl-1" or "pon dsl-2".

I can't test this myself but hopefully it works.


All times are GMT -5. The time now is 03:47 PM.