Using this 3G module in Linux is so great. I want it. So I made it.

The 3G dongle of Huawei E169/E620/E800 is made from chip Qualcomm e1750. Yes, yet an American company. Huawei understands business.

   + 

I am using KDE based on ubuntu 14.04 AMD64.

After you pluging the dongle into computer, you would see this:

The Huawei Modem is recognized by Linux kernel and its modules.

Here are several ways of doing so.

1. Using system GUI -- networkmanager

Add a mobile boardband connection.

Choose Qualcomm E1750 if your system can detect it.

Then

Go on

Go on

Go on

Leave the username and password blank. If you are in China, then make sure the number is *99#

APN: 3gnet

Click ok.

Then go to connect it from your network manager.

2. Using KDE kppp (GUI)

You should install these packages before doing so.

sudo apt-get install ppp kppp wvdial -y

kppp has its GUI.

wvdial is the backend tool which kppp uses. Or you can use wvdial later in console only.

This would come out if it is sucessfully connected to the internet.

Leave the Login ID and password empty.

In tab Accounts, "New" a profile. And make it look like this.

Click configure and create a profile for connection.

Make sure number to be *99# if you are in China.

And authentication to be Terminal-based.

Then click ok to save it.

Then go to tab Modems. "New" a profile named "huawei3g".

And edit it.

Make sure it looks like this.

device: /dev/ttyUSB0

