souss com news
Derniers sujets
» روابط منتديات ouayeh.com
par Admin Dim 8 Sep - 15:49

» ouayeh.com diffusion
par Admin Dim 8 Sep - 15:43

» News ouayeh.com
par Admin Dim 8 Sep - 15:41

» expanding propulsive technology
par Admin Dim 8 Sep - 15:39

» harvest of the week on worldatatag
par carnivor Mer 17 Juil - 0:29

» tamazight taged links
par cydrogena Sam 11 Aoû - 15:26

» الزواج بين فرنسي و مغربية ''القانون يقول''
par Invité Lun 4 Juin - 3:17

» Transfuge Mémorial
par zaryaba Ven 9 Fév - 19:52

» Apprendre la citoyenneté avec Tachelhite.com
par zaryaba Jeu 1 Fév - 22:53

» tachelhite tagged links
par zaryaba Mar 12 Déc - 3:17

» Connaitre votre solde ou N° carte SIM chez operteurs Maroc
par mimouni Dim 23 Juil - 12:37

» Direct Links to Mimouni abdelmalek Video Youtube
par Admin Lun 20 Fév - 20:33

» video mimouni
par Admin Lun 20 Fév - 20:31

» RESEAU SOUSS
par Admin Jeu 20 Oct - 21:54

» html sitemap souss com
par Admin Mer 13 Juil - 23:41


Configurer tablette avec Modem 3g (n'importe lequel)

Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Configurer tablette avec Modem 3g (n'importe lequel)

Message par cavale le Lun 7 Oct - 17:33

Votre tablette peut etre connecté a Internet avec n'importe quelle modem compatible ou pas.
Grand merci a Mimouni Abdelmalek de Reseau Souss)
Si le modem est compatible comme décrit sur ce forum , voir un autre topic)
si votre modem n'est pas compatible voici le tutoriel , il necessite un peu de réglage et l'ajout de quelques fichiers mais le resultat est garanti .

tutoriel ici:

http://forum.xda-developers.com/showthread.php?t=2172914

Connect ANY 3G dongle to ANY android tablet...

I have found a way to connect any modem to the tablet even if the tablet does not recognizes it. your device must be ROOTED to do so. I am not a developer, i just found out somewhere and modified the instructions to make it easy. i am not responsible to any thing that happens to your device (however this method isn't risky at all)Configurer  tablette avec Modem 3g (n'importe lequel) Cool.

Just follow the instructions and enjoy. First download the attachment...

. First you need to move the modem to "modem only" for this you will need a terminal, you can use Hyper Terminal on windows.
Google search for AT commands for your modem to make it modem only mode and how to do that.

All right .... transferred the modem to the modem-only mode ....

Then note the vid and pid of your modem. one way to do this is to connect the modem to computer then go to device manager, expand modems, right click your modem >properties>details.


2. Next we need ES File Explorer

Install it on your tablet ... Open, go to settings -> Root rights, and tick all checkboxes.

3. Then go to /system/bin/preinstall.sh on your tablet and add a line to the file using es file explorer echo "19d2 1176" > /sys/bus/usb-serial/drivers/option1/new_id (see my preinstall.sh in the archive).

here 19d2 is my modem (vodafone K3370-z) vid and 1176 the pid. replace the vid and pid with your own.

REEBOT YOUR TABLET

4.There is a folder peers in the archive you downloaded. open conf-chat in the folder with es file explorer and replace your apn here with the apn of your service provider .

When the tablet does not recognize the modem it will not generate ttyUSB files which are needed to communicate with the modem. In Step 3 you made the tablet to recognize the modem and it now generates the ttyUSB files. You can check that in Terminal emulator(download from play store) by typing "dmesg" command(without qoutes). scroll the output down, you will see the generated ttyUSB ports as given in attached screenshot Pic1. It also gives the number of ports genetated. If you see these lines you can Connect your modem to Internet. But wait a minute you have additional things to do in order to get connected.

Now you need to find which port is pppd port because we need it to insert in the file Conf-pppd in peers folder of the archive you downloaded. (open the conf-pppd using wordpad you would see ttyUSB1 on the top because pppd port of my modem is 1, those modems who has pppd port at 1 would be able to connect without any modifications, if the pppd port of your modem is not 1 you would have to edit it e.g if the pppd port of your modem is 2, the top line in conf-pppd would look like ttyUSB2 and so on)


To determine which is pppd port follow the below steps...(see the attached screenshots)

Open 2 windows in terminal emulator. (you can copy paste the commands in terminal emulator)

(1) In first window type busybox tr -s "\n" < /dev/ttyUSBx (Pic2)
where x is the first port generated by your modem.(this command opens the port)

(2) Now in window 2 type echo -e "ATi\r" > /dev/ttyUSBx (pic3)
Here x is the same you typed in window 1.
You would see OK in WINDOW 1(Not in window 2). IF YOU DONT SEE ANY OUTPUT IN WINDOW 1(pic4), YOU HAVE TO UNPLUG YOUR MODEM AND PLUG IT AGAIN AND THEN USE NEXT PORT. yOU HAVE TO DO THIS EVERY TIME YOU DONT SEE ANY OUTPUT. IF YOU DO SEE AN OUTPUT PROCEED TO NEXT STEP.(pic 5, 6, and 7)

(3) Again type echo -e "AT+CGDCONT=1,\"IP\",\"www\"\r" > /dev/ttyUSBx in window 2. (Pic8)
Here replace www with your apn
You will see the OK again in window 1.(pic9)

(4) Again type echo -e "ATDT*99#\r" > /dev/ttyUSBx in WINDOW 2(pic10)
You will See the output in window 1. if you see ERROR in window 1, then it is your AT port not PPPD port. Unplug your modem and try next port untill you get CONNECT message in window 1(pic11). If you get Connect Message the at any port then it is your pppd port. IF you get these messages at port 2, then replace 1 in ttyUSB with 2, ehich then reads ttyUSB2 at the top of conf-pppd file.

Now copy the folder Peers in /etc/ppp/ in your sd card.



Install the application GScript_Mod.apk lies just in the archive .... open it and add the two scripts in the folder gscript of your sdcard : inet-ON.sh (Which brings up connection) and inet-OFF.sh (which disables the connection)

5. REBOOT TABLET. insert the modem. Start the application Gscript and run inet-ON.sh(pic12)

If you do everything on the instructions, your modem will connect to the Internet, although you will not see the 3G connection on the tablet...(pic13)

Thanks for reading..


Dernière édition par cavale le Lun 7 Oct - 17:50, édité 2 fois

cavale

Messages : 46
Réputation : 0
Date d'inscription : 07/09/2013
Age : 29

Revenir en haut Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Re: Configurer tablette avec Modem 3g (n'importe lequel)

Message par cavale le Lun 7 Oct - 17:37

les images qui accompagnet le tutoriel:

Configurer  tablette avec Modem 3g (n'importe lequel) Pic110

Configurer  tablette avec Modem 3g (n'importe lequel) Pic210

Configurer  tablette avec Modem 3g (n'importe lequel) Pic310

cavale

Messages : 46
Réputation : 0
Date d'inscription : 07/09/2013
Age : 29

Revenir en haut Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Re: Configurer tablette avec Modem 3g (n'importe lequel)

Message par cavale le Lun 7 Oct - 17:38

Configurer  tablette avec Modem 3g (n'importe lequel) Pic410

Configurer  tablette avec Modem 3g (n'importe lequel) Pic510

Configurer  tablette avec Modem 3g (n'importe lequel) Pic610

cavale

Messages : 46
Réputation : 0
Date d'inscription : 07/09/2013
Age : 29

Revenir en haut Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Re: Configurer tablette avec Modem 3g (n'importe lequel)

Message par cavale le Lun 7 Oct - 17:40

Configurer  tablette avec Modem 3g (n'importe lequel) Pic710

Configurer  tablette avec Modem 3g (n'importe lequel) Pic810

Configurer  tablette avec Modem 3g (n'importe lequel) Pic910

cavale

Messages : 46
Réputation : 0
Date d'inscription : 07/09/2013
Age : 29

Revenir en haut Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Re: Configurer tablette avec Modem 3g (n'importe lequel)

Message par cavale le Lun 7 Oct - 17:42

Configurer  tablette avec Modem 3g (n'importe lequel) Pic1010

Configurer  tablette avec Modem 3g (n'importe lequel) Pic1110

Configurer  tablette avec Modem 3g (n'importe lequel) Pic1210

Configurer  tablette avec Modem 3g (n'importe lequel) Pic1310

cavale

Messages : 46
Réputation : 0
Date d'inscription : 07/09/2013
Age : 29

Revenir en haut Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Re: Configurer tablette avec Modem 3g (n'importe lequel)

Message par cavale le Lun 7 Oct - 17:45

Si probleme, lire la suite pour modem only , comment l'executer:

question:
Kindly tell me how to use Hyper Terminal and make it a modem only mode. I have Micromax 310G modem with aircel connection and Micromax Funbook Infinity P275. I am unable to connect my modem as it says damaged sd card.

Thank You for your wonderful guide.

reponse:
Select COM port in HyperTerminal and try AT Commands.. i know AT commands to disable Emulated CDROM for few modems. Try it otherwise google commands for your modem

Huawei AT^U2DIAG=x command to control emulated CD-ROM and Micro-SD card
values of :
0: disable CD-ROM and Micro-SD
1: enable CD-ROM only
255: enable CD-ROM and Micro-SD
256: enable Micro-SD only

ZTE AT+ZCDRUN=x command to control emulated CD-ROM and Micro-SD card
values of :
8: disable autorun (modem appears when plugged in)
9: enable autorun (only CD-ROM appears when plugged in)
E: enable download mode (CD-ROM does not appear when plugged in)
F: disable download mode (CD-ROM appears when plugged in)

ZTE(ICERA chipsets) AT%USBMODEM?: to check the actual state

AT%USBMODEM=x command to control emulated CD-ROM and Micro-SD card
values of
0: modem only mode
1: modem + CD-ROM + microSD

cavale

Messages : 46
Réputation : 0
Date d'inscription : 07/09/2013
Age : 29

Revenir en haut Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Re: Configurer tablette avec Modem 3g (n'importe lequel)

Message par cavale le Lun 7 Oct - 17:48

thanks for your reply. As you suggested, I have check all installation and I found the mistake, using the adb command I pushed the conf-pppd file but with the conf-chat's file contents Configurer  tablette avec Modem 3g (n'importe lequel) Smile.
So now "almost" it works fine. Almost because I have to give manually from adb shell or terninal:
echo "1ee8 0014" > /sys/bus/usb-serial/drivers/option1/new_id
in order to create the USBtty
and when the connection is on
setprop net.dns1 208.67.222.222
to set the dns server, because when I run the inet-ON.sh i get the error:
stderr: usage: setprop
This time I have checked the preinstall.sh and inet-ON.sh contents and permissions.

Any clues?

cavale

Messages : 46
Réputation : 0
Date d'inscription : 07/09/2013
Age : 29

Revenir en haut Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Re: Configurer tablette avec Modem 3g (n'importe lequel)

Message par kajmoulia le Lun 7 Oct - 21:15

cavale a écrit:Votre tablette peut etre connecté a Internet avec n'importe quelle modem compatible ou pas.
Grand merci a Mimouni Abdelmalek de Reseau Souss)
Si le modem est compatible comme décrit sur ce forum , voir un autre topic)
si votre modem n'est pas compatible voici le tutoriel , il necessite un peu de réglage et l'ajout de quelques fichiers mais le resultat est garanti .

tutoriel ici:

http://forum.xda-developers.com/showthread.php?t=2172914

Connect ANY 3G dongle to ANY android tablet...

I have found a way to connect any modem to the tablet even if the tablet does not recognizes it. your device must be ROOTED to do so. I am not a developer, i just found out somewhere and modified the instructions to make it easy. i am not responsible to any thing that happens to your device (however this method isn't risky at all)Configurer  tablette avec Modem 3g (n'importe lequel) Cool.

Just follow the instructions and enjoy. First download the attachment...

. First you need to move the modem to "modem only" for this you will need a terminal, you can use Hyper Terminal on windows.
Google search for AT commands for your modem to make it modem only mode and how to do that.

All right .... transferred the modem to the modem-only mode ....

Then note the vid and pid of your modem. one way to do this is to connect the modem to computer then go to device manager, expand modems, right click your modem >properties>details.


2. Next we need ES File Explorer

Install it on your tablet ... Open, go to settings -> Root rights, and tick all checkboxes.

3. Then go to /system/bin/preinstall.sh on your tablet and add a line to the file using es file explorer echo "19d2 1176" > /sys/bus/usb-serial/drivers/option1/new_id (see my preinstall.sh in the archive).

here 19d2 is my modem (vodafone K3370-z) vid and 1176 the pid. replace the vid and pid with your own.

REEBOT YOUR TABLET

4.There is a folder peers in the archive you downloaded. open conf-chat in the folder with es file explorer and replace your apn here with the apn of your service provider .

When the tablet does not recognize the modem it will not generate ttyUSB files which are needed to communicate with the modem. In Step 3 you made the tablet to recognize the modem and it now generates the ttyUSB files. You can check that in Terminal emulator(download from play store) by typing "dmesg" command(without qoutes). scroll the output down, you will see the generated ttyUSB ports as given in attached screenshot Pic1. It also gives the number of ports genetated. If you see these lines you can Connect your modem to Internet. But wait a minute you have additional things to do in order to get connected.

Now you need to find which port is pppd port because we need it to insert in the file Conf-pppd in peers folder of the archive you downloaded. (open the conf-pppd using wordpad you would see ttyUSB1 on the top because pppd port of my modem is 1, those modems who has pppd port at 1 would be able to connect without any modifications, if the pppd port of your modem is not 1 you would have to edit it e.g if the pppd port of your modem is 2, the top line in conf-pppd would look like ttyUSB2 and so on)


To determine which is pppd port follow the below steps...(see the attached screenshots)

Open 2 windows in terminal emulator. (you can copy paste the commands in terminal emulator)

(1) In first window type busybox tr -s "\n" < /dev/ttyUSBx (Pic2)
where x is the first port generated by your modem.(this command opens the port)

(2) Now in window 2 type echo -e "ATi\r" > /dev/ttyUSBx (pic3)
Here x is the same you typed in window 1.
You would see OK in WINDOW 1(Not in window 2). IF YOU DONT SEE ANY OUTPUT IN WINDOW 1(pic4), YOU HAVE TO UNPLUG YOUR MODEM AND PLUG IT AGAIN AND THEN USE NEXT PORT. yOU HAVE TO DO THIS EVERY TIME YOU DONT SEE ANY OUTPUT. IF YOU DO SEE AN OUTPUT PROCEED TO NEXT STEP.(pic 5, 6, and 7)

(3) Again type echo -e "AT+CGDCONT=1,\"IP\",\"www\"\r" > /dev/ttyUSBx in window 2. (Pic8)
Here replace www with your apn
You will see the OK again in window 1.(pic9)

(4) Again type echo -e "ATDT*99#\r" > /dev/ttyUSBx in WINDOW 2(pic10)
You will See the output in window 1. if you see ERROR in window 1, then it is your AT port not PPPD port. Unplug your modem and try next port untill you get CONNECT message in window 1(pic11). If you get Connect Message the at any port then it is your pppd port. IF you get these messages at port 2, then replace 1 in ttyUSB with 2, ehich then reads ttyUSB2 at the top of conf-pppd file.

Now copy the folder Peers in /etc/ppp/ in your sd card.



Install the application GScript_Mod.apk lies just in the archive .... open it and add the two scripts in the folder gscript of your sdcard : inet-ON.sh (Which brings up connection) and inet-OFF.sh (which disables the connection)

5. REBOOT TABLET. insert the modem. Start the application Gscript and run inet-ON.sh(pic12)

If you do everything on the instructions, your modem will connect to the Internet, although you will not see the 3G connection on the tablet...(pic13)

Thanks for reading..
très bien fait en anglais mais facilement compréhensible
merci
kajmoulia
kajmoulia

Messages : 98
Réputation : 0
Date d'inscription : 17/07/2011
Age : 40

Revenir en haut Aller en bas

Configurer  tablette avec Modem 3g (n'importe lequel) Empty Re: Configurer tablette avec Modem 3g (n'importe lequel)

Message par Contenu sponsorisé


Contenu sponsorisé


Revenir en haut Aller en bas

Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous pouvez répondre aux sujets dans ce forum