Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-06-2020, 12:59 AM
|
#1
|
LQ Newbie
Registered: Sep 2018
Distribution: Centos
Posts: 13
Rep: 
|
Connecting 3g dongle usb to raspberry pi
I have an 3g dongle usm modem,I tested on windows works correctly
I tested on raspberry pi,using sakis3g software i got an error like
Modem responded "ERROR" while checking for PIN
I searched in google and try almost solutions but it does not work
I tested sending sms using gammu on raspberry pi and works correctly
sends sms without any error
but only internet connection has error
|
|
|
02-06-2020, 01:31 AM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
|
|
|
02-06-2020, 02:40 AM
|
#3
|
LQ Newbie
Registered: Sep 2018
Distribution: Centos
Posts: 13
Original Poster
Rep: 
|
reply
tnx for your solution
I tried this and i am sure my SIM does not have PIN but when i try to get internet connection by sakis3g i got error like
"Modem Responded "ERROR" While Checking For Pin"
I read that article in your post and i checked every possible issue but unfortunately got that error again
|
|
|
02-07-2020, 12:28 AM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Then you have to give us more information: - distro
- configuration: what you did to get it to work, packages installed etc.
- commands issued
- full output received (*)
(*) use CODE tags for that, see my signature.
|
|
|
02-18-2020, 12:17 AM
|
#5
|
LQ Newbie
Registered: Sep 2018
Distribution: Centos
Posts: 13
Original Poster
Rep: 
|
sakis3g
HTTP request sent, awaiting response... 200 OK
Length: 200713 (196K) [application/octet-stream]
Saving to: ‘sakis3g.tar.gz’
sakis3g.tar.gz 100%[===================>] 196.01K 165KB/s in 1.2s
2020-02-18 06:12:38 (165 KB/s) - ‘sakis3g.tar.gz’ saved [200713/200713]
root@ehsan:~# tar -zxvf sakis3g.tar.gz
sakis3g
root@ehsan:~# chmod +x sakis3g
root@ehsan:~# lsusb
Bus 001 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@ehsan:~#
root@ehsan:~#
root@ehsan:~#
root@ehsan:~# ./sakis3g connect
Modem responded "ERROR" while checking for PIN.
Failed to connect.
root@ehsan:~#
----------------------------------------------------
ubuntu minimal:
Linux ehsan 4.15.0-76-generic #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
----------------------------------------------------
installed only:
ppp
usb_modeswitch
----------------------------------------------------
root@ehsan:~# dmesg | grep tty
[ 0.004000] console [tty0] enabled
[ 431.289811] usb 1-2.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 431.290037] usb 1-2.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 431.290310] usb 1-2.1: GSM modem (1-port) converter now attached to ttyUSB2
Last edited by EHSANLINUX; 02-18-2020 at 12:21 AM.
|
|
|
02-19-2020, 06:45 AM
|
#7
|
LQ Newbie
Registered: Sep 2018
Distribution: Centos
Posts: 13
Original Poster
Rep: 
|
3gdongle
I used wvdial but i got error again
|
|
|
02-19-2020, 07:22 AM
|
#8
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
^ you're not trying very hard, are you?
|
|
1 members found this post helpful.
|
02-19-2020, 07:31 AM
|
#9
|
LQ Newbie
Registered: Sep 2018
Distribution: Centos
Posts: 13
Original Poster
Rep: 
|
why
I try 10000 time
and every time gets error
I am frustrated for dongle 3g huawei however it does work on windows very nice
I used dlink dongle accessed to internet but sms function does not work
|
|
|
02-22-2020, 01:12 AM
|
#10
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
How about reading wvdial's documentation before you start.
|
|
|
All times are GMT -5. The time now is 08:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|