Brad,

The ppp options may be in a file called /etc/ppp/options.  The diald documentation
recommends that you specify your ppp options in the diald.conf file.   It looks like
you have that covered.

I think the problem may be in your connect script.  I've attached my config file and
connect info as an example.  I recommend that you start with a simple config and
expand when that is working.

If you're running RedHat:  To stop gpm from coming up when you reboot run the
following:

chkconfig --del gpm

It might work for other distributions.

BTW:  ls -l /dev/mouse to find out where /dev/mouse is linked.

Bob...

Brad Davis wrote:

> Bob,
>
> I don't know how to check the link associated with /dev/mouse so I skipped that so
> I did the other thing. This bawx is acting as a gateway for my home network and is
> accessible via telnet only until I get another monitor. I killed gpm. I don't know
> where the ppp.options file is. I will include my diald.conf file. The modem isn't
> dialing and I endup killing diald after a while cause it didn't work. I also think
> that it is calling the wrong ip. I have 3 computers on my network 192.168.1.1(the
> server with diald), 192.168.1.2, and 192.168.1.3. I copied this out before I killed
> diald.
>
> // Begin /var/log/messages
>
> Apr 30 14:16:35 localhost pppd[581]: Terminating on signal 15.
> Apr 30 14:16:35 localhost pppd[581]: Connection terminated.
> Apr 30 14:16:35 localhost pppd[581]: Connect time 18.1 minutes.
> Apr 30 14:16:35 localhost pppd[581]: Sent 140563 bytes, received 261384 bytes.
> Apr 30 14:16:35 localhost pppd[581]: Exit.
> Apr 30 14:21:15 localhost diald[701]: Unknown option 'ipcp-max-terminate'
> Apr 30 14:21:15 localhost diald[701]: Unknown option 'reroute'
> Apr 30 14:21:15 localhost diald[702]: Using fifo /etc/diald/diald.ctl
> Apr 30 14:21:15 localhost modprobe: can't locate module tap0
> Apr 30 14:21:15 localhost modprobe: can't locate module tap1
> Apr 30 14:21:16 localhost modprobe: can't locate module tap2
> Apr 30 14:21:16 localhost modprobe: can't locate module tap3
> Apr 30 14:21:16 localhost modprobe: can't locate module tap4
> Apr 30 14:21:17 localhost modprobe: can't locate module tap5
> Apr 30 14:21:17 localhost modprobe: can't locate module tap6
> Apr 30 14:21:17 localhost modprobe: can't locate module tap7
> Apr 30 14:21:17 localhost modprobe: can't locate module tap8
> Apr 30 14:21:18 localhost modprobe: can't locate module tap9
> Apr 30 14:21:18 localhost modprobe: can't locate module tap10
> Apr 30 14:21:18 localhost modprobe: can't locate module tap11
> Apr 30 14:21:19 localhost modprobe: can't locate module tap12
> Apr 30 14:21:19 localhost modprobe: can't locate module tap13
> Apr 30 14:21:19 localhost modprobe: can't locate module tap14
> Apr 30 14:21:19 localhost modprobe: can't locate module tap15
> Apr 30 14:21:20 localhost kernel: SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR
> (dynamic channels, max=256) (6 bit encapsulation enabled).
> Apr 30 14:21:20 localhost kernel: SLIP linefill/keepalive option.
> Apr 30 14:21:20 localhost diald[702]: Proxy device established on interface sl0
> Apr 30 14:21:20 localhost diald[702]: start sl0: SIOCSIFMETRIC: Operation not
> supported
> Apr 30 14:21:20 localhost diald[702]: start sl0: SIOCDELRT: No such process
> Apr 30 14:21:20 localhost diald[702]: Diald initial setup completed.
> Apr 30 14:21:21 localhost diald[702]: Trigger: udp       192.168.0.1/61040
> 207.66.2.66/53
> Apr 30 14:21:21 localhost diald[702]: Calling site 192.168.0.2
> Apr 30 14:22:08 localhost diald[702]: Connect script failed.
> Apr 30 14:22:08 localhost diald[702]: Closing /dev/modem
> Apr 30 14:22:09 localhost diald[702]: Delaying 1 seconds before clear to dial.
> Apr 30 14:22:26 localhost diald[702]: Trigger: tcp       192.168.0.1/1025
> 207.66.2.68/21
> Apr 30 14:22:26 localhost diald[702]: Calling site 192.168.0.2
> Apr 30 14:23:12 localhost diald[702]: Connect script failed.
> Apr 30 14:23:12 localhost diald[702]: Closing /dev/modem
> Apr 30 14:23:13 localhost diald[702]: Delaying 1 seconds before clear to dial.
>
> // End /var/log/messages
> // Begin /etc/diald/diald.conf
>
> debug 0x0008
> pppd-options user striker noauth ipcp-accept-local ipcp-accept-remote
> #ipcp-max-terminate 10 noipdefault mode ppp
> include /etc/diald/standard.filter
> redial-timeout 1
> fifo /etc/diald/diald.ctl
> device /dev/ttyS1
> speed 115200
> modem
> lock
> crtscts
> connect "/etc/sysconfig/network-scripts/chat-ppp0"
> local
> remote
> dynamic
> defaultroute
> reroute
> netmask 255.255.255.0
> accounting-log /var/log/diald.log
> mode ppp
> two-way
> connect-timeout 120
> start-pppd-timeout 120
> died-retry-count 0
> redial-backoff-start 4
> redial-backoff-limit 300
> dial-fail-limit 10
>
> // End /etc/diald/diald.conf
>
> Thanks,
> Brad
>
> Bob Chiodini wrote:
>
> > Brad,
> >
> > Check the link associated with /dev/mouse.  Last resort, if you strictly use X
> > windows (even if not) then kill gpm.  Then bring up diald.  This should clean up
> > the log and maybe reveal what is really happening.
> >
> > If neither of these work, post your diald.conf and ppp.options files.
> >
> > You cannot directly run ifup ppp0 as your connect script as it attempts to start
> > pppd, diald wants to do that.
> >
> > This is interesting, did you kill diald by hand after 26 seconds.  Did the modem
> > dial?
> >
> > Apr 27 19:17:56 localhost diald[4764]: Trigger: udp
> > 192.168.0.1/1024       207.66.2.66/53
> > Apr 27 19:17:56 localhost diald[4764]: Calling site 192.168.0.2
> > Apr 27 19:17:56 localhost gpm[426]: Error in read()ing first: No such file or
> > directory
> > Apr 27 19:18:22 localhost last message repeated 39338 times
> > Apr 27 19:18:22 localhost diald[4764]: SIGTERM. Termination request received.
> > Apr 27 19:18:22 localhost diald[4764]: Diald is dieing with code 0
> > Apr 27 19:18:22 localhost chat[4791]: SIGINT
> > Apr 27 19:18:22 localhost diald[4764]: Closing /dev/modem
> >
> > Bob...
> >

