Problems using ppp as a server

ejff ejff at yandex.ru
Fri Mar 19 06:34:36 PST 2004


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.


More information about the freebsd-questions mailing list