| Zobrazit předchozí téma :: Zobrazit následující téma |
| Autor |
Zpráva |
the29
Založen: 6.9.2008 Příspěvky: 7
|
Zaslal: so září 06, 2008 11:54 pm Předmět: Motorola v3xx |
|
|
Hello!
After some trys, the motorola v3xx is working finaly.
But the internet speed is not very good!
http://wl500g.info/showpost.php?p=110682&postcount=213
Here you can see the differences!
The first 2 screenshots are with the motorola v3xx connected to the asus 500 with fw 170a.
The last 2 screenshots show the faster internet speed, when i connect the mobile to the laptop (also with usb) and connect with motorola program.
The mobile is always at the same position.
In the post is also my dial.tar.gz because my service provider (3 austria) needs some special init strings. If you cannot see the images or download the dial.tar.gz for more information, please contact me!
Somebody knows why the download speed is so bad when i connect it to the router? |
|
| Návrat nahoru |
|
 |
engy CDMA Developer
Založen: 4.11.2004 Příspěvky: 1261
|
Zaslal: ne září 07, 2008 7:53 am Předmět: |
|
|
| You must change maxpacketsize for you usb device. Add maxpacketsize=2048 or maxpacketsize=1024 after insmod acm on the 4-th line. Which special init string is required? |
|
| Návrat nahoru |
|
 |
the29
Založen: 6.9.2008 Příspěvky: 7
|
Zaslal: ne září 07, 2008 1:23 pm Předmět: |
|
|
Okay, with 1024i got 380kbit download and 140 upload!
But not so much as when i connect it directly to the laptop!
Here is my dial script
| citace: | #!/bin/sh
rmmod ftdi_sio
rmmod pl2303
rmmod modem
rmmod usbserial
rmmod acm
# max packetsize for motov3xx
insmod acm maxpacketsize=1024
# default is the motorola v3xx vendor/product
insmod usbserial vendor=0x22b8 product=0x6402
insmod modem
insmod pl2303
insmod ftdi_sio
while true; do
kill -9 $(ps|grep pppd|grep motov3xx|awk -F' ' '{print $1}') 2>/dev/null
# is this needed?
# /tmp/ppp/zerocd
# sleep 5
DEVICE=/dev/usb/acm/0
export DEVICE
/usr/local/dial/prepare # copies the needed files to /tmp/ppp/peers
pppd call motov3xx >> /tmp/chat.log
sleep 25
done |
This is the prepare script
| citace: | #!/bin/sh
# copy the motorolla v3xx init script to /tmp/ppp/ppers
cp /usr/local/dial/motov3xx /tmp/ppp/peers/
# copy the init strings from provider 3 Austria to motov3xx.chat - just replace it with your isp
cp /usr/local/dial/3at.chat /tmp/ppp/peers/motov3xx.chat
# writes null entries to the pap-secrets and copy it to chap-secrets - if you need username/password insert
# in the first "" your username and in the second "" your password/pin
echo "# Secrets for authentication using CHAP" > /tmp/ppp/pap-secrets
echo "# client server secret IP addresses" >> /tmp/ppp/pap-secrets
echo '"" * "" *' >> /tmp/ppp/pap-secrets
chmod 600 /tmp/ppp/pap-secrets
cp /tmp/ppp/pap-secrets /tmp/ppp/chap-secrets |
This is the 3at.chat with the special init strings for the provider 3 in Austria
| citace: | '' 'ATZ'
'OK' 'ATS0=0'
'OK' 'AT+CGATT=0'
'OK' 'AT+CGQREQ=1,0,0,0,0,0'
'OK' 'AT+CGQMIN=1,0,0,0,0,0'
'OK' 'AT+CGDCONT=1,"IP","drei.at","0.0.0.0",0,0'
'OK' 'ATE1V1&D2'
'OK' 'AT+IFC=2,2'
'OK' 'ATDT*99#'
'CONNECT' '' |
This is motov3xx file for use with pppd
| citace: | /dev/usb/acm/0
460800
debug
crtscts
noipdefault
ipcp-accept-local
lcp-echo-interval 60
lcp-echo-failure 5
usepeerdns
noauth
nodetach
user ""
connect "/usr/sbin/chat -s -S -V -t 30 -f /tmp/ppp/peers/motov3xx.chat 2>>/tmp/chat.log" |
When i change the insmod acm with maxpacketsize=1024 then i have ~50KB/S down and 23KB/S Up.
So my upstream is faster as when i connect the mobile to the laptop!
But the downloadspeed isnt so fast. Its more than 2 times faster when i connect it directly to the laptop!
You know why? |
|
| Návrat nahoru |
|
 |
engy CDMA Developer
Založen: 4.11.2004 Příspěvky: 1261
|
Zaslal: ne září 07, 2008 6:54 pm Předmět: |
|
|
| You don't need usbserial driver, the phone seems to be an ACM type modem. |
|
| Návrat nahoru |
|
 |
the29
Založen: 6.9.2008 Příspěvky: 7
|
Zaslal: ne září 07, 2008 8:33 pm Předmět: |
|
|
Okay, when i dont load the usbserial i got some message when running dial!
| citace: | modem
insmod: unresolved symbol usb_serial_deregister
insmod: unresolved symbol usb_serial_register
pl2303
insmod: unresolved symbol usb_serial_get_serial
insmod: unresolved symbol usb_serial_deregister
insmod: unresolved symbol usb_serial_register
ftdi_sio
insmod: unresolved symbol usb_serial_get_serial
insmod: unresolved symbol usb_serial_deregister
insmod: unresolved symbol usb_serial_register |
But the internet speed stays at ~420kbit/52KB/sec.
Edit: When i dont load the usbserial, the mobile doesnt show the symbol for internet using. But it works.
Very strange... |
|
| Návrat nahoru |
|
 |
the29
Založen: 6.9.2008 Příspěvky: 7
|
Zaslal: čt září 18, 2008 2:11 pm Předmět: |
|
|
I got the Huawei E220 modem too!
When i try to run this modem, i get 1mbit/sec!
So what can be the problem with the moto? Any baudrate missmatch, or sth? |
|
| Návrat nahoru |
|
 |
darius CDMA maniac
Založen: 10.10.2008 Příspěvky: 77
|
Zaslal: so říjen 11, 2008 4:07 pm Předmět: |
|
|
| the29 napsal: | I got the Huawei E220 modem too!
When i try to run this modem, i get 1mbit/sec!
So what can be the problem with the moto? Any baudrate missmatch, or sth? |
Hi,
I try to follow your howto to connect Siemens MC60 as GPRS modem over serial usb cable.
It seems MC60 is not acm.
So no such terminal installed
"
This is motov3xx file for use with pppd
Quote:
/dev/usb/acm/0
"
Should I replace acm with tts anyway ?
What is a chance to have your howto to work with MC60 ?
And please tell me how to edit the following 2 files with vi
/usr/local/dial/prepare
/usr/local/dial/motov3xx
I can edit /opt/.... files only.
Darius |
|
| Návrat nahoru |
|
 |
the29
Založen: 6.9.2008 Příspěvky: 7
|
Zaslal: po říjen 13, 2008 12:24 pm Předmět: |
|
|
You have to create the folder /usr/local/dial (i think dial is not existing).
Then you have to create the other 2 files! And of course you have to replace the acm string with tts!
I have a dial.tar.gz at home where both (Huawei + Motorola) versions are included! Depending if a flag file is here, it uses Huawei connect (tts) or Motorola connect (acm). |
|
| Návrat nahoru |
|
 |
darius CDMA maniac
Založen: 10.10.2008 Příspěvky: 77
|
Zaslal: po říjen 13, 2008 2:12 pm Předmět: |
|
|
| the29 napsal: | You have to create the folder /usr/local/dial (i think dial is not existing).
Then you have to create the other 2 files! And of course you have to replace the acm string with tts!
I have a dial.tar.gz at home where both (Huawei + Motorola) versions are included! Depending if a flag file is here, it uses Huawei connect (tts) or Motorola connect (acm). |
Thanks.
But how to create /usr/local ... files with vi ?
Is Web GUI the only valid option ?
The issue is I read wl500g.info forum at the same time
and got the following message from
thE_29
Senior Member
Join Date: Aug 2007
Posts: 288
You just need the files in /usr/local/dial and change the config at the webgui to user specified dial in!
But when the siemens is not recognized after insmod acm, then maybe it won´t work ever
Is that you ?
Tried to create /usr/local/dial with vi but it deletes that file on save option selected
:wq
Darius |
|
| Návrat nahoru |
|
 |
darius CDMA maniac
Založen: 10.10.2008 Příspěvky: 77
|
Zaslal: út říjen 14, 2008 2:08 pm Předmět: |
|
|
| the29 napsal: | You have to create the folder /usr/local/dial (i think dial is not existing).
Then you have to create the other 2 files! And of course you have to replace the acm string with tts!
I have a dial.tar.gz at home where both (Huawei + Motorola) versions are included! Depending if a flag file is here, it uses Huawei connect (tts) or Motorola connect (acm). |
Not /usr/local/dial
but /usr/ppp/gprs/dial
Ok. Read koppel gprs dial file to read how it works.
Darius |
|
| Návrat nahoru |
|
 |
|