[solved]How to use Shenzhen Strongrising co USB modem?

Post Reply
Message
Author
bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

[solved]How to use Shenzhen Strongrising co USB modem?

#1 Post by bijendra »

puppy 4.31 user using smartlink netodragon modem to connect
now USB modem closely resemble to zte vendor id 21fs and subvendor id 2008 message in usbsniff usbsnoop.log i will be posting.

tried usb switch and ozerocd with no success.
sim card evdo and cdma 2000x
please help i am in illusion.
Last edited by bijendra on Tue 27 Dec 2011, 08:45, edited 3 times in total.

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

#2 Post by bijendra »

http://www.draisberghof.de/usb_modeswit ... sc&start=0
rerwin's code
If that works, please create a config file as /etc/usb_modeswitch.d/21f5:1000 but with the corrected message string, so the config file contains:.
Code:
########################################################
# Air FlexiNet using Flash SX0301
DefaultVendor= 0x21f5
DefaultProduct= 0x1000
TargetVendor= 0x21f5
TargetProduct= 0x2008
MessageEndpoint=0x05
MessageContent="555342430850e782c000000080000671010000000000000000000000000000"
CheckSuccess=20
Also make the rules file /etc/udev/rules.d/40-usb_modeswitch-airflash-sx0301.rules, containing:
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{bInterfaceNumber}=="0[059]", ATTRS{bDeviceClass}=="08", GOTO="modeswitch_rules_begin"
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{bInterfaceNumber}=="0[059]", ATTRS{bInterfaceClass}=="0[38]", GOTO="modeswitch_rules_begin"

GOTO="modeswitch_rules_end"
LABEL="modeswitch_rules_begin"

# Air FlexiNet using Flash SX0301
ATTRS{idVendor}=="21f5", ATTRS{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"

LABEL="modeswitch_rules_end"

now udev pgprs ,pupdial, 0zerocdoff help
https://forge.betavine.net/frs/download ... 4_i386.deb
may i use this
puppy 4.3.1 full installed on dev/sda3
upgrade_pack_4.3.1.1-20110905
usbutil-0.86_i386
Last edited by bijendra on Mon 25 Jun 2012, 06:31, edited 4 times in total.

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

shenzhen strongrising co usb modem qualcomm chip

#3 Post by bijendra »

done modprobe usbserial vendor=21f5 product=2008
dmesg
tied up with ttyusb0
ttyusb1
ttyusb2
ttyusb3
apparent i am in ttyusb0 so, open pupdial
erase
probe
found ttyusb0
but max speed is 9600
connect
http://www.draisberghof.de/usb_modeswit ... 09b54bb060
comprehension
http://nepalilinuxusb.blogspot.com/
Last edited by bijendra on Wed 27 Jun 2012, 10:27, edited 5 times in total.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#4 Post by Aitch »

see http://puppylinux.info/topic/usb-modem- ... grising-co

You'll need your sim card provider's logon/username data and p/w, if any, and dial code

I think you have to tell it stupid mode somewhere, also

Aitch :)

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

shenzhen strong rising usb modem (=qualcomm in windows)

#5 Post by bijendra »

wvdialconf /etc/wvdial.conf
this helps lot.
if ttyusb3 shows up delete /etc/wvdial.conf manually.

Following for www.utlnepal.com
sudo pppconfig
1. Is my ISP dynamic or static- dynamic
2. Enter the IP number for primary dns - 115.187.17.50
3. Enter the IP number for your secondary dns-8.8.4.4
4. Authentication Method for provider (PAP, Chat, Chap?)- CHAP
5. Enter your modem port speed (e.g. 9600, 19200, 38400, 57600, 115200) -115,200
6. Select method of dialing. Touch tone or pulse. -tone
7. Enter the number to dial-#777
8. The port your modem is on identified automatically or enter the port your modem is on (example /dev/ttyS0 is COM1 in DOS.) - ttyUSB0
10. Password, Username- XXXXXXXXXXX@utlnepal.com,XXXXXXXXXXX
11.local ip 172.18..........(varies)( dynamic)
12. remote ip 172.17.28.100
13. ayncmap - 0X00 or 0X01

chatscript

chat -f chatscript

ABORT BUSY
ECHO OFF
SAY "Dialling your ISP...\\n"
\&'' ATDT#777
TIMEOUT 120
SAY "Waiting up to 2 minutes for connection ... "
CONNECT ''
SAY "Connected, now logging in ...\n"
ogin: account name xxxxx@utlnepal.com
ssword: password
$ \c
SAY "Logged in OK ...\n"

for chat script-
welcome message:- Welcome to KTM-PDSNO 1
server data in pastebin -
http://pastebin.com/pht47VYc

here is for www.enet.com.np
www.enet.com.np
remote address (connect to this ip) - 14.128.12.20
primary dns 1 - 8.8.8.8
secondary dns2 - 14.128.12.12 (this is enet dns name server)
local ip address - 14.128..... ( any dynamic address mine this time 14.128.15.49)
www.enet.com.np
#ifconfig

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:14.128.15.50 P-t-P:14.128.12.20 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:347 errors:0 dropped:0 overruns:0 frame:0
TX packets:398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:369923 (361.2 KiB) TX bytes:45817 (44.7 KiB)

#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
14.128.12.20 * 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 ppp0
Last edited by bijendra on Tue 27 Mar 2012, 01:35, edited 6 times in total.

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

shenzhen strong rising usb modem

#6 Post by bijendra »

below are files on respective directory
i)
/etc/chatscripts/utlnepal.com
TIMEOUT 10
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
ABORT 'NO CARRIER'

'' 'ATZ'
'OK' 'ATE1'
'OK' 'AT+CGDCONT=1,"IP","172.17.28.100","0.0.0.0",0,0'
'OK' 'ATDT#777
'CONNECT' '\c'
-------------------
ii)file /etc/ppp/peers/provider

/etc/ppp/peers/utlnepal.com

Inside my peers file I will place following code:

hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/utlnepal.com"
debug
/dev/ttyUSB0
115200
defaultroute
replacedefaultroute
noipdefault
usepeerdns
crtscts
lock
local

# Redial and interval
persist
holdoff 5

# No compression
novj
novjccomp
nopcomp
nodeflate

# CHAP authentication
user "xxxxxxx@utlnepal.com"
remotename "xxxxxx@utlnepal.com" "utlnepal.com" "xxxxxxxx"
refuse-PAP
refuse-eap

# LCP echo messages settings
lcp-echo-failure 4
lcp-echo-interval 65535
---------
iii) /etc/ppp/resolv
# resolv.conf created by pppconfig for provider /etc/ppp/resolv
nameserver 115.187.17.50
nameserver 8.8.4.4
iv)/etc/ppp/chap-secrets file
"97xxxxxxxxxx@utlnepal.com" "utlnepal.com" "97xxxxxxx"

now to connect this must be command
#pppd call provider.
This is basic configuration to get you online. To dial your connection you would use sudo pon ispname and to disconnect you would use sudo poff ispname where “ispname
Last edited by bijendra on Wed 28 Mar 2012, 09:01, edited 2 times in total.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#7 Post by Aitch »

email/pm
thanks for answering
username 972130967@utlnepal.com
password 972130967
stupid mode checked
dialcode what where to find
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 260800
Init1 =
Init2 = ATZ
Init3 = ATQ0V1E1S0=0&C1&D2S11=55+FCLASS=0
Carrier Check = no
Dial Command = ATX3DT

[Dialer isp1]
Phone = #777
Username = XXXXXXXX
Password = XXXXXXXX
Auto Reconnect = yes

[Dialer isp1apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer isp2]
Phone = MY2ISPPHONENUM
Username = XXXXXXXX
Password = XXXXXXXX
Auto Reconnect = yes

[Dialer isp2apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer pin]
Init1 = AT+CPIN=
Init4 = AT+COPS=0,0,"MYOPS"
Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384
Init8 = AT+CGDCONT?
Init9 = AT+COPS?


[Dialer wireless]
#To force only 2G or 3G, uncomment the Init4 line and append 0 (2G) or 2 (3G), and substitute your operator's name for MYOPS.
Init4 = AT+COPS=0,0,"MYOPS",
Init6-Init9 lines are available for user purposes; the commented examples can be used as described:
#To force the 3G quality of service level, uncomment the Init6/Init7 line pair and set value two places each, for 384k/144k/64k, omitting the "k" (e.g., =1,4,64,384,64,384).
#To list all the APNs stored in the modem, uncomment the Init8 line; check the Connection status log for lines beginning with +CGDCONT:.
#To list the operator identifier stored in the modem, uncomment the Init9 line; check the Connection status log for a line beginning with +COPS:.
Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384
Init8 = AT+CGDCONT?
Init9 = AT+COPS?
reply
Hi
You should copy this to the murga-linux thread, if you haven't already
According to their website, the dialcode is hash777

http://www.utlnepal.com/serv_internet_usim.php

