More than likely your Win9x Systems are keeping the Link active.
The traffic that Win9x generates, which keeps the Link active,
includes NETBIOS and DNS messages.
With respect to NETBIOS traffic, you can add the following filter
rules to your filter file:
1. In the UDP Area, prior to the UDP Catch ALL Rule
ignore udp udp.dest=udp.netbios-ns
ignore udp udp.source=udp.netbios-ns
ignore udp udp.dest=udp.netbios-ssn
ignore udp udp.source=udp.netbios-ssn
ignore udp udp.dest=udp.netbios-dgm
ignore udp udp.source=udp.netbios-dgm
2. In the TCP Area, prior to the TCP Catch ALL Rule
ignore tcp tcp.dest=tcp.netbios-ns
ignore tcp tcp.source=tcp.netbios-ns
ignore tcp tcp.dest=tcp.netbios-ssn
ignore tcp tcp.source=tcp.netbios-ssn
ignore tcp tcp.dest=tcp.netbios-dgm
ignore tcp tcp.source=tcp.netbios-dgm
With respect to DNS, Win9x has a little operational quirk in
that it tries to use DNS as part of it's NETBIOS Name
Resolution. You can prevent this by either of two methods.
First, you can manually edit the HOSTS file (found in the
Windows Directory) on each of your Windows Machines
and make sure ALL the Systems in your Network are
defined. Secondly, you can inhibit Win9x usage of
DNS for NETBIOS (attached I have included a Registry
Edit Macro which changes the DNS Flag). NOTE: With
the second method, it will appear from the Network Control
Panel that DNS is fully disabled -- this isn't the case, it is only
disabled for NETBIOS. Also, with the Second Method, you
will need to reapply the Edit Macro any time you modify the
Networking Options for the System.
Jeff
----- Original Message -----
From: Rusman E. Priyana <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 22, 2000 2:43 AM
Subject: diald won't hang up
> Hi all,
>
> I am new to this mailing list.
> I have set up my linux box and managed to get my ppp dial up to my ISP
working,
> after one week of searching for solution for using diald with PAP.
> I intend to use the linux as a gateway to internet for the win9x LAN at
home,
> doing IP Masquerading.
>
> Now it is basically working with the following problem, which I hope to
get
> some help for, from you guys.
>
> 1. the first ping package triggers the dialing, but will not get the a
return.
> - this I believe is a known problem when we are using dynamic IP
address
> from ISP?
> someone has suggested to do
> echo "5" >/proc/sys/net/ipv4/ip_dynaddr
> but it doesn't work for me.
> and I am pinging by IP number, so it is not my resolv.conf problem.
> For worst case, I guess I can live with this problem if no solution
is
> available.
>
> 2. once connected, I can do pretty much everything, but after idle for 1
> hour (that is the longest I have tried), it won't disconnect.
> any way at all to monitor what has cause this connection to stay
alive?
> If cannot be solved, what is the best way to shut this connection
down
> from the win9x clients on the LAN.
> (i won't ask the users to telnet to linux box and stop diald), any
> other way?
>
>
> Regards,
>
> Rusman
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
>
no-dns.reg