lug-bg: PPPoE client config
- Subject: lug-bg: PPPoE client config
- From: George Danchev <danchev@xxxxxxxxx>
- Date: Tue, 12 Aug 2003 14:33:35 +0300
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 user@xxxxxxxxxxxx
# 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 myusername@xxxxxxxxxxxxxx
# 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
============================================================================
|