Author Topic: (SOLVED)How can I make the connect info permanent using USB modem Huawei E1756  (Read 1159 times)

Offline joejac

  • Full Member
  • ***
  • Posts: 168
Hello,
I was trying to install a wireless internet modem Huawei E1756 with no success.
1.- In PCC - Setup a Network Interface - GPRS/Edge/3G it detects and selects the ppp0: Huawei Technology Huawuei Mobile in the next screen ask for PIN/or Leave empty if not required, in my case is not required because in my Windows machine I disabled the PIN.

By the way in Windows works good but here in LXDE I get the error: "Please check that your SIM card is inserted" of course it is, a few minutes ago I was browsing internet in Windows 7 with same USB Huawei, I put it back in the Win 7 machine and I sent an SMS to my mobile phone using the Huawei.

2.- Then I followed this link: http://www.pclinuxos.com/forum/index.php/topic,67993.0.html

2.1 First this link:
http://www.pclinuxos.com/forum/index.php/topic,65468.0.html
I installed via Synaptic wvdial and gnome-ppp but no way to connect the modem with gnome-ppp I get the error "can not open modem"
Quote
--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

2.2 In gnome-ppp setup I change Device for dev/ttyUSB0 Type for USB Modem and click detect and I got same error "can not open modem"

2.3 Then I try this other link:
http://pclinuxos2007.blogspot.com/2009/11/desktop-linux-idea-net-setter-wireless.html
But I did not find the file /etc/wvdial.conf in this computer.

3.- Then I followed this other link:
http://www.sakis3g.org/

I enter the user name that I was told by the Telco is the modem telephone number and the password that is the ID of the owner of the line and I got connection errors many times until I decided to cut the first 3 digits of the telephone number and I got:
Initializing modem
Connecting and then I got connected!
Quote
Connection Information
 
Interface:              P-t-P (ppp0)
 
Connected since:   2012-07-10 22:42
Kilobytes received:   0
Kilobytes sent:   0

Network ID:      73404
Operator name:   movistar
APN:                 internet.movistar.ve
 
Modem:         E1756
Modem type:      USB
Kernel driver:      option
Device:         /dev/ttyUSB0
 
IP Address:      186.165.80.141
Subnet Mask:           255.255.255.255
Peer IP Address:   10.64.64.64
Default route(s):   10.64.64.64

What I did is stripped the first 3 digits of the modem phone number and used the last 7 digits.

Please note that the command to reconfigure the modem in sakis3g is:
./sakis3g connect info

3.1 How can I make the connect info permanent?, I mean I want to turn on the computer and to get an automatic connection to the Huawei with all the parameters and to get the connection to Internet with no manual intervention.

3.2 If there is a better way please let me know.

Thanks and best regards
joejac
« Last Edit: July 14, 2012, 04:50:12 PM by joejac »

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6269

did you connect from the terminal? if yes what command did you use?
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Ramchu

  • Hero Member
  • *****
  • Posts: 1593
Thus is how I used to connect with a Huawei device when the account was still active.
It may or may not work for you.

http://www.pclinuxos.com/forum/index.php/topic,71649.msg588617.html#msg588617

Offline joejac

  • Full Member
  • ***
  • Posts: 168
1.- Hello muungwana,  yes I connected via the terminal with this command:
# ./sakis3g connect info

2.- Thanks a lot Ramchu, I will try your link.

Best regards
joejac

Offline luikki

  • Hero Member
  • *****
  • Posts: 1422
if sakis3g is properly installed you you'll have a gui to start it without the need for the command line...
you can try (from cli):
sakis3g
from there you'll get a gui and can start the connection...


Offline joejac

  • Full Member
  • ***
  • Posts: 168
Hello Luikki, is the same as running ./sakis3g connect info There is a manual input that I want to avoid, I like the solution of Ramchu unfortunately  PCC is requesting the installation of package kdenetwork4, and when I mark it for installation there is a lot of files, then I apply and I got this error from Synaptic:
Quote
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

I have my System updated. Can somebody help me to find a solution to this new error please, I need to have this working today.
Best regards
joejac


Offline joejac

  • Full Member
  • ***
  • Posts: 168
Ok, I found the problem thanks to djohnston in this post:
... Do you install new packages using apt-get? Close all programs and reboot your computer. See if the problem persists....

Probably PCC was downloading the package also using  apt-get, I rebooted and now is downloading all the files, as soon as I have installed them,I will test Ramchu solution.
Regards
joejac

Offline joejac

  • Full Member
  • ***
  • Posts: 168
Hello,
Thanks a lot Ramchu, your solution worked.  I will post it in the Spanish forum because it has the setting for the country where I live and the 3G provider Movistar, is tricky because Movistar tech support did not give the information 100% accurate, I found it via trial and error.
http://www.pclinuxos.com/forum/index.php/topic,71649.msg588617.html#msg588617
Regards
joejac

Offline Ramchu

  • Hero Member
  • *****
  • Posts: 1593
Hello,
Thanks a lot Ramchu, your solution worked. 


You are Welcome - Glad that I was able to help !