setting up adsl under linux: (from memory, hence missing some details)


get/install rp-pppoe (debian package is just "pppoe").

bring an ethernet card up. you don't have to give it an IP (ie: just
run "ifconfig eth0 up").

setup your pppd command line, ppp/options, or ppp/peers/provder
(depending on how you want to do it. debian: use the already-provided
/etc/ppp/peers/dsl-provider) to include at least:

 mtu 1492
 mru 1492       (another telstra bug: they don't negotiate this correctly)
 noauth
 pty "rp-pppoe -something" (don't remember exact command - see docs)
 user <your login>
 debug          (at least until you get things working)

in /etc/ppp/chap-secrets: (*chap*, not pap like the pppoe docs say)
<your login> * <your password>

start it up. check the logs for whether the chap authentication
worked. you'll see them "challenge" you, then you respond. send pppd a
SIGUSR1 to turn debugging off once it works, else you'll fill your
logs with echo-requests.

hook this startup into whatever your distribution provides for starting
network interfaces. in debian, this is /etc/network/interfaces
("pre-hook" comes in really useful for the "ifconfig eth0 up" part)


there are more tricks to getting masquerading to work (again, due to a
telstra bug). the rp-pppoe -m option is your friend.


if you still can't get it to work, i'll grab my exact files from work
and do a swankier writeup (and also a debian-specific one, since its
really easy if you do it "the debian way")

-- 
 - Gus


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to