-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 26 Nov 2003 03:38 pm, Bruce Meier wrote:
> Aloha
>
> Our linux group, http://bilug.org had a demo on installing gentoo on a
> pc this month.  I have installed it on my home conputer this week.  I
> have not been able to connect to my isp by modem.  I can get connected
> and login with password and wvdial says it is starting ppp.  A ppp
> connection never hapens. Any ideas?
>
> Thanks
> Bruce Meier

Is the error something like "no prompt detected starting ppp anyway" in the 
system message log?

My ISP does that no and then and I assume its just the server being slow. 
Unfortunately I have found no way to configure wvdial to wait longer. - 
Probably could find the timeout value in the source and recompile though.

I had to do a few thing to get wvdial to work - just seeing if you've done 
something similar.

bash-2.05b# diff -u /usr/portage/net-dialup/ppp/files/confd.ppp0 /etc/conf.d/
net.ppp0
- --- /usr/portage/net-dialup/ppp/files/confd.ppp0        2003-05-23 
14:15:18.000000000 +0930
+++ /etc/conf.d/net.ppp0        2003-11-17 21:56:58.000000000 +0930
@@ -1,35 +1,35 @@
 # /etc/conf.d/net.ppp0:
- -# $Header: /home/cvsroot/gentoo-x86/net-dialup/ppp/files/confd.ppp0,v 1.1 
2003/05/23 04:45:18 killian Exp $
+# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net.ppp0,v 1.3 
2002/11/18 19:39:22 azarah Exp $

 # Config file for /etc/init.d/net.ppp0


- -PEER="MyPeer"                   # Define peer (aka ISP)
+PEER="dod"                   # Define peer (aka ISP)
 DEBUG="no"                      # Turn on debugging
 PERSIST="no"                    # Redial after being dropped
- -ONDEMAND="no"                   # Only bring the interface up on demand?
- -MODEMPORT="/dev/ttyS1"          # TTY device modem is connected to
+ONDEMAND="yes"                   # Only bring the interface up on demand?
+MODEMPORT="/dev/tts/0"          # TTY device modem is connected to
 LINESPEED="115200"              # Speed pppd should try to connect at
- -INITSTRING=""                   # Extra init string for the modem
+INITSTRING="ATB0 &G S0=0 S6=4 S11=95"                   # Extra init string 
for the modem
 DEFROUTE="yes"                  # Must pppd set the default route?
 HARDFLOWCTL="yes"               # Use hardware flow control?
 ESCAPECHARS="yes"               # Use escape caracters ?
 PPPOPTIONS=""                   # Extra options for pppd
- -USERNAME="user"                 # The PAP/CHAP username
- -PASSWORD="passwd"               # Your password/secret.  Ugly I know, but i
+USERNAME=""                 # The PAP/CHAP username
+PASSWORD=""             # Your password/secret.  Ugly I know,but i
                                 # will work on something more secure later
                                 # on.  700 permission on /etc/init.d/net.ppp0
                                 # should be enouth for now.
- -NUMBER="9180000"                # The telephone number of your ISP
+NUMBER=""                # The telephone number of your ISP
 REMIP=""                        # The ip of the remote box if it should be 
set
 NETMASK=""                      # Netmask
 IPADDR=""                       # Our IP if we have a static one
- -MRU="768"                       # Sets the MRU
- -MTU="768"                       # Sets the MTU
+#MRU="768"                       # Sets the MRU
+#MTU="768"                       # Sets the MTU
 RETRYTIMEOUT="60"               # Retry timeout for when ONDEMAND="yes" or
                                 # PERSIST="yes"
- -IDLETIMEOUT="600"               # Idle timeout for when ONDEMAND="yes"
- -PEERDNS="no"                    # Should pppd set the peer dns?
+IDLETIMEOUT="0"               # Idle timeout for when ONDEMAND="yes"
+PEERDNS="yes"                    # Should pppd set the peer dns?

 # This does not currently work due to a bug in pppd (I think)
 FWSCRIPT="/etc/init.d/firewall" # Optional FW script that pppd should start
@@ -45,7 +45,7 @@
                                 #
                                 # called: ${FWSCRIPT} [start|stop]

- -AUTOCFGFILES="yes"              # By default this scripts will generate
+AUTOCFGFILES="no"              # By default this scripts will generate
                                 # /etc/ppp/chat-isp, /etc/ppp/chap-secrets,
                                 # /etc/ppp/pap-secrets and /etc/ppp/peers/isp



/etc/ppp/chat-dod same as /etc/ppp/chat-default except
 - entered my ISP phone number here intead on $NUMBER


bash-2.05b# cat /etc/ppp/peers/dod
noauth
connect '/usr/bin/wvdial --chat'
/dev/tts/0
115200
modem
crtscts
defaultroute
usehostname
ktune
noipdefault
idle 1800
holdoff 30
#logfile /var/log/ppp.log
bash-2.05b#




- -- 

Daniel Black
- --
Proudly a Gentoo Linux User.
GnuPG/PGP signed and encrypted email preferred
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x32A64DC8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/xEsQTDSbtjKmTcgRAmyjAJ44O/lF3hSL7iIT4ACu0AlOBXK1hgCeIsgf
cRWPheQD1LkWnJs3q0GyEeg=
=E2NQ
-----END PGP SIGNATURE-----


--
[EMAIL PROTECTED] mailing list

Reply via email to