Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 05:18
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Dialup
[solved]How to use Shenzhen Strongrising co USB modem?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Thu 08 Dec 2011, 06:53    Post_subject:  [solved]How to use Shenzhen Strongrising co USB modem?
Sub_title: [solved]usb switch to modem from mass storage
 

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.

Edited_times_total
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Wed 14 Dec 2011, 05:52    Post_subject:  

http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=808&postdays=0&postorder=asc&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.php/478/ozerocdoff_0.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

Edited_times_total
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Fri 16 Dec 2011, 06:28    Post_subject: shenzhen strongrising co usb modem qualcomm chip  

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_modeswitch/bb/viewtopic.php?t=808&sid=ee793dbcccf12433b9f07809b54bb060
comprehension
http://nepalilinuxusb.blogspot.com/

Edited_times_total
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Fri 16 Dec 2011, 14:00    Post_subject:  

see http://puppylinux.info/topic/usb-modem-shenzhen-strongrising-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 Smile
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Fri 16 Dec 2011, 18:16    Post_subject: shenzhen strong rising usb modem (=qualcomm in windows)
Sub_title: wvdial
 

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

Edited_times_total
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Sat 17 Dec 2011, 05:49    Post_subject:  shenzhen strong rising usb modem  

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” is you peers file name.
# sudo pon utlnepal.com
---------

Edited_times_total
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 17 Dec 2011, 08:23    Post_subject:  

email/pm
Quote:
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
Quote:
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 Smile
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Sun 18 Dec 2011, 00:59    Post_subject: success strongrising modem in Wary5.2.2  

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

Edited_time_total
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Sun 18 Dec 2011, 01:33    Post_subject: request to remove password in public thread  

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=
pmodemdiag-20011231.tar.gz
Description  enet.com.np connected with smartlink modem @57kb, modprobe ungrab_winmode, modprobe slamr, slmodemd puppy 4.3.1.1
gz

 Download 
Filename  pmodemdiag-20011231.tar.gz 
Filesize  30.23 KB 
Downloaded  520 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Sun 18 Dec 2011, 01:46    Post_subject:  

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)
21f5.tar.gz
Description  script ,extract ,cd 21f5 and sudo ./setup
gz

 Download 
Filename  21f5.tar.gz 
Filesize  742 Bytes 
Downloaded  539 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Tue 20 Dec 2011, 12:39    Post_subject: usbmodem is automatic  

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
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Tue 20 Dec 2011, 13:42    Post_subject:  

bijendra

Success at last, well done Very Happy
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 Smile
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Fri 06 Jan 2012, 05:02    Post_subject: new pmodemdiag while running
Sub_title: success in different distro
 

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.
pmodemdiag-20111219.tar.gz
Description  wary 5.2.2 usb kinston direct boot, wary5.2.2.sav in sda1 saved ,option module attached to ttyusb0
gz

 Download 
Filename  pmodemdiag-20111219.tar.gz 
Filesize  47.13 KB 
Downloaded  470 Time(s) 
21f5_modem_config-1.pet
Description  strongrising 21f5:2008 modem activation file
pet

 Download 
Filename  21f5_modem_config-1.pet 
Filesize  774 Bytes 
Downloaded  543 Time(s) 
pmodemdiag-20120106.tar.gz
Description  puppy 4.3.1 with upgrade 4.3.1.1 full install in hard dishk partition sda3 usbserial attached to ttyusb0
gz

 Download 
Filename  pmodemdiag-20120106.tar.gz 
Filesize  23.13 KB 
Downloaded  465 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
bijendra

Joined: 02 Dec 2011
Posts: 14

PostPosted: Fri 06 Jan 2012, 05:22    Post_subject: module usbserial bandwidth test  

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
pmodemdiag-20120112.tar.gz
Description  lupu 5.2.8 with kernel 2.6.33.2 with option module
gz

 Download 
Filename  pmodemdiag-20120112.tar.gz 
Filesize  27.76 KB 
Downloaded  476 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Fri 06 Jan 2012, 20:53    Post_subject:  

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_Data_Rates_for_GSM_Evolution

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

something like this

http://sureshkumarmali.blogspot.com/2011/04/diy-signal-boosterantenna-for-3g-data.html

Aitch Smile
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Networking » Dialup
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1078s ][ Queries: 12 (0.0115s) ][ GZIP on ]