KISOKU Learning to breathe

12
Jun 08

Yoshiro Uo recently fixed support for Emobile UMTS in OpenBSD -current and shared the configuration with us.

/etc/ppp/peers/emobile:

cuaU0 460800 crtscts
lock
#nodetach
#hide-password
local
noauth
#dns routing
#usepeerdns
defaultroute
noipdefault
# disable compressions
novj
noccp
nobsdcomp
# auth
user "em"
# misc? (xxx)
ipcp-restart 8
ipcp-max-configure 50
ipcp-accept-local
:10.0.0.1
ipcp-accept-remote
# connect script
connect '/usr/sbin/chat -v -f /etc/ppp/chat-emobile -T *99***1#'

/etc/ppp/chat-emobile:

ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ECHO ON
SAY "Connecting"
TIMEOUT 15
"" "\d\d\dat\r\dat"
TIMEOUT 5
"OK-\Kat-OK" "at"
OK "at&FE1V1X1&D2&C1S0=0"
OK "at+ipr=230400"
SAY "Let's go"
OK "atdt\T"
CONNECT ''

/etc/ppp/chap-secrets:

#	$OpenBSD: chap-secrets,v 1.3 2002/06/09 06:15:15 todd Exp $

# Secrets for authentication using CHAP
# client	server	secret			IP addresses
em		*	em
blog comments powered by Disqus