Setup DNS on the linux box and point the workstations to it. Change your
resolv.conf to point to it also. Set your DNS server as a 'forward only' DNS
so that it will forward legitimate requests on to your ISP's DNS servers when
needed, but in-house addresses will not trigger diald.

[EMAIL PROTECTED] wrote:
> 
> Hello, all.
> 
> I set up diald, and everything seems to work fine with ethertap(tap0)
> interface.
> 
> I want diald not to dial in daily time, so I wrote restrict directive
> in /etc/diald.conf like this
> >restrict 07:55:00 23:05:00 * * *
> >down
> 
> My trouble is ...
> When I start Netscape just to browse local HTML file in daily time,
> Netscape hangs up. It seems that Netscape is looking/waiting for DNS
> server to answer, but diald is restricted to dialup to my ISP, so...
> 
> Is there any good idea to avoid this or who had a similar problem?
> Let me know.
> 
> Here's my environment.
>         Linux: Laser5 Linux 6.0 (based on RedHat6.0)
>    Kernel: 2.2.12
>         diald: 0.99.1
>          pppd: 2.3.10
>         Netscape: 4.51(Japanese Edition)
>         Modem: 56k ISA internal
> 
> /etc/resolve.conf:
> namesake 203.140.10.10
> namesake 203.140.1.10
> # this is my Is's DNS server
> 
> /etc/diald.conf
> accounting-log /var/log/diald.log
> accept any 420 any
> include /usr/lib/diald/standard.filter
> ignore tcp tcp.fin
> ignore up up.source=up.netbios-ns,up.deist=up.netbios-ns
> device /dev/ttyS0
> speed 115200
> lock
> mode ppp
> dynamic
> local 192.168.254.1
> remote 192.168.254.2
> defaultroute
> modem
> crests
> connect /etc/ppp/ppp-on-dialer
> fifo /etc/diald/diald.ctl
> retry-count 3
> redial-timeout 15
> connect-timeout 65
> restrict 07:55:00 23:05:00 * * *
> down
> impulse 570,30
> # end
> 
> --
> Toru Sagami, Yokohama Japan
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]

-- 
Edison Information Technologies
P.O. Box 554
Milan, OH  44846-0554
419.499.7040
www.EdisonInfo.com
[EMAIL PROTECTED]
--

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

Reply via email to