LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-13-2002, 02:33 AM   #1
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Rep: Reputation: 15
RH PPP Dialer


Hello,

I have problems regarding the red hat's ppp dialer. It can't connect with the remote machine. I've tried to use the debug mode of the dial up configuration and it worked fine. But when I'm using the ppp dialer, it does't even produce the dialing or handshaking sound of the modem.
Is there something I have to configure?

Thanks!
 
Old 08-13-2002, 04:01 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
The debug script bypasses the normal startup scripts.

Does ' ifup ppp0 ' produce any result?

And, what's in your ' /etc/sysconfig/network-scripts/ifcfg-ppp0 ' file?

Regards,
Peter
 
Old 08-13-2002, 04:32 AM   #3
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Original Poster
Rep: Reputation: 15
hello peter,

[root@mail logs]# ifup ppp0
Failed to activate ppp0 with error 6

And I looked up for the /etc/sysconfig/network-scripts/ifcfg-ppp0 and has this:

DEVICE=ppp0
NAME=Zoe
WVDIALSECT=Zoe
MODEMPORT=/dev/ttyS0
LINESPEED=38400
PAPNAME=jones
USERCTL=true
ONBOOT=no
PERSIST=no

Is there something i have to change?
 
Old 08-13-2002, 04:57 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Mine has much more...
Try this for a start.

USERCTL=yes
NAME=Zoe
DEVICE=ppp0
TYPE=Modem
ONBOOT=no
LINESPEED=115200
MODEMPORT=/dev/ttyS0
DEMAND=no
DEFROUTE=yes
PERSIST=no
PAPNAME=jones
WVDIALSECT=Zoe
MODEMNAME=Modem0
PEERDNS=yes

Type 'man pppd' and just also check the 'USERCTL=' and see if yours wants a 'true' or a 'yes'.

Regards,
Peter
 
Old 08-13-2002, 05:10 AM   #5
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Just checked the error code.
6 means the serial port could not be locked.

Try
ps -aux | grep ppd
and see if there is a pppd still running.
If so, find the pid number and type ' kill -9 xxxx '

This will prevent anyone from using the port.

Regards,
Peter
 
Old 08-13-2002, 05:55 AM   #6
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Original Poster
Rep: Reputation: 15
hi peter,

I have replaced the ifcp.... with the one you have sent. But still got the same result. And there where no pppd running. When I use the redhat ppp dialer, it says "Failed to activate interface."

ty
 
Old 08-13-2002, 07:43 AM   #7
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok,
time to dive deeper...

In a maximised terminal screen type ' tail -f /var.log/messages '
In a new smaller terminal screen type 'ifup ppp0 '

Watch the log screen fill up with data and find the failure message.
We'll need that to proceed.

Regards,
Peter
 
Old 08-13-2002, 07:46 AM   #8
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Whoops, typo

tail -f /var/log/messages

;o
 
Old 08-13-2002, 08:52 PM   #9
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Original Poster
Rep: Reputation: 15
hello,

Nothing was appended on /var/log/messages

 
Old 08-14-2002, 02:44 AM   #10
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok, I'm surprised now...

Which Version of RH are you using, and Gnome or KDE?

Rgds,
Peter
 
Old 08-15-2002, 01:55 AM   #11
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Original Poster
Rep: Reputation: 15
I am using RH 7.1 Gnome.
 
Old 08-15-2002, 11:08 PM   #12
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 31
WVdial is better

Rather than battling with RedHat PPP dialer, why not try WVdial?
 
Old 08-19-2002, 01:26 AM   #13
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Original Poster
Rep: Reputation: 15
I think that the PPP dialer also uses the WVdial.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ppp dialer halobungie Linux - Newbie 1 08-13-2003 01:57 AM
PPP dialer in rh 8 juby Linux - Distributions 2 12-22-2002 06:39 PM
rh/ppp dialer problem in redhat 7.2 kraven morehead Linux - Networking 1 02-09-2002 01:27 AM
Red Hat ppp Dialer (rp3) marlaina1 Linux - General 3 07-26-2001 11:47 PM
RH PPP Dialer Fried Linux - General 3 07-20-2001 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration