Re: Zabbix Port
Norberto Meijome wrote: On Fri, 22 Sep 2006 09:56:58 +0800 David Schulz [EMAIL PROTECTED] wrote: The /usr/ports/net-mgmt/zabbix Port consists out of two components, Server and Agent. I would like to install the Agent only, so it shouldnt need all these large dependencies such as mysql etc, but i cant figure out how to do that. I skimmed trough the Makefile, and it mentions things about ZABBIX_AGENT_ONLY , but i can figure out how to turn that knob. Can anyone tell me please? Hi David, you need to define the value you see in the makefile when building the port. so, cd /usr/ports/net-mgmt/zabbix sudo make -DZABBIX_AGENT_ONLY install and you should be set. You can check the output of the build and figure out if something is not going to plans... B snip David, Perhaps an easier alternative would be to use /usr/ports/net/zabbix-agent, which will gve you the client install only. If done this way portupgrade et al shouldnt revert to building the full package, which they seem to if you use a make flag to build the client portion only. Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adaptec 1200A atacontrol
Hello, recently i have had a problem with one of the disks attached to an Adaptec 1200A RAID controller doing a 0+1 RAID. After replacing the disk and rebuilding the array FreeBSD says the array is degraded, marking the new disk and the other in the same channel as FREE. Is there anything needed to do with atacontrol to make FreeBSD recognize the array? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Serial port speed Terminal configuration
Hi, I've just installed a nanobsd soekris box next to the serial port of my server, in order to be able to boot in single-mode from a remote network location. Everything runs fine, except two things: 1) I am unable to connect to the server with anything else than 9600 bds. I've tried setting ttyd0 /usr/libexec/getty std.57600 dialup on secure ... on the server, and using cu -l/dev/cuad0 -s57600 ... on the client, but without luck: I get strange characters on my ssh terminal (putty on windows) Working at 9600bds is really slow, I'd appreciate a little more speed... 2) vi and ee do not work well through this remote access connection. All lines are mixed-up. Is there a terminal configuration that could help here? Thanks! --- Philippe Lang Attik System smime.p7s Description: S/MIME cryptographic signature
Re: next episode, continuing saga
On Friday 22 September 2006 02:33, Bill Moran wrote: jekillen [EMAIL PROTECTED] wrote: Hello again; With FreeBSD and in general, If the monitor is turned off is it safe to disconnect it from the machine while the machine is running? AMD64 socket 754 with separate PCI video card on ECS motherboard; no Xwindows installed. if it makes a difference. want to run the machine headless without shutting it down to switch the monitor to another machine. Yes. It's safe to do that with any OS I'm familiar with. And the keyboard mouse too. -- //| //| // |// | // // | // // -- [EMAIL PROTECTED] http://www.ipad.com.br (FreeBSD since 2.2.8 - 100% Rwindows-free) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Partitions???
You need to check out the gparted-livecd. This will allow you to grow or shrink partitions, just like Partition Magic. It should work with all the filesystems in question here. I have recently used it and will never go back to Partition Magic. http://gparted.sourceforge.net/features.php Once you have performed a shrink, you will have additional unpartitioned space where you can load another OS if you want. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of xnow xsnow Sent: Friday, September 22, 2006 1:54 AM To: Jerry McAllister Cc: freebsd-questions@freebsd.org Subject: Re: Partitions??? Now, some people sometimes leave a chunk of disk that is not allocated in any of the primary slices with the thought of adding another bootable OS at some later time. But that is a different story. And even then, if what you are doing unexpectedly uses up your space, you would just create another FreeBSD slice in that held out space and put a nice large single partition in and move some things there and make a link. It is so much easier than resizing and risking losing stuff as in other unnamed systems. Yea, more like that...I have many machines in my work, they have linux reiserfs partitions, ext3...some FAT32, ntfs, and they are in full disk, and i want to install fbsd there without any lose of any data. When you said you should create another fbsd slice(...) then make a link but these machines have no fbsd partition and never had, nor any other partition besides the only one used by this other system, like a 60GB disk with full with only only partition, like fat32. I think growfs wouldn't help then. the other part I understood that 'boot0cfg -B ad0' would try to detect all of it automatic, and yes in my situation it is ad0. But since we have many different systems here, I am afraid some of them don't get detected, is there any possibility?like windows xp, windows 98, solaris, linux, I don't even know all of them, and if so, any of them don't get detected automatic after boot0cfg -B ad0 i would not have any idea of what to do. On linux we have /etc/lilo.conf which i have manually full acess and makes me be able to add anything, on fbsd i don't know... But if you tell me it is able to detect anything automatic, I'd leave this fear away and have fun tomorrow. Thanks for your reply. - Yahoo! Search Música para ver e ouvir: You're Beautiful, do James Blunt ___ 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]
make installworld fails error 126
Hello All, I have always had this problem on the one or two (web) servers that I have a separate /tmp partition defined. I found the answer a long time ago to unmount /tmp and try again and that always works.. but I've never found a way to make installworld with a separate /tmp partition on my systems. Is there a way? Is it something I'm doing? Is it the nosuid? or noexec? Can I tell installworld to use /var/tmp instead? ..etc.. Ultimately I am looking to be able to 'make installworld' like I do on my other boxes.. if I need something in /etc/make.conf to tell it not to use /tmp what is it.. b/c I've not found it.. [~]$ 2 grep tmp /etc/fstab /dev/ad0s1f /tmpufs rw,nosuid,noexec2 2 Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next episode, continuing saga
Mario Lobo wrote: On Friday 22 September 2006 02:33, Bill Moran wrote: jekillen [EMAIL PROTECTED] wrote: Hello again; With FreeBSD and in general, If the monitor is turned off is it safe to disconnect it from the machine while the machine is running? AMD64 socket 754 with separate PCI video card on ECS motherboard; no Xwindows installed. if it makes a difference. want to run the machine headless without shutting it down to switch the monitor to another machine. Yes. It's safe to do that with any OS I'm familiar with. And the keyboard mouse too. I've never had any issues, provided I set the option to NOT halt on keyboard errors at boot in the bios. Best regards, Greg Groth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installworld fails error 126
B. Cook wrote: Hello All, I have always had this problem on the one or two (web) servers that I have a separate /tmp partition defined. I found the answer a long time ago to unmount /tmp and try again and that always works.. but I've never found a way to make installworld with a separate /tmp partition on my systems. Is there a way? Is it something I'm doing? Is it the nosuid? or noexec? Can I tell installworld to use /var/tmp instead? ..etc.. Ultimately I am looking to be able to 'make installworld' like I do on my other boxes.. if I need something in /etc/make.conf to tell it not to use /tmp what is it.. b/c I've not found it.. [~]$ 2 grep tmp /etc/fstab /dev/ad0s1f /tmpufs rw,nosuid,noexec2 2 ^^ There's your problem. make buildworld needs to be able to execute programs that it writes into /tmp. Simply re-mount /tmp without the noexec flag and all should be well. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK signature.asc Description: OpenPGP digital signature
Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
I must have dome something wrong setting up a FreeBSD5.4 system, but I haven't a clue as to what. The script is called save-entropy, a great idea, but it acts as if lots of the configuration it needs is missing. I do have ipfw running and it got all the rules I put in to it via a rule-setting script called in rc.conf.local but the message that cron generates every eleven minutes shows that something is very unhappy. For now, I simply commented out the save-entropy run for a bit of peace and quiet, but the entropy is now not being updated which is not a good thing. What do I need to look at to fix this properly? Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group --- Forwarded Message Date:Fri, 22 Sep 2006 08:55:00 CDT From:[EMAIL PROTECTED] (Cron Daemon) Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy ipfw: not found That repeats 15 more times. --- End of Forwarded Message ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next episode, continuing saga
On Fri, Sep 22, 2006 at 07:41:02AM +, Mario Lobo wrote: And the keyboard mouse too. Actually, not quite. If the keyboard and mouse are PS/2, then they are not technically hot-swappable. Lots of people get away with it just fine, but every now and then someone fries a keyboard controller hot-plugging PS/2 peripherals. If they're USB, fine...PS/2, not so fine. Lots of people get away with it, but hot-swap/plug is not part of the PS/2 spec...So don't complain if something breaks. Thanks, Josh -- Josh Tolbert [EMAIL PROTECTED] || http://www.puresimplicity.net/~hemi/ Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing. -- Helen Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next episode, continuing saga
On 22 September 2006, at 09:24, Greg Groth wrote: Mario Lobo wrote: On Friday 22 September 2006 02:33, Bill Moran wrote: jekillen [EMAIL PROTECTED] wrote: Hello again; With FreeBSD and in general, If the monitor is turned off is it safe to disconnect it from the machine while the machine is running? AMD64 socket 754 with separate PCI video card on ECS motherboard; no Xwindows installed. if it makes a difference. want to run the machine headless without shutting it down to switch the monitor to another machine. Yes. It's safe to do that with any OS I'm familiar with. And the keyboard mouse too. The keyboard and mouse are NOT supposed to be hot plugged if they are PS/2 (although I must admit I haven't had any issues, but I wouldn't risk a dead PS/2 controller on a production box). USB ones don't care. The neat thing about that is you can have your machine boot with no keyboard, you can plug in a USB one and then hook up a monitor and have a head all of a sudden. This is handy when your box's sshd dies for some reason, which has happened to me once... I've never had any issues, provided I set the option to NOT halt on keyboard errors at boot in the bios. Best regards, Greg Groth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- hackmiester (Hunter Fuller) svinx yknow when you go to a party, and everyones hooked up except one guy and one girl svinx and so they look at each other like.. do we have to? svinx intel nvidia must be lookin at each other like that right now Phone Voice: +1 251 589 6348 Fax: Call the voice number and ask. Email General chat: [EMAIL PROTECTED] Large attachments: [EMAIL PROTECTED] SPS-related stuff: [EMAIL PROTECTED] IM AIM: hackmiester1337 Skype: hackmiester31337 YIM: hackm1ester Gtalk: hackmiester MSN: [EMAIL PROTECTED] Xfire: hackmiester ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is /boot/device.hints required if kernel is built with hints?
I was trying to build a kernel with statical device hints by uncommenting the following line in my kernel configuration file: # To statically compile in device wiring instead of /boot/device.hints hints VT.hints # Default places to look for devices. Before doing this I moved /boot/device.hints to another location. when I do #make install I get You must set up a /boot/device.hints file first. *** Error code 1 Stop in /usr/src/sys/i386/compile/VT. Why do I need /boot/device.hints if I have the hints in the kernel? thanks anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next episode, continuing saga
Josh Tolbert writes: Actually, not quite. If the keyboard and mouse are PS/2, then they are not technically hot-swappable. Lots of people get away with it just fine, but every now and then someone fries a keyboard controller s/keyboard controller/keyboard controller or even motherboard/ Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next episode, continuing saga
hackmiester (Hunter Fuller) wrote: On 22 September 2006, at 09:24, Greg Groth wrote: Mario Lobo wrote: On Friday 22 September 2006 02:33, Bill Moran wrote: jekillen [EMAIL PROTECTED] wrote: Hello again; With FreeBSD and in general, If the monitor is turned off is it safe to disconnect it from the machine while the machine is running? AMD64 socket 754 with separate PCI video card on ECS motherboard; no Xwindows installed. if it makes a difference. want to run the machine headless without shutting it down to switch the monitor to another machine. Yes. It's safe to do that with any OS I'm familiar with. And the keyboard mouse too. The keyboard and mouse are NOT supposed to be hot plugged if they are PS/2 (although I must admit I haven't had any issues, but I wouldn't risk a dead PS/2 controller on a production box). USB ones don't care. The neat thing about that is you can have your machine boot with no keyboard, you can plug in a USB one and then hook up a monitor and have a head all of a sudden. This is handy when your box's sshd dies for some reason, which has happened to me once... I've never had any issues, provided I set the option to NOT halt on keyboard errors at boot in the bios. Best regards, Greg Groth I've never hot-swapped a keyboard, although I have unplugged one from a running machine with no issues. Best regards, Greg Groth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next episode, continuing saga
On 22 September 2006, at 10:03, Robert Huff wrote: Josh Tolbert writes: Actually, not quite. If the keyboard and mouse are PS/2, then they are not technically hot-swappable. Lots of people get away with it just fine, but every now and then someone fries a keyboard controller s/keyboard controller/keyboard controller or even motherboard/ Really? I've never seen a mobo... well, you learn something new every day. :-D Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- hackmiester (Hunter Fuller) svinx yknow when you go to a party, and everyones hooked up except one guy and one girl svinx and so they look at each other like.. do we have to? svinx intel nvidia must be lookin at each other like that right now Phone Voice: +1 251 589 6348 Fax: Call the voice number and ask. Email General chat: [EMAIL PROTECTED] Large attachments: [EMAIL PROTECTED] SPS-related stuff: [EMAIL PROTECTED] IM AIM: hackmiester1337 Skype: hackmiester31337 YIM: hackm1ester Gtalk: hackmiester MSN: [EMAIL PROTECTED] Xfire: hackmiester ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next episode, continuing saga
On Fri, Sep 22, 2006 at 10:27:11AM -0500, hackmiester (Hunter Fuller) wrote: Really? I've never seen a mobo... well, you learn something new every day. :-D Yeah, I'd never seen a whole motherboard get toasted cause of that, but I suppose it could happen. Thanks, Josh -- Josh Tolbert [EMAIL PROTECTED] || http://www.puresimplicity.net/~hemi/ Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing. -- Helen Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help about dynamic rule dummynet
Hi, I've old problem with dynamic rule dummynet. I've internet cafe and of couse they could using download accelerator for download large file from HTTP/FTP server. In this case they use Freshget or something like that. In /etc/rc.firewall I have rule like: # Downstream for client ipcl=192.168.0.0/24{1,10,11,12,13,14,50} bwdown=68Kbit/s ${fwcmd} add 52 queue 1 ip from any to ${ipcl} out via ${ifint} ${fwcmd} queue 1 config weight 5 pipe 2 mask dst-ip 0x00ff ${fwcmd} pipe 2 config bw ${bwdown} # Upstream for client bwup=36Kbit/s ${fwcmd} add 53 queue 2 ip from ${ipcl} to any in via ${ifint} ${fwcmd} queue 2 config weight 5 pipe 3 mask src-ip 0x00ff ${fwcmd} pipe 3 config bw ${bwup} My LAN using private ip address block C (192.168.0.0/24), my client's ip address 192.168.0.1, 192.168.0.10 - 192.168.0.14, ${ifint} is inside interface, also I use 4.10-STABLE FreeBSD. This illustration with output iftop: www.yahoo.com= client10.example.com 1.91Kb 1.93Kb 1.82Kb www.hotmail.com = client11.example.com 1.90Kb 1.91Kb 1.80Kb www.friendster.com = client12.example.com 1.50Kb 1.52Kb 1.51Kb www.geocities.com= client13.example.com 1.60Kb 1.64Kb 1.61Kb www.geocities.com= client14.example.com 1.54Kb 1.57Kb 1.53Kb ftp.freebsd.org = client01.example.com 10.92Kb 10.90Kb 10.89Kb ftp.freebsd.org = client01.example.com 11.87Kb 11.91Kb 11.90Kb ftp.freebsd.org = client01.example.com 12.88Kb 12.91Kb 12.89Kb ftp.freebsd.org = client01.example.com 10.70Kb 10.72Kb 10.71Kb ftp.freebsd.org = client01.example.com 10.75Kb 10.78Kb 10.77Kb If 192.168.0.1 using accelerator to download large file and splited to 5 file simultantly, the client's (192.168.0.10 - 192.168.0.14) will exhausted bandwidht. How to resolve this problem, any suggestion? TIA -- budsz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Creating a bootable CD with CD Loader
Hi, I'm looking to create my own custom boot CD that will be used to bootstrap fully encrypted system using GEOM ELI. All the CD needs to do is load a kernel to initialize the encrypted root partition on the HDD, and read a key file to decrypt it. Ive looked at some tutorials for creating your own boot CD's but often they seem overly complicated or old. It seems to me the easiest way to do this is either: To use one of the FreeBSD floppy images and get it to boot from CD correctly. Or to use the CD Loader that the the distributed FreeBSD CD's use. I ripped the CD Loader image out of one of the FreeBSD 6.1 CD's, and it seems to work as wanted. It loads the kernel from the system I'm running at the moment, I just put my current /boot directory on the CD (although it doesn't fully boot, i guess it just needs some config changes). But I'm a little wary of using something that i don't really understand. Rather than just ripping the CD Loader out of an already made ISO i would be interested in knowing how it is created. So i could create a bootable CD without needing to borrow parts from a distributed one, and get a better idea of how it works. Any help appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
Martin McCormick writes: I must have dome something wrong setting up a FreeBSD5.4 system, but I haven't a clue as to what. This is still Martin McCormick. I haven't found exactly what I did yet, but I remembered that I do have a second 5.4 box and it appears to be fine so I can probably solve this after some digging. Sorry to waste anybody's time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is /boot/device.hints required if kernel is built with hints?
On Fri, Sep 22, 2006 at 03:59:45PM +0100, Anton Shterenlikht wrote: I was trying to build a kernel with statical device hints by uncommenting the following line in my kernel configuration file: # To statically compile in device wiring instead of /boot/device.hints hints VT.hints # Default places to look for devices. Before doing this I moved /boot/device.hints to another location. when I do #make install I get You must set up a /boot/device.hints file first. *** Error code 1 Stop in /usr/src/sys/i386/compile/VT. Why do I need /boot/device.hints if I have the hints in the kernel? You don't, but the test doesn't check whether it's compiled in to the kernel. Just make an empty file. Kris pgplIMBx8cIPp.pgp Description: PGP signature
Re: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
Quoting Martin McCormick [EMAIL PROTECTED]: I must have dome something wrong setting up a FreeBSD5.4 system, but I haven't a clue as to what. The script is called save-entropy, a great idea, but it acts as if lots of the configuration it needs is missing. I do have ipfw running and it got all the rules I put in to it via a rule-setting script called in rc.conf.local but the message that cron generates every eleven minutes shows that something is very unhappy. For now, I simply commented out the save-entropy run for a bit of peace and quiet, but the entropy is now not being updated which is not a good thing. What do I need to look at to fix this properly? Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group --- Forwarded Message Date:Fri, 22 Sep 2006 08:55:00 CDT From:[EMAIL PROTECTED] (Cron Daemon) Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy ipfw: not found That repeats 15 more times. --- End of Forwarded Message Seems you have a line containing only ipfw in your rc.conf. Comment it out or remove it. save-entropy relies on files specified in rc.conf. ___ 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: 2005/08/10 02:21:44 $ 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 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. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next episode, continuing saga
On Friday 22 September 2006 15:36, Josh Tolbert wrote: On Fri, Sep 22, 2006 at 10:27:11AM -0500, hackmiester (Hunter Fuller) wrote: Really? I've never seen a mobo... well, you learn something new every day. :-D Yeah, I'd never seen a whole motherboard get toasted cause of that, but I suppose it could happen. Thanks, Josh That's why I never by lottery tickets. In over 2 decades working with PCs, the only time I saw a crash (not a toast!) was when I unplugged a keyboard from a PC-XT. The AT boards didn't do that anymore. And beleive me, I have done these swapings many,many,many,many, many times over, continued using the machine and NEVER smelled anything burning. But a new thing is a new thing and I am a fast learner, so, agreeing with Josh, I too suppose it could happen. -- //| //| // |// | // // | // // -- [EMAIL PROTECTED] http://www.ipad.com.br (FreeBSD since 2.2.8 - 100% Rwindows-free) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bug in 6.1 acpi?
(Please respond directly, as I am not subscribed) I've asked about this error message before, but this has gotten serious. Not sure if it's related, but this server keeps spontaneously having what appear to be power events every 13-40 hours or so. No errors or panic messages or core dumps. The system has dual power supplies and was rock stable running 4.X. The problem only started occuring after upgrading to 6.1-STABLE. Could it be related to this DMESG? : acpi0: PTLTD RSDT on motherboard acpi0: Power Button (fixed) acpi: bad write to port 0x070 (8), val 0x43 acpi: bad read from port 0x071 (8) The hardware is an Intel L440GX+ MB with dual 1Ghz CPUs with SMP (I tried a kernel without SMP, but it didn't help), 1GB ECC RAM, 1GB Swap, Adaptec 2100 SCSI RAID level 1. It apppears to be lightly loaded in terms of CPU and RAM. This server is in production, so any advice would be greatly apppreciated. James Smallacombe PlantageNet, Inc. CEO and Janitor [EMAIL PROTECTED] http://3.am = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 and NFS
Hi, Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still able to run adduser and so on ? Safely? No. But then, flock() doesn't work via NFS even if rpc.lockd is running, so you aren't any worse off. flock() .. hmm yeah, I discoverd trouble with sendmail as well, it rings my bell. At least I know where to look for digging in the code finding clues about why. You say flock() doesn't work with rpc.lockd running. I observed running a pxe client running fbsd 5.[45] being served by nfs-box running 5 (and 4 nowadays because of asr0 trouble due to geom) having disabled rpc.lockd the box doens't let me run adduser, but with rpc.lockd enabled it's fine with 'em. Is that strange or am I missing (some) insight about this matter ? However, I believe that some systems have actually re-implemented the BSD flock() call in terms of calling the POSIX lockf(), which would attempt to use rpc.lockd and thus have some chance of working over NFS. I believe this was done in Linux by Andy Walker and for MacOS X by Justin Walker (odd naming coincidence, there), IIRC; perhaps some of these changes have made their way back to the other BSDs. Interesting observation. Thx for your reply ! Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bug in 6.1 acpi?
[EMAIL PROTECTED] wrote: (Please respond directly, as I am not subscribed) I've asked about this error message before, but this has gotten serious. Not sure if it's related, but this server keeps spontaneously having what appear to be power events every 13-40 hours or so. No errors or panic messages or core dumps. The system has dual power supplies and was rock stable running 4.X. The problem only started occuring after upgrading to 6.1-STABLE. Could it be related to this DMESG? : acpi0: PTLTD RSDT on motherboard acpi0: Power Button (fixed) acpi: bad write to port 0x070 (8), val 0x43 acpi: bad read from port 0x071 (8) The hardware is an Intel L440GX+ MB with dual 1Ghz CPUs with SMP (I tried a kernel without SMP, but it didn't help), 1GB ECC RAM, 1GB Swap, Adaptec 2100 SCSI RAID level 1. It apppears to be lightly loaded in terms of CPU and RAM. This server is in production, so any advice would be greatly apppreciated. James, When you say power events, what exactly are we talking about here? Does the system just shut down, does it power down cleanly, or is it spontaneously rebooting? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Savecore Errors?
I have noticed the following messages when booting up my laptop recently. Can anyone explain this to me, if it is good or bad (it looks bad), and how I can correct it? Sep 19 08:57:54 xtop savecore: reboot after panic: vinvalbuf: dirty bufs Sep 19 08:57:54 xtop savecore: no dump, not enough free space on device (232748 available, need 753090) Sep 19 08:57:54 xtop savecore: unsaved dumps found but not saved I don't want to have dirty bufs any more! :) Jeff Cross http://www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bug in 6.1 acpi?
On Fri, 22 Sep 2006, Drew Sanford wrote: [EMAIL PROTECTED] wrote: (Please respond directly, as I am not subscribed) I've asked about this error message before, but this has gotten serious. Not sure if it's related, but this server keeps spontaneously having what appear to be power events every 13-40 hours or so. No errors or panic messages or core dumps. The system has dual power supplies and was rock stable running 4.X. The problem only started occuring after upgrading to 6.1-STABLE. Could it be related to this DMESG? : acpi0: PTLTD RSDT on motherboard acpi0: Power Button (fixed) acpi: bad write to port 0x070 (8), val 0x43 acpi: bad read from port 0x071 (8) The hardware is an Intel L440GX+ MB with dual 1Ghz CPUs with SMP (I tried a kernel without SMP, but it didn't help), 1GB ECC RAM, 1GB Swap, Adaptec 2100 SCSI RAID level 1. It apppears to be lightly loaded in terms of CPU and RAM. This server is in production, so any advice would be greatly apppreciated. James, When you say power events, what exactly are we talking about here? Does the system just shut down, does it power down cleanly, or is it spontaneously rebooting? Spontaneously rebooting. NOT cleanly, but so far, it has come back up every time. I'm not sure how high the risk is for serious file system damage in this situation, but it sure makes me nervous. James Smallacombe PlantageNet, Inc. CEO and Janitor [EMAIL PROTECTED] http://3.am = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resizing Partitions, Losing Windows XP...
I have been dual booting FreeBSD and Windows XP for quite sometime. However, I never boot into Windows XP any longer. I can pretty much do everything I need to do from within FreeBSD. Is there a way that I can wipe out the Windows XP partition, resize the FreeBSD partition, and install a standard FreeBSD MBR (no boot manager) without slicking and reloading the hard drive? I really like the way I have my stuff setup within FreeBSD and would hate to have to recreate a lot of it as well as install applications over again. Could I do a dump of my current FreeBSD partition, reformat and partition the whole drive, install FreeBSD, and then restore my data to the new partition or would this cause issues? Any assistance is greatly appreciated! Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 and NFS
On Sep 22, 2006, at 11:02 AM, Robert Joosten wrote: Hmmm, is there a way to run pxe-boxes without rpc.lockd and then still able to run adduser and so on ? Safely? No. But then, flock() doesn't work via NFS even if rpc.lockd is running, so you aren't any worse off. flock() .. hmm yeah, I discoverd trouble with sendmail as well, it rings my bell. At least I know where to look for digging in the code finding clues about why. You say flock() doesn't work with rpc.lockd running. At least at one point, flock() used against an NFS-mount filesystem would simply return as if the call was successful, but no locking was done. Whether rpc.lockd is running or not would have no impact. I observed running a pxe client running fbsd 5.[45] being served by nfs-box running 5 (and 4 nowadays because of asr0 trouble due to geom) having disabled rpc.lockd the box doens't let me run adduser, but with rpc.lockd enabled it's fine with 'em. Is that strange or am I missing (some) insight about this matter? That's interesting. Are you getting a could not lock the passwd file: EOPNOTSUPP failure with rpc.lockd not enabled? I suspect that the pw_lock() code in libutil ought to use O_EXLOCK in the open() call rather than calling flock() separately: [EOPNOTSUPP] O_SHLOCK or O_EXLOCK is specified but the underlying file system does not support locking. ...? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing Partitions, Losing Windows XP...
On Friday 22 September 2006 14:23, Jeff Cross wrote: I have been dual booting FreeBSD and Windows XP for quite sometime. However, I never boot into Windows XP any longer. I can pretty much do everything I need to do from within FreeBSD. Is there a way that I can wipe out the Windows XP partition, resize the FreeBSD partition, and install a standard FreeBSD MBR (no boot manager) without slicking and reloading the hard drive? Probably several. See below. I really like the way I have my stuff setup within FreeBSD and would hate to have to recreate a lot of it as well as install applications over again. Could I do a dump of my current FreeBSD partition, reformat and partition the whole drive, install FreeBSD, and then restore my data to the new partition or would this cause issues? Yes you could, and this is probably the recommended approach. Make sure you get a dump of each FreeBSD partition if you have more than one ( /, /usr, etc). You'll need to know how to use fdisk, bsdlabel, and newfs in order to create your new partitions from a FreeBSD install CD's rescue prompt. If you pass a -B flag to both fdisk and bsdlabel you should be fine as far as the MBR and boot blocks are concerned. Of course you'll also need to be able to access your dumps on whatever media or network location you put them on, and know how to use restore. Depending on how your disk is currently laid out, it might be possible to wipe out your windows partition and use growfs, but you really should have good backups before attempting this, so get a dump of everything in any case. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 and NFS
Hi, I observed running a pxe client running fbsd 5.[45] being served by nfs-box running 5 (and 4 nowadays because of asr0 trouble due to geom) having disabled rpc.lockd the box doens't let me run adduser, but with rpc.lockd enabled it's fine with 'em. Is that strange or am I missing (some) insight about this matter? That's interesting. Are you getting a could not lock the passwd file: EOPNOTSUPP failure with rpc.lockd not enabled? I never witnissed any message. After I press enter (adduser) nothing appears on the screen at all. But it has been a long time ago and I'm currently unable to experiment. I hope tomorrow I will. I assume it's a good idea to run a debug kernel ? I also recall there were some occaisions I once run adduser that went ok, but the second (and more) times in a row it just locked. These cases were never reproducable, however I had the idea something called some rpc.lockd procedure before. In all these cases, the box ran the standard sendmail enabled. Maybe in these occasions the box did a 'lock' before, and all subsequent flock() calls stall. Something like that. I'm not sure but at that time I presume I ran a 6.0-rel pxe client served by a 5.3-rel nfs server; I really forget though and didn't take any notes either. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing Partitions, Losing Windows XP...
On Fri, Sep 22, 2006 at 01:23:28PM -0500, Jeff Cross wrote: I have been dual booting FreeBSD and Windows XP for quite sometime. However, I never boot into Windows XP any longer. I can pretty much do everything I need to do from within FreeBSD. Is there a way that I can wipe out the Windows XP partition, resize the FreeBSD partition, and install a standard FreeBSD MBR (no boot manager) without slicking and reloading the hard drive? I really like the way I have my stuff setup within FreeBSD and would hate to have to recreate a lot of it as well as install applications over again. Could I do a dump of my current FreeBSD partition, reformat and partition the whole drive, install FreeBSD, and then restore my data to the new partition or would this cause issues? That would be one good way of doing it.Just make sure and check your dumps before wiping everything. (create a scratch space. Cd to it and read a few things back from the dumps and check them. You don't need to reformat the drive - that is too low level for this. Just fdisk it and put all the disk in one slice - slice 1. Make that slice marked bootable.Then use bsdlabel (disklabel pre 5.xxx) to divide up the slice in to partitions. They will need to be the same partition identifiers (a-h) as used currently. Finally, use newfs to build filesystems on the partitions (except for swap) and then restore the dumps to their original partitions. Make sure you mount the partition as something and then cd in to that appropriate partition to do the restore. You will need to do the wiping and rebuilding from some other media such as a fixit CD or another bootable disk. You can't wipe the slice that you are running from. An alternative would be to leave the existing slice alone, but use fdisk to mark the MS slice as a FreeBSD slice (not bootable) and then either create one single partition in that slice or divide it as you choose and use newfs to create file systems. Then, create a mount point for each new partition you made (put them in /etc/fstab and mount them up. Then move some of your big directories in the existing FreeBSD slice over then and made symlinks to them.That way you would free up room in the FreeBSD bootable slice, but not have to dump/restore and rebuild everything. It is quicker and works just as well, but slightly less clean, though it could be helpful if your file systems are too large for your backup media. jerry Any assistance is greatly appreciated! Jeff Cross http://www.averageadmins.com/ ___ 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: Resizing Partitions, Losing Windows XP...
Jerry McAllister wrote: On Fri, Sep 22, 2006 at 01:23:28PM -0500, Jeff Cross wrote: I have been dual booting FreeBSD and Windows XP for quite sometime. However, I never boot into Windows XP any longer. I can pretty much do everything I need to do from within FreeBSD. Is there a way that I can wipe out the Windows XP partition, resize the FreeBSD partition, and install a standard FreeBSD MBR (no boot manager) without slicking and reloading the hard drive? I really like the way I have my stuff setup within FreeBSD and would hate to have to recreate a lot of it as well as install applications over again. Could I do a dump of my current FreeBSD partition, reformat and partition the whole drive, install FreeBSD, and then restore my data to the new partition or would this cause issues? That would be one good way of doing it.Just make sure and check your dumps before wiping everything. (create a scratch space. Cd to it and read a few things back from the dumps and check them. You don't need to reformat the drive - that is too low level for this. Just fdisk it and put all the disk in one slice - slice 1. Make that slice marked bootable.Then use bsdlabel (disklabel pre 5.xxx) to divide up the slice in to partitions. They will need to be the same partition identifiers (a-h) as used currently. Finally, use newfs to build filesystems on the partitions (except for swap) and then restore the dumps to their original partitions. Make sure you mount the partition as something and then cd in to that appropriate partition to do the restore. You will need to do the wiping and rebuilding from some other media such as a fixit CD or another bootable disk. You can't wipe the slice that you are running from. An alternative would be to leave the existing slice alone, but use fdisk to mark the MS slice as a FreeBSD slice (not bootable) and then either create one single partition in that slice or divide it as you choose and use newfs to create file systems. Then, create a mount point for each new partition you made (put them in /etc/fstab and mount them up. Then move some of your big directories in the existing FreeBSD slice over then and made symlinks to them.That way you would free up room in the FreeBSD bootable slice, but not have to dump/restore and rebuild everything. It is quicker and works just as well, but slightly less clean, though it could be helpful if your file systems are too large for your backup media. jerry Any assistance is greatly appreciated! Jeff Cross http://www.averageadmins.com/ ___ 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] This sounds scary, I mean ok, but will doing what you have mentioned in this post do anything for the MBR? Is that why I would be setting the bootable flag in fdisk? I am currently using NTLOADER to boot Windows XP and FreeBSD 6.1-SECURITY. Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing Partitions, Losing Windows XP...
On Fri, Sep 22, 2006 at 02:50:31PM -0500, Jeff Cross wrote: Jerry McAllister wrote: On Fri, Sep 22, 2006 at 01:23:28PM -0500, Jeff Cross wrote: I really like the way I have my stuff setup within FreeBSD and would hate to have to recreate a lot of it as well as install applications over again. Could I do a dump of my current FreeBSD partition, reformat and partition the whole drive, install FreeBSD, and then restore my data to the new partition or would this cause issues? That would be one good way of doing it.Just make sure and check your dumps before wiping everything. (create a scratch space. Cd to it and read a few things back from the dumps and check them. You don't need to reformat the drive - that is too low level for this. Just fdisk it and put all the disk in one slice - slice 1. Make that slice marked bootable.Then use bsdlabel (disklabel pre 5.xxx) to divide up the slice in to partitions. They will need to be the same partition identifiers (a-h) as used currently. Finally, use newfs to build filesystems on the partitions (except for swap) and then restore the dumps to their original partitions. Make sure you mount the partition as something and then cd in to that appropriate partition to do the restore. You will need to do the wiping and rebuilding from some other media such as a fixit CD or another bootable disk. You can't wipe the slice that you are running from. An alternative would be to leave the existing slice alone, but use fdisk to mark the MS slice as a FreeBSD slice (not bootable) and then either create one single partition in that slice or divide it as you choose and use newfs to create file systems. Then, create a mount point for each new partition you made (put them in /etc/fstab and mount them up. Then move some of your big directories in the existing FreeBSD slice over then and made symlinks to them.That way you would free up room in the FreeBSD bootable slice, but not have to dump/restore and rebuild everything. It is quicker and works just as well, but slightly less clean, though it could be helpful if your file systems are too large for your backup media. jerry Any assistance is greatly appreciated! Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This sounds scary, I mean ok, but will doing what you have mentioned in this post do anything for the MBR? Is that why I would be setting the bootable flag in fdisk? I am currently using NTLOADER to boot Windows XP and FreeBSD 6.1-SECURITY. There is a command line '-B' flag to fdisk that makes it write the MBR. Setting the slice as bootable during the fdisk session just sets a flag for it. Then in bsdlabel you need to tell it to write the boot sector for that slice. That flag is also '-B' but the one in bsdlabel writes the slice's boot code and the one in fdisk writes the whole drive's MBR. Note that a drive's MBR runs, checks for bootable slices, gives you a menu to choose bootable slices and when you choose, loads the boot code from that slice and transfers control to it.Actually, you don't really really need an MBR if there is only one slice and it is bootable. But, skip that. Do it the whole hog way.In the bsdlabel man page there is an example group of commands that do just what you want - wipe the disk, fdisk it to a single slice and do the bsdlabels (two of them in a row) to set it up. In the second one, you get an edit screen and in that you set up the partition with identifiers and sizes you want. When you tell it to write and exit (standard 'ESC : w q' you use in vi) it writes out the label. From man bsdlabel: dd if=/dev/zero of=/dev/da0 bs=512 count=32 fdisk -BI da0 dd if=/dev/zero of=/dev/da0s1 bs=512 count=32 bsdlabel -w -B da0s1 bsdlabel -e da0s1 The one block dd makes sure the disk is wiped and may not be needed. I would skip the second dd -- I never use it. Notice it is referencing slice 1 on da0 whereas the first dd is referencing the drive itself without a slice. The first one would nuke the MBR, the second one would nuke the partition table and boot code on slice 1. The first bsdlabel writes the boot code in slice 1. The second bsdlabel sets up an edit session for the partition table. After this, you just need to do a newfs for each partition you create except the one for swap (partition b). Partition a should be root. Partition label c is for the whole drive, not a real partition. After a, b and c, the rest is up to you how to use the identifiers. bsdlabel is much more forgiving about formats for partition sizes nodays, but I like to
File and folder permissions
Hello list, This has probably come up before, but I can't seem to find any entries for it. I'm helping a new public radio station to implement a shared music library via NFS ( Samba for 1 Windows box) on 6.1. The library needs to be accessible by everyone in the station, and we'd like volunteers to be able to write files to the library, but not delete them. Files will be organized into folders by artist first name: library/a/artist/album/track.ogg. I found this: http://www.greenend.org.uk/rjk/2004/perms.html Some platforms, e.g. FreeBSD, optionally take note of the setuid bit on a directory: any files or directories created in that directory use the directory's user ID as their user ID and new directories have the setuid bit turned on. I've tried this approach and it does not seem to work, or maybe I'd doing something wrong. The setup is: drwsrwxr-x 2 test2 wheel 512 Sep 22 02:16 test When I create a file as another user i get this: -rw-r--r-- 1 test1 wheel0 Sep 22 01:39 uid When I create a directory: drwxr-xr-x 2 test2 wheel 512 Sep 22 15:29 yo The other problem is that if the folder is writable by the group then I can `rm -R test` and I can override the deletion for files inside the folder, but not the folder itself: override rwxr-xr-x test2/wheel for /test/yo? y $ ls -l /test total 0 Any thoughts or tips regarding the method I describe or another method that will be appreciated. Thanks, Caleb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing Partitions, Losing Windows XP...
--- Jeff Cross [EMAIL PROTECTED] wrote: I really like the way I have my stuff setup within FreeBSD and would hate to have to recreate a lot of it as well as install applications over again. Could I do a dump of my current FreeBSD partition, reformat and partition the whole drive, install FreeBSD, and then restore my data to the new partition or would this cause issues? Any assistance is greatly appreciated! Jeff Cross http://www.averageadmins.com/ Yes failrly easily you can back everything up to tape first you must find a suitable backup medium such as a USB hard drive. I use a 5 gig seagate drive I picked up along the way. This allows a typcial root, var and about 5.6 gig of stuff on /usr. With compression things aught to work. You might want to clean up /usr/ports/distfiles, /usr/obj, and run a cd /usr/ports; make -DNOCLEANDEPENDS clean to get rid of any unnecessary files, but this is up to you. then... I would suggest booting to safe mode on your current FreeBSD install first of all then do a #fsck -p for paranoia #swapon -a for swap # mount -a -o ro to mount the partitions read only. this isn't required but if the drives are rw you need -L as a switch to the dump command below. mount -u /tmp dump will use /tmp then mount you backup media whereever you want I will use /mnt as my mount point I also assume you have separate partions for each drive. then this monster will backup everything (dump -0 -C 32 -f - / | bzip2 | dd of=/mnt/root.dbz2) (dump -0 -C 32 -f - /var | bzip2 | dd of=/mnt/var.dbz2) (dump -0 -C 32 -f - /usr | bzip2 | dd of=/mnt/usr.dbz2) then grab a coffee and wait for the tapes to be made. now to restore there are better ways to do it but this method has worked for me... reboot with the FreeBSD install disk go to fdisk and delete the old slices and create the new slice. Use all disk, I would not do this dangerously dedicated keep it compatible I've had boot issues with boot drives in dangerously dedicated mode. hit w to write the table it will ask if you are sure say yes and install the boot loader you want, standard MBR or the boot manager, your choice. reboot load up the cd and do bsdlabel mode setup root, usr, var, tmp, swap whatever you use as a partitioning scheme. this tool will require a root partitio to be specified to work. then w to write the label now go to fixit mode on the cd and you'll be at a prompt. if your backup media was Fat32, ext2, basically anything but UFS1 or 2 you will type sysctl kern.module_path=/dist/boot/kernel to let the kernel find the right modules to support fat32 then I generally do a mkdir /TAPE and mount the backup media there. you should also have the swap already loaded and root will be mounted on /mnt usr will be /mnt/usr and var will be /mnt/var next type #mdconfig -a -t swap -s 512m this will give you a md node prolly md1 512m is what I use (512 mb of swap) but less may work fine. #newfs md1 mkdir /junk; mount /dev/md1 /junk; cp /tmp/* /junk/; umount /junk; mount /dev/md1 /tmp restore will need this tmp directory to have space or things will get messy then I would #umount /mnt/var /mnt/usr /mnt then I usually reformat the partitions to get rid of annoying error messages about directories alrady being present during the restore #newfs -O 2 -L root -n /dev/ad0s1a (adjust your device as required the -L option isn't necessary #newfs -0 2 -L var -U -n /dev/ad0s1d #newfs =O 2 -L usr -U -n /dev/ad0s1e again adust the devices as required then remount root to /mnt then #bzip2 -dc /TAPE/root.dbz2 | (cd /mnt; restore -r -f -) mount var and usr then repeat for them with cd /mnt/usr and cd /mnt/var as required. make any changes to /mnt/etc/fstab as required, unmount everything and you should be good to go for a reboot. you may get some expected 23423234 got 234253546 messages in the restore. a few of them aren't a problem. As suggested by others MAKE SURE YOUR DUMPS ARE GOOD PRIOR TO DOING THE RESLICING AND PARTITIONING you can use that restore command to restore to whereever you want with the right change dir so find some free space and doit. even if you run a newfs on the windows slice and mount it unlabeled just to see the dumps are good, and assuming you don't care about windows being lost. after the reboot delete the restoresymtable files on each of the filesystems of course if you know fdisk and bsdlabel from the command line using a freesbie live cd would prolly make this easier and not require a reboot after the fdisk... I have had issues with the drives being able to boot up so I generally like to use grub. so readup on manually installing the MBR or boot manager just in case. I think my last restore I just chose the standard MBR and everything went fine. good luck -brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5th European Conference on Tropical Medicine and International Health - May 24-28, 2007, Amsterdam
5th European Congress on Tropical Medicine and International Health May 24 - 28, 2007 - Amsterdam, Netherlands UPDATED WEBSITE Please visit our website www.trop-amsterdam2007.com in order find the - Latest scientific program - Register online - Book your hotel online -Submit your abstract online -Download the 2nd announcement For any queries please contact us at: 5th ECMITH Conference Secretariat [EMAIL PROTECTED] Tel: +49-30-24603-0 www.trop-amsterdam2007.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD locale and sympa
Hello, I installed sympa5 from the FreeBSD ports collection. I am running FreeSBD 6.1 The problem is that the main sympa web interface does not show me the language options, so I cannot choose a language, and also the language menu is filled of spaces, empty spaces. Also I can't even set a default language, only en_US works. IS there any problem related to FreeBSD gettext ? anyone had this problem using sympa 5.2.1 on FreeBSD ? thanks Rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
keepassX and FreeBSD?
Hey List- anyone had luck compiling keepassX on their box? I know it required QT 4,1 and I compiled and installed the QT 4.1.1 in it's own directory (/usr/local/qt-4.1) and then I wrote a quick script to set the following environment variables: setenv QTDIR /usr/local/qt-4.1 setenv PATH ${PATH}:${QTDIR}/bin setenv LD_LIBRARY_PATH ${QTDIR}/lib setenv QMAKESPEC freebsd-g++ is there anything else I need to set / do? When I run qmake in the keepassX src tree I get a permanent loop of: QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified I'm a total newb when it comes to QT. Where to start or what to do? Henrik -- Henrik Hudson [EMAIL PROTECTED] -- God, root, what is difference? Pitr; UF (http://www.userfriendly.org/) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Savecore Errors?
Jeff Cross wrote: I have noticed the following messages when booting up my laptop recently. Can anyone explain this to me, if it is good or bad (it looks bad), and how I can correct it? Sep 19 08:57:54 xtop savecore: reboot after panic: vinvalbuf: dirty bufs Sep 19 08:57:54 xtop savecore: no dump, not enough free space on device (232748 available, need 753090) Sep 19 08:57:54 xtop savecore: unsaved dumps found but not saved I don't want to have dirty bufs any more! :) Jeff Cross http://www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Any takers on this one? The laptop boots and runs fine. No issues, I just wondered if this was something to be concerned about. Thanks in advance! Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Savecore Errors?
On Fri, Sep 22, 2006 at 06:12:55PM -0500, Jeff Cross wrote: Jeff Cross wrote: I have noticed the following messages when booting up my laptop recently. Can anyone explain this to me, if it is good or bad (it looks bad), and how I can correct it? Sep 19 08:57:54 xtop savecore: reboot after panic: vinvalbuf: dirty bufs Sep 19 08:57:54 xtop savecore: no dump, not enough free space on device (232748 available, need 753090) Sep 19 08:57:54 xtop savecore: unsaved dumps found but not saved I don't want to have dirty bufs any more! :) Jeff Cross http://www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Any takers on this one? The laptop boots and runs fine. No issues, I just wondered if this was something to be concerned about. Your laptop previous panicked. See the developers handbook for more. kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Savecore Errors?
Kris Kennaway wrote: On Fri, Sep 22, 2006 at 06:12:55PM -0500, Jeff Cross wrote: Jeff Cross wrote: I have noticed the following messages when booting up my laptop recently. Can anyone explain this to me, if it is good or bad (it looks bad), and how I can correct it? Sep 19 08:57:54 xtop savecore: reboot after panic: vinvalbuf: dirty bufs Sep 19 08:57:54 xtop savecore: no dump, not enough free space on device (232748 available, need 753090) Sep 19 08:57:54 xtop savecore: unsaved dumps found but not saved I don't want to have dirty bufs any more! :) Jeff Cross http://www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Any takers on this one? The laptop boots and runs fine. No issues, I just wondered if this was something to be concerned about. Your laptop previous panicked. See the developers handbook for more. kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks, Kris. I'm heading that way now! Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: csh as default root Shell
On Tue, 19 Sep 2006, RW wrote: What you shouldn't do is set a shell installed from packages as the root shell, such as bash. This has become so what canonized however... there is no problem in running your chosen shell. If you boot single user it will ask you for a shell to use. Just use /bin/sh if the volume containing your chosen shell isn't mounted. Take appropriate steps to configure your login scripts accordingly if they are doing anything important that is dependent on the shell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Creating a bootable CD with CD Loader
On Fri, 22 Sep 2006 17:45:36 +0100 Chris [EMAIL PROTECTED] wrote: Hi, I'm looking to create my own custom boot CD that will be used to bootstrap fully encrypted system using GEOM ELI. All the CD needs to do is load a kernel to initialize the encrypted root partition on the HDD, and read a key file to decrypt it. Hi Chris, I recently did this for two laptops, one booting from usb and the other from cd with both of them getting the key from a usb drive. If your key is on the cd, then it's no problem. A bit harder if you have to boot from cd and then mount a usb drive to read the key. I ripped the CD Loader image out of one of the FreeBSD 6.1 CD's, and it seems to work as wanted. It loads the kernel from the system I'm running at the moment, I just put my current /boot directory on the CD (although it doesn't fully boot, i guess it just needs some config changes). How do you mean it doesn't boot fully? Creating a bootable cd is in the handbook. # mkisofs -R -no-emul-boot -b boot/cdboot -o /tmp/bootable.iso /tmp/cdfiles Your tmp/cdfiles should contain a boot folder matching that on the encrypted system. You'll only need the kernel and modules that you load though and gzipping them will speed up the slow boot. You'll also need to modify your loader.conf: geom_eli_load=YES kern.geom.eli.debug=0 kern.geom.eli.visible_passphrase=0 geli_ad0_keyfile0_load=YES geli_ad0_keyfile0_type=ad0:geli_keyfile0 geli_ad0_keyfile0_name=/ad0.key You'll also need an /etc/fstab in /tmp/cdfiles with the root partition: eg /dev/ad0.elia / ufs rw 1 1 The other thing I recall is that bug kbdmux bug in 6.1. Shows up on some but not all from what I can remember. If you are using a password as well as a key, and the keyboard seems to have frozen when you try to enter the password, try this in device.hints: hint.kbdmux.0.disabled=1 Cheers Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems during installing FreeBSD
Hi: I have been trying to install FreeBSD on a system which already has Red Hat Linux installed with grub boot loader on a x86 hardware. I managed to provide one of the partitions for FreeBSD and use the option A' (Auto Defaults) for creating the /, /var, '/usr and /swap configuration inside this parition. After selecting all the required packages I get an error stating it is not able to find necessary packages in the media and should it retry. This occurs for every package. I downloaded three *.iso images from the www.freebsd.org website and burnt in on 3 CDs and used the first CD which just contains the /boot directory for starting the installation. My question is: 1) Why doesn't it ask me to load the next CD in to the CDRom Drive during the installation, which I presume contains all the required packages and binaries? 2) Will I be able to still boot Linux if I allow FreeBSD to overwrite the MBR with its own boot loader, which it asks during installation? Can somebody please help me with this issue? thanks, Sunil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Gnome 2.14
*How do I upgrade to GNOME 2.14?* The answer is much simpler than it has been in the past: 1. To build GNOME 2.14, you need to obtain the latest ports tree skeleton. This is most easily accomplished with portsnap(8) or CVSuphttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html. Simply obtain the latest ports tree, and you are ready to go. Then do the following: # pkgdb -Ff # portupgrade -o net/avahi -f howl # portupgrade -o x11/gnome-screensaver -f xscreensaver-gnome Then you can run portupgrade(8) as you normally would. *NOTE:* it is recommended to run *portupgrade -a* to make sure you get all the necessary ports. from site . http://www.freebsd.org/gnome/docs/faq214.html [EMAIL PROTECTED] -a FreeBSD belagelo.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 You have new mail. [EMAIL PROTECTED] i did as above . the cvsip was succesful . ... Delete ports/x11-wm/wmthemeinstall/pkg-plist Edit ports/x11-wm/xcompmgr/Makefile Edit ports/x11-wm/xcompmgr/distinfo Edit ports/x11-wm/xfce/Makefile Edit ports/x11-wm/xfce/distinfo Edit ports/x11-wm/xfce4/Makefile Edit ports/x11-wm/xfce4/pkg-plist Edit ports/x11-wm/xfce4-desktop/Makefile Edit ports/x11-wm/xfce4-desktop/distinfo Edit ports/x11-wm/xfce4-desktop/pkg-plist Edit ports/x11-wm/xfce4-panel/Makefile Edit ports/x11-wm/xfce4-panel/distinfo Edit ports/x11-wm/xfce4-panel/pkg-plist Edit ports/x11-wm/xfce4-session/Makefile Edit ports/x11-wm/xfce4-session/distinfo Edit ports/x11-wm/xfce4-session/pkg-plist Edit ports/x11-wm/xfce4-systray/Makefile Edit ports/x11-wm/xfce4-systray/distinfo Edit ports/x11-wm/xfce4-systray/pkg-plist Edit ports/x11-wm/xfce4-wm/Makefile Edit ports/x11-wm/xfce4-wm/distinfo Edit ports/x11-wm/xfce4-wm/pkg-plist Edit ports/x11-wm/yawm/Makefile Edit ports/x11-wm/yawm/distinfo Finished successfully The cvsup file was as below # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup2.jp.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix # If you seem to be limited by CPU rather than network or disk bandwidth, try # commenting out the following line. (Normally, today's CPUs are fast enough # that you want to run compression.) *default compress ## Ports Collection. # # The easiest way to get the ports tree is to use the ports-all # mega-collection. It includes all of the individual ports-* # collections, ports-all # pkgdb -Ff command was ok .here is the script file . Script started on Fri Sep 22 02:53:48 2006 executing .cshrc finished executing .cshrc [EMAIL PROTECTED]/home�m#pkgdb -Ff --- Checking the package registry database [Rebuilding the pkgdb format:bdb1_btree in /var/db/pkg ... - 225 packages found (-0 +225) . done] Stale origin: 'devel/bugbuddy': perhaps moved or obsoleted. - The port 'devel/bugbuddy' was moved to 'devel/bug-buddy' on 2006-05-27 because: Renamed to use real vendor package name Fixed. (- devel/bug-buddy) Stale origin: 'archivers/fileroller': perhaps moved or obsoleted. - The port 'archivers/fileroller' was moved to 'archivers/file-roller' on 2006-05-27 because: Renamed to use real vendor package name Fixed. (- archivers/file-roller) Stale origin: 'x11/gnomeapplets2': perhaps moved or obsoleted. - The port 'x11/gnomeapplets2' was moved to 'x11/gnome-applets' on 2006-05-28 because: Renamed to use real vendor package name Fixed. (- x11/gnome-applets) Stale origin: 'audio/gnomeaudio2': perhaps moved or obsoleted. - The port 'audio/gnomeaudio2' was moved to 'audio/gnome-audio' on 2006-05-27 because: Renamed to use real vendor package name Fixed. (- audio/gnome-audio) Stale origin: 'sysutils/gnomecontrolcenter2': perhaps moved or obsoleted. - The port 'sysutils/gnomecontrolcenter2' was moved to 'sysutils/gnome-control-center' on 2006-05-28 because: Renamed to use real vendor package name Fixed. (- sysutils/gnome-control-center) Stale origin: 'x11/gnomedesktop': perhaps moved or obsoleted. - The port 'x11/gnomedesktop' was moved to 'x11/gnome-desktop' on 2006-05-28 because: Renamed to use real vendor package name Fixed. (- x11/gnome-desktop) Stale origin: 'textproc/gnomedocutils': perhaps moved or obsoleted. - The port 'textproc/gnomedocutils' was moved to 'textproc/gnome-doc-utils' on 2006-05-28 because: Renamed to use real vendor package name Fixed. (- textproc/gnome-doc-utils) Stale origin: 'games/gnomegames2': perhaps moved or obsoleted. - The port 'games/gnomegames2' was moved to 'games/gnome-games' on 2006-05-28 because: Renamed to use real vendor
Re: nested labels
On 9/21/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote: On 9/21/06, Jeffrey Katz [EMAIL PROTECTED] wrote: I have hit the limit of 8 disklabels per slice. Supposedly, one can create lables within a label, thus overcoming this limit. I googled everything but could only find references to gpt-- nothing about nested labels or partitions. Can anyone detail the steps involved in setting up nested labels or partitions? You might want to have a look at glabel(8), or maybe gnop(8), or even http://wiki.freebsd.org/gvirstor And with file backed memory disks feeding from qemu nfs servers . . . -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]