Web Master wrote:
>
> We have got diald 0.6-5 running but not on dial on demand!
>
> Could someone share their script / setup experience on getting diald to dial on
> demand!
>
[my english is improving slowly, sorry]
Ok,
Bonjour,
I'm using RH4.1 with a 2.0.27 kernel for home personal use. My connexion is
made with asynchronous PPP on PSN and with dynamic IP addressing.
I started to setup my dialup with the control panel entirely without diald
mechanism. After some days of manual dial I started the diald setup:
1) I did some minor changes to the diald.conf file coming with the
distribution. Here is its content:
mode ppp
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"
device /dev/modem
speed 115200
lock
crtscts
mru 1500
local 192.168.0.1
remote 192.168.0.2
redial-timeout 5
defaultroute
include /etc/diald.filter
fifo /etc/diald/diald.ctl
ip-up /usr/local/etc/ip_up
2) I have added a line is the standard /etc/dialkd.filter file to make
diald aware of my ISP's proxy TCP port number:
[...]
# make sure http transfers hold the link for 2 minutes, even after they end.
# NOTE: Your /etc/services may not define the tcp service www, in which
# case you should comment out the following two lines or get a more
# up to date /etc/services file. See the FAQ for information on obtaining
# a new /etc/services file.
accept tcp 120 tcp.dest=tcp.www
accept tcp 120 tcp.source=tcp.www
accept tcp 120 tcp.source=tcp.proxy
[...]
3) I updated /etc/services to add 'proxy':
proxy 8080/tcp proxy-port # proxy host port
TIP: don't use aliases names for services in your diald.filter file. For
an obscure reason I can't understand, Eric has changed the code to get
port numbers in a strange way: the program doesn't use getservbyname()
anymore but performs a read of /etc/services without taking care of
aliases...
4) I did some scripting and made symbolic links to make diald starting at
boot and the dialup was running fine !!!
You can see a full description of my diald/fetchmail/sendmail setup at
<http://worldserver.oleane.com/gc051/connect.html>
Sorry, it's in french but you will be able to see the content of all
the files I have modified.
I someone thinks that this document is good and should be translated into
english, please let me know. In this case I will need help from people
having some knowledge of french.
HTH
Regards,
--
//////
| . . | Cyril Guibourg http://worldserver.oleane.com/gc051/
| ^ | plan: E2BIG ;-) mailto:pivert*NO-SPAM*@mail.dotcom.fr
-oOo-----oOo--------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]