On Mon, 16 Jul 2012, Andreas Bartelt wrote:

> Thanks a lot -- it basically works!
> 
> # cat /etc/ppp/peers/vodafone
> 
> debug
> /dev/cuaU0
> 921600
> 0.0.0.0:10.99.1.2
> defaultroute
> noipdefault
> user web
> crtscts
> persist
> deflate 0
> refuse-pap
> refuse-chap
> noauth
> noipdefault
> noccp
> novj
> novjccomp
> nopcomp
> connect '/usr/sbin/chat -v -f /etc/ppp/vodafone.chat'
> 
> # cat /etc/ppp/vodafone.chat
> 
> TIMEOUT 120
> ABORT "BUSY"
> ABORT "ERROR"
> ABORT "NO CARRIER"
> ABORT "VOICE"
> ABORT "NO DIALTONE"
> "" ATZ
> OK 'AT+CPIN="1234"'
> OK 'AT+CGDCONT=1,"IP","web.vodafone.de"'
> OK ATD*99#
> CONNECT \c
> 
> # cat /etc/ppp/pap-secrets
> 
> #     $OpenBSD: pap-secrets,v 1.3 2002/06/09 06:15:15 todd Exp $
> 
> # Secrets for authentication using PAP
> # client      server  secret                  IP addresses
> "web"         *       "web"
> 
> commands for dialing in:
> # ifconfig ppp0 create
> # pppd file /etc/ppp/peers/vodafone
> 
> I get an IP and a default route. I can also ping/connect to remote hosts.
> 
> From /var/log/messages:
> Jul 16 19:52:36 obsd pppd[19227]: Connect: ppp0 <--> /dev/cuaU0
> Jul 16 19:52:36 obsd pppd[19227]: Received bad configure-ack:
> Jul 16 19:52:40 obsd pppd[19227]: Received bad configure-ack:
> Jul 16 19:52:42 obsd pppd[19227]: local  IP address 109.43.234.229
> Jul 16 19:52:42 obsd pppd[19227]: remote IP address 10.99.1.2
> 
> Any ideas what's causing the "bad configure-acks"?
> 
> Is there a way to automatically receive a DNS resolver config for
> /etc/resolv.conf from the mobile ISP? (currently I use the DNS
> resolver at my local network...)
> 
> Best Regards
> Andreas

So... Ok for the diff below to go in?

Ciao,
David

Index: share/man/man4/umsm.4
===================================================================
RCS file: /cvs/src/share/man/man4/umsm.4,v
retrieving revision 1.81
diff -u -p -r1.81 umsm.4
--- share/man/man4/umsm.4       24 May 2012 09:08:38 -0000      1.81
+++ share/man/man4/umsm.4       17 Jul 2012 08:55:47 -0000
@@ -64,6 +64,7 @@ driver:
 .It Li "Huawei Mobile E181" Ta "USB"
 .It Li "Huawei Mobile E182" Ta "USB"
 .It Li "Huawei Mobile E220" Ta "USB"
+.It Li "Huawei Mobile E303" Ta "USB"
 .It Li "Huawei Mobile E510" Ta "USB"
 .It Li "Huawei Mobile E1750" Ta "USB"
 .It Li "Huawei Mobile E1752" Ta "USB"
Index: sys/dev/usb/umsm.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/umsm.c,v
retrieving revision 1.85
diff -u -p -r1.85 umsm.c
--- sys/dev/usb/umsm.c  14 Jan 2012 10:26:11 -0000      1.85
+++ sys/dev/usb/umsm.c  17 Jul 2012 08:56:19 -0000
@@ -138,6 +138,7 @@ static const struct umsm_type umsm_devs[
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E182 }, DEV_UMASS5},
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E1820 }, DEV_UMASS5},
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI},
+       {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E303 }, DEV_UMASS5},
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI},
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI},
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_EM770W }, 0},
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.580
diff -u -p -r1.580 usbdevs
--- sys/dev/usb/usbdevs 7 Jul 2012 17:59:03 -0000       1.580
+++ sys/dev/usb/usbdevs 17 Jul 2012 08:56:22 -0000
@@ -2033,6 +2033,7 @@ product HUAWEI K4510              0x14c5  HUAWEI Mob
 product HUAWEI K3765_INIT      0x1520  HUAWEI Mobile K3765 Initial
 product HUAWEI E173S           0x1c05  HUAWEI Mobile E173s
 product HUAWEI E173S_INIT      0x1c0b  HUAWEI Mobile E173s Initial
+product HUAWEI E303            0x1f01  HUAWEI Mobile E303
 
 /* HUMAX products */
 product HUMAX PVRSMART         0x138c  PVR-SMART

Reply via email to