Jump to content


Photo

GPRS tools

plugin

  • Please log in to reply
59 replies to this topic

Re: GPRS tools #21 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 4 June 2012 - 21:09

Please Dima73 any help...

1-flash last openpli2.1 image 4-6-2012 without any installation.
2-install gpstools and restart enigma2.
3-Installer drivers GPRS, but two packages does not downloaded as shown pictures in last replay.
4-reboot box
5-make in telnet:before and after run modem
lsmod
dmesg > /tmp/dmesg.log
in attach last log for dmesg..

Please any help for run my flash i want it important to run in my box..
By the way do you have direct link to download packages for GPRS drivers to test it in other images?

Thank you advance

Attached Files


DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #22 Dimitrij

  • PLi® Core member
  • 10,038 posts

+339
Excellent

Posted 5 June 2012 - 05:45

This modem is required to switch.
Looking for line for your modem(/etc/list_modem.txt).
Еdit /etc/usb_modeswitch.conf
Mopedus...
-Port - /dev/ttyUSB0 or /dev/ttyUSB2
-Use usb_modeswitch - yes
-usb_modeswitch params -R -c /etc/usb_modeswitch.conf

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: GPRS tools #23 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 5 June 2012 - 20:21

Thank you for your patience...and your help.
But I'm really confused..
Abour this it is ok, i know must be make it in plugin Mopedus
Mopedus...
-Port - /dev/ttyUSB0 or /dev/ttyUSB2
-Use usb_modeswitch - yes
-usb_modeswitch params -R -c /etc/usb_modeswitch.conf

But about
Looking for line for your modem(/etc/list_modem.txt).
Еdit /etc/usb_modeswitch.conf
What should i do, must be edit both files or just usb_modeswitch.conf and exactly what editing i must be do it?
I'm very sorry....
Thank you tooooooooo much

Edited by fairbird, 5 June 2012 - 20:23.

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #24 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 5 June 2012 - 20:31

My modem is Huawei E173 i not found it in list_modem.txt

Edited by fairbird, 5 June 2012 - 20:32.

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #25 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 5 June 2012 - 21:06

Ok..i found in net some info for my usb, i don't know it is correct or not..
I have edited /etc/usb_modeswitch.conf as like file in attach..
I have made what you mentioned in Mopedus..
But does not succeeded..

Please see pictures and filss for dmesg and usb_modeswitch.conf, Then let me what is wrong.

Than you..

Attached Files


Edited by fairbird, 5 June 2012 - 21:07.

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #26 Dimitrij

  • PLi® Core member
  • 10,038 posts

+339
Excellent

Posted 6 June 2012 - 05:27

in telnet:
lsusb

Mopedus...

Product ID =
Vendor ID =

Edited by Dima73, 6 June 2012 - 05:27.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: GPRS tools #27 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 6 June 2012 - 15:15

in Mopedus...
Product ID = blank
Vendor ID = blank

And i connect but nothing..

here lsusb:
Bus 001 Device 001: ID 12d1:1446 Huawei Technologies Co., Ltd.
Bus 001 Device 002: ID 0781:556b SanDisk Corp.
Bus 003 Device 000: ID 0000:0000 CD-R/RW Drive
Bus 002 Device 000: ID 0000:0000 CD-R/RW Drive
Bus 001 Device 000: ID 0000:0000 CD-R/RW Drive

I think conf for my Huawei E173 from internet i get it not right, i am not sure...

Thank you...

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #28 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 7 June 2012 - 00:33

I have configured all my settings in right way..and Mopedus detected with usb modem correctly and tried to dialed but failed..as picture show..any idea? Now just the problem not dialing with network..

Attached Files


Edited by fairbird, 7 June 2012 - 00:34.

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #29 Dimitrij

  • PLi® Core member
  • 10,038 posts

+339
Excellent

Posted 7 June 2012 - 05:34

Run Mopedus(Connect)
Show the log...
/etc/ppp/mopedus-connect.log

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: GPRS tools #30 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 7 June 2012 - 15:25

Thank you...
here is mopedus-connect.log
2012/06/07 17:26:57.161: Mopedus: {vendid: '12d1', speed: '115200', log: 'full', mru: '1492', number: '*99#', standard: 'gprs', apn: 'viva.bh', pppopt: 'persist', useums: 'true', mtu: '1492', umsparam: 'R -c /etc/usb_modeswitch.conf', port: '/dev/ttyUSB0', prodid: '1446', name: 'Profile 1'}
2012/06/07 17:26:57.163: START PPPD CONNECTION...
Connect script failed
2012/06/07 17:26:57.278: pppd closed and return value - 8
2012/06/07 17:26:57.280: END PPPD CONNECTION.

Edited by fairbird, 7 June 2012 - 15:29.

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #31 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 7 June 2012 - 15:29

I'm sorry double post..

Edited by fairbird, 7 June 2012 - 15:29.

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #32 Dimitrij

  • PLi® Core member
  • 10,038 posts

+339
Excellent

Posted 7 June 2012 - 16:00

fairbird
You will initially need to understand that you all are doing.
Maybe we should read in google on switching modems in Linux?
From me a bad teacher in the English language :) .
Let us thus:
1)Turn off the receiver completely.
2)Turn on the receiver and insert the modem into usb.
Most do not do anything.
And give me the output of:
lsusb

Edited by Dima73, 7 June 2012 - 16:02.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: GPRS tools #33 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 7 June 2012 - 20:04

First, thank you for your patience and help..And your explain for my very clear and useful.
_________________

Secondly I made as what you said..
unplug usb modem..
turn off box..
turn on box..
here lsusb before plug modem..
Bus 001 Device 002: ID 0781:556b SanDisk Corp.
Bus 003 Device 000: ID 0000:0000 CD-R/RW Drive
Bus 002 Device 000: ID 0000:0000 CD-R/RW Drive
Bus 001 Device 000: ID 0000:0000 CD-R/RW Drive
and here is after pluged to box without do anything else...
Bus 001 Device 001: ID 12d1:1446 Huawei Technologies Co., Ltd.
Bus 001 Device 002: ID 0781:556b SanDisk Corp.
Bus 003 Device 000: ID 0000:0000 CD-R/RW Drive
Bus 002 Device 000: ID 0000:0000 CD-R/RW Drive
Bus 001 Device 000: ID 0000:0000 CD-R/RW Drive
_____________

I have read before about switching modems in Linux..but my usb modem work normally on ubuntu 10.04 just plug it and click to Mobile network option and select my country and telecommunications Company then connected well...

P.s: if i put in Mopedus VID 12d1 and PID 1446 and click connect plugin try to dailing with or without use Usb_modeswitch, But if i make VID = blank and PID = blank and also make use Usb_modeswitch = Yes i get " PPPd:unrecognized option '/dev/ttyUSB0 or 2'...maybe this p.s help you to make help me...

Thank you again

Edited by fairbird, 7 June 2012 - 20:07.

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #34 Dimitrij

  • PLi® Core member
  • 10,038 posts

+339
Excellent

Posted 7 June 2012 - 21:25

usb_modeswitch.conf
DisableSwitching=0
EnableLogging=0
# Huawei E173
DefaultVendor=  0x12d1
DefaultProduct= 0x1446
TargetVendor=   0x12d1
TargetProduct=  0x140c
CheckSuccess=20
MessageContent="55534243123456780000000000000011060000000000000000000000000000"

in Mopedus...
Product ID = 12d1
Vendor ID = 140c

Run Mopedus(Connect)
Show the log...
/etc/ppp/mopedus-connect.log and output lsusb

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: GPRS tools #35 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 7 June 2012 - 22:20

Thank you again...
I have made exactly what you suggested to my...Closed box and opened again..plug usb modem..and made what you said...I got Dailing....FIELD

And this is mopedus-connect.log

