LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-05-2004, 06:40 PM   #1
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Rep: Reputation: 30
two internet connections


I configured my internet connection with vi editing some files in /etc/ppp/ (options, chap-secrets, conection). But i have two accounts (only one configured) and i want to know how i have to configure this files to have the two connections working. I have a dial up modem (56Kb).

thanks
 
Old 02-05-2004, 07:27 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
"I configured my internet connection with vi editing some files in /etc/ppp/ (options, chap-secrets, conection). But i have two accounts (only one configured) and i want to know how i have to configure this files to have the two connections working. I have a dial up modem (56Kb)."

I suggest that you use wvdial. You can set up as many internet connections as you want in wvdial. When you start wvdial you pass a parameter giving the name of the account you want to open. Wvdial configures ppp for that account and then starts ppp.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 02-06-2004, 10:05 AM   #3
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Original Poster
Rep: Reputation: 30
I downloaded a configured wvdial and works fine (as root. Now i'm trying to configure for not root access).

But i have one question: in the file wvdial.conf i put my password and this file must be executed and everybody can see it. How i can hide the password?

thanks
 
Old 02-06-2004, 11:08 AM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
"But i have one question: in the file wvdial.conf i put my password and this file must be executed and everybody can see it. How i can hide the password?"

I used to hide the password in wvdial. That was a long time ago and I think that this is the way to do it:

In /etc/wvdial.conf set Password = to a file name:
Password = /etc/wvdial.security
Set the permissions of /etc/wvdial.security to 600.
In /etc/wvdial.security you have either:
Password = mypassword
or
mypassword
I don't remember which.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 02-06-2004, 12:06 PM   #5
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Original Poster
Rep: Reputation: 30
thanks for your help and the link you post in another post about not-root dialout it's very helpfull
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set up several internet connections? StillDoubtful Mandriva 3 04-04-2005 09:21 PM
Internet connections.. xmeson Slackware 1 08-22-2004 08:49 AM
Internet connections apffal Mandriva 0 03-10-2004 07:44 AM
Two possible connections to the Internet? vincebs Linux - Networking 3 01-21-2004 06:40 PM
Combine 2 Internet Connections marsial Linux - Networking 3 08-26-2003 05:22 AM


All times are GMT -5. The time now is 05:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration