Re: lug-bg: PPPoE client config

2003-08-14 Thread George Danchev
--cut--
   smart-replies.html  .

taka ostavqme syrkazma na strana ;-)

  
 ...   log ,  ,  
 ,  ,   ,  ifconfig eth0,   pppd-to,
 pppoe -A -I eth0, PAD{O,I,T}  


vqrno, zabravih syslog-a:
 
Aug 12 12:57:12 debian pppoe[1083]: PADS: Service-Name: ''
Aug 12 12:58:36 debian pppoe[1101]: PADS: Service-Name: ''
Aug 12 12:59:07 debian pppoe[1101]: Session terminated -- received PADT from 
peer
Aug 12 13:19:55 debian pppoe[1589]: Timeout waiting for PADO packets
...
Aug 12 13:53:10 debian pppoe[1476]: Timeout waiting for PADO packets
Aug 12 14:08:05 debian pppoe[1786]: PADS: Service-Name: ''
Aug 12 14:08:36 debian pppoe[1786]: Session terminated -- received PADT from 
peer
Aug 12 14:09:06 debian pppoe[1806]: Timeout waiting for PADO packets
Aug 12 14:09:27 debian pppoe[1861]: Timeout waiting for PADO packets
Aug 12 15:01:35 debian pppoe[2803]: Timeout waiting for PADO packets

Aug 12 17:46:38 debian pppoe[642]: PADS: Service-Name: ''
Aug 12 17:46:41 debian pppoe[642]: Sent PADT
Aug 12 17:47:06 debian pppoe[683]: PADS: Service-Name: ''
Aug 12 17:47:09 debian pppoe[683]: Sent PADT
Aug 12 17:47:46 debian pppoe[702]: Timeout waiting for PADO packets
Aug 12 17:48:14 debian pppoe[711]: Timeout waiting for PADO packets

(tova ne go razbrah kakvo e) 
v kernel-a imam PPPoE. imam installed ppp, pppoe, pppoeconf
/usr/share/doc/pppoe/ me prasta kym http://www.shoshin.uwaterloo.ca/~mostrows/
da tyrsq Michal's patrched pppd, oba4e nqma nikoj, no ot 
http://www.roaringpenguin.com/pppoe/  izteglih rp-pppoe-3.5.tar.gz (samo 
plugina), i ponezhe iska src na pppd (gornoto), smetnah 4e e naj-dobre da 
polzvam ppp ot cvs.samba.org kydeto ima pppd/plugins/rp-pppoe/. Probah i s 
src na ppp-2.4.1uus-5 kato dobavih rp-pppoe v plugins/. 
Nqkoj da predlozhi drugo patched ppp  ? Qvno v pppd-to e problema.

/etc/ppp/pap-secrets e OK (nqma da go davam)
/etc/ppp/peers/dsl-provider go paste-nah v prednoto msg.
/etc/network/interfaces
auto lo
iface lo inet loopback
(nqmam nuzhda ot nisto, tuka, IP-to go polu4avam ot otsresta, pppoeconf 
naprimer otkriva 4e prez eth0 ima PPPoE server otsresta, iptraf, tcpdump 
pokazvat systo 4e fyr4at paketi prez tozi iface ;-)

/etc/ppp/pppoe.conf (tozi go zabravih;-)
# Ethernet card connected to ADSL modem
ETH='eth0'

# ADSL user name.  You may have to supply @provider.com  Sympatico
# users in Canada do need to include @sympatico.ca
# Sympatico uses PAP authentication.  Make sure /etc/ppp/pap-secrets
# contains the right username/password combination.
# For Magma, use [EMAIL PROTECTED]
[EMAIL PROTECTED]
USER='danchev'

# Bring link up on demand?  Default is to leave link up all the time.
# If you want the link to come up on demand, set DEMAND to a number indicating
# the idle time after which the link is brought down.
DEMAND=no
#DEMAND=300

# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
DNSTYPE=SPECIFY

# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS.  Changed to
# PEERDNS for better Red Hat compatibility
PEERDNS=no

DNS1=IP-na-rabotest-DNS-no-ne-e-tolko-vazhno-sega;-)
DNS2=

# Make the PPPoE connection your default route.  Set to
# DEFAULTROUTE=no if you don't want this.
DEFAULTROUTE=yes

### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT

# How long adsl-start waits for a new PPP interface to appear before
# concluding something went wrong.  If you use 0, then adsl-start
# exits immediately with a successful status and does not wait for the
# link to come up.  Time is in seconds.
#
# WARNING WARNING WARNING:
#
# If you are using rp-pppoe on a physically-inaccessible host, set
# CONNECT_TIMEOUT to 0.  This makes SURE that the machine keeps trying
# to connect forever after adsl-start is called.  Otherwise, it will
# give out after CONNECT_TIMEOUT seconds and will not attempt to
# connect again, making it impossible to reach.
CONNECT_TIMEOUT=30

