April 16, 2024, 03:18:06 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: RE: LSP-3000 CDMA connection problem head way  (Read 12833 times)

Offline mimoh_mi

  • Linux Noob !
  • *
  • Posts: 8
RE: LSP-3000 CDMA connection problem head way
« on: January 03, 2006, 08:39:37 AM »
please can somebody help me out.
I just bought a starcomms LG CDMA LSP-3000 phone,
setting up my internet connection on XP wasn't a problem.
After creating this wvdial.conf file, my modem was detected.

[Modem0]
Modem = /dev/ttyS0
Baud = 115200
SetVolume = 4
Dial Command = ATDT
Init1 = ATZ
FlowControl = CRTSCTS
[Dialer starcomms]
Username = 18502784@startcomms.com
Password = 18502784
Phone = #777
Stupid Mode = 1
Inherits = Modem0

[root@localhost root]# wvdial starcomms
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
ATZ
OK
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
ATQ0
OK
this is my resolv.conf
search starcomms.com
nameserver 196.3.60.2
nameserver 196.3.60.3

ppprc
# !/bin/bash
echo "user xxxxx  password xxxxx" > $HOME/.ppprc
pppd /dev/ttyS0 115200 debug  usepeerdns defaultroute noauth connect '/usr/sbin/chat -v "" at+crm=1 OK "atdt#777" CONNECT' mtu 264

when i ran the script,
the phone LCD indicates
calling ppp date
T 9.6 R9.6
and cut off

Running  tail -s 3 -f /var/log/messages
Jan  3 09:16:28 localhost pppd[3483]: pppd 2.4.1 started by root, uid 0
Jan  3 09:16:29 localhost chat[3484]: send (at+crm=1^M)
Jan  3 09:16:30 localhost chat[3484]: expect (OK)
Jan  3 09:16:30 localhost chat[3484]: at+crm=1^M^M
Jan  3 09:16:30 localhost chat[3484]: OK
Jan  3 09:16:30 localhost chat[3484]:  -- got it
Jan  3 09:16:30 localhost chat[3484]: send (atdt#777^M)
Jan  3 09:16:30 localhost chat[3484]: expect (CONNECT)
Jan  3 09:16:30 localhost chat[3484]: ^M
Jan  3 09:16:30 localhost chat[3484]: atdt#777^M^M
Jan  3 09:16:30 localhost chat[3484]: CONNECT
Jan  3 09:16:30 localhost chat[3484]:  -- got it
Jan  3 09:16:30 localhost pppd[3483]: Serial connection established.
Jan  3 09:16:30 localhost pppd[3483]: Using interface ppp0
Jan  3 09:16:30 localhost pppd[3483]: Connect: ppp0 <--> /dev/ttyS0
Jan  3 09:16:30 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Jan  3 09:16:37 localhost pppd[3483]: Remote message: Illegal user or password.
Jan  3 09:16:37 localhost pppd[3483]: CHAP authentication failed
Jan  3 09:16:37 localhost pppd[3483]: Connection terminated.
Jan  3 09:16:37 localhost pppd[3483]: Hangup (SIGHUP)
Jan  3 09:16:37 localhost pppd[3483]: Exit.

But i still can not connect to the net. But the interface is activated.
Please, i would really appreciate any assistant cause i hate using
anything Microsoft, am a Java developer and a linux frick.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
RE: LSP-3000 CDMA connection problem head way
« Reply #1 on: January 05, 2006, 05:51:46 PM »
u posted in other post that u have solved it already uself !~!

Offline stevepop

  • Linux Noob !
  • *
  • Posts: 9
    • http://www.biblepraise.org
re: Connection with CDMA LSP 3000
« Reply #2 on: November 01, 2006, 08:28:55 AM »
Please I am having the same problem. Was the issue resolved?
I will appreciate if someone can help me out.

Thank you!

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
RE: LSP-3000 CDMA connection problem head way
« Reply #3 on: November 01, 2006, 01:06:35 PM »
Here in this, he is having problem of incorrect username and password ?
What is your problem exactly ?

Offline stevepop

  • Linux Noob !
  • *
  • Posts: 9
    • http://www.biblepraise.org
RE: LSP-3000 CDMA connection problem head way
« Reply #4 on: November 01, 2006, 09:59:04 PM »
I used his steps but /var/log/messages keep giving me the message;
Remote message: Illegal user or password.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
RE: LSP-3000 CDMA connection problem head way
« Reply #5 on: November 07, 2006, 01:54:28 PM »
so .. are you providing correct username and password ?

Offline stevepop

  • Linux Noob !
  • *
  • Posts: 9
    • http://www.biblepraise.org
RE: LSP-3000 CDMA connection problem head way
« Reply #6 on: November 08, 2006, 08:44:59 PM »
Yes, the username and password is correct. i think the problem is the chap authentication. How can i change the authentication to PAP? Or is there something I am not doing right?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
RE: LSP-3000 CDMA connection problem head way
« Reply #7 on: November 09, 2006, 06:49:02 AM »
Do you have "Stupid Mode=1" in your configuration file ?

Also tell us what is inside your
1./etc/ppp/chap-secrets
2./etc/ppp/pap-secrets

Offline stevepop

  • Linux Noob !
  • *
  • Posts: 9
    • http://www.biblepraise.org
RE: LSP-3000 CDMA connection problem head way
« Reply #8 on: November 09, 2006, 12:24:59 PM »
I have Stupid Mode = 1 in my wvdial.conf file

The following is what is in my chap-secrets
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
####### redhat-config-network will overwrite this part!!! (begin) ##########
"18914814@starcomms.com"        "starcomms"     "18914814"
"18914814@starcomms.com"        *       "18914814"
####### redhat-config-network will overwrite this part!!! (end) ############

And my pap-secrets contains the following;

# Secrets for authentication using PAP
# client        server  secret                  IP addresses
####### redhat-config-network will overwrite this part!!! (begin) ##########
"18914814@starcomms.com"        "starcomms"     "18914814"
"18914814@starcomms.com"        *       "18914814"
####### redhat-config-network will overwrite this part!!! (end) ############

Thank you

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
RE: LSP-3000 CDMA connection problem head way
« Reply #9 on: November 09, 2006, 04:48:07 PM »
Stupid Mode = 1
configure wvdial to automatically choose right CHAP or PAP method so I think we don't need to do anything for that.

Now I am still wondering that where is the problem.

For time being you should see this link..

grox.net/doc/linux/howto-OLD-VERSIONS/PPP-HOWTO-html/PPP-HOWTO-13.html

Offline mimoh_mi

  • Linux Noob !
  • *
  • Posts: 8
RE: LSP-3000 CDMA connection problem head way
« Reply #10 on: November 17, 2006, 04:04:42 AM »
@stevepop
Ok, since you are running Redhat, follow the steps on this link. The link I sent to you as private message is for getting starcomms running on Ubuntu. So here is the one for Redhat, any problem post it.
http://www.linuxsolved.com/forums/ftopic1717.html

Offline stevepop

  • Linux Noob !
  • *
  • Posts: 9
    • http://www.biblepraise.org
RE: LSP-3000 CDMA connection problem head way
« Reply #11 on: November 17, 2006, 08:50:48 PM »
Hi mimoh_mi,

I followed the steps in the link you gave. I connect but get disconnected after a few seconds.

I got the following when I executed tail -n5 /var/log/messages;
Nov 17 21:29:50 mobilepraise pppd[3285]: Connect: ppp0 <--> /dev/ttyS0
Nov 17 21:29:57 mobilepraise pppd[3285]: CHAP authentication failed: Illegal user or password.
Nov 17 21:29:58 mobilepraise pppd[3285]: Connection terminated.
Nov 17 21:29:58 mobilepraise pppd[3285]: Hangup (SIGHUP)
Nov 17 21:29:58 mobilepraise pppd[3285]: Exit.

Please let me know how you were able to solve this problem in redhat.
Thanks.

Offline mimoh_mi

  • Linux Noob !
  • *
  • Posts: 8
RE: LSP-3000 CDMA connection problem head way
« Reply #12 on: November 18, 2006, 03:23:32 AM »
@stevepop
Ok, try capital letter S. As in Starcomms.com instead
of starcomms. Had that problem, when I was connecting
my Ubuntu box. Your pass word should be xxxxx@Starcomms.com.
Also, i noticed that CHAP autentication doesn't work with
starcomm, but PAP works. Just capitalise the S first and
let me know how far.

Offline stevepop

  • Linux Noob !
  • *
  • Posts: 9
    • http://www.biblepraise.org
RE: LSP-3000 CDMA connection problem head way
« Reply #13 on: November 18, 2006, 09:53:46 PM »
@mimoh_mi

I did as you said and added upper case S as Starcomms.com but still get the same error message.

See what I have below;

My /var/log/message
Nov 18 21:33:18 mobilepraise pppd[3128]: Connect: ppp0 <--> /dev/ttyS0
Nov 18 21:33:24 mobilepraise pppd[3128]: CHAP authentication failed: Illegal user or password.
Nov 18 21:33:25 mobilepraise pppd[3128]: Connection terminated.
Nov 18 21:33:25 mobilepraise pppd[3128]: Hangup (SIGHUP)
Nov 18 21:33:25 mobilepraise pppd[3128]: Exit.
[root@mobilepraise ~]# tail -n10 /var/log/messages
Nov 18 21:39:00 mobilepraise chat[4501]: ^M
Nov 18 21:39:00 mobilepraise chat[4501]: CONNECT
Nov 18 21:39:00 mobilepraise chat[4501]:  -- got it
Nov 18 21:39:00 mobilepraise pppd[4500]: Serial connection established.
Nov 18 21:39:00 mobilepraise pppd[4500]: Using interface ppp0
Nov 18 21:39:00 mobilepraise pppd[4500]: Connect: ppp0 <--> /dev/ttyS0
Nov 18 21:39:06 mobilepraise pppd[4500]: CHAP authentication failed: Illegal user or password.
Nov 18 21:39:06 mobilepraise pppd[4500]: Connection terminated.
Nov 18 21:39:06 mobilepraise pppd[4500]: Hangup (SIGHUP)
Nov 18 21:39:06 mobilepraise pppd[4500]: Exit.

My wvdial.conf
[Modem0]
Modem = /dev/ttyS0
Baud = 115200
SetVolume = 4
Dial Command = ATDT
Init1 = ATZi
Init2 = AT+CRM=1;$LGPKT=3
Init3 = ATM1L4
FlowControl = CRTSCTS
[Dialer starcomms]
Username = 18914814@Starcomms.com
Password = 18914814
Phone = #777
Stupid Mode = 1
Inherits = Modem0

Offline mimoh_mi

  • Linux Noob !
  • *
  • Posts: 8
RE: LSP-3000 CDMA connection problem head way
« Reply #14 on: November 21, 2006, 01:11:02 AM »
@stevepop
The problem seem to be from the CHAP authentication, starcomms does not support it. So try editing your
/etc/sysconfig/network-scripts/ifcfg-ppp0

DEVICE=ppp0
NAME=starcomms(put your connection name)
MODEMPORT=/dev/ttyS0
LINESPEED=115200
PAPNAME=your Login Name Here
ONBOOT=no
DEFROUTE=yes
DEMAND=yes
IDLETIMEOUT=600

Remember to back up a copy before you edit it. If you still have problems, pls post, as the best way to learn is by doing it over n over again.