Re: wvdial problems
- From: "Gretch" <gretchen@xxxxxxxxxxxx>
- Date: Wed, 15 Aug 2007 18:29:05 -0700
In news:slrnfc6lhd.o92.ibuprofin@xxxxxxxxxxxxxxxxx,
Moe Trin <ibuprofin@xxxxxxxxxxxxxxxxxxxxxx> wrote:
....
[the points made were duly noted]
Thank you. Will you provide instructions on how to use the pppd
solution you suggest, please? I have identical lines in
/etc/ppp/{pap,chap}-secrets:
myID@xxxxxxxxxxxx * myPassword
OK - two things: 1. Are you absolutely positive that the ISP wants
the '@starband.net' part of the username?
Absolutely positive, yes.
2. The password may need to be quoted if it has anything other
than the characters A-Za-z0-9 (alphanumerics only).
The password contains "&" and is quoted in /etc/ppp/{pap,chap}-secrets.
....
[compton ~]$ cat /usr/local/bin/dialin
#!/bin/bash
exec /usr/sbin/pppd connect "/usr/sbin/chat -f /etc/ppp/dialscript"
lock \ defaultroute noipdefault nodetach /dev/ttyS1 115200 crtscts
user gretchen [compton ~]$
There must not be anything after the \ in that line. It's actually
trying to act as one long line from 'exec' to 'gretchen'.
$ cat /usr/local/bin/dialstarband
#!/bin/bash
exec /usr/sbin/pppd connect "/usr/sbin/chat -f /etc/ppp/dialscript" \
debug persist usepeerdns lock defaultroute noipdefault nodetach \
/dev/ttyS1 115200 crtscts user gretchen@xxxxxxxxxxxx
[compton ~]$ cat /etc/ppp/dialscript
ABORT BUSY ABORT 'NO CARRIER' "" AT&F0 OK ATDT2662902 CONNECT \d\c
$ cat /etc/ppp/dialscript
ABORT BUSY ABORT 'NO CARRIER' "" AT&F0S11=50 OK ATDTxxxxxxx CONNECT \d\c
S11=50 simply controls the pulse rate, impatient as I am.
[compton ~]$ cat /etc/ppp/*ab-secrets
gretchen * myPassword
$ cat /etc/ppp/*ap-secrets
gretchen@xxxxxxxxxxxx * "myPassword"
# [same for /etc/ppp/{pap,chap,srp}-secrets]
[compton ~]$ cat /etc/resolv.conf
nameserver 148.78.254.200
nameserver 148.78.254.201
nameserver 148.78.249.200
$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 20 Apr 29 2004 /etc/resolv.conf ->
/etc/ppp/resolv.conf
The "usepeerdns" option allows the above symlink to be functional.
....
Otherwise, /etc/ppp/options should be empty or have every
line commented out (begins with a # character).
$ grep -v "^#" /etc/ppp/options
$
# dialstarband
Serial connection established.
using channel 12
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb51d9a8e> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb51d9a8e> <pcomp> <accomp>]
Modem hangup
Connection terminated.
Terminating on signal 2. # Ctrl-C applied.
It seems to send but not receive the response ... is there some other pppd
option required? ... "passive" doesn't alter the result ...
http://linux.die.net/man/8/pppd has much to consider. I've been searching
the Usenet archives and the web for the possibility, as well as manually
trying sveral other options, but haven't yet found it or them.
Thank you for your most excellent advice.
.
- Follow-Ups:
- Re: wvdial problems
- From: Moe Trin
- Re: wvdial problems
- References:
- wvdial problems
- From: Gretch
- Re: wvdial problems
- From: Igmar Palsenberg
- Re: wvdial problems
- From: Gretch
- Re: wvdial problems
- From: Moe Trin
- wvdial problems
- Prev by Date: Re: how to killfile recent random spam
- Next by Date: Re: Google groups abuse reporting
- Previous by thread: Re: wvdial problems
- Next by thread: Re: wvdial problems
- Index(es):