# How often in seconds adsl-start polls to check if link is up
CONNECT_POLL=2

# Specific desired AC Name
ACNAME=

# Specific desired service name
SERVICENAME=

# Character to echo at each poll.  Use PING= if you don't want
# anything echoed
PING=.

# File where the adsl-connect script writes its process-ID.
# Three files are actually used:
#   $PIDFILE   contains PID of adsl-connect script
#   $PIDFILE.pppoe contains PID of pppoe process
#   $PIDFILE.pppd  contains PID of pppd process
CF_BASE=`basename $CONFIG`
PIDFILE=/var/run/$CF_BASE-adsl.pid

# Do you want to use synchronous PPP?  yes or no.  yes is much
# easier on CPU usage, but may not work for you.  It is safer to use
# no, but you may want to experiment with yes.  yes is generally
# safe on Linux machines with the n_hdlc line discipline; unsafe on others.
SYNCHRONOUS=no

# Do you want to clamp the MSS?  Here's how to decide:
# - If you have only a SINGLE computer connected to the ADSL modem, choose
#   no.
# - If you have a computer acting as a 

Re: lug-bg: PPPoE client config

2003-08-14 Thread Hristo Erinin
,

On Tue, 12 Aug 2003 14:33:35 +0300
George Danchev [EMAIL PROTECTED] wrote:

 Hi
 nqkoj mozhe li da nahvyrlq nabyrzo malko tips za pppoe configuratin otkym 
 client side. Imam pppoe i pppoeconf, vtoriq e za confugiration vis4ko minava 
 OK (otkriva iface), i nakraq kato se opita da napravi vryzka pluva:
 /usr/sbin/pppd: pty option precludes specifying device name
 ppp0: error fetching interface information: Device not found
 

  http://www.roaringpenguin.com/pppoe/how-to-connect.txt:
[quote]
D) pppd complains about (i) unknown option pty or (ii) pty option precludes
   specifying device name

(i) Your pppd is too old.  You need at least 2.3.7.
(ii) Your /etc/ppp/options file is not empty.  Empty it!
[/quote]

? :)

 nqkoj da se sesta kakvo propuskam ;-) ? 10x
 

... http://catb.org/~esr/faqs/smart-questions.html? ;-)))
http://www.google.com/

 !
-- 
Best Regards,
Hristo Erinin

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: PPPoE client config

2003-08-14 Thread George Danchev
On 12 08 2003 15:34, Hristo Erinin wrote:
 ,

 On Tue, 12 Aug 2003 14:33:35 +0300

 George Danchev [EMAIL PROTECTED] wrote:
  Hi
  nqkoj mozhe li da nahvyrlq nabyrzo malko tips za pppoe configuratin otkym
  client side. Imam pppoe i pppoeconf, vtoriq e za confugiration vis4ko
  minava OK (otkriva iface), i nakraq kato se opita da napravi vryzka
  pluva: /usr/sbin/pppd: pty option precludes specifying device name
  ppp0: error fetching interface information: Device not found

   http://www.roaringpenguin.com/pppoe/how-to-connect.txt:
 [quote]
 D) pppd complains about (i) unknown option pty or (ii) pty option
 precludes specifying device name

 (i) Your pppd is too old.  You need at least 2.3.7.
 (ii) Your /etc/ppp/options file is not empty.  Empty it!
 [/quote]

   ... 10x

 ? :)

..., . 

  nqkoj da se sesta kakvo propuskam ;-) ? 10x

 ... http://catb.org/~esr/faqs/smart-questions.html? ;-)))

  smart-replies.html ;-) 

-- 
pub  4096R/0E4BD0AB 2003-03-18 keyserver.bu.edu
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 



A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



RE: lug-bg: PPPoE client config

2003-08-14 Thread
Onzi den imah sushtiq problem:
/usr/sbin/pppd: pty option precludes specifying device name

okaza se pulna prostotiq:
v /etc/ppp/options beshe opisan /dev/modem I suotvetno pppd-to se
opitvashe da polzva nego I plueshe tazi greshka. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Danchev
Sent: Tuesday, August 12, 2003 9:10 PM
To: [EMAIL PROTECTED]
Subject: Re: lug-bg: PPPoE client config

On 12 08 2003 18:54, George Danchev wrote:

samo da kazha kraj .. otkrih si greshkite. PPP over Ether sme (secure;-)

ako namerq vreme ste obadq ;-) 10x vse pak... 

-- 
pub  4096R/0E4BD0AB 2003-03-18 keyserver.bu.edu
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 




