LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-21-2005, 01:59 PM   #1
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
ls -l /etc/ppp


may somebody using please post me the deafault entries of /etc/ppp in Slackware 10 because i mixed pppsetup and kppp, then i deleted the "infected" by pppsetup files, pppscript, options,options.demand,resolve.conf,pap.secrets, and after recreating them I have a problem with DNS. I use dail-up modem and my pc used to aquare the DNS IP automatically from my ISP, but not any more. I think it's a permission problem, so i need the entrys of this directory in a long format. I would preffer this from someone who hasn't executed pppsetup(uses kppp).

Last edited by perfect_circle; 01-21-2005 at 02:00 PM.
 
Old 01-21-2005, 02:05 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I never used pppsetup
Code:
ls -l /etc/ppp
total 40
-rw-------  1 root root   78 2004-02-26 22:36 chap-secrets
-rw-r--r--  1 root root  938 2003-03-02 23:04 firewall-masq
-rw-r--r--  1 root root  836 2003-03-02 23:04 firewall-standalone
-rw-r--r--  1 root root 9975 2004-02-26 22:36 options
-rw-------  1 root root   77 2004-02-26 22:36 pap-secrets
drwxr-xr-x  2 root root   72 2003-03-02 23:05 plugins
-rw-r--r--  1 root root 4562 2003-03-02 23:04 pppoe.conf
-rw-r--r--  1 root root  104 2003-03-02 23:04 pppoe-server-options
 
Old 01-21-2005, 02:10 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: ls -l /etc/ppp

Alternatively you could look on your slackware CD in
the MANIFEST.bz2 file ... it holds ALL ownerships and
permissions for all slackware packages that are shipped
by Pat. ...


Cheers,
Tink
 
Old 01-21-2005, 04:29 PM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Original Poster
Rep: Reputation: 53
Thank you both. I just uninstalled ppp-2.4.2 and reinstalled thit, then I removed all the .OLD and the files that were <name> when a <name>.new existed, and everything is fine, my files have exactly the same size with you . The Manifest file is also very usefull. THANK YOU.

Let me tell you a little story....
I installed slackware 4-5 days ago. I'm using linux for a while (3-4 years), i started using it because i needed it for the univercity (C projects). Till now I 've used suse , redhat and fedora. I was afraid to touch slackware because it's supposed to be difficult. I found out it was the simpliest most efficient and most exciting distro i've ever tried.
I 've got 2 modems, an dail-up 56 and an usb Intracom ISDN netMod(greek company, it's the default modem you get for the ISDN connection from the main greek telephone company). I keep them both because i have from my mother an ISDN free account for 23 hour per week, but this is not enough. Anyway in fc2 the anaconda, the automated setup utility recognized it and the only thing I had to do was to create the ttyACM0 device with: "mknod /dev/usb/ttyACM0 c 166 0" and kppp was able to query the modem.
Today In slackware i loaded the usb-uhci and acm modules, i mounted the usbdevfs which is optional and kppp queried the modem fine, not a big deal. But when i connected to the internet with my mothers connection after 2 minutes and 2 or 3 seconds pppd died (it work fine in those 2 minutes) with an error code 15 or 16 (which is something about echo request and proxyarp). I searched the net and i found out that people with slackware 9.1 and 10 had the same problem with this device (i thing with the same connection) but no one offered a solution. I searched the hole day and nothing came out. Then I started messing around with ppp-setup and you know the story. after clearing some files and deleting some others i came here to ask for help. One of the files i cleared was /etc/ppp/options. Your /etc/ppp/options keefaz as well as mine after the fresh ppp-2.4.2 install is 10K of text. What could be written there? well most of the file is comments but look what I've found:
Quote:
# Add an entry to this system's ARP [Address Resolution Protocol]
# table with the IP address of the peer and the Ethernet address of this
# system.
proxyarp

# If this option is given, pppd will send an LCP echo-request frame to
# the peer every n seconds. Under Linux, the echo-request is sent when
# no packets have been received from the peer for n seconds. Normally
# the peer should respond to the echo-request by sending an echo-reply.
# This option can be used with the lcp-echo-failure option to detect
# that the peer is no longer connected.
lcp-echo-interval 30

# If this option is given, pppd will presume the peer to be dead if n
# LCP echo-requests are sent without receiving a valid LCP echo-reply.
# If this happens, pppd will terminate the connection. Use of this
# option requires a non-zero value for the lcp-echo-interval parameter.
# This option can be used to enable pppd to terminate after the physical
# connection has been broken (e.g., the modem has hung up) in
# situations where no hardware modem control lines are available.
lcp-echo-failure 4
Well 4 times 30seconds is 2 minutes!!!
in fedora this file contains only the word "lock"
I think I want to cry out of joy.

Last edited by perfect_circle; 01-21-2005 at 04:32 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 05:01 AM
Ppp+ 09kevin77 Linux - Security 1 05-02-2005 04:55 PM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 08:49 PM
Ppp? petercool Linux - Software 3 06-30-2003 03:54 PM
ppp* Cichlid Linux - Distributions 1 01-11-2002 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:07 PM.

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