WB7ODYFred
03-29-2005, 09:32 PM
Sanyo 4900 on a SprintPCS cell phone
Here in the USA, have a SprintPCS cell phone? Buy the FutureDial USB cable from Radio Shack to connect the Sanyo 4900 SprintPCS cell phone to Knoppix 3.4 Linux as a modem for surfing the web / email at 7K to 14.4K bytes per second rate. What is the secret command to issue in a console window to surf the internet?
# pon sprint
I just could not believe it!! It was all there in Knoppix (Debian) Linux. I went to copy in the scripts from a website using a text editor, but the SCRIPTS were all there already installed. Just one $22 cable (www.futuredial.com) and one 10 character command line and I was on line!!! surfing the web, downloading software, sending e-mail. I was using a computer in an 18 wheeler Rig, with no access to a Loooonngg phone line to dial in. Sometimes you park in areas that don't have much in services. I had a 200Mhz desktop computer with 128MB of ram. I was able to access the internet through the cell phone from anywhere when booting from the Knoppix 3.4 version of Live CD. I needed access to information on how to finish my installation to boot from the hard disk with uncompressed file system ext3.
My particular SprintPCS plan gave me unlimited Data connection. Your plan may be different. Check with your provider. I hear T-Mobile gives unlimited data access for an additional fee $ that is not to expensive.
The kppp logs in by sending the command to dial the number #777 through the /dev/usb/ttyACM0 usb serial port device.
Fred Finster
fredfinster (AT) netscape (DOT) net
I do hope/wish that others provide comments with details about what works for your phone service provider. Thanks for your contribution, too.
ps at home I have Earthlink as my ISP. So to logon, I open a console and type
"pon earthlink". When I am finished with the internet connection, I type "poff".
# cat /etc/ppp/peers/sprint
# You usually need this if there is no PAP authentication
noauth
# The chat script (be sure to edit that file, too!)
connect "/usr/sbin/chat -v -f /etc/chatscripts/sprint"
# Set up routing to go through this PPP link
defaultroute
# Use remote DNS
usepeerdns
# Default modem (you better replace this with /dev/ttySx!)
#or symbolic link "ln -s /dev/usb/ttyACM0 /dev/modem"
/dev/modem
# Connect at high speed
230400
local
/etc/ppp/peers/earthlink
# This optionfile was generated by pppconfig 2.1.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS1
115200
defaultroute
noipdefault
user "your_username_here"
remotename provider
ipparam provider
usepeerdns
cat /etc/chatscripts/sprint
TIMEOUT 5
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
TIMEOUT 12
OK ATD#777
TIMEOUT 22
CONNECT ""
cat /etc/chatscripts/provider
# This chatfile was generated by pppconfig 2.1.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth PAP
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
# ispnumber
# OK-AT-OK ATDT4258161416
OK-AT-OK ATDT4744492
# ispconnect
CONNECT \d\c
# prelogin
# ispname
# isppassword
# postlogin
# end of pppconfig stuff
For a USB data cable, apparently RadioShack has it for $19.99, just ask for part number 170-0782.
The hint applies only to Verizon subscribers:
ATD#777 for direct web connection with user/password both = "qnc"
For SprintPCS subscribers, the hint would read:
ATD#2932 for direct web connection with user/password both = "web"
and these hints apply to modem-equipped phones other than SANYO as well.
Here are some weblinks that should give more details.
http://www.natecarlson.com/linux/sanyo-4900.php Nate Carlsons Website with Details
http://viz.aset.psu.edu/ga5in/SprintModem.html
http://www.macosxhints.com/article.php?story=20021205050615729
http://www.757.org/~joat/wiki/index.php/Connecting_a_Linux_box_to_Sprint_PCS_via_a_Samsung _N400
I was killing time in Radio Shack this afternoon (my wife had gone into Fashion Bug) and I noticed that the SnapDialer cables were down to less than $20 so I decided to take a chance (luckily, I did NOT buy the accompanying software).
Thanks to Nate Carlson's page about his Sanyo SCP-4900, I was able to get online via my Samsung N400 in about a half hour's worth of reading man pages and tweaking the scripts. (see below for mine).
Note that /dev/usb/acm/0 applies to my Linux distribution. Read your boot logs to find out what device is chosen for the SnapDialer.
Create /etc/ppp/peers/sprint to contain:
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/sprint"
defaultroute
usepeerdns
/dev/usb/acm/0
9600
local
novj
Create /etc/chatscripts/sprint to contain:
TIMEOUT 5
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
\rAT
TIMEOUT 12
OK ATD#777
TIMEOUT 22
CONNECT ""
To get the system to connect, type:
pppd call sprint
You can tell a lot by tailing /var/log/messages while you do this.
8)
Here in the USA, have a SprintPCS cell phone? Buy the FutureDial USB cable from Radio Shack to connect the Sanyo 4900 SprintPCS cell phone to Knoppix 3.4 Linux as a modem for surfing the web / email at 7K to 14.4K bytes per second rate. What is the secret command to issue in a console window to surf the internet?
# pon sprint
I just could not believe it!! It was all there in Knoppix (Debian) Linux. I went to copy in the scripts from a website using a text editor, but the SCRIPTS were all there already installed. Just one $22 cable (www.futuredial.com) and one 10 character command line and I was on line!!! surfing the web, downloading software, sending e-mail. I was using a computer in an 18 wheeler Rig, with no access to a Loooonngg phone line to dial in. Sometimes you park in areas that don't have much in services. I had a 200Mhz desktop computer with 128MB of ram. I was able to access the internet through the cell phone from anywhere when booting from the Knoppix 3.4 version of Live CD. I needed access to information on how to finish my installation to boot from the hard disk with uncompressed file system ext3.
My particular SprintPCS plan gave me unlimited Data connection. Your plan may be different. Check with your provider. I hear T-Mobile gives unlimited data access for an additional fee $ that is not to expensive.
The kppp logs in by sending the command to dial the number #777 through the /dev/usb/ttyACM0 usb serial port device.
Fred Finster
fredfinster (AT) netscape (DOT) net
I do hope/wish that others provide comments with details about what works for your phone service provider. Thanks for your contribution, too.
ps at home I have Earthlink as my ISP. So to logon, I open a console and type
"pon earthlink". When I am finished with the internet connection, I type "poff".
# cat /etc/ppp/peers/sprint
# You usually need this if there is no PAP authentication
noauth
# The chat script (be sure to edit that file, too!)
connect "/usr/sbin/chat -v -f /etc/chatscripts/sprint"
# Set up routing to go through this PPP link
defaultroute
# Use remote DNS
usepeerdns
# Default modem (you better replace this with /dev/ttySx!)
#or symbolic link "ln -s /dev/usb/ttyACM0 /dev/modem"
/dev/modem
# Connect at high speed
230400
local
/etc/ppp/peers/earthlink
# This optionfile was generated by pppconfig 2.1.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS1
115200
defaultroute
noipdefault
user "your_username_here"
remotename provider
ipparam provider
usepeerdns
cat /etc/chatscripts/sprint
TIMEOUT 5
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
TIMEOUT 12
OK ATD#777
TIMEOUT 22
CONNECT ""
cat /etc/chatscripts/provider
# This chatfile was generated by pppconfig 2.1.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth PAP
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
# ispnumber
# OK-AT-OK ATDT4258161416
OK-AT-OK ATDT4744492
# ispconnect
CONNECT \d\c
# prelogin
# ispname
# isppassword
# postlogin
# end of pppconfig stuff
For a USB data cable, apparently RadioShack has it for $19.99, just ask for part number 170-0782.
The hint applies only to Verizon subscribers:
ATD#777 for direct web connection with user/password both = "qnc"
For SprintPCS subscribers, the hint would read:
ATD#2932 for direct web connection with user/password both = "web"
and these hints apply to modem-equipped phones other than SANYO as well.
Here are some weblinks that should give more details.
http://www.natecarlson.com/linux/sanyo-4900.php Nate Carlsons Website with Details
http://viz.aset.psu.edu/ga5in/SprintModem.html
http://www.macosxhints.com/article.php?story=20021205050615729
http://www.757.org/~joat/wiki/index.php/Connecting_a_Linux_box_to_Sprint_PCS_via_a_Samsung _N400
I was killing time in Radio Shack this afternoon (my wife had gone into Fashion Bug) and I noticed that the SnapDialer cables were down to less than $20 so I decided to take a chance (luckily, I did NOT buy the accompanying software).
Thanks to Nate Carlson's page about his Sanyo SCP-4900, I was able to get online via my Samsung N400 in about a half hour's worth of reading man pages and tweaking the scripts. (see below for mine).
Note that /dev/usb/acm/0 applies to my Linux distribution. Read your boot logs to find out what device is chosen for the SnapDialer.
Create /etc/ppp/peers/sprint to contain:
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/sprint"
defaultroute
usepeerdns
/dev/usb/acm/0
9600
local
novj
Create /etc/chatscripts/sprint to contain:
TIMEOUT 5
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
\rAT
TIMEOUT 12
OK ATD#777
TIMEOUT 22
CONNECT ""
To get the system to connect, type:
pppd call sprint
You can tell a lot by tailing /var/log/messages while you do this.
8)