Instalando modem USB 3G no N800/810



Pessoal esse tutorial foi retirado do maemo-users@maemo.org, e foi feito pelo Tommy Persson,

em resposta a duvida de um usuário, os passos estão em inglês e foram criados para usar o modem Huawei

E220, porem acredito que o procedimento seja o mesmo para qualquer modem, antes disso instalem o gainroot, pois o N800 não possui.

1. Put the N810 in USB host mode.

2. Connect the USB hub to the N810 using a female-female converter.

3. Connnect the Huawei modem with battery to the USB hub.

3. Connect to network DEFAULT that is created in the connection menu with:

gconftool -s -t string /system/osso/connectivity/IAP/DEFAULT/type DUMMY

4. Run the following script:

#!/bin/sh

# usb host mode script

# use gainroot to become root and relaunch itself

if [ `id -u` != 0 ] ; then

#if not already root, call itself as root

sudo gainroot <
$0 $*

EOF

exit

fi

kill -HUP `cat /var/run/ppp0.pid`

insmod /root/usbserial.ko vendor=0×12d1 product=0×1003

sleep 3

/usr/sbin/pppd call telia3g ( onde tem telia3g, bote o nome de sua preferencia)

——–

You have to disable the asking of the PIN code in your SIM card by

connecting the card to a 3G phone or use some suitable software like

umtsmon on your Linux computer ur use a Windows computer connected to

the modem.

You have to complie the kernel modules to get the usbserial.ko.

The file /etc/ppp/peers/telia3g has the following content:

lock

connect “/usr/sbin/chat -v -f /etc/ppp/telia3g.chat”

#Use the first of the serial ports.

/dev/ttyUSB0

hide-password

noauth

debug

novj

460800

#This options tells pppd to create automatically a default route for this

connection

#in the routing table upon connection.

#This works if you do not have set (you must not indeed!) the ‘gateway’ option

# for any network interface you have (eg eth0).

defaultroute

noipdefault

user anyuser

password anypassword

modem

crtscts

#Do not use the peer given DNSs, since the ones received from the peer are

wrong.

usepeerdns

nodeflate

nobsdcomp

The file /etc/ppp/telia3g.chat have the following content:

ABORT BUSY

ABORT ERROR

REPORT CONNECT

TIMEOUT 10

“” “AT&F”

OK “AT+COPS?”

OK “ATE1″

OK “ATS0=0″

OK ‘AT+CGDCONT=1,”IP”,”online.telia.se”‘ onde tem telia.se ( Coloque o APN de sua operadora CLARO,VIVO.OI,TIM OU BR TELECOM)

OK “ATDT*99#”

TIMEOUT 30

CONNECT \d\c

 Instalando modem USB 3G no N800/810

Benzer Başlıklar


TopOfBlogs - Cep Programları - Klip İzle - Oyun Sitesi - İlan Sitesi - mobil sağlık - Yeni Programlar