[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  General Networking Support in Linux  |  Topic: RE: LSP-3000 CDMA connection problem head way
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1] 2
  Print  
Author Topic: RE: LSP-3000 CDMA connection problem head way  (Read 2087 times)
0 Members and 1 Guest are viewing this topic.
mimoh_mi
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« on: January 03, 2006, 03: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.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #1 on: January 05, 2006, 12:51:46 PM »

u posted in other post that u have solved it already uself !~!
Logged
stevepop
Linux Noob !
*
Offline Offline

Posts: 9


View Profile WWW
« Reply #2 on: November 01, 2006, 03: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!
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #3 on: November 01, 2006, 08:06:35 AM »

Here in this, he is having problem of incorrect username and password ?
What is your problem exactly ?
Logged
stevepop
Linux Noob !
*
Offline Offline

Posts: 9


View Profile WWW
« Reply #4 on: November 01, 2006, 04:59:04 PM »

I used his steps but /var/log/messages keep giving me the message;
Remote message: Illegal user or password.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #5 on: November 07, 2006, 08:54:28 AM »

so .. are you providing correct username and password ?
Logged
stevepop
Linux Noob !
*
Offline Offline

Posts: 9


View Profile WWW
« Reply #6 on: November 08, 2006, 03: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?
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #7 on: November 09, 2006, 01: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
Logged
stevepop
Linux Noob !
*
Offline Offline

Posts: 9


View Profile WWW
« Reply #8 on: November 09, 2006, 07:24:59 AM »

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
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #9 on: November 09, 2006, 11:48:07 AM »

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
Logged
mimoh_mi
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« Reply #10 on: November 16, 2006, 11:04:42 PM »

@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
Logged
stevepop
Linux Noob !
*
Offline Offline

Posts: 9


View Profile WWW
« Reply #11 on: November 17, 2006, 03: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.
Logged
mimoh_mi
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« Reply #12 on: November 17, 2006, 10:23:32 PM »

@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.
Logged
stevepop
Linux Noob !
*
Offline Offline

Posts: 9


View Profile WWW
« Reply #13 on: November 18, 2006, 04: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
Logged
mimoh_mi
Linux Noob !
*
Offline Offline

Posts: 8


View Profile
« Reply #14 on: November 20, 2006, 08:11:02 PM »

@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.
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1] 2
  Print  
 
Jump to:  

Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2008, 06:35:59 PM

Login with username, password and session length
Navigation
Recent Discussions
[November 19, 2008, 07:52:49 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]

[November 13, 2008, 03:28:22 AM]
Members
Total Members: 6220
Latest: ahsanjee
Stats
Total Posts: 8268
Total Topics: 2253
Online Today: 13
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 9
Total: 9
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc