Date: Tue, 24 Oct 2000 17:57:52 -0500 From: "Zaitsau, Andrei" <AZaitsau@panasonicfa.com> To: "'freebsd-newbies@freebsd.org'" <freebsd-newbies@freebsd.org> Subject: If someone is interested in configuring ADSL under FreeBSD. Message-ID: <054F7DAA9E54D311AD090008C74CE9BD01766CCA@exchange.panasonicfa.com>
next in thread | raw e-mail | index | archive | help
From the same source... If someone is interested... Well Here is one more story how did I configure my ADSL under FreeBSD. It took me about 2 months to figure out how to configure ADSL under FreeBSD. I have very little knowledge of UNIX, so I was looking some support from my ISP (Ameritech). But they told me to configure it myself, because they do not have support for FreeBSD. Oh, well I started searching the web. But the first thing I noticed there were a lot of people complaining about PPPoE, and to say truth it scared me. I thought, oh my God how I would be able ever configure it, I do not know anything about UNIX...:( But piece by piece, I collected different information from different sources. But finally end up by FreeBSD mailing list where I found all the answers for my questions. And what do you think? It worked!!! You should see me jumping in the room :) Finally ,if some one is interested how to configure ADSL (well all this steps worked for me) read e-mail further. A few things I would like to add. I don't want to play flaming game about Linux VS. FreeBSD all I want to say is: 1) I was not able to configure ADSL under any of Distribution of Linux.(even after I installed it on FreeBSD 3.4) 2)I was not able to install it after FreeBSD 3.5 (it gives me NETGRAPH errors but it could be my fault, I have no Idea what is NETGRAPH ) 3)The configuration of PPPoE that provided in FreeBSD Handbook(www.freebsd.org) did not work in my case. And once Again I would like to say Thanks to all FreeBSD mailing Lists. ######### STEP 1 ############# # Kernel Configuration: # You need to add those 3 lines in your kernel and compile it. # In my case It was a copy of LINT ' /usr/src/sys/i386/conf/ -kernel directory # Using vi editor I added those 3lines: options NETGRAPH options NERGRAPH_PPPOE options NETGRAPH_SOCKET # Afterwards you need to compile it # /usr/sbin/config -g 'Kernel Name' # cd ../../compile/MORPH # make depend # make # make install # shutdown -r now ######## STEP 2 ################ # Please Notice: # Before default: & pppoe: do not put space !!!! # Put ONE SPACE BEFORE ANY OTHER OPTION !!! # EDIT /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command nat enable yes nat same_ports yes nat same_sockets yes set redial 15 28800 set reconnect 15 28800 pppoe: set device PPPoE:pn0: # Device name in my case pn0 set mru 1492 set mtu 1492 set speed sync set cd 5 set dial set login set timeout 0 set authname login-name # Put Your Log In here set authkey password # Put Your Password in here set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255 0 0.0.0.0 add default HISADDR enable dns ###### STEP 3 (OPTION I) ################## # EDIT /etc/rc.conf network_interfaces="auto" ifconfig_pn0=" inet 10.0.0.1 netmask 255.255.255.0 -arp up" ppp_enable="YES" ppp_mode="background" ppp_profile="pppoe" ###### STEP 3 (OPTION II) ################## # Or, you can start connection manualy # Type PPP # You Should get something like this # ppp ON> # Type dial pppoe # You should get something like: # Ppp ON> # PPp ON> # PPP ON> # LAST LINE IN CAPITALS, IT MEANS YOU ARE CONNECTED TO ISP BY xDSL To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?054F7DAA9E54D311AD090008C74CE9BD01766CCA>