You may also need carrier check=1, or yes, and temporarily turn off firewall until a connection can be made....it was blocking mine, but that was a fair time ago....I used pupdial successfully eventually

rerwin is the expert on this....I just went through everything setting up a huawei modem to connect to 3 UK in puppy 214R/X
As far as I know, it got easier as rerwin's scripts were added to later puppies
You may need to pm him if you are still having problems

Aitch :)

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

success strongrising modem in Wary5.2.2

#8 Post by bijendra »

success in puppy wary 5.2.2
modprobe usbserial vendor product
then pupdial probe modem give ttyUSB0 I put password ,call no.and username and connect. It really connects and first thing is Seamonkey download Flash updates.
But pupdial shows 9800 baudrate .
and mode OPtion is better than usbserial.
modprobe option attach module but not modem
modprobe Option vendor=0x21f5 product 0x2008 will not tie ttyUsB0
dmesg shows generic modem driver but no ttyUsb0 and pupdial probe don't find modem.
it seems i cant attach option module with 21f5:2008
and usbserial giving me baudrate 9800 but in speedtest.net i will test shortly.

downloaded Lucid 5.2.8 Slacko 5.3.1 will attach strongrising modem with these distro.
I need resume support download manager like free downnload manager and .
network analyasis like network miner or winshark for puppy

success in puppy 4.3.1 but with usbserial
modprobe usbserial vendor product
modprobe option
modprobe option vendor product
echo "21f5:2008" > /sys/bus/usb-serial/drivers/option1/new_id
dmesg
wvdialconf /etc/wvdial.conf
here found device attached to ttyusb0
pupdial start found device. password , name , dialcode.
here is var/log/message

http://pastebin.com/ZHZ5vWf0
Last edited by bijendra on Fri 06 Jan 2012, 08:49, edited 1 time in total.

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

request to remove password in public thread

#9 Post by bijendra »

Thanks for helping due assitance usbmodem working.
solved
utlnepal wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 9600
Init1 =
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carrier Check = no
Dial Command = ATDT

[Dialer isp1]
Phone = #777
Username = XXXXXXXX
Password = XXXXXXXX
Stupid Mode = yes
Auto Reconnect = yes

[Dialer isp1apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer isp2]
Phone = MY2ISPPHONENUM
Username = XXXXXXXX
Password = XXXXXXXX
Auto Reconnect = yes

www.enet.com.np wvdial.conf
[Dialer Defaults]
Modem = /dev/ttySL0
Baud = 57600
Init1 =
Init2 = ATZ
Init3 = ATQ0V1E1S0=0&C1&D2S11=55+FCLASS=0
Carrier Check = no
Dial Command = ATDT

[Dialer isp1]
Phone = 15300
Username = XXXXXXXX
Password = XXXXXXXX
Stupid Mode = yes
Auto Reconnect = yes

[Dialer isp1apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer isp2]
Phone = MY2ISPPHONENUM
Username = XXXXXXXX
Password = XXXXXXXX
Auto Reconnect = yes

[Dialer isp2apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer pin]
Init1 = AT+CPIN=
Attachments
pmodemdiag-20011231.tar.gz
enet.com.np connected with smartlink modem @57kb, modprobe ungrab_winmode, modprobe slamr, slmodemd puppy 4.3.1.1
(30.23 KiB) Downloaded 905 times
Last edited by bijendra on Fri 23 Mar 2012, 09:32, edited 3 times in total.

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

#10 Post by bijendra »

if #lsusb in console do not find 21f5:2008 then mode not switch
evoke usb_modeswitch manually.
#usb_modeswitch -c /etc/usbmodeswitch.d/21f5:1000
then success message will come
either attach option or usbserial
#modprobe -v option
#new_id file is now permissible
sudo chmod 774 /sys/bus/usb-serial/drivers/option1/new_id
# echo "21f5 2008" > /sys/bus/usb-serial/drivers/option1/new_id
to attach usbserial
#modprobe -v usbserial
#dmesg
shows ttyusb0 attached if not goto above
if ttyusb0
then
wvdialconf /etc/wvdial.conf
if something wrong like wrong port or ttyusb3 or ttyACM0 or cdc_acm module comes then delete /etc/wvdial.conf and symlink /dev/modem/gsmm or anything that created.
start from above
if success ful there will be working ttyusb0
start pupdial probe or dial

here is script file to activate.
extract
cd 21f5
run ./setup (sudo if required)
Attachments
21f5.tar.gz
script ,extract ,cd 21f5 and sudo ./setup
(742 Bytes) Downloaded 953 times
Last edited by bijendra on Sun 25 Mar 2012, 06:15, edited 4 times in total.

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

usbmodem is automatic

#11 Post by bijendra »

In wary 5.2.2 it seems option module is working for usb modem so needn't have to do anything .since boot no keytouch found 3g modem message shows.dmesg shows ttyusb0 attached.then pupdial modem probe found usbmodem.Now give username password dialcode.connect. It's connected.
Thanks everybody on help .usb modem solved

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#12 Post by Aitch »

bijendra

Success at last, well done :D
Can you please edit your first post, and add Solved to the title - in the subject description line - the edit icon to that post is top right corner, thanks
For other questions/queries asked earlier, see

http://www.wellminded.com/puppy/pupsearch.html

Aitch :)

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

new pmodemdiag while running

#13 Post by bijendra »

this is pmodemdiag with usbserial as module running

Doing all this in puppy 4.3.1, uname -r 2.6.30.5 user agent sea monkey 1.1.18 from speed 153 kbps.
but speedtest.com shows half of it , this happens in windows too as i am in conjusted area with lot of subscribers.
Attachments
21f5_modem_config-1.pet
strongrising 21f5:2008 modem activation file
(774 Bytes) Downloaded 925 times
Last edited by bijendra on Sat 28 Jan 2012, 16:40, edited 4 times in total.

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

module usbserial bandwidth test

#14 Post by bijendra »

In http://www.bandwidthplace.com/
download 124 kbps
upload 31 kbps
My optimum is 153kbps download
153/2=71 kbps upload in windows xp sp3
below is lupu 5.2.8 with
wvdialconf /etc/wvdial.conf
helps lot to find ttyusb0
Last edited by bijendra on Thu 12 Jan 2012, 07:42, edited 2 times in total.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#15 Post by Aitch »

that is poor performance

did you try here?

http://speedtest.net/

Low/poor aerial reception will give poor performance as the modem will drop 1st from hdspa to 3G, then to 2G/gsm

http://en.wikipedia.org/wiki/3G

http://en.wikipedia.org/wiki/Enhanced_D ... _Evolution

You appear to only be getting 2G, so try researching aerial boosting for 3G

something like this

http://sureshkumarmali.blogspot.com/201 ... -data.html

Aitch :)

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

inconsistency

#16 Post by bijendra »

yesterday connected puppy 4.3.1 with upgrade 4.3.1.1
but today things are gloomy.
somehow ttyusb3 is attached which starts module cdc_acm and other 3 modules.
got to lot of modprobe -r cdc_acm and other 3 modules.
sometimes pupdial shows no carriesr detect.
needs lot of reboot to overcome .
basic learned usbserial is good for it while cdc_acm is bad. option can't be loaded as it backfire by starting cdc_acm. this is quite inconsistent.reboot lot. replug lot. found device cd rom lot.
though i hope once again modprobe -v usbserial will be successful to attached to ttyusb0.

clearly it will better to change distro to slacko 5.2

ln -s /dev/ttyusb0 /dev/modem #created symlink
blacklist in bootmanager module cdc_acm.
still wvdialconf find ATDT ttyusb0 115kb with `!~!#$~$!@!~~@~!$ this type of letters. and modem is becoming harder to use in puppy 4.3.1.1
why?
port recognizing problems ?
why option or usbserial is not so clear cut about port ttyusb0 or ttyusb3 or other port specific problems?
why wvdial gives disdrain or something like that message?

Here could be ports.
Usb modem port -ttyUsb0
DM service port -ttyusb1
voice device port -ttyusb2
command control port -ttyusb3
Last edited by bijendra on Thu 12 Jan 2012, 06:34, edited 1 time in total.

bijendra
Posts: 14
Joined: Fri 02 Dec 2011, 08:01

signal booster

#17 Post by bijendra »

used can pop corn and plastic bucket 6 inches depth and usb chord .
made cantenna with bucket dish, put chorded cantena inside bucket.takes 5 sec to make. good 153kb=19KB per sec in windows gaining as shown by free download manager and netmeter.
isp giving 153 my gain now 153.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#18 Post by Aitch »

this cantenna is better, yes? rotate it directionally for best results
153 still seems slow so I'm puzzled at the optimum, but maybe this is an ISP transmit limit, with high contention, with many shared users?

for other problems, which may be driver related, please refer to rerwin, thanks

also see barry's thread, here [rerwin is 3g developer]

http://www.murga-linux.com/puppy/viewtopic.php?t=62658

Aitch :)

Post Reply