Sunday, August 29, 2010

GPRS onLG GM200

Additional commands

AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET"

AS PROVIDED BY CUSTOMER CARE.

Monday, February 15, 2010

Headbanging with the Samsung C5212

The Wndos miracle lasted just a day. The next day the LCD terminated error returned with a vengeance.

So far, all attempts to get the phone working in linux have failed. The error has remained consistent.

pppd: LCP terminated by peer (PDP context activation failed, no network protocol running)

Using the same SIM in another phone - the Nokia 6230 - shows no errors.
Using a different SIM in the C5212 shows the same error.
Using the C5212 in Windows shows no errors.
Using GPRS to browse on the phone shows no errors, using both SIMs.

So far tried in Kppp, wvdial and pppd. All fail to connect, and the error has "LCP" in it.

As per suggestions on the web, I have tried the following :
commented out all lcp related lines in /etc/ppp/options file (the file did not have the lines in the first place)
used config files available online, with suitable modifications in the phone no., username and pwd fields.

Saturday, February 13, 2010

GPRS miracle

Bought the Samsung C5212 phone recently, and tried to get the PC connected using GPRS.

Since, unlike in Windows, the wvdial utility is omnipotent, I had a feeling that merely plugging the phone in would be adequate to get connected.

I was wrong.

The first attempt at using the same wvdial.conf file as the previous phone resulted in an error.

So I tried creating a separate config file with the

wvdialconf wvdial2.conf

command. Edited the resulting file to insert the proper number and ID etc using vi.

vi wvdial2.conf


and retried wvdial with the new config file

wvdial --config wvdial2.conf

This showed up a different error - Voice line Detected.

Googled for this error and nothing useful turned up.

Luckily the phone came with the windows application to get online. So, installed the app in a Windows box and tried connecting through it. The phone did get connected, but required some nudging. Strangely, the modem would not be activated unless the phone is disconnected - the application was verbose enough to mention this.

The app was not satisfactory, and given the situation was looking forward to selling off the one day old phone for a discount.

But, not before giving it one last try in linux.

Miracle, Miracle, Miracle.
The phone connected just fine. Using the wvdial2.conf file and the wvdial.conf file. No problems what so ever.

Was I shocked and awed!!!

So the phone stays.

I am not sure why the phone acted up the first time I tried connecting. But, I am hypothesising that the connection session in Windows sort of influenced the outcome the second time.