message for Bill Staehle

message for Bill Staehle

Post by Matteo Montanar » Tue, 26 Dec 2000 22:28:29

I tried to send you a mail message while using a different account and then
another mail server still this following was the answer.
---- This is only a notification about a delay in your mail delivery
 ---- There is no need to resend your mail at this time

 ---- The following recipients could not be delivered by MTA
within a resonable time ...

Hi Bill I am just tried the first command that you suggested me :

the answer was the following
cat: /usr/local/bin/dialin . File or directory nonexistent.
So I stopped all operations.
I am seeing that you are very kind. Thanks
I really don't know how to go haed now.

> You could try this.

> [hubble ~]$ cat /usr/local/bin/dialin
> #!/bin/bash
> exec /usr/sbin/pppd connect "/usr/sbin/chat -v -f /etc/ppp/dialscript"  \
> user oatttam /dev/modem crtscts modem nodetach 115200 noipdefault \
> defaultroute lock ipcp-accept-local ipcp-accept-remote debug
> [hubble ~]$

> There must not be anything after the \ in those two lines.

> [hubble ~]$ cat /etc/ppp/dialscript
> [hubble ~]$

> and then create /etc/ppp/pap-secrets  and /etc/ppp/chap-secrets that
> contains:

> oatttam   *   PaSsW0rD

> obviously, you must correct the username  in the script and here if it is
> different, and put in the correct password.

> You also need to check your modem manual, to see what is the correct init
> string (AT&F1 is for a US Robotics), and put in the right telephone
> and add the following line to the end of /etc/syslog.conf (remember to
> a copy of this critical file first):

> daemon.debug                             /var/log/messages

> Then you must restart syslogd ( killall -HUP syslogd ). Finally, you must
> have a file named /etc/resolv.conf  that I think should contain:

> nameserver
> nameserver

> Permissions: If you log in as root (bad idea) or use sudo, the following
> permissions are needed:

> -rwxr--r--     /usr/local/bin/dialin   and  /usr/sbin/pppd
> -rw-r--r--     /etc/ppp/dialscript     and  /etc/resolv.conf
> -rw-------     /etc/ppp/*ap-secrets

> If anyone is allowed to bring up the interface, change the permissions:

> -rwsr-xr-x   /usr/sbin/pppd   (chmod 4755 pppd )
> -rwxr-xr-x   usr/local/bin/dialin

> To use this:

> In one virtual terminal or xterm. run the command dialin (usr/local/bin/
> should be in your PATH).  In another virtual terminal, wait about 25
> for the modem to make the connection, and issue the command /sbin/route -n
> This should produce something like this:

> [hubble ~]$ /sbin/route -n
> Kernel IP routing table
> Destination   Gateway       Genmask         Flags Metric Ref  Use Iface
> UH    0      0    920 ppp0
>   U     0      0  95017 eth0
>       U     0      0    420 lo
>         UG    0      0   2004 ppp0
> [hubble ~]$

> Notice that the last line, the route to is using the ppp0
> and not eth0 if you have one.

> Now, do your Internet thing in this window. When you are done, go back to
> the first virtual terminal or xterm, and issue a Ctrl-C, which will bring
> down the connection.

> >Do you need other informations to solve my problem !

> If this does not work, we need to see the logs (/var/log/messages) from
> line

> Jul  3 09:54:57 gtech pppd[924]: pppd 2.3.11 started by root, uid 0

> to this line

> Jul  3 09:58:19 gtech pppd[924]: Exit.

> >Thanks again and have an happy Xmass

> And a Happy Christmas to your too!

> Hope this helps,