Putting FreeBSD to sleep?

2006-05-12 Thread Graham Bentley
Can anyone post some good pointers for setting up ACPI or APM so that I get automatic susepend afer x mins of inactivity and woken up on LAN request ? (in particular shut down disc / slow or shut down psu fan - its the noise I am concerned about) I have looked at posts on rc.suspend/resume for va

Console image viewer

2006-05-12 Thread Steve P.
Anyone know of a decent jpg viewer for the console? I don't want to install X. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Security / kernel message interpretations please !

2006-05-12 Thread Dan Nelson
In the last episode (May 13), Graham Bentley said: > I posted about this a few days ago and its appeared again in my > security log (the backup routine log appears to be fine) > > +(sa0:ahc0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 > +(sa0:ahc0:0:6:0): CAM Status: SCSI Status Error

Re: I keep having wrong checksum in 6.1 iso download (what should I do??)

2006-05-12 Thread Nick Withers
On Fri, 12 May 2006 21:51:02 -0700 (PDT) Mark Jayson Alvarez <[EMAIL PROTECTED]> wrote: > Hi, > > It was my second time to download a 6.1 iso from one > of the regional ftp sites.. Lucky we have a slightly > fast connection (155Mbps)... Slightly fast? What do you call fast? :-) > By the way, is

Security / kernel message interpretations please !

2006-05-12 Thread Graham Bentley
I posted about this a few days ago and its appeared again in my security log (the backup routine log appears to be fine) +(sa0:ahc0:0:6:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 +(sa0:ahc0:0:6:0): CAM Status: SCSI Status Error +(sa0:ahc0:0:6:0): SCSI Status: Check Condition +(sa0:ahc0:

Re: Dead tree documentation

2006-05-12 Thread Michael M.
Chris Hill wrote: On Fri, 12 May 2006, Michael M. wrote: [snip] Any thoughts, advice, pointers? Anything I missed, especially any general UNIX books that might go well with one of the above? As for general un*x books that are not FreeBSD-specific, the single best one I've used is _Essentia

Re: Dead tree documentation

2006-05-12 Thread Michael M.
David Stanford wrote: "The Complete FreeBSD, 4th Ed." by Greg Lehey and "Absolute BSD" by Michael Lucas are fantastic books, but are, unfortunately, a little outdated. "BSD Hacks" is also an extremely useful book, but aimed more at administrators looking to learn a few tricks of the trade. My s

I keep having wrong checksum in 6.1 iso download (what should I do??)

2006-05-12 Thread Mark Jayson Alvarez
Hi, It was my second time to download a 6.1 iso from one of the regional ftp sites.. Lucky we have a slightly fast connection (155Mbps)... By the way, is it really dangerous to ignore these checksums that doesn't match with the published one? What's the reason behind this bad checksum mismatch??.

Re: Dead tree documentation

2006-05-12 Thread Michael M.
Kevin Kinsey wrote: Michael M. wrote: I've been using various Linux distros and OS X for a while now, and Windows before those, and am interested in trying out FreeBSD. Call me old fashioned, but as an engaged-but-non-technical user, I find it really useful to have at least some accompanying

Re: An FTP alternative ?

2006-05-12 Thread Atom Powers
On 5/12/06, Nick Withers <[EMAIL PROTECTED]> wrote: Have you looked at SFTP? It's a "subsystem" that operates over an SSH connection. Whilst it requires that a user be able to login over SSH to the server, you can use filesystem permissions (and indeed other system facilities) to enforce things l

Re: Tape backup / Bizzare Device Question

2006-05-12 Thread Atom Powers
Graham Bentley said: > Is there a way to create a hdd resore solution with > set of boot floppies that will support my tape drive > access the tape and restore the entire hard disc in > case of disc failure disaster ? ie So I could install > a new disc and be up and running without doing any > add

Re: An FTP alternative ?

2006-05-12 Thread Nick Withers
On Sat, 13 May 2006 04:57:25 +0200 Leo Lapousterle <[EMAIL PROTECTED]> wrote: > Hello :) > > I'm fed up with FTP servers : FTP is great, but I need some admin stuff > like privileges (one user can upload but not download, for example) > unavailable for FTP... at least for those I've tested. > >

Re: An FTP alternative ?

2006-05-12 Thread Atom Powers
On 5/12/06, Leo Lapousterle <[EMAIL PROTECTED]> wrote: Hello :) I'm fed up with FTP servers : FTP is great, but I need some admin stuff like privileges (one user can upload but not download, for example) unavailable for FTP... at least for those I've tested. WebDAV and sftp are the common alte