(it depends on how many devices you have sometimes. Everytime you plug in the 3G dongle, there would be 3 devices came out. They would be /dev/ttyUSB0 ,/dev/ttyUSB1, /dev/ttyUSB2 . ( ttyUSB0 is used for controlling the 3G dongle. And it supports AT commands. Others are some other stuff about voice call and so on)

Click OK to save it.

Then go back, and hit connect in kppp.

This is what you gonna see.

3. Using wvdial in command lines

sudo apt-get install ppp wvdial -y

then go to configure the wvdial

Make the file look like this:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0= &C1 &D2 +FCLASS=
Modem Type = Analog Modem
Baud =
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN =
; Phone = <Target Phone Number>
; Password = <Your Password>
; Username = <Your Login Name>
Phone = *#
; Phone = *99***1# ; If you are in America or somewhere
Password = 3gnet
Username = 3gnet

And connect to internet in console:

Now you would see successfully we are connected to internet.

There is another interface called ppp0 here.

Hit Ctrl + C in console to disconnect.

4. Using Sakis3G GUI / commands scripts

Here are something from http://www.sakis3g.com/

First check that you have ppp installed 
sudo apt-get install ppp

Now download the Sakis3g package
sudo wget "http://www.sakis3g.com/downloads/sakis3g.tar.gz" -O sakis3g.tar.gz

Then unzip the file
sudo tar -xzvf sakis3g.tar.gz

Make the file executable
sudo chmod +x sakis3g

And finally launch it
sudo ./sakis3g --interactive

more options:

then you are gonna see

Then

then

But I see this:

This really does not work. :(

So I go to commands.

sudo ./sakis3g "--sudo" OTHER="USBMODEM" USBMODEM="12d1:1001" "FORCE_APN=internet.public" \
USBINTERFACE="" APN_USER="user" APN_PASS="user" "connect" "info"

Remember this:

12d1 is the vendor ID, 1001 is the product ID.

And then try these in console.

It failed again... If you see:

Here are some knowledge from

Network Manager and Sakis3G don't really work well together. Sometimes you need to run Sakis3g twice or remove and plug the device back in to get it to work. This is because ModemManager can be quite forceful by locking device ports. Alternatively, you can switch the device using Sakis3G (at which point Network Manager should pick it up) and then connecting using Network Manager.

As for the pin - either remove the required pin from the sim card by putting it in a normal mobile phone or provide your pin for switching in /etc/sakis3g.conf using the SIM_PIN="" variable.

Reference: http://web.archive.org/web/20120908202215/http://wiki.sakis3g.org/wiki/index.php?title=Sakis3G_configuration#SIM_PIN

To be continued.

Chip live debugging

If you want to check out what this module is shipped with. You could get into it's heart using CuteCom via Serial ports.

Happy hacking!

How to use USB 3G dongle/stick Huawei E169/E620/E800 ( Chip used Qualcomm e1750) in Linux (China and world)的更多相关文章

  1. Raspberry Pi - Huawei HiLink E3256 3G modem to ethernet adapter

    Raspberry Pi - Huawei HiLink E3256 3G modem to ethernet adapter This page documents how to configure ...

  2. Yocto开发笔记之《驱动调试-华为3G模块》(QQ交流群:519230208)

    QQ群:519230208,为避免广告骚扰,申请时请注明 “开发者” 字样 ======================================================== 参考:ht ...

  3. openwrt固件支持3G和4G上网卡

    http://wiki.openwrt.org/doc/howtobuild/wireless-router-with-a-3g-dongle Building image with support ...

  4. Android——4.2 - 3G移植之路之 reference-ril .pppd 拨号上网 (三)

    Android的RIL机制中的 reference-ril.c 即为厂商提供的驱动接口.这个驱动源代码各个厂商都是有提供的,网上也有下载.我如今用的就是huawei wcdma的.最后编译成libre ...

  5. openwrt使用3G上网卡

    尊敬的大大.感谢你抽空指导我 我的设备是db120 mu350 和广东无限卡 版本是OpenWrt Backfire 10.03.336 DIY full 一.        没有安装到kmod-us ...

  6. 2 WAN 和1 Evo/3g Routeros PCC 方法负载平衡

    陕西中际现代包装科技:Routeros  2 WAN 和1 Evo/3g PCC 方法负载平衡 (Routeros多线负载平衡) 我们将要讨论2Wan和1个Evo/3G 的负载平衡.负载平衡就是在不同 ...

  7. linux下的usb抓包方法【转】

    转自:http://blog.chinaunix.net/uid-11848011-id-4508834.html 1.配置内核使能usb monitor: make menuconfig       ...

  8. Linux下的硬件驱动——USB设备(转载)

    usb_bulk_msg函数 当对usb设备进行一次读或者写时,usb_bulk_msg 函数是非常有用的; 然而, 当你需要连续地对设备进行读/写时,建议你建立一个自己的urbs,同时将urbs 提 ...

  9. 【转载】linux下的usb抓包方法

    1 linux下的usb抓包方法 1.配置内核使能usb monitor: make menuconfig                   Device Drivers -->        ...

随机推荐

  1. easyui datagrid footer 页脚问题

    mvc 的一个例子 public string IndexV2() { var dataGridJson = new DataGridJson(); var data = new List<My ...

  2. .net mvc ajax list post

    http://stackoverflow.com/questions/13242414/passing-a-list-of-objects-into-an-mvc-controller-method- ...

  3. Ubuntu下的用户和权限(二)

    五.chown.chgrp命令 从名字就能够猜測他们是干嘛的,可是这两个命令须要root权限. chown命令的格式为:chown user:group file  中间的user : group三项 ...

  4. 七牛云存储C#例用小例子 C#笔记

    最近有需求要把网站的图片传到云存储上去.于是就找到了七牛.看上面的SDK...看了才发现里面注释很少.当时看的头大.在网上搜一下,基本上没有好的例子.给初学者带来很大的不便!不过最后还是做出来了.在这 ...

  5. hdu - 3049 - Data Processing(乘法逆元)

    题意:N(N<=40000)个数n1, n2, ..., nN (ni<=N),求(2 ^ n1 + 2 ^ n2 + ... + 2 ^nN) / N % 1000003. 题目链接:h ...

  6. Linux 查看和删除进程

    1. 在 LINUX 命令平台输入 1-2 个字符后按 Tab 键会自动补全后面的部分(前提是要有这个东西,例如在装了 tomcat 的前提下, 输入 tomcat 的 to 按 tab).2. ps ...

  7. 【转】关于“ORA-01653: 表 SYS.AUD$ 无法通过 128 (在表空间 SYSTEM 中) 扩展”的错误

    SQL*Plus: Release 11.1.0.6.0 - Production on 星期一 5月 17 18:31:08 2010 Copyright (c) 1982, 2007, Oracl ...

  8. 解决Postman发送post数据但是Node.js中req.body接收不到数据的问题[已解决]

    之前编写后台接口,测试数据都是使用的Postman,相当的方便,之前也一直使用get方法,编写Node.js一直没有问题,但是由于要编写一个注册/登陆的功能,所以发送的post数据,后台的逻辑已经编写 ...

  9. C语言链表操作模板(添加,删除,遍历,排序)

    C语言链表操作模板,摘自郝斌的C语言视频教程,简单的修改成了纯C格式.当年照着视频学习的时候记录下来的,在使用的时候直接拿来修改修改修改能节约不少时间的. /********************* ...

  10. POJ 2560 Freckles Prime问题解决算法

    这个问题正在寻求最小生成树. 给定节点的坐标,那么我们需要根据各个点之间的这些坐标来计算距离. 除了这是标准的Prime算法的,能源利用Prime基本上,你可以使用Kruskal. 经典的算法必须填写 ...