Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • Last Modified:

Stupid PPP question??

I recently installed RedHat 5.1. I have a Cirrus Logic 33.6 PNP modem. With X-Windows, I set up a PPP connection to my ISP, it dials up the number, waits a few minutes, then my modem clicks like it disconnected and I can't get a connection. Does anyone know why this is? My friend said it's not my modem because if it was, I wouldn't be able to dial up.
0
cooper14
Asked:
cooper14
1 Solution
 
JYoungmanCommented:
Put
      DEBUG=yes
in /etc/sysconfig/network-scripts/ifcfg-ppp0.
Attempt to dial up again.  Then look in /var/log/messages.

PS: It's "X" or "The X Window System", but not "X Windows".  See "man X" for more information.
0
 
pestilenceCommented:
First of all either if you use x-windows or command prompt only do the following:
First of all make sure you have installed ppp support...then

1) go to /etc/ppp and edit the "options" file there (vi options), here you must add the following lines:
modem /dev/cua1 (cua1 stands for com2 and cua0 for com1)
defaultroute
crtcts
2) now edit the file /etc/resolv.conf to point to the correct nameservers,
for instance
domain ns1.otenet.gr
nameserver ip.address.of.n1.otenet.gr
3) launch "minicom" (did you know that ezppp is also available for Linux, it simulates windows95 dial-up networking and works great for x-windows only)
4)call your isp and hook up to him
5) press ctrl+q
6)answer yes to the question "exit without reseting"
7)run as root:
root#] pppd
8)to make sure do a ifconfig -i and see if there is a device called ppp0
if there is you are ready.
If you are connected and you cant resolve the names of hosts then the problem will be spotted in /etc/resolv.conf file, it means your nameserver entry isn't correct.

0
 
cooper14Author Commented:
Thanks guyz.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now