Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Redhat 4.01, ppp, and ISP connectivity

Posted on 1997-06-03
2
272 Views
Last Modified: 2010-03-17
To whoever can answer:
Last summer, running Slackware 2.*, with kernel 1.2.1, I had *no* trouble connecting to my ISP through linux.  This year is different however.  I have tried everything, but I can't get pppd to connect when my ISP begins sending PPP packets after a login.  It just spews packets for a while (my isp, that is) and then drops carrier on me.  Can anyone help?  I've tried as myself, as root, and tried a lot of different options (silent, passive crtscts, etc) to get it to go.  Also, my ISP uses no authentication on their side, and my options file does exist in /etc/ppp/, like what was suggested to me.  Thanks,
0
Comment
Question by:mwmaurer
2 Comments
 
LVL 1

Accepted Solution

by:
cgreenup earned 100 total points
ID: 1584765
Since you're using redhat, you can use 'netcfg'.  It can be found in 'control-panel' or invoked directly.  It will allow you to set up everything you need to connect (except the link to /dev/modem which you must already have).  Simply add a ppp interface, a route for that interface, and a name server.  Then you should be able to "activate" that interface and let it dial on in.  Plus, it's nice to look at and easy to use. :)

The scripts that netcfg uses, are in /etc/sysconfig/network-scripts, if you don't use X-windows.  A file will be set up for each interface called ifcfg-ppp0 (or ifcfg-eth0 or ifcfg-ppp1, etc.).  You then invoke ifup-ppp with the interface as an argument to dial:

bash $ ifup-ppp ifcfg-ppp0

This will handle ppp for you, redial if disconnected, etc.  

bash $ ifdown-ppp ifcfg-ppp0'

      will then disconnect ppp0.

I think that covers most of the standard stuff :/
Keep me posted.

chrisg@gibson.gibson.com
0
 

Author Comment

by:mwmaurer
ID: 1584766
Thanks a lot!
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question