Re: Uname borked on ??-Release...
On Mar 4, 2008, at 2:14 PM, Kris Kennaway wrote: Kevin Kinsey wrote: Kris Kennaway wrote: Kevin Kinsey wrote: What about strings /boot/kernel/kernel | grep 6.2-RELEASE? Kris As I would expect, it returns nothing at all. Your problem makes no sense then :) The kern.osrelease returns a string compiled into the kernel (see conf/newvers.sh), so if it returns 6.2-RELEASE then that string must be present. Kris So, have you checked to make sure your uname is accurate and not just an echoing shell script of sorts? You never know, maybe someone hijacked your uname before you upgraded and the hijacked version wasn't written properly(which is odd since it's BSD licensed, where if it were GPL they'd have to release the code for their evil uname so can't use a GPL version). You could try greping over the entire filesystem for 6.2-RELEASE to find out where it could be coming from. Depending on the setup of your system, you could try zeroing all the spare blocks(I imagine `dd if=/dev/zero of=zero` would do the trick) and then seeing if the string's from some really hidden file. So many ways to have fun, but I don't want to be in your shoes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deb archives
On Tue, 04 Mar 2008 22:54:50 -0500 E. J. Cerejo [EMAIL PROTECTED] wrote: On Wed, 05 Mar 2008 02:46:03 + Pollywog [EMAIL PROTECTED] wrote: On Wednesday 05 March 2008 02:09:25 E. J. Cerejo wrote: Is there a way to unpack a deb package in FreeBSD? I don't see anything in the ports to do it! I don't know if this helps, but deb packages are really ar achives. I found it, it's called dpkg, thanks anyway. Yes you did! Interesting enough thought, I would like to see how one might config apt-get to be used w/FreeBSD and the packages (I assume?). -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: How to start Gnome2-lite
vi `/.xinitrc paste exec gnome-session then :wq save the file, and startx On Wed, Mar 5, 2008 at 5:07 AM, Siraj Shaikh [EMAIL PROTECTED] wrote: On 05/03/2008, Jonathan Chen [EMAIL PROTECTED] wrote: On Tue, Mar 04, 2008 at 10:41:47PM +, Siraj Shaikh wrote: I installed Gnome2-lite as a package. I then inserted the following line gnome_enable=YES in rc.conf and also inserted the line exec gnome-session in the xinitrc file. | type startx after this, but gnome desktop doesnt load up. Instead the usual x windows screen loads up. The gnome-session line needs to be in ${HOME}/.xinitrc, which also needs to have permissions 700 at least. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. SO if I log in as root, which I do, then this means that file will be in /root/ directory? But I cant find any .xinitrc file in root directory? WHat do I do? ___ 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: How to start Gnome2-lite
On 05/03/2008, Outback Dingo [EMAIL PROTECTED] wrote: vi `/.xinitrc paste exec gnome-session then :wq save the file, and startx is that /.xinitrc ? or in my home directory, /root/.xinitrc ? On Wed, Mar 5, 2008 at 5:07 AM, Siraj Shaikh [EMAIL PROTECTED] wrote: On 05/03/2008, Jonathan Chen [EMAIL PROTECTED] wrote: On Tue, Mar 04, 2008 at 10:41:47PM +, Siraj Shaikh wrote: I installed Gnome2-lite as a package. I then inserted the following line gnome_enable=YES in rc.conf and also inserted the line exec gnome-session in the xinitrc file. | type startx after this, but gnome desktop doesnt load up. Instead the usual x windows screen loads up. The gnome-session line needs to be in ${HOME}/.xinitrc, which also needs to have permissions 700 at least. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. SO if I log in as root, which I do, then this means that file will be in /root/ directory? But I cant find any .xinitrc file in root directory? WHat do I do? ___ 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: How to start Gnome2-lite
notice i typed ~/.xinitrcnot /.xinitrc see the ~ the ~/ means your home diretcory ie /root if your logged in as root and you typed cd ~/ it would cd you into /root if you were logged in as siraj and you typed cd ~/ it would cd you into /home/siraj ... follow...? so vi ~/.xinitrc On Wed, Mar 5, 2008 at 5:19 AM, Siraj Shaikh [EMAIL PROTECTED] wrote: On 05/03/2008, Outback Dingo [EMAIL PROTECTED] wrote: vi `/.xinitrc paste exec gnome-session then :wq save the file, and startx is that /.xinitrc ? or in my home directory, /root/.xinitrc ? On Wed, Mar 5, 2008 at 5:07 AM, Siraj Shaikh [EMAIL PROTECTED] wrote: On 05/03/2008, Jonathan Chen [EMAIL PROTECTED] wrote: On Tue, Mar 04, 2008 at 10:41:47PM +, Siraj Shaikh wrote: I installed Gnome2-lite as a package. I then inserted the following line gnome_enable=YES in rc.conf and also inserted the line exec gnome-session in the xinitrc file. | type startx after this, but gnome desktop doesnt load up. Instead the usual x windows screen loads up. The gnome-session line needs to be in ${HOME}/.xinitrc, which also needs to have permissions 700 at least. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. SO if I log in as root, which I do, then this means that file will be in /root/ directory? But I cant find any .xinitrc file in root directory? WHat do I do? ___ 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: How to start Gnome2-lite
On Wed, 5 Mar 2008 10:19:34 + Siraj Shaikh [EMAIL PROTECTED] wrote: On 05/03/2008, Outback Dingo [EMAIL PROTECTED] wrote: vi `/.xinitrc paste exec gnome-session then :wq save the file, and startx is that /.xinitrc ? or in my home directory, /root/.xinitrc ? In your home dir. Unless you are using the root account as your default (and that's just bad practice). -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: How to start Gnome2-lite
On Wed, 5 Mar 2008 05:23:49 -0500 Outback Dingo [EMAIL PROTECTED] wrote: notice i typed ~/.xinitrcnot /.xinitrc see the ~ the ~/ means your home diretcory ie /root if your logged in as root and you typed cd ~/ it would cd you into /root if you were logged in as siraj and you typed cd ~/ it would cd you into /home/siraj ... follow...? so vi ~/.xinitrc Alternatively (and assuming .xinitrc does not exist) echo exec gnome-session .xinitrc If it does: echo exec gnome-session .xinitrc -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: How to start Gnome2-lite
and ill agree here with chris, it is an extremely bad practice to run X as root, you should always login as a user if you need to do maintenance or something you can always use su or sudo On Wed, Mar 5, 2008 at 5:25 AM, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 10:19:34 + Siraj Shaikh [EMAIL PROTECTED] wrote: On 05/03/2008, Outback Dingo [EMAIL PROTECTED] wrote: vi `/.xinitrc paste exec gnome-session then :wq save the file, and startx is that /.xinitrc ? or in my home directory, /root/.xinitrc ? In your home dir. Unless you are using the root account as your default (and that's just bad practice). -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start Gnome2-lite
wh echo exec gnome-session ~/.xinitrc sounds like potentially a new user we have no idea what directory he might be in silly unix tricks On Wed, Mar 5, 2008 at 5:28 AM, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 05:23:49 -0500 Outback Dingo [EMAIL PROTECTED] wrote: notice i typed ~/.xinitrcnot /.xinitrc see the ~ the ~/ means your home diretcory ie /root if your logged in as root and you typed cd ~/ it would cd you into /root if you were logged in as siraj and you typed cd ~/ it would cd you into /home/siraj ... follow...? so vi ~/.xinitrc Alternatively (and assuming .xinitrc does not exist) echo exec gnome-session .xinitrc If it does: echo exec gnome-session .xinitrc -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start Gnome2-lite
On 05/03/2008, Jonathan Chen [EMAIL PROTECTED] wrote: On Tue, Mar 04, 2008 at 10:41:47PM +, Siraj Shaikh wrote: I installed Gnome2-lite as a package. I then inserted the following line gnome_enable=YES in rc.conf and also inserted the line exec gnome-session in the xinitrc file. | type startx after this, but gnome desktop doesnt load up. Instead the usual x windows screen loads up. The gnome-session line needs to be in ${HOME}/.xinitrc, which also needs to have permissions 700 at least. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. SO if I log in as root, which I do, then this means that file will be in /root/ directory? But I cant find any .xinitrc file in root directory? WHat do I do? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start Gnome2-lite
On Wed, 5 Mar 2008 05:31:37 -0500 Outback Dingo [EMAIL PROTECTED] wrote: wh echo exec gnome-session ~/.xinitrc sounds like potentially a new user we have no idea what directory he might be in silly unix tricks On Wed, Mar 5, 2008 at 5:28 AM, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 05:23:49 -0500 Outback Dingo [EMAIL PROTECTED] wrote: notice i typed ~/.xinitrcnot /.xinitrc see the ~ the ~/ means your home diretcory ie /root if your logged in as root and you typed cd ~/ it would cd you into /root if you were logged in as siraj and you typed cd ~/ it would cd you into /home/siraj ... follow...? so vi ~/.xinitrc Alternatively (and assuming .xinitrc does not exist) echo exec gnome-session .xinitrc If it does: echo exec gnome-session .xinitrc -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 Haha! Good point - I didn't think of that! Nice catch. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: How to start Gnome2-lite
Guys I have managed to to do what you say and now when I type in startx, it does show me a box saying This session is running as a privileged user and asking me to either COntinue or Quit. My mouse isnt working at this stage and I cant press either of the buttons. Neither is tab or space or alt c working. What to do? Your help is much appreciated I am running as root because this machine is not used for any other purpose, behind a firewall, not connected to any other machine and is only being used for testing little utilities. On 05/03/2008, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 05:31:37 -0500 Outback Dingo [EMAIL PROTECTED] wrote: wh echo exec gnome-session ~/.xinitrc sounds like potentially a new user we have no idea what directory he might be in silly unix tricks On Wed, Mar 5, 2008 at 5:28 AM, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 05:23:49 -0500 Outback Dingo [EMAIL PROTECTED] wrote: notice i typed ~/.xinitrcnot /.xinitrc see the ~ the ~/ means your home diretcory ie /root if your logged in as root and you typed cd ~/ it would cd you into /root if you were logged in as siraj and you typed cd ~/ it would cd you into /home/siraj ... follow...? so vi ~/.xinitrc Alternatively (and assuming .xinitrc does not exist) echo exec gnome-session .xinitrc If it does: echo exec gnome-session .xinitrc -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 Haha! Good point - I didn't think of that! Nice catch. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start Gnome2-lite
On Wed, 5 Mar 2008 10:37:37 + Siraj Shaikh [EMAIL PROTECTED] wrote: Guys I have managed to to do what you say and now when I type in startx, it does show me a box saying This session is running as a privileged user and asking me to either COntinue or Quit. My mouse isnt working at this stage and I cant press either of the buttons. Neither is tab or space or alt c working. What to do? Your help is much appreciated I am running as root because this machine is not used for any other purpose, behind a firewall, not connected to any other machine and is only being used for testing little utilities. Welp - As to you running as root (you know my position) that is absolutely your call mate. A really quick fix (for the mouse) is call up sysinstall and go to Configure, then Mouse. Choose Number 3 (Type) then config from there OR go right to Number 2 (Enable) Once you have the rodent configed via sysinstall, that ought to plop the needed lines in /etc/rc.conf (your mileage may vary, standard disclaimers apply). This is just one way of trying it - you could run the Xorg config utils, or if you are brave, edit the Xorg conf file by hand. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: How to start Gnome2-lite
I have the usbd_enable line in rc.conf the mouse is working on the black screen but it doesnt work when the x loads up On 05/03/2008, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 10:37:37 + Siraj Shaikh [EMAIL PROTECTED] wrote: Guys I have managed to to do what you say and now when I type in startx, it does show me a box saying This session is running as a privileged user and asking me to either COntinue or Quit. My mouse isnt working at this stage and I cant press either of the buttons. Neither is tab or space or alt c working. What to do? Your help is much appreciated I am running as root because this machine is not used for any other purpose, behind a firewall, not connected to any other machine and is only being used for testing little utilities. Welp - As to you running as root (you know my position) that is absolutely your call mate. A really quick fix (for the mouse) is call up sysinstall and go to Configure, then Mouse. Choose Number 3 (Type) then config from there OR go right to Number 2 (Enable) Once you have the rodent configed via sysinstall, that ought to plop the needed lines in /etc/rc.conf (your mileage may vary, standard disclaimers apply). This is just one way of trying it - you could run the Xorg config utils, or if you are brave, edit the Xorg conf file by hand. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start Gnome2-lite
On 05/03/2008, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 10:37:37 + Siraj Shaikh [EMAIL PROTECTED] wrote: Guys I have managed to to do what you say and now when I type in startx, it does show me a box saying This session is running as a privileged user and asking me to either COntinue or Quit. My mouse isnt working at this stage and I cant press either of the buttons. Neither is tab or space or alt c working. What to do? Your help is much appreciated I am running as root because this machine is not used for any other purpose, behind a firewall, not connected to any other machine and is only being used for testing little utilities. Welp - As to you running as root (you know my position) that is absolutely your call mate. A really quick fix (for the mouse) is call up sysinstall and go to Configure, then Mouse. Choose Number 3 (Type) then config from there OR go right to Number 2 (Enable) Once you have the rodent configed via sysinstall, that ought to plop the needed lines in /etc/rc.conf (your mileage may vary, standard disclaimers apply). This is just one way of trying it - you could run the Xorg config utils, or if you are brave, edit the Xorg conf file by hand. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 On Wed, 5 Mar 2008 10:48:33 + Siraj Shaikh [EMAIL PROTECTED] wrote: I have the usbd_enable line in rc.conf the mouse is working on the black screen but it doesnt work when the x loads up Ah good. You're off to a decent start. At this point I would have a look at one of the 2 Xorg config apps (they escape me off hand - but I'm sure one of the fine list folks will lend that to you). OR - edit the Xorg conf file by hand - if you are a newb, then I strongly suggest the Xorg conf utils (Here again, unless one of the fine folks can paste to you what the approximate lines out to be). Here I can't help much, my FBSD boxen are all Non-X. Anyways, I'm out for a few hours - good luck mate. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?
In addition i've attempted adding: kern.maxfilesperproc=65536 kern.ipc.somaxconn=1024 kern.ipc.maxsockbuf=2097152 kern.maxprocperuid=9000 to sysctl.conf kern.maxproc=10240 kern.maxfiles=65536 kern.ipc.nmbclusters=32768 kern.ipc.maxsockets=51200 to loader.conf I've also disabled ipv6 in the kernel (can't remember where I saw this suggestion) Post this I've recompiled apache with: [EMAIL PROTECTED] export CFLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] export CXX_FLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] /scripts/easyapache (this is the cPanel script that auto regens apache/php/addons) I'm having a hard time believing that this issue only plagues FreeBSD and is unfixable! Anyone got any ideas on what else I can change? Thanks, Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start Gnome2-lite
X -configure should fix you up X -config /root/xorg/root/xorg.conf.test cp /root/xorg.conf.test /etc/X!!xorg.conf startx On Wed, Mar 5, 2008 at 5:53 AM, Chris [EMAIL PROTECTED] wrote: On 05/03/2008, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 10:37:37 + Siraj Shaikh [EMAIL PROTECTED] wrote: Guys I have managed to to do what you say and now when I type in startx, it does show me a box saying This session is running as a privileged user and asking me to either COntinue or Quit. My mouse isnt working at this stage and I cant press either of the buttons. Neither is tab or space or alt c working. What to do? Your help is much appreciated I am running as root because this machine is not used for any other purpose, behind a firewall, not connected to any other machine and is only being used for testing little utilities. Welp - As to you running as root (you know my position) that is absolutely your call mate. A really quick fix (for the mouse) is call up sysinstall and go to Configure, then Mouse. Choose Number 3 (Type) then config from there OR go right to Number 2 (Enable) Once you have the rodent configed via sysinstall, that ought to plop the needed lines in /etc/rc.conf (your mileage may vary, standard disclaimers apply). This is just one way of trying it - you could run the Xorg config utils, or if you are brave, edit the Xorg conf file by hand. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 On Wed, 5 Mar 2008 10:48:33 + Siraj Shaikh [EMAIL PROTECTED] wrote: I have the usbd_enable line in rc.conf the mouse is working on the black screen but it doesnt work when the x loads up Ah good. You're off to a decent start. At this point I would have a look at one of the 2 Xorg config apps (they escape me off hand - but I'm sure one of the fine list folks will lend that to you). OR - edit the Xorg conf file by hand - if you are a newb, then I strongly suggest the Xorg conf utils (Here again, unless one of the fine folks can paste to you what the approximate lines out to be). Here I can't help much, my FBSD boxen are all Non-X. Anyways, I'm out for a few hours - good luck mate. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lib Errors After 6.3 - 7 Update
On Wed, 05 Mar 2008 07:17:57 + Matthew Seaman [EMAIL PROTECTED] wrote: Umm... Using libmap.conf in this way is functionally equivalent to sym-linking the shlibs and is just as evil. If an app needs libc.so.5 then the only correct answer is to give it libc.so.5 by installing compat5x. of course it is as evil if do it carelessly, but it's a more controlled sym-linking of forms, as you can tell it that a certain symlink only applies to one application and not all of them. probably doesn't really apply to this example, but, from my experience, it is far better than symlinking. libmap.conf has its uses, but one of the primary reasons for having it -- switching between different threading implementations -- is a non-issue on 7.0 where you get libthr style threads as standard. I think there may be one or two ports that advise you to make specific libmap.conf settings, but unless you've installed one of those, you really should not need a libmap.conf at all. _ {Beto|Norberto|Numard} Meijome Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir in the rest. Hope it doesn't stink. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printing with a laserjet 1018
Did you upload the firmware to the printer? I'm not sure if this printer is the same as mine (1020), but I think this is a dumb printer, which requires a firware upload each time it is power cycled. Unfortunately in my case, the FreeBSD USB driver had to be modified in order to talk with the printer, as it was not capable of communicating in a USB compliant manner, prior to the firmware upload. (Genius.) -Modulok- On 3/4/08, Bob Falanga [EMAIL PROTECTED] wrote: Sorry, I am still new at unix type OS so where do I make these changes? Thank you, Bob On Tue, Mar 4, 2008 at 6:35 PM, Michael Ross [EMAIL PROTECTED] wrote: Bob Falanga schrieb: First of all, thanks to those who have helped me so far. I have configured the printer and everything looks OK, but when I do a test print the test page goes into the printer queue and stays there for ever. The printer doesn't even squeak. First I had to use the print driver for a laserjet 1010 as I couldn't kind a driver for the 1018. Second the printer does work under the alternate OS. Any ideas? HP printer using CUPS, right? Try using /usr/local/bin/lpr instead of /usr/bin/lpr. Same goes for lprm, lpq and friends. Make sure all your apps do. Maybe replace /usr/bin/lpr with /usr/local/bin/lpr. Repeat after installworld. HTH Michael ___ 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: amd64 or i386 for desktop use?
Em Wednesday 05 March 2008 02:36:33 Isaac Mushinsky escreveu: I have new hardware (Abit ip35-pro, Intel Q6600), and was contemplating installing FreeBSD/arch, but now realise that I am going to have some problems. My nvidia card will not be of much use (GeForce 8500GT), since nvidia-drivers are not there for amd64, and the open source nv driver does not even support XVideo extension for these cards. I can downgrade to a nv 7xxx series card, which works better with the open driver. I do not mind loss of 3D support, but would need basic things like mplayer. So my questions are: 1. Should I get nvidia 7xxx or an ATI card? Which card is most likely to work reasonably well? No fancy features required, but may be appreciated later. I prefer ATI ones, like r300, in which works out-of-the-box with the opensource xf86-video-ati. 2. Any problems with flash plugin (flash7 for now, I do not mean the confounded flash9 headache)? flash7 through nspluginwrapper works fine with firefox compiled by ports. flash9 is working through windows firefox (via wine). 3. Other casual desktop user problems I should be aware of? 4. Is it worth it? Perhaps I should stay with i386, but it is a pity not to be able to use the new machine to its full potential. With amd64 you'll not get wine, VESA, boot splash screen and maybe more stuff. Even googleearth I couldn't make it work in amd64. So I think it's not a good idea to use amd64 as a desktop. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org gpg --keyserver keys.indymedia.org --recv-keys DE632016 signature.asc Description: This is a digitally signed message part.
Space needed on device
Hello, After an update I have little space left on the / device Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a3.8G3.1G414M88%/ devfs 1.0K1.0K 0B 100%/dev /dev/ar0s1d 60G2.2G 53G 4%/home I wanted to know if I can safely delete /usr/local/etc/cvsup/sup This beeing the default base for my previous kernel / system update *default host=cvsup5.fr.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default tag=RELENG_5_5 *default release=cvs delete use-rel-suffix compress src-all Are there any other file I should be removing ? Knowing that I have already removed /boot/kernel.old … Thanks for your support. Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz P Please consider your environmental responsibility before printing this e-mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Space needed on device
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bsd wrote: Hello, After an update I have little space left on the / device Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a3.8G3.1G414M88%/ devfs 1.0K1.0K 0B 100%/dev /dev/ar0s1d 60G2.2G 53G 4%/home Given your current partition setup, I would consider backing up your data and re-partition your system in a some more smart way ;-) Follow the hints in the handbook: http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/install-steps.html I wanted to know if I can safely delete /usr/local/etc/cvsup/sup I don't know if it would bring you much.. Such a directory weights 50MB on my system.. Are there any other file I should be removing ? Yes, you can remove /usr/obj ... Thanks for your support. Hope this helps, Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz - -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHzp8rwMJqmJVx944RAsquAKDCE4BArzVVZRRZrHmkqgtjqTbPlQCdGudr T4hfcZD1cqhAiOjmvYV+8JA= =B5om -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: Space needed on device
Le 5 mars 08 à 14:24, Pietro Cerutti a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bsd wrote: Hello, After an update I have little space left on the / device Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a3.8G3.1G414M88%/ devfs 1.0K1.0K 0B 100%/dev /dev/ar0s1d 60G2.2G 53G 4%/home Given your current partition setup, I would consider backing up your data and re-partition your system in a some more smart way ;-) Follow the hints in the handbook: http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/install-steps.html I wanted to know if I can safely delete /usr/local/etc/cvsup/sup I don't know if it would bring you much.. Such a directory weights 50MB on my system.. So the answer is yes, … It can be removed ? Are there any other file I should be removing ? Yes, you can remove /usr/obj ... Mmmh, much better : 14:33:05 /usr/obj # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a3.8G2.6G931M74%/ devfs 1.0K1.0K 0B 100%/dev /dev/ar0s1d 60G2.2G 53G 4%/home I know the scheme was not so good in the first place, but I don't want to go into all the hastle of reconfiguring a new system from scratch. Could maybe use some good advise on using smthg like dump to do this operation… ? Thanks for your support. Hope this helps, Yes. Thanks. Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz - -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHzp8rwMJqmJVx944RAsquAKDCE4BArzVVZRRZrHmkqgtjqTbPlQCdGudr T4hfcZD1cqhAiOjmvYV+8JA= =B5om -END PGP SIGNATURE- Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz P Please consider your environmental responsibility before printing this e-mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 and VMware tools (was Re: FreeBSD 7RC2 and VMware tools)
Dimitri Yioulos wrote: On Tuesday 04 March 2008 12:22 pm, [EMAIL PROTECTED] wrote: It seems that everybody tries to hack around the problem...:) Does somebody know if this is a FreeBSD problem or a VMware problem and who should fix it, resp. when is a fix expected? I mean, in 6.x the VMware tools just work. That would, indeed, be good to know. Um, I've read this thread and I still don't get what is the supposed problem is here? I'm using VMWare all the time with FreeBSD since 6.0 and here are my experiences: - The only thing that VMWare tools are useful (on FreeBSD) is to get GUI features like clipboard sharing and automatic mouse focus grab in X.Org. VMWare tools on Linux seem to include a driver that does something with memory management, but it's not available for FreeBSD. You don't need VMWare Tools for the following things to work: networking, timer, X.Org GUI. - Networking is handled by the le driver (in the old versions of FreeBSD there was lnc) or the em driver. These two will work without any special configuration of FreeBSD. To use the em driver, you might need to modify the VM configuration to include ethernet0.virtualDev = e1000 or a similar appropriate line. To use the VMWare vmxnet driver (which as far as I can see isn't much different than the le driver), you need to build a kernel without the le driver first. - Timer problems can be lessened (never solved, even with vmware tools) by reducing kern.hz to something like 50 or 100 Hz (in loader.conf), and installing ntpd. - X.Org can use the generic vmware display driver which is included in the default X.Org collection of drivers. Mouse, etc. are also handled generically. Don't expect great performance, but if you're using VM technology you're used to it. signature.asc Description: OpenPGP digital signature
install/upgrade question
Hi, I think this Q is pretty basic, but I just want to make sure. I was considering if upgrading from 6.3 to 7.0 and something goes wrong, and I need to do a fresh install. Can I only change/overwrite the /etc /usr, etc but leave /home intact?? thank you!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing FreeBSD remotely via serial console
On Tue, Mar 04, 2008 at 02:13:21PM -0500, Simon Chang wrote: Hi, Not sure whether Dell hardware has any special management features, but on generic server hardware, I always make sure BIOS console redirection is enabled (gives you BIOS access), and that it's set to stop redirecting once the OS boots. If it is one of the newer Dells, there is a feature called Remote Access Server that is built-in and has a special Ethernet port for it (the symbol above the physical port is that of a wrench). Read the documentation, but I believe it will get you BIOS messages, etc. What model of Dell server is it? I think it's the PowerEdge 1950, though oddly it doesn't say on my invoice. In any case, it does have the Remote Access Card, so I'm going to look through the docs on this and see if this is the right way to go. Thanks to everyone who replied on this; will report on how the install goes. Jesse Sheidlower ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install/upgrade question
yeah, I understand. backup is crucial. But I have 90% full in a 200G drive, so it's a pain in the rear end. But I wonder if I can choose what contents (or directories) to be installed so I can keep the rest intact. just a thought On Wed, Mar 5, 2008 at 9:09 AM, Chris [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 08:59:45 -0500 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: Hi, I think this Q is pretty basic, but I just want to make sure. I was considering if upgrading from 6.3 to 7.0 and something goes wrong, and I need to do a fresh install. Can I only change/overwrite the /etc /usr, etc but leave /home intact?? thank you!! Why not simply tar the dirs you want archived and save them off to some other media? This way you are certainly covered almost to the point of a hard disk failure. With the price of blank CD's, DVD's, and thumb drives - this seems to be a reasonable thing to consider. But to answer your question (somewhat) if I were either that unsure of what was going to happen (or paranoid) then I would most certainly have a backup (tarball) of the important stuff before I tried anything. Simply not invoking backups (of any type or any time) is silly. Just my 1/2 cent (applied current rate of inflation). -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Uname borked on ??-Release...
On Wednesday 05 March 2008 10:11:42 Joshua Isom wrote: On Mar 4, 2008, at 2:14 PM, Kris Kennaway wrote: Kevin Kinsey wrote: Kris Kennaway wrote: Kevin Kinsey wrote: What about strings /boot/kernel/kernel | grep 6.2-RELEASE? Kris As I would expect, it returns nothing at all. Your problem makes no sense then :) The kern.osrelease returns a string compiled into the kernel (see conf/newvers.sh), so if it returns 6.2-RELEASE then that string must be present. Kris So, have you checked to make sure your uname is accurate and not just an echoing shell script of sorts? You never know, maybe someone hijacked your uname before you upgraded and the hijacked version wasn't written properly(which is odd since it's BSD licensed, where if it were GPL they'd have to release the code for their evil uname so can't use a GPL version). Then sysctl would be a shell script too. The only way I can see this happening, is that /boot at loader time, is not the same /boot after kernel is loaded. For this reason, it would be nice if kern.bootfile would list ad0s1a:/boot/kernel/kernel. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install/upgrade question
On Wed, 5 Mar 2008 09:14:14 -0500 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: yeah, I understand. backup is crucial. But I have 90% full in a 200G drive, so it's a pain in the rear end. But I wonder if I can choose what contents (or directories) to be installed so I can keep the rest intact. just a thought I'm unsure if what you wish to do can be done. I suppose you could try the Upgrade feature when booting off the CD. I'm sorry, I can't give you a complete answer. Good luck tough. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: sa: user accounting initialization failed - FreeBSD 7-stable
On Wednesday 05 March 2008 03:09:01 George Fazio wrote: Lowell Gilbert wrote: George Fazio [EMAIL PROTECTED] writes: I'm seeing errors from sa in my daily run output. I read the man page for sa(8) and some of the commands that were referenced under the see also section. I'm completely lost. Could anyone point me in the right direction? Here is a snippet of the output from the daily run output Rotating accounting logs and gathering statistics: sa: converting user accounting stats: Inappropriate file type or format sa: user accounting initialization failed Are you intending to use the system accounting functionality? If not, you probably don't need the files in /var/account at all (by default, there wouldn't be any). I probably turned them by accident on while hastily going through the install. My (home) mail server had been down for nearly a week waiting for new hardware to arrive, and I probably was not paying quite as much attention as I should have been with the base install. While I do not need the accounting feature, I was hoping to understand why it is not working to broaden my understanding of how the system functions. I guess I will do some more reading and just disable it if I cannot figure it out. In that case, read the daily script: It does: sa -s $daily_account_flags which processes the file `acct' in /var/account. If the file cannot be processed, because there's invalid data in there, then it will remain so until the file is removed by hand, because the '-s' option of sa(8) will not truncate on error. How invalid data came to exist in the file, could be disk error or maybe OS upgrade to 7.x and they changed the format drastically? I have no idea. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install/upgrade question
On Wed, 5 Mar 2008 08:59:45 -0500 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: Hi, I think this Q is pretty basic, but I just want to make sure. I was considering if upgrading from 6.3 to 7.0 and something goes wrong, and I need to do a fresh install. Can I only change/overwrite the /etc /usr, etc but leave /home intact?? thank you!! Why not simply tar the dirs you want archived and save them off to some other media? This way you are certainly covered almost to the point of a hard disk failure. With the price of blank CD's, DVD's, and thumb drives - this seems to be a reasonable thing to consider. But to answer your question (somewhat) if I were either that unsure of what was going to happen (or paranoid) then I would most certainly have a backup (tarball) of the important stuff before I tried anything. Simply not invoking backups (of any type or any time) is silly. Just my 1/2 cent (applied current rate of inflation). -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?
On Wednesday 05 March 2008 12:01:11 Simon Street wrote: In addition i've attempted adding: kern.maxfilesperproc=65536 kern.ipc.somaxconn=1024 kern.ipc.maxsockbuf=2097152 kern.maxprocperuid=9000 to sysctl.conf kern.maxproc=10240 kern.maxfiles=65536 kern.ipc.nmbclusters=32768 kern.ipc.maxsockets=51200 to loader.conf I've also disabled ipv6 in the kernel (can't remember where I saw this suggestion) Post this I've recompiled apache with: [EMAIL PROTECTED] export CFLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] export CXX_FLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] /scripts/easyapache (this is the cPanel script that auto regens apache/php/addons) I'm having a hard time believing that this issue only plagues FreeBSD and is unfixable! Anyone got any ideas on what else I can change? Well, you're probably not reaching any CPanel users, so how about posting the offending script. Companies like to blame others, lawyers tell them to. What is this script doing anyway, that it needs 12000 open file descriptors? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install/upgrade question
On Wednesday 05 March 2008 14:59:45 Tsu-Fan Cheng wrote: I think this Q is pretty basic, but I just want to make sure. I was considering if upgrading from 6.3 to 7.0 and something goes wrong, and I need to do a fresh install. Can I only change/overwrite the /etc /usr, etc but leave /home intact?? thank you!! What's in your /etc/fstab? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
building 32bit port on AMD64 (mplayer)
Hi all, I am using FreeBSD 7.0-RELEASE AMD64. I would need to build /ports/multimedia/mplayer (and I suppose its dependencies) in a 32-bit version. This because certain options (win32 codec support) doesn't work on the 64bit version. How is this done? Is it also possible to have the 64bit and 32bit version coexist? I hope the 64bit version works faster but I'm not sure... A big thanks. Jan Catrysse ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd-upgrade from 6.2 to 6.3 errors
Hi Just followed http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade.html very careful to upgrade my box from 6.2 to 6.3 (btw. great work by Colin Percival). Now uname shows: # uname -a FreeBSD ws.inter-data.dk 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:56:56 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 ...as expected. The problems is that at the final sh freebsd-update.sh -f freebsd-update.conf install it said: # sh freebsd-update.sh -f freebsd-update.conf install Installing updates...ln: ///usr/share/man/man4/em.4.gz: No such file or directory rmdir: ///usr/src/gnu/usr.bin/gzip: Directory not empty Should I be concerned? The system seems to run fine, but man pages (i.e. man em or man arp) still states FreeBSD 6.2 at the final line. Is this wrong? What about the two errors. Do I need to clean something up after freebsd-update?: # ls -l /usr/share/man/man4/em* -rwxr--r-x 1 root wheel 5391 Jun 29 2007 /usr/share/man/man4/em.4 -r--r--r-- 2 root wheel 2879 Mar 14 2007 /usr/share/man/man4/emSAVE.4.gz # ls -l /usr/src/gnu/usr.bin/gzip total 64 -rw-r--r-- 1 root wheel 10701 May 3 2004 gzip.h.orig -rw-r--r-- 1 root wheel 31707 Aug 13 2004 inflate.c.orig -rw-r--r-- 1 root wheel 9229 Aug 28 1999 unlzh.c.orig -rw-r--r-- 1 root wheel 8212 Aug 28 1999 unpack.c.orig Thank you in advantage... With kind regards Gert Lynge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building 32bit port on AMD64 (mplayer)
I would need to build /ports/multimedia/mplayer (and I suppose its dependencies) in a 32-bit version. This because certain options (win32 codec support) doesn't work on the 64bit version. How is this done? no way. unless you will install FreeBSD/i386 bins and ports on subdir and use chroot. or just get mplayer binaries from i386 system and put here ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DNS Question
Hello, I am building the DNS Server,But I can't find the script /etc/namedb/make-localhost used in the document, So I can't go on now? Please tell me how to find the script,Thank you very much! Best Regards! Freebsd Lover:Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 and VMware tools (was Re: FreeBSD 7RC2 and VMware tools)
On Wed, Mar 5, 2008 at 1:44 PM, Ivan Voras [EMAIL PROTECTED] wrote: - Timer problems can be lessened (never solved, even with vmware tools) by reducing kern.hz to something like 50 or 100 Hz (in loader.conf), and installing ntpd. Installing the VMware Tools is a very good idea for timer problems as it helps the VM catch up after the host was unable to send it interrupts fast enough. If you don't install the tools, you should run ntp instead (but never both together). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS Question
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 国徽 wrote: Hello, I am building the DNS Server,But I can't find the script /etc/namedb/make-localhost used in the document, So I can't go on now? Please tell me how to find the script,Thank you very much! Unfortunately the documentation is a bit out of date. You no longer need to run 'make-localhost' -- there are pre-built zone files for localhost, and for 1.0.0.127.in-addr.arpa and the equivalent inverse domain for IPv6-ish ::1 that come with the system and which you can just use without further ado. 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 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHzsJT3jDkPpsZ+VYRA9/oAJwPFc7OhS/5rl2RAVhqKGRP0ii/8wCbBf+m 0HqFbp1sTRR/wadko9k5BRQ= =ufcj -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: DNS Question
Hi Erik: I don't recall the how-to explaining the usage of this script. I too, just recently setup a DNS server for a couple domains. My recommendation is to familiarize yourself with the Administrators Reference Manual (ARM) on BIND's website: http://www.isc.org/index.pl?/sw/bind/arm93/ I found it more valuable than just following someone else's simple steps! David Alanis Quoting ?? [EMAIL PROTECTED]: Hello, I am building the DNS Server,But I can't find the script /etc/namedb/make-localhost used in the document, So I can't go on now? Please tell me how to find the script,Thank you very much! Best Regards! Freebsd Lover:Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Printing with a laserjet 1018
First of all, thanks to those who have helped me so far. I have configured the printer and everything looks OK, but when I do a test print the test page goes into the printer queue and stays there for ever. The printer doesn't even squeak. First I had to use the print driver for a laserjet 1010 as I couldn't kind a driver for the 1018. Second the printer does work under the alternate OS. Any ideas? Thank you, Bob Here is my config for the HP1018: dsl:#pkg_info| egrep cups|ghost|foo cups-base-1.3.4_1 Common UNIX Printing System cups-pstoraster-8.15.4_1 Postscript interpreter for CUPS printing to non-PS printers foo2zjs-20070120_1 Driver for printers that use the ZjStream wire protocol foomatic-db-20070124_1 Foomatic database foomatic-filters-3.0.2_4 Foomatic wrapper scripts ghostscript-gpl-8.60 GPL Postscript interpreter dsl:$cat /root/bin/printer.sh #!/bin/sh export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin cat /usr/local/share/foo2zjs/firmware/sihp1018.dl /dev/ugen0.1 you might need to change your 'ugen0.1' to whatever USB port your printer is plugged into. Before you can use the printer, you have to do that above 'cat' command to load firmware. make sure regular users can use the printer: [chmod 666] dsl:#ls -l /dev/ugen0.1 crw-rw-rw- 1 root operator0, 40 Mar 4 23:32 /dev/ugen0.1 and via the cups web interface [localhost:631] just configure a new printer and choose the HP foo drivers,etc.etc. It just works. When you do the 'cat' command for firmware, the printer should make some noise and moving around. After that I'm able to print from konqueror/kprinter/firefox/etc.etc. dsl:#cat /usr/local/etc/cups/printers.conf # Printer configuration file for CUPS v1.3.4 # Written by cupsd on 2008-02-27 18:44 Printer HP1018 Info HP LaserJet 1018 Location 1018 DeviceURI usb:/dev/ugen0.1 State Idle StateTime 1204163073 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 AllowUser root AllowUser peter AllowUser Sanyusha OpPolicy default ErrorPolicy stop-printer /Printer ]Peter[ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
accf_http and incqlen
I setup the http accept filter with apache and I was having a hard time understanding this, maybe you guys could help out. I've tested this among various version of freebsd, and with various apache configs, and it appears to behave the same across the board. So why is it that it appears that the TCP connections never terminate, just stay in a state of ESTABLISHED, and why doesn't this queue ever flush itself, is it normal, if it is, what happens exactly when the queue fills up to maxqlen. From the netstat output below, you can see that the incqlen is maxed out. I've done quite a bit of searching regarding this queue but haven't found any real solid information which describes what happens when it fills up, and at the same time this is going on, I have 517 established connections to port 80. ]# netstat -an|grep \.80|grep ESTAB|wc -l 519 ]# netstat -Lan Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address tcp4 0/0/5 *.8080 tcp4 0/510/511 *.80 tcp4 0/0/10 *.587 tcp4 0/0/10 *.25 tcp4 0/0/128*.22 tcp4 0/0/100*.3306 tcp4 0/0/9 *.21 tcp4 0/0/128127.0.0.1.953 tcp4 0/0/3 127.0.0.1.53 -Scott Oertel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AFFORDABLE LOAN (APPLY NOW)
Greetings, I am Mr Francis Cooker the financial Managing Director,I am a certified loan lender, offering loan to people who are in need of loans, here are some question: Are you in need of a loan of any purpose?, Do you want to pay your bills?, Are you in a financial problem:, Do you need a financial Solution?. Here is the solution to all your financial problem. I give out loans for project, business, taxes, bills, and so many others reasons, our loan are easy, cheap Contact us today for that loan you desire, we can arrange any loan you suit your budget at low interest rate. If Interested, fill out the details below: 1. YOUR NAME... 2. YOUR COUNTRY... 3. YOUR OCCUPATION. 4. YOUR MARITAL STATUS. 5. PHONE NUMBER... 6. MONTHLY INCOME.. 7. ADDRESS... 8. PURPOSE OF LOAN. 9. LOAN AMOUNT IN USD.. 10. LOAN DURATIONS. In acknowledgment to this mail, we can start with the processing of your loan. There is more to gain by getting a loan from this company. Regards as I look forward to hearing from you urgently. To reply this mail,Please click on the email address below: Contact customer care for more info: Email:([EMAIL PROTECTED]) Mr. Francis Cooker Managing Director. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?
On Wed, Mar 5, 2008 at 2:32 PM, Mel [EMAIL PROTECTED] wrote: On Wednesday 05 March 2008 12:01:11 Simon Street wrote: In addition i've attempted adding: kern.maxfilesperproc=65536 kern.ipc.somaxconn=1024 kern.ipc.maxsockbuf=2097152 kern.maxprocperuid=9000 to sysctl.conf kern.maxproc=10240 kern.maxfiles=65536 kern.ipc.nmbclusters=32768 kern.ipc.maxsockets=51200 to loader.conf I've also disabled ipv6 in the kernel (can't remember where I saw this suggestion) Post this I've recompiled apache with: [EMAIL PROTECTED] export CFLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] export CXX_FLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] /scripts/easyapache (this is the cPanel script that auto regens apache/php/addons) I'm having a hard time believing that this issue only plagues FreeBSD and is unfixable! Anyone got any ideas on what else I can change? Well, you're probably not reaching any CPanel users, so how about posting the offending script. Companies like to blame others, lawyers tell them to. What is this script doing anyway, that it needs 12000 open file descriptors? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. The problems php inside apache (700+ sites). Not sure if gmail replied to my original email properly or not! Basically, PHP refuses (instantly) to resolve dns with mod_php, but its fine connecting to an IP with the same piece of fsockopen code. And it will happily resolve the name if its run from the CLI. I've been told by cpanel that this is a FreeBSD bug but I'm having a hard time accepting that. cPanels third line support seem unable to fix it and are telling me to switch to CGI/suphp which the customer isn't happy with due to .htaccess stuff. I'm making an assumption that its a lack of FD's but my attempts to compile stuff with more seems to be failing, or my assumptions are wrong. Code that breaks: $fp = fsockopen(www.example.com, 80, $errno, $errstr, 30); // Fails inside apache2.2/mod_php5, works fine with php5cli on same server $fp = fsockopen(208.77.188.166, 80, $errno, $errstr, 30);// Works all round The code fails with: Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known in test.php on line 2 But dns is fine on the server. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install/upgrade question
um... dont remember exactly.. but it mounts 2 other HD drives, and the usual, such as / (root), procs (perhaps?), /home swap, .. why?? On Wed, Mar 5, 2008 at 9:36 AM, Mel [EMAIL PROTECTED] wrote: On Wednesday 05 March 2008 14:59:45 Tsu-Fan Cheng wrote: I think this Q is pretty basic, but I just want to make sure. I was considering if upgrading from 6.3 to 7.0 and something goes wrong, and I need to do a fresh install. Can I only change/overwrite the /etc /usr, etc but leave /home intact?? thank you!! What's in your /etc/fstab? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install/upgrade question
On Wednesday 05 March 2008 17:13:50 Tsu-Fan Cheng wrote: On Wed, Mar 5, 2008 at 9:36 AM, Mel [EMAIL PROTECTED] wrote: On Wednesday 05 March 2008 14:59:45 Tsu-Fan Cheng wrote: I think this Q is pretty basic, but I just want to make sure. I was considering if upgrading from 6.3 to 7.0 and something goes wrong, and I need to do a fresh install. Can I only change/overwrite the /etc /usr, etc but leave /home intact?? thank you!! What's in your /etc/fstab? um... dont remember exactly.. but it mounts 2 other HD drives, and the usual, such as / (root), procs (perhaps?), /home swap, .. why?? Cause if /home and /usr/local are on a different partition, then you can newfs /usr and / and just tar /etc (which shouldn't be more then 10M compressed). Depends how you screwed up your install of course. If the boot sector is gone, then so is all your data. Generally, upgrades of base system do not overwrite /usr/local or /home, but /usr will contain the new base system and /etc is upgraded by mergemaster. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7.0 kde 3 build patch error
I'm trying to build kde3 from ports with 7.0 release and get this patch error whilst trying to build cups === Running ldconfig /sbin/ldconfig -m /usr/local/lib === Registering installation for libmng-1.0.9 === Returning to build of qt-3.3.8_6 === qt-3.3.8_6 depends on shared library: png - found === qt-3.3.8_6 depends on shared library: jpeg - found === qt-3.3.8_6 depends on shared library: Xft.2 - found === qt-3.3.8_6 depends on shared library: cups.2 - not found ===Verifying install for cups.2 in /usr/ports/print/cups-base === Vulnerability check disabled, database not found === Found saved configuration for cups-base-1.3.5_2 = cups-1.3.5-source.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://ftp.easysw.com/pub/cups/1.3.5/. cups-1.3.5-source.tar.bz2 100% of 3986 kB 190 kBps 00m00s === Extracting for cups-base-1.3.5_2 = MD5 Checksum OK for cups-1.3.5-source.tar.bz2. = SHA256 Checksum OK for cups-1.3.5-source.tar.bz2. === Patching for cups-base-1.3.5_2 === Applying FreeBSD patches for cups-base-1.3.5_2 Ignoring previously applied (or reversed) patch. 10 out of 10 hunks ignored--saving rejects to cups/ipp.c.rej = Patch patch-CVE-2007-4351 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/x11/kde3. /usr/ports/x11/kde3: -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?
On Wednesday 05 March 2008 17:11:25 Simon Street wrote: On Wed, Mar 5, 2008 at 2:32 PM, Mel [EMAIL PROTECTED] wrote: On Wednesday 05 March 2008 12:01:11 Simon Street wrote: In addition i've attempted adding: kern.maxfilesperproc=65536 kern.ipc.somaxconn=1024 kern.ipc.maxsockbuf=2097152 kern.maxprocperuid=9000 to sysctl.conf kern.maxproc=10240 kern.maxfiles=65536 kern.ipc.nmbclusters=32768 kern.ipc.maxsockets=51200 to loader.conf I've also disabled ipv6 in the kernel (can't remember where I saw this suggestion) Post this I've recompiled apache with: [EMAIL PROTECTED] export CFLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] export CXX_FLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] /scripts/easyapache (this is the cPanel script that auto regens apache/php/addons) I'm having a hard time believing that this issue only plagues FreeBSD and is unfixable! Anyone got any ideas on what else I can change? Well, you're probably not reaching any CPanel users, so how about posting the offending script. Companies like to blame others, lawyers tell them to. What is this script doing anyway, that it needs 12000 open file descriptors? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. The problems php inside apache (700+ sites). Not sure if gmail replied to my original email properly or not! Basically, PHP refuses (instantly) to resolve dns with mod_php, but its fine connecting to an IP with the same piece of fsockopen code. And it will happily resolve the name if its run from the CLI. I've been told by cpanel that this is a FreeBSD bug but I'm having a hard time accepting that. cPanels third line support seem unable to fix it and are telling me to switch to CGI/suphp which the customer isn't happy with due to .htaccess stuff. I'm making an assumption that its a lack of FD's but my attempts to compile stuff with more seems to be failing, or my assumptions are wrong. Code that breaks: $fp = fsockopen(www.example.com, 80, $errno, $errstr, 30); // Fails inside apache2.2/mod_php5, works fine with php5cli on same server $fp = fsockopen(208.77.188.166, 80, $errno, $errstr, 30);// Works all round The code fails with: Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known in test.php on line 2 But dns is fine on the server. Doesn't have anything to do with the DNS, I'm still looking how this can be, but the error means that no hostname has been given, since php passes NULL to servname by default (see main/network.c around line 202). So somewhere along the way the hostname passed to the function gets lost. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nss_ldap wants openldap 2.3.41 - have 2.4.8
On Wed, Mar 5, 2008 at 9:51 AM, Eddie C [EMAIL PROTECTED] wrote: Jason, I was willing to settle for openldap 23. Im my case however the problem is nscd daemon. new to 7.0 not in 6.3 We want to role this out across hundreds of servers and fear that without caching looks to a halt. I spoke to another guy about this this morning. We might setup a wiki or find a IRC chat room or something. Are you interested? Edward Edward, I would be absolutley interested. I am usually available from 1730 CST to 2200 or 2300 CST. Just let me know the details. On Tue, Mar 4, 2008 at 9:45 PM, Jason Garrett [EMAIL PROTECTED] wrote: On Tue, Mar 4, 2008 at 8:18 PM, Jason Garrett [EMAIL PROTECTED] wrote: This is most likely a dumb question, but how do I tell ports to build nss_ldap against openldap-2.4.8? WANT_OPENLDAP_VER=24 worked in /etc/make.conf snip errors ___ 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: amd64 or i386 for desktop use?
On Wed, Mar 05, 2008 at 12:36:33AM -0500, Isaac Mushinsky wrote: I have new hardware (Abit ip35-pro, Intel Q6600), and was contemplating installing FreeBSD/arch, but now realise that I am going to have some problems. My nvidia card will not be of much use (GeForce 8500GT), since nvidia-drivers are not there for amd64, and the open source nv driver does not even support XVideo extension for these cards. I can downgrade to a nv 7xxx series card, which works better with the open driver. I do not mind loss of 3D support, but would need basic things like mplayer. Any ATI card up to and including the 9250 (rv280) is fully supported on amd64, 3D and all. (I know because I've got one :-) 2. Any problems with flash plugin (flash7 for now, I do not mean the confounded flash9 headache)? I've never been able to get a native flash player to work, but I don't mind doing without. The downloadhelper plugin for firefox can help you download a lot of movies (e.g. youtube) which you then can play with mplayer. All the flash ads I'll gladly do without. 3. Other casual desktop user problems I should be aware of? Wine is i386 only. 4. Is it worth it? Perhaps I should stay with i386, but it is a pity not to be able to use the new machine to its full potential. Practically you don't _need_ amd64 unless you're running out of address space on i386. Me, I'm running amd64 because I can. :-) My desktop has a gig of RAM, and I seldom use more than half of that. Mind you, I'm using a simple window manager not a desktop environment with lots of bells whistles. I suspect binaries on i386 will be somewhat smaller. But amd64 has more registers which might give some speed advantages. I haven't tested it, but it might be nice to do a speed comparison between i386 and amd64 on identical hardware. I don't think the difference will matter for a common desktop though; the CPU of a desktop is mostly idling anyway. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpwQRIUaqgOM.pgp Description: PGP signature
Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?
On Wednesday 05 March 2008 17:50:45 Mel wrote: On Wednesday 05 March 2008 17:11:25 Simon Street wrote: On Wed, Mar 5, 2008 at 2:32 PM, Mel [EMAIL PROTECTED] wrote: On Wednesday 05 March 2008 12:01:11 Simon Street wrote: In addition i've attempted adding: kern.maxfilesperproc=65536 kern.ipc.somaxconn=1024 kern.ipc.maxsockbuf=2097152 kern.maxprocperuid=9000 to sysctl.conf kern.maxproc=10240 kern.maxfiles=65536 kern.ipc.nmbclusters=32768 kern.ipc.maxsockets=51200 to loader.conf I've also disabled ipv6 in the kernel (can't remember where I saw this suggestion) Post this I've recompiled apache with: [EMAIL PROTECTED] export CFLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] export CXX_FLAGS=-DFD_SETSIZE=12000 [EMAIL PROTECTED] /scripts/easyapache (this is the cPanel script that auto regens apache/php/addons) I'm having a hard time believing that this issue only plagues FreeBSD and is unfixable! Anyone got any ideas on what else I can change? Well, you're probably not reaching any CPanel users, so how about posting the offending script. Companies like to blame others, lawyers tell them to. What is this script doing anyway, that it needs 12000 open file descriptors? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. The problems php inside apache (700+ sites). Not sure if gmail replied to my original email properly or not! Basically, PHP refuses (instantly) to resolve dns with mod_php, but its fine connecting to an IP with the same piece of fsockopen code. And it will happily resolve the name if its run from the CLI. I've been told by cpanel that this is a FreeBSD bug but I'm having a hard time accepting that. cPanels third line support seem unable to fix it and are telling me to switch to CGI/suphp which the customer isn't happy with due to .htaccess stuff. I'm making an assumption that its a lack of FD's but my attempts to compile stuff with more seems to be failing, or my assumptions are wrong. Code that breaks: $fp = fsockopen(www.example.com, 80, $errno, $errstr, 30); // Fails inside apache2.2/mod_php5, works fine with php5cli on same server $fp = fsockopen(208.77.188.166, 80, $errno, $errstr, 30);// Works all round The code fails with: Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known in test.php on line 2 But dns is fine on the server. Doesn't have anything to do with the DNS, I'm still looking how this can be, but the error means that no hostname has been given, since php passes NULL to servname by default (see main/network.c around line 202). So somewhere along the way the hostname passed to the function gets lost. Argh, strike that, the same errorcode is used for unresolvable hostnames. I'm gonna take a guess that the process is chrooted into /usr/local and therefore cannot access /etc/resolv.conf to know what the nameserver is. And, something just entered my mind from way way back - I think if you don't have HostnameLookups enabled, that any attempt to do resolving inside a httpd child, will fail. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0 kde 3 build patch error
El día Wednesday, March 05, 2008 a las 04:02:11PM +, Robin Becker escribió: I'm trying to build kde3 from ports with 7.0 release and get this patch error whilst trying to build cups === Running ldconfig /sbin/ldconfig -m /usr/local/lib === Registering installation for libmng-1.0.9 === Returning to build of qt-3.3.8_6 === qt-3.3.8_6 depends on shared library: png - found === qt-3.3.8_6 depends on shared library: jpeg - found === qt-3.3.8_6 depends on shared library: Xft.2 - found === qt-3.3.8_6 depends on shared library: cups.2 - not found ===Verifying install for cups.2 in /usr/ports/print/cups-base === Vulnerability check disabled, database not found === Found saved configuration for cups-base-1.3.5_2 = cups-1.3.5-source.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://ftp.easysw.com/pub/cups/1.3.5/. cups-1.3.5-source.tar.bz2 100% of 3986 kB 190 kBps 00m00s === Extracting for cups-base-1.3.5_2 = MD5 Checksum OK for cups-1.3.5-source.tar.bz2. = SHA256 Checksum OK for cups-1.3.5-source.tar.bz2. === Patching for cups-base-1.3.5_2 === Applying FreeBSD patches for cups-base-1.3.5_2 Ignoring previously applied (or reversed) patch. 10 out of 10 hunks ignored--saving rejects to cups/ipp.c.rej = Patch patch-CVE-2007-4351 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 ... I run into the same problem and fetched the tar file of the cups-base-1.3.6 port from FreeBSD which compiles fine; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: amd64 or i386 for desktop use?
On Wed, 5 Mar 2008 18:13:03 +0100, Roland Smith [EMAIL PROTECTED] wrote: On Wed, Mar 05, 2008 at 12:36:33AM -0500, Isaac Mushinsky wrote: I have new hardware (Abit ip35-pro, Intel Q6600), and was contemplating installing FreeBSD/arch, but now realise that I am going to have some problems. My nvidia card will not be of much use (GeForce 8500GT), since nvidia-drivers are not there for amd64, and the open source nv driver does not even support XVideo extension for these cards. I can downgrade to a nv 7xxx series card, which works better with the open driver. I do not mind loss of 3D support, but would need basic things like mplayer. Any ATI card up to and including the 9250 (rv280) is fully supported on amd64, 3D and all. (I know because I've got one :-) Oh, is that so? Could you please tell me how you got it to work? Because I've got GREAT issues getting *ANY* ATI card to work with at least Composite on FreeBSD and/or Linux. And I've even got i386. Or has something happened since I last cried myself to sleep over this driverless hell? -- Sincerely, Rada ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make.conf CPUTYPE Xeon Conroe?
I'm running FreeBSD 7.0 on a server with an Intel Xeon Dual-Core 3060 Conroe (2.4GHz) CPU. I'm wondering what I should set CPUTYPE to in my /etc/make.conf. The file /usr/share/examples/etc/make.conf has this information: # (Intel CPUs)core2 core nocona pentium4m pentium4 prescott # pentium3m pentium3 pentium-m pentium2 # pentiumpro pentium-mmx pentium i486 i386 I guess those are the possibilities. Which one should I choose for my processor? Also, by accident, I had CPUTYPE=p4 in my make.conf when I compiled world, kernel, and ports. p4 is a flag from older FreeBSD distributions I think. Will this (this meaning both that p4 may be unrecognized and/or it's not my processor type) cause any problems, or should I recompile everything with the correct CPUTYPE flag? Installing world is a hassle because it's not easy for me to do it from single user mode. Thanks. - Nerius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: amd64 or i386 for desktop use?
On 3/5/08, Roland Smith [EMAIL PROTECTED] wrote: On Wed, Mar 05, 2008 at 12:36:33AM -0500, Isaac Mushinsky wrote: I have new hardware (Abit ip35-pro, Intel Q6600), and was contemplating installing FreeBSD/arch, but now realise that I am going to have some problems. My nvidia card will not be of much use (GeForce 8500GT), since nvidia-drivers are not there for amd64, and the open source nv driver does not even support XVideo extension for these cards. I can downgrade to a nv 7xxx series card, which works better with the open driver. I do not mind loss of 3D support, but would need basic things like mplayer. Any ATI card up to and including the 9250 (rv280) is fully supported on amd64, 3D and all. (I know because I've got one :-) 2. Any problems with flash plugin (flash7 for now, I do not mean the confounded flash9 headache)? I've never been able to get a native flash player to work, but I don't mind doing without. The downloadhelper plugin for firefox can help you download a lot of movies (e.g. youtube) which you then can play with mplayer. All the flash ads I'll gladly do without. 3. Other casual desktop user problems I should be aware of? Wine is i386 only. 4. Is it worth it? Perhaps I should stay with i386, but it is a pity not to be able to use the new machine to its full potential. Practically you don't _need_ amd64 unless you're running out of address space on i386. Me, I'm running amd64 because I can. :-) My desktop has a gig of RAM, and I seldom use more than half of that. Mind you, I'm using a simple window manager not a desktop environment with lots of bells whistles. I suspect binaries on i386 will be somewhat smaller. But amd64 has more registers which might give some speed advantages. I haven't tested it, but it might be nice to do a speed comparison between i386 and amd64 on identical hardware. I don't think the difference will matter for a common desktop though; the CPU of a desktop is mostly idling anyway. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/http://www.xs4all.nl/%7Ersmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) Thanks a lot. Trouble is, new hardware does not even have an AGP slot for those cards. I don't mind to go without 3D, though, and it appears some newer cards (R5xx/R6xx) have decent drivers otherwise. Yes, I also want to go amd64 because I can. Besides, it will be a fresh install, and if ever, this is the right time to switch. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install/upgrade question
Tsu-Fan Cheng wrote: Can I only change/overwrite the /etc /usr, etc but leave /home intact?? Depends. If your /home is a seperate partition AND you don't need to repartition (relabel) the disk, you should be ok. In disklabel, you'll find a newfs toggle. If you set this to N for a certain partition, that partition will not be reformatted and all data on it should be preserved if nothing strange happens. I've done this several times without problems, for example to preserve /home and/or my CVS repository between installs. I always kept backups though, in case something goes wrong during the install and the partition gets screwed up after all, which is unlikely but NOT impossible! If your /home is merely a directory on a larger partition (for example because it's symlinked to /usr/home or something), or if you need to repartition/relabel the disk, it gets tricky and you'll probably be better off restoring from a backup. Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
starting a program at boot time
how do i start a program at boot time? -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: starting a program at boot time
how do i start a program at boot time? simplest to add to rc.local or as a user - add @reboot command in crontab -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.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: amd64 or i386 for desktop use?
of RAM, and I seldom use more than half of that. Mind you, I'm using a simple window manager not a desktop environment with lots of bells whistles. I suspect binaries on i386 will be somewhat smaller. But amd64 has more registers which might give some speed advantages. I haven't tested it, but yes it is much faster (somehow like 20%), and code size are rarely big part of memory usage. data size may be a problem if program uses huge tables with pointers, like squid. i always use amd64 on amd64-capable hardware, with exception of i386 squid binary which doesn't use much CPU but lots of RAM, and a bit less with i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deb archives
Yes you did! Interesting enough thought, I would like to see how one might config apt-get to be used w/FreeBSD and the packages (I assume?). You might want to have a look at Debian GNU/kFreeBSD (http://www.debian.org/ports/kfreebsd-gnu/). Regards, -- Nino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: starting a program at boot time
how do i start a program at boot time? What is the exact program you want to start at boot time? Is this a standard program that is typically started at boot time or is it some sort of custom program that is non-standard? If it's a standard program such as the ssh daemon or the apache webserver, then read my post, otherwise ignore what I say here and refer to other people's posts. Have a look in the directories /etc/rc.d/ and /usr/local/etc/rc.d/. Do you see a script in these directories that may lauch the program you're interested in at boot time? For example, on my system, I want ssh and apache running on bootup. I see the file /etc/rc.d/sshd and the file /usr/local/etc/rc.d/apache22. These are scripts that lauch the programs. I would start sshd manually for example by /etc/rc.d/sshd start To enable these on bootup automatically, edit your /etc/rc.conf file. Mine has the following lines: sshd_enable=YES apache22_enable=YES As you can see the lines resemble the script names in the rc.d directories. To enable your program at boot time, add a similar line to rc.conf. Hope this helps. -Nerius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make.conf CPUTYPE Xeon Conroe?
On Wednesday 05 March 2008 11:55:48 am Nerius Landys wrote: I'm running FreeBSD 7.0 on a server with an Intel Xeon Dual-Core 3060 Conroe (2.4GHz) CPU. I'm wondering what I should set CPUTYPE to in my /etc/make.conf. The file /usr/share/examples/etc/make.conf has this information: # (Intel CPUs)core2 core nocona pentium4m pentium4 prescott # pentium3m pentium3 pentium-m pentium2 # pentiumpro pentium-mmx pentium i486 i386 I guess those are the possibilities. Which one should I choose for my processor? Also, by accident, I had CPUTYPE=p4 in my make.conf when I compiled world, kernel, and ports. p4 is a flag from older FreeBSD distributions I think. Will this (this meaning both that p4 may be unrecognized and/or it's not my processor type) cause any problems, or should I recompile everything with the correct CPUTYPE flag? Installing world is a hassle because it's not easy for me to do it from single user mode. Thanks. - Nerius As a general rule, setting a CPUTYPE is something you should try to avoid...there's all sorts of breakage it can cause for very little gain. If you're heart is set on it though, your CPU is a core2. -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB signature.asc Description: This is a digitally signed message part.
Re: starting a program at boot time
how do i start a program at boot time? I found the following threads helpful: script to be executed on system startup http://docs.freebsd.org/cgi/getmsg.cgi?fetch=116+0+archive/2008/freebsd-questions/20080210.freebsd-questions /usr/local/etc/rc.d/ scripts and non-root user http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1210729+0+archive/2008/freebsd-questions/20080210.freebsd-questions Regards, -- Nino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building 32bit port on AMD64 (mplayer)
On Wed, Mar 05, 2008 at 03:33:43PM +0100, Jan Catrysse wrote: I am using FreeBSD 7.0-RELEASE AMD64. I would need to build /ports/multimedia/mplayer (and I suppose its dependencies) in a 32-bit version. This because certain options (win32 codec support) doesn't work on the 64bit version. Are you sure you _need_ those codecs? I'm using mplayer on amd64 and I haven't found many videos that it doesn't play. Certainly things like youtube videos work fine without win32 codecs. How is this done? The easiest way is to run i386. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpAYfDgKK6Ae.pgp Description: PGP signature
Re: amd64 or i386 for desktop use?
On Wed, Mar 05, 2008 at 06:29:51PM +0100, alive wrote: Any ATI card up to and including the 9250 (rv280) is fully supported on amd64, 3D and all. (I know because I've got one :-) Oh, is that so? Could you please tell me how you got it to work? Because I've got GREAT issues getting *ANY* ATI card to work with at least Composite on FreeBSD and/or Linux. And I've even got i386. Or has something happened since I last cried myself to sleep over this driverless hell? - Add the device radeondrm to you kernel config and recompile, or load the radeon.ko kernel module. - Install the xf86-video-ati driver (this is xorg 7.3!) - Load the right modules in xorg.conf; Section Module Loaddri Loadglx Loaddbe Loadextmod Loadfreetype Loadtype1 EndSection - Use the radeon driver in xorg.conf: Section Device Identifier Card0 Driver radeon #Option AGPMode 8 #Option DDCMode true EndSection That's about it, I think. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpMMKGsfsW4F.pgp Description: PGP signature
Re: make.conf CPUTYPE Xeon Conroe?
Josh Paetzel writes: As a general rule, setting a CPUTYPE is something you should try to avoid...there's all sorts of breakage it can cause for very little gain. Do you have examples? I ask because I've had CPUTYPE? = p4 on this machine for five years - dozens of buildworlds and possibly thousands of port builds - and never had anything attributable to that go wrong. 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: amd64 or i386 for desktop use?
On 3/5/08, Isaac Mushinsky [EMAIL PROTECTED] wrote: On 3/5/08, Roland Smith [EMAIL PROTECTED] wrote: On Wed, Mar 05, 2008 at 12:36:33AM -0500, Isaac Mushinsky wrote: I have new hardware (Abit ip35-pro, Intel Q6600), and was contemplating installing FreeBSD/arch, but now realise that I am going to have some problems. My nvidia card will not be of much use (GeForce 8500GT), since nvidia-drivers are not there for amd64, and the open source nv driver does not even support XVideo extension for these cards. I can downgrade to a nv 7xxx series card, which works better with the open driver. I do not mind loss of 3D support, but would need basic things like mplayer. Any ATI card up to and including the 9250 (rv280) is fully supported on amd64, 3D and all. (I know because I've got one :-) [...] Thanks a lot. Trouble is, new hardware does not even have an AGP slot for those cards. I don't mind to go without 3D, though, and it appears some newer cards (R5xx/R6xx) have decent drivers otherwise. Yes, I also want to go amd64 because I can. Besides, it will be a fresh install, and if ever, this is the right time to switch. Where can I get a decent driver for ATI chipsets (e.g. RG516)? The radeonhd driver does not support hardware acceleration, and so far it doesn't work properly with my brain-dead RG516 card (which tells radeonhd that there are no monitors connected), leaving me with the vesa driver, which is pretty limiting but at least is better than nothing. Although this was planned to be an amd64 system, I'm forced to use i386 because the HP BIOS won't boot FreeBSD amd64 (I will never voluntarily have anything to do with another HP system after my experience with this one). My nVidia-based system works (although not as well as it did with older nVidia drivers), but it is an older card on an i386 system. I don't know what happens with newer nVidia chipsets. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make.conf CPUTYPE Xeon Conroe?
On Wed, Mar 05, 2008 at 09:55:48AM -0800, Nerius Landys wrote: I'm running FreeBSD 7.0 on a server with an Intel Xeon Dual-Core 3060 Conroe (2.4GHz) CPU. I'm wondering what I should set CPUTYPE to in my /etc/make.conf. The file /usr/share/examples/etc/make.conf has this information: # (Intel CPUs)core2 core nocona pentium4m pentium4 prescott # pentium3m pentium3 pentium-m pentium2 # pentiumpro pentium-mmx pentium i486 i386 I guess those are the possibilities. Which one should I choose for my processor? I would suggest that you *NOT* set the CPUTYPE. The gains are are minimal compared to the pain you will have if you also use the ports system. -- Jonathan Chen [EMAIL PROTECTED] -- The Internet: an empirical test of the idea that a million monkeys banging on a million keyboards can produce Shakespeare ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make.conf CPUTYPE Xeon Conroe?
Alike other users how can you compare the benefits pros/cons of setting the CPU type? Documentation reads otherwise and it only mentions possible cons in one section? # CFLAGS controls the compiler settings used when compiling C code. # Note that optimization settings other than -O and -O2 are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to -O or -O2 -fno-strict-aliasing # before submitting bug reports without patches to the developers. I needs proof :) David- Quoting Jonathan Chen [EMAIL PROTECTED]: On Wed, Mar 05, 2008 at 09:55:48AM -0800, Nerius Landys wrote: I'm running FreeBSD 7.0 on a server with an Intel Xeon Dual-Core 3060 Conroe (2.4GHz) CPU. I'm wondering what I should set CPUTYPE to in my /etc/make.conf. The file /usr/share/examples/etc/make.conf has this information: # (Intel CPUs)core2 core nocona pentium4m pentium4 prescott # pentium3m pentium3 pentium-m pentium2 # pentiumpro pentium-mmx pentium i486 i386 I guess those are the possibilities. Which one should I choose for my processor? I would suggest that you *NOT* set the CPUTYPE. The gains are are minimal compared to the pain you will have if you also use the ports system. -- Jonathan Chen [EMAIL PROTECTED] -- The Internet: an empirical test of the idea that a million monkeys banging on a million keyboards can produce Shakespeare ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: amd64 or i386 for desktop use?
Thanks. Do you by any chance have a link to supported cards? Do you know if this driver supports Composite? OpenGL? On Wed, 5 Mar 2008 20:32:06 +0100, Roland Smith [EMAIL PROTECTED] wrote: On Wed, Mar 05, 2008 at 06:29:51PM +0100, alive wrote: Any ATI card up to and including the 9250 (rv280) is fully supported on amd64, 3D and all. (I know because I've got one :-) Oh, is that so? Could you please tell me how you got it to work? Because I've got GREAT issues getting *ANY* ATI card to work with at least Composite on FreeBSD and/or Linux. And I've even got i386. Or has something happened since I last cried myself to sleep over this driverless hell? - Add the device radeondrm to you kernel config and recompile, or load the radeon.ko kernel module. - Install the xf86-video-ati driver (this is xorg 7.3!) - Load the right modules in xorg.conf; Section Module Loaddri Loadglx Loaddbe Loadextmod Loadfreetype Loadtype1 EndSection - Use the radeon driver in xorg.conf: Section Device Identifier Card0 Driver radeon #Option AGPMode 8 #Option DDCMode true EndSection That's about it, I think. Roland -- Sincerely, Rada ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
faster booting
We have several network services hosted on a FreeBSD system, and want it to come up quickly, so that these services (dhcp, nameservice, nis, tftp etc) are available when systems are restarting after a prolonged power failure. That is, several times a year we have multi-hour power failures (generally starting at midnight because that is utility maintainance time) and our UPSs run out of power. That is OK, but we would like the systems to come up when the power returns, without going to the server room and restarting systems in a prescribed order. In most cases the clients hang because essential services are not available, and in most cases the clients do not proceed to boot later when the service does become available. So, is there advice anywhere about speeding up the boot process? It appears that most of the 1 minute 45 seconds to boot our system is wait time for checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use to avoid this checking? Would recompiling the kernel in some specialized way help? Would pico-bsd be faster? About the only thing I can find is to reduce the 10 second boot screen delay - but we need to cut more than 30 seconds. The server is statically configured but the clients obtain network configuration from dhcp and pxeboot with nfs mounted root directories. Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as it has greatly simplified maintainance. Any suggestions, pointers much appreciated. Daniel Feenberg NBER ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use build custom kernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd7, mail/mailman, www/apache22, and sendmail
Issue: The www/apache22 integration seems to be fine; however, the sendmail integration isn't quite right. client computer: $ echo `uname -a` | mail -s `date` [EMAIL PROTECTED] Mail Server: /var/log/maillog m25JwCEk065018: m25JwCEl065018: DSN: unknown mailer error 255 m25JwCEl065018: to=[EMAIL PROTECTED], delay=00:00:00 \ xdelay=00:00:00, mailer=mailman, pri=32149, \ relay=lists.p6m7g8.net, dsn=5.3.0, stat=unknown mailer error 255 m25JwCEm065018: return to sender: unknown mailer error 255 The setup: - /etc/make.conf [snipped] # SASL (cyrus-sasl v2) sendmail build flags... SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # Adding to enable alternate port (smtps) for sendmail... SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL .if ${.CURDIR:M*/usr/ports/mail/mailman*} WITH_SENDMAIL= yes WITH_HTDIG= yes .endif .if ${.CURDIR:M*/usr/ports/www/apache22*} WITH_SSL= yes WITH_APR_FROM_PORTS= yes WITH_FULLBUILD= yes WITH_MYSQL= yes WITH_PCRE_FROM_PORTS= yes WITH_LOG_FORENSIC=yes WITH_PROXY_CONNECT= yes WITH_PROXY_FTP= yes WITH_PROXY_HTTP= yes WITH_PROXY_AJP= yes WITH_PROXY_BALANCER= yes WITHOUT_MEM_CACHED= yes .endif - /var/db/pkg [snipped] apache-2.2.8 apr-nothr-1.2.8_2 bash-static-3.2.33 mailman-with-htdig-2.1.9_5 mysql-client-5.1.23 pcre-7.6 python25-2.5.2_1 cyrus-sasl-2.1.22 cyrus-sasl-saslauthd-2.1.22 users: id mailnull uid=26(mailnull) gid=26(mailnull) groups=26(mailnull) id mailman uid=91(mailman) gid=91(mailman) groups=91(mailman) id www uid=80(www) gid=80(www) groups=80(www) - /etc/mail/host.mc [snipped] define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/lists') FEATURE(`smrsh') FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') VIRTUSER_DOMAIN(`lists.domain.tld') dnl FEATURE(`limited_masquerade') dnl MASQUERADE_AS(`lists.domain.tld') Mmailman, P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailman, S=EnvFromL, R=EnvToL/HdrToL, A=mm-handler $h $u - $ whereis smrsh smrsh: /usr/libexec/smrsh $ strings /usr/libexec/smrsh | grep bin |head -1 /usr/libexec/sm.bin $ ls -l /usr/libexec/sm.bin/ lrwxr-xr-x 1 root wheel - 31B Mar 4 18:43:32 2008 mailman@ - /usr/local/mailman/mail/mailman $ ls -l /usr/local/mailman/mail/mailman -rwxr-sr-x 1 root mailman - 15K Mar 4 12:45:40 2008 /usr/local/mailman/mail/mailman* $ /usr/local/mailman sudo bin/check_perms -f No problems found $ cat /etc/mail/mailertable lists.domain.tldmailman:lists.domain.tld $ ls -l /etc/mail/mm-handler -rwxr-xr-x 1 root wheel - 5.8K Mar 4 19:10:53 2008 mm-handler* - /etc/rc.conf [snipped] sendmail_enable=YES mailman_enable=YES apache22_enable=YES apache22_http_accept_enable=YES - /usr/local/mailman/Mailman/mm_cfg.py from Defaults import * MTA = None DEFAULT_EMAIL_HOST = 'lists.domain.tld' DEFAULT_URL_HOST = 'lists.domain.tld' DEFAULT_URL_PATTERN = 'http://%s/mailman/' - /usr/local/etc/apache22/httpd.conf User www Group www /usr/local/etc/apache22/vhosts/tld.domain.lists.conf VirtualHost * ServerName lists.domain.tld DocumentRoot/usr/local/mailman Alias /icons/ /usr/local/mailman/icons/ Alias /pipermail/ /usr/local/mailman/archives/public/ ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/ ErrorLog /usr/local/mailman/logs/httpd-error_log CustomLog /usr/local/mailman/logs/httpd-access_log common CustomLog /usr/local/mailman/logs/httpd-combined_log combined Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory /VirtualHost - $ uname -a FreeBSD host.domain.tld 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar 2 09:48:59 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOST i386 -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list
Re: amd64 or i386 for desktop use?
On Wed, Mar 05, 2008 at 09:22:35PM +0100, alive wrote: Thanks. Do you by any chance have a link to supported cards? http://www.sapphiretech.com/us/products/products_overview.php?gpid=59grp=2 Support for r300 based cards is coming as well. Do you know if this driver supports Composite? OpenGL? It works with OpenGL. I haven't tried composite. On Wed, 5 Mar 2008 20:32:06 +0100, Roland Smith [EMAIL PROTECTED] wrote: On Wed, Mar 05, 2008 at 06:29:51PM +0100, alive wrote: Any ATI card up to and including the 9250 (rv280) is fully supported on amd64, 3D and all. (I know because I've got one :-) Oh, is that so? Could you please tell me how you got it to work? Because I've got GREAT issues getting *ANY* ATI card to work with at least Composite on FreeBSD and/or Linux. And I've even got i386. Or has something happened since I last cried myself to sleep over this driverless hell? - Add the device radeondrm to you kernel config and recompile, or load the radeon.ko kernel module. - Install the xf86-video-ati driver (this is xorg 7.3!) - Load the right modules in xorg.conf; Section Module Loaddri Loadglx Loaddbe Loadextmod Loadfreetype Loadtype1 EndSection - Use the radeon driver in xorg.conf: Section Device Identifier Card0 Driver radeon #Option AGPMode 8 #Option DDCMode true EndSection That's about it, I think. You'll also need to install the dri port for direct rendering to work. And you'll need this in xorg.conf: Section DRI Mode 0666 EndSection Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpfltJUznuHH.pgp Description: PGP signature
Re: faster booting
In response to Daniel Feenberg [EMAIL PROTECTED]: We have several network services hosted on a FreeBSD system, and want it to come up quickly, so that these services (dhcp, nameservice, nis, tftp etc) are available when systems are restarting after a prolonged power failure. That is, several times a year we have multi-hour power failures (generally starting at midnight because that is utility maintainance time) and our UPSs run out of power. That is OK, but we would like the systems to come up when the power returns, without going to the server room and restarting systems in a prescribed order. In most cases the clients hang because essential services are not available, and in most cases the clients do not proceed to boot later when the service does become available. So, is there advice anywhere about speeding up the boot process? It appears that most of the 1 minute 45 seconds to boot our system is wait time for checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use to avoid this checking? Would recompiling the kernel in some specialized way help? Would pico-bsd be faster? About the only thing I can find is to reduce the 10 second boot screen delay - but we need to cut more than 30 seconds. The server is statically configured but the clients obtain network configuration from dhcp and pxeboot with nfs mounted root directories. Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as it has greatly simplified maintainance. Any suggestions, pointers much appreciated. Three things I can think of: * The 10 sec boot delay, which you already mentioned * Make sure the wait time for SCSI devices is a low as reliably works. If it only has SCSI disks, this could probably very short, 1 sec or so * Recompile your kernel removing any devices that don't exist in your hardware. I'm not buying this, however. My laptop boots in ~30 seconds with a mostly stock kernel. Please provide specific details as to what's slowing it down. Are you sure it's not a slow BIOS? Many of the Dell systems we have take several minutes with BIOS self-checks before the OS even starts to boot. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
In the last episode (Mar 05), Daniel Feenberg said: We have several network services hosted on a FreeBSD system, and want it to come up quickly, so that these services (dhcp, nameservice, nis, tftp etc) are available when systems are restarting after a prolonged power failure. That is, several times a year we have multi-hour power failures (generally starting at midnight because that is utility maintainance time) and our UPSs run out of power. That is OK, but we would like the systems to come up when the power returns, without going to the server room and restarting systems in a prescribed order. In most cases the clients hang because essential services are not available, and in most cases the clients do not proceed to boot later when the service does become available. So, is there advice anywhere about speeding up the boot process? It appears that most of the 1 minute 45 seconds to boot our system is wait time for checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use to avoid this checking? Would recompiling the kernel in some specialized way help? Would pico-bsd be faster? If it's a PCI system, removing unused drivers can't hurt, but if a driver doesn't find a supported PCI ID on the system is usually exits immediately. But removing drivers for hardware that you have but don't use might help more. I know it takes a few seconds to scan for USB devices even if none are connected, for example. You can also set kern.cam.scsi_delay=500 in loader.conf to take the settling time for SCSI devices down to .5 sec instead of 2 sec per bus. There's probably a similar tunable for IDE/SATA controllers. Best thing to do is watch the console and eliminate drivers (or adjust timeouts) that seem to cause the scrolling to stop :) About the only thing I can find is to reduce the 10 second boot screen delay - but we need to cut more than 30 seconds. There might actually be three boot delays: one from boot0 (the F1,F2,F3 boot menu), boot2 (the bootblock that loads /boot/loader), and the loader. You can remove the boot0 timeout with boot0cfg -t 0 or simply replace it with a dumb mbr with fdisk -B. boot2 can be sped up by creating a boot.config file in your root directory with -n in it, and you alreay know how to reduce /boot/loader's timeout. Some of this is documented in the boot0cfg(8) and boot(8) manpages. -- Dan Nelson [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: faster booting
On Wednesday 05 March 2008 21:06:39 Daniel Feenberg wrote: About the only thing I can find is to reduce the 10 second boot screen delay - but we need to cut more than 30 seconds. The server is statically configured but the clients obtain network configuration from dhcp and pxeboot with nfs mounted root directories. Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as it has greatly simplified maintainance. Any suggestions, pointers much appreciated. Well, you could remove any hardware devices from the kernel, that you're sure you don't have nor going to get within the machine's lifetime. Nics and disk/raid controllers are good candidates. However, this isn't really an exact science and you may not be able to cut the time you need. So you could of course make up for it, by *delaying* the dependant machines by 30-60 seconds. I'm sure that another 30-60 seconds on a multi-hour outage isn't gonna make a difference. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
On Wed, Mar 05, 2008 at 03:06:39PM -0500, Daniel Feenberg wrote: snip So, is there advice anywhere about speeding up the boot process? It appears that most of the 1 minute 45 seconds to boot our system is wait time for checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use to avoid this checking? Would recompiling the kernel in some specialized way help? You should build a custom kernel with only the devices and options that you need in it. Starting from the GENERIC kernel config and with dmesg output in hand you should be able to remove a lot of unneeded drivers. For instance, probing a floppy drive takes relatively long. Remove all network devices except the ones you actually use. Same goes for the SCSI card drivers and RAID controllers. Do not mess with the options lines unless you know what you're doing. And if you remove device lines, look at its manual page to check that it is not a prequisite for another driver that you do need. Do not remove the devices random, loop, ether pty and md. I always use 'makeoptions MODULES_OVERRIDE=' in my kernel config so that no kernel modules are built or installed. Another way to shorten boot time is to disable all unneeded services. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpFB1hzy8iju.pgp Description: PGP signature
SIGHUP and Program Flow in a 6.2 Application
A SIGHUP signal to a running process needs a signal handler like signal( SIGHUP ,startlogging); What sort of end statement needs to be in the function called to allow program execution to resume back in the main caller? I had put a return; statement in the function and noticed that things were wrong after the application stopped catching the SIGHUP after the first call. A gdb trace shows that the signal causes a branch to the code pointed to by the signal statement. The code runs and then if it reaches the return; statement, the flow is lost and knows not where to go next. Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
On Wed, 5 Mar 2008, Bill Moran wrote: In response to Daniel Feenberg [EMAIL PROTECTED]: We have several network services hosted on a FreeBSD system, and want it to come up quickly, so that these services (dhcp, nameservice, nis, tftp etc) are available when systems are restarting after a prolonged power failure. That is, several times a year we have multi-hour power failures (generally starting at midnight because that is utility maintainance time) and our UPSs run out of power. That is OK, but we would like the systems to come up when the power returns, without going to the server room and restarting systems in a prescribed order. In most cases the clients hang because essential services are not available, and in most cases the clients do not proceed to boot later when the service does become available. So, is there advice anywhere about speeding up the boot process? It appears that most of the 1 minute 45 seconds to boot our system is wait time for checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use to avoid this checking? Would recompiling the kernel in some specialized way help? Would pico-bsd be faster? About the only thing I can find is to reduce the 10 second boot screen delay - but we need to cut more than 30 seconds. The server is statically configured but the clients obtain network configuration from dhcp and pxeboot with nfs mounted root directories. Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as it has greatly simplified maintainance. Any suggestions, pointers much appreciated. Three things I can think of: * The 10 sec boot delay, which you already mentioned * Make sure the wait time for SCSI devices is a low as reliably works. If it only has SCSI disks, this could probably very short, 1 sec or so * Recompile your kernel removing any devices that don't exist in your hardware. I'm not buying this, however. My laptop boots in ~30 seconds with a mostly stock kernel. Please provide specific details as to what's slowing it down. Are you sure it's not a slow BIOS? Many of the Dell systems we have take several minutes with BIOS self-checks before the OS even starts to boot. The BIOS time isn't terrible - BTX shows up on the console within 15 seconds. The major delays happen when the last console message is about atapci: (25 seconds) and ad2: (15 seconds). Daniel Feenberg -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
where are base, info, kernels, dict, doc, games, manpages, ports, src, etc. for 7.0-REL?
I can't seem to find the distributions listed in the Subject: line on any of the 7.0-RELEASE ISO images. What am I missing? I know the 7.0-RELEASE announcement says the bootable ISO can be used along with FTP to finish the install, but I can't get FTP (or passive FTP, for that matter) to work as it has in the past. I am behind a m0n0wall firewall, but I believe I have used passive FTP in the past to get around that problem. I even opened up the firewall with a pass all rule, but it still didn't work. It looked like it could not resolve ftp.freebsd.org or ftp9.freebsd.org since it hung there trying to connect with... until it gave up. I tried several different (known good) DNS server IP addresses, but nothing worked. Then I went looking for the distributions in the ISO images. Not finding them there either has really had a negative impact on my install today, sigh... :-( Regards, web... -- William Bulley Email: [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: faster booting
I second the statement about BIOS checks taking a long time. After working with many FreeBSD boxes, mostly Dells and a few IBM servers, they can take forever (2 to 3 minutes) which seems like forever when one is trying to get back on line quickly. If one is using a serial console, the \|/-\|/- of the kernel loading doesn't start until most of that time is gone. I am guessing the actual FreeBSD kernel bootup is maybe 30 seconds or so. If you have a SCSI bus, be sure the settling time built in to the boot process is as short as will still work correctly. Earlier versions of FreeBSD waited 15 seconds default. I safely got it down to 1.5 seconds and might have even gotten it shorter if I really knew how long it took the bus to settle. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
Martin McCormick skrev: I second the statement about BIOS checks taking a long time. After working with many FreeBSD boxes, mostly Dells and a few IBM servers, they can take forever (2 to 3 minutes) which seems like forever when one is trying to get back on line quickly. If one is using a serial console, the \|/-\|/- of the kernel loading doesn't start until most of that time is gone. I am guessing the actual FreeBSD kernel bootup is maybe 30 seconds or so. If you have a SCSI bus, be sure the settling time built in to the boot process is as short as will still work correctly. Earlier versions of FreeBSD waited 15 seconds default. I safely got it down to 1.5 seconds and might have even gotten it shorter if I really knew how long it took the bus to settle. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I tend to not reboot machines...FreeBSD somehow makes that possible. But If I do a shutdown there's the CTRL-D to get it back up fast Just my nickels worth. /R ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SIGHUP and Program Flow in a 6.2 Application
At 03:26 PM 3/5/2008, Martin McCormick wrote: A SIGHUP signal to a running process needs a signal handler like signal( SIGHUP ,startlogging); What sort of end statement needs to be in the function called to allow program execution to resume back in the main caller? I had put a return; statement in the function and noticed that things were wrong after the application stopped catching the SIGHUP after the first call. A gdb trace shows that the signal causes a branch to the code pointed to by the signal statement. The code runs and then if it reaches the return; statement, the flow is lost and knows not where to go next. Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group Nothing needs to be in your handler function to continue running simply return from your function. However, depending on the signal you may wish to call the original signal handler. Signals like interrupts are chained linked lists of handlers. You can choose to break the chain, and have only your handler called, or keep the chain intact calling the other handlers. Read the man page on signal for more information. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where are base, info, kernels, dict, doc, games, manpages, ports, src, etc. for 7.0-REL?
are you using 7.0-RELEASE--bootonly.iso or 7.0-RELEASE--Disc1.iso the later has the files on it and can be installed without any network connection at all. -Sean -- From: William Bulley [EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 4:42 PM To: freebsd-questions@freebsd.org Subject: where are base, info, kernels, dict, doc, games, manpages, ports,src, etc. for 7.0-REL? I can't seem to find the distributions listed in the Subject: line on any of the 7.0-RELEASE ISO images. What am I missing? I know the 7.0-RELEASE announcement says the bootable ISO can be used along with FTP to finish the install, but I can't get FTP (or passive FTP, for that matter) to work as it has in the past. I am behind a m0n0wall firewall, but I believe I have used passive FTP in the past to get around that problem. I even opened up the firewall with a pass all rule, but it still didn't work. It looked like it could not resolve ftp.freebsd.org or ftp9.freebsd.org since it hung there trying to connect with... until it gave up. I tried several different (known good) DNS server IP addresses, but nothing worked. Then I went looking for the distributions in the ISO images. Not finding them there either has really had a negative impact on my install today, sigh... :-( Regards, web... -- William Bulley Email: [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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
In response to Daniel Feenberg [EMAIL PROTECTED]: On Wed, 5 Mar 2008, Bill Moran wrote: In response to Daniel Feenberg [EMAIL PROTECTED]: We have several network services hosted on a FreeBSD system, and want it to come up quickly, so that these services (dhcp, nameservice, nis, tftp etc) are available when systems are restarting after a prolonged power failure. That is, several times a year we have multi-hour power failures (generally starting at midnight because that is utility maintainance time) and our UPSs run out of power. That is OK, but we would like the systems to come up when the power returns, without going to the server room and restarting systems in a prescribed order. In most cases the clients hang because essential services are not available, and in most cases the clients do not proceed to boot later when the service does become available. So, is there advice anywhere about speeding up the boot process? It appears that most of the 1 minute 45 seconds to boot our system is wait time for checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use to avoid this checking? Would recompiling the kernel in some specialized way help? Would pico-bsd be faster? About the only thing I can find is to reduce the 10 second boot screen delay - but we need to cut more than 30 seconds. The server is statically configured but the clients obtain network configuration from dhcp and pxeboot with nfs mounted root directories. Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as it has greatly simplified maintainance. Any suggestions, pointers much appreciated. Three things I can think of: * The 10 sec boot delay, which you already mentioned * Make sure the wait time for SCSI devices is a low as reliably works. If it only has SCSI disks, this could probably very short, 1 sec or so * Recompile your kernel removing any devices that don't exist in your hardware. I'm not buying this, however. My laptop boots in ~30 seconds with a mostly stock kernel. Please provide specific details as to what's slowing it down. Are you sure it's not a slow BIOS? Many of the Dell systems we have take several minutes with BIOS self-checks before the OS even starts to boot. The BIOS time isn't terrible - BTX shows up on the console within 15 seconds. The major delays happen when the last console message is about atapci: (25 seconds) and ad2: (15 seconds). Funky. That's a Looong time to wait for an ATA controller to determine whether or not their's a disk attached. Do you have an ad2? If not, you might want to check the BIOS to see if there's an option to disable that particular part of the ATA chain to see if that speeds FreeBSD's probe up. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: amd64 or i386 for desktop use?
On Wed, 5 Mar 2008, alive wrote: On Wed, 5 Mar 2008 18:13:03 +0100, Roland Smith [EMAIL PROTECTED] wrote: On Wed, Mar 05, 2008 at 12:36:33AM -0500, Isaac Mushinsky wrote: I have new hardware (Abit ip35-pro, Intel Q6600), and was contemplating installing FreeBSD/arch, but now realise that I am going to have some problems. My nvidia card will not be of much use (GeForce 8500GT), since nvidia-drivers are not there for amd64, and the open source nv driver does not even support XVideo extension for these cards. I can downgrade to a nv 7xxx series card, which works better with the open driver. I do not mind loss of 3D support, but would need basic things like mplayer. Any ATI card up to and including the 9250 (rv280) is fully supported on amd64, 3D and all. (I know because I've got one :-) Oh, is that so? Could you please tell me how you got it to work? Because I've got GREAT issues getting *ANY* ATI card to work with at least Composite on FreeBSD and/or Linux. And I've even got i386. Or has something happened since I last cried myself to sleep over this driverless hell? -- Sincerely, Rada I own a Radeon 9600 pro and with the xf86-video-ati from git tree I can get 3D and even tv-out through xrandr. I believe that that the new 6.8.0 (which still is not in the ports tree) We'll gona be able to have everything (3D, tv-out) out-of-the-box in the same way as the git one. ___ 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: where are base, info, kernels, dict, doc, games, manpages, ports, src, etc. for 7.0-REL?
According to Sean Cavanaugh [EMAIL PROTECTED]: are you using 7.0-RELEASE--bootonly.iso or 7.0-RELEASE--Disc1.iso the later has the files on it and can be installed without any network connection at all. Thanks. I have 7.0-RELEASE-i386-disc1.iso and burned it onto a CD-ROM, but that didn't seem to work either. I will try it again... It is curious why the contents of the ISOs is not listed somewhere. The only way I could find to inspect them was: # mdconfig -a -t vnode -f whatever.iso -u 0 # mount -t cd9660 /dev/md0 /mnt which is from section 18.6.2 of the Handbook. Regards, web... -- William Bulley Email: [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: where are base, info, kernels, dict, doc, games, manpages, ports, src, etc. for 7.0-REL?
Hi William, Look here -- ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/7.0 That is where I obtained the ISO's from. Regards, Terry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of William Bulley Sent: Thursday, 6 March 2008 8:43 AM To: freebsd-questions@freebsd.org Subject: where are base, info, kernels, dict, doc, games, manpages, ports, src, etc. for 7.0-REL? I can't seem to find the distributions listed in the Subject: line on any of the 7.0-RELEASE ISO images. What am I missing? I know the 7.0-RELEASE announcement says the bootable ISO can be used along with FTP to finish the install, but I can't get FTP (or passive FTP, for that matter) to work as it has in the past. I am behind a m0n0wall firewall, but I believe I have used passive FTP in the past to get around that problem. I even opened up the firewall with a pass all rule, but it still didn't work. It looked like it could not resolve ftp.freebsd.org or ftp9.freebsd.org since it hung there trying to connect with... until it gave up. I tried several different (known good) DNS server IP addresses, but nothing worked. Then I went looking for the distributions in the ISO images. Not finding them there either has really had a negative impact on my install today, sigh... :-( Regards, web... -- William Bulley Email: [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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sata slave on intel ICH7
Hi, FreeBSD 6.3-RELEASE detects one of my three SATA disks as ata2-slave. I thought SATA did away with the master/slave ugliness of PATA. Thinking maybe this was misleading output from FreeBSD, I did some concurrent writes using dd. Sure enough, I see poor performance on concurrent writes to ad4 and ad5 (ata2-master and ata2-slave), while I see good performance on concurrent writes to ad4 and ad6 (ata2-master, ata3-master). I can provide more details on the write tests I performed, but I'm more interested in *why* FreeBSD detects one of my SATA disks as a slave... Here are some details: 6.3-RELEASE FreeBSD 6.3-RELEASE #0 i386 Motherboard: Intel S3000AH BIOS: SATA Mode is set to Enhanced (as opposed to Legacy) # atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: ad4 WDC WD2500KS-00MJB0/02.01C03 Serial ATA II Slave: ad5 WDC WD2500KS-00MJB0/02.01C03 Serial ATA II ATA channel 3: Master: ad6 WDC WD2500KS-00MJB0/02.01C03 Serial ATA II Slave: no device present # grep -i ata /var/run/dmesg.boot atapci0: Intel ICH7 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30b0-0x30bf irq 18 at device 31.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 atapci1: Intel ICH7 SATA300 controller port 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af mem 0x8820-0x882003ff irq 19 at device 31.2 on pci0 ata2: ATA channel 0 on atapci1 ata3: ATA channel 1 on atapci1 ad4: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata2-master SATA150 ad5: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata2-slave SATA150 ad6: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata3-master SATA150 Any guidance on this would be greatly appreciated. Thanks, Dane -- Dane Miller Systems Administrator Greatschools, Inc http://www.greatschools.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB Wireless card for an access point
Hi list, I currently have a FreeBSD machine that acts as a router and fileserver for my local home network. I'm hoping to set up a wireless access point so I don't have to steal my neighbour's wireless. The PC I'm using for FreeBSD has no free PCI slots so I'm forced to settle for a USB device. I'm hoping you all can suggest to me some models that have worked for you as an access point. If it counts, I'll be running FreeBSD 7. Thanks for any suggestions, Ross ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
Bill Moran wrote: So, is there advice anywhere about speeding up the boot process? It appears that most of the 1 minute 45 seconds to boot our system is wait time for checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use to avoid this checking? Would recompiling the kernel in some specialized way help? Would pico-bsd be faster? About the only thing I can find is to reduce the 10 second boot screen delay - but we need to cut more than 30 seconds. The server is statically configured but the clients obtain network configuration from dhcp and pxeboot with nfs mounted root directories. Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as it has greatly simplified maintainance. Any suggestions, pointers much appreciated. Three things I can think of: * The 10 sec boot delay, which you already mentioned * Make sure the wait time for SCSI devices is a low as reliably works. If it only has SCSI disks, this could probably very short, 1 sec or so * Recompile your kernel removing any devices that don't exist in your hardware. I'm not buying this, however. My laptop boots in ~30 seconds with a mostly stock kernel. Please provide specific details as to what's slowing it down. Are you sure it's not a slow BIOS? Many of the Dell systems we have take several minutes with BIOS self-checks before the OS even starts to boot. The BIOS time isn't terrible - BTX shows up on the console within 15 seconds. The major delays happen when the last console message is about atapci: (25 seconds) and ad2: (15 seconds). Funky. That's a Looong time to wait for an ATA controller to determine whether or not their's a disk attached. Do you have an ad2? If not, you might want to check the BIOS to see if there's an option to disable that particular part of the ATA chain to see if that speeds FreeBSD's probe up. Let's be sure of this, though; are we actually talking about an ATA controller issue? The phrase last console message doesn't necessarily mean it's the ATA controller, but whatever is *next* in the bootup process, AFAICT, *after* the probe of /dev/ad2, which, on my systems is the mounting of the root filesystem. OTOH, turning off BIOS probes for disks that don't exist is a good idea, IMHO. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
On Wed, 5 Mar 2008, Kevin Kinsey wrote: Bill Moran wrote: So, is there advice anywhere about speeding up the boot process? It appears that most of the 1 minute 45 seconds to boot our system is wait time for checking the existence of non-existant hardware and would not be appreciable reduced with a faster CPU or disk. Are there kernel options that we could use to avoid this checking? Would recompiling the kernel in some specialized way help? Would pico-bsd be faster? About the only thing I can find is to reduce the 10 second boot screen delay - but we need to cut more than 30 seconds. The server is statically configured but the clients obtain network configuration from dhcp and pxeboot with nfs mounted root directories. Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as it has greatly simplified maintainance. Any suggestions, pointers much appreciated. Three things I can think of: * The 10 sec boot delay, which you already mentioned * Make sure the wait time for SCSI devices is a low as reliably works. If it only has SCSI disks, this could probably very short, 1 sec or so * Recompile your kernel removing any devices that don't exist in your hardware. I'm not buying this, however. My laptop boots in ~30 seconds with a mostly stock kernel. Please provide specific details as to what's slowing it down. Are you sure it's not a slow BIOS? Many of the Dell systems we have take several minutes with BIOS self-checks before the OS even starts to boot. The BIOS time isn't terrible - BTX shows up on the console within 15 seconds. The major delays happen when the last console message is about atapci: (25 seconds) and ad2: (15 seconds). Funky. That's a Looong time to wait for an ATA controller to determine whether or not their's a disk attached. Do you have an ad2? If not, you might want to check the BIOS to see if there's an option to disable that particular part of the ATA chain to see if that speeds FreeBSD's probe up. Let's be sure of this, though; are we actually talking about an ATA controller issue? The phrase last console message doesn't necessarily mean it's the ATA controller, but whatever is *next* in the bootup process, AFAICT, *after* the probe of /dev/ad2, which, on my systems is the mounting of the root filesystem. Yes, there is an ad2 - it is the root filesystem, but given the point made above, it might be that the best thing to do is put that on a faster device. It is currently on a 2.5 drive that was selected to reduce power consumption and make the UPS last longer. Maybe a thumb drive would be better. As for the suggestion that we delay the clients, we plan to enable memory testing in the BIOS of the clients to delay the first request for dhcp services. Any delays placed later in the boot sequence won't help with the problem. Dan Feenberg OTOH, turning off BIOS probes for disks that don't exist is a good idea, IMHO. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: amd64 or i386 for desktop use?
Thanks everyone, based on the info I am returning the nvidia card and getting an R4xx instead (found an X850 for under $80 still sold; seems to be well enough supported). I still want to try amd64; other limitations do not bother me that much (I do not care for wine or win32 codecs). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
VPN - Which way to go?
Howdy people, I need to setup a VPN connection to the university's network. Now, there's a chapter in the handbook about VPN over IPsec and there seems to be this thing called OpenVPN in the ports collection. Which is the better way to go? All I need is to obtain an IP address within the university's IP range (because otherwise I can't use their outgoing STMP), that's all. So as simple a solution as possible would be preferred. Suggestions are welcome. Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: faster booting
In the last episode (Mar 05), Daniel Feenberg said: As for the suggestion that we delay the clients, we plan to enable memory testing in the BIOS of the clients to delay the first request for dhcp services. Any delays placed later in the boot sequence won't help with the problem. Another option could be to place this machine on a dedicated UPS of its own with a larger battery to ensure that it stays up even after your site UPS fails. APC's web page has a page that can suggest a UPS based on server type and uptime requirements. If it's a small enough server, you can get 24 hours out of a $1500 1KVA UPS. http://www.apcc.com/tools/ups_selector/index.cfm -- Dan Nelson [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: VPN - Which way to go?
On Wed, 5 Mar 2008 at 23:21 -, [EMAIL PROTECTED] confabulated: Howdy people, I need to setup a VPN connection to the university's network. Now, there's a chapter in the handbook about VPN over IPsec and there seems to be this thing called OpenVPN in the ports collection. Which is the better way to go? All I need is to obtain an IP address within the university's IP range (because otherwise I can't use their outgoing STMP), that's all. So as simple a solution as possible would be preferred. Suggestions are welcome. We have a Cisco VPN set up where our servers are being colocated. I'm using vpnc: /usr/ports/security/vpnc The configuration file has IPSec set up using its parameters: IPSec gateway IPSec ID IPSec obfuscated secret Don't know if this helps or not. - _|_ |_| | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LDAP user authentication?
Hi Jon. Look i'm in your situation, searching for documents about this authentication stuff, i have follow this threat, i just want to know if u already have done this and what was your results. Thanks!!! On Sun, Feb 17, 2008 at 4:49 PM, Jonathan Chen [EMAIL PROTECTED] wrote: On Sun, Feb 17, 2008 at 05:45:33PM -0500, Darek M. wrote: Jon Theil Nielsen wrote: I have googled for a very long time, but I haven't found any useful howto on this issue. Well, there is http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html but that seems to be a bit confusing an not up-to-date. I guess it _should_ be possible - and indeed very useful (especially combinde with Samba PDC and an easily maintainlable mail server). So please, if you have any experiences or knowledge of a useful description..! Regards, Jon Theil Nielsen At the risk of a thread-jack... how are home directories handled? Will 'user' have a home dir on the local system? I suppose once LDAP is set up properly, you can then create the home dir, then chown it 'user', with 'user' not being a local user and not in passwd/master.passwd files. So when you chown/chgrp, those commands go through pam/nss/ldap to retrieve the proper id and name from the LDAP server? There's security/pam_mkhomedir, which should do what you want. Cheers. -- Jonathan Chen [EMAIL PROTECTED] We laugh in the face of danger, we drop icecubes down the vest of fear - Edmond Blackadder III ___ 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]
multiple CPUs and vmstat
I'm running 7.0 on i386. I'd like to see multiple cpu stats in vmstat. vmstat procs memory page disk faults cpu r b w avmfre flt re pi pofr sr ad0 in sy cs us sy id 0 0 0 398000 77144 7298 1 1 0 5686 12 0 117 18938 1758 32 11 58 The formatting got whacked, sorry. I looked at several man pages and couldn't find any other stat program that showed multiple processors. I have a system monitor running under SuperKaramba, but on a Hyperthreaded system, it shows both processors with identical CPU percentages. I had sent a bug report to KDE, but the guy that picked it up couldn't understand my point. Which is, since a hyperthreaded CPU is actually two pipelines sharing a common execution unit, the best it could be doing is complementary precents, i.e., if one CPU is 60% utilized, then the other CPU couldn't be any better than 40 % utilized. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Konqueror Storage Media requires View...Refresh
The first time I open my desktop System icon, and select Storage Media, I have to select View...Refresh to see anything. Is this the way it works on everyone else's system, or do I need to configure something? It's not a big deal, just wondering if I can fix it by configuration. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]