More info about shutdown sequence

2006-05-12 Thread Tuc
Hi, I'm looking for more information about the entire shutdown process. I know the rc.shutdown runs, but what/where does it go from there? I need to run something when the filesystems are mounted read-only. Does FreeBSD ever get to this point? Where? Thanks, Tuc __

An FTP alternative ?

2006-05-12 Thread Leo Lapousterle
Hello :) I'm fed up with FTP servers : FTP is great, but I need some admin stuff like privileges (one user can upload but not download, for example) unavailable for FTP... at least for those I've tested. Is there an alternative way for FTP, allowing individual privileges? I found hxd (hotline pro

Re: Advice on RAID?

2006-05-12 Thread Ian Jefferson
Robert, I think I already sent out this link that documents FreeBSD R5 performance: http://www25.big.or.jp/~jam/filesystem/ I recently saw an article documenting similar benchmarks using geom and vinum in a Japanese FreeBSD magazine and the handbook section around vinum does warn about wr

Re: Access from the internet

2006-05-12 Thread Terry Stoner
Bob - I am keeping state with the port 21 rule. I am perplexed because everything works fine on the local LAN. On 5/12/06, Bob Goodman <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >Hi my name is Terry Stoner. I just set up a new Firewall, FreeBSD 6.0, and >am hav

Re: Only One SATA Drive Detected

2006-05-12 Thread Mark Kane
Mark Kane wrote: Hi everyone. I'm trying to reinstall FreeBSD on a machine that had a hard drive failure early this week. I bought two brand new 80GB Seagate SATA drives to do mirroring and started to put things together this afternoon. I didn't know initially if the onboard SATA controller w

Re: Tape backup / Bizzare Device Question

2006-05-12 Thread Greg Putrich
Hi Graham, Not sure about the first part, but the device is called a radiometer. http://radiometer.hobbytron.com/Radiometer.html http://science.howstuffworks.com/question239.htm Greg Graham Bentley said: > Is there a way to create a hdd resore solution with > set of boot floppies that wi

Xorg problem in 6.1_release

2006-05-12 Thread Bryan
I just reinstalled 6.1_RELEASE from ISO cd1 with XFCE4 an Xorg from t sysinstall downloading from ftp. After running xorgconfig using 'same as always' settings I run the test. X -config /etc/X11/xorg.conf I get this error FATAL ERROR: could not open default font 'fixed' Did I forget to load

Re: Pros and Cons of running under inetd....

2006-05-12 Thread wc_fbsd
At 08:42 PM 5/12/2006, Eric Schuele wrote: You say tcpwrappers are compiled into ftpd? Are you sure? How can I "enable" or otherwise use them? If I add things to hosts.allow they seem to have no influence. This would solve my problem as I would not need inetd. My Bad. It seems it does no

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Derek Ragona
Inetd still is there as a legacy part of UNIX. This was the old way of starting services on demand in the old days BEFORE wans, the internet, etc. Remember UNIX started as networked on LANS, with LANS interconnected using UUCP. Ah those good old days before SPAM, www, and viruses. As more s

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Derek Ragona
Simply reinstall what ever ported apps you are using and look for a sample startup script in /usr/local/etc/rc.d, or look in /etc/defaults/rc.conf for the settings to override in /etc/rc.conf to run any standard system services at boot. You can search the old security lists or look in SANS arc

Re: Dead tree documentation

2006-05-12 Thread Chris Hill
On Fri, 12 May 2006, Michael M. wrote: [snip] Any thoughts, advice, pointers? Anything I missed, especially any general UNIX books that might go well with one of the above? As for general un*x books that are not FreeBSD-specific, the single best one I've used is _Essential_System_Administra

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Eric Schuele
Daniel Bye wrote: On Fri, May 12, 2006 at 01:07:22PM -0500, Eric Schuele wrote: Although I am curious about ftpd and tcpwrappers I am also interested in whether or not running these daemons under inetd is preferred or not. If so why? If not, why? Certainly for anything that has a reason

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Eric Schuele
Derek Ragona wrote: Yes it is still true today. The default system now has inetd running nothing. And the ports now install rc scripts for these reasons. Not arguing here... everything I've found on the web says something similar. But why do we have inetd? I assume it solved a problem in

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Eric Schuele
[EMAIL PROTECTED] wrote: At 04:25 PM 5/12/2006, you wrote: inetd running is discouraged. Instead run the daemons on boot using rc scripts. If you look back in the history, inetd running is a security risk, and was discouraged in the 5.X releases. Is that still really true? Waaayyy back whe

Only One SATA Drive Detected

2006-05-12 Thread Mark Kane
Hi everyone. I'm trying to reinstall FreeBSD on a machine that had a hard drive failure early this week. I bought two brand new 80GB Seagate SATA drives to do mirroring and started to put things together this afternoon. I didn't know initially if the onboard SATA controller would work or not,

Re: Dead tree documentation

2006-05-12 Thread David Stanford
On 5/12/06, Michael M. <[EMAIL PROTECTED]> wrote: I've been using various Linux distros and OS X for a while now, and Windows before those, and am interested in trying out FreeBSD. Call me old fashioned, but as an engaged-but-non-technical user, I find it really useful to have at least some acco

Re: Dead tree documentation

2006-05-12 Thread Kevin Kinsey
Michael M. wrote: I've been using various Linux distros and OS X for a while now, and Windows before those, and am interested in trying out FreeBSD. Call me old fashioned, but as an engaged-but-non-technical user, I find it really useful to have at least some accompanying documentation in book

Dead tree documentation

2006-05-12 Thread Michael M.
I've been using various Linux distros and OS X for a while now, and Windows before those, and am interested in trying out FreeBSD. Call me old fashioned, but as an engaged-but-non-technical user, I find it really useful to have at least some accompanying documentation in book form when embarki

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Derek Ragona
Yes it is still true today. The default system now has inetd running nothing. And the ports now install rc scripts for these reasons. For network daemons, when they are running in a listen mode there is no real overhead on the system. -Derek At 03:41 PM 5/12/2006, [EMAIL PROTECTED]

RE: Access from the internet

2006-05-12 Thread Bob Goodman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >Hi my name is Terry Stoner. I just set up a new Firewall, FreeBSD 6.0, and >am having trouble connecting from the internet. Basically I want to ssh >from work. I set sshd_config to listen on all interfaces and on port 21, >this port is not blocked

Re: Reducing the size of /

2006-05-12 Thread pauls
--On May 12, 2006 12:36:52 PM -0400 John Nielsen <[EMAIL PROTECTED]> wrote: On Friday 12 May 2006 12:28, bsd wrote: Hi again, Most of the files that are "large" seems to be located in /usr/ports/ distfiles/ What will be the effect of deleting some of these files ? You will have to download

Re: Upgrading from 6.0 to 6.1

2006-05-12 Thread Kevin Kinsey
[EMAIL PROTECTED] wrote: Thanks for the input, Eric and Kevin! I guess I'll start the process this evening and maybe everything will be through compiling by Monday in time for work! :) Thanks again! I've got the process in 2 scripts, and a brief evening is generally all that's required f

How to require minium length passwords

2006-05-12 Thread Sean Murphy
I am trying to require users to put in 8 character passwords but as it stands it will take 1 just fine. I Tried messing with the login.conf file but it still looks like it accepts 1 character as an acceptable password. here is what i did. Also will this restrict other programs to the set mini

Re: StarOffice inmstallation in FreeBSD 6.0

2006-05-12 Thread Bill Moran
[EMAIL PROTECTED] wrote: > Dear FreeBSD: > Here is my problem description and my question. > > I have a bin file for Star office 5.2. (so-5_2-ga-bin-linux-en.bin). > Somehow, a few years ago, I successfully installed it on my Linux > system. This is not a direct answer to your question, but is

Re: X11 6.9 issue -- options "AGPMode" and "AGPFastWrite"

2006-05-12 Thread Eric Anholt
On Sun, 2006-05-07 at 21:51 +0200, martinko wrote: > hello list! > > i've just upgraded X11 from 6.8.2 to 6.9.0 and run into the following issue: > > after starting x11 for the first time the screen went black and console > was inaccessible (i had to reboot). when i tried the generated xorg.con

StarOffice inmstallation in FreeBSD 6.0

2006-05-12 Thread solsyst
Dear FreeBSD: Here is my problem description and my question. I have a bin file for Star office 5.2. (so-5_2-ga-bin-linux-en.bin). Somehow, a few years ago, I successfully installed it on my Linux system. I recently installed FreeBSD 6.0 and checked my Linux (base 8) compatibility. Seems to

Re: Pros and Cons of running under inetd....

2006-05-12 Thread wc_fbsd
At 04:25 PM 5/12/2006, you wrote: inetd running is discouraged. Instead run the daemons on boot using rc scripts. If you look back in the history, inetd running is a security risk, and was discouraged in the 5.X releases. Is that still really true? Waaayyy back when, inetd would have all k

Re: Upgrading from 6.0 to 6.1

2006-05-12 Thread Derek Ragona
I have done both the binary upgrade and cvsup'd many times. Which is better depends on your time and what version you are moving from and to. If you do a binary upgrade, you will only be at the release of the version, say 6.1, but with any current security releases. I typically upgrade a sy

Re: Upgrading 6.0 to 6.1 with etcmerge

2006-05-12 Thread Derek Ragona
Add the audit group to /etc/group if you have not. you would add: audit:*:77: As for /etc/master.passwd, you can usually ignore this. The mergemaster shows the differences which will be the CVS id in the first line, and any differences from adding or removing users. -Derek At 11:3

Re: Access from the internet

2006-05-12 Thread Derek Ragona
Can you ssh to your system from another unit in your home LAN? Check that you don't have restrictions set in /etc/hosts.allow One other thing, ssh uses port 22, NOT port 21. -Derek At 02:49 PM 5/12/2006, Terry Stoner wrote: Hi my name is Terry Stoner. I just set up a new Firewall, F

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Daniel Bye
On Fri, May 12, 2006 at 01:07:22PM -0500, Eric Schuele wrote: > > Although I am curious about ftpd and tcpwrappers I am also > interested in whether or not running these daemons under inetd is > preferred or not. If so why? If not, why? Certainly for anything that has a reasonably expensi

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Derek Ragona
inetd running is discouraged. Instead run the daemons on boot using rc scripts. If you look back in the history, inetd running is a security risk, and was discouraged in the 5.X releases. -Derek At 01:07 PM 5/12/2006, Eric Schuele wrote: Daniel Bye wrote: On Fri, May 12, 2006 at 11

RE: Upgrading from 6.0 to 6.1

2006-05-12 Thread jeff . cross
Quoting "Zimmerman, Eric" <[EMAIL PROTECTED]>: Freebsd-update works on my box (but theres been no updates as of yet). As long as you track RELEASE it should work fine -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 2:10 PM To: Zimmerma

Re: fsck way too slow

2006-05-12 Thread [EMAIL PROTECTED]
On 5/12/06, Andrea Venturoli <[EMAIL PROTECTED]> cwaeth: "one big root partition." Don't do this. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL

Access from the internet

2006-05-12 Thread Terry Stoner
Hi my name is Terry Stoner. I just set up a new Firewall, FreeBSD 6.0, and am having trouble connecting from the internet. Basically I want to ssh from work. I set sshd_config to listen on all interfaces and on port 21, this port is not blocked outbound from work. I have ipfilter rules allowin

Re: 1 cpu + 2 monitors + 2 keybord/mouse is it possible

2006-05-12 Thread Aren Olvalde Tyr
> Reading the man page for kbdmux it isn't clear to me if the keyboards will > work independently in X but it might be worth a try. Theoretically it shouldn't be a problem using separate keyboards/mice under [separate] X [sessions]; simply use a separate xorg.conf configuration files per display

Re: libphp5.so not compiling for apache (was hello)

2006-05-12 Thread Matthew Seaman
Jonathan Horne wrote: >> I `ve got a question about installing the php5 module. >> I`m installing it from the /usr/ports/www/php5-session port. >> >> Everything runs ok and it seems like the module is installed. >> There is only one problem, in the httpd.conf there is a LoadModule >> php5_module re

Re: hello (DSL -- should be: installing PHP5)

2006-05-12 Thread Kevin Kinsey
justin wrote: I `ve got a question about installing the php5 module. I`m installing it from the /usr/ports/www/php5-session port. Interesting; that's not the usual place. Everything runs ok and it seems like the module is installed. There is only one problem, in the httpd.conf there is a

Re: New folder permissions

2006-05-12 Thread Derrick Ryalls
On 5/12/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote: "Derrick Ryalls" <[EMAIL PROTECTED]> writes: > On 5/12/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote: >> There are a lot of ways to do this, but the one I would recommend is >> to change the main folder to be owned by a group that you, your w

Re: Reducing the size of /

2006-05-12 Thread Eric F Crist
On May 12, 2006, at 11:11 AM, bsd wrote: Hello, I have three partitions on my server and would like to reduce the size of / because I am getting quite full ! Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a3.8G2.8G668M81%/ devfs 1.0K1.0K

Re: Upgrading from 6.0 to 6.1

2006-05-12 Thread Kevin Kinsey
[EMAIL PROTECTED] wrote: This has possibly been discussed a number of times, and if it has, I apologize. Here is my situation: Apology accepted ;-) :-D I would like to upgrade my existing 6.0-SECURITY system to 6.1-RELEASE and continue using freebsd-update to keep my system on the up an

