Date: Fri, 19 Mar 2004 17:34:16 +0300 (MSK) From: "ejff" <ejff@yandex.ru> To: freebsd-questions@freebsd.org Subject: Problems using ppp as a server Message-ID: <405B04E8.00000C.11081@soapbox.yandex.ru>
next in thread | raw e-mail | index | archive | help
Hello, i have a problem using ppp as a server.
When i start it like this:
root # ppp -direct server
it prints out a garbage:
~ÿ}#À!}!}!} }=}(}"}'}"}"}&} } } } }!}$}%Ü}%}&?å3i}#}%Â#}%CÃ~~ÿ}#À!}!}!}
}=}(}"}'}"}"}&} } } } }!}$}%Ü}%}&?å3i}#}%Â#}%CÃ~~ÿ}#À!}!}!} }=}(}"}'}"}
"}&} } } } }!}$}%Ü}%}&?å3i}#}%Â#}%CÃ~~ÿ}#À!}!}!} }=}(}"}'}"}"}&} } } }
}!}$}%Ü}%}&?å3i}#}%Â#}%CÃ~~ÿ}#À!}!}!} }=}(}"}'}"}"}&} } } } }!}$}%Ü}%
}&?å3i}#}%Â#}%CÃ~
root #
then terminates normally (i see it in the log file).
this is my ppp.conf file:
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuaa1
set speed 38400
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180
enable dns
server:
enable chap
set ifaddr 192.168.0.1 192.168.0.2
I also tried to run PPP like this:
root # ppp -direct server &
It doesn't terminate in this case, but it doesn't even listen to the telephone line when somebody dials up to me.
It starts to work only when i go into ppp interactive mode, and then run "term" command.
I have FreeBSD-4.4 RELEASE, and ppp 2.3.2
THE MAIN PROBLEM IS THAT I CAN NOT MAKE MY MODEM TO ANSWER TO THE CONNECTION REQUEST AUTOMATICALLY.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405B04E8.00000C.11081>
