[HOWTO] A modems and mobiles - GPRS/EDGE/3G Internet access

Post tutorials, HOWTO's and other useful resources here.
Post Reply
User avatar
Blaze
DEV Team
DEV Team
Posts: 1424
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

[HOWTO] A modems and mobiles - GPRS/EDGE/3G Internet access

Post#1 by Blaze » 18 Jan 2011, 11:42

To set up a mobile Internet connection please do as follows:

1. Connect your phone to USB socket, go to Kmenu/Lxde menu > Internet > run the Internet Dial-Up Tool (KPPP).
2. Then click > Configure.
3. In the window that appears in the Accounts tab, click > New and select the box> Manual setup.
4. Choose Connection name and type name of your provider (doesn't really matter) and then click > Add, and then enter a phone number: *99# for phone Nokia, Sony Ericsson and others, for Siemens *99***1#. Once done click OK and OK again.
5. Now click Modems > New and write the name of the modem (for example Nokia).
6. In line modem device select /dev/ttyACM0
7. Click the Modem tab and then> Modem commands. Now enter in Initialization string 1 which is specific for your mobile operator.

for example:

provider Київстар

Code: Select all

AT+CGDCONT=1,"IP","xl.kyivstar.net"
provider МТС

Code: Select all

at+cgdcont=1,"ip","internet.mts.ru"
provider Билайн

Code: Select all

at+cgdcont=1,"ip","internet.beeline.ru"
provider Мегафон

Code: Select all

at+cgdcont=1,"ip","internet"
provider ТЕЛЕ2

Code: Select all

at+cgdcont=1,"ip","internet.tele2.ru"

and then click OK 3 times.
8. Next, enter your username and password (not important) and click Connect.

To set up a USB 3G modem connection please do as follows:

You need to load 'usbserial' kernel module with special parameter which is unique for your hardware vendor.

To find vendor and product ID, open console and run this command:

Code: Select all

lsusb
and you should get something like:

Code: Select all

BBus 003 Device 003: ID 0421:006 b Nokia Mobile Phones
most interesting values are: 0421:006

now you can load usbserial driver like in this example:

Code: Select all

modprobe usbserial vendor=0421 product=006
And then need to follow the instruction about mobile Internet connection with 'first step'
but in step number 6 you need to select /dev/tty/usb0 (prefix may be different, for example / dev/ttyUSB1)

Good luck!

Howto translated by fanthom and Blaze from Russian language.
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply