On Mon, 17 Mar 2003, Muli Ben-Yehuda wrote:

> On Mon, Mar 17, 2003 at 10:17:13AM +0200, Yasha Harari wrote:
>
> > also, yes please, if you have a hacked-script that i can/should use, i would
> > appreciate a copy (thanks!). as i am not a linux-pro, i really appreciate
> > any help on this...
> 
> Don't mention it. I want to get it working as well. 

just to repeat my note - i made a _manual_ installation of rp-pppoe, 
followed their instructions exactly, and it worked. the only problem i saw 
was it over-wrote my DNS settings, and eventually i got that solved (i 
like my /etc/resolv.conf file the way i write it, not with software that 
manipulates it). btw, the modem is samsung AHT-E300, not EHT-300.

the most peculear thing in the setup, was that they specifically stated 
that the ethernet interface connecting to the modem be NOT enabled on 
system boot, and not given any IP address. i ran 'ifconfig eth0 down' when 
testing the setup, and after things worked, i disabled it completely in 
redhat's boot scripts. did you try disabling the interface before running 
the 'adsl-start' script?

regarding optoins i've set in /etc/ppp/rp-pppoe.conf, i have:

ETH=eth0
[EMAIL PROTECTED]
DEMAND=no
DNSTYPE=NOCHANGE
PEERDNS=no

# the following two options are probably redundant - they are left from my
# initial 'plays'.
DNS1=192.117.47.4
DNS2=192.117.47.52

DEFAULTROUTE=yes
CONNECT_TIMEOUT=30
CONNECT_POLL=2
ACNAME=
SERVICENAME=
PING="."
CF_BASE=`basename $CONFIG`
PIDFILE="/var/run/$CF_BASE-adsl.pid"
SYNCHRONOUS=no
CLAMPMSS=1412
LCP_INTERVAL=20
LCP_FAILURE=3
PPPOE_TIMEOUT=80

# i run firewalling via my own script - so i didn't want pppoe to mess
# with the firewall's setup.
FIREWALL=NONE

LINUX_PLUGIN=
PPPOE_EXTRA=""

# this option causes pppd to print lots of debug information. on my 
# system, its debug is redirected into /var/log/debug.
PPPD_EXTRA="debug"


note: to make pppd's debug go into /var/log/debug, make sure you have the 
following line in /etc/syslog.conf :

daemon.debug;daemon.notice                              /var/log/debug


finally, in /etc/ppp/options, i have:

lock

# this one is redundant, since it was defined for pppoe topp,
# but its there anyway.
defaultroute

# also probably redundant.
user choo

# important, to avoid having your machine insist on authenticating the 
# remote (server) side, and failing to do so. it could be that pppoe sets
# this option on pppd's command line by itself - but i did not check that.
noauth

# also probably redundant.
debug


finally, in /etc/ppp/pap-secrets, i have the following two lines (one of 
which is probably redundant):

choo    *       password
"[EMAIL PROTECTED]" "Obezeq" "password"


i added the second line before running pppoe - it _could_ be that this 
made [the/a] difference, since the user name defined in 
/etc/ppp/rp-pppoe.conf, is '[EMAIL PROTECTED]', not 'choo'.

-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to