hmm..
create a rule file into the /etc/udev/rules.d/
with following content.
######### Start #################
ACTION!=”add”, GOTO=”ZTE_End”
# Is this the ZeroCD device?
SUBSYSTEM==”usb”, SYSFS{idProduct}==”2000″,
SYSFS{idVendor}==”19d2″, GOTO=”ZTE_ZeroCD”
# Is this the actual modem?
SUBSYSTEM==”usb”, SYSFS{idProduct}==”0001″,
SYSFS{idVendor}==”19d2″, GOTO=”ZTE_Modem”
LABEL=”ZTE_ZeroCD”
# This is the ZeroCD part of the card, remove
# the usb_storage kernel module so
# it does not get treated like a storage device
RUN+=”/sbin/rmmod usb_storage”
LABEL=”ZTE_Modem”
# This is the Modem part of the card, let’s
# load usbserial with the correct vendor
# and product ID’s so we get our usb serial devices
RUN+=”/sbin/modprobe usbserial vendor=0x19d2 product=0x0001″,
# Make users belonging to the dialout group
# able to use the usb serial devices.
MODE=”660″, GROUP=”dialout”
################# end ##################
create shell script into /usr/local/bin/go_u.sh
as below..
#################### start
#! /bin/sh
if [ $# -lt 2 ] ; then
echo “go_u
exit
fi
echo port $1
echo speed $2
echo apn $3
/usr/sbin/pppd /dev/$1 $2 nodetach debug crtscts linkname “$1.link” connect “chat -v ECHO OFF TIMEOUT 15 ” AT OK ‘AT+CGDCONT=1,\”IP\”,\”$3\”‘ OK ATE0V1 OK ATDT*99# CONNECT” novj asyncmap 0 lcp-echo-interval 20 lcp-echo-failure 3 usepeerdns defaultroute
######### end
to connect
just need to type.
/usr/local/bin/go_u.sh ttyUSB0 115200 my3g
or you may alias this command to another shorter form..
such as.
touch /usr/local/bin/my3g
vi /usr/local/bin/my3g
##
#!/bin/sh
/usr/local/bin/go_u.sh ttyUSB0 115200 my3g &
exit 0
bro,
i have zero knowledge on programming..could you pls explain in plain english..
im trying to figure out how to use my umobile modem with digi simcard…
at the dialer properties..
change the APN from my3g for umobile to
DIGINET
username : digi
password : digi
tried..but received rate is “0” even after i try to refresh the website
is it connected ?
after using this setting ..
sure got digi EDGE/gprs coverage there ?
yes connected. got digi coverage. if i use my pda, i can surf the internet.
interesting.. may be u can check the DNS server setting. if centos 5 somewhere in /etc/resolve.conf
sometime it did’nt automatically updated or not effective at all.
else just append this to that file.or whatever file that set the DNS server thingy.
these i think for digi primary and secondary dns server.
nameserver 203.92.128.131
nameserver 203.92.128.132
sorry…getting frustrated and sleep last night. still cant received any data..i also dun know what happen
if i used umobile, the transfer rate is vary…between 0 to 150 kbps..sometimes more. but what frustrate me is it is not maintain. for example, if i want to watch live streaming, it didnt maintain for 150kpbs..but ranging from 0 to 150..thats y i try to use edge which have a clear signal at my house. my pda mean while only support gprs.
another example, if i download mp3, gprs transfer rate is around 4-5 kbps but using umobile i only get maximum 2kbps which is unbelievable given that umobile is UMTS.
Just serfed in. Great site, guys!
Hi, everybody
by the way .. i’d terminated the 3G. get back to wired broadband.. hehe.. so far not that much trouble at all.
can view the youtube stream quite fast..
but I maybe not that net speed hungry user.. 8-)
Just wanted to say hello2
Cool!.. Nice work…a
I like it and the background and colors make it easy to readr
Wonderful and informative web site.I used information from that site its great.o