[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: diald setup problem



Fumi Okushi writes:
> I'm having trouble setting up diald on my Linux box.  The problem I have
> right now, which I haven't been able to figure out for the last couple of
> hours, is that ppp0, when the link comes up, assumes the IP address
> assigned to eth0.  I just cannot figure out how it gets it!
> ...
> Any help would be appreciated.  I would also appreciate any working
> /etc/diald/diald.options file for a Linux box that gets its IP address
> dynamically from the ISP.

Here's one (with comments elided and the username changed):

	# /etc/diald/diald.options
	device /dev/ttyS2
	accounting-log /var/log/diald.log
	fifo /var/run/diald.fifo
	debug 77
	mode ppp
	local 10.0.0.1
	remote 10.0.0.2
	netmask 255.0.0.0
	two-way
	reroute
	defaultroute
	connect "chat -v -f /etc/chatscripts/provider"
	lock
	modem
	crtscts
	connect-timeout 90
	dial-fail-limit 2
	died-retry-count 0
	include /etc/diald/standard.filter
	dynamic
	pppd-options noauth user ispname ipcp-accept-local ipcp-accept-remote

The solution to your problem probably is the last two items on the
pppd-options line.  The 'connect' line that I use points to the chatscript
used by pon, but that is not necessary.

/etc/ppp/options contains a number of options that the diald docs say will
conflict with diald, but I've not seen it happen.
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI




Reply to: