RE: Softupdates Question
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex de Kruijff Sent: Thursday, July 14, 2005 4:57 PM To: Scott Sipe Cc: freebsd-questions@freebsd.org Subject: Re: Softupdates Question On Tue, Jun 28, 2005 at 03:40:41PM -0400, Scott Sipe wrote: Hi, At work we're running some rather old accounting software that tells us to disable oplocks and all caheing on our file server (and our clients)--Samba/FreeBSD isn't officially supported (the only platforms that are are Windows Server and Novell--yes, it's old) but we've been running fine on this configuration. The software is sensitive to data caching issues etc, and corruption is occasionally an issue. I have all oplocks disabled for the share in samba, and at the moment I have softupdates disabled on the accounting software mount. My question is, does activating softupdates add any risk of data loss? My guess is no, but I've wanted to play it safe. Our other samba shares all have softupdates enabled and do fine, and speed is becoming somewhat of an issue. No there's no risk of data loss. Yes, there is! Softupdates guarantees a consistent state of meta data. But there is a chance of losing a lot of recent file data changes. An other problem is, that Softupdates cannot know how much data is still in the hard disk's cache and not yet written back. I think it cannot easyly be answered, if it is better in this special configuration to run with or w/o Softupdates. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Using Multiple Internet Connections with FreeBSD
There isn't any such thing unless you speak BGP and minimum cost of entry on that (at least in the United States) are 2 T1's and a business justification to consume a minimum of a /20 of address space, so that you can obtain your own AS #. The fee on a /20 is about $2,250.00 a year. Now, if you go to your ISP and get multiple T1's from him you can do multilink PPP out of the box and aggregate as much as you want. We have a couple customers we do this with who have 3Mbt links to us. No T1s? Well, if all you want is DSL, then if you get two DSL lines from your ISP, you might manage something. He would have to setup to speak multilink PPP to you. It's possible. If you were a customer of my employer and willing to drop a couple grand into a Cisco 2600 with 2 ADSL cards in it, I might even be willing configure this on our side. You need to think carefully about how networking operates and you will eventually understand why what you want isn't possible. (and no, it's not because us dirty ISP's want to screw you little guys) The closest you can get is multiple DSL lines to multiple gateways inside your network, then set half of your machines up to use one gateway, the other half to use the other. That will give you more combined bandwidth, but still any given individual transfer will be limited to the max speed of the DSL line to the particular gateway in use. (exactly the same problem with the ipfw trick below) I've responded to many of these kinds of posts over the years in various forums. Virtually all of them are people who want to get 2 $19.95 a month DSL lines that are classed as residential service, instead of a single faster DSL line that is classed as business service and is more expensive. Rest assured that if such a thing were possible (which it isn't) every ISP on the planet would take steps to block it. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Barbieri Sent: Thursday, July 14, 2005 10:20 AM To: Philip Hallstrom Cc: freebsd-questions@freebsd.org Subject: Re: Using Multiple Internet Connections with FreeBSD Thanks for the reply, but this isnt exactly what I was looking for. This one is used to force packets out to a specific network depending on the destination IP address and such. I was looking for something that would allow for both rundunancy and speed increase, similar to PPP multi-link or connection teaming (which, from what ive read, can effecticly double bandwidth). Thanks again John Philip Hallstrom wrote: To start off, I have a FreeBSD router running Nat and dhcp, it is currently the router for my LAN. I was wondering if there was a way to aggregate more then one internet connection using FreeBSD? That is, have 2 or 3 internet connections coming in on seperate NICs, and being able to have the box route and nat the packets accordingly to the lan, thus giving the experience of more bandwidth. Is it even possible? Has someone done it before? and if you have, do you have a webpage that you followed instructions from? I haven't done it, but I've saved the following email/posts that talked about this... I've left them intact so you can see the context... good luck! From [EMAIL PROTECTED] Wed Dec 24 09:35:16 2003 Date: Fri, 3 Nov 2000 18:46:34 -0600 From: Gerd Knops [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Simon Nielsen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Two ISP's. Two IP. One default route... Simon Nielsen wrote: Hello I currently have two internet connections though two different ISP's. One is a ADSL and another is shared with the rest of my dorm. The shared line is rather slow because many people are using it. I must have an IP on the shared connection since that's the only place where I can be sure to have a non changing IP for my DNS. But the ADSL is much faster so I would like to use that as much as possible. I can give my machine an IP on each connection but I can of course only set one default route. The default route is currently set to the ADSL. The problem is that when a connection is made to IP on the shared connection my computer uses the ADSL IP to respond and that does not work. Is there a solution to this? I thought about maybe it is possible to route differently when a connection is made on the shared connection but I can't find out how to do it. Yes, it can be done (though I have not found it documented anywhere). I really think there should be separate routing tables for each interface, but I don't know of any such feature in any Unix. However ipfw can be abused for the above task. Assuming: - ipfw is set to pass on default - your ADSL IP/network is a.a.a.a/aa - your shared IP/network is s.s.s.s/ss - your ADSL gateway is set as default route - your shared gateway is s.s.s.gw the following ipfw rules do the trick: # Pass anything that should go via normal routes # This rule is really
RE: Spyware on FreeBSD?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Lane Sent: Thursday, July 14, 2005 9:42 AM To: freebsd-questions@freebsd.org Subject: Re: Spyware on FreeBSD? Not only that, but since we don't have enough money to spend on proprietary software, we probably aren't attractive for various fraud schemes, etc. (just a joke, of course :) Either that or we are all comfortable with the size of our dicks. ;-) Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot use cvsup
Brian John wrote: Hello, I can't use cvsup for some reason. I just tried upgrading from 5.3 to 5.4. When I try to use cvsup, it says this: su-2.05b# cvsup /libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, required by cvsup If you dont have X11 on this machine, then you need cvsup-without-gui package ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/ufs
Dan Nelson wrote: In the last episode (Jul 14), Heinrich Rebehn said: Hmm, it does not work: [EMAIL PROTECTED] [~] # kldstat Id Refs AddressSize Name 19 0xc040 3c8ed4 kernel 2 14 0xc07c9000 56270acpi.ko 31 0xc3c38000 17000linux.ko 41 0xc961 4000 geom_label.ko 51 0xc918f000 2000 geom_vol_ffs.ko [EMAIL PROTECTED] [~] # tunefs -L backup /dev/da1s1a [EMAIL PROTECTED] [~] # tunefs -p /dev/da1s1a tunefs: volume label: (-L) backup [EMAIL PROTECTED] [~] # ls /dev/ufs ls: /dev/ufs: No such file or directory The filesystem is freshly newfs'ed and the partitions have not been resized. Try unloding and reloading geom_label.ko; I don't know if it is smart enough to realize that the tunefs command added a label. If that doesn't work you'll have to start adding G_LABEL_DEBUG calls to /sys/geom/label/g_label_ufs.c and figure out exactly where it's failing. geom_label cannot be unloaded: [EMAIL PROTECTED] [~] # kldstat Id Refs AddressSize Name 18 0xc040 3c8ed4 kernel 2 14 0xc07c9000 56270acpi.ko 31 0xc3c38000 17000linux.ko 41 0xc961 4000 geom_label.ko [EMAIL PROTECTED] [~] # kldunload geom_label kldunload: can't unload file: Operation not supported [EMAIL PROTECTED] [~] # Am i missing something? Rebooting is not a good option since this is our main server. --Heinrich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SSH
ok, thanks. now i can connect through SSH. but why does SSH need a host from the internal network? thanks for the answer Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using Multiple Internet Connections with FreeBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Barbieri [EMAIL PROTECTED] writes: Howdy, To start off, I have a FreeBSD router running Nat and dhcp, it is currently the router for my LAN. I was wondering if there was a way to aggregate more then one internet connection using FreeBSD? That is, have 2 or 3 internet connections coming in on seperate NICs, and being able to have the box route and nat the packets accordingly to the lan, thus giving the experience of more bandwidth. Is it even possible? FreeBSD includes PF, which supports this. http://www.openbsd.org/faq/pf/pools.html You need to NAT to an address pool, with round-robin. - -- Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC14TUpt3yYclAKVsRArs/AKCT6FmcsD8Y61uEpWEUFZfTsPx0XgCdGG75 KyXDfTEOUdskYOTXLTMa7m0= =99tH -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP assigned unregistered IP address
Bob Hall wrote: 1) It is a Motorola cable modem. (SB5100) The modem web page contained this: The SURFboard cable modem can be used as a gateway to the Internet by a maximum of 32 users on a Local Area Network (LAN). When the Cable Modem is disconnected from the Internet, users on the LAN can be dynamically assigned IP Addresses by the Cable On the SB4100, the Enable DHCP checkbox is right above this blurb. However, note the When the Cable Modem is disconnected from the Internet... so the only reason it should be handing you the local IP is if it cannot talk back to the DHCP server it gets your real IP from. If it happens again, you might want to talk to your provider to find out *why*. Does this thing have any flashing lights on the front? --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't mount floppy
Hi! I can't mount floppy on FreeBSD 5.4. I run the usual command: mount -t msdos /dev/fd0 /mnt and get /dev/fd0: No such file or directory When the kernel loads I see: fdc0: floppy drive controller port ... on acpi0 What does it mean? Thanks, Olga Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't mount floppy
On 2005-07-15 03:45, Olga Zenkova [EMAIL PROTECTED] wrote: Hi! I can't mount floppy on FreeBSD 5.4. I run the usual command: mount -t msdos /dev/fd0 /mnt and get /dev/fd0: No such file or directory When the kernel loads I see: fdc0: floppy drive controller port ... on acpi0 What does it mean? Do you have the necessary device in /dev? # ls -l /dev/fd* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nvidia Driver (Dual post)
All: Sorry about the second post, it was accidental. My apologies. A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nvidia Driver
All: I am having a problem getting my nvidia video card to work since I portupgraded to the latest nvidia driver in the port. I had everything working find using many of the old verions. Then I upgraded to the latest version and now when I attempt tp startx, I get: X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 5.4 i386 [ELF] Current Operating System: FreeBSD host 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386 Build Date: 24 June 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Jul 14 22:50:09 2005 (==) Using config file: /etc/X11/xorg.conf (EE) Failed to load module speedo (module does not exist, 0) (EE) No devices detected. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.X.Org for help. Please also check the log file at /var/log/Xorg.0.log for additional information. X connection to :0.0 broken (explicit kill or server shutdown). [EMAIL PROTECTED]:/boot[mexit exit I looked and /var/log/messages, and FreeBSD sees the video card and I verified that the module is loaded with kldinfo. As I said, everything worked fine with the older version of the port. Does anyone have any ideas? Thanks A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia Driver
I am using the GeForce2 GTS On 7/15/05, Ian Moore [EMAIL PROTECTED] wrote: On Friday 15 July 2005 12:37, Adam Stroud wrote: All: I am having a problem getting my nvidia video card to work since I portupgraded to the latest nvidia driver in the port. I had everything working find using many of the old verions. Then I upgraded to the latest version and now when I attempt tp startx, I get: X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 5.4 i386 [ELF] Current Operating System: FreeBSD osirus.stronet.dyndns.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386 Build Date: 24 June 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Jul 14 22:50:09 2005 (==) Using config file: /etc/X11/xorg.conf (EE) Failed to load module speedo (module does not exist, 0) (EE) No devices detected. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.X.Org for help. Please also check the log file at /var/log/Xorg.0.log for additional information. X connection to :0.0 broken (explicit kill or server shutdown). [EMAIL PROTECTED]:/boot[mexit exit I looked and /var/log/messages, and FreeBSD sees the video card and I verified that the module is loaded with kldinfo. As I said, everything worked fine with the older version of the port. Does anyone have any ideas? Thanks A What card do you have - nvidia have dropped support for older chipsets - take a look at /usr/ports/UPDATING for details. That might be the cause of your problem. Cheers, -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reducing shutdown time
Marc Santhoff wrote: So those vars are only applicant for softupdates. No, no softupdates involved. I was searching for a way to shorten the stopping time in general. If all filesystems are read only, then you can try halt -q (or even halt -q -n) see halt(8) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP PCRE
I just installed FreeBSD 5.4 with PHP 5.0.3 for the express purpose of testing out a web-based application. I was wondering what the rationale is for excluding PCRE from the current php distribution.As I understand it, the PCRE extensions are included by default in PHP 5. This suggests that the FreeBSD organization opted not to include these. A search of mailing lists shows that people have been having problems because of this. For me, the solution is not to install a rebuilt php on my test machine, because I have to have the assurance that my application will run on any FreeBSD system. Thanks, Myron Turner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
better disk reliability on a desktop machine
I've been running FreeBSD on servers and on my desktop since about 2.2.2. My current desktop machine is set up for cvsup, although I haven't done 'make buildworld' for a while (uname says 4.9-RELEASE). I don't have any good backup system in place for this machine. I was thinking it's just a desktop. But these days it does have a boatload of personal data on it (e.g. digital photos). So shoot me. My main disk (ad0: 114473MB ST3120022A) is having hard errors. Shoddy rubbish: I've only had it a couple of years. Past experience suggests that it's going to take me three or four days to sort this out (get a new disk, recover what I can from the old one, repair the OS installation with cvsup/buildworld/installworld, repair packages and ports in a similar fashion, figure out what's missing from my files and scratch around in my inadequate personal backups to recover what I can). I don't want to have to do all that ever again, after this iteration. So I'm thinking I probably want to move to a RAID mirror filesystem, and keep some sort of quality backups offsite. 1. RAID mirror filesystem questions: 1a: should this be vinum? I have read and can follow the handbook instructions for a vinum root filesystem. 1b: Will it help to upgrade to 5.x, to get this to go smoothly? 2. taking backups offsite. Seems to me that the best route is a number of external firewire hard disks. This machine doesn't have motherboard firewire, so I'll need to get a PCI firewire board. 2a: Recommendations for an affordable PCI firewire board? 2b: Should I upgrade to 5.x for the better firewire hardware support? 3c: Opinions on using firewire hard disks for this at all? Would I be better off writing DVDs? 3. making backups. 3a: I'm used to dump/restore, but it seems to me that rsync might be a better tool for this, as it would allow me to mount and browse the backup. Opinions? Nick Barnes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FrontPage Extensions Install Error
I'm trying to install FrontPage extensions on Apache 2.0.54 and FBSD 5.4-RELEASE-p4. I've installed the 'www/frontpage' and 'www/mod_frontpage2-rtr' ports. Now I'm trying to run the fp_install.sh script but get this error: ---BEGIN--- Server config filename: [/usr/local/etc/apache2/httpd.conf] FrontPage Administrator's user name: [fpadmin] Enter the new server's port number: [80] Getting User from /usr/local/etc/apache2/httpd.conf Unix user name of the owner of this new web: [www] Getting Group from /usr/local/etc/apache2/httpd.conf Unix group of this new web: [www] Installing root web into port 80... installing server / on port 80 Will chown web to www as part of install. Will chgrp web to www as part of install. Bad system call (core dumped) ERROR: / installation failed. Hit enter to continue ---END--- I've Googled but turned up nothing helpful. Any ideas on what the problem might be? Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
On Jul 15, 2005, at 7:21 AM, Nick Barnes wrote: 1. RAID mirror filesystem questions: 1a: should this be vinum? I have read and can follow the handbook instructions for a vinum root filesystem. In my opinion its a fine thing that the root boot filesystem can be vinum. However its just not quite something I think is proper. There are a few select files on the root filesystem which are unique to your system, everything else exists elsewhere such as on your installation CDROM. When you go to build your new filesystem keep a list of the files you tweak. Suggest placing it in /root/important_file_list. Be sure to list the important file list in your important file list. tar -cvzf /home/myaccount/backups/today.tar.gz -T /root/ important_file_list Size /usr sufficient for OS and application space but don't place critical data there. Make /home your redundant mirror and put everything critical there. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia Driver
On Friday 15 July 2005 20:59, Adam Stroud wrote: On 7/15/05, Ian Moore [EMAIL PROTECTED] wrote: On Friday 15 July 2005 12:37, Adam Stroud wrote: All: I am having a problem getting my nvidia video card to work since I portupgraded to the latest nvidia driver in the port. I had everything working find using many of the old verions. Then I upgraded to the latest version and now when I attempt tp startx, I get: What card do you have - nvidia have dropped support for older chipsets - take a look at /usr/ports/UPDATING for details. That might be the cause of your problem. I am using the GeForce2 GTS There's your problem then, it's not supported by the new drivers according to the list at http://www.nvidia.com/object/IO_18897.html Look at /usr/ports/UPDATING for instructions on how to keep the older driver on your system. Cheers, -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc pgppKc5OrLz0L.pgp Description: PGP signature
Re: Nvidia Driver
Thanks for the enlightnement. I have already rebuilt the driver with the changes that I need. My system will now longer boot, but that is another issue. Thank you for your help. A On 7/15/05, Ian Moore [EMAIL PROTECTED] wrote: On Friday 15 July 2005 20:59, Adam Stroud wrote: On 7/15/05, Ian Moore [EMAIL PROTECTED] wrote: On Friday 15 July 2005 12:37, Adam Stroud wrote: All: I am having a problem getting my nvidia video card to work since I portupgraded to the latest nvidia driver in the port. I had everything working find using many of the old verions. Then I upgraded to the latest version and now when I attempt tp startx, I get: What card do you have - nvidia have dropped support for older chipsets - take a look at /usr/ports/UPDATING for details. That might be the cause of your problem. I am using the GeForce2 GTS There's your problem then, it's not supported by the new drivers according to the list at http://www.nvidia.com/object/IO_18897.html Look at /usr/ports/UPDATING for instructions on how to keep the older driver on your system. Cheers, -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: better disk reliability on a desktop machine
1. RAID mirror filesystem questions: 1a: should this be vinum? I have read and can follow the handbook instructions for a vinum root filesystem. 1b: Will it help to upgrade to 5.x, to get this to go smoothly? I'd suggest to buy an ata raid controller, as hardware should be more easyly portable between operating systems. And it should be some standard hardware, which is known to work under FreeBSD*, e.g. Promise. 2. taking backups offsite. Seems to me that the best route is a number of external firewire hard disks. This machine doesn't have motherboard firewire, so I'll need to get a PCI firewire board. 2a: Recommendations for an affordable PCI firewire board? 2b: Should I upgrade to 5.x for the better firewire hardware support? Yes. And the same is true for usb. (My experience) Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4-REL random reboots
Well the 3Com costs 30 euros and the realtek was only 10 euros. That's why i started testing by disabling the cheapysales one :) I do have two NICs in the freebsd machine, it's a gateway for my LAN to the Internet. The one on the LAN side is a Broadcom and uses the bfe driver, and the external one i replaced was a realtek (rl) and is now a 3com (xl). I'm quiet happy with the way it's working now so i'm not going to put more wires in there then necessary ;P On 7/15/05, Gayn Winters [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Casey Scott Sent: Thursday, July 14, 2005 5:20 PM To: Bas Essers Cc: freebsd-questions@freebsd.org Subject: Re: 5.4-REL random reboots Just a little follow-up to conclude my problem. I solved it by switching from a realtek NIC for my internet interface to a 3COM NIC and i can run everything without these 'random' reboots now. It's still strange to me though because this problem came up out of the blue. Well it's all good now :) -- Met vriendelijke groet, Bas Essers My rebooting issue has not occurred since I got rid of 3com NICs! The plot thickens... Casey Are there any good test utilities for NICs on FreeBSD? What if there are two (or more) NICs? I can imagine a cross-over cable connecting them for the test. I also seem to recall a loop back frob (plug) that was used to test a single NIC. If one had a known excellent quality NIC card, perhaps it could be inserted and used to test the main NIC. -gayn -- Met vriendelijke groet, Bas Essers Mobiel: 06.25.380.849 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia Driver
if you can, go ahead and print out your xorg.conf settings and the log file for it. I am suspicous that theres something up with that. Ben Ian Moore wrote: On Friday 15 July 2005 12:37, Adam Stroud wrote: All: I am having a problem getting my nvidia video card to work since I portupgraded to the latest nvidia driver in the port. I had everything working find using many of the old verions. Then I upgraded to the latest version and now when I attempt tp startx, I get: X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 5.4 i386 [ELF] Current Operating System: FreeBSD osirus.stronet.dyndns.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386 Build Date: 24 June 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Jul 14 22:50:09 2005 (==) Using config file: /etc/X11/xorg.conf (EE) Failed to load module speedo (module does not exist, 0) (EE) No devices detected. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.X.Org for help. Please also check the log file at /var/log/Xorg.0.log for additional information. X connection to :0.0 broken (explicit kill or server shutdown). [EMAIL PROTECTED]:/boot[mexit exit I looked and /var/log/messages, and FreeBSD sees the video card and I verified that the module is loaded with kldinfo. As I said, everything worked fine with the older version of the port. Does anyone have any ideas? Thanks A What card do you have - nvidia have dropped support for older chipsets - take a look at /usr/ports/UPDATING for details. That might be the cause of your problem. Cheers, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia Driver
Well, That poses a problem. During the upgrade (via portupgrade) my machine rebooted on it's own and now won't boot. I think I am getting a kernel error that I was just about to post in another email to the questions list. I will copy you on that post. A On 7/15/05, nawcom [EMAIL PROTECTED] wrote: if you can, go ahead and print out your xorg.conf settings and the log file for it. I am suspicous that theres something up with that. Ben Ian Moore wrote: On Friday 15 July 2005 12:37, Adam Stroud wrote: All: I am having a problem getting my nvidia video card to work since I portupgraded to the latest nvidia driver in the port. I had everything working find using many of the old verions. Then I upgraded to the latest version and now when I attempt tp startx, I get: X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 5.4 i386 [ELF] Current Operating System: FreeBSD osirus.stronet.dyndns.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386 Build Date: 24 June 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Jul 14 22:50:09 2005 (==) Using config file: /etc/X11/xorg.conf (EE) Failed to load module speedo (module does not exist, 0) (EE) No devices detected. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.X.Org for help. Please also check the log file at /var/log/Xorg.0.log for additional information. X connection to :0.0 broken (explicit kill or server shutdown). [EMAIL PROTECTED]:/boot[mexit exit I looked and /var/log/messages, and FreeBSD sees the video card and I verified that the module is loaded with kldinfo. As I said, everything worked fine with the older version of the port. Does anyone have any ideas? Thanks A What card do you have - nvidia have dropped support for older chipsets - take a look at /usr/ports/UPDATING for details. That might be the cause of your problem. Cheers, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia Driver
well hey stuff like this happenes - i had to handle an issues like this. let us know whats stopping it, will be willing to help. good luck, Ben Adam Stroud wrote: Well, That poses a problem. During the upgrade (via portupgrade) my machine rebooted on it's own and now won't boot. I think I am getting a kernel error that I was just about to post in another email to the questions list. I will copy you on that post. A On 7/15/05, nawcom [EMAIL PROTECTED] wrote: if you can, go ahead and print out your xorg.conf settings and the log file for it. I am suspicous that theres something up with that. Ben Ian Moore wrote: On Friday 15 July 2005 12:37, Adam Stroud wrote: All: I am having a problem getting my nvidia video card to work since I portupgraded to the latest nvidia driver in the port. I had everything working find using many of the old verions. Then I upgraded to the latest version and now when I attempt tp startx, I get: X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 5.4 i386 [ELF] Current Operating System: FreeBSD osirus.stronet.dyndns.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386 Build Date: 24 June 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Jul 14 22:50:09 2005 (==) Using config file: /etc/X11/xorg.conf (EE) Failed to load module speedo (module does not exist, 0) (EE) No devices detected. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.X.Org for help. Please also check the log file at /var/log/Xorg.0.log for additional information. X connection to :0.0 broken (explicit kill or server shutdown). [EMAIL PROTECTED]:/boot[mexit exit I looked and /var/log/messages, and FreeBSD sees the video card and I verified that the module is loaded with kldinfo. As I said, everything worked fine with the older version of the port. Does anyone have any ideas? Thanks A What card do you have - nvidia have dropped support for older chipsets - take a look at /usr/ports/UPDATING for details. That might be the cause of your problem. Cheers, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD will not boot
All: I updated my nvidia drivers from the ports collection (Using the WITH_LEGACY_GPU_SUPPORT option to add support for my GeFroce2 GTS). During the upgrade process, my machine rebooted on it's own and now when I boot I get the following error message: FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386 kernel trap 18 with interrupts disabled fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc689f8c stack pointer = 0x10:0xc1020c88 frame pointer = 0x10:0xc1020c9c code segment = base 0x0, 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL=0 current process = 0 () trap number = 18 panic: integer divide fault uptime: 1s Anyone have any ideas? A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd bad routing
Hello, I have a Freebsd server and some bad routes are been showed to me. Well, I didnt configured any routing protocols ... With the command netstat -r I got a lot of routes with UGHD flags. I just need the default route (gateway). With the command netstat -rs I got this message: 127 bad routing redirects 1091 dynamically created routes I appreciate some help. Tks a lot.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/ufs
Heinrich Rebehn wrote: Dan Nelson wrote: In the last episode (Jul 14), Heinrich Rebehn said: Hmm, it does not work: [EMAIL PROTECTED] [~] # kldstat Id Refs AddressSize Name 19 0xc040 3c8ed4 kernel 2 14 0xc07c9000 56270acpi.ko 31 0xc3c38000 17000linux.ko 41 0xc961 4000 geom_label.ko 51 0xc918f000 2000 geom_vol_ffs.ko [EMAIL PROTECTED] [~] # tunefs -L backup /dev/da1s1a [EMAIL PROTECTED] [~] # tunefs -p /dev/da1s1a tunefs: volume label: (-L) backup [EMAIL PROTECTED] [~] # ls /dev/ufs ls: /dev/ufs: No such file or directory The filesystem is freshly newfs'ed and the partitions have not been resized. Try unloding and reloading geom_label.ko; I don't know if it is smart enough to realize that the tunefs command added a label. If that doesn't work you'll have to start adding G_LABEL_DEBUG calls to /sys/geom/label/g_label_ufs.c and figure out exactly where it's failing. geom_label cannot be unloaded: [EMAIL PROTECTED] [~] # kldstat Id Refs AddressSize Name 18 0xc040 3c8ed4 kernel 2 14 0xc07c9000 56270acpi.ko 31 0xc3c38000 17000linux.ko 41 0xc961 4000 geom_label.ko [EMAIL PROTECTED] [~] # kldunload geom_label kldunload: can't unload file: Operation not supported [EMAIL PROTECTED] [~] # Am i missing something? Rebooting is not a good option since this is our main server. I forgot to # glabel stop -v backup, after that i could unload the module. However, i found out that i can more easily achive my goal by wiring down scsi unit numbers with kernel environment hints. Thanks for your help, Heinrich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obtaining portsmanager meta package for alternate OS
On July 14, 2005 04:03 pm, Michael C. Shultz wrote: On Thursday 14 July 2005 11:37, Garrett Cooper wrote: Hello, I was wondering if anyone could point me to the release notes or code so I could look up the dependencies for the portsmanager package and possibly compile it on Mac OS X Tiger. Try running configure then make just like any other linux program and see if it compiles, if it doesn't let me know what the error is. I understand Mac OS X is based on FreeBSD, does it have FreeBSD's port infrastructure? My Mac (OSX 10.2) doesn't have anything remotely resembling a port infrastructure installed as part of the OS. All the OSS that I've installed was done through what I will call binary 'bundles' mostly from .dmg files. They each provided their own installer (usually using the applescript langauge). For those who might care, a .dmg file is a mac disk image and seams to be the mac equivolent of tar. Sometimes the installer is a text file that says move the files to your applications directory. For example can you do things like: make make install make package make deinstall ??? You would need to install a compiler. If the above work diferently or /var/db/pkg/* is different then portmanager won't work. Would be interesting to know the similarities/differences between FreeBSD and Mac OS X ports infrastructure. /var isn't really used by the MAC except for /var/log and /var/run. As far as portmanager's dependices, to run it requires libc and to compile just needs standard autotools if I recall correctly. My FreeBSD machine is currently at home (sadly without an internet connection to the outside world :(), and I would like to keep it up to date by periodically fetching the ports 'source files'/packages and port snapshots. So I thought I could accomplish this via building the portsmanager package and running it off of my laptop at school since it's the only way I can accomplish my task at hand. However, with that in mind, I was wondering if there was a better way to fetch ports/packages without having to manhandle too many programs/scripts, or if anyone has discovered a better solution to this type of 'issue'. Thanks and your responses are greatly appreciated as solving this 'problem' will help save me a great deal of time :)! -Garrett To use portmanager this way you'll need a way to keep your ports tree current and a way to get the current distfiles. If you can do these two things somehow then just drop the current distfiles into /usr/ports/distfiles and update your ports tree and portmanager should run OK. -Mike -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.x raid...
On July 14, 2005 11:42 pm, David Kelly wrote: On Jul 14, 2005, at 7:56 PM, Casper wrote: I can`t find gvinum man on my 5.4 and in google too :) Use the vinum manpage and documentation just mentally substitute gvinum for vinum in all commands. Also, as mentioned before, gvinum is not yet feature complete so some of the things listed in the documentation for vinum doesn't work yet. It's sort of hit-and-miss. There is enough of gvinum to be able to setup a mirror (I did that on 5.3). Also, if upgrading from a 4.x system gvinum will read the vinum config from the disk BUT after you run gvinum the first time you may have problems getting back to vinum (according to the readme). The change in name from vinum to gvinum is because of the new disk sub-system (geom). IIRC It is optional in late version of 4.x and early versions of 5.x. It's off by default in 4.x and on by default in 5.x. What I was told a year ago was that vinum development and support in the 5.x series had ceased and that gvinum was slated to replace vinum. As I said previously vinum worked once running but had about a 50/50 probability of remembering my configuration between reboots. Simply changing the startup file /etc/rc.d/vinum to start gvinum rather than vinum solved the problem completely using the drives configured with vinum without rebuilding the volume. Gvinum is necessary due to internal changes in FreeBSD due to GEOM. It has also been said that gvinum does not yet have all the features of vinum. What its lacking, I can't say. I`m thinking for my server better tool is gmirror? Gvinum worked for my striped volume. I can't say how gmirror differs from gvinum. Maybe someone who has run both will speak. The gvinum mirror command I provided earlier should have you up and running very quickly. Suggest you try it. Beat on the system. Practice removing a plex, trashing it as if it were a new drive, then rebuilding the mirror. Then do the same for gmirror. Now is the right time to play with it before the system goes into production and becomes too precious to play with. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obtaining portsmanager meta package for alternate OS
Try running configure then make just like any other linux program and see if it compiles, if it doesn't let me know what the error is. I understand Mac OS X is based on FreeBSD, does it have FreeBSD's port infrastructure? My Mac (OSX 10.2) doesn't have anything remotely resembling a port infrastructure installed as part of the OS. All the OSS that I've installed was done through what I will call binary 'bundles' mostly from .dmg files. They each provided their own installer (usually using the applescript langauge). The nearest OS X analogy to the ports system is fink: http://fink.sourceforge.net/ js ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DHCP Server Offline.
Hello folks, I have a Stand Alone FreeBSD Firewall / Nat / Dhcp Server. Everything seems to work fine, up until this morning. Users seem to complain they could not get on the network anymore. Further investigation revealed the dhcp server could not be contacted. Further more, only some of the users were online. I am guessing that these clients who were online had an ip address from the dhcp server at a previous time and the lease didnt expire as yet. And users who were not online, the lease expired and attempted to contact the dhcp server and failed. I Would appreciate any help or suggestions. Like what to do in the future incase this happens again. I Would like to find out what had happened. The last thing that i had done to the server was setup, configure and install 'ntop'; dont know if this would cause a problem. Thank you in advance. Stephan Weaver P.S. Please reply to my Directly at @ [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP Server Offline.
On July 15, 2005 10:11 am, Stephan Weaver wrote: Hello folks, I have a Stand Alone FreeBSD Firewall / Nat / Dhcp Server. Everything seems to work fine, up until this morning. Users seem to complain they could not get on the network anymore. Further investigation revealed the dhcp server could not be contacted. Further more, only some of the users were online. I am guessing that these clients who were online had an ip address from the dhcp server at a previous time and the lease didnt expire as yet. And users who were not online, the lease expired and attempted to contact the dhcp server and failed. I Would appreciate any help or suggestions. Set the lease expire time to at least 5 days (7 to 10 is better) and the renewal time to between 4 and 12 hours. Then setup a dhcp monitoring process that will alert you if it fails to get an address or renewal. Make sure you have more addresses available than you ever expect to give out. I go with 50% more. I've known some admins that want at least double. Like what to do in the future incase this happens again. Setup 2 dhcp servers on the network. If one fails, the other will hopefully continue to serve addresses. Monitor this one as well. I Would like to find out what had happened. Start reading logs. The last thing that i had done to the server was setup, configure and install 'ntop'; dont know if this would cause a problem. Thank you in advance. Stephan Weaver P.S. Please reply to my Directly at @ [EMAIL PROTECTED] -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP Server Offline.
I Found out the Problem, The /var partation is full. How do i find out where is taking up all the space? Thanks From: Ean Kingston [EMAIL PROTECTED] To: freebsd-questions@freebsd.org CC: [EMAIL PROTECTED] Subject: Re: DHCP Server Offline. Date: Fri, 15 Jul 2005 10:18:09 -0400 On July 15, 2005 10:11 am, Stephan Weaver wrote: Hello folks, I have a Stand Alone FreeBSD Firewall / Nat / Dhcp Server. Everything seems to work fine, up until this morning. Users seem to complain they could not get on the network anymore. Further investigation revealed the dhcp server could not be contacted. Further more, only some of the users were online. I am guessing that these clients who were online had an ip address from the dhcp server at a previous time and the lease didnt expire as yet. And users who were not online, the lease expired and attempted to contact the dhcp server and failed. I Would appreciate any help or suggestions. Set the lease expire time to at least 5 days (7 to 10 is better) and the renewal time to between 4 and 12 hours. Then setup a dhcp monitoring process that will alert you if it fails to get an address or renewal. Make sure you have more addresses available than you ever expect to give out. I go with 50% more. I've known some admins that want at least double. Like what to do in the future incase this happens again. Setup 2 dhcp servers on the network. If one fails, the other will hopefully continue to serve addresses. Monitor this one as well. I Would like to find out what had happened. Start reading logs. The last thing that i had done to the server was setup, configure and install 'ntop'; dont know if this would cause a problem. Thank you in advance. Stephan Weaver P.S. Please reply to my Directly at @ [EMAIL PROTECTED] -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP Server Offline.
du /var | sort -rn | more This will sort the output with the largest directories at the top. Then you can examine what is in the directories that is taking up the space. David http://freebsd.vangeyn.net/ I Found out the Problem, The /var partation is full. How do i find out where is taking up all the space? Thanks From: Ean Kingston [EMAIL PROTECTED] To: freebsd-questions@freebsd.org CC: [EMAIL PROTECTED] Subject: Re: DHCP Server Offline. Date: Fri, 15 Jul 2005 10:18:09 -0400 On July 15, 2005 10:11 am, Stephan Weaver wrote: Hello folks, I have a Stand Alone FreeBSD Firewall / Nat / Dhcp Server. Everything seems to work fine, up until this morning. Users seem to complain they could not get on the network anymore. Further investigation revealed the dhcp server could not be contacted. Further more, only some of the users were online. I am guessing that these clients who were online had an ip address from the dhcp server at a previous time and the lease didnt expire as yet. And users who were not online, the lease expired and attempted to contact the dhcp server and failed. I Would appreciate any help or suggestions. Set the lease expire time to at least 5 days (7 to 10 is better) and the renewal time to between 4 and 12 hours. Then setup a dhcp monitoring process that will alert you if it fails to get an address or renewal. Make sure you have more addresses available than you ever expect to give out. I go with 50% more. I've known some admins that want at least double. Like what to do in the future incase this happens again. Setup 2 dhcp servers on the network. If one fails, the other will hopefully continue to serve addresses. Monitor this one as well. I Would like to find out what had happened. Start reading logs. The last thing that i had done to the server was setup, configure and install 'ntop'; dont know if this would cause a problem. Thank you in advance. Stephan Weaver P.S. Please reply to my Directly at @ [EMAIL PROTECTED] -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd bad routing
Joseh Martins wrote: Hello, I have a Freebsd server and some bad routes are been showed to me. Well, I didnt configured any routing protocols ... With the command netstat -r I got a lot of routes with UGHD flags. I just need the default route (gateway). With the command netstat -rs I got this message: 127 bad routing redirects 1091 dynamically created routes I appreciate some help. Tks a lot.. UGHD would seem to indicate that your box has been told (by ICMP redirects) not to use your configured default gateway to reach a specific host, but to use a different gateway instead. It is not necessarily a bad thing. My guess: either (a) there are two or more available gateways upstream from you and they are legitimately collaborating to inform you of the best (possibly only) routes to use to get to various destinations, or (b) you are getting bad ICMP redirects from somewhere, either accidental or intentional. If you know that one or more of the indicated UGHD routes is just plain wrong, that would be bad (maybe a spoofing or DoS attack of some kind). If you are unsure whether the routes are valid or not, contact the route provider upstream from you for clarification of whether this is legitimate (and whether you have specified the correct default gateway in the first place). -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
[...] So I'm thinking I probably want to move to a RAID mirror filesystem, and keep some sort of quality backups offsite. 1. RAID mirror filesystem questions: 1a: should this be vinum? I have read and can follow the handbook instructions for a vinum root filesystem. 1b: Will it help to upgrade to 5.x, to get this to go smoothly? 2. taking backups offsite. Seems to me that the best route is a number of external firewire hard disks. This machine doesn't have motherboard firewire, so I'll need to get a PCI firewire board. 2a: Recommendations for an affordable PCI firewire board? 2b: Should I upgrade to 5.x for the better firewire hardware support? If you have to reinstall anyway, why not upgrade to 5 in any case, while you're at it. Just an overall opinion unrelated to your technical questions. And yes, at least for firewire, I'm quite positive that 5 has far better support. 3c: Opinions on using firewire hard disks for this at all? Would I be better off writing DVDs? 3. making backups. 3a: I'm used to dump/restore, but it seems to me that rsync might be a better tool for this, as it would allow me to mount and browse the backup. Opinions? I used rsync for a while, and given your question, I would advocate for it. Recently I discovered a backup solution that suits me much better: subversion. Granted, backups are not what it was originally written for, but I was intrigued by the ides of using a version control system for backups, as I can easily back up and restore every change I make. I have the subversion repository on an external HDD, and commit the changes every couple of hours per cronjob, or manually if I make important changes. The repository is backed up on DVD regularly. Pros: Performs much better than rsync, and is more flexible, IMO. And of course the possibility of using version control on all your files. Cons: it was not trivial to set up, and if you have not set up a version control system before, it can cause severe head-scratching (you have been warned). Also, it uses twice as much space on the local disk as before. I don't use the version control on my Multimedia collection, but this changes slowly anyway and thus an occasional backup on DVD is alright with me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obtaining portsmanager meta package for alternate OS
On Friday 15 July 2005 07:08, you wrote: Try running configure then make just like any other linux program and see if it compiles, if it doesn't let me know what the error is. I understand Mac OS X is based on FreeBSD, does it have FreeBSD's port infrastructure? My Mac (OSX 10.2) doesn't have anything remotely resembling a port infrastructure installed as part of the OS. All the OSS that I've installed was done through what I will call binary 'bundles' mostly from .dmg files. They each provided their own installer (usually using the applescript langauge). The nearest OS X analogy to the ports system is fink: http://fink.sourceforge.net/ js Just read Fink's description, thanks for the link. My opinion is FreeBSD's ports system is lightyears ahead of Fink and Fink is headed in absolutly the wrong direction, reminds me of the other BSDs. What makes FreeBSD shine is the same ports tree works across many versions of FreeBSD, trying to control the ports tree by versioning is madness, int my humble opinion anyways. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obtaining portsmanager meta package for alternate OS
On Friday 15 July 2005 06:54, Ean Kingston wrote: On July 14, 2005 04:03 pm, Michael C. Shultz wrote: On Thursday 14 July 2005 11:37, Garrett Cooper wrote: Hello, I was wondering if anyone could point me to the release notes or code so I could look up the dependencies for the portsmanager package and possibly compile it on Mac OS X Tiger. Try running configure then make just like any other linux program and see if it compiles, if it doesn't let me know what the error is. I understand Mac OS X is based on FreeBSD, does it have FreeBSD's port infrastructure? My Mac (OSX 10.2) doesn't have anything remotely resembling a port infrastructure installed as part of the OS. All the OSS that I've installed was done through what I will call binary 'bundles' mostly from .dmg files. They each provided their own installer (usually using the applescript langauge). Too bad for Apple, the ports system is what makes FreeBSD shine, no point in trying to get portmanager running in OS X in any case. -Mike For those who might care, a .dmg file is a mac disk image and seams to be the mac equivolent of tar. Sometimes the installer is a text file that says move the files to your applications directory. For example can you do things like: make make install make package make deinstall ??? You would need to install a compiler. If the above work diferently or /var/db/pkg/* is different then portmanager won't work. Would be interesting to know the similarities/differences between FreeBSD and Mac OS X ports infrastructure. /var isn't really used by the MAC except for /var/log and /var/run. As far as portmanager's dependices, to run it requires libc and to compile just needs standard autotools if I recall correctly. My FreeBSD machine is currently at home (sadly without an internet connection to the outside world :(), and I would like to keep it up to date by periodically fetching the ports 'source files'/packages and port snapshots. So I thought I could accomplish this via building the portsmanager package and running it off of my laptop at school since it's the only way I can accomplish my task at hand. However, with that in mind, I was wondering if there was a better way to fetch ports/packages without having to manhandle too many programs/scripts, or if anyone has discovered a better solution to this type of 'issue'. Thanks and your responses are greatly appreciated as solving this 'problem' will help save me a great deal of time :)! -Garrett To use portmanager this way you'll need a way to keep your ports tree current and a way to get the current distfiles. If you can do these two things somehow then just drop the current distfiles into /usr/ports/distfiles and update your ports tree and portmanager should run OK. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Matlab7 (R14)
Me after the install, I have created the following symbolic link: ln -s /usr/local/linux-sun-jdk1.4.2/jre jre1.5.0 in /path/to/matlab/install/sys/java/jre/glnx86 and finally add a startup.m file in /path/to/matlab/install/toolbox/local with the following line inside set(0,'DefaultFigureRenderer','ZBuffer','DefaultFigureRendererMode','Manual') And now matlab7 works for me! Hopes it will help Rod On Thu, 2005-07-14 at 13:26 +0200, Svein Halvor Halvorsen wrote: * Rodolphe Conan [2005-07-13 08:31 -0700] I finally got Matlab 7 working! I have put the following in the startup m-file set(0,'DefaultFigureRenderer','ZBuffer',... 'DefaultFigureRendererMode','Manual') Before to set these default properties, doing get(gcf,'Renderer') gave me None ! COuld you please provide me with a step-by-step guide on how to setup Matlab / on a FreeBSD 5.4 system? Is this DefaultFigureRenderer setting all you need to alter? And where do I put this configuration? I've installed Matlab 7 using: /compat/linux/bin/sh /path/to/matlab/install This gives me a seemingly working Matlab, except almost everything I try to di results in a freeze. I get the same /lib/libc.so.6: cannot execute binary file error as you reported, but this doesn't seem to cause any trouble. Java crashes all the time too. Did you change the bundles java? If so, how? Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD will not boot
ok from what ive figured out is that kernel option WITH_LEGACY_GPU_SUPPORT is highly unsupported for the 5.x kernel http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/x11/nvidia-driver/Makefile?rev=1.34content-type=text/plain my usual suggestion is to use the driver from nvidia.com, nvidia is very friendly to the open source community - so they have drivers for freebsd. ive used it myself and agp support works great. now - for actually getting back into your system: do you have a back up kernel handy in your operating system? i know depending on how things are orginally set up when you install a new kernel the makefile copies the original kernel folder (/boot/kernel) to /boot/kernel.old and /boot/kernel is replaced with the new one. when you boot up freebsd and you get to the boot screen - select option number 6. then enter the following commands: unload load /boot/kernel.old/kernel boot let me know if you make it into the OS and if you do - be sure and remove that nvidia option! ok i hope this help let me know of your status. -Ben Adam Stroud wrote: All: I updated my nvidia drivers from the ports collection (Using the WITH_LEGACY_GPU_SUPPORT option to add support for my GeFroce2 GTS). During the upgrade process, my machine rebooted on it's own and now when I boot I get the following error message: FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386 kernel trap 18 with interrupts disabled fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc689f8c stack pointer = 0x10:0xc1020c88 frame pointer = 0x10:0xc1020c9c code segment = base 0x0, 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL=0 current process = 0 () trap number = 18 panic: integer divide fault uptime: 1s Anyone have any ideas? A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with postfix / mysql /maildrop / courier-imap
Hello , i have a problem when i sent a mail with a virtual user.I am on freebsd 5.4 and i use postfix-2.1.5_1,1 , maildrop-1.8.0_3 , courier-authlib-0.56 , courier-authlib-mysql-0.56 and courier-imap-4.0.3,1 . When i sent a mail with a virtual user , i have that in my log : Jul 15 17:56:27 linux-win postfix/smtpd[1067]: connect from localhost[127.0.0.1] Jul 15 17:56:27 linux-win postfix/smtpd[1067]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 [EMAIL PROTECTED]: Recipient address rejected: User unknown in virtual mailbox table; from=[EMAIL PROTECTED] to=[EMAIL PROTECTED] proto=ESMTP helo=www.linux-win.org Jul 15 17:56:27 linux-win postfix/smtpd[1067]: lost connection after RCPT from localhost[127.0.0.1] Jul 15 17:56:27 linux-win postfix/cleanup[1068]: 8EF685806: message-id=[EMAIL PROTECTED] Jul 15 17:56:27 linux-win postfix/qmgr[667]: 8EF685806: from=[EMAIL PROTECTED], size=862, nrcpt=1 (queue active) Jul 15 17:56:27 linux-win postfix/smtpd[1067]: disconnect from localhost[127.0.0.1] Jul 15 17:56:33 linux-win postfix/local[1069]: 8EF685806: to=[EMAIL PROTECTED], orig_to=postmaster, relay=local, delay=6, status=sent (delivered to command: /usr/local/bin/procmail) Jul 15 17:56:33 linux-win postfix/qmgr[667]: 8EF685806: removed Jul 15 17:57:05 linux-win imapd: LOGIN, user=flob2009, ip=[:::127.0.0.1], protocol=IMAP Jul 15 17:57:05 linux-win imapd: LOGOUT, user=flob2009, ip=[:::127.0.0.1], headers=0, body=0, time=0 In my main.cf , i have that : command_directory = /usr/local/sbin daemon_directory = /usr/local/libexec/postfix smtpd_banner = $myhostname ESMTP $mail_name $mail_version (FreeBSD) setgid_group = maildrop biff = no masquerade_domains = mail.linux-win.org linux-win.org masquerade_exceptions = root # appending .domain is the MUA's job. append_dot_mydomain = yes myhostname = linux-win.org mydestination = $myhostname alias_maps = hash:/usr/local/etc/postfix/aliases alias_database = hash:/usr/local/etc/postfix/aliases home_mailbox = Maildir/ mail_spool_directory = /var/mail local_destination_concurrency_limit= 1 default_destination_concurrency_limit = 1 smtpd_recipient_limit = 50 notify_classes=bounce,resource,software,policy relayhost = relay_domains = mynetworks = 192.168.1.0/32, 192.168.3.0/32, 127.0.0.0/8 mailbox_command = /usr/local/bin/procmail mailbox_size_limit = 0 mailq_path = /usr/local/bin/mailq message_size_limit = 1000 recipient_delimiter = + smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain smtpd_sender_restrictions = hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, reject_invalid_hostname header_checks = regexp:/usr/local/etc/postfix/header_checks strict_rfc821_envelopes = yes unknown_address_reject_code = 554 unknown_client_reject_code = 554 unknown_hostname_reject_code = 554 readme_directory = no sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail manpage_directory = /usr/local/man newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix mail_owner = postfix unknown_local_recipient_reject_code = 450 virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf virtual_gid_maps = static:125 virtual_mailbox_base = /home/vmail virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_mailbox_limit = 5120 virtual_minimum_uid = 125 virtual_transport = maildrop virtual_uid_maps = static:125 content_filter = smtp-amavis:[127.0.0.1]:10024 My authmysqlrc is : MYSQL_CRYPT_PWFIELD password MYSQL_DATABASE postfix MYSQL_GID_FIELD '125' MYSQL_HOME_FIELD'/home/vmail' MYSQL_LOGIN_FIELD username MYSQL_MAILDIR_FIELD maildir MYSQL_NAME_FIELDname MYSQL_OPT 0 MYSQL_PASSWORD ** MYSQL_SERVERlocalhost MYSQL_UID_FIELD '125' MYSQL_USERNAME postfix MYSQL_USER_TABLEmailbox and i have add a virtual domain who is mail.linux-win.org and a virtual user with phpmyadmin.With phypmyadmin , in the table mailbox , i have that : username flob2009 password * nameMailbox User maildir [EMAIL PROTECTED]/Maildir/ quota0 etc... With maildrop , i have that : maildrop -V 9 -d flob2009 maildrop: authlib: groupid=125 maildrop: authlib: userid=125 maildrop: authlib: logname=flob2009, home=/home/vmail, [EMAIL PROTECTED]/Maildir/ maildrop: Changing to /home/vmail Anyone see where is the probleme , because i don't know why postfix say Recipient address rejected: User unknown in virtual mailbox table. ___ freebsd-questions@freebsd.org mailing list
Re: better disk reliability on a desktop machine
Nick Barnes wrote: [ ... ] I don't want to have to do all that ever again, after this iteration. You've had a learning experience, I see. :-) So I'm thinking I probably want to move to a RAID mirror filesystem, and keep some sort of quality backups offsite. 1. RAID mirror filesystem questions: 1a: should this be vinum? I have read and can follow the handbook instructions for a vinum root filesystem. You should use a real (not software-driven) hardware RAID solution, say from 3ware or Promise for (parallel) ATA or SATA, or maybe Adaptec or LSI's SCSI-based RAID hardware if you want to get fancy and are willing to spend the extra bucks. Note that a good RAID controller comes with a small internal battery backup which it's cache and the drives are powered off of. 1b: Will it help to upgrade to 5.x, to get this to go smoothly? Upgrading to 5.x is a seperate matter, but if you are rebuilding the box, it's a reasonable idea. 5.4 is only a bit different from 4.11 in terms of visible changes which might affect how you use it, but there are a lot of improvements underneath in terms of ACPI and USB support, as well as obviously better SMP (which is less likely to matter for a uniprocessor desktop). 2. taking backups offsite. Seems to me that the best route is a number of external firewire hard disks. This machine doesn't have motherboard firewire, so I'll need to get a PCI firewire board. 2a: Recommendations for an affordable PCI firewire board? The VIA 6202 (I almost said 6502, but that was another era :-) works good, as does the firewire interface found on sound cards from a common vendor. Limited testing suggests that they all have very similiar performance and CPU overhead. 2b: Should I upgrade to 5.x for the better firewire hardware support? The firewire support in 4.x seems to be very good, actually, and I think speaks highly of the people who wrote it. 3c: Opinions on using firewire hard disks for this at all? Would I be better off writing DVDs? Hard drives provide near-online backup, but only a single full iteration. You can do incrementals to DVD or CD-RW or tape, and keep many iterations handy, which is far more reliable. 3. making backups. 3a: I'm used to dump/restore, but it seems to me that rsync might be a better tool for this, as it would allow me to mount and browse the backup. Opinions? This is good if you set up an entire system as a backup, although you could dual-purpose that box and have it act as a fileserver, proxy server, who knows, as well. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2004/09/19 02:40:48 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP assigned unregistered IP address
On Fri, Jul 15, 2005 at 11:38:07AM +0100, Alex Zbyslaw wrote: Bob Hall wrote: The modem web page contained this: The SURFboard cable modem can be used as a gateway to the Internet by a maximum of 32 users on a Local Area Network (LAN). When the Cable Modem is disconnected from the Internet, users on the LAN can be dynamically assigned IP Addresses by the Cable On the SB4100, the Enable DHCP checkbox is right above this blurb. Yes, I've seen screen shots with it. The SB5100 has no checkbox. However, note the When the Cable Modem is disconnected from the Internet... so the only reason it should be handing you the local IP is if it cannot talk back to the DHCP server it gets your real IP from. If Yea, that's pretty obvious. It's also pretty undesirable. Apparently, Motorola decided the checkbox was confusing and removed it, replacing it with this automatic behavior. Blea. it happens again, you might want to talk to your provider to find out *why*. Does this thing have any flashing lights on the front? There are LEDs, but they didn't indicate anything was wrong. There have been many reboots over the time I've been with this ISP, and this is the only time this happened. I'm not going to demand an explanation for a fluke. A better question is why the tech I talked to told me that the unregistered IP address wasn't a problem. But she did tell me that she was new, and generally the techs can distinguish between their cloacal anatomy and a geophysical excavation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD will not boot
Thanks for your help. I will have to wait untill I get home to fix the problem (I am at work now). I will let you know how I make out. Thanks Again A On 7/15/05, nawcom [EMAIL PROTECTED] wrote: ok from what ive figured out is that kernel option WITH_LEGACY_GPU_SUPPORT is highly unsupported for the 5.x kernel http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/x11/nvidia-driver/Makefile?rev=1.34content-type=text/plain my usual suggestion is to use the driver from nvidia.com, nvidia is very friendly to the open source community - so they have drivers for freebsd. ive used it myself and agp support works great. now - for actually getting back into your system: do you have a back up kernel handy in your operating system? i know depending on how things are orginally set up when you install a new kernel the makefile copies the original kernel folder (/boot/kernel) to /boot/kernel.old and /boot/kernel is replaced with the new one. when you boot up freebsd and you get to the boot screen - select option number 6. then enter the following commands: unload load /boot/kernel.old/kernel boot let me know if you make it into the OS and if you do - be sure and remove that nvidia option! ok i hope this help let me know of your status. -Ben Adam Stroud wrote: All: I updated my nvidia drivers from the ports collection (Using the WITH_LEGACY_GPU_SUPPORT option to add support for my GeFroce2 GTS). During the upgrade process, my machine rebooted on it's own and now when I boot I get the following error message: FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386 kernel trap 18 with interrupts disabled fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc689f8c stack pointer = 0x10:0xc1020c88 frame pointer = 0x10:0xc1020c9c code segment = base 0x0, 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL=0 current process = 0 () trap number = 18 panic: integer divide fault uptime: 1s Anyone have any ideas? A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
Chuck Swiger wrote: Nick Barnes wrote: [ ... ] 3c: Opinions on using firewire hard disks for this at all? Would I be better off writing DVDs? Hard drives provide near-online backup, but only a single full iteration. You can do incrementals to DVD or CD-RW or tape, and keep many iterations handy, which is far more reliable. A recent message on this list was from someone detailing the lengths they went to to prevent DVD backups from becoming unusable. A search on DVD ought to find it. Mind you, I have heard people say that DAT is unreliable whereas (fingers crossed) it has proved fine for me. 3. making backups. 3a: I'm used to dump/restore, but it seems to me that rsync might be a better tool for this, as it would allow me to mount and browse the backup. Opinions? This is good if you set up an entire system as a backup, although you could dual-purpose that box and have it act as a fileserver, proxy server, who knows, as well. I was planning something along these lines as well. My intention is to have an oldish box that I can rsync to at regular intervals (probably from filesystem snapshots) in such a way that this would a) provide data backup b) provide machine backup as well. In the meantime, it can be a web server or a gateway or whatever. Originally I was going to run a couple disks with hardware RAID 1, since the motherboard has twin SATA RAID controllers. But I think I'm changing my mind. I've always been a bit dubious of the advantage of RAID 1. Starting with two identical disks which came off the assembly line possibly within minutes of each other, then assuming that one fails, I believe that the odds of the second one also failing are greatly increased. And ghods forbid, the disks you get turn out to be the next Deskstar 60 (or was it 75?). Then there is the chance of controller failure. And then there's the knowing if one of your RAID 1 disks has actually failed. Unless there is a CLI for your RAID, or FreeBSD knows enough about it, one disk could fail and you might not even know it, especially if you don't reboot regularly, or don't watch the machine POST. On most desktop machines, you're stuck with one disk activity LED, which is no help. Even one LED per controller isn't good enough. So my new plan is to have two disks running RAID 0 and to rsync them regularly to a different kind of disk which isn't raided at all and which is on a different controller, as well as to the remote machine. If one of the raided disks fails, then I lose some amount of work, depending on how often an rsync is practical. I'm prepared to live with that risk given that I think RAID 0 will give great benefits in some of the long-winded, disk-intensive, database-y stuff I do. No doubt someone can tell me the error of my plan :-) So far, it is all theory. This is in addition to tape. David Kelly wrote: There are a few select files on the root filesystem which are unique to your system, everything else exists elsewhere such as on your installation CDROM. When you go to build your new filesystem keep a list of the files you tweak. Suggest placing it in /root/important_file_list. Be sure to list the important file list in your important file list. tar -cvzf /home/myaccount/backups/today.tar.gz -T /root/ important_file_list Size /usr sufficient for OS and application space but don't place critical data there. Make /home your redundant mirror and put everything critical there. Can't argue with the principle. Don't forget that there are system specific files on /usr/local as well. Most of it comes straight out of ports but there there are the config files, tweaked startup files, scripts in /usr/local/bin etc. Also, if you don't have a list of the ports you have, then /var/db becomes important as well. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP assigned unregistered IP address
Bob Hall wrote: However, note the When the Cable Modem is disconnected from the Internet... so the only reason it should be handing you the local IP is if it cannot talk back to the DHCP server it gets your real IP from. If Yea, that's pretty obvious. It's also pretty undesirable. Apparently, Motorola decided the checkbox was confusing and removed it, replacing it with this automatic behavior. Blea. Learning from Microsoft ;-) If it happens again, you might want to talk to your provider to find out *why*. Does this thing have any flashing lights on the front? There are LEDs, but they didn't indicate anything was wrong. There have been many reboots over the time I've been with this ISP, and this is the only time this happened. I'm not going to demand an explanation for a fluke. I just meant that it might indicate a fault somewhere in either your modem or (more likely) some of the hardware between it and the ISP. Somewhere I have a list of acceptable values for some of the (to me) impenetrable signal levels etc. which my 4100 can show me. At least if I see one of those is bad, then I know it's not my fault. If things don't return to normal in a while, then maybe it's worth contacting tech support or checking their status page (which I can only do because I still have a separate dial-up account for just such emergencies). Also if the 4100 can't reach the DHCP server, the green lights won't ever all come on, so it's pretty obvious when there is a fault. Of course, that might be because the local DHCP server has been turned off ;-) A better question is why the tech I talked to told me that the unregistered IP address wasn't a problem. But she did tell me that she was new, and generally the techs can distinguish between their cloacal anatomy and a geophysical excavation. My experience of virtually every large organisation is that there are two types of techs. The ones for whom their cloacal anatomy is indistinguishable from their articulatio cubiti, and the ones who actually know how to listen, diagnose a problem etc. With the rise in call centres, the former are becoming more prevalent, and it gets harder to get your problems referred to the latter. When the person you talk to has a script which doesn't go beyond turn if off; leave it for 30 seconds and turn it back on again, you are in trouble. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPFW+natd Cisco VPN tunnelling....
Hi, all-- I'm working on a new firewall running FreeBSD-5.4, IPFW, and natd for a small client network of about 50 boxes, using a single routable IP via a T1 link. They want to set up a Cisco 87x router as a VPN endpoint, my part is to set up forwarding of the VPN traffic via the firewall to this cisco. The firewall box is a Dell 2850 with dual Intel em NICs. Since I'm waiting for someone else to get that box up, I decided to check here whether my config is sane. I'm using a normal divert rule to forward traffic to natd, which is working fine, and have this as /etc/natd.conf: # NATD configuration options dynamic yes interface em1 #log yes log_denied yes use_sockets yes same_ports yes unregistered_only yes redirect_port tcp 192.168.1.2:www www redirect_proto gre ciscovpn redirect_port udp ciscovpn:500 500 redirect_port tcp ciscovpn:1 1 redirect_port tcp ciscovpn:pptp pptp ...where ciscovpn is obviously the hostname for the Cisco 870 box. Is there any way to convince natd to re-read the natd.conf file short of killing and restarting the daemon entirely? The manpage didn't say so, and kill -HUP terminates the process. -- -Chuck PS: It seems unfortunate that not including a natd_interface statement in rc.conf causes /etc/rc.firewall to not include a divert rule, but that can be corrected by using your own rules in a file and setting firewall_type. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
On Jul 15, 2005, at 11:01 AM, Chuck Swiger wrote: 3c: Opinions on using firewire hard disks for this at all? Would I be better off writing DVDs? Hard drives provide near-online backup, but only a single full iteration. You can do incrementals to DVD or CD-RW or tape, and keep many iterations handy, which is far more reliable. If you use dump/restore you can do iterative backups to a spare HD as well... Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
- /usr/ports/sysutils/smartmontools can help you monitor your HDDs - RAID 0 doubles the chances of HDD failure and thereby data loss - DVDs and CDs are chronically unreliable, see the 14/2005 issue of the German c't magazine where they tested CD/DVD burners and media and found out that a lot of media are neither burnable nor readable by a lot of CD/DVD drives - But since you need high performance on your HDDs and backup to tape, you're probably fine - A hybrid approach of backing up data to a separate box and to some removable media is probably the best. And, nowadays at least, not even that expensive, e.g. Mini-ITX boards are cheap and fast enough for this purpose. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
Chad Leigh -- Shire.Net LLC wrote: On Jul 15, 2005, at 11:01 AM, Chuck Swiger wrote: [ ... ] Hard drives provide near-online backup, but only a single full iteration. You can do incrementals to DVD or CD-RW or tape, and keep many iterations handy, which is far more reliable. If you use dump/restore you can do iterative backups to a spare HD as well... Sure. But a single spare HD is a single point of failure. Having one tape per week or per month going back 10 or 100 tapes gives much more redundancy -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cu terminal screen size - text not aligning properly
I am trying to install headless over a serial console using cu on another machine that I am connected to via SSH. system to be installed - cu session - working FreeBSD system - ssh session - local system (me) My problem is that the text for the install is not aligned properly making the options hard to read. Does anyone know what size I should set my terminal window to so the text appears correctly? I am installing using the FreeBSD black and white option if that matters any. Thanks for the help, -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP assigned unregistered IP address
On 7/15/05, Alex Zbyslaw [EMAIL PROTECTED] wrote: Bob Hall wrote: However, note the When the Cable Modem is disconnected from the Internet... so the only reason it should be handing you the local IP is if it cannot talk back to the DHCP server it gets your real IP from. If Yea, that's pretty obvious. It's also pretty undesirable. Apparently, Motorola decided the checkbox was confusing and removed it, replacing it with this automatic behavior. Blea. Learning from Microsoft ;-) If it happens again, you might want to talk to your provider to find out *why*. Does this thing have any flashing lights on the front? There are LEDs, but they didn't indicate anything was wrong. There have been many reboots over the time I've been with this ISP, and this is the only time this happened. I'm not going to demand an explanation for a fluke. I just meant that it might indicate a fault somewhere in either your modem or (more likely) some of the hardware between it and the ISP. Somewhere I have a list of acceptable values for some of the (to me) impenetrable signal levels etc. which my 4100 can show me. At least if I see one of those is bad, then I know it's not my fault. If things don't return to normal in a while, then maybe it's worth contacting tech support or checking their status page (which I can only do because I still have a separate dial-up account for just such emergencies). Also if the 4100 can't reach the DHCP server, the green lights won't ever all come on, so it's pretty obvious when there is a fault. Of course, that might be because the local DHCP server has been turned off ;-) A better question is why the tech I talked to told me that the unregistered IP address wasn't a problem. But she did tell me that she was new, and generally the techs can distinguish between their cloacal anatomy and a geophysical excavation. My experience of virtually every large organisation is that there are two types of techs. The ones for whom their cloacal anatomy is indistinguishable from their articulatio cubiti, and the ones who actually know how to listen, diagnose a problem etc. With the rise in call centres, the former are becoming more prevalent, and it gets harder to get your problems referred to the latter. When the person you talk to has a script which doesn't go beyond turn if off; leave it for 30 seconds and turn it back on again, you are in trouble. You must use comcast. :) --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
On Jul 15, 2005, at 1:15 PM, Chuck Swiger wrote: Chad Leigh -- Shire.Net LLC wrote: On Jul 15, 2005, at 11:01 AM, Chuck Swiger wrote: [ ... ] Hard drives provide near-online backup, but only a single full iteration. You can do incrementals to DVD or CD-RW or tape, and keep many iterations handy, which is far more reliable. If you use dump/restore you can do iterative backups to a spare HD as well... Sure. But a single spare HD is a single point of failure. Having one tape per week or per month going back 10 or 100 tapes gives much more redundancy Better yet -- using dump, backup to HD and then copy that dump file to tape or CD/DVD or another HD... I use 2 HDs and alternate which one I dump to each week. Chad -- -Chuck --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gettext won't install
i try to install devel/gettext-0.14.5 configure and compilation goes ok but while install i got such an error: install: .libs/libasprintf.so.0: No such file or directory *** Error code 71 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Three questions...
I'm working on a 5.4-REL test installation on my main desktop machine. Hardware specifics: MSI MS-6378 MB AMD Athalon 1800 @ 1536 256 MB memory 2 x Maxtor 30 GB drives Zip 100 ATA DVD-RW This will be a learning installation. I have some past experience with OS/2 Warp 3 and Redhat 5.1 (no, you don't get to guess my age) on much smaller drives. Q1: I have two drives, laid out as follows: Drive 1 /ad0a WinXP, NTFS, 16.06GB, primary /ad0e data, NTFS, 12.58GB, extended Drive 2 /ad1a currently empty, 14.36GB, primary (installation target) /ad1e /ad0 backup, NTFS, 14.27GB, extended I'd like to use XP's NTLDR to manage the dual boot process. I've seen the following trick for Linux ( www.redhat.com/advice/tips/dualboot.html): - Boot into Linux, copy the first sector of the boot partition as follows: dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1 - Move bootsect.lnx to WinXP root (C:\), and add the following line to boot.ini: C:\bootsect.lnx=Linux Does this approach work with FreeBSD? Logic says it should, given the similarities, but when has logic applied consistently to computers? Q2: Failing that, does anyone out there have any experience with PowerQuest's (now Symantec) BootMagic boot manager (p/o Partition Magic 8.0) and FreeBSD? The documentation indicated that it will recognize Linux partitions, but says nothing about FreeBSD. Q3: Partitioning Yes, I know you've seen several million questions on partitioning schemes. I've read up on it, and I'd like to get some feedback on this plan. All slices would be p/o ad1a, which has approx. 14,704MB free. / 128M /usr8192M /home 3312M /var1024M /tmp1024M swap1024M (4 x physical) Thanks in advance, | George Ruch | Is there life in Clovis after Clovis Man? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.336 / Virus Database: 267.8.15/49 - Release Date: 7/14/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
Chad Leigh -- Shire.Net LLC wrote: On Jul 15, 2005, at 1:15 PM, Chuck Swiger wrote: [ ... ] Sure. But a single spare HD is a single point of failure. Having one tape per week or per month going back 10 or 100 tapes gives much more redundancy Better yet -- using dump, backup to HD and then copy that dump file to tape or CD/DVD or another HD... I use 2 HDs and alternate which one I dump to each week. Agreed. Having an online backup location which then gets dumped to tape or some second place is excellent, since it makes restoring via rsync or whatever very easy. As someone else suggested, you can also stick things like config files into version control (like CVS, subversion, etc), and then back that up via the mechanism above. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP assigned unregistered IP address
On Fri, Jul 15, 2005 at 07:14:52PM +0100, Alex Zbyslaw wrote: Also if the 4100 can't reach the DHCP server, the green lights won't ever all come on, so it's pretty obvious when there is a fault. Of course, that might be because the local DHCP server has been turned off ;-) In this case, the green lights were on. It seems as though the failure to contact the DHCP server was only momentary, but just long enough to ensure that my gateway box was assigned an unregistered IP address by the modem. The order of events was roughly 1) DHCP server off line 2) Modem fails to contact server 3) Modem assigns unregistered IP address to FBSD box. 4) DHCP server comes back on line 5) I check modem lights, which are all green, since the modem can now communicate with the server. was new, and generally the techs can distinguish between their cloacal anatomy and a geophysical excavation. two types of techs. The ones for whom their cloacal anatomy is indistinguishable from their articulatio cubiti, and the ones who Damn. Trumped by medical Latin. I hate it when that happens. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
On Fri, Jul 15, 2005 at 01:27:41PM -0600, George Ruch wrote: Q2: Failing that, does anyone out there have any experience with PowerQuest's (now Symantec) BootMagic boot manager (p/o Partition Magic 8.0) and FreeBSD? The documentation indicated that it will recognize Linux partitions, but says nothing about FreeBSD. You haven't tried installing FreeBSD yet? I ask because the very simple boot block FreeBSD installs has always worked well for me. Then again the last Microsoft product I booted with it was either NT4 or Win98. Its elegant in that it waits about 10 seconds then proceeds to boot what ever selection you made the previous time. One selection is boot the next disk where control is transfered to what ever boot manager is on the next disk. FreeBSD can be on the 2nd drive and still bootable. The boot process simply hops from one drive to the next. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
George Ruch wrote: Q1: I have two drives, laid out as follows: Drive 1 /ad0a WinXP, NTFS, 16.06GB, primary /ad0e data, NTFS, 12.58GB, extended Drive 2 /ad1a currently empty, 14.36GB, primary (installation target) /ad1e /ad0 backup, NTFS, 14.27GB, extended I'd like to use XP's NTLDR to manage the dual boot process. I've seen the following trick for Linux ( www.redhat.com/advice/tips/dualboot.html): - Boot into Linux, copy the first sector of the boot partition as follows: dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1 - Move bootsect.lnx to WinXP root (C:\), and add the following line to boot.ini: C:\bootsect.lnx=Linux Does this approach work with FreeBSD? Logic says it should, given the similarities, but when has logic applied consistently to computers? I can't say anything about it, never done it, check google. Q2: Failing that, does anyone out there have any experience with PowerQuest's (now Symantec) BootMagic boot manager (p/o Partition Magic 8.0) and FreeBSD? The documentation indicated that it will recognize Linux partitions, but says nothing about FreeBSD. Why not use FreeBSD's boot manager? It's spartan and displays for Windows but works without fault. Otherwise gag.sourceforge.net is very recommendable and looks better too. Q3: Partitioning Yes, I know you've seen several million questions on partitioning schemes. I've read up on it, and I'd like to get some feedback on this plan. All slices would be p/o ad1a, which has approx. 14,704MB free. /128M /usr8192M /home3312M /var1024M /tmp1024M swap1024M (4 x physical) That setup looks pretty alright imho. I'd go for this here instead: More for /usr, less for swap, that gives / same /usrsame or more /home same /varsame swapRAM*2 lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
On Jul 15, 2005, at 2:01 PM, lars wrote: George Ruch wrote: Q1: I have two drives, laid out as follows: Drive 1 /ad0a WinXP, NTFS, 16.06GB, primary /ad0e data, NTFS, 12.58GB, extended Drive 2 /ad1a currently empty, 14.36GB, primary (installation target) /ad1e /ad0 backup, NTFS, 14.27GB, extended I'd like to use XP's NTLDR to manage the dual boot process. I've seen the following trick for Linux ( www.redhat.com/advice/tips/ dualboot.html): - Boot into Linux, copy the first sector of the boot partition as follows: dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1 - Move bootsect.lnx to WinXP root (C:\), and add the following line to boot.ini: C:\bootsect.lnx=Linux Does this approach work with FreeBSD? Logic says it should, given the similarities, but when has logic applied consistently to computers? I can't say anything about it, never done it, check google. I did something like that once with no problem. Can't comment on the specifics since it was a while ago but it did work. What happens in this case, I believe, is that the Windows Boot Manager then boots the FBSD boot manager. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP PCRE
Myron Turner wrote: I just installed FreeBSD 5.4 with PHP 5.0.3 for the express purpose of testing out a web-based application. I was wondering what the rationale is for excluding PCRE from the current php distribution.As I understand it, the PCRE extensions are included by default in PHP 5. This suggests that the FreeBSD organization opted not to include these. A search of mailing lists shows that people have been having problems because of this. For me, the solution is not to install a rebuilt php on my test machine, because I have to have the assurance that my application will run on any FreeBSD system. On FreeBSD you are given the option of installing a pure php with no extra bells or whistles. Then you can add the extensions you neeed using the php5-extensions metaport, which really just installs individual modules such as devel/php5-pcre. And, AFIAK, installing extensions afterwards does not require that you rebuild php5. I have had problems with this too - usually they amounted to forgetting about the extensions, because back then when I first used it, extensions was installed with the php base (I think this was with php 4.1?). As for reasoning: For security reasons or performance it may be wise to exclude what you don't use. pcre is not the fastest thing AFAIK. Now, I must add the disclaimer that I'm using php4 Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gettext won't install
Paweł Madej [EMAIL PROTECTED] writes: i try to install devel/gettext-0.14.5 configure and compilation goes ok but while install i got such an error: install: .libs/libasprintf.so.0: No such file or directory *** Error code 71 It builds fine for me on -STABLE, and installs that library. What is the rest of your system? See http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
David Kelly wrote: You haven't tried installing FreeBSD yet? I ask because the very simple boot block FreeBSD installs has always worked well for me. Then again the last Microsoft product I booted with it was either NT4 or Win98. I have, on both my smaller machine (K6-3/400, single 25GB drive) and on the big machine I described. On the little machine, it came up looking like a minimal LILO. It would boot XP correctly, but came up with '??' for the XP partition. Its elegant in that it waits about 10 seconds then proceeds to boot what ever selection you made the previous time. One selection is boot the next disk where control is transfered to what ever boot manager is on the next disk. FreeBSD can be on the 2nd drive and still bootable. The boot process simply hops from one drive to the next. I never got to that point on the big machine. After the first trial install, it rebooted into XP - no boot manager prompt. I'm thinking boot manager installed to the MBR of the second drive, which probably means I missed something in the partitioning or in sysinstall itself. As an alternative, I may just strip the little machine and set it up as full FreeBSD. That would give me time to get more comfortable with it while I sort out the 2-disk dual boot. Re BootMagic: It probably won't recognize any FreeBSD partition type. There are no references to FreeBSD in the Symantec support references, and PM started from the CD reported an error 108(IIRC) when the FreeBSD partition was present on the big machine. Apparently, it had trouble interpreting the partition table with an type 165 partition entry. - George Ruch -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.336 / Virus Database: 267.8.15/49 - Release Date: 7/14/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obtaining portsmanager meta package for alternate OS
On Fri, 15 Jul 2005 10:08:05 -0400 (EDT), Jacob A. Siehler [EMAIL PROTECTED] wrote: Try running configure then make just like any other linux program and see if it compiles, if it doesn't let me know what the error is. I understand Mac OS X is based on FreeBSD, does it have FreeBSD's port infrastructure? My Mac (OSX 10.2) doesn't have anything remotely resembling a port infrastructure installed as part of the OS. All the OSS that I've installed was done through what I will call binary 'bundles' mostly from .dmg files. They each provided their own installer (usually using the applescript langauge). The nearest OS X analogy to the ports system is fink: http://fink.sourceforge.net/ There is also DarwinPorts (http://darwinports.opendarwin.org/) and the NetBSD pkgsrc (http://www.pkgsrc.org/) system (which, IMHO, is more ports-like than Fink) also supports MacOS X (although I'm not sure if pkgsrc still has the requirement of a case-sensitive file system). DarwinPorts, pkgsrc, and Fink can co-exist on the same system. I use mainly DarwinPorts on a MacOS X Server system I use, with Fink sometimes to fill in the gaps when a port is missing from the DarwinPorts collection. Both DarwinPorts and Fink have an update mechanism. DarwinPorts supports multiple views of a package, too, allowing multiple versions to exist for those ports that require older/newer versions to build or run properly. If you're into GUIs, Fink has FinkCommander to scratch that itch. Cheers, Paul. -- e-mail: [EMAIL PROTECTED] Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid. --- Frank Vincent Zappa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
lars [EMAIL PROTECTED] wrote: George Ruch wrote: Q1: I have two drives, laid out as follows: Drive 1 /ad0a WinXP, NTFS, 16.06GB, primary /ad0e data, NTFS, 12.58GB, extended Drive 2 /ad1a currently empty, 14.36GB, primary (installation target) /ad1e /ad0 backup, NTFS, 14.27GB, extended I'd like to use XP's NTLDR to manage the dual boot process. I've seen the following trick for Linux ( www.redhat.com/advice/tips/dualboot.html): - Boot into Linux, copy the first sector of the boot partition as follows: dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1 - Move bootsect.lnx to WinXP root (C:\), and add the following line to boot.ini: C:\bootsect.lnx=Linux Does this approach work with FreeBSD? Logic says it should, given the similarities, but when has logic applied consistently to computers? I can't say anything about it, never done it, check google. I'll do that, and I may try something a bit simpler in the meantime. See my reply to David Kelley. It's spartan and displays for Windows but works without fault. Otherwise gag.sourceforge.net is very recommendable and looks better too. Thanks. I'll look into that. Q3: Partitioning [...] All slices would be p/o ad1a, which has approx. 14,704MB free. /128M /usr8192M /home3312M /var1024M /tmp1024M swap1024M (4 x physical) That setup looks pretty alright imho. I'd go for this here instead: More for /usr, less for swap, that gives / same /usr same or more /home same /var same swap RAM*2 In the meantime, I may strip the little machine (K6-3/400, 256MB RAM, single 25 GB drive) and start with something a bit simpler until I get more comfortable wit FreeBSD. So, following your model, expand /usr and /home proportionally and leave the rest as is. | George Ruch | Is there life in Clovis after Clovis Man? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.336 / Virus Database: 267.8.15/49 - Release Date: 7/14/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
Chuck Swiger wrote: Chad Leigh -- Shire.Net LLC wrote: On Jul 15, 2005, at 1:15 PM, Chuck Swiger wrote: [ ... ] Sure. But a single spare HD is a single point of failure. Having one tape per week or per month going back 10 or 100 tapes gives much more redundancy Better yet -- using dump, backup to HD and then copy that dump file to tape or CD/DVD or another HD... I use 2 HDs and alternate which one I dump to each week. Agreed. Having an online backup location which then gets dumped to tape or some second place is excellent, since it makes restoring via rsync or whatever very easy. As someone else suggested, you can also stick things like config files into version control (like CVS, subversion, etc), and then back that up via the mechanism above. How fitting, my HDD with FreeBSD on it just failed, RIP. But appr. 2h ago I backed up all my files to my storage server ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
George Ruch wrote: --- George Ruch [EMAIL PROTECTED] wrote: I'm working on a 5.4-REL test installation on my main desktop machine. Hardware specifics: MSI MS-6378 MB AMD Athalon 1800 @ 1536 256 MB memory 2 x Maxtor 30 GB drives Zip 100 ATA DVD-RW This will be a learning installation. I have some past experience with OS/2 Warp 3 and Redhat 5.1 (no, you don't get to guess my age) on much smaller drives. Q1: I have two drives, laid out as follows: Drive 1 /ad0a WinXP, NTFS, 16.06GB, primary /ad0e data, NTFS, 12.58GB, extended Drive 2 /ad1a currently empty, 14.36GB, primary (installation target) /ad1e /ad0 backup, NTFS, 14.27GB, extended I'd like to use XP's NTLDR to manage the dual boot process. I've seen the following trick for Linux ( www.redhat.com/advice/tips/dualboot.html): - Boot into Linux, copy the first sector of the boot partition as follows: dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1 - Move bootsect.lnx to WinXP root (C:\), and add the following line to boot.ini: C:\bootsect.lnx=Linux Does this approach work with FreeBSD? Logic says it should, given the similarities, but when has logic applied consistently to computers? Q2: Failing that, does anyone out there have any experience with PowerQuest's (now Symantec) BootMagic boot manager (p/o Partition Magic 8.0) and FreeBSD? The documentation indicated that it will recognize Linux partitions, but says nothing about FreeBSD. Q3: Partitioning Yes, I know you've seen several million questions on partitioning schemes. I've read up on it, and I'd like to get some feedback on this plan. All slices would be p/o ad1a, which has approx. 14,704MB free. / 128M /usr8192M /home 3312M /var1024M /tmp1024M swap1024M (4 x physical) Thanks in advance, | George Ruch | Is there life in Clovis after Clovis Man? Hi George I'd suggest backing up your MBR before starting anything This way, independent of the boot manager your choose, you can always (hopefully) get back to your current working one It's really easy, really small (512 bytes) and could save mega amounts of time/hair I boot with FreeBSD or Linux media from CDROM/Floppy to accomplish an MBR backup Media I've used include the FreeBSD fixit thingy, Knoppix, Linux installer CD's, RIP (Rescue is Possible) http://www.tux.org/pub/people/kent-robotti/looplinux/rip/ Here's a way to backup it up to a Dos formatted floppy FreeBSD Use FreeBSD 4.11 Disk2 or FreeBSD 5.4 Disk 1 Boot the CD, choose fixit, and choose CDROM Pop in the floppy and mount it FreeBSD 4.11 #mount_msdos /dev/fd0 /mnt FreeBSD 5.4 #mount_msdosfs /dev/fd0 /mnt Backup the MBR of the Primary ATA Master to floppy #dd if=/dev/ad0 of=/mnt/my.mbr bs=512 count=1 #umount /mnt Linux #mount -t msdos /dev/fd0 /mnt #dd if=/dev/hda of=/mnt/my.mbr bs=512 count=1 #umount /mnt Restoring the MBR is basically the reverse mount the floppy under /mnt #dd if=/mnt/my.mbr of=/dev/ad0 (or hda) bs=512 count=1 #umount /mnt The RIP floppy has scripts for this sorta thing making it pretty easy It would be really smart to experiment with a sacrificial lamb prior to your production machine I hope this helps Take care Steve Quinn __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
On Fri, 15 Jul 2005 14:17:51 -0700 (PDT), you wrote: [much good stuff snipped] The RIP floppy has scripts for this sorta thing making it pretty easy It would be really smart to experiment with a sacrificial lamb prior to your production machine. Looks like that's the way I'm headed. (evil grin) Hello, Junior... | George Ruch | Is there life in Clovis after Clovis Man? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.336 / Virus Database: 267.8.15/49 - Release Date: 7/14/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
Stephen Hilton wrote: Chuck Swiger wrote: [ ... ] Sure. But a single spare HD is a single point of failure. Having one tape per week or per month going back 10 or 100 tapes gives much more redundancy But were the tapes all generated by the same tape-drive? if so it is once again a potential single point of failure. The created tapes may not be readable by any other drive due to mis-alignment etc... if that tape drive fails, the data on the tapes is lost also. It is true that tape alignment problems can make tapes unreadable, but the frequency of that sort of problem varies a lot by format: helical scan tapes such as DAT tend to have a lot more problems then linear formats like DLT or LTO/Ultrium. It is also a lot more likely that a data recovery company can make something out of a backup tape written by a misaligned drive than what you usually get from a blown hard drive. People design tapes, tape drives, and the on-media data format against the common sources of tape read errors, in part by using ECC prudently (again, the quality here can vary by format, and by the backup software being used). -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
identifying filesystem blocks (was Re: better disk reliability on a desktop machine)
At 2005-07-15 17:01:18+, Chuck Swiger writes: Nick Barnes wrote: [ ... ] I don't want to have to do all that ever again, after this iteration. You've had a learning experience, I see. :-) Yeah, and I've had them before, and this time enough is enough. On a related subject, the last time I lost a disk, or maybe the time before, I asked on one of these lists whether there is a tool which will identify the files (or inodes, or other filesystem metadata) which are affected by one or more bad blocks. At the time I was told that there is no such tool, and started to write my own. Maybe this time around I'll finish the tool and distribute it. Semi-automated binary-chop use of dd tells me that the following blocks in my filesystem are broken: 65255940, 65255941, 65255942, 65255943, 65255944, 65255954, 65255965, 65256256, 65257133, 65257134, 65257514, 66713152, 66713158, 66713164, 66713536, 66713537, 66714306, 66714308, 66715648, 66715650 but without a suitable tool this information is useless. Incidentally, two weeks ago I recovered a broken filesystem on a 4.10 server machine by dd'ing the working sectors (i.e. all but 2) onto a freshly newfs'ed partition. The broken filesystem wouldn't fsck at all: some metadata was lost to a bad sector and fsck borked out in phase 2. But after the dd's (i.e. with those bad sectors replaced with metadata fresh from newfs), fsck told me that the recovered filesystem was fine. As it happens, the filesystem was the repository for an SCM system (Perforce) with internal checksums: after recovery we checked those out and they all passed. One interesting aspect of that war story is that I got one of the dd commands wrong the first time, and tried to fsck a filesystem which was partly Just Plain Missing. The whole system went down: network connections dropped and completely unresponsive at console, including ctrl-C, ctrl-T, alt-Fn, and ctrl-alt-del. It seems to me that fsck shouldn't be able to do that Nick Barnes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
At 2005-07-15 17:01:18+, Chuck Swiger writes: Nick Barnes wrote: [ ... ] I don't want to have to do all that ever again, after this iteration. You've had a learning experience, I see. :-) Here are my previous questions on the related subject, some 4 years ago now: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=872461+0+archive/2001/freebsd-questions/20010617.freebsd-questions Nick B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP assigned unregistered IP address
Hornet wrote: On 7/15/05, Alex Zbyslaw [EMAIL PROTECTED] wrote: When the person you talk to has a script which doesn't go beyond turn if off; leave it for 30 seconds and turn it back on again, you are in trouble. You must use comcast. :) Actually, Blueyonder/Telewest. The same madness exists both sides of the Atlantic :-( --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
install Apache1 and Apache2 on the same server
Greetings, I have FreeBSD box that runs Apache1 from ports. Now I'd like to install Apache2 from ports (and run it on different IP), without overwriting httpd binary of Apache1. What would be the correct, port-friendly :) way to do it? (I also use portupgrade, it would be nice if portupgrade will still be able to upgrade both ports) Any tips or pointers to man pages are appreciated. Thanks! -- Ksenia ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
lars wrote: -/usr/ports/sysutils/smartmontools can help you monitor your HDDs But if your disk is a hardware RAID of any kind, and you cannot see through the controller to individual disks, then you'll only be told about one of the disks, I would presume. That's where a CLI comes in, but I think they are scarce for the low-end controllers you see on desktop systems. Or just rebooting daily and hoping the RAID BIOS will report a SMART error in time. Even given that, smartmontools should be on everyone's list of must have ports. -RAID 0 doubles the chances of HDD failure and thereby data loss Agreed. But my presumption is that the actual chances of hardware failure are pretty small. Out of all the disks I've been responsible for in some way over the years (certainly hundreds), the actual number of failures I can remember is about a handful, and at least two of those came with some warning. Actually, I suspect a RAID 0 more than doubles the chance something bad happening. A single bad disk may be just good enough to be recoverable in some way, whereas the same errors in a RAID 0 could be curtains. I certainly wouldn't do 0 without a frequent, automatic back-up strategy on anything which wasn't truly disposable. e.g. Mini-ITX boards are cheap and fast enough for this purpose. Or the PC you just replaced which now has an ebay value of not-enough-to-be-worth-it... :-) The real expense is usually time. Especially for home-based machines, backups become a chore, or you're up until 2am and just can't be bothered turning on the tape drive or whatever. And a disk just drive knows when it hasn't been backed up recently ;-) --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: better disk reliability on a desktop machine
Nick Barnes wrote: Here are my previous questions on the related subject, some 4 years ago now: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=872461+0+archive/2001/freebsd-questions/20010617.freebsd-questions Shame no-one answered your badsect question. Did you ever figure it out? --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW+natd Cisco VPN tunnelling....
Chuck Swiger wrote: Is there any way to convince natd to re-read the natd.conf file short of killing and restarting the daemon entirely? The manpage didn't say so, and kill -HUP terminates the process. If there was, I would expect /etc/rc.d/natd to support a reload option, but I don't see one. You could try it, but if not then I suggest sh /etc/rc.d/natd restart Can't help on VPN, I'm afraid. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP assigned unregistered IP address
Bob Hall wrote: two types of techs. The ones for whom their cloacal anatomy is indistinguishable from their articulatio cubiti, and the ones who Damn. Trumped by medical Latin. I hate it when that happens. :) Well, one has to rise to a challenge :-) (And I'll admit cheating and using wordnet http://wordnet.princeton.edu/perl/webwn) --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
George Ruch wrote: On the little machine, it came up looking like a minimal LILO. It would boot XP correctly, but came up with '??' for the XP partition. It says ?? but boots XP just fine. If you care about the cosmetics then I posted a patch which makes it say DOS instead, a while ago, done out of curiosity more than caring. I only *know* it works for non-serial consoles, in that I haven't compiled it with the relevant serial #defined so don't know that it's under 512 bytes. It also incorporates a patch from elsewhere to turn off the beep. http://www.freebsd.org/cgi/getmsg.cgi?fetch=1506483+1512204+/usr/local/www/db/text/2005/freebsd-questions/20050612.freebsd-questions --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems since 5.3-RELEASE-p15
Tuc at T-B-O-H wrote: I assume there are no other messages obvious errors in /var/log/messages? Nope, I have debug turned all the way up... And just out of the blue on the 9th at 3am I see : Jul 9 03:01:30 himinbjorg kernel: pid 49967 (mailwrapper), uid 0: exited on sig nal 11 (core dumped) SMART overall-health self-assessment test result: PASSED Sorry, I think I'm fresh out of ideas. Since no-one else is chiming in, it might be worth trying a fresh message with a fresh subject and just try and summarise the problems. Someone out there must have more experience of finding hardware faults than I do. (I still think it must be hardware. The intermittent faults in a variety of bits of software just scream that. The combination of core dumps and the ld.so error are interesting and should be a clue, but I don't know how to interpret it). Best, --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't mount floppy
Olga Zenkova wrote: I can't mount floppy on FreeBSD 5.4. I run the usual command: mount -t msdos /dev/fd0 /mnt and get /dev/fd0: No such file or directory When the kernel loads I see: fdc0: floppy drive controller port ... on acpi0 What does it mean? In case you the device node /dev/fd0 exists you'll find further information in /var/log/messages. If not then show /var/run/dmesg.boot completely. Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Three questions...
On Sat, 16 Jul 2005 01:18:31 +0100, you wrote: George Ruch wrote: On the little machine, it came up looking like a minimal LILO. It would boot XP correctly, but came up with '??' for the XP partition. It says ?? but boots XP just fine. If you care about the cosmetics then I posted a patch which makes it say DOS instead, a while ago, done out of curiosity more than caring. [...] Thanks for the reference. It told me, among other things, what happened during the initial test install on the big machine. It's not a high priority at the moment, though, since I'll be sacrificing Junior to the cause. Thanks, | George Ruch | Is there life in Clovis after Clovis Man? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.336 / Virus Database: 267.8.15/49 - Release Date: 7/14/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]