Hi,
        I set up pppconfig, got pon and poff working successfully,
set up diald.options according to Johns instructions
then started up diald and went browsing, it connects then hangs up.

here's some of /var/log/ppp.log -
Apr 28 14:10:50 confluent pppd[418]: not replacing existing default route to 
sl0 [0.0.0.0] 
Apr 28 14:10:50 confluent pppd[418]: Cannot determine ethernet address for 
proxy ARP 
Apr 28 14:10:50 confluent pppd[418]: local  IP address 203.41.196.70 
Apr 28 14:10:50 confluent pppd[418]: remote IP address 203.41.196.4 
Apr 28 14:10:53 confluent diald[408]: Device ttyS0 is locked by pid 418 
Apr 28 14:10:53 confluent diald[408]: Couldn't find a free device to call out 
on. 

I looked up man diald, searched for pppd-options <arg1>
and there's the problem - in /etc/ppp/options, proxyarp is enabled,
when I disabled this option autodial started working.

Now I'm next setting up ipmasq, firewall and samba so I can autodial
out through my linux box from a small win95/98 network.
Do I need proxyarp ?
What does it do ?

Fri, 16 Apr 1999, John Hasler wrote: 


># /etc/diald/diald.options
>#
># Edit to match your set up.
>#
># This is the port the modem is connected to.
># *** MODIFY to match your set up ***
>device /dev/ttyS2
>
># diald log file: do not change.
>accounting-log /var/log/diald.log
>
># diald monitoring pipe: do not change.
>fifo /var/run/diald.fifo
>
># This turns on full debugging.
>debug 77
>
># We have PPP
>mode ppp
>
># Changed IP JGH.
>local 10.0.0.1
># IP number for the provider's machine. This is different each time we connect.
># This is not a problem, but it'll make the routine table look funny.
># Changed IP JGH.
>remote 10.0.0.2
>netmask 255.0.0.0
>
># If the connection gets broken from the ISP, redial only
># if there's outgoing traffic from our side.
>two-way
>
># When the link's up, change routes to point to the real link
># instead of the proxy.
>reroute
>
># diald should set a default route to the proxy SLIP link.
>defaultroute
>
># These two scripts must be executable.
>#ip-up /etc/diald/ip-up
>#ip-down /etc/diald/ip-down
>
># Scripts used to bring up/shut down the serial line.
>connect "chat -v -f /etc/chatscripts/provider"
># disconnect "/etc/ppp/ppp-disconnect"
>
># Do UUCP locking.
>lock
>
># We connect through a modem.
>modem
>crtscts
>
># Local tweaking
>connect-timeout 90
>dial-fail-limit 2
>died-retry-count 0
>
>include /etc/diald/standard.filter
>dynamic
>pppd-options debug noauth user jghasler ipcp-accept-local ipcp-accept-remote
>-- 
>John Hasler
>[EMAIL PROTECTED] (John Hasler)

--

Cheers,
Colin Tree

Reply via email to