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 smtp5.libero.it
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
> ABORT BUSY ABORT 'NO CARRIER' "" AT&F1 OK ATDT2662902 CONNECT \d\c
> [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
number,
> and add the following line to the end of /etc/syslog.conf (remember to
make
> 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 151.99.164.3
> nameserver 212.41.208.6

> 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
seconds
> 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
> 205.22.7.12   0.0.0.0       255.255.255.255 UH    0      0    920 ppp0
> 192.168.1.0   0.0.0.0       255.255.255.0   U     0      0  95017 eth0
> 127.0.0.0     0.0.0.0       255.0.0.0       U     0      0    420 lo
> 0.0.0.0       205.22.7.12   0.0.0.0         UG    0      0   2004 ppp0
> [hubble ~]$

> Notice that the last line, the route to 0.0.0.0 is using the ppp0
interface
> 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
this
> 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,