From owner-freebsd-isp@FreeBSD.ORG Sun Mar 19 09:47:49 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6129B16A400 for ; Sun, 19 Mar 2006 09:47:49 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6909F43D46 for ; Sun, 19 Mar 2006 09:47:48 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.60 #0 (FreeBSD 4.11-STABLE)) id 1FKuVl-000NHV-2j by authid for ; Sun, 19 Mar 2006 12:47:45 +0300 Date: Sun, 19 Mar 2006 12:47:45 +0300 From: Odhiambo Washington To: freebsd-isp@freebsd.org Message-ID: <20060319094745.GA82251@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-isp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.11 (2005-09-15) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.11 Subject: PPPoE Setup - problem sending out traffic X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 09:47:49 -0000 Hello techies, I need a bit of hand-holding here ..... I am enquiring to know if anyone has setup a PPPoE service successfully, using the WARTA method, which I have read 4x, together with other howtos (handbook, etc) and now trying to adopt. I am starting out using just what it has and only changing the small bits that are specific to my case in an attempt at proof of concept. 1. Using ppp.secret, I am able to connect, but I cannot transfer any traffic. I cannot reach the outside world. I am assigning public IPs to the pppoe clients. I believe this is no sin. 2. With RADIUS enabled, I get the following in my ppp.log: Reply-Message "Check item failed." And thus authentication fails for my tests, but perhaps that is a RADIUS-centric problem so I will leave it pending for now. Let me concentrate on public IPs and the ability to allow the pppoe client access to the internet. My PPPoE concentrator (server) is a FreeBSD 5.5-PRERELEASE box. It has two interfaces. fxp0 has a public IP, a.b.64.58. xl0, the interface facing the pppoe clients also has a public IP, which is a.b.73.98 In my rc.conf, defaultrouter is a.b.73.97 My ppp.conf is like this: default: set log Chat Command Phase #turn on some logging. See man ppp.conf for info enable pap #turn on chap and pap accounting allow mode direct #turn on ppp bridging disable ipv6cp #we don't use ipv6, don't want the errors set mru 1472 #set mru below 1500 (PPPoE MTU issue) set mtu 1472 #set mtu below 1500 (PPPoE MTU issue) set ifaddr a.b.73.97 a.b.73.99-a.b.73.102 255.255.255.248 #Specify my wifi gateway IP as well as #DHCP pool range #set radius /etc/radius.conf #turn on radius auth and use this file set dns a.b.c.4 a.b.c.2 #our dns servers accept dns #turn on dns cacheing/forwarding My rc.conf has these: defaultrouter is a.b.73.97 Testing using ping -S a.b.73.98 to a.b.73.97 (which is a cisco router) works fine. A test using ping or traceroute from a pppoe client (Windows XP) does not work, and the client cannot access any IP services. ipfw is derived from the one in the WARTA document without changes. Should I suspect the ipfw, or should I suspect the configuration in my PPPoE server? My question is this: Should the ip addresses being assigned above be able to work? They are public IPs. If yes, then what could I be missing. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Goldenstern's Rules: (1) Always hire a rich attorney (2) Never buy from a rich salesman. From owner-freebsd-isp@FreeBSD.ORG Mon Mar 20 08:19:39 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBD9E16A400 for ; Mon, 20 Mar 2006 08:19:39 +0000 (UTC) (envelope-from vandj@securenet.net) Received: from ms.securenet.net (ms.securenet.net [205.236.147.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44D2743D46 for ; Mon, 20 Mar 2006 08:19:39 +0000 (GMT) (envelope-from vandj@securenet.net) Received: from mppd (localhost [127.0.0.1]) by localhost.securenet.net (Postfix) with SMTP id 87F4C15EC87 for ; Mon, 20 Mar 2006 03:19:28 -0500 (EST) Received: from Notebook.securenet.net (office.securenet.net [205.236.147.3]) by ms.securenet.net (Postfix) with ESMTP id 5579515EC1E for ; Mon, 20 Mar 2006 03:19:27 -0500 (EST) Message-Id: <7.0.1.0.2.20060320031708.03323008@securenet.net> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 20 Mar 2006 03:19:25 -0500 To: freebsd-isp@freebsd.org From: "Jean M. Vandette" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: RAE MPP/ClamAV http://www.messagepartners.com X-Scanned-By: This message was scanned by MPP v.2.2 F-Prot Clamav SpamAssassin X-Spam-Score: -4.10 X-Scanned-By: RAE MPP/Spamassassin http://www.messagepartners.com Subject: News Feed(s) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 08:19:39 -0000 Greetings all We are looking for a news feed peering partner, or partners we lost a couple of feeds recently and are looking to replace them. Regards Jean M. Vandette **John M. Vandette, Consultant vandj@securenet.net** **SecureNet Information Services Inc. Internet Providers** **100 Alexis Nihon Blvd #283 St. Laurent, Quebec, Canada** **"Who does BSD Unix....?" "We do Chucky... We do..."** From owner-freebsd-isp@FreeBSD.ORG Mon Mar 20 17:58:45 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D6E016A401 for ; Mon, 20 Mar 2006 17:58:45 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD0643D72 for ; Mon, 20 Mar 2006 17:58:42 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.60 #0 (FreeBSD 4.11-STABLE)) id 1FLOeK-0002be-CJ by authid for ; Mon, 20 Mar 2006 20:58:36 +0300 Date: Mon, 20 Mar 2006 20:58:36 +0300 From: Odhiambo Washington To: freebsd-isp@freebsd.org Message-ID: <20060320175836.GB1195@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-isp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.11 (2005-09-15) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.11 Subject: Apache 2.{1|2} with mod_authn_pop3 compilation X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 17:58:45 -0000 Hello experts, I have sent this very Q to apache list with no response. Has anyone any experience/experimented with mod_authn_pop3? I have installed Apache 2.2 for the purpose of testing mod_authn_pop3. I have downloaded a single file, mod_authn_pop3.c, but in the life of me today, I am unable to figure out how to compile this and use it! I though it would be easy: gcc -o mod_authn_pop3.so mod_authn_pop3.c I now realize there must be something I am missing! Is anyone using mod_authn_pop3 with Apache 2.1 or 2.2. How did you compile the module? Where did you get the source? Thanks for any insights. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ OK, so you're a Ph.D. Just don't touch anything. From owner-freebsd-isp@FreeBSD.ORG Mon Mar 20 18:12:39 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 532E716A429 for ; Mon, 20 Mar 2006 18:12:39 +0000 (UTC) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from mail1.cil.se (mail1.cil.se [217.197.56.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941D143D66 for ; Mon, 20 Mar 2006 18:12:37 +0000 (GMT) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from [192.168.98.245] ([192.168.98.245]) by mail1.cil.se with Microsoft SMTPSVC(6.0.3790.0); Mon, 20 Mar 2006 19:12:35 +0100 Message-ID: <441EF092.5070804@ide.resurscentrum.se> Date: Mon, 20 Mar 2006 19:12:34 +0100 From: Jon Otterholm User-Agent: Thunderbird 1.5 (X11/20060204) MIME-Version: 1.0 To: freebsd-isp@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Mar 2006 18:12:35.0602 (UTC) FILETIME=[DD50C720:01C64C49] Subject: PPTP VPN X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 18:12:39 -0000 Hi. I have a router running 6.0-RELEASE with a bunch of customers accessing the internet and and other nets. I want to offer them services so that they can access their own network from Internet running PPTP VPN. How is this best accomplished? How can I isolate them to their own network? There are a bunch of guides out there on how to run FreeBSD as a PTPP VPN server but I haven't found any that gives me what I want - not even a hint. /Jon From owner-freebsd-isp@FreeBSD.ORG Tue Mar 21 05:13:46 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C161216A41F for ; Tue, 21 Mar 2006 05:13:46 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 538DF43D46 for ; Tue, 21 Mar 2006 05:13:46 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 5316662CB00; Tue, 21 Mar 2006 01:13:45 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65261-06; Tue, 21 Mar 2006 01:13:45 -0400 (AST) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id E466262CAFE; Tue, 21 Mar 2006 01:13:44 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id EAFC05CEA9; Tue, 21 Mar 2006 01:13:43 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id E4D8A5CEA5; Tue, 21 Mar 2006 01:13:43 -0400 (AST) Date: Tue, 21 Mar 2006 01:13:43 -0400 (AST) From: "Marc G. Fournier" To: "Jean M. Vandette" In-Reply-To: <7.0.1.0.2.20060320031708.03323008@securenet.net> Message-ID: <20060321011315.B1178@ganymede.hub.org> References: <7.0.1.0.2.20060320031708.03323008@securenet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org Cc: freebsd-isp@freebsd.org Subject: Re: News Feed(s) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 05:13:46 -0000 We do partial feeds, if you are interested, email news@hub.org ... On Mon, 20 Mar 2006, Jean M. Vandette wrote: > Greetings all > > We are looking for a news feed peering partner, or partners > we lost a couple of feeds recently and are looking to replace them. > > Regards > > Jean M. Vandette > > > **John M. Vandette, Consultant vandj@securenet.net** > **SecureNet Information Services Inc. Internet Providers** > **100 Alexis Nihon Blvd #283 St. Laurent, Quebec, Canada** > **"Who does BSD Unix....?" "We do Chucky... We do..."** > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 From owner-freebsd-isp@FreeBSD.ORG Tue Mar 21 11:35:21 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 119A716A401 for ; Tue, 21 Mar 2006 11:35:21 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mail.yazzy.net (mail.yazzy.net [217.8.140.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE6E43D49 for ; Tue, 21 Mar 2006 11:35:20 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from [80.187.155.23] (helo=lapdance.yazzy.net) by mail.yazzy.net with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1FLf8v-0000Dd-3r; Tue, 21 Mar 2006 12:35:17 +0100 Date: Tue, 21 Mar 2006 11:35:09 +0000 From: Marcin Jessa To: Jon Otterholm Message-Id: <20060321113509.8579b129.lists@yazzy.org> In-Reply-To: <441EF092.5070804@ide.resurscentrum.se> References: <441EF092.5070804@ide.resurscentrum.se> Organization: YazzY.org X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) Cc: freebsd-isp@freebsd.org Subject: Re: PPTP VPN X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 11:35:21 -0000 On Mon, 20 Mar 2006 19:12:34 +0100 Jon Otterholm wrote: > Hi. > > I have a router running 6.0-RELEASE with a bunch of customers accessing > the internet and and other nets. I want to offer them services so that > they can access their own network from Internet running PPTP VPN. How is > this best accomplished? How can I isolate them to their own network? I am not sure if this can be done. First of all each of them would need to have a PPTP connection from their homes to your server. Then you would need to add static routes for their home networks. Each network of the home users would need to be on a different range. To be able do disallow one user to access network of the others you would propably have to segment your network at work possibly with multiple VLANs or allow your users to access the outside only with their own VPN connection to your VPN router/gateway. There you would add custom rules for each of the networks/IPs of the VPN on both sides. Cheers, Marcin From owner-freebsd-isp@FreeBSD.ORG Tue Mar 21 18:24:34 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E71BB16A401 for ; Tue, 21 Mar 2006 18:24:34 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78F743D46 for ; Tue, 21 Mar 2006 18:24:23 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k2LIOMJq032907; Tue, 21 Mar 2006 12:24:23 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <442044D6.5010207@centtech.com> Date: Tue, 21 Mar 2006 12:24:22 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Andrew McNaughton References: <20060316145215.Y18985@a2.scoop.co.nz> <4418E5B4.1010903@centtech.com> <441ACD4E.6080305@centtech.com> <20060318044213.F18985@a2.scoop.co.nz> <441ADD77.1040501@centtech.com> <20060318061814.A18985@a2.scoop.co.nz> In-Reply-To: <20060318061814.A18985@a2.scoop.co.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1347/Tue Mar 21 10:35:25 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: FreeBSD-ISP List Subject: Re: experience with dell DRAC 4? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 18:24:35 -0000 Andrew McNaughton wrote: > On Fri, 17 Mar 2006, Eric Anderson wrote: > >> The least amount of setup needed is to configure the DRAC's IP >> information, and of course cabling it up. Once that's done, you can >> do everything else remotely (what I did). You can ssh into the DRAC >> (default u/pw: admin/calvin), and do lots of things. If you have >> console redirection enabled in the BIOS, you can ssh to the DRAC, >> connect to the console, and use it to do lots of stuff. I usually >> use the console redirection feature in the DRAC web console - it >> works great with FreeBSD 6.x with jre 1.5 installed, and gives you >> the actual video/kb/mouse console as if you were in front of the >> machine, great for fixing crashed machines, debugging, etc. >> >> Now, I just need to get a remote-power-cycling script going on >> FreeBSD to reboot a machine automatically.. > > I gather the DRAC does ipmi as well as console access. If so, then > ipmitool makes it easy to script this. eg something like: > > ipmitool -H -U user -f chassis power cycle There is IPMI support - but I have to admit, I'm not sure how to use it. There's a config area for IP information, but I'm not certain where there's a physical connection to connect it through - unless I'm supposed to use the same IP info as the DRAC (they are different configuration areas). Either way, I haven't been successful with it yet.. If anyone is currently using IPMI on Dell servers with FreeBSD, I'd love to hear details.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-isp@FreeBSD.ORG Tue Mar 21 18:29:19 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34FF16A400 for ; Tue, 21 Mar 2006 18:29:18 +0000 (UTC) (envelope-from brad@shockwebhost.com) Received: from mail.shockwebhost.com (mail.shockwebhost.com [66.235.234.163]) by mx1.FreeBSD.org (Postfix) with SMTP id 947A143D46 for ; Tue, 21 Mar 2006 18:29:18 +0000 (GMT) (envelope-from brad@shockwebhost.com) Received: (qmail 94563 invoked by uid 399); 21 Mar 2006 18:29:18 -0000 Received: from unknown (HELO 337vdub.localdomain) (24.251.150.76) by mail.shockwebhost.com with SMTP; 21 Mar 2006 18:29:18 -0000 From: Brad Bendy Organization: Shock Webhosting, LLC. To: freebsd-isp@freebsd.org Date: Tue, 21 Mar 2006 11:29:15 -0700 User-Agent: KMail/1.6.2 References: <20060316145215.Y18985@a2.scoop.co.nz> <20060318061814.A18985@a2.scoop.co.nz> <442044D6.5010207@centtech.com> In-Reply-To: <442044D6.5010207@centtech.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200603211129.15368.brad@shockwebhost.com> Subject: Re: experience with dell DRAC 4? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: brad@shockwebhost.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 18:29:19 -0000 IPMI ties into NIC #1, the IP is set in the BIOS of the server, not the DRAC. Just make sure the IP is different then the IP that FreeBSD is using for the NIC itself, otherwise you will have lots of issue. I wrote this script so I can easily reboot/power cycle from my Blackberry with MobileSSH... #!/bin/sh echo "Valid options are: status, cycle" echo "Enter servername then command" read servername command /usr/local/bin/ipmitool -I lan -H $servername -U root -P mslkyocm chassis power $command exit 0 Then use something like: remote_reboot mysql01 cycle and wa la, your machine is being power cycled, just rememebr that the hostnames are in /etc/hosts for this to work. Hope this helps Brad On Tuesday 21 March 2006 11:24, Eric Anderson wrote: > Andrew McNaughton wrote: > > On Fri, 17 Mar 2006, Eric Anderson wrote: > >> The least amount of setup needed is to configure the DRAC's IP > >> information, and of course cabling it up. Once that's done, you can > >> do everything else remotely (what I did). You can ssh into the DRAC > >> (default u/pw: admin/calvin), and do lots of things. If you have > >> console redirection enabled in the BIOS, you can ssh to the DRAC, > >> connect to the console, and use it to do lots of stuff. I usually > >> use the console redirection feature in the DRAC web console - it > >> works great with FreeBSD 6.x with jre 1.5 installed, and gives you > >> the actual video/kb/mouse console as if you were in front of the > >> machine, great for fixing crashed machines, debugging, etc. > >> > >> Now, I just need to get a remote-power-cycling script going on > >> FreeBSD to reboot a machine automatically.. > > > > I gather the DRAC does ipmi as well as console access. If so, then > > ipmitool makes it easy to script this. eg something like: > > > > ipmitool -H -U user -f chassis power cycle > > There is IPMI support - but I have to admit, I'm not sure how to use > it. There's a config area for IP information, but I'm not certain where > there's a physical connection to connect it through - unless I'm > supposed to use the same IP info as the DRAC (they are different > configuration areas). Either way, I haven't been successful with it yet.. > > If anyone is currently using IPMI on Dell servers with FreeBSD, I'd love > to hear details.. > > Eric -- Thank You Brad Bendy Shock Webhosting, LLC. http://www.shockwebhost.com 602-550-4004 From owner-freebsd-isp@FreeBSD.ORG Wed Mar 22 12:35:42 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B31116A41F for ; Wed, 22 Mar 2006 12:35:42 +0000 (UTC) (envelope-from lannygodsey@yahoo.com) Received: from web33313.mail.mud.yahoo.com (web33313.mail.mud.yahoo.com [68.142.206.128]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F92C43D46 for ; Wed, 22 Mar 2006 12:35:42 +0000 (GMT) (envelope-from lannygodsey@yahoo.com) Received: (qmail 55065 invoked by uid 60001); 22 Mar 2006 12:35:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QfDkWEN7JA2xsLTwZJ9nhRZmoP6aqfsE78WK/ZP+CkBD0r4AtxWM18NWH8/ftqXPEwAW3nR7TYuG6cLOue73xyhAVqj8YJe1BzOePPsAvuDrGyF4EVnZtRflkJzLD1Zuv5CS/SMbAn58G7r2YK39sRnvB+k4mpBQ7oj+qFKW/1k= ; Message-ID: <20060322123541.55063.qmail@web33313.mail.mud.yahoo.com> Received: from [24.58.65.110] by web33313.mail.mud.yahoo.com via HTTP; Wed, 22 Mar 2006 04:35:41 PST Date: Wed, 22 Mar 2006 04:35:41 -0800 (PST) From: "L. Jason Godsey" To: freebsd-isp@freebsd.org In-Reply-To: <44185E23.1090809@wilkshire.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: MySQL Clustering X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lannygodsey@yahoo.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 12:35:42 -0000 The following solves replication breaking over the same auto int race condition. This can happen because of fast inserts from multiple hosts connected to multiple back end servers (8 in my case), or because of disconnected operation. The way I solved this in the past was using composite keys. Instead of just the auto integer field, I also used a server_id field. Prior to inserting anything into this database, issue the query set @server_id=@@server_id;, reuse the db connection for the insert. Sometimes you can use something like: $query = "set @server_id=@@server_id; insert into....."; Don't skip the seemingly redundant, @server_id=@@ bit and go with insert into VALUES (@@server_id)... then each server doing the replication will use it's own server_id which isn't what you want. create table users ( id int auto_increment, server_id int, login varchar(32), pass varchar(32), primary key (id,server_id) ); create unique index _i_users_login on users (login); mysql> set @server_id=@@server_id; Query OK, 0 rows affected (0.00 sec) mysql> insert into users (server_id, login, pass) values (@server_id, 'lanny', 'examples'); Query OK, 1 row affected (0.00 sec) mysql> select * from users; +----+-----------+-------+----------+ | id | server_id | login | pass | +----+-----------+-------+----------+ | 1 | 2 | lanny | examples | +----+-----------+-------+----------+ 1 row in set (0.00 sec) mysql> set @server_id=32; insert into users (server_id, login, pass) values (@server_id, 'lanny3', 'examples'); Query OK, 0 rows affected (0.00 sec) Query OK, 1 row affected (0.00 sec) mysql> select * from users; +----+-----------+--------+----------+ | id | server_id | login | pass | +----+-----------+--------+----------+ | 1 | 2 | lanny | examples | | 2 | 2 | lanny2 | examples | | 3 | 32 | lanny3 | examples | +----+-----------+--------+----------+ --- Cody Baker wrote: > If you're database is simply read only then the load balanced > situation > should work fine. If your database is read/write then your load > balancer could cause you problems under certain circumstances. If > your > updates are not time critical then it should be fine. If, however, > your > databases are used for a time critical updates (ex. session data for > a > web page) then it's important that your users always hit the same > database server because the replication can become delayed at times. > If > the user has a random chance of hitting any of your database servers > then for example your user may add something to their cart, and > refresh > the page connecting to another server, and find the item missing from > their cart. Other no-nos for replicated databases especially on mysql > < > 5, are auto-incrementing fields in tables. 5.x has a solution for > this > ( > http://dev.mysql.com/doc/refman/5.0/en/replication-auto-increment.html > ). > > Thank You, > > Cody Baker > cody@wilkshire.net > http://www.wilkshire.net > Jon Simola wrote: > > On 3/15/06, James Ryan wrote: > > > >> Not sure if this is the right list for this (I apologize if its > not), > >> but has anybody ran a MySQL 2+ node cluster under FreeBSD 5.x > behind a > >> load balancer; and if so, could you offer any tips or warnings? > >> > > > > If you're talking about the actual MySQL clustering server setup, > I've > > never had a chance to try it as our dataset is too large. > > > > I've run a pair of MySQL servers in a round-robin master setup (A > > slaves from B, B slaves from A) and that worked rather well, > > replication was impressively quick. > > > > -- > > Jon Simola > > Systems Administrator > > ABC Communications > > _______________________________________________ > > freebsd-isp@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > > To unsubscribe, send any mail to > "freebsd-isp-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to > "freebsd-isp-unsubscribe@freebsd.org" > From owner-freebsd-isp@FreeBSD.ORG Wed Mar 22 13:24:10 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2265416A41F for ; Wed, 22 Mar 2006 13:24:10 +0000 (UTC) (envelope-from lannygodsey@yahoo.com) Received: from web33304.mail.mud.yahoo.com (web33304.mail.mud.yahoo.com [68.142.206.119]) by mx1.FreeBSD.org (Postfix) with SMTP id B513F43D49 for ; Wed, 22 Mar 2006 13:24:09 +0000 (GMT) (envelope-from lannygodsey@yahoo.com) Received: (qmail 14129 invoked by uid 60001); 22 Mar 2006 13:24:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZZutNP66PYmBplBuuzUGfdYD9GxD5llzakKUg5VNF11QbB30tfDqkTT8IA1tsTbWR1H6nbXw/QCpa55jp5P/KkjU7tAdadEKHxBTkTCemmTWP4loVDC92PqV3jF0b18P/q7H9HNN2+UwvxVO/FvgHvr7fEA9fOYEexikdmypfUE= ; Message-ID: <20060322132409.14127.qmail@web33304.mail.mud.yahoo.com> Received: from [24.58.65.110] by web33304.mail.mud.yahoo.com via HTTP; Wed, 22 Mar 2006 05:24:09 PST Date: Wed, 22 Mar 2006 05:24:09 -0800 (PST) From: "L. Jason Godsey" To: Odhiambo Washington , freebsd-isp@freebsd.org In-Reply-To: <20060217162927.GA23261@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: walled garden concept X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lannygodsey@yahoo.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 13:24:10 -0000 Starting in 1995, I have done this using private ips. I assign the dial in user a 10.1.x.x/16 ip. I have their gateway set to 10.1.1.1 which is a Linux/FreeBSD machine. The 10.1.1.1 also acts as a DNS server. 10.1.1.1 also runs squid in transparent proxy mode. Squid acts as a walled garden, only allowing access to hosts which we want non-paying users to see. Most systems require the user to reconnect in order to escape the walled garden. My method simply changes the firewall rules, I insert a rule to simply nat the 10.1.4.242 ip out to the net after payment. When radius either gets a disconnect or auth attempt on the same port, I clear that fw entry and the next user has to pay. After they pay, they get a public ip address and go about their business. If you wanted, you could have your main router be FreeBSD/linux and when the users account expires, wall them real time w/ a firewall rule instead of setting maximum session time. We elected to just kick them offline to avoid shoving all traffic through the unix machines. In order to hand out the 10.1.x.x ips, you don't use the NAS ip pool, instead we just let radius hand out static ips from a database pool. p.s. I prefer top posting. --- Odhiambo Washington wrote: > Does anyone know of any tutorials for setting up a "walled garden"? > I work for an ISP and we'd like to allow a specific dialup account > Free Access via our RADIUS, but we want to limit this user to access > just three or so urls: Our customer > {registration|renewal|webselfcare} > interfaces only. From owner-freebsd-isp@FreeBSD.ORG Fri Mar 24 21:12:24 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B738516A423 for ; Fri, 24 Mar 2006 21:12:24 +0000 (UTC) (envelope-from usmanbsd@yahoo.com) Received: from web38702.mail.mud.yahoo.com (web38702.mail.mud.yahoo.com [209.191.125.78]) by mx1.FreeBSD.org (Postfix) with SMTP id B963E43D6B for ; Fri, 24 Mar 2006 21:12:21 +0000 (GMT) (envelope-from usmanbsd@yahoo.com) Received: (qmail 55522 invoked by uid 60001); 24 Mar 2006 21:12:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cQ4gngXiYorTzc5ak01eHP0xfzXffN45vF/sVhiJ+gPmTreZzEqIQcWceV088oQ2K6oJjbbjITcg1eTZEMEh8vgbjMKVFFzhcEXXJM0BG5ZJ0g7w8X1nR4ZxgktsfCP4xi6QAuuQWd1TS5gPhfydaEG84wB3CXIWhuHl4n5IO+Y= ; Message-ID: <20060324211221.55520.qmail@web38702.mail.mud.yahoo.com> Received: from [202.59.80.55] by web38702.mail.mud.yahoo.com via HTTP; Fri, 24 Mar 2006 13:12:21 PST Date: Fri, 24 Mar 2006 13:12:21 -0800 (PST) From: muhammad usman To: Marcin Jessa , FreeBSD-ISP In-Reply-To: <20060315145315.4568d175.lists@yazzy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: DSLAM X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 21:12:24 -0000 My company also wanted the same thing, a lot of provisioning and stable solution. We tried Nortel's IMAS (now ctdi owns it). Its very cost effective, and stable. but has some bugs when it comes to configuration. Also has a lot of provisioning space. We people used Redback SMS with it. There are many models of Redback u can use a SMS 500 with it. With Redback and IMAS it becomes end-to-end ATM solution. Regards usman --- Marcin Jessa wrote: > Hi guys. > > I am looking for cheap but good ADSL DSLAMs. > Any suggestions? > > Cheers, > Marcin > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to > "freebsd-isp-unsubscribe@freebsd.org" > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-isp@FreeBSD.ORG Fri Mar 24 21:23:53 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A6C516A401 for ; Fri, 24 Mar 2006 21:23:53 +0000 (UTC) (envelope-from usmanbsd@yahoo.com) Received: from web38709.mail.mud.yahoo.com (web38709.mail.mud.yahoo.com [209.191.125.85]) by mx1.FreeBSD.org (Postfix) with SMTP id EEFDD43D45 for ; Fri, 24 Mar 2006 21:23:52 +0000 (GMT) (envelope-from usmanbsd@yahoo.com) Received: (qmail 13813 invoked by uid 60001); 24 Mar 2006 21:23:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=H3DuuhWbeWFyn9ClnOSRUMaLg0thFxUaFMW4t1ieOQqhbWnfifPona43o62Q4rCh410FQQ79htFSiD4D0sl8Dibi7HIxHElyLNj+KwY1EV9ZhRI8NKIl542hDL80jayJTVzErU7qoH1cWL1dJTk4GM8yzSyrHrfs/OEop5m2xes= ; Message-ID: <20060324212352.13811.qmail@web38709.mail.mud.yahoo.com> Received: from [202.59.80.55] by web38709.mail.mud.yahoo.com via HTTP; Fri, 24 Mar 2006 13:23:52 PST Date: Fri, 24 Mar 2006 13:23:52 -0800 (PST) From: muhammad usman To: lannygodsey@yahoo.com, freebsd-isp@freebsd.org In-Reply-To: <20060322123541.55063.qmail@web33313.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: MySQL Clustering X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 21:23:53 -0000 There is a very usefull book of O-Reilly on MySQL load balancing. And according to it you can have only on writeable SQL server, and load balancing only works for read-only queries. but as Mr.Cody Baker suggested its better if you configure your load balancer to make persistent binding. regards usman --- "L. Jason Godsey" wrote: > > The following solves replication breaking over the > same auto int race > condition. This can happen because of fast inserts > from multiple hosts > connected to multiple back end servers (8 in my > case), or because of > disconnected operation. > > The way I solved this in the past was using > composite keys. Instead of > just the auto integer field, I also used a server_id > field. > > Prior to inserting anything into this database, > issue the query > set @server_id=@@server_id;, reuse the db connection > for the insert. > > Sometimes you can use something like: > > $query = "set @server_id=@@server_id; insert > into....."; > > Don't skip the seemingly redundant, @server_id=@@ > bit and go with > insert into VALUES (@@server_id)... then each server > doing the > replication will use it's own server_id which isn't > what you want. > > create table users ( > id int auto_increment, > server_id int, > login varchar(32), > pass varchar(32), > primary key (id,server_id) > ); > create unique index _i_users_login on users (login); > > mysql> set @server_id=@@server_id; > Query OK, 0 rows affected (0.00 sec) > > mysql> insert into users (server_id, login, pass) > values (@server_id, > 'lanny', 'examples'); > Query OK, 1 row affected (0.00 sec) > > mysql> select * from users; > +----+-----------+-------+----------+ > | id | server_id | login | pass | > +----+-----------+-------+----------+ > | 1 | 2 | lanny | examples | > +----+-----------+-------+----------+ > 1 row in set (0.00 sec) > > mysql> set @server_id=32; insert into users > (server_id, login, pass) > values (@server_id, 'lanny3', 'examples'); > Query OK, 0 rows affected (0.00 sec) > > Query OK, 1 row affected (0.00 sec) > > mysql> select * from users; > +----+-----------+--------+----------+ > | id | server_id | login | pass | > +----+-----------+--------+----------+ > | 1 | 2 | lanny | examples | > | 2 | 2 | lanny2 | examples | > | 3 | 32 | lanny3 | examples | > +----+-----------+--------+----------+ > > > --- Cody Baker wrote: > > > If you're database is simply read only then the > load balanced > > situation > > should work fine. If your database is read/write > then your load > > balancer could cause you problems under certain > circumstances. If > > your > > updates are not time critical then it should be > fine. If, however, > > your > > databases are used for a time critical updates > (ex. session data for > > a > > web page) then it's important that your users > always hit the same > > database server because the replication can become > delayed at times. > > If > > the user has a random chance of hitting any of > your database servers > > then for example your user may add something to > their cart, and > > refresh > > the page connecting to another server, and find > the item missing from > > their cart. Other no-nos for replicated databases > especially on mysql > > < > > 5, are auto-incrementing fields in tables. 5.x > has a solution for > > this > > ( > > > http://dev.mysql.com/doc/refman/5.0/en/replication-auto-increment.html > > ). > > > > Thank You, > > > > Cody Baker > > cody@wilkshire.net > > http://www.wilkshire.net > > Jon Simola wrote: > > > On 3/15/06, James Ryan > wrote: > > > > > >> Not sure if this is the right list for this (I > apologize if its > > not), > > >> but has anybody ran a MySQL 2+ node cluster > under FreeBSD 5.x > > behind a > > >> load balancer; and if so, could you offer any > tips or warnings? > > >> > > > > > > If you're talking about the actual MySQL > clustering server setup, > > I've > > > never had a chance to try it as our dataset is > too large. > > > > > > I've run a pair of MySQL servers in a > round-robin master setup (A > > > slaves from B, B slaves from A) and that worked > rather well, > > > replication was impressively quick. > > > > > > -- > > > Jon Simola > > > Systems Administrator > > > ABC Communications > > > _______________________________________________ > > > freebsd-isp@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > > > To unsubscribe, send any mail to > > "freebsd-isp-unsubscribe@freebsd.org" > > > > > > > _______________________________________________ > > freebsd-isp@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > > To unsubscribe, send any mail to > > "freebsd-isp-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to > "freebsd-isp-unsubscribe@freebsd.org" > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com