dialmon port refuses connection

dialmon port refuses connection

Post by Frank Ha » Sun, 24 Jan 1999 04:00:00







>> When I try to telnet to port 7002 (the dialmon port) I get:

>> -> Trying 127.0.0.1...
>> -> telnet: Unable to connect to remote host: Connection refused
>> I am able to telnet to the localhost on the normal telnet port.

>> I have this in my /etc/services file:
>> -> dialmon         7002/tcp
>> and I tried also with
>> -> dialmon         7002/tcp
>> -> dialmon         7002/udp

>> and this in /var/log/messages everytime I start dialmon:
>> -> Jan 21 01:45:43 slick dialmon: dialmon: using normal passwords
>> -> Jan 21 01:45:43 slick dialmon: No diald configuration: Demon
>> the second message is wierd b/c I do have a /etc/diald.conf file

>> I start dialmon with the following code (just like dialmon readme said):
>> -> . /etc/rc.d/init.d/functions
>> -> if [ ! -f /etc/sysconfig/network ]; then
>> ->     exit 0
>> -> fi
>> -> . /etc/sysconfig/network
>> -> [ ${NETWORKING} = "no" ] && exit 0
>> -> [ -f /sbin/ifconfig ] || exit 0
>> -> /sbin/route del 0.0.0.0
>> -> daemon /usr/sbin/dialmon -rDemon -pppp0 -b28800
>> -> [ -f /proc/sys/net/ipv4/ip_dynaddr ] &&
>> -> echo 1 > /proc/sys/net/ipv4/ip_dynaddr
>> -> echo "Done."
>> -> ;;

>> I installed dialmon on my RH5 system by going into the /dialmon-0.6/linux/ dir
>> and typing 'make' and then then 'make install_dialmon'.  There were no error
>> messages.  I use diald-0.16.5 and it works relatively well.

>I should also add that when I do a 'ps -aux' there is no diald or dialmon.
>should there be?

I think both diald and dialmon need to be running.  It looks like
dialmon needs to be running before you can telnet into 7002.  I get
the same message as you did above.  As soon as I start it back up,
I can telnet back into it.

--
Frank Hahn