[ previous ] [ next ] [ threads ]
 
 From:  "James" <james at mobileconnect1 dot com>
 To:  "M0n0wall" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  getting a pcmcia sprint modem to work with m0n0
 Date:  Sun, 4 Apr 2004 18:07:46 -0400
hi all,
 
just woundering if it is possible to have a sprint pcs modem to work as the
internet connection.  I have a automated setup script for linux that would
work but not sure about m0n0.  if anyone can help me, that would be great. 
 
 the scrip that I have is this....
 
#!/bin/bash

#########################################################################

#  Written by Joseph Harnish

#  Date       2/9/2004

#  	

#  Where I got this information: 			

#
http://www.tummy.com/articles/laptops/merlin-c201/

#  		

# This program is free software; you can redistribute it and/or modify

# it under the terms of the GNU General Public License as published by

# the Free Software Foundation; either version 2 of the License, or

# (at your option) any later version.	

#

# This program is distributed in the hope that it will be useful,

# but WITHOUT ANY WARRANTY; without even the implied warranty of

# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the	

# GNU Library General Public License for more details.	

#	

# You should have received a copy of the GNU General Public License

# along with this program; if not, write to the Free Software	

# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#

#########################################################################

#  New Versions can be found at bigjoe.perlmonk.org

#########################################################################





if [ ! -e /etc/ppp/peers/cdma ]; then

   echo "/etc/ppp/peers/cdma does not exist.  I will create it.";

cat <<@EOF1 >/etc/ppp/peers/cdma;

/dev/ttyS3

230400

mtu 576

mru 576

modem

lock

crtscts

defaultroute

lcp-echo-failure 0

lcp-echo-interval 0

novj

persist

connect '/usr/sbin/chat -v -f /etc/ppp/chat-merlinc201'

@EOF1



fi;



if [ ! -e /etc/ppp/chat-merlinc201 ]; then

	echo "/etc/ppp/chat-merlinc201 not found.  I will create it.";

cat <<@EOF2 >/etc/ppp/chat-merlinc201;

"" "AT"

OK "ATZ"

OK "ATE0V1"

OK "AT+IFC=2,2"

OK "ATDT#777"

@EOF2



fi;



setserial /dev/ttyS3 baud_base 460800

pppd call cdma


 
James Paige
Owner
Mobile Connect
 
450 W. Gray St
Elmira, NY 14905
 
www.mobileconnect1.com