Thoughts on Rails

Riding the Train of Thought

Tata Indicom / LG CDMA LSP-345 Modem on UNIX

with 2 comments


It’s been less than a week since I got the new phone connection – a Wireless Local Loop (WLL) system. The LG’s “LSP 345” model of CDMA Fixed Wireless Terminal comes with a manual that says nothing about the in-built high speed modem. And the ISP – Tata Indicom does not talk much about it either… they “Support only Windows”… bitches.

Here’s my solution to the problem…

Notes:

1. The username and passwords for all people are same… “internet” which is uhm… bad. Even though they check my phone number through CLI and bill me accordingly – there are times when I just want to allow someone to use my computer but not use the Internet… what about that? How do you deal with it? (on *BSD / Linux it is not a big deal… only allow root to dial out)

2. There is no phone number which you dial to… hrm.. funky! So THAT’s why the modem doesn’t work right out of the box… but it has a slightly different approach… it uses a initialization command to know when to ‘dial out’ and connect to the ISP. Looks like a plan to lock out other ISPs from their userbase.

3. The “extra initialization command” is AT+CRM=1. What it means is not known to me, but I’d like to know 🙂

Oh yes, the solution 😛

As root…

# cd /etc/ppp/
# emacs options

Then type in the following lines of text…

/dev/cuaa0 115200
crtscts # enable hardware flow control
modem # modem control line
connect “/usr/bin/chat -f /etc/ppp/login.chat.script”
noipdefault # remote PPP server gives the IP address
passive # wait for LCP packets
ipcp-accept-remote # accept a remote address automatically
ipcp-accept-local # accept a local address automatically
user internet
:219.64.129.146 # IP of the default gateway…
defaultroute # make this the default route

That done, please note that the default gateway too changes every time… and is silently ignored.

# emacs login.chat.script

And put in

ABORT BUSY ABORT ‘NOCARRIER’ “” AT OK AT+CRM=1 OK ATDT121 CONNECT “”

Then edit another file in the same directory…

# emacs chap-secrets

And put the following line in it…

“internet” * “internet”

Once that is done… make sure you have not configured any ethernet devices to be the default routers/gateways and go type

# pppd

on the root prompt.

If you have connected the modem from your CDMA phone to the correct serial port (here Com 1) and if you have done everything correctly, your modem should dial out, show that the ppp link is active and you should have Internet on your FreeBSD machine too 🙂

I had fun finding out the information and using it… hope you too find it interesting!!

NOTE: If you have any suggestions, more ideas… pease leave a comment!! Thanks 🙂

Advertisements

Written by hiway

September 10, 2004 at 9:24 am

Posted in Uncategorized

2 Responses

Subscribe to comments with RSS.

  1. Hello Harshad,
    Was browsing to check for some data about the LSP-345 phone and found ur blog.
    checked out the site which has some photographs. really good.
    did u really take those pics!!?
    i have one tech question since i am trying to do something on this stupid phone LSP-345.
    is there a way i can command it to send DTMF over voice calls? the normal VTD and VTS commands dont seem to work. I can see that this blog is way back in 2004. but just in case you have explored more about it – please let me know – my id is vidya_you_yes@rediffmail.com–>

    Vidya Srinivasan

    March 17, 2006 at 3:02 pm

  2. locked atomatticaly,how to unlock the phone

    john peter

    June 29, 2015 at 1:26 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: