Thanks, Ray, for all of the feedback. I've been trying to explore all of the
questions you raise. Let me respond to each (I hope) and list the scripts
involved
First, 'pon' gets me dialtone, dials out to my provider, and then apparently
disconnects
tail -f /var/log/messages gives the following:
Aug 5 17:58:42 debian chat[537]: -- got it
Aug 5 17:58:42 debian chat[537]: send (\d)
Aug 5 17:58:43 debian pppd[536]: Serial connection established.
Aug 5 17:58:44 debian pppd[536]: Using interface ppp0
Aug 5 17:58:44 debian pppd[536]: Connect: ppp0 <--> /dev/ttyS2
Aug 5 17:58:44 debian pppd[536]: Remote message:
Aug 5 17:58:45 debian pppd[536]: LCP terminated by peer
Aug 5 17:58:48 debian pppd[536]: Connection terminated.
Aug 5 17:58:48 debian pppd[536]: Hangup (SIGHUP)
Aug 5 17:58:48 debian pppd[536]: Exit.
I take it then that ppp is working, but my little ppp-on script does not
produce anything I can detect, when run from root. I wonder whether this is
due to the proscription in /etc/ppp/pap-secrets against providing root
access to ppp
When I attempt to run 'ppp-on' from david, I get 'permission denied' despite
the assurances in OReilly, p548, Running Linux to the contrary that you need
not be root to execute this script. After saving it, I ran chmod 755
/etc/ppp/ppp-on
pppconfig place two entries in /etc/ppp/pap-secrets:
#The next line was added by pppconfig for provider
MSN/davidturetsky * [password]
and
#The next line was added by pppconfig for msn
MSN/davidturetsky * [password]
I have not been using apt-get. I have been downloading from Windows, copying
.deb files over to Linux, and running dpkg
When I attempted to run:
apt-get install sendmail
I got: W: couldnt stat source package list 'http://http.us.debian.org
stable/main packages' ... (2 No such file or directory)
I ran /usr/sbin/eximconfig with the following settings:
2 (Internet site using smarthost)
Visible name: richSOB.com
smarthost: msn
postmaster: david
replace aliases: david
The other selections were defaulted
When I ran exim -bm [EMAIL PROTECTED] 'This is an exim test'
nothing observable happened AFAIK
Regarding ppp-on, this is my /etc/ppp/my-chat-script:
#! /bin/sh
# my chat-script: a program for dialing up ISP/MSN
exec chat -v
'' ATZ
OK ATDT410-727-0315
CONNECT ''
ogin: davidturetsky
assword [password]
Then I ran chmod 755 /etc/ppp/my-chat-script
Here is the /etc/ppp/ppp-on script:
#! /bin/sh
# the ppp-on script
exec /usr/sbin/pppd /dev/modem 38400 lock crtscts \
noipdefault defaultroute 0.0.0.0:0.0.0.0 connect my-chat-script
then I ran chmod 755 /etc/ppp/ppp-on
In /etc/resolv.conf are the entries:
nameserver 204.255.246.17
nameserver 204.255.246.18 (obtained from msn)
I reran pppconfig. Here are my inputs
Provider Namer: provider (default... and suggested)
Password Authentication Protocol
Password [....]
Username MSN/davidturetsky (as recommended by msn)
Port Config /dev/ttyS2
defaultroute
noipdefault
Set Speed 115200 (default)
Modem Initialization: ATZ
Number to dial 4107270315
ATDT tone
There are no recent entries in /var/log/ppp.log. The most recent are from
Aug 1 when I was not set up as ttyS2 and it read 'tcgetattr: Input/output
errors(5)
/etc/ppp/options reads:
asyncmap 0
auth
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
I will be back with the results of running fetchmail
With apologies for the length of this post.
David
----- Original Message -----
From: Ray Olszewski <[EMAIL PROTECTED]>
To: davidturetsky <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, August 05, 2000 1:20 PM
Subject: Re: fetchmail
> David --
>
> First of all, let's do one thing at a time. fetchmail won't work (nor will
> DNS, or much of anything else Internet related)) unless you can establish
a
> PPP coonection. In a prior message you said ...
>
> >
> >With the change to ttyS2 and irq 10 I has successful in getting dialtone
and
> >connecting to msn
>
> ... so I assumed (as did others, no doubt) that you had PPP working.
>
> SO ...
>
> 1. IF you want help with PPP, tell us your actual setup. Telling
us
> you "ran" pppconfig doesn't give us a clue if you did it right or not. Be
> less terse. Let us see the script that pppconfig creates, or tell us how
you
> answered each question it asks.
>
> 2. IF you want help with fetchmail, start your PPP connection by
> hand (which you said you could do), try fetchmail then, and if it doesn't
> work, tell us how. Include the output of "ifconfig -a" and "route -n" (all
> of it, not just a summary of twhat you see as important) with any such
posting.
>
> But don't muddle the two problems together.
>
>
> At 01:52 PM 8/5/00 -0700, davidturetsky wrote:
> >How do I set up my Linux system to autodial?
> >
> >I'd be happy to provide any description that would be helpful. What
> >information would be useful
> >
> >As for ppp, I ran pppconfig. As I previously posted, the related scripts
to
> >test it did not reach dialtone. I have been trying to explore all this
with
> >posts to the list, trying different workarounds and buying a slew of
> >O'Reilly texts
> ...
>
>
> --
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski -- Han Solo
> Palo Alto, CA [EMAIL PROTECTED]
> ----------------------------------------------------------------
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs