Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] dial-up connection configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2716
Location: Edmonton, AB

PostPosted: Thu Jan 15, 2009 3:56 am    Post subject: [SOLVED] dial-up connection configuration Reply with quote

Can somebody dust-up their knowledge how to set-up Internet connection over dial-up?
I've configured dial-up using wvdial/ppp, it connects OK but I need to setup network connection to use dial-up.
Do I use quickswitch?


Last edited by Joseph_sys on Sat Jan 17, 2009 5:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
ewaller
Apprentice
Apprentice


Joined: 11 Aug 2005
Posts: 264
Location: Pasadena, CA

PostPosted: Fri Jan 16, 2009 5:04 am    Post subject: Reply with quote

It has been a while, but I recall that you had to down all other ethernet connections in order for PPP to allow you to route traffic. This is a security issue IIRC.
_________________
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2716
Location: Edmonton, AB

PostPosted: Fri Jan 16, 2009 5:36 am    Post subject: Reply with quote

I think I need to reconfigure /etc/conf.d/net

This is what I've found in the net.example
since I'll be using both ADSL and dialup I was curious if it is possible to use something like: quickswitch

Quote:
#-----------------------------------------------------------------------------
# PPP
# For PPP support, emerge net-dialup/ppp
# PPP is used for most dialup connections, including ADSL.
# The older ADSL module is documented below, but you are encouraged to try
# this module first.
#
# You need to create the PPP net script yourself. Make it like so
#ln -s net.lo /etc/init.d/net.ppp0
#
# We have to instruct ppp0 to actually use ppp
#config_ppp0=( "ppp" )
#
# Each PPP interface requires an interface to use as a "Link"
#link_ppp0="/dev/ttyS0" # Most PPP links will use a serial port
#link_ppp0="eth0" # PPPoE requires an ethernet interface
#link_ppp0="[itf.]vpi.vci" # PPPoA requires the ATM VC's address
#link_ppp0="/dev/null" # ISDN links should have this
#link_ppp0="pty 'your_link_command'" # PPP links over ssh, rsh, etc
#
# Here you should specify what pppd plugins you want to use
# Available plugins are: pppoe, pppoa, capi, dhcpc, minconn, radius,
# radattr, radrealms and winbind
#plugins_ppp0=(
# "pppoe" # Required plugin for PPPoE
# "pppoa vc-encaps" # Required plugin for PPPoA with an option
# "capi" # Required plugin for ISDN
#)


In my case I think it might be "dhcpc"
plugins_ppp0=("dhcpc")
Back to top
View user's profile Send private message
ewaller
Apprentice
Apprentice


Joined: 11 Aug 2005
Posts: 264
Location: Pasadena, CA

PostPosted: Fri Jan 16, 2009 6:15 am    Post subject: Reply with quote

I don't have anything for ppp in my /etc/conf.d/net. In my home network, my PPP ADSL connection is maintained by my router. When the ADSL goes down, or when I visit my folks who have no high speed options, I use ppp to establish my connection, but I invoke it by hand when I need to use dial-up. In my case I DO NOT want to automatically establish a dial up connection.

I think by creating an entry in /etc/conf.d/net, you are telling the system to automatically establish a dial up connection when it feels the need. That scares me. Granted, you may need an entry if the system is to maintain an ADSL connection without a router or an intelligent DSL modem.

I would segregate the functions and put the ADSL stuff in /etc/conf.d/net, whereas when creating a dial-up connection I would manually down the ADSL stuff and explicitly hand-start the dial-up PPP connection.
_________________
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2716
Location: Edmonton, AB

PostPosted: Sat Jan 17, 2009 4:46 am    Post subject: Reply with quote

I'm trying to make it to work but I'm getting from wvdial after sending username and passord:
Code:
...
---> Hmm... a prompt. Sending "ppp"
ppp
Requested Service Not Authorized.
...

When I used in the past kppp it work but wvdial is missing something.

Does the username and/or password (in my case username is my email address) have to be enclosed inside a quotation marks etc?
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2716
Location: Edmonton, AB

PostPosted: Sat Jan 17, 2009 5:05 pm    Post subject: Reply with quote

SOLVED

wvdial.conf need so called "Stupid Mode" on
Code:
...
Supid Mode = on
...


This solved the problem with connecting, the connection was recognized as "ppp0" and it worked without any problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum