Re: Apache problem
At 03:41 01/05/2003 -0700, Darren Pilgrim wrote: [Redirected to -questions] Nucking Futs [EMAIL PROTECTED] wrote: I have installed the apache 1.3.27-fp port in my FBSD 4.8 system. Apache will not start automatically when the system boots. I receive an error 120: Syntax error: Unterminated quoted string I tried chmod 755 the apache.sh in /usr/local/etc/rc.d but this didn't help either. Have I done something wrong, is this a known problem? Any suggestions as to what I can do to fix this would be appreciated. Thanks What was the exact command you issued that returned the error? I have just installed FreeBSD 4.8, and this same port, and got the same error. There appears to be a problem in apache.sh - running `apachectl start` manually works fine. I also had another copy of this file appear as \usr\local\etc\rc.d\srm.conf ! My own problem is that despite installing apache_fp, I don't seem to be able to access the frontpage extensions! Fp2000 elsewhere on the network refuses to admit that the server has FP extensions installed. The access.log shows 404 errors trying to access an .exe file in _vti_bin. I understand that these files don't really exist, but that the patches to apache itself should redirect requests to the real files. Is there anything I can do to verify that the relevant patches to apache have been applied properly? Alternatively, is there a good how-to about on installing apache and adding the extensions manually, rather than use this port? Do the version 5 FP extensions still support Frontpage 2000 ? Thanks in advance Rob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
merging discs / filesystems
Hi there. I've got an 4.5 server. It boots and runs off a 1.2Gb IDE drive - I'm planning on upgrading to latest 4.x on a new drive sometime soon This server also has five ~120Gb IDE drives mounted at various positions underneath /data, and are shared off via Samba and NFS. Each of these 120's is a separate filesystem. Overall, I've got about 20% free space, however some drives have plenty of space on them, and some are crammed full. The question is ... can I merge all these discs into one filesystem so that I don't need to shuffle stuff about to make space any more, without losing the data already on them, and with the capability to add more drives later? I also like the idea of adding redundancy, maybe RAID 5, even if it means buying another drive. I could do that to help conversion, in any case. Preserving the data is important because I don't have capacity elsewhere on the network to copy everything over, nor backup capacity to copy everything offline in any easy fashion. Current backups only concentrate on critical data and system files; the rest is replaceable, although I don't fancy the idea very much! Thanks in advance for any suggestions Rob. -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Routing, NAT'ing and and external ADSL router.
At 23:01 02/02/2003 -0800, [EMAIL PROTECTED] wrote: I have 2 network cards in the gateway machine. rl0 is 192.168.0.1 255.255.255.0 rl1 is 192.168.1.1 255.255.255.0 (p.s. I know realtek suck.. but they were just spare cards!) There is an external ADSL router connected to rl1, who's IP address is 192.168.1.2 The default router is 192.168.1.2 natd is enabled, and the natd interface is rl1 and gateway is enabled. First off, it only seems to work if I also enable NATing on the ADSL router, which I would've thought would've caused problems due to double NATting You would need to do this - the internet will ignore your 192.168 addresses. I have a similar setup at home: internet --- [hw adsl router (192.168.1.1)] -- [192.168.1.11(gateway)192.168.0.11] -- LAN - multiple PCs. You need NAT enabled on the router. You don't need NAT on the gateway PC; just a basic ability to forward (route) packets. Default route on the gateway machine is the ADSL router. Default router on other machines on the LAN is the gateway machine and (here's the biggie) you need to set up a static route on the ADSL router for your LAN, gateway being your gateway PC. In my case, I set up 192.168.0.0/24 - 192.168.1.11. Exact means to do so depends on make model of router. You let the router do all the NAT. it knows about the network between your gateway pc and itself because it's on it, but you have to tell it where to find the other network, otherwise it'll just send it out the Internet, where it will be dropped. Doing your double-NAT will work, as you have found, but it increases additional complexity, and means if you want to set up any pas-through ports you will need to set them up on both devices too. Secondly, due to this setup, I don't really know how to configure the firewall.. firewall can still be set up, but i will leave any details to the experts on this list. Any, and I mean any, help would be appreciated! :) Cheers, Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
round robin routing - how?
Hi there! I've had a good google for this, but not come up with anything significant... My LAN has two available route to the internet - a FreeBSD box with an ADSL modem, (192.168.0.9) and a hardware ADSL router (192.168.0.10) . Two seperate ADSL lines, both the the same ISP as it happens (though am moving one of them shortly.) I can set up the clients individually with one or the other address as default gateway, and each has full access to the 'net at the maximum bandwidth of one line. Is it possible under FreeBSD to set up some sort of round-robin router - I have another hardware ADSL router available, and am not adverse to sticking a couple more network cards in the FreeBSD box if necessary - what I was envisaging was the FreeBSD machine is default gateway for all clients on the lan, and it then routes out to the 'net via either hardware router - so any clients that wants faster bandwidth can get it, as long as they use multiple connections and don't expect any one of them to go over the 512K of one ADSL line. Basically, I want something that does the same job as the Nexland pro800 turbo: http://www.nexland.com/turbo.cfm I've seen references to ng_one2many, but the examples look like they tie multiple adapters together such that they operate as one adapter with one address on one LAN - would this work if i link two adapters directly and independently to two routers and set them up identically? I've also seen references that (at least some versions of) Linux can have multiple default gateways and just use them in sequence. I don't want to have to swap over though... Many thanks in advance, Rob, -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Installing FreeBSD 4.7 from ISO image
At 18:47 05/01/2003 -0500, Adam Maas wrote: While WinRAR sees the iso as a WinRAR file it isn't, it should be burned as downloaded, not extracted. Download it and burn it as an image directly, you've just run into some brain damage on the part of WinRAR. Adam From memory (machine with nero on it is at home) All that is needed to do to burn the ISO file is: Start Nero, Close the wizard that comes up without selecting anything. You are not compiling a CD; you have it already, Click File Burn Image Locate the .iso file you downloaded Pick Disk at once instead of track at once Burn! You can adjust the burn speed, simulation first, settings etc, if you wish or are not confident about how well your burner works. Regards Rob To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Internal mail server
At 18:36 05/01/2003 -0600, Scott A. Moberly wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, January 05, 2003 3:55 PM To: [EMAIL PROTECTED] Subject: Internal mail server Here is my problem: I have a lab with students that is going to be taught how to use an email client(Outlook). I want to set them up on an internal server that will not be visible from the outside world(Internet). I have the mail server setup using qmail and freebsd4.7. I also want to use a fake domain name, i.e. labcomps.net,.org,.com whatever, so that I will be able to send email within the class and no email will go outside or from the outside to the inside. Ironically, i just finished doing exactly that, if I understand you correctly. Not a problem at all. Just give named authority over the 'fake' domain and give it some forwarders (in example named.conf file supplied with FreeBSD). Then point all the m$ clients at the internal dns. Added bonus... it'll cache the results and depending on how dns was previously set up you could see some reduction in external lookups. You may be better using a domain name in the form labs.local or something similar - especially if the machines have external access: you don't really want your test emails escaping to the real domain if you pick a .com and, say, the DHCP server resets your users' DNS server settings. (owning irrelevant.com, the number of emails I get that are plainly tests or people not wishing to fill in real addresses in web forms is astonishing ... or maybe not.) You don't need to stick to the .com/.net/.org model of tlds if you are setting up a system that nobody else will access. Your imagination is the limit! Regards Rob -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: opinions on my plan
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Darren Sent: Wednesday, January 01, 2003 11:49 AM To: fbsd-questions Subject: opinions on my plan I am building a firewall/NAT box for my father. This is the first firewall that I've built. And, I'm trying to put only the minimum software on it that will help me remote administer it (ie. ssh) and keep it up to date (ie. portupgrade). I figured I'd need a few programs installed for convenience. But, I didn't want to sacrafice security. I thought I might get the advice of those who have gone before me. At 15:16 01/01/2003 -0600, Craig M. Luchtefeld wrote: For mine I did the following: - Minimal install - kern_securelevel_enable=YES in rc.conf - recompiled kernel for ipf and take out extra crap - disabled inetd - disabled sendmail - used ipf and ipmon for firewall/nat My firewall is running on minimal hardware and it's a firewall.. I only want to mess with it once and be done with it. Why not look at picobsd (in ports). It's a script that you run on your FreeBSD box which produces a minimal system on small media (single floppy, bootable CD, CF disc etc), and is ideally suited for running routers, firewalls, etc. You customise it for your exact requirements. It boots up and runs from RAMdisc - no hard disc required. Problems? Reboot and it's clean again.. Obviously the less you have on any externally exposed machine, the less security risk it poses. Since you can use pretty much any crap hardware to run as a router/firewall, find an old P1 (or worse) somewhere, and hide the decent machine you would need for squid internally, and put that, cvsup, etc on that, where it's safer. To upgrade the router, you just re-run the script to create a new floppy, disc image, etc. [any technical questions on picobsd best addressed to freebsd-small mailing list]. Regards Rob -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Water Damage
At 22:24 30/12/2002 -0800, Doug Hardie wrote: The one server that I have responsibility for (mailserver running FreeBSD 4.6) took awhile to get rewired properly. When it was yanked out, some of the internal cables were disconnected. Had to find the motherboard book to figure out how to set them back up properly. Once that was done, the machine came up and worked fine. However, its inlet fan was severly disfigured by the falling burning stuff. Since its at the bottom of the unit, the junk only marred the bottom of the frame. There were no electronics there for it to damage. The fan sounds funny now and I wouldn't trust it. However, the keyboard connector is now defective. You can't plug a keyboard into it. I couldn't find anything visibly wrong with it, it just doesn't work. I have no idea how that happened since there was a keyboard plugged in during the flooding. My only guess is that whoever unplugged it did so via the grab case and run method - leaving the keyboard to catch and disconnect itself. If it's a PS/2 type keyboard connector (small plug) there is a plastic pin that often gets broken off and left in the socket if connectors are pulled out violently, blocking a new keyboard being inserted. (Seen it often with mice.) If this is so, I've had success getting them out by using 'blue tack' (a semi-adhesive goo used to hold the kids drawings on the wall) on the end of a matchstick to grab hold of it. Sounds like this machine was lucky, though replace the fan when practical... None of the MS servers survived. None had backups either. I suspect that will be a significant problem. However, I do have backups for the mail server and did recover the complete disk and dumped it to my laptop so that will be a simple restore. Are they completely toast? Can the hard discs be pulled and tested in another machine? Failing that, companies do exist that specialise in data recovery in these situations. For a price. It depends how valuable the data is... Oh... and, as my boss would say, it's an opportunity to sell them a backup solution Rob -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: email addresses used for lists [was: L0phtcrack]
At 15:46 23/12/2002 -0800, Kurt Bigler wrote: on 12/23/02 3:34 PM, Kenzo [EMAIL PROTECTED] wrote: And for using hotmail accountComputer 101, never use your real or company e-mail address to post on forums, just attracks crackers. I currently create a new email address for every category of mailing list that I join. For web use, I use a throw-away free-ISP account (which lets me pop mail from anywhere!) which hands out email addresses in the form [EMAIL PROTECTED] - whenever a web sites asks me for an email address, I use their domain name in front of the @ - nothing to set up my end, and I know immediately whenever I get spam through that isp which web site gave it out. (Thank you, Paltalk..) I sort of forgot for this mailing list Rob I know others use special accounts for mailing lists which refuse to receive any mail that doesn't come from one of the lists that they associate with the account (or else they accomplish the filtering in their email client). A word of warning: When I first joined freebsd-questions, I joined with my main preferred only-for-friends spam-safe email address by mistake. Being lazy, I waited a few hours to correct that, unjoining, and rejoining with the desired address. But ever since then I get matching paired spams on the two addresses: the one I used by mistake for a few hours, and the one that I use at the moment ONLY for freebsd-questions. Fortunately I get only 1 or 2 spams a day like this, but I'm afraid it will grow and I will have to give up my main email address, or get deeply into spam filtering, which so far I have avoided. Regards, Kurt Bigler To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Always mystified by this. /stand file sizes
At 12:21 02/12/2002 +0100, Cliff Sarginson wrote: On Mon, Dec 02, 2002 at 02:25:59AM -0800, David Schultz wrote: See crunchgen(1). Oh, that looks interesting :) I never knew of such a thing, is it a well kept secret or am I not widely read-enough ? In point of fact I am slightly puzzled by /stand's existance. It says in hier that it is for stand-alone systems. What exactly is it referring to ? (Yes I know what stand-alone means ! But what context is this used in ?) PicoBSD (see the scripts in ports and the freebsd-small mailing list) uses it extensively to fit a subset of commands onto small media (typically a single floppy disc) for use in niche aplications (eg a diskless pc as a router). Rob -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: question on IP alias/broadcast
At 08:16 17/11/2002 +, Matthew Seaman wrote: On Sun, Nov 17, 2002 at 02:04:57PM +0700, budsz wrote: On Sat, Nov 16, 2002 at 04:21:34PM +, Matthew Seaman wrote: expressed as a hexadecimal or even decimal integer. thus: 192.168.100.1 is the same as 0xc0a86401 or 3232261121 ^^ and 0xff00 is the same as 255.255.255.0 or 4294967040 ^^ Sorry sir, How we calculate that number (Decimal Interger)?, I hope explaination step by step? Simple enough: This perl snippet will convert a dotted quad address into an integer: [snip] isn't it basically: 192 * 2^24 + 168 * 2^16 + 100 * 2^8 + 1 -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB: ugen0: device problem
At 19:53 19/07/2002 +1000, bigMAX wrote: Hi, I've been trying to get an alcatel speedtouch usb modem working and after spending all afternoon struggling with it I've concluded that I don't have USB working at all :( several options here.. First, I suggest you try the latest drivers, if you haven't already, (see http://www.xsproject.org/speedtouch/) The modem lights going off completely though sounds like it's the old problem of the speedtouch drawing too much current from the usb ports - they pull more than the recommended maximum, and some chipsets detect this and shut the port down to prevent overload. Try running the modem though a powered usb hub, or try a plug in pci usb card of different make. (both these worked for me.) This is the same problem whatever OS and software you use If nothing there helps, you can try asking on the speedtouch mailing list - subscription details on that same web page above. Rob, To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message