First off, thank you too Jan for the great information.  The system
here is a dual Pentium Pro 200 running SMP, RedHat 5.1, kernel 2.0.34,
Local slip IP 172.16.0.1, Remote slip IP 172.16.0.2, server IP 44.8.0.112
and ISP IP XXX.XXX.XXX.XXX on a ascend server.

I installed both diald-0.16.5a-1.i386.rpm and
diald-config-0.16.5a-1.i386.rpm packages.

I had to relocate my internal slip link (slattatch) and its routes to
sl1. Seems that diald does not like to be run as sl1 but defaults to sl0.
No problem with the relocation.

Ran my ppp-on and ppp-off scripts making sure that everything still works
with the manual connection. I did get my dynamic local address and the
default route was added to the ISP connection. Looks good! I had removed
all the commands (with the exception of 'name xxxxxx' and 'login')  from
the /etc/ppp/options file. All the options commands for ppp reside in the
/usr/sbin/ppp-on script.

Configured diald.conf per doc's. I do have the triple nameserver lines in
the resolve.conf to my local dns here. (actually its the same machine
running named), added the echo 7 > /proc/sys/net/ipv4/ip_dynaddr to the
init.d/networking file. Added both slip IP address's to the /etchosts
file. edited the /etc/diald/connect script for the ISP phone number.
edited the diald-on and diald-off scripts in the /usr/sbin dir to reflect
the proper init line (diald vice diald.init). and tried the connection.

I started diald and it installed a default route to:
0.0.0.0 0.0.0.0 0.0.0.0 sl0
Ifconfig sl0 showed the proper IP information for the P-T-P link
172.16.0.1
The remote sl0 address was included in the netstat -rn statement.

I then tried a telnet app to the local ISP. I am required to run PAP for
authentication.  The modem dials up the connection and makes the PAP
link. The system reports via a tail:

CONNECT: ppp0 <--> /dev/ttyS1
Remote message:
Local IP address: 44.8.0.112
Remote IP address: xxx.xxx.xxx.xxx  (it was the correct ISP address on a
ascend server)
Linux diald New address : local 44.8.0.112, remote xxx.xxx.xxx.xxx
Linux kernel: ip_rewrite_addr () shifting Saddr from 172.16.0.1 to
44.8.0.112 (state 2)

Doing a netstat -rn show that I now have two default routes, one to sl0
(initial diald slip link) and one for ppp0 to the correct ISP address. 
The link then times out due to inactive link and tries to redial in 10
seconds.

What I don't see is the changing of the local IP address too the dynamic
one provided by the ISP (as it does during the ppp manual link).
Remember, everything is stripped from the /etc/ppp/options file with the
exception of 'name' and 'login'.

When diald connects and makes the PAP exchange, does not the sl0 default
path drop allowing the pppd default patch to be the single outgoing
route?

So close, I have tried various configurations and could use the third
eye.

Thank You in advance, Seasons Greetings to *ALL*,  and best 73,

John, AA6QN [44.8.0.32]

[EMAIL PROTECTED] 

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to