--
---------------------------------------------------------
  Bob Chiodini                     [EMAIL PROTECTED]
---------------------------------------------------------


# 
# diald.conf for anathoth
#
# Select the demand dial rules you want
# Bring the link up for anything, timeout in seconds. Use this for 
# when the dompute has its own phone line
ignore tcp tcp.fin
accept any 300 any
# Use the filter file that comes with diald.  This can be a bit drastic, 
# so use the filter below
# include /usr/lib/diald/standard.filter
# or use the filter that brings the link up for use on a line shared with
# a phone
# include /etc/diald/phone.filter

# stuff to set up the diald connection
device /dev/ttyS1
speed 115200
lock
mode ppp
# We may get another terminal server, thus use
# 'dynamic' and do not tell PPP the IP number of the other end
# For use with gated, comment out the 'dynamic' option, and
# set remote to be the same as local
dynamic
local 10.0.0.1
remote 10.0.0.2
netmask 255.255.255.252
pppd-options asyncmap 0 user !bchiodini remotename gnc 
#  ipcp-accept-remote
# impulse 300,0,0
defaultroute    
modem
crtscts
connect "/usr/sbin/chat -f /etc/ppp/pppchat -r /etc/ppp/connect-errors"
redial-timeout 10
fifo /etc/diald/gnc.ctl
ip-up /etc/diald/ipup.gnc 
# addroute /etc/diald/add.default.route
# >> /tmp/netmail.log 2>&1"
# restrict 9:00:00 17:45:00 1 * *
# or-restrict 9:00:00 17:45:00 2 * *
# or-restrict 9:00:00 17:45:00 3 * *
# or-restrict 9:00:00 17:45:00 4 * *
# or-restrict 9:00:00 17:45:00 5 * *
# up
ABORT "NO DIALTONE"
ABORT BUSY
ABORT "NO CARRIER"
REPORT "CONNECT"
"" ATZ
OK AT&F&C1E0s11=55L0M0S95=1X4W1&Q5&D3
OK ATDT6381198
CONNECT ""

Reply via email to