How to use USB 3G dongle/stick Huawei E169/E620/E800 ( Chip used Qualcomm e1750) in Linux (China and world)
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 pppNow download the Sakis3g package
sudo wget "http://www.sakis3g.com/downloads/sakis3g.tar.gz" -O sakis3g.tar.gzThen unzip the file
sudo tar -xzvf sakis3g.tar.gzMake the file executable
sudo chmod +x sakis3gAnd 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.
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)的更多相关文章
- 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 ...
- Yocto开发笔记之《驱动调试-华为3G模块》(QQ交流群:519230208)
QQ群:519230208,为避免广告骚扰,申请时请注明 “开发者” 字样 ======================================================== 参考:ht ...
- openwrt固件支持3G和4G上网卡
http://wiki.openwrt.org/doc/howtobuild/wireless-router-with-a-3g-dongle Building image with support ...
- Android——4.2 - 3G移植之路之 reference-ril .pppd 拨号上网 (三)
Android的RIL机制中的 reference-ril.c 即为厂商提供的驱动接口.这个驱动源代码各个厂商都是有提供的,网上也有下载.我如今用的就是huawei wcdma的.最后编译成libre ...
- openwrt使用3G上网卡
尊敬的大大.感谢你抽空指导我 我的设备是db120 mu350 和广东无限卡 版本是OpenWrt Backfire 10.03.336 DIY full 一. 没有安装到kmod-us ...
- 2 WAN 和1 Evo/3g Routeros PCC 方法负载平衡
陕西中际现代包装科技:Routeros 2 WAN 和1 Evo/3g PCC 方法负载平衡 (Routeros多线负载平衡) 我们将要讨论2Wan和1个Evo/3G 的负载平衡.负载平衡就是在不同 ...
- linux下的usb抓包方法【转】
转自:http://blog.chinaunix.net/uid-11848011-id-4508834.html 1.配置内核使能usb monitor: make menuconfig ...
- Linux下的硬件驱动——USB设备(转载)
usb_bulk_msg函数 当对usb设备进行一次读或者写时,usb_bulk_msg 函数是非常有用的; 然而, 当你需要连续地对设备进行读/写时,建议你建立一个自己的urbs,同时将urbs 提 ...
- 【转载】linux下的usb抓包方法
1 linux下的usb抓包方法 1.配置内核使能usb monitor: make menuconfig Device Drivers --> ...
随机推荐
- Excel 创建31 个 工作表
Sub AddSheets() Dim i As Integer Dim DaysInt As Integer Dim NameStr As String DaysInt = DateAdd(, No ...
- 【phpMyAdmin】更改配置文件连接到其他server
默认phpMyAdmin安装完毕后对机器的访问mysql,但有时我们需要访问其它server的mysql数据库,所以我们需要配置. 真,phpMyAdmin已经为我们做了配置的选项.可是须要我们进行一 ...
- 浅谈移动Web开发(上):深入概念
PPI 什么是PPI PPI的复杂之处在于如果他所属的上下文环境不同,意义也会完全不一样. 当我们在谈论显示设备的PPI时,它代指的屏幕的像素密度:当我们在谈论和图片相关时,我们谈论的是打印时的分辨率 ...
- Robotium源码分析之Instrumentation进阶-attach
在分析Robotium的运行原理之前,我们有必要先搞清楚Instrumentation的一些相关知识点,因为Robotium就是基于Instrumentation而开发出来的一套自动化测试框架.鉴于之 ...
- CodeSmith 生成代码
使用CodeSmith 生成代码 CodeSmith是一款优秀的代码生成工具.在ORM中,它能帮助我们生成实体类.XML配置文件,从而简化了我们一部分的开发工作.下面简要说说它的基本用法. 1. 打 ...
- Android小应用-----画画板
public class MainActivity extends Activity { private ImageView iv; float startX = 0; float startY = ...
- Kinect for Windows V2.0 新功能
系统要求: win8 or win8.1 硬件要求: 64位(x64)处理器 i7 2.5-GHz或更快的处理器 内置USB 3.0总线 4 GB RAM DX11图形适配器 外观: 第二代Kin ...
- 【C#版本详情回顾】C#4.0主要功能列表
诊断和性能 从 .NET Framework 4 开始,您可以获得每个应用程序域的处理器使用情况和内存使用情况估计值 通过托管承载 API.本机承载 API 以及 Windows 事件跟踪 (ETW) ...
- 雕爷:我眼中的O2O成长路径
嗨,老周,这篇文章写给你.知道你最近正在纠结于O2O的择业分析,因为你是有极高身价的人,所以选择起来必须谨慎,选错了,不是身家那千把万的损失,更是一生荣耀的赌注和起落. “所谓战略,就是站在未来看今天 ...
- 在线试听功能(前端直接略过吧,适合javaEE后台开发的)
应用场景:录音试听,MP3试听... 比如为客户提供录音功能时.客户希望录音完成试听录音,然后下载等功能.直接上代码:关键是取得录音的在服务器的地址,如:url='http://localhost:8 ...