On Sep 29, 1:47*pm, no.top.p...@gmail.com wrote:
> pppd *lcp-echo-interval 300 lcp-echo-failure 4 *connect '
> chat -v "" ATZ OK ATX OK ATM2DT0113407501 CONNECT "" TIMEOUT 99 ' \
> /dev/ttyUSB0 38400 debug crtscts modem defaultroute : name "2...@neomail.co.za"
[...]
> Sep 28 12:13:25 labeas pppd[8381]: Connect: ppp0 <--> /dev/ttyUSB0
> Sep 28 12:13:26 labeas pppd[8381]: CHAP authentication succeeded: Welcometo pdsn.
> Sep 28 12:13:26 labeas pppd[8381]: CHAP authentication succeeded
> Sep 28 12:13:27 labeas pppd[8381]: local *IP address 41.174.19.150
> Sep 28 12:13:27 labeas pppd[8381]: remote IP address 2.2.2.2
It looks like your syslog daemon is not correctly configured for pppd
debug.
You need to direct "daemon.debug" to a file. The above are only the
"notice"
messages.
> ---So the ISP allocated an IP.
> Does that prove I passed the User & password stage?
Actually, no. You have the great misfortune to be using 3GPP/GSM for
dial-up access.
That system doesn't follow the RFCs correctly, so the error messages
you get are
*HIGHLY* misleading.
Internally, what happens is that the phone itself will accept and
return "success" for any
identification at all, even the wrong user name and wrong password.
It then goes to the
network and gets an IP address. At this point, the protocols don't
allow any error
messages to be returned, so if the account information is wrong (or if
your account
isn't authorized to use PPP), you get back either a fake IP address or
the line just
disconnects without warning.
It's not at all well-designed. It's a darned shame.
One thing you should do is remove the "name" option. You're the
client (authenticatee),
so you don't want "name". You want "user" instead. And add the
"noauth" option to
your configuration; you shouldn't demand authentication from your ISP.
And re-verify that you've got all of those magic "AT" sequences right
and that your
name and password are specified exactly correctly. You should have
something like
this in your configuration:
noauth user "(E-Mail Removed)"
And then something like this in /etc/ppp/pap-secrets (or chap-secrets,
if they use that):
(E-Mail Removed) * "my password"
Note the "*" in the second field to designate the name of the server
-- you don't
care about the server name.
> Q. *what is the sequence of steps to dialout and get a ping-bounce?
> Eg. a,b,c, confirm UserID, confirm Password, d,e ...
General sequence is:
- chat with "modem" to dial the line, usually with "AT" commands
- PPP LCP starts negotiation
- PPP Authentication runs (usually PAP or CHAP)
- PPP Network layer protocols (e.g., IPCP) negotiate
- link is ready for use
> Q. what is the next step that I need to confirm/test and how?
Fix your syslog configuration so that you can get detailed debug
information. Or use "updetach" so
you can see it on your console.
> Q. does ping eliminate the need for DNS access?
I don't think the question makes sense. DNS translates between
network
names and numbers. Ping is a tool that allows you to send a low-level
(ICMP) request across the network to see if the IP stack on a peer
machine can respond.
Ping (like all network applications) can make use of DNS, if your
system
is configured to use DNS for name services. Having ping certainly
doesn't alter then need for DNS.
> Q. what happened to the-man-who-wrote-the-book
> (from Sun microsystems) that I borrowed from the library N years ago?
He's still around, but doesn't read these news groups as often
anymore. ;-}