On Sun, Feb 15, 2009 at 03:28:17PM +0000, Tom Jones wrote: > I got a HUAWEI E169 usb modem on the three carrier, here in the UK. > I am completely lost on how to set the modem up, Ive been through the example > from the FAQ and from some Linux sources, but I would really appreciate > if someone could give an example of their ppp.conf or similar that is > working on three. > > Thanks in advance
The following setup worked fine in Ireland with this exact modem. The ISP was three.ie. It uses pppd(8), so run 'pppd call three' to connect. Note that you need this patch if you don't run -current, otherwise the modem will only attach very late (about 30 seconds after being plugged in): http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/umsm.c.diff?r1=1.34;r2=1.35 See also http://www.hazardous.org/~fkr/openbsd/openbsd_gprs_umts.html, especially the slide set linked there: http://hazardous.org/~fkr/talks/gprs_umts_talk_lf2006.pdf You don't need to configure any kind of authentication for the ppp session. I could not ping the other end of the peer-to-peer connection, no IP was assigned to the other end. However, simply setting a default route to the local end of the peer-to-peer connection (i.e. pointing to the local ppp0 interface) was enough to be able to connect to hosts on the internet. The DNS servers three gave me didn't respond. You may need to use some other well-known DNS server instead. For this reason, if you connect for the first time, it's handy to have the IP address of my.three.ie handy in order to be able to top up. That worked for me with firefox after I had figured out the pppd part (which took me, like, 2 days.... :/ ) Oddly enough, even if you did never top up yet, you can get one packet through to the internet and get a reply packet, after that three starts dropping your packets. This allowed me to issue a single DNS query to a nameserver the IP of which I know by heart to find out the IP of my.three.ie. :) Please keep any further questions on-list, umts stuff is not well documented so it's good to have this in the archives. Good luck, Stefan /etc/ppp/peers/three: debug /dev/cuaU0 460800 lock persist noauth # my ISP does weird stuff in the ipcp session 0.0.0.0:10.64.64.64 netmask 255.255.255.255 ipcp-accept-local ipcp-accept-remote noipdefault crtscts deflate 0 bsdcomp 0 noccp novj novjccomp nopcomp #nodetach mru 1440 refuse-chap connect '/usr/sbin/chat -f /etc/ppp/peers/three.chat' /etc/ppp/peers/three.chat: ABORT BUSY ABORT ERROR ABORT "NO CARRIER" ABORT VOICE ABORT "NO DIALTONE" "" AT OK AT+CGDCONT=1,"IP","3ireland.ie" OK ATDT*99# TIMEOUT 40 CONNECT \c /etc/ppp/ip-up: #!/bin/sh IFACE=$1 TTY=$2 SPEED=$3 MYADDR=$4 HISADDR=$5 PARAM=$6 /sbin/route add default $MYADDR /etc/ppp/ip-down: #!/bin/sh IFACE=$1 TTY=$2 SPEED=$3 MYADDR=$4 HISADDR=$5 PARAM=$6 /sbin/route delete default $MYADDR