2012/06/08 00:12:57.681: Mopedus: {vendid: '12d1', speed: '115200', log: 'full', mru: '1492', number: '*99#', standard: 'gprs', apn: 'viva.bh', pppopt: 'persist', useums: 'true', mtu: '1492', umsparam: 'R -c /etc/usb_modeswitch.conf', port: '/dev/ttyUSB0', prodid: '140c', name: 'Profile 1'}
2012/06/08 00:12:57.683: START PPPD CONNECTION...
ATZ
OK
AT+CGDCONT=1,"IP","viva.bh"
OK
ATD*99#
NO CARRIER
Connect script failed
2012/06/08 00:13:43.658: pppd closed and return value - 8
2012/06/08 00:13:43.660: END PPPD CONNECTION.

And this is lsusb

Bus 001 Device 001: ID 12d1:140c Huawei Technologies Co., Ltd. ME-1400C
Bus 001 Device 002: ID 0781:556b SanDisk Corp.
Bus 003 Device 000: ID 0000:0000 CD-R/RW Drive
Bus 002 Device 000: ID 0000:0000 CD-R/RW Drive
Bus 001 Device 000: ID 0000:0000 CD-R/RW Drive

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #36 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 7 June 2012 - 22:32

I have tried again two times.. and this time I have got
Dailing:.....ok
login:.................. (take more long time with out log in)

here mopedus-connect.log

2012/06/08 00:26:14.427: Mopedus: {vendid: '12d1', log: 'full', mru: '1492', number: '*99#', standard: 'gprs', apn: 'viva.bh', pppopt: 'persist', useums: 'true', prodid: '140c', mtu: '1492', umsparam: 'R -c /etc/usb_modeswitch.conf', port: '/dev/ttyUSB0', speed: '115200', name: 'Profile 1'}
2012/06/08 00:26:14.429: START PPPD CONNECTION...
ATZ
OK
AT+CGDCONT=1,"IP","viva.bh"
OK
ATD*99#
CONNECT
Serial connection established.
Couldn't set tty to PPP discipline: Invalid argument
Serial link disconnected.

DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #37 Dimitrij

  • PLi® Core member
  • 10,038 posts

+339
Excellent

Posted 8 June 2012 - 05:22

Run Mopedus(Connect)
Dailing:.....ok
Show the log...
dmesg > /tmp/dmesg.log

Edited by Dima73, 8 June 2012 - 05:23.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: GPRS tools #38 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 8 June 2012 - 15:40

Thank you m8...
Mopedus....Connected
Dailing:.....ok
login:.........

In attach dmesg.log

Attached Files


DM500s
DM800

DM800se

DM920UHD


Re: GPRS tools #39 Dimitrij

  • PLi® Core member
  • 10,038 posts

+339
Excellent

Posted 8 June 2012 - 16:10

4294960.071000]   Vendor: HUAWEI    Model: Mass Storage	  Rev: 2.31
[4294960.071000]   Type:   CD-ROM							 ANSI SCSI revision: 02
[4294960.092000] sr1: scsi-1 drive
[4294960.095000] sr 4:0:0:0: Attached scsi CD-ROM sr1
[4294960.108000] sr 4:0:0:0: Attached scsi generic sg1 type 5
[4294960.117000] usb-storage: device scan complete
[4294960.131000]   Vendor: HUAWEI    Model: SD Storage	    Rev: 2.31
[4294960.131000]   Type:   Direct-Access					  ANSI SCSI revision: 02
[4294960.164000] sd 5:0:0:0: Attached scsi removable disk sdb
[4294960.188000] sd 5:0:0:0: Attached scsi generic sg2 type 0
[4294960.197000] usb-storage: device scan complete
We were unable to switch the modem to modem mode.
It is defined as CD-ROM.
We must look for an example of switching to Google.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: GPRS tools #40 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 8 June 2012 - 19:45

Thank you...
I have tried to find some things of switching in Google, but all what i found not succeed..
So, Please if you found any thing..let me know

DM500s
DM800

DM800se

DM920UHD




Also tagged with one or more of these keywords: plugin

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users