May 06, 2024, 03:20:53 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Use reliance CDMA phone as modem  (Read 7082 times)

Offline huuthanh.ng

  • Linux Noob !
  • *
  • Posts: 4
Use reliance CDMA phone as modem
« on: September 06, 2008, 03:23:31 AM »
I follow the tutorial "Use reliance CDMA phone ..." with my desktop PC (Ubuntu 6.10) and CDMA phone JOA L-200. It works well.
But with my laptop Acer Aspire 4315 (Ubuntu 7.10) and same CDMA phone, it don't work.

Modified file /etc/wvdial.conf:

[Modem0]
Modem = /dev/ttyACM0
Baud = 460800
SetVolume=0
Dial Command = ATDT
init1=ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
FlowControl= Hardware (CRTSCTS)
[Dialer reliance]
Username=evntelecom
Password=evntelecom
Phone=#777
Stupid Mode= 1
Inherits = Modem0

After that I run wvdial reliance:

WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT#777
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT#777
WvDial Modem<*1>: CONNECT
WvDial<*1>: Carrier detected.  Starting PPP immediately.
WvDial<Notice>: Starting pppd at Fri Sep  5 15:58:30 2008
WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial<Err>: --> PAP (Password Authentication Protocol) may be flaky.
WvDial<Err>: Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial<Err>: --> CHAP (Challenge Handshake) may be flaky.
WvDial<Notice>: Pid of pppd: 5866
WvDial<*1>: Using interface ppp0
WvDial<*1>: Disconnecting at Fri Sep  5 15:58:36 2008
WvDial<*1>: The PPP daemon has died: Authentication error.
WvDial<*1>: We failed to authenticate ourselves to the peer.
WvDial<*1>: Maybe bad account or password? (exit code = 19)
WvDial<*1>: man pppd explains pppd error codes in more detail.
WvDial<Notice>: I guess that's it for now, exiting
WvDial<Notice>: The PPP daemon has died. (exit code = 19)

Please help!

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Use reliance CDMA phone as modem
« Reply #1 on: September 06, 2008, 12:32:14 PM »
try running it as :
Code: [Select]
sudo wvdial reliance

Offline huuthanh.ng

  • Linux Noob !
  • *
  • Posts: 4
Re: Use reliance CDMA phone as modem
« Reply #2 on: September 07, 2008, 12:31:28 AM »
I delete all in file /etc/wvdial.conf and make new proccess as in your tutorial.

Now the /etc/wvdial.conf:

[Modem0]
Modem = /dev/ttyACM0
Modem Type = USB Modem
ISDN = 0
Baud = 460800
SetVolume=0
Dial Command = ATDT
init1=ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
FlowControl= Hardware (CRTSCTS)
[Dialer reliance]
Username= evntelecom
Password= evntelecom
Phone=#777
Stupid Mode= 1
Inherits = Modem0

Run sudo wvdial reliance:

oem@huuthanh:~$ sudo wvdial reliance
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT#777
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT#777
WvDial Modem<*1>: CONNECT
WvDial<*1>: Carrier detected.  Starting PPP immediately.
WvDial<Notice>: Starting pppd at Sun Sep  7 07:22:50 2008
WvDial<Notice>: Pid of pppd: 6630
WvDial<*1>: Using interface ppp0
WvDial<*1>: pppd: ��[06][08]x�[06][08]
WvDial<*1>: pppd: ��[06][08]x�[06][08]
WvDial<*1>: pppd: ��[06][08]x�[06][08]
WvDial<*1>: pppd: ��[06][08]x�[06][08]
WvDial<*1>: pppd: ��[06][08]x�[06][08]
WvDial<*1>: Disconnecting at Sun Sep  7 07:22:55 2008
WvDial<*1>: The PPP daemon has died: Authentication error.
WvDial<*1>: We failed to authenticate ourselves to the peer.
WvDial<*1>: Maybe bad account or password? (exit code = 19)
WvDial<*1>: man pppd explains pppd error codes in more detail.
WvDial<Notice>: I guess that's it for now, exiting
WvDial<Notice>: The PPP daemon has died. (exit code = 19)
oem@huuthanh:~$

At desktop PC I don't need "sudo". May be Ubuntu on my laptop have problems?

Offline huuthanh.ng

  • Linux Noob !
  • *
  • Posts: 4
Re: Use reliance CDMA phone as modem
« Reply #3 on: September 11, 2008, 12:39:26 PM »
I found!
There is a intergrated modem in laptop. It use interface ppp0. So I have to configure it with the port /dev/modem and other fields. But do not active it.
After that I can connect internet by "wvdial reliance" (I think), or by "wvdial" only, or by "gnome-ppp".