Click to See Complete Forum and Search --> : Diald question and problem


Sokertes
10-01-2000, 08:40 PM
I have RH6.2 server and a Win98 machine on my home lan. I have been playing around, well actually working on getting diald to actually work. First time I tried setting it up everything didn't work as planned. I got a bunch of errors somehow it messed something up to the point where I couldn't even browse, even after manually starting ppp0. So I reinstall my server and tried again. It worked.... kinda. It dialed up and would connect for about 5 - 10 seconds and hangup and kept doing so until I manually stopped diald. So I reinstalled my server... again. Now it wont even dialup. Diald is brought up on init. I try to go to a webpage and it sits there until it times out.

I am using diald-0.16.5-201.i386 and diald-config-0.16.5-201.i386 for the diald setup. and my diald.conf consist of:

#
# diald.config
#
accept any 1200 any
mode ppp
device /dev/ttyS3
speed 57600
modem
lock
dynamic
local 192.168.xxx.xxx
remote 192.168.xxx.xxx
pppd-options name MY_USER_FOR_MODEM
up-delay 5
defaultroute
crtscts
connect "/usr/sbin/chat -f /etc/sysconfig/network-scripts/chat-ppp0"
redial-timeout 10
fifo /etc/diald/diald.ctl

Is diald that unstable or am I just one of the few that need God and Congress to get this thing running. http://www.linuxnewbie.org/ubb/frown.gif

Any help would be greatly appreciated in advance.

Sokertes

Sokertes
10-02-2000, 12:48 AM
update......
After a total reinstall of my server and installing diald using the original configs edited to my network and pap-secerets. It dials up but disconnects after about 15 seconds like it verifies username and password in pap-secerets and radius disconnects me for not being able to authenticate.

Any suggestions?

Sokertes

cs25x
10-02-2000, 05:18 AM
Have you read unruh, "how to hook up ppp in linux" With luck, this will get it:
axion.physics.ubc.ca/ppp-linux.txt
or http://axion.physics.ubc.ca/ppp-linux.html

Sounds like your ISP hates scripts. Look at your log file, or /var/log/messages

diald ? did I have trouble?

00000000000000000000000000000
I dont think i use it right now.

Sokertes
10-14-2000, 08:09 PM
After looking thru some logs I found this.

Oct 14 19:58:20 firewall diald[542]: Running connect (pid = 671).
Oct 14 19:58:20 firewall connect: Initializing Modem
Oct 14 19:58:21 firewall connect: Dialing 4327200
Oct 14 19:58:43 firewall connect: chat: Oct 14 19:58:43 CONNECT 45333/ARQ/V90/LAPM/V42BIS
Oct 14 19:58:43 firewall connect: Loggin in
Oct 14 19:59:19 firewall diald[542]: Connect script timed out. Killing script.
Oct 14 19:59:19 firewall connect: Failed to log in
Oct 14 19:59:19 firewall diald[542]: child process 671 terminated with signal 2
Oct 14 19:59:20 firewall diald[542]: Delaying 10 seconds before clear to dial.

What do you think?

cs25x
10-15-2000, 01:33 AM
ppp is easier to work with than diald. Can you get connected with minicom?

That link I gave you should solve all your problems. You might have to use the control line to figure out what you need.

do something like this in /etc/ppp.chatscript:

ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
"" "AT\&FW2"
TIMEOUT 5
OK "ATDT 0867 67000" --- CHANGE TO SUIT --
TIMEOUT 60
CONNECT

IT could be that your isp is looking for chap or pap
ln -s /etc/pap-secrets /etc/chap-secrets
and in pap-secrets:
username ispname password *

The * on the end is important, it wont work without it.

qweqwe
10-16-2000, 05:42 PM
or first you try to login to ur ISP. u can use wvdial ( read man its easy) or from X u can use rp3. first u hv use rp3-confg. then use rp3. once u r able to login easily, then u can configure diald for demand dialing use pppd with 'demand' option.

qweqwe