Can anyone save me from being driven insane by Diald?

Here's my setup: Red Hat 5.2, Kernel 2.0.36, pppd 2.3.5, Samba (came
with RH5.2), ipfwadm-2.3.0-1.

I have one Linux box and five Win95/98 PCs networked. The network uses
the 172.16.0.0 private network address, with the Linux box as 172.16.0.1
and the PCs as 172.16.0.2 to 172.16.0.6. The Linux box and PCs see each
other by means of hosts files on each. On the PCs 172.16.0.1 is set as the
gateway and DNS is enabled - with the ISPs' primary and secondary
nameservers entered. All PCs can see and use the Samba server. Ipfwadm made
it possible for the PCs to access the Web via the Linux box if the client's
user telnetted to the server and manually started the ppp connection
(/sbin/ifup ppp0). IP masquerade was only possible by typing the following
commands on rebooting the Linux PC (I didn't want to have it start on boot
until the whole system was proven):

# ipfwadm -F -p deny
# ipfwadm -F -a m -S 172.16.0.0/16 -D 0.0.0.0/0

I installed diald-0.16.5a-1.i386.rpm and diald-config-0_16_5a-1_i386.rpm
from www.troutman.org and followed Troutman's install/config instructions
more or less to the tee:

Added ISPs primary nameserver and secondary name server 3 times in
/etc/resolv.conf
Added "echo 5>/proc/sys/net/ipv4/ip_dynaddr" to the beginning of
/etc/rc.d/init.d/network.
Ran chkconfig --add diald, to start diald on boot.
Edited diald.conf to suit.

On reboot the modem dialled my ISP when Sendmail service started.
(Default RH5.2 install, I haven't set Sendmail up yet so I killed off
the service in Linuxconf). Now the modem dials out every 5 minutes. I
suspect this is a Netbios thing because of Samba. More importantly, when
the link is up, the Web can't be accessed from the Linux Box nor the
clients. If you type 'route' at the command line then the modem dials
and connects before displaying the IP routing table. It then drops the line and
dials again 10 seconds later, only to drop the line again.

My ISP is Demon.net. I have a static IP address for the account but I
haven't set this up as my diald.conf 'local' .

I'm happy to attach my diald.conf, standard.filter, routing table,
resolv.conf or anything else you might need to help me fix my probs.
Also, I have this appearing in /var/log/messages:

(snip)
Connection terminated.
Receive serial link is not 8-bit clean:
Problem: all had bit 7 set to 0
Hangup (SIGHUP)
Exit.
(snip)

What am I doing wrong? After struggling for so long with Diald, am I
getting anywhere close to cracking it? Any suggestions are *extremely* welcome
and please be 'verbose' - I'm still quite new to Linux.



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

Reply via email to