From owner-freebsd-wireless@freebsd.org Sun Apr 17 18:56:12 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAEC7B1270D for ; Sun, 17 Apr 2016 18:56:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8591E1A1F for ; Sun, 17 Apr 2016 18:56:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x231.google.com with SMTP id y9so9155541igg.1 for ; Sun, 17 Apr 2016 11:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-transfer-encoding; bh=u8TjXGI4b13NwZZwxvbAbAi6ZQ6E4FEDcof2iBaFZrE=; b=MhTwT5LFBrHbxODAI/smQdqyL/JUVYMFUVBxB5x4C4XCOCxqQDyAntxAHQj02vuydP HvI4iUMVRWjeLbJucHbrhBwVZUu2de2LlHRnmR2Dm0QBuOkrHFsd3UY1XONmvpVFoJsx 3LVNyvU5+sMbob5ADJCjPxB3txUEUI1uvcB7lvZOWlhzQZYSN9qBHAeV4aJx8+egyrbW dxqyIMLdj6rWrdrx5j6VUgptxsbphKXKt1ZM5zhZbZCYceiMYDAkieO592SY2QwLCCEv YLzG2Aq4JZaQOb+DRSssaCDEaKdFhOpTOz/cUvinBKU3uA0YavKN7pu6ydC/e7CAxcXn S4Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=u8TjXGI4b13NwZZwxvbAbAi6ZQ6E4FEDcof2iBaFZrE=; b=D+5ZlU1VQlSngrl+HNrvrPg/LRbJwBoY7RCVcCtLwkDid+9Qdj4IALhGEIEG8iU4II 7JJ/RaGOptrYun1caKD6vQGzPjSmjgDGdLHmRRFv/lx7GRIxgqb9zBVuZa4D+y7FZHNC djDvNBEhK3P0wPdIZEIljx3LFpFxMjveEE3QlAF9w5RspsnIe6AKkMgEkDq4xIWxFd9e +FOarxHZMk60rk1Mh47yTYKJhPk0+U7DSTF12NGBYeoSfeCTWn5kN7PmAxn0wWTTYQFR z9/fH1P+akPUTbn3WOjAndeFwLOsigwMTiFdnNc5opie2FMIII9njLgOhK8cROJYxWkU zsyA== X-Gm-Message-State: AOPr4FXzABsceixrStblouyfgZVmNUwC9ToCcp958fyad1a6Lk5DRbxvr+rcQnn+9lg8bsvAn+nWvwNe7/ZlcQ== MIME-Version: 1.0 X-Received: by 10.50.103.232 with SMTP id fz8mr14618235igb.61.1460919371902; Sun, 17 Apr 2016 11:56:11 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.14.19 with HTTP; Sun, 17 Apr 2016 11:56:11 -0700 (PDT) In-Reply-To: <1598491542.1788727.1460839447819.JavaMail.yahoo@mail.yahoo.com> References: <1598491542.1788727.1460839447819.JavaMail.yahoo.ref@mail.yahoo.com> <1598491542.1788727.1460839447819.JavaMail.yahoo@mail.yahoo.com> Date: Sun, 17 Apr 2016 11:56:11 -0700 X-Google-Sender-Auth: lJ9SnZ5tGnoW41CKocjq4kcCK1g Message-ID: Subject: Re: Huawei E3372 ( sonera.fi ) From: Adrian Chadd To: Jouni Laakso Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 18:56:12 -0000 hi! this is cool to know! any ideas why the latency is higher? -a On 16 April 2016 at 13:44, Jouni Laakso via freebsd-wireless wrote: > > > Hello list, > > > I wanted to send this information to help others in their quest of 4G con= nectivity with FreeBSD here at Europes continent and in Finland. Huawei doe= s not include a lot of information about their products. These 4G-network m= odems are usually provided by the subscriberline companies and with their o= wn products. This one was from Sonera (Teliasonera, .se and .fi) here in Fi= nland. > Huawei E3372 seems to be a CDCE device. /boot/loader.conf has to have a l= ine if_cdce_load=3D"YES". Only usb_modeswitch works with this one. Command: > /usr/local/sbin/usb_modeswitch --default-vendor 0x12d1 --default-product = 0x1f01 -J > swithes to the CDCE mode. Device ue0 appears to be configured (with ifcon= fig -command). Using 'dhclient ue0' a network address is found and using th= e address and adding a default router the network interface is usable. An a= dmin HTTP-page can be found from http://192.168.1.1. CDCE has two network i= nterfaces at both ends of USB. Both ends can be configured with their own I= P-address. > ID:s idVendor =3D 0x12d1 idProduct =3D 0x1f01 are switched to ID:s idVe= ndor =3D 0x12d1 idProduct =3D 0x14dc . This seems to be correct since the = connection to the Internet succeeded with cdce. > Using u3g.c:U3G_DEV(HUAWEI, K3372_INIT, U3GINIT_HUAWEISCSI) > Causes the modem to appear as a device id 0x1442 . Using this, only NTP p= ort was listening. Maby this is a ntp mode. Using:U3G_DEV(HUAWEI, E3372_INI= T, U3GINIT_HUAWEISCSI2) > does not give any results. These are the current possibilities if compili= ng a new kernel every time is possible. > It would be easier if a device had only one identification code. Reading = about the different codes from usb_modeswitch list, it is maby clear that t= he service provider can change the device ID:s. This is not very easy to th= e users. If the device was only a modem, it would be usable without the fl= ip-flop states of the modem-devices. ISO image is given with Windows and Li= nux drivers or software and after installing the software, the state become= s a modem state. Possibly with a HTTP-interface to connecto to the Internet= . > Quick test with Linux shows that the latency time is less with Linux. Pre= viously using PPP with these kind of wireless devices, FreeBSD has shown be= st latency times. This is an estimate. Using an external modem (propably Li= nux inside) caused more latency with PPP over the previous 3G link. > > With best regards, > > Jouni L. > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g"