Date: Mon, 20 Sep 2010 14:45:52 -0400 From: leal@infomed.sld.cu To: freebsd-net@freebsd.org Subject: pppd garbage and mgetty for dialin not work Message-ID: <1285008351.4c97abe0031bd@web4.sld.cu>
next in thread | raw e-mail | index | archive | help
Hi folks, I have problems configuring mgetty(1.1.35)/ppp(default ppp/pppd for this version of freebsd 6.1) for a dial-in server, I run FreeBSD 6.1 ( yeah I know it's old ), my dialout config to my isp it's working flawlessly but dial-in don't work, mgetty it's "listen" on the modem and pick-up the calls, etc, the log look ok, but in the auth phase when mgetty got an incoming call and launch pppd ( see my login.config down ) pppd puts garbage in my console and don't auth my incoming call, any help please?? this are my config files, now basically this config I have in my linux box and it's working so good I can't figure out why in the world don't work with my freebsd box, I know I must be close. PS: I edited /etc/ttys and change ttyd0 to put mgetty on it. I based my config on the handbook with user ppp and kernel ppp. +++++++++++++++++++++++++++++++++++++++++ My "mgetty.config" debug 8 speed 115200 port cuad0 speed 115200 debug 8 data-only yes rings 2 ++++++++++++++++++++++++++++++++++++++++++ My "login.config" /AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.LeaL.server # * - - /bin/login @ +++++++++++++++++++++++++++++++++++++++++++ My "options.LeaL.server" auth refuse-chap require-pap lock login 192.168.129.169:192.168.129.130 +++++++++++++++++++++++++++++++++++++++++++ My "pap-secrets" usuario_ras * "" * # usuario_ras it's the one who can dial-in # and must auth with /etc/passwd database +++++++++++++++++++++++++++++++++++++++++++ my dialin.config it's empty (default) ------------- Now my "ppp.conf" ------------------ default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuad0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) set phone MYISPPHONEDIALOUT set authname user set authkey passwd accept PAP set timeout 300 dial cuad0: set ifaddr 1192.168.129.169 192.168.129.170-192.168.129.173 enable passwdauth allow users usuario_ras accept dns ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------ Infomed - Red de Salud de Cuba http://www.sld.cu/ -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1285008351.4c97abe0031bd>