A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html




A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



lug-bg: PPPoE client config

2003-08-14 Thread George Danchev
Hi
nqkoj mozhe li da nahvyrlq nabyrzo malko tips za pppoe configuratin otkym 
client side. Imam pppoe i pppoeconf, vtoriq e za confugiration vis4ko minava 
OK (otkriva iface), i nakraq kato se opita da napravi vryzka pluva:
/usr/sbin/pppd: pty option precludes specifying device name
ppp0: error fetching interface information: Device not found

pri 
#pon dsl-provider
/usr/sbin/pppd: pty option precludes specifying device name
no connection.

# pppd call dsl-provider
pppd: pty option precludes specifying device name

cat ppp_on_boot.dsl (run-vam go i manually)
-
#!/bin/sh
#

# The location of the ppp daemon itself (shouldn't need to be changed)
PPPD=/usr/sbin/pppd

# The Ethernet interface the DSL modem is connected to. If you change this,
# you also need to edit the file /etc/ppp/peers/dsl-provider.
INTERFACE=eth0

# Bring the interface up
/sbin/ifconfig $INTERFACE up

$PPPD call dsl-provider
-
cat /etc/ppp/peers/dsl-provider
# Configuration file for PPP, using PPP over Ethernet
# to connect to a DSL provider.
#
# See the manual page pppd(8) for information on all the options.

##
# Section 1
#
# Stuff to configure...

# MUST CHANGE: Uncomment the following line, replacing the [EMAIL PROTECTED]
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the 
password.)
#user [EMAIL PROTECTED]

# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
pty /usr/sbin/pppoe -I eth0 -T 80 -m 1452

# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty /usr/sbin/pppoe -I eth0 -T 80

# An even more conservative version of the previous line, if things
# don't work using -m 1452...
#pty /usr/sbin/pppoe -I eth0 -T 80 -m 1412


# The following two options should work fine for most DSL users.

# Assumes that your IP address is allocated dynamically
# by your DSL provider...
noipdefault
# Comment out if you already have the correct default route installed
defaultroute

##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing.
#
# Disconnect after 300 seconds (5 minutes) of idle time.

#demand
#idle 300

##
# Section 3
#
# You shouldn't need to change these options...

hide-password
lcp-echo-interval 60
lcp-echo-failure 3
# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true
noauth
persist
mtu 1412

user myusername
usepeerdns
-

nqkoj da se sesta kakvo propuskam ;-) ? 10x

-- 
pub  4096R/0E4BD0AB 2003-03-18 keyserver.bu.edu
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 



A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: PPPoE client config

2003-08-14 Thread George Danchev
On 12 08 2003 18:54, George Danchev wrote:

samo da kazha kraj .. otkrih si greshkite. PPP over Ether sme (secure;-) 
ako namerq vreme ste obadq ;-) 10x vse pak... 

-- 
pub  4096R/0E4BD0AB 2003-03-18 keyserver.bu.edu
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 



A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: PPPoE client config

2003-08-14 Thread Hristo Erinin
,

On Tue, 12 Aug 2003 17:17:50 +0300
George Danchev [EMAIL PROTECTED] wrote:

 On 12 08 2003 15:34, Hristo Erinin wrote:
  ,
 
  On Tue, 12 Aug 2003 14:33:35 +0300
 
  George Danchev [EMAIL PROTECTED] wrote:
   Hi
   nqkoj mozhe li da nahvyrlq nabyrzo malko tips za pppoe
   configuratin otkym client side. Imam pppoe i pppoeconf, vtoriq e
   za confugiration vis4ko minava OK (otkriva iface), i nakraq kato
   se opita da napravi vryzka pluva: /usr/sbin/pppd: pty option
   precludes specifying device name ppp0: error fetching interface
   information: Device not found
 
http://www.roaringpenguin.com/pppoe/how-to-connect.txt:
  [quote]
  D) pppd complains about (i) unknown option pty or (ii) pty option
  precludes specifying device name
 
  (i) Your pppd is too old.  You need at least 2.3.7.
  (ii) Your /etc/ppp/options file is not empty.  Empty it!
  [/quote]
 
... 10x
 
  ? :)
 
 ..., . 
 

,   :)

   nqkoj da se sesta kakvo propuskam ;-) ? 10x
 
  ... http://catb.org/~esr/faqs/smart-questions.html? ;-)))
 
   smart-replies.html ;-) 
 

  smart-replies.html  .
 
...   log ,  ,  
,  ,   ,  ifconfig eth0,   pppd-to,
pppoe -A -I eth0, PAD{O,I,T}  

-- 
Best Regards,
Hristo Erinin
System Administrator
Spectrum Net Jsc.
+35929657615


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html