Problems with ppp and modem
Tim Robbins
tjr at freebsd.org
Tue Dec 16 03:41:24 PST 2003
On Tue, Dec 16, 2003 at 05:37:38AM +0100, gunnar.flygt at bredband.net wrote:
> I changed machine at home from a box running 4.9-STABLE to a new one running 5.2-CURRENT. I dial in to my company using modem and userland ppp. The config runs OK on the 4.9 box, but on the 5.2 it never "lifts the phone off the hook" so to say. I've checked the examples in /usr/share/examples/ppp to see it there are any news in the config. I haven't found anything different from what I've got.
[...]
> Is anyone still using modems with CURRENT? :)
I'm using a Banksia MyModem 56V external serial modem with user PPP on
-CURRENT to connect to a commercial ISP (iPrimus). This is the config
file I'm using; the only interesting difference between mine and yours
seem to be in the "set dial" line. I think mine is based on an example
from an old edition of the FreeBSD handbook.
default:
#set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuaa0
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 18000 # 5 hours
allow user xxx
allow user xxx
set urgent +xxx
set urgent +xxx
nat port tcp x.x.x.x:xxx xxx
nat port udp x.x.x.x:xxx xxx
nat port tcp x.x.x.x:xxx xxx
set server +xxx xxx
iprimus:
set phone "9923-2000"
set authname xxx
set authkey xxx
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
The serial port is:
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
Tim
More information about the freebsd-current
mailing list