Re: New folder permissions

2006-05-12 Thread Lowell Gilbert
"Derrick Ryalls" <[EMAIL PROTECTED]> writes: > On 5/12/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote: >> There are a lot of ways to do this, but the one I would recommend is >> to change the main folder to be owned by a group that you, your wife, >> and the uid running the thumbnail script all are

Re: New folder permissions

2006-05-12 Thread Derrick Ryalls
On 5/12/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote: "Derrick Ryalls" <[EMAIL PROTECTED]> writes: > I am having issues getting correct permissions set for files in a > common area on a web/file server. I have webroot shared out via samba > and under there I have an auto-thumbnail generation sc

Re: very slow boot (newbie)

2006-05-12 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Barnaby Scott thusly... > > Parv wrote: > ... > >>and then stops! I have timed it - it stops for between 4 and 5 > >>minutes every time. > > > >Does your screen goes blank just after the above message? If so, > >press [Enter] key, you should see the boot being

Re: Trimming Whitespace From Beginning and end of Text Lines

2006-05-12 Thread Warren Block
On Fri, 12 May 2006, Giorgos Keramidas wrote: The first sed expression is missing "//". Correcting that: sed -i -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' test.txt sed: lstat: No such file or directory Yeah, I noticed the missing // in the first regexp, but only after I had posted the

Re: libphp5.so not compiling for apache (was hello)

2006-05-12 Thread Jonathan Horne
> > I `ve got a question about installing the php5 module. > I`m installing it from the /usr/ports/www/php5-session port. > > Everything runs ok and it seems like the module is installed. > There is only one problem, in the httpd.conf there is a LoadModule > php5_module refering to libexec/apache/l

Fwd: hello

2006-05-12 Thread Jeff Rollin
-- Forwarded message -- From: Jeff Rollin <[EMAIL PROTECTED]> Date: 12-May-2006 18:43 Subject: Re: hello To: justin <[EMAIL PROTECTED]> Hi Justin Everything runs ok and it seems like the module is installed. There is only one problem, in the httpd.conf there is a LoadModule php

Serial based install

2006-05-12 Thread Tom Moore
Hi guys. How do I force the FreeBSD to do a serial port based install? I'm installing on to a laptop, but want to control the install from a serial port on another machine because I can not see the screen on the laptop. I tried modifying the boot.flp image and putting a file called boot.conf with t

Re: very slow boot (newbie)

2006-05-12 Thread Bill Moran
Daniel Bye <[EMAIL PROTECTED]> wrote: > On Fri, May 12, 2006 at 04:21:09PM +0100, Barnaby Scott wrote: > > >The fact that the operating system knows what the machine is called, > > >does not necessarily mean that the name is in the DNS. You can put an > > >entry in your /etc/hosts file (take a lo

Re: 6.1-STABLE : make installworld fails

2006-05-12 Thread Kent Stewart
On Friday 12 May 2006 06:59, Axel Burwitz wrote: > Hi, > > well, need some help... > > > I have just upgraded my system from 6.1-PRERELEASE to 6.1-STABLE, > with cvsup, make buildworld, make buildkernel, make installkernel. > > The upgrade for the basic system went through, it shows 6.1-STABLE > ve

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Eric Schuele
Daniel Bye wrote: On Fri, May 12, 2006 at 11:35:41AM -0500, Eric Schuele wrote: Hello, I run sshd and ftpd on my laptop. I generally start them via: sshd_enable="YES" ftpd_enable="YES" in my rc.conf. What are the pros/cons of running them via inetd? This is in no way a high load or produ

Re: very slow boot (newbie)

2006-05-12 Thread Daniel Bye
On Fri, May 12, 2006 at 04:21:09PM +0100, Barnaby Scott wrote: > >The fact that the operating system knows what the machine is called, > >does not necessarily mean that the name is in the DNS. You can put an > >entry in your /etc/hosts file (take a look at the file for the format), > >which will a

using rc scripts

2006-05-12 Thread Atom Powers
I wrote an rc script for cfengine, but it's not recording the pid. Am I doing something obviously wrong, or does rc rely on the app to provide the pid? -- #!/bin/sh # # PROVIDE: cfexecd # REQUIRE: LOGIN # BEFORE: securelevel # KEYWORD: FreeBSD shutdown . "/etc/rc.subr" name="cfexecd" rcvar=`set

Re: Pros and Cons of running under inetd....

2006-05-12 Thread Daniel Bye
On Fri, May 12, 2006 at 11:35:41AM -0500, Eric Schuele wrote: > Hello, > > I run sshd and ftpd on my laptop. I generally start them via: > sshd_enable="YES" > ftpd_enable="YES" > in my rc.conf. > > What are the pros/cons of running them via inetd? > > This is in no way a high load or produc

Upgrading from 6.0 to 6.1

2006-05-12 Thread jeff . cross
This has possibly been discussed a number of times, and if it has, I apologize. Here is my situation: I would like to upgrade my existing 6.0-SECURITY system to 6.1-RELEASE and continue using freebsd-update to keep my system on the up and up. I read through the upgrade instructions on dis

hello

2006-05-12 Thread justin
I `ve got a question about installing the php5 module. I`m installing it from the /usr/ports/www/php5-session port. Everything runs ok and it seems like the module is installed. There is only one problem, in the httpd.conf there is a LoadModule php5_module refering to libexec/apache/libphp5.so.

Re: Promise SATA controller / Maxtor drive problems

2006-05-12 Thread DAve
Øyvind Skaar wrote: The drive in question is a Maxtor 6B200M0. These were Maxtor 6Y080M0 and 6Y160MO drives. Running under onboard SATA or Highpoint Rocket Raid cards The Maxtor drives were problematic for us from the start, and not even heavy enough to make good door stops. So your no bi

Re: Trimming Whitespace From Beginning and end of Text Lines

2006-05-12 Thread Giorgos Keramidas
On 2006-05-12 10:41, Warren Block <[EMAIL PROTECTED]> wrote: >On Fri, 12 May 2006, Giorgos Keramidas wrote: >> There are at least the following ways: >> >>sed -i -e 's/^[[:space:]]*' -e 's/[[:space:]]*$//' file ... >>perl -pi -e 's/^\s*(\S.*\S)[ \t]*$/$1/' file ... >> >> The first one seems

"The Complete FreeBSD": errata and addenda

2006-05-12 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inev

How to get best results from FreeBSD-questions

2006-05-12 Thread Greg Lehey
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that a

Re: Trimming Whitespace From Beginning and end of Text Lines

2006-05-12 Thread Giorgos Keramidas
On 2006-05-12 17:56, "[EMAIL PROTECTED]@mgEDV.net" <[EMAIL PROTECTED]> wrote: >>> sed -i -e 's/^[[:space:]]*' -e 's/[[:space:]]*$//' file ... > > why not use just (you can change the "-" separator to "/" as above): > sed -e 's-^ *--g' -e 's- *$--g' Because this provides no additional help with

Reducing the size of /

2006-05-12 Thread Robert Huff
bsd writes: > I have three partitions on my server and would like to reduce the > size of / because I am getting quite full ! > > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ar0s1a3.8G2.8G668M81%/ > devfs 1.0K1.0K 0B 100%/de

Re: Trimming Whitespace From Beginning and end of Text Lines

2006-05-12 Thread Kyrre Nygard
At 16:50 12.05.2006, Martin McCormick wrote: This looks like something sed should be able to do, but I haven't had any luck at all. I wanted to remove any whitespace that has accidentally gotten added to the beginning or end of some lines of text. I made a test file that looks like: le

Re: Reducing the size of /

2006-05-12 Thread Martin Tournoy
the /usr/ports/distfiles dir are the source files you downloaded while installing ports. You can safly empty the whole directory You can delete /boot/kernel.old if the new kernel is working /usr/local/etc/cvsup/sup/src-all/checkouts.cvs can be safly deleted /usr/ports/INDEX-5 can be deleted,

Re: pam_userdb.so: Where is it?

2006-05-12 Thread Kyrre Nygard
At 18:36 10.05.2006, N.J. Thomas wrote: * Kyrre Nygard <[EMAIL PROTECTED]> [2006-05-10 18:18:23 +0200]: > > > Does anybody know where pam_userdb.so has gone? > > > > FreeBSD doesn't appear to have ever had it, so it hasn't "gone" > > anywhere. The thread you linked to below suggests exactly that.

Re: ftp install / base not found

2006-05-12 Thread Kevin Kinsey
Mike Hunter wrote: I was able to install 5.3-RELEASE using this as the specified URL: ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.3-RELEASE Good to know that! This one goes in the "save" folder! What bothers me is this verbiage from sysinstall: "Only the Primar

Re: very slow boot (newbie)

2006-05-12 Thread Warren Block
On Fri, 12 May 2006, Barnaby Scott wrote: Parv wrote: ... and then stops! I have timed it - it stops for between 4 and 5 minutes every time. Does your screen goes blank just after the above message? If so, press [Enter] key, you should see the boot being continued, and "login:" waiting for i

Re: Reducing the size of /

2006-05-12 Thread Kevin Kinsey
bsd wrote: Hi again, Most of the files that are "large" seems to be located in /usr/ports/distfiles/ What will be the effect of deleting some of these files ? If you need/want to rebuild the ports for the distfiles, they will have to be downloaded again. Many of them may be for outdated

Re: Reducing the size of /

2006-05-12 Thread Bill Moran
bsd <[EMAIL PROTECTED]> wrote: > Hi again, > > Most of the files that are "large" seems to be located in /usr/ports/ > distfiles/ > > What will be the effect of deleting some of these files ? If you reinstall those ports, you'll have to download the files again. Unless you have very limited I

makeworld FAILURE on 5.4-STABLE

2006-05-12 Thread Kyrre Nygard
Hello ... When doing makeworld, and this is my exact procedure: cvsup -g -L 2 /etc/cvsupfile cd /usr/obj chflags -R noschg rm -rf * cd /usr/src make clean make buildworld (this is where it fails) make buildkernel KERNCONF=NINJA make installkernel KERNCONF=NINJA make installworld mergemaster

Re: Trimming Whitespace From Beginning and end of Text Lines

2006-05-12 Thread Warren Block
On Fri, 12 May 2006, Giorgos Keramidas wrote: There are at least the following ways: sed -i -e 's/^[[:space:]]*' -e 's/[[:space:]]*$//' file ... perl -pi -e 's/^\s*(\S.*\S)[ \t]*$/$1/' file ... The first one seems more straightforward to me most of the time, but there are times

Upgrading 6.0 to 6.1 with etcmerge

2006-05-12 Thread Ashley Moran
I've got a few 6.0-RELEASE machines I want to bring up to date. I want to use etcmerge because mergemaster scares the bejesus out of me. I can create a copy of the standard 6.0-REL /etc using mergemaster, and copying /var/tmp/temproot/src to /var/db/src, that's no problem But I notice /usr/src

Re: Reducing the size of /

2006-05-12 Thread John Nielsen
On Friday 12 May 2006 12:28, bsd wrote: > Hi again, > > Most of the files that are "large" seems to be located in /usr/ports/ > distfiles/ > > What will be the effect of deleting some of these files ? You will have to download them again if you rebuild / reinstall the packages that use them. Of

Re: fsck way too slow

2006-05-12 Thread Chuck Swiger
Andrea Venturoli wrote: Just to clarify: running "fsck /" (read-only) in multiuser mode takes less than a minute. fsck at boot takes approx. 50 times that long! ...and yes, that difference is not reasonable. Are you using bgfsck or not...? Hm, what do you mean? I'd gladly let my system fsc

Pros and Cons of running under inetd....

2006-05-12 Thread Eric Schuele
Hello, I run sshd and ftpd on my laptop. I generally start them via: sshd_enable="YES" ftpd_enable="YES" in my rc.conf. What are the pros/cons of running them via inetd? This is in no way a high load or production machine. Just my laptop that I need access to from time to time. The one p

Re: fsck way too slow

2006-05-12 Thread Andrea Venturoli
Daniel Bye wrote: Yeah, I realise that. I'm afraid I don't know why fsck should take so long on your disk. Chuck suggested some things you might try, though. Yeah, sorry, my fault. I intended to answer on the ml, but instead I mailed him privately. It sounds to me like it might be fail

Re: Reducing the size of /

2006-05-12 Thread bsd
Hi again, Most of the files that are "large" seems to be located in /usr/ports/ distfiles/ What will be the effect of deleting some of these files ? root:abcdef 18:14 ~ # find -x / -size +1 -print /boot/kernel/kernel /boot/kernel.old/kernel /root/tmp/dcc.tgz /usr/local/etc/cvsup/sup/src

Re: fsck way too slow

2006-05-12 Thread Andrea Venturoli
Chuck Swiger wrote: OK, I agree that this doesn't sound like a hardware problem with the drive now that you've tested it, but it was at least worth looking at. Ok, thanks for pointing it out, anyway :) Just to clarify: running "fsck /" (read-only) in multiuser mode takes less than a minute

Re: Reducing the size of /

2006-05-12 Thread Bill Moran
bsd <[EMAIL PROTECTED]> wrote: > Hello, > > I have three partitions on my server and would like to reduce the > size of / because I am getting quite full ! > > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ar0s1a3.8G2.8G668M81%/ > devfs 1.0K1.

Re: fsck way too slow

2006-05-12 Thread Daniel Bye
On Fri, May 12, 2006 at 05:46:57PM +0200, Andrea Venturoli wrote: > Daniel Bye wrote: > > >So, as jerry said, it's a Bad Idea to have just one partition, for many > >reasons, this being among them. > > > Ok, I know that. Still this wasn't the point of my request. I've been > answered the first

Re: 1 cpu + 2 monitors + 2 keybord/mouse is it possible

2006-05-12 Thread Greg 'groggy' Lehey
On Friday, 12 May 2006 at 18:44:01 +0400, Igor Robul wrote: > On Fri, May 12, 2006 at 10:35:43AM -0400, Bakki Kudva wrote: >> How about using x-terminals on a network? I remember seeing them in >> the surplus market for $15 recently. After all X is designed to be a >> network gui. > X-Terminals may

Reducing the size of /

2006-05-12 Thread bsd
Hello, I have three partitions on my server and would like to reduce the size of / because I am getting quite full ! Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a3.8G2.8G668M81%/ devfs 1.0K1.0K 0B 100%/dev /dev/ar0s1d 60G

Re: Trimming Whitespace From Beginning and end of Text Lines

2006-05-12 Thread Chuck Swiger
Giorgos Keramidas wrote: On 2006-05-12 11:27, Chuck Swiger <[EMAIL PROTECTED]> wrote: It is, and I wish to acknowledge the above are entirely valid solutions to the problem, but... python -c 'import sys; print sys.stdin.read().strip()' < file... ...has the advantage of being human readabl

Re: ftp install / base not found

2006-05-12 Thread Mike Hunter
> On May 11 at 17:06, "Andy Reitz" wrote: > > > On Thu, 11 May 2006, Johan Nilsson wrote: > > > > > But can you do a ftp-install from an archived version? If, how? > > > > Johan, > > > > While I have never tried this, sysinstall appears to support entering > > non-standard FTP URLs. After you

Re: Trimming Whitespace From Beginning and end of Text Lines

2006-05-12 Thread Martin McCormick
Chuck Swiger quotes and writes: >Giorgos Keramidas wrote: >> This fails to remove multiple occurences of the [[:space:]] class. >> >> There are at least the following ways: >> >> sed -i -e 's/^[[:space:]]*' -e 's/[[:space:]]*$//' file ... That did it! As soon as I saw the *, I knew w

Re: gmirror and partitioning

2006-05-12 Thread Nagy László Zsolt
Laszlo, You're making gmirror way too difficult. In short, install FreeBSD with however many partitions you want, then install gmirror and replicate your disk to the second disk. The standard howto documents are: http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/ http://www

Re: very slow boot (newbie)

2006-05-12 Thread Kevin Kinsey
Barnaby Scott wrote: The fact that the operating system knows what the machine is called, does not necessarily mean that the name is in the DNS. You can put an entry in your /etc/hosts file (take a look at the file for the format), which will allow sendmail and other daemons to start. OK, I l

  1   2   >