From owner-freebsd-net Tue Oct 8 7:53:51 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9816B37B401 for ; Tue, 8 Oct 2002 07:53:47 -0700 (PDT) Received: from hotmail.com (oe20.law14.hotmail.com [64.4.20.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 361DC43E4A for ; Tue, 8 Oct 2002 07:53:47 -0700 (PDT) (envelope-from floating_in_space_@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 8 Oct 2002 07:53:46 -0700 X-Originating-IP: [65.92.205.16] From: "Alexis Georges" To: "Damian Gerow" , References: <128392217879.20021008083050@sentex.net> Subject: Re: Sympatico ADSL connection through a hub Date: Tue, 8 Oct 2002 07:53:18 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 08 Oct 2002 14:53:46.0934 (UTC) FILETIME=[81333D60:01C26EDA] Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org thanks for helping damian..i did everything you gave me but it still doesn't seem to work.. here is what i have after doing everything, and typing ifconfig dc0: flags:88c3 mtu 1500 inet6 fe80::2a0:ccff::fee1: 8be5%dc0 prefixlen 64 scopeid 0x1 inet 10.0.1 netmask 0xfffffffc broadcast 10.0.0.3 ether 00:a0:cc:e1:8be5 media: Ethernet 10baseT/UTP status: active tun0: flags=8051 mtu 1500 inet6 fe80:2a0:ccff:fee1: 8be5%tun0 prefixlen 64 scopeid 0x7 opened by PID 54 thats all i get..shouldn't i have an IP address somewhere other than the 10.0.0.1..on windows i used to have 192.168.0.110(it will change since its dynamic) , but it only shows the 10.0.0.1 one..on another computer in the same home network, i got this info: netmask = 255.255.255.0 default gateway = 192.168.0.1 DNS server = 198.235.216.114 and 207.236.176.12 to see if it had worked i tried pinging an address of another computer on the network and it just froze at the first "ping
blahblah 56" (something like taht).. what wrong? thanks again alexis ----- Original Message ----- From: "Damian Gerow" To: "alexis georges" Sent: Tuesday, October 08, 2002 5:30 AM Subject: Re: Sympatico ADSL connection through a hub > Spake alexis georges on 07/10/2002, 16:55:16 +0000: > > This is my first message posted to the list..hehehe > > anyways, i used to have a simple cable connection, which would be > > automatically comfigured by FreeBSD upon installation..I just moved and now > > we have an ADSL connection (from Sympatico).. The connection is not > > configured automatically..so i looked on the web for a solution. I found a > > few pages explaining that i had to recompile my kernel with a few lines such > > as 'options NETGRAPH'..and that i had to write some info into the ppp.conf > > file..i did those things but apparently it doesn't work..I am not sure how > > to work this out..cuz all the solutions i found were the same.. > > So i will explain exactly how i am connected to the internet.. > > > 1. I have an ethernet card connected to a hub. > > 2. This hub is itself connected to the actual modem that we received from > > Sympatico. > > > On Windowsl, the conection wont work unless the connection type is set to > > 10Mb Half-Duplex..so i am guessing it should be the same on FreeBSD.. > > also, the address is supposed to be obtained dynamically..(on windows it > > says the address has been obtrained by DHCP, however, during FreeBSD > > installation, it fails to find the parameter for the connection)does that > > mean that instead of the 10.0.0.1 address teh solution form the web gave me, > > i should put the address that i am using on windows (even though it shouild > > be a dynamic address?) > > Anyways, i would really like to be able to fix this..if anyone could help, > > that would be great..i wanna get rid of windows > > I work for a small ISP in Ontario, and while we don't offer service in > Quebec, and are in competition with Sympatico , here's what I've > done to get my machine up and running on an ADSL link: > > 1) Make sure these are in the kernel: > > pseudo-device tun > options NETGRAPH > options NETGRAPH_ASYNC > options NETGRAPH_ETHER > options NETGRAPH_IFACE > options NETGRAPH_KSOCKET > options NETGRAPH_PPPOE > options NETGRAPH_SOCKET > pseudo-device bpf # (I'm not sure this is needed, but > # it's nice to have.) > > As well as your normal networking code -- LIBMCHAIN if you want it, > RANDOM_IP_ID (really good idea to put in), and your devices. > > 2) Update your sources, build a new world and kernel. Install, > reboot. > 3) In /etc/ppp/ppp.conf, add a new section called 'pppoe' or 'adsl': > > pppoe: > set device PPPoE:rl0: > set speed sync > enable lqr > set lqrperiod 3 > set cd 5 > set dial > set login > set timeout 0 > set authname @sympatico.ca > set authkey > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > disable dns > disable vjcomp > disable ipv6cp > > Note that with Sympatico, you *must* have 'disable vjcomp' in there. > You may want to disable lqr, as it sometimes causes problems with me. > Leave it on initially, see what happens. > > 4) Set the following in /etc/rc.conf: > > # (the -arp is not needed, and your media type may be different -- most > # modems use 10baseT for talking, so I've set mine to that. Looks > # like yours is the same way. > ifconfig_="inet 10.0.0.1 netmask 255.255.255.252 -arp media 10baseT/UTP up" > > ppp_enable="YES" > ppp_mode="ddial" > ppp_profile="pppoe" > ppp_nat="NO" > > And you're good to go. Make sure you reboot, and the link should come > up right away. > > The commandline to bring it up is: 'ppp -quiet -ddial pppoe'. This > will bring up a tun0 interface, that is connected to the internet. > Note that it's the *logical* *tun0* interface that is your gateway to > Sympatico (and the world!), *not* your physical external interface. > > As for the DHCP stuff -- your IP address is dynamically assigned via > PPP, not DHCP. You're talking PPPoE (PPP over Ethernet), not straight > Ethernet, to Sympatico, so DHCP won't work at all. > > Hope this helps... > > - Damian > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message