Re: Looking for a good multiple protocol proxy!!
> I am looking for a proxy server that has the following features. /usr/ports/net/delegate. It doesn't support everything, but is good enough for most day to day tasks. YMMV. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: anonymous ftp
On Sat, Jan 31, 2004 at 10:49:12AM +0800, Robert Storey wrote: > I'm setting up an anonymous ftp server. I understand that a user named > "ftp" can log in without a password, and that "anonymous" is an alias > for user ftp. What I'm wondering is if it is possible to assign other > aliases for ftp, let us say user "aardvark" or "scary.daemon" whatever? > How would I go about doing that? It depends on which FTP server software you're using. For the built-in ftpd, see ftpd.conf(5), ftpusers(5) and ftpchroot(5) --- but basically you need something like this: /etc/ftpusers: root toor daemon operator bin tty kmem games news man sshd bind uucp xten pop www nobody mailnull smmsp # UIDs for anonymous FTP aardvark allow guest scary.daemon allow guest That's all you need, but if you want to make the FTP session chroot to some other directory, or make the FTP daemon display various messages when the user logs in, use /etc/ftpd.conf and /etc/ftpchroot as well. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Redirect text from stdout to a variable?
Hey folks, Is it possible to redirect text from stdout to a variable? I do something like this and get the output on the screen: echo "Some Text to be Encrypted" | /usr/local/bin/gpg -a --always-trust --batch --no-secmem-warning -e -u "GPG Tester " -r "[EMAIL PROTECTED]" Most sites advise to do something like this if using PHP: $cmd = "echo $msg | $gpg --batch --no-secmem-warn --armor --home $home_dir \ -u $fm --default-key $fm -r $to --encrypt --sign"; $message_body = `$cmd`; mail($to,'Web Site Order',$message_body); However, "safe mode" is on, and won't let me do it. Any ideas? Start Here to Find It Fast! -> http://www.US-Webmasters.com/best-start-page/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using the ATAPI/CAM Driver
On Saturday 31 January 2004 12:24 am, slave-mike wrote: > Jeff Elkins wrote: > >No responses on this yet, but I can hope :) > > > >Another issue: After changing the permissions on the /dev/pass* devices, > >following a reboot, they all reverted, rendering k3b useless. > > > >I'd appreciate some help... > > > > > > > >I've enabled the ATAPI/CAM driver in my kernel under freebsd 5.2 - this > > has given me two devices: /dev/cd0 and /dev/cd1. Thus far, I'm able to > > burn CDs/DVDs but I am having trouble mounting them (as root). > > > >If I issue the command: mount /cdrom or mount -t cd9660 /dev/cd0 /cdrom I > > get the message: cd9660: /dev/cd0: Device not configured > > > >However, if I comment out the /dev/cd devices in fstab and enable the acd > >devices: > > > >/dev/acd0 /cdrom cd9660 ro,noauto 0 0 > >/dev/acd1 /cdrom1 cd9660 ro,noauto0 0 > >#/dev/cd0 /cdrom cd9660 ro,noauto 0 0 > >#/dev/cd1 /cdrom1 cd9660 ro,noauto0 0 > > > >I'm able to mount w/o problems. > > > >Do I have something misconfigured? > > > >Thanks, > > > >Jeff Elkins > > > > > >___ > >[EMAIL PROTECTED] mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > look in /etc/devfs.confcd9660: /dev/cd0: Device not configured > > try adding something like: ... > > # Commonly used by many ports > > permacd00660 > linkacd0cdrom > linkacd0rcdrom > linkacd0racd0 > > permacd10660 > linkacd1dvd > linkacd1rdvd > > permast00660 > linkast0sa0 > > permnast0 0660 > linknast0 nsa0 > > permpass0 0660 > permpass1 0660 > permpass2 0660 > permpass3 0660 > permscanner00660 > > permugen0 0660 > permugen0.0 0660 > permugen0.1 0660 > permugen0.2 0660 > permugen0.3 0660 > > # Allow a user in the wheel group to query the smb0 device > permsmb00660 > > # Allow members of group operator to cat things to the speaker > own speaker root:operator > permspeaker 0660 Thanks. That succeeded in freezing the permissions from boot to boot, but I still get the error "cd9660: /dev/cd0: Device not configured" when I try to mount a cd via the passthrough device: mount -t cd9660 /dev/cd0 /cdrom I _can_ mount cds using the /dev/acd* devices, while using the /dev/cd* devices for writing. Is this the way atapi cdrws are supposed to work under freebsd? Jeff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to build FreeBSD entirely from sources?
On Fri, Jan 30, 2004 at 04:00:26PM +0100, Geert Hendrickx typed: > > Can you build Gentoo on a machine currently NOT running Linux? > > Yes, you can boot Gentoo from a live-cd, you extract a "temporary" > Gentoo-system to your harddisk, chroot into it and start recompiling from > there. This comes down to a difference of opinion. In my view, a machine booted from a (Linux) live-cd IS running Linux. You can do the same thing on FreeBSD, but I really don't see the point. > GH > > -- > powered by FreeBSD > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Redirect text from stdout to a variable?
In Bourne shell: blah=$(something | something) blah2=`blah -K 2 -z` Quintin W. D. wrote: Hey folks, Is it possible to redirect text from stdout to a variable? I do something like this and get the output on the screen: echo "Some Text to be Encrypted" | /usr/local/bin/gpg -a --always-trust --batch --no-secmem-warning -e -u "GPG Tester " -r "[EMAIL PROTECTED]" Most sites advise to do something like this if using PHP: $cmd = "echo $msg | $gpg --batch --no-secmem-warn --armor --home $home_dir \ -u $fm --default-key $fm -r $to --encrypt --sign"; $message_body = `$cmd`; mail($to,'Web Site Order',$message_body); However, "safe mode" is on, and won't let me do it. Any ideas? Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: One of your employees are very rude.
Guy, we have nothing to do with IRC channels, and if you look at the website, you will notice that they are not an official support avenue. Quintin lorink wrote: To whom it may concern, I just want to let the bsd team know this has been a great OS and it is meeting my needs over that of other operating systems including windows which I was a software tester of W2k back in the late 90s. While your documentation is excellent and sometimes such subjects on google searches also provide answers I recently have stumbled across a irc chanell on efnet called #freebsdhelp. Been a good chanell so far but lately there is one op nick name "hideaway" who has been a little on the rude side and has kicked some people or my self and not permited them to return to the chanell because of his fits. I have a log of the events that led up to my being banned from the chanell and let me know if this is a employee that represent freebsd.org Sincerly, James K --clip-- you don't like sad? he's too happy hideaway, that was not cool what did he ever do? so what? he asked too many questions ??? Lori17 [EMAIL PROTECTED] has joined #FreeBSDHelp lol let me remind you this is freebsdhelp OH WoW THANKS! ??? mode/#FreeBSDHelp [+b [EMAIL PROTECTED] by hideaway You have been kicked off #FreeBSDHelp by hideaway (go join your fucking loser friend) ??? [#freebsdhelp] Banned from channel freebsdhelp: No such nick/channel ??---?--??-??---?--??-?--- -- - | hideaway ([EMAIL PROTECTED]) (unknown) ? ircname : Pete Fritchman <[EMAIL PROTECTED]> <-- Does he work for Freebsd? ? server : irc.mindspring.com (EarthLink, Inc.) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ERROR: BOOTDIR environment variable
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew Seaman wrote: | On Thu, Jan 29, 2004 at 03:21:32PM +0900, Rommel B. Ikeda wrote: | |>I am trying to install Java from my /usr/ports/java/jdk13 ports. |>The error message below came out and I do not know to do with it. |> |>ERROR: Your BOOTDIR environment variable does not point |> to a valid Java 2 SDK for bootstrapping this build. |> A Java 2 SDK 1.3.1 build must be bootstrapped against any |> 1.3 build. Please update your ALT_BOOTDIR setting, or |> just unset it, and start your build again. |> |>Can anyone give mne hints and advice on this? | | | Yes. Before you can compile and install jdk13 you need to have | installed jdk13. Start by installing the Diablo JDK port -- which is | a pre-compiled JDK. In fact, if the Diablo JDK fulfils your needs, | that's all you need to do. I am compiling /usr/ports/java/jdk13 because I wanted to enable my Mozilla Browser's plugin for Java and Shockwave Flash. I only followed what was written in the Handbook. | In any case, the Diablo JDK should be sufficient to compile jdk13. I was successful in compiling /usr/ports/java/diablo-jdk13 but when I went to /usr/ports/java/jdk13 to compile the same error came out again. ~ I am afraid that I could not understand: | Make sure you unset 'JAVA_HOME' before you start the compile. What I did was '#unset JAVA_HOME' and then I tried to compile but was not lucky...Do I have to do anything else to make my Box compile jdk13? Thank you very for the response... Rommel B. Ikeda -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAG5MXeF3gq04eaQ0RAtluAKCEzsq13dbe9f8xAI/ezwMZtqvSugCdFivX 549hP5edEpUdn6sxqDVF5TM= =vWWt -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP4 with GD build problem.
On Fri, Jan 30, 2004 at 06:28:02PM -0800, Derrick MacPherson wrote: > Freebsd 4.7, ports up to date. > > When I compile php4 with GD, I get this error: > > ext/gd/libgd/gdkanji.lo: In function `do_convert': > ext/gd/libgd/gdkanji.lo(.text+0x57b): undefined reference to `iconv_open' > ext/gd/libgd/gdkanji.lo(.text+0x5c8): undefined reference to `iconv' > ext/gd/libgd/gdkanji.lo(.text+0x5f9): undefined reference to `iconv_close' > *** Error code 1 > > Stop in /usr/ports/lang/php4/work/php-4.3.4. > > > It compiles fine without GD. Any ideas what's wrong, and how to fix? Try installing GD on it's own first - uninstalling first if it's already installed. If that doesn't work it's probably worth checking to see if someone else has submitted a PR for this problem here: http://www.freebsd.org/cgi/query-pr-summary.cgi Perhaps submit your own PR report if you're sure it's a bug - you'd probably want to try reproducing the error on a different machine first though. Good luck :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fbsd splash
i have an entry in /boot/loader.conf what else do i have to add? do i have to put also an entry in loader.rc? splash_bmp_load="YES" bitmap_load="YES" bitmap_name="power_logo.bmp" %sysctl kern.version kern.version: FreeBSD 5.2-RELEASE-p1 #1: Fri Jan 30 23:30:38 PHT 2004 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MMP _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MBR problem
I just installed FreeBSD 5.2-RELEASE (using the mini-install CD) on my laptop which already had Win XP Home + Win XP Pro on it. During partition definition I chose not to touch the MBR. (I wanted to make use of Windows boot.ini for booting into FreeBSD.) Nevertheless, whenever I boot I get directly to the FreeBSD boot menu where there's no option to boot Windows. disk layout: ad0s1: 31 MB DELL slice ad0s2: 8001 MB Windows XP Home slice ad0s3: 8510 MB extended DOS slice with three logical Win partitions (one of them Windows XP Professional) ad0s4: 2533 MB FreeBSD slice I tried to restore the MBR using fixmbr from Windows Recovery Console. It doesn't help. I claims it has overwritten the file, but I still get directly into FreeBSD at boot. I've tried setting ad0s2 and ad0s4 as bootable and then writing changes (W) in FDISK partition editor in sysinstall. At the following choice of MBR, I choose 'Install the FreeBSD Boot Manager'. I then get "ERROR: Unable to write data to disk ad0!" followed by "Disk partition write returned an error status!". The same result also if I choose 'Standard' or 'None' in the MBR choice menu. (Another weird thing in sysinstall -> fdisk: Positioning the cursor on any of the slices and hitting F1 yields "Sorry! The slice file is not provided on this particular floppy image". This indicates to me that something is wrong with my installation, but what?) Any hints on ways out of this? Another question: In 5.2 there are two sysinstalls - /stand/sysinstall and /usr/local/sbin/sysinstall whereas in 4.8 I only find /stand/sysinstall. Which one should I use with 5.2 and what's the difference between them? -- Kjell ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RELENG_5_2
Kris Kennaway <[EMAIL PROTECTED]> writes: | On Wed, Jan 28, 2004 at 02:04:47PM +0100, Steinar Bormer wrote: | > | > [14:02 pallotta steinab> uname -rsvp | > FreeBSD 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Wed Jan 28 13:15:30 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PALLOTTA i386 | > | > Am I completely mistaken, or shouldn't this be 5.2-RELEASE-p1 or | > similar? | | They were updated in preparation for 5.2.1-RELEASE, which is still | forthcoming. Thanks. Today's make world changed it to: [13:57 pallotta steinab> uname -rs FreeBSD 5.2.1-RC My impression of following a RELENG_X_X-tree was that the version numbering changed every time an update (to one or more files) was done, and that updates to several files were always done together, but this is obviously incorrect? Steinar B. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
power off needed after install FreeBSD 4.9
Hello fbsd_user and all the other people! Yesterday I changed the connection of my hard disk to the primary controller. First it was connected as "Cable Select" (I thought it was "slave" but after opening my box it appeared to be connected as CS), so I changed the jumper setting of my Seagate Barracuda (80 GB) and after that it was recognized as "master" by my BIOS. By the way, I have a Intel Motherboard D845GEBV2 based Pentium 4. After this Sysinstall was indeed able to slice up and partitioning my hard disk, so your earlier advice was very helpful! Thanks again, because yesterday I succeeded to install FreeBSD 4.9 on my Pentium 4, which I consider to be a historical moment! Hurray, now I am a fully member of the FreeBSD community too! :) By the way, I did a very basic install, yet without X and the other compontents, but anyway the install procedure went without any problems! But... and now the story is going to be a little scary... ... after the installation I rebooted my PC instead of turning off the power first! A few hours later I concluded that not powering off my PC had severe consequences. I started my Linux From Scratch (same hard disk) which has become very unstable in X. I never had any problems with my Linux, but now X (and so KDE) was going down the whole time. First I thought it had to do with swapping my hard disk from CS to master (I installed Linux on my hard disk when it was CS), but I couldn't find any configuration errors or something. At that moment I decided to recompile my kernel, I couldn't start "make menuconfig" either, because it was complaining that it couldn't find ncurses (which was ridiculous, of course I installed ncurses!;). From that moment I started to fear of any hardware problems! Well, then I booted my PC with my Knoppix 3.2 live-CD and... yes! Also then X was very unstable! It simply stopped working. Finally I tried the install CD-ROM of Red Hat 9 and there even Anaconda (which works with X) wouldn't start and was complaining of certain 'cpio'-errors. I never had these problems before! On my other PC I googled and read a newsgroup posting about somebody who had installed FreeBSD on a Dell PC with the same motherboard. He got a reply of another guy who was saying that he had the same problem, but after a few days the problem was suddenly gone. "Maybe the PC had to get used to FreeBSD", he said something like that. I had to laugh first, but after a few hours of wondering and googling, I decided to turn my Pentium 4 off for five minutes... And you can believe it or not... but after turning on my PC again and having started Linux From Scratch, all the problems were indeed gone! At the moment I type this message in LFS and X didn't stop yet!;) Even rebooting (without turning off the power) in FreeBSD and then in LFS again, will not cause anu problems anymore! I am very satisfied till now of course, but I am very curious if anybody ever had this kind of the problem after installing FreeBSD too? Anyway, many thanks to you for your support!! Kindly regards, Ben Koopmanschap ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Make Syntax
On Fri, 30 Jan 2004 21:38:54 -0800 Rishi Chopra <[EMAIL PROTECTED]> wrote: > Is there any way to run a 'clean' command to remove 'WORK' directories > > from the ports tree after the fact? > If you want to clean a specific port (and its dependencies) just do a 'make clean' in its directory, or if you want to clean the whole tree do it in the ports base directory. Check 'man ports' ,there are a number of other targets that might come in handy at times. E.g. you can do a 'make extract' to get the ports work directory, browse through readme's and other information before installing, then do a 'make install clean'. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
tcp blackhole and ident
I have a question. I setup the following in sysctl.conf: net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 ..Well this works, but now I have a new issue. I run sendmail and as such, need to allow TCP 113 into this machine and yet get CONNECTION REFUSED. - I dont want to run IDENT, but need to still get the CONNECTION REFUSED... Currently (and as expected) the packets drop forever. Any ideas on how I can have the best of both worlds? In additon, what is the best security setting for: net.inet.tcp.icmp_may_rst=1 or 0 ? Thanks! -- J.D. Bronson - "LoneBandit" Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where am I supposed to put my rc.firewall?
On Friday 30 January 2004 11:02 pm, JJB wrote: > How can it cause connections problems, you have never used it yet, > so how can you say that. I HAVE used it, and it is cause, primarily, DNS request problems. DNS queries don't seem to have the ability to forward to other servers. > Yes the rule set you posted is wide open. > You could remove rule 200 & 300, pretty meaningless in an wide open > config. The wide-open config is a start. I want to start with a working connection, and move to adding deny rules from there. Thanks for the reply! -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature
Re: tcp blackhole and ident
On Sat, Jan 31, 2004 at 07:32:36AM -0600, J.D. Bronson wrote: > I have a question. I setup the following in sysctl.conf: > > net.inet.tcp.blackhole=2 > net.inet.udp.blackhole=1 > > ..Well this works, but now I have a new issue. > I run sendmail and as such, need to allow TCP 113 into this machine > and yet get CONNECTION REFUSED. - I dont want to run IDENT, but > need to still get the CONNECTION REFUSED... Run ipfw(8) or a similar firewall and set up a rule that sends an ICMP reject whenever it detects an incoming connection on port 113 as part of your firewall configuration. Eg. something like: 01600 reset tcp from any to me dst-port 113 setup Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Make Syntax
On Friday 30 January 2004 11:43 pm, Chris wrote: > On Friday 30 January 2004 11:38 pm, Rishi Chopra wrote: > > Is there any way to run a 'clean' command to remove 'WORK' directories > > from the ports tree after the fact? > > Sure - > portsclean -CDD > > To find out what the flags are: man portsclean The command I learned from this list is the following: # cd /usr/ports # make -DNOCLEANDEPENDS clean HTH -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature
Re: tcp blackhole and ident
At 07:39 AM 1/31/2004, Matthew Seaman wrote: On Sat, Jan 31, 2004 at 07:32:36AM -0600, J.D. Bronson wrote: > I have a question. I setup the following in sysctl.conf: > > net.inet.tcp.blackhole=2 > net.inet.udp.blackhole=1 > > ..Well this works, but now I have a new issue. > I run sendmail and as such, need to allow TCP 113 into this machine > and yet get CONNECTION REFUSED. - I dont want to run IDENT, but > need to still get the CONNECTION REFUSED... Run ipfw(8) or a similar firewall and set up a rule that sends an ICMP reject whenever it detects an incoming connection on port 113 as part of your firewall configuration. Eg. something like: 01600 reset tcp from any to me dst-port 113 setup Cheers, Matthew Thanks...but I have quite a robust Cisco firewall in place ahead of the freebsd machines...so I dont -need- to run ipfw...Hmmm... Actually since the Cisco is dropping any packets already, I wonder if 'blackhole' is simply a stupid idea in the first place... -- J.D. Bronson - "LoneBandit" Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tcp blackhole and ident
On Sat, Jan 31, 2004 at 07:46:39AM -0600, J.D. Bronson wrote: > At 07:39 AM 1/31/2004, Matthew Seaman wrote: > >Run ipfw(8) or a similar firewall and set up a rule that sends an ICMP > >reject whenever it detects an incoming connection on port 113 as part > >of your firewall configuration. Eg. something like: > > > >01600 reset tcp from any to me dst-port 113 setup > Thanks...but I have quite a robust Cisco firewall in place ahead of the > freebsd machines...so I dont -need- to run ipfw...Hmmm... > > Actually since the Cisco is dropping any packets already, I wonder if > 'blackhole' is simply a stupid idea in the first place... Well, gee. I'm sure Cisco PIX is capable of sending a 'reject' rather than just dropping the packet. Even so, don't dismiss running packet filters locally on your FreeBSD boxes. Think "defense in depth" -- or how many things have to go wrong until there are bad consequences. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Transferring the root filesystem to a ramdisk?
Hello, in an attempt to save power on FreeBSD servers, I'm trying to replace the hdd with a ramdisk. The idea is to: 1. boot from the hdd (or netboot from an NFS server) 2. configure a ram disk (md(4)) 3. copy everything that's needed to ram disk 4. transfer kernel root to ramdisk (*) 5. turn off the hdd (**) (*) is the hairy question. (**) How can that be done? I won't need paging, because there'll be enough ram for everything (ramdisk, kernel and userland). Now the questions are: * How to "attach" the root filesystem to the ram disk? Can this be done only through pxe/netboot before the kernel starts, or is there some kind of system call that can transfer root on a running system? * How to power off (and on) the hdd (both for ATA and SCSI)? * Will the power consumption decrease (no hdd) or will it increase (more ram)? Anybody measured this before with regular diskless machines? Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Transferring the root filesystem to a ramdisk?
I'm probably in over my head here, but; chroot should change the root filesystem for you. (look in the manpages for more details) As for powering down the hdd I did find a page for this, but havent had time to play with it yet: http://www.cran.org.uk/bruce/software.php best of luck! Hello, in an attempt to save power on FreeBSD servers, I'm trying to replace the hdd with a ramdisk. The idea is to: 1. boot from the hdd (or netboot from an NFS server) 2. configure a ram disk (md(4)) 3. copy everything that's needed to ram disk 4. transfer kernel root to ramdisk (*) 5. turn off the hdd (**) (*) is the hairy question. (**) How can that be done? I won't need paging, because there'll be enough ram for everything (ramdisk, kernel and userland). Now the questions are: * How to "attach" the root filesystem to the ram disk? Can this be done only through pxe/netboot before the kernel starts, or is there some kind of system call that can transfer root on a running system? * How to power off (and on) the hdd (both for ATA and SCSI)? * Will the power consumption decrease (no hdd) or will it increase (more ram)? Anybody measured this before with regular diskless machines? Thanks, -cpghost. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where am I supposed to put my rc.firewall?
On Fri, 30 Jan 2004 19:47:47 -0600 Eric F Crist <[EMAIL PROTECTED]> wrote: > On Friday 30 January 2004 06:54 pm, Chuck Swiger wrote: > > Eric F Crist wrote: > > > I'm trying to add IPFW support. Where do I put my rc.firewall so > > > that it gets read at boot time? I've tried /usr/local/etc/rc.d > > > and /etc but neither seems to get read. > > > > Specify the location of your firewall script in /etc/rc.conf like > > so: > > > > firewall_enable='YES' > > firewall_type='/etc/ERICS_firewall' > > firewall_flags='-p /usr/bin/cpp' > > > > [ You might choose to use some other preprocessor... ] > > Well, here's what I have now. I have a file in /etc called > grog.firewall. It's contents are: > > grog# more grog.firewall > ipfw -f flush > ipfw add 100 pass all from any to any via lo0 > ipfw add 200 deny all from any to 127.0.0.0/8 > ipfw add 300 deny ip from 127.0.0.0/8 to any > ipfw add 600 allow all from any to any > > In my /etc/rc.conf file, I have the following two entries pertaining > to the firewall: > > firewall_enable="YES" > firewall_type="/etc/grog.firewall" Add this to your rc.conf: (instead of firewall_type=...): firewall_script="/etc/grog.firewall" See /etc/defaults/rc.conf ! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS performances on 5.1
On a same Ethernet 100 LAN, I have several Unix and an NFS Solaris fileserver. On these Unix, I tried: time dd=/fileserver/aFile of=/fileserver/otherFile bs=32768 On each try, I use new files, to avoid the impact of file caching. I measured the time spent and the number of Ethernet packets (with snoop). I found: NFS client time# pkts === === == Solaris 3.11s 2296 Linux Redhat9 2.42s 1929 FreeBSD 5.1 19.72s 14887 http://www.spi.ens.fr Ecole normale supérieure | 45 rue d'Ulm |Tel : (+33 1)1 44 32 37 96 F75230 Paris cedex 05|Fax : (+33 1)1 44 32 20 75 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Being able to Program C++ with FreeBSD4.x
I have a I386 mechine running FreeBSD 4.x and I will be upgraded shortly to 5.x, but I would like to know if I am able to program and compile using FreeBSD. I've never tried with 4.x and I would like to get into re-introducing myself to the C++ lanuage... Need to know fast... Thanks, AL FreeBSD for Life - Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Make Syntax
On Fri, 30 Jan 2004, Rishi Chopra wrote: > Is there any way to run a 'clean' command to remove 'WORK' directories > from the ports tree after the fact? Sure. # make install clean actually does several steps; you can separate them by just using the individual make targets. To clean a port and its dependencies, cd to the individual port directory and use the "clean" target alone: # make clean See 'man ports' for a list of all the make targets. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to build FreeBSD entirely from sources?
"Edmund Craske" <[EMAIL PROTECTED]> writes: > Note that the procedure shown will likely break your system > if you're upgrading from 5.1 or earlier, so do: > shutdown -r now > then boot into single user mode, as described in the handbook, > instead of shutdown now. I guess this teaches me not to try to paraphrase the handbook again. Thanks for the friendly kick in the butt. > The process described by Kai is not as depicted in UPDATING... Indeed. Hm. See above... Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
asking for help
Hello, my name is Bogdan Faina and I wote you a couple oof times regarding to the HDF5 instalation. I read the notes abot this matter and I tried to install first only the precompiled binaries for freebsd_4.9 but I've fount out that in the ports packages exists the HD5 latest version available so I have updated the freebsd packages and then from ports I did >>. So that way the computer installed itself the Hdf5. Until here it,s all allright but I don't understand a thing: Why it is not included the fortran90 compiler h5fc. Please answer me this questions: How can I add the Fortran90 compiler to my actual Hdf5? What solution exists to this matter? How can I get some help regarding to the understanding how Hdf5 works? Can I get a mail adress from someone who uses Hdf5 and is available to explain to me how it works or if it is a forum for Hdf5 users? I'm a student at Physics and I need Hdf5 to complete my Bachelor Degree and to use it storing data from a program that simulates Crystals Growth. Thank you for your time and I can hardly wait to hear news from you. - Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where am I supposed to put my rc.firewall?
Peder Blom wrote: [ ... ] Add this to your rc.conf: (instead of firewall_type=...): firewall_script="/etc/grog.firewall" See /etc/defaults/rc.conf ! While I won't speak against looking at /etc/defaults/rc.conf, setting firewall_type works fine; see the end of /etc/rc.firewall: *) if [ -r "${firewall_type}" ]; then ${fwcmd} ${firewall_flags} ${firewall_type} fi ;; -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Being able to Program C++ with FreeBSD4.x
+> I have a I386 mechine running FreeBSD 4.x and I will be +> upgraded shortly to 5.x, but I would like to know if I am +> able to program and compile using FreeBSD. I've never tried +> with 4.x and I would like to get into re-introducing myself +> to the C++ lanuage... As long as you have a compiler you're happy with, there's absolutely zero reason why you can't code your face off in any FreeBSD environment. Fill 'yer boots!! Enjoy!! +> +> Need to know fast... Er, was that fast enough?? :-) Regards, -Colin FreeBSD+Evolution+OpenOffice=Perfection Perfection yes, and at the RIGHT PRICE!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS performances on 5.1
On Saturday 31 January 2004 16:02, Jacques Beigbeder wrote: > time dd=/fileserver/aFile of=/fileserver/otherFile bs=32768 > > NFS clienttime# pkts > === === == > Solaris 3.11s 2296 > Linux Redhat9 2.42s 1929 > FreeBSD 5.1 19.72s 14887FreeBSD 4.9 3.04s 6380 > FreeBSD 5.2 2.98s 5941 > > All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ... > > Question: is there any tuning on 5.1 to get better performances? Did you read the notes in src/UPDATING saying: NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
Re: Using the ATAPI/CAM Driver
On Saturday 31 January 2004 11:31, Jeff Elkins wrote: > That succeeded in freezing the permissions from boot to boot, but I still > get the error "cd9660: /dev/cd0: Device not configured" when I try to mount > a cd via the passthrough device: mount -t cd9660 /dev/cd0 /cdrom > > I _can_ mount cds using the /dev/acd* devices, while using the /dev/cd* > devices for writing. Is this the way atapi cdrws are supposed to work > under freebsd? So, is cam compiled into the kernel? Do you have the xpt SCSI driver? If cam is configured correctly, there should be mentioning of cd0 in /var/run/dmesg.boot and the cd's should be listed via: camcontrol devlist -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
Re: apache is seg faulting. why ?
On Friday 30 January 2004 13:40, julien Beauviala wrote: > the following : > > pid 72041 (httpd), uid 80: exited on signal 11 > > pid 72040 (httpd), uid 80: exited on signal 11 > > pid 72099 (httpd), uid 80: exited on signal 11 > > pid 72039 (httpd), uid 80: exited on signal 11 > > pid 74202 (httpd), uid 80: exited on signal 11 Make sure you're up-to-date - it may be a security hole. Otherwise: use top(1) and check if at some point you see a httpd process spinning wildly for a long time, while memory grows. A frequent problem, is that somebody coded an infinite loop, filling a variable and then the process runs outof memory and segfaults. PHP code like this for example: $i = 11; $buffer = ''; while ( $i != 10 ) { $buffer .= 'hello'; $i++; } -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
Re: apache is seg faulting. why ?
Melvyn Sopacua wrote: On Friday 30 January 2004 13:40, julien Beauviala wrote: the following : pid 72041 (httpd), uid 80: exited on signal 11 pid 72040 (httpd), uid 80: exited on signal 11 pid 72099 (httpd), uid 80: exited on signal 11 pid 72039 (httpd), uid 80: exited on signal 11 pid 74202 (httpd), uid 80: exited on signal 11 Make sure you're up-to-date - it may be a security hole. Otherwise: use top(1) and check if at some point you see a httpd process spinning wildly for a long time, while memory grows. A frequent problem, is that somebody coded an infinite loop, filling a variable and then the process runs outof memory and segfaults. PHP code like this for example: $i = 11; $buffer = ''; while ( $i != 10 ) { $buffer .= 'hello'; $i++; } PHP does have memory-limits. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache is seg faulting. why ?
On Saturday 31 January 2004 17:36, Jon-Eirik Pettersen wrote: > Melvyn Sopacua wrote: > >On Friday 30 January 2004 13:40, julien Beauviala wrote: > >>the following : > >>>pid 72041 (httpd), uid 80: exited on signal 11 > >>>pid 72040 (httpd), uid 80: exited on signal 11 > >>>pid 72099 (httpd), uid 80: exited on signal 11 > >>>pid 72039 (httpd), uid 80: exited on signal 11 > >>>pid 74202 (httpd), uid 80: exited on signal 11 > > > >Make sure you're up-to-date - it may be a security hole. > > > >Otherwise: use top(1) and check if at some point you see a httpd process > >spinning wildly for a long time, while memory grows. > > > >A frequent problem, is that somebody coded an infinite loop, filling a > >variable and then the process runs outof memory and segfaults. > > > >PHP code like this for example: > >$i = 11; > >$buffer = ''; > >while ( $i != 10 ) > >{ > > $buffer .= 'hello'; > > $i++; > >} > > PHP does have memory-limits. Yes, but if the shell limit for uid 80 is less then php's memory limit, you still have a segfault. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
FreeBSD 4.x or 5.x doesn't find hard drives to install to! [SATA]
Hello: I have an Intel S875WP1-E MOBO and two Seagate 120 gig drives. Every time I try to install FreeBSD, I can get to the part to partition drives but it doesn't find any! I went into BIOS and set it up for Legacy mode, but still no go. Anyone else seen this issue? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Errors
"Steve Gilli" <[EMAIL PROTECTED]> writes: > I have just installed FreeBSD 4.6 and included linux compatibility. I > then tried to install a linux program and received the following > errors:error: failed error: failed dependencies: > libc.so.6(GLIBC_2.2) is needed by TIVsm-API-5.2.0-0 > libpthread.so.0(GLIBC_2.2) is needed by TIVsm-API-5.2.0-0 > libstdc++-libc6.2-2.so.3 is needed by TIVsm-API-5.2.0-0 > Any suggestions on how to resolve ? Just like on Linux, you need the libraries that the program was linked against. [They should be under /usr/compat/linux, to keep them from potentially colliding with native libraries.] If you can install the program from FreeBSD ports or packages, the dependencies should be handled for you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.2: How do I automatically restart twm with the Default session?
"Anthony Discolo" <[EMAIL PROTECTED]> writes: > Everytime I log in twm asks me to load the Default session. Is there > any way I can have it automatically load it (maybe something in the > ~/.twmrc)? > > I've also run into problems with reloading the Default session. > Sometimes twm dumps core. If I load the Fail Safe session, it seems > to work fine. Is this actually twm as installed from the base X packages? Are you starting it from xdm(1) or startx(1)? What does your .xsession or .xinitrc look like? Does removing your personal .twmrc have any effect? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fbsd splash
Have you compiled VESA and Splash support in your kernel as well? Cheers, Jorn - Original Message - From: "marlon corleone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 31, 2004 1:32 PM Subject: fbsd splash > i have an entry in /boot/loader.conf > what else do i have to add? do i have to put also an entry in loader.rc? > > splash_bmp_load="YES" > bitmap_load="YES" > bitmap_name="power_logo.bmp" > > > %sysctl kern.version > kern.version: FreeBSD 5.2-RELEASE-p1 #1: Fri Jan 30 23:30:38 PHT 2004 > [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MMP > > _ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Root pwd and single user mode question
I loaded FreeBSD on one of my old PCs a few years ago. I wanted to start using it again, but I can't remember what the root password was. I'm sure I used the default, but I tried hitting enter and using "password", "root", "r00t", "sysadmin", "admin" and a few others to no avail. Can anyone tell me some others to try? Alternately, I tried logging into the box in single-user mode to change it. However, when I got to the boot: prompt and typed -s, it proceeded to do a normal boot. I'm not exactly sure which verion I have, but the book was The complete FreeBSD 3rd edition and the CDs are dated June 2000. Any tips would be most appreciated, Pat Wilcox __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x or 5.x doesn't find hard drives to install to! [SATA]
Daniel Butler wrote: Hello: I have an Intel S875WP1-E MOBO and two Seagate 120 gig drives. Every time I try to install FreeBSD, I can get to the part to partition drives but it doesn't find any! I went into BIOS and set it up for Legacy mode, but still no go. Anyone else seen this issue? Please wrap your lines at 80 characters as a courtesy to those who read mail via text clients. I'm curious why you chose to enable "Legacy" mode for *120* GB hard drives. I'd be more inclined to think that the drives are too big and too new to be detected properly. Does the BIOS report the drives? Do other operating systems find the drives? I suppose it's possible that the IDE/ATA controller on the mobo is not supported by FreeBSD, but I really doubt it. As a third resort, check out the hardware compatibility list at the web site. KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Root pwd and single user mode question
It's "boot -s" and then you can passwd root Sincerely, Scott Kupferschmidt ISPrime, Inc. 866.502.4678 ext. 3 AIM: Scott ISPrime - ICQ: 174337249 On Sat, 31 Jan 2004, Patrick Wilcox wrote: > I loaded FreeBSD on one of my old PCs a few years ago. > I wanted to start using it again, but I can't > remember what the root password was. I'm sure I used > the default, but I tried hitting enter and using > "password", "root", "r00t", "sysadmin", "admin" and a > few others to no avail. > > Can anyone tell me some others to try? > > Alternately, I tried logging into the box in > single-user mode to change it. However, when I got to > the boot: prompt and typed -s, it proceeded to do a > normal boot. > > I'm not exactly sure which verion I have, but the book > was The complete FreeBSD 3rd edition and the CDs are > dated June 2000. > > Any tips would be most appreciated, > Pat Wilcox > > __ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Root pwd and single user mode question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 31 January 2004 11:33 am, Patrick Wilcox wrote: > I loaded FreeBSD on one of my old PCs a few years ago. > I wanted to start using it again, but I can't > remember what the root password was. I'm sure I used > the default, but I tried hitting enter and using > "password", "root", "r00t", "sysadmin", "admin" and a > few others to no avail. > > Can anyone tell me some others to try? > > Alternately, I tried logging into the box in > single-user mode to change it. However, when I got to > the boot: prompt and typed -s, it proceeded to do a > normal boot. A few things - there isn't a "default" root password. You either set it or you don't Nextly (grin) for single user mode to change the root password, look here. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW - -- Best regards, Chris -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQA/AwUBQBvaxA+T/4DAG8NjEQJfnwCeM37Jgb6X7o2vjdBeWc9CrXD69eoAoLwg h7PYXfgxNTTb8Bpd3OIllbpN =qJ+Y -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.2: How do I automatically restart twm with the Default session?
Yes, this is the default twm that comes with 5.2. I was not using a ~/.twmrc or a ~/.xsession. I figured out that twm dumps core when it is restarted by xsm. I also learned that it's xsm that puts up the session dialog, and that "xsm -session Default" automatically starts the Default session eliminating the dialog. After twm dumped core, sometimes the Default session would remain locked, preventing me from logging in (since xsm couldn't open the Default session). Using the Fail Safe session always worked fine, but I hated having to select it everytime I logged in. Anyway, I couldn't get xsm to automatically reload my Default session without having twm dump core, so I stopped using xsm all together. I simply have twm started by my ~/.xsession now (along with my favorite x commands) and things work fine. If you have any advice on how to get xsm and twm to peacefully coexist, I'd appreciate it. Original Message Follows From: Lowell Gilbert <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "Anthony Discolo" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: FreeBSD 5.2: How do I automatically restart twm with the Default session? Date: 31 Jan 2004 12:28:47 -0500 "Anthony Discolo" <[EMAIL PROTECTED]> writes: > Everytime I log in twm asks me to load the Default session. Is there > any way I can have it automatically load it (maybe something in the > ~/.twmrc)? > > I've also run into problems with reloading the Default session. > Sometimes twm dumps core. If I load the Fail Safe session, it seems > to work fine. Is this actually twm as installed from the base X packages? Are you starting it from xdm(1) or startx(1)? What does your .xsession or .xinitrc look like? Does removing your personal .twmrc have any effect? _ Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Slow bootstrapping
Hello, I recently installed FreeBSD 5.2 on the first primary partition of my second hard drive. The other partitions a few logical partitions containing Linux and a fat primary partition. After installation everything went fine. Booting was fast as usual. Then I changed the layout of the disk. I deleted one logical partition and made a primary partition out of it (using Linux's cfdisk). After doing that the boostrapping into FreeBSD seems awfully slow. It takes a minute to get to the beastie prompt. Once the highlighted kernel messages appear booting is fast as always. Can someone explain what's going on and how I could fix it? Thanks, Roland ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS performances on 5.1
On Sat, Jan 31, 2004 at 04:02:21PM +0100, Jacques Beigbeder wrote: > On a same Ethernet 100 LAN, I have several Unix and > an NFS Solaris fileserver. On these Unix, I tried: > time dd=/fileserver/aFile of=/fileserver/otherFile bs=32768 > On each try, I use new files, to avoid the impact of file caching. > > I measured the time spent and the number of Ethernet packets (with snoop). > I found: > > NFS clienttime# pkts > === === == > Solaris 3.11s 2296 > Linux Redhat9 2.42s 1929 > FreeBSD 5.1 19.72s 14887FreeBSD 4.9 3.04s 6380 > FreeBSD 5.2 2.98s 5941 > > All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ... > > Question: is there any tuning on 5.1 to get better performances? The best way to tune 5.1 is to update it to 5.2 (I'm sure you read all the documentation that states that the 5.x branch is a new technology release with performance not being an initial goal). However, those numbers still look excessive, so I wonder if you forgot to turn off some of the debugging options like WITNESS. Kris pgp0.pgp Description: PGP signature
Re: Root pwd and single user mode question
On Saturday 31 January 2004 18:33, Patrick Wilcox wrote: > I loaded FreeBSD on one of my old PCs a few years ago. > I wanted to start using it again, but I can't > remember what the root password was. I'm sure I used > the default, but I tried hitting enter and using > "password", "root", "r00t", "sysadmin", "admin" and a > few others to no avail. > > Can anyone tell me some others to try? > > Alternately, I tried logging into the box in > single-user mode to change it. However, when I got to > the boot: prompt and typed -s, it proceeded to do a > normal boot. You have to type "boot -s". > > I'm not exactly sure which verion I have, but the book > was The complete FreeBSD 3rd edition and the CDs are > dated June 2000. I'd say 3.3 or 3.4. But that doesn't matter. -Harry > > Any tips would be most appreciated, > Pat Wilcox > > __ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp0.pgp Description: signature
Re: File Corruption
"Randy Grafton" <[EMAIL PROTECTED]> writes: > ourselves through ftp/sftp and sure enough the file is no longer > functional and we'll have to replace it with another copy. I googled > and searched the lists but have only found tips regarding speeding up > http downloads, (reverting to the current Apache 1.3.x > version). It sounds like hardware trouble to me. The obvious culprit would be a dodgy disk, but you should probably make sure that it isn't really a RAM problem (maybe the file is being cached by the OS). The next time you see a corrupt file, you could try rebooting and see if the file still seems corrupt. If not, then you probably have a RAM problem. To guard against data corruption (it's a fabulously rare occurrence on properly-functioning equipment, but I have data that I'd like to still have accessible in 50 years), I use mtree(8) to checksum all of the files in some of my subdirectory trees, to see if they've changed lately. This would probably be a useful tool in this case, too (at least until the real problem is fixed, although there's no real reason to stop at that point), so that the corrupt files can be caught before customers notice. It is, of course, also possible that the source of the corruption is a bug. I don't recall any reports of such problems on UFS filesystems, but you might want to consider updating to FreeBSD 4.9 on that server. Good luck. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Memory leak on 5.1-RELEASE?
Are you sure that there isn't anything else running? Why don't you give us an ps -ax output? I don't think there's a memory leak in 5.1, since I've seen running 5.1 just fine on a PE2650 with 2 GB RAM. You shouldn't rely on top too much acually. Vmstat is a better program when looking at memory. Cheers, Jorn - Original Message - From: "dpk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 31, 2004 1:10 AM Subject: Memory leak on 5.1-RELEASE? > (I'm not a member of the list; please Cc me on any replies.) > > We're running Apache 1.3.28 on a 5.1-RELEASE machine. It's a Dell PE 2650 > w/ 2GB RAM. The site contains a lot of large files (multi-megabyte) - > otherwise there's nothing unusual running. > > The Active memory use, according to top, seems rather high: > > last pid: 21487; load averages: 0.19, 0.33, 0.32up 2+16:45:20 15:52:21 > 76 processes: 1 running, 75 sleeping > CPU states: 0.5% user, 0.0% nice, 4.0% system, 1.4% interrupt, 94.2% idle > Mem: 1413M Active, 187M Inact, 299M Wired, 93M Cache, 112M Buf, 2632K Free > Swap: 1024M Total, 21M Used, 1003M Free, 2% Inuse > > We can't seem to get the Active number down much, even after stopping > Apache it still stays around 1100M. There's no shared memory in use, and > nothing in vmstat -m seems to indicate where the "missing" memory is. top, > sorting by "size", does not indicate anything unusual either. > > sysctl vm.vmtotal says: > > vm.vmtotal: > System wide totals computed every five seconds: (values in kilobytes) > === > Processes: (RUNQ: 1 Disk Wait: 0 Page Wait: 0 Sleep: 76) > Virtual Memory: (Total: 8172K, Active 636472K) > Real Memory:(Total: 2051312K Active 389176K) > Shared Virtual Memory: (Total: 16436K Active: 11760K) > Shared Real Memory: (Total: 6004K Active: 4436K) > Free Memory Pages: 79228K > > whereas on other servers, the Real Memory "Active" number seems to match > the one found in top, on this one it is about 1GB lower. > > A similar machine running Apache on 5.1-R, generally serving smaller > files, has the same problem in a smaller scale (about 640M even when > Apache is stopped). > > Are there any other data that I should send to help diagnose this problem, > or any programs I can run to try and track this stray memory use down? > > - dpk > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building JDK14
I didn't mount linprocfs when I compiled blackdown-java actually. Also I (always) type make all install clean. I don't know if that matters or not though. But other then that I didn't do anything else then you did. Cheers, Jorn - Original Message - From: "Jeff Elkins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 11:33 PM Subject: Re: Building JDK14 > On Friday 30 January 2004 12:17 pm, Jorn Argelo wrote: > > Well, it's really compiling files now, the previous time it was just 20 > > hours at the same spot. I guess the blackdown-java version is working all > > right then since it's still busy compiling files. > > > > The javavm -version is giving a good output, so it's working all right I'd > > say. > > Interesting discussion. I obtained all the Sun source and patches and am > trying to install jdk14 as well, under 5.2. Thus far: > > 1. enabled option COMPAT_LINUX for my kernel and rebuilt/installed rebooted. > 2. mounted linproc with mount -t linprocfs linprocfs /compat/linux/proc > 3. make install clean /usr/ports/linux-blackdown-jdk14/ > > However. when executing /usr/local/linux-blackdown-jdk1.4.2/bin/java -version > I get: > > Error occurred during initialization of VM > java/lang/NoClassDefFoundError: java/lang/Object > > Did I miss a step? > > Tx, > > Jeff Elkins > > > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x or 5.x doesn't find hard drives to install to! [SATA]
KDK: Thanks for the tip. I think I misunderstood what Legacy meant :) As a matter of fact, I don't see the hard drives in the BIOS anywhere! I know the company that put the computer together said they got XP running on it, so I tend to think it worked at one point. I'm downloading RedHat 8 right now to see if that will recognize the drives. Dan On Jan 31, 2004, at 11:35 AM, Kevin D. Kinsey, DaleCo, S.P. wrote: Daniel Butler wrote: Hello: I have an Intel S875WP1-E MOBO and two Seagate 120 gig drives. Every time I try to install FreeBSD, I can get to the part to partition drives but it doesn't find any! I went into BIOS and set it up for Legacy mode, but still no go. Anyone else seen this issue? Please wrap your lines at 80 characters as a courtesy to those who read mail via text clients. I'm curious why you chose to enable "Legacy" mode for *120* GB hard drives. I'd be more inclined to think that the drives are too big and too new to be detected properly. Does the BIOS report the drives? Do other operating systems find the drives? I suppose it's possible that the IDE/ATA controller on the mobo is not supported by FreeBSD, but I really doubt it. As a third resort, check out the hardware compatibility list at the web site. KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where am I supposed to put my rc.firewall?
On Sat, 31 Jan 2004 10:50:19 -0500 Chuck Swiger <[EMAIL PROTECTED]> wrote: > Peder Blom wrote: > [ ... ] > > Add this to your rc.conf: (instead of firewall_type=...): > > firewall_script="/etc/grog.firewall" > > > > See /etc/defaults/rc.conf ! > > While I won't speak against looking at /etc/defaults/rc.conf, setting > firewall_type works fine; see the end of /etc/rc.firewall: > > *) > if [ -r "${firewall_type}" ]; then > ${fwcmd} ${firewall_flags} ${firewall_type} > fi > ;; > > -- > -Chuck > ___ Yes, that's the other way of doing it. The mentioning of scripts and the fact that his file was in the form of a script made me assume that he wanted to write his own script for setting up his firewall. On second thought I realize that he might just as well want to do it your way and define a set of rules to be read in by rc.firewall. (This might even be the best solution). I've never done it this way, but in this case I assume that you just define the rules in '/etc/ERICS_firewall', thus: -- add 100 pass all from any to any via lo0 add 200 deny all from any to 127.0.0.0/8 add 300 deny ip from 127.0.0.0/8 to any add 600 allow all from any to any -- Using your suggestions for rc.conf, of course. Is this correct? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using the ATAPI/CAM Driver
On Saturday 31 January 2004 11:25 am, Melvyn Sopacua wrote: > On Saturday 31 January 2004 11:31, Jeff Elkins wrote: > > That succeeded in freezing the permissions from boot to boot, but I still > > get the error "cd9660: /dev/cd0: Device not configured" when I try to > > mount a cd via the passthrough device: mount -t cd9660 /dev/cd0 /cdrom > > > > I _can_ mount cds using the /dev/acd* devices, while using the /dev/cd* > > devices for writing. Is this the way atapi cdrws are supposed to work > > under freebsd? > > So, is cam compiled into the kernel? Do you have the xpt SCSI driver? > If cam is configured correctly, there should be mentioning of cd0 > in /var/run/dmesg.boot and the cd's should be listed via: > > camcontrol devlist kathix# camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 0 lun 1 (pass1,da1) at scbus0 target 0 lun 2 (pass2,da2) at scbus0 target 0 lun 3 (pass3,da3) at scbus1 target 0 lun 0 (pass4,da4) at scbus3 target 0 lun 0 (pass5,cd0) at scbus3 target 1 lun 0 (pass6,cd1) cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd1 at ata1 bus 0 target 1 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 16.000MB/s transfers Jeff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Wine under 4.8
Has anyone had any success running Wine under FreeBSD 4.8? NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building JDK14
I think it may be a 5.2/JDK 1.4 issue - I installed jdk1.3 and it's working - the compile for a native 1.3jdk is running now... Jeff On Sunday 01 February 2004 12:45 pm, Jorn Argelo wrote: > I didn't mount linprocfs when I compiled blackdown-java actually. Also I > (always) type make all install clean. I don't know if that matters or not > though. > > But other then that I didn't do anything else then you did. > > Cheers, > > Jorn > > - Original Message - > From: "Jeff Elkins" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, January 30, 2004 11:33 PM > Subject: Re: Building JDK14 > > > On Friday 30 January 2004 12:17 pm, Jorn Argelo wrote: > > > Well, it's really compiling files now, the previous time it was just 20 > > > hours at the same spot. I guess the blackdown-java version is working > > all > > > > right then since it's still busy compiling files. > > > > > > The javavm -version is giving a good output, so it's working all right > > I'd > > > > say. > > > > Interesting discussion. I obtained all the Sun source and patches and am > > trying to install jdk14 as well, under 5.2. Thus far: > > > > 1. enabled option COMPAT_LINUX for my kernel and rebuilt/installed > > rebooted. > > > 2. mounted linproc with mount -t linprocfs linprocfs /compat/linux/proc > > 3. make install clean /usr/ports/linux-blackdown-jdk14/ > > > > However. when executing > > /usr/local/linux-blackdown-jdk1.4.2/bin/java -version > > > I get: > > > > Error occurred during initialization of VM > > java/lang/NoClassDefFoundError: java/lang/Object > > > > Did I miss a step? > > > > Tx, > > > > Jeff Elkins > > > > > > > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS performances on 5.1
On Saturday 31 January 2004 17:11, Melvyn Sopacua wrote: > On Saturday 31 January 2004 16:02, Jacques Beigbeder wrote: > > time dd=/fileserver/aFile of=/fileserver/otherFile bs=32768 > > > > > > NFS client time# pkts > > === === == > > Solaris 3.11s 2296 > > Linux Redhat9 2.42s 1929 > > FreeBSD 5.1 19.72s 14887> FreeBSD 4.9 3.04s 6380 > > FreeBSD 5.2 2.98s 5941 > > > > All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ... > > > > Question: is there any tuning on 5.1 to get better performances? > > Did you read the notes in src/UPDATING saying: > NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: Could you pleas explain that numbers? I did almost the same test and found the following values in MByte/s: FBSD 5.2 -> 5.2 / 4,6(Client 1,1G Cel, Server C3 800) Linux-> 5.2 / lockup (Client 733 PIII, Server C3 800) FBSD 4.9 -> 5.2 / 2,8(CLient 233MMX, Server C3 800) FBSD 5.2 -> 5.1 / 6,5(Client 1,1G Cel, Server C3 800) Linux-> 5.1 / 9,8(Client 733 PIII, Server C3 800) FBSD 5.2 -> 4.9 / 5,8(Client 1,1G Cel, Server C3 800) Linux-> 4.9 / 9,8(Client 733 PIII, Server C3 800) FBSD 4.9 -> 4.9 / 3,0(Client 233MMX, Server C3 800) DragonFlyBSD as Server resulted in about 5% more performance than 4.9 (linear exept Linux Client as it performs with the maximum Ethernet Speed) My tests were without modifying any rsize/wsize. But even with (rw)size 32k i had expected to be able to transfer about 9 MByte/s from a 233MMX box. 3MByte/s is absolutely lousy. What hardware do we need for just tranfsering bytes? 1GHz? I think 233 MHz with 64MB for OS should be more than enough. Regrettably I haven't had time to install a Linux on the 233 box. Btw. Linux = DebWoody (2.4.22) and all clients have fxp interfaces! Summary: 5.1 as server was a lot faster than 5.2 as server so is 4.9. Fastest was DragonFlyBSD but anyhow, just Linux as Client does a reasonable job. And not to forget the broken Linux -> 5.2 support!!! -Harry pgp0.pgp Description: signature
most used programs
Was wondering what everyones most used programs are or programs you just can't live without ( just looking for some new toys to play with) Best regards -Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: most used programs
On Saturday 31 January 2004 19:07, paul wrote: > Was wondering what everyones most used programs are or programs you just > can't live without ( just looking for some new toys to play with) > Best regards > -Paul lft (from ports (net)) > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp0.pgp Description: signature
Re: Make Syntax
On Saturday 31 January 2004 05:45 am, Eric F Crist wrote: > On Friday 30 January 2004 11:43 pm, Chris wrote: > > On Friday 30 January 2004 11:38 pm, Rishi Chopra wrote: > > > Is there any way to run a 'clean' command to remove 'WORK' > > > directories from the ports tree after the fact? > > > > Sure - > > portsclean -CDD > > > > To find out what the flags are: man portsclean > > The command I learned from this list is the following: > # cd /usr/ports > # make -DNOCLEANDEPENDS clean > I thought this was an important enough option to simplify and so I created an alias to do the work. The alias depends on the shell and for csh it is as follows: alias makednc make -DNOCLEANDEPENDS clean Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: most used programs
paul wrote: Was wondering what everyones most used programs are or programs you just can't live without ( just looking for some new toys to play with) Best regards -Paul Might be better posted to chat@; but you might get some answers here...of course, you may also get flamed ;-) I also remember a thread a bsdforums.org called something like "what X app can you not live without" that had a few goodies in it. For me: Eterm, Xterm, Acroread, Gimp Mozilla, TextMaker, SciTE, Xmms, Mplayer and some of the little Gnome baubles... Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: L2TP server?
> Hi all, I searched the archive and didn't find any relevant information. > Here is my situation: I have a FreeBSD box running as my gateway/firewall > at home. I want to set up a VPN connection from my laptop (in office) to > the router via public Internet. My laptop runs Mac OS X 10.3 and supports > L2TP over IPSec. So I suppose I need to set up a L2TP server on the box. I > did a little research and didn't find too much information. I am not very > familiar with IPSec or L2TP. If anyone could give me some pointers and > hints, I would appreciate very much > > Regards > Deling > ___ Greetings, I have always found Dru's articles to be very helpful. Here are a few about IPSec. http://www.onlamp.com/pub/a/bsd/2002/12/12/FreeBSD_Basics.html http://www.onlamp.com/pub/a/bsd/2002/12/26/FreeBSD_Basics.html http://www.onlamp.com/pub/a/bsd/2003/01/09/FreeBSD_Basics.html As far as connecting to it from your Mac, considering these show how to setup IPSec/Raccoon, and I don't believe the programs that come with OSX don't easily allow the connection. But there is a program by a third party that allows easy setup of raccoon. http://www.afp548.com/Software/VaporSec/ Hope this helps, and good luck. Cheers, Luke ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
finger information
(I dont run finger to the outside..only within the machine itself). I am running 4.9 and noticed that finger will not resolve internal IPs whereas it will resolve external IPs sorta... For example: # finger testacct Login: testacct Name: Test Account Directory: /home/testacct Shell: /bin/tcsh On since Sat Jan 31 11:39 (CST) on ttyp0 from 207.227.112.116 No Mail. No Plan. ..but when 'testacct' logs out, the finger information will then reveal the NAME of the IP... # finger testacct Login: testacct Name: Test Account Directory: /home/testacct Shell: /bin/tcsh Last login Sat Jan 31 11:39 (CST) on ttyp1 from karliscool.cyberly No Mail. No Plan. However on internal telnets within the lan, the live and stale finger information only show the IP...it never resolves. I run my own DNS and know BIND -very- well. I dont believe that this is a DNS issue and nslookup on the LAN IPs all resolves forward/reverse just fine. Any thoughts? -- J.D. Bronson - "LoneBandit" Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MBR problem
Kjell B. wrote: > I just installed FreeBSD 5.2-RELEASE (using the mini-install CD) on my > laptop which already had Win XP Home + Win XP Pro on it. During > partition definition I chose not to touch the MBR. (I wanted to make > use of Windows boot.ini for booting into FreeBSD.) Nevertheless, > whenever I boot I get directly to the FreeBSD boot menu where there's > no option to boot Windows. > > disk layout: > ad0s1: 31 MB DELL slice > ad0s2: 8001 MB Windows XP Home slice > ad0s3: 8510 MB extended DOS slice with three logical Win partitions > (one of them Windows XP Professional) > ad0s4: 2533 MB FreeBSD slice > > I tried to restore the MBR using fixmbr from Windows Recovery > Console. It doesn't help. I claims it has overwritten the file, but I > still get directly into FreeBSD at boot. > > I've tried setting ad0s2 and ad0s4 as bootable and then writing > changes (W) in FDISK partition editor in sysinstall. At the following > choice of MBR, I choose 'Install the FreeBSD Boot Manager'. I then > get "ERROR: Unable to write data to disk ad0!" followed by "Disk > partition write returned an error status!". The same result also if I > choose 'Standard' or 'None' in the MBR choice menu. > > (Another weird thing in sysinstall -> fdisk: Positioning the cursor > on any of the slices and hitting F1 yields "Sorry! The slice file is > not provided on this particular floppy image". This indicates to me > that something is wrong with my installation, but what?) > > Any hints on ways out of this? > > Another question: In 5.2 there are two sysinstalls - > /stand/sysinstall and /usr/local/sbin/sysinstall whereas in 4.8 I > only find /stand/sysinstall. Which one should I use with 5.2 and > what's the difference between them? OK, I did find a hint Googling a little more. Apparently GEOM prevents me from using sysinstall on the installation for changing MBR. I need to use the install CD and run sysinstall from there. Then I could do the change of MBR and got the standard FreeBSD boot manager. I now can boot Win XP or FreeBSD using the standard FreeBSD boot manager. What remains is to get rid of that and use Windows boot.ini for choosing between Win XP and FreeBSD, i.e. overwrite the MBR using fixmbr. -- Kjell ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: about logo (The Beasdie question)
Bubble Gum <[EMAIL PROTECTED]> wrote: >> I just want to ask (i'm sorry if it's a silly question),why freebsd >> logo use "devil" character? Answered by Paul A. Hoadley and Peter Ulrich Kruppa: >It's not a devil. It's a daemon. === > 1) It isn't a devil but a small daemon, ... programs called daemons, ... > 2) [It's] name is beastie, ... a quasihomophone to BSD ... > 3) On http://www.freebsdmall.com you can buy Tee-shirts, ... As a recent member of OOOF (The Organization of Obsolete Old Fogies) I was there (well, nearby) when it happened. Back in the early days of UNIX (as then it was typset), when the mists of the Big Iron Age were yet to clear, and v5 and v6 were new and Lions had not yet written, there was called a moot or assembly, and the practice of distributing tee shirts to commemorate a moot was also young. And someone commissioned a tee shirt, and someone drew it (and their names may be found elsewhere), and it showed a PDP-11 to which heavy galvanized plumbing was added. Beneath one leaky pipe fitting was a large wooden barrel named `/dev/null', and on the plumbing there sat some number of small horn'd figures, red, with arrow-pointed tails and tridents (which the uneducated describe as pitchforks), and one of these daemons has just prodded another to leap from his perch, who might be said to be forking off. Backstory on `demon/daemon': In pre-Christian (ie. Greek) thinking, a daemon was a spirit, neither angelic nor diabolical, which took care of something, someone, or someplace. (This was education by osmosis, so feel free to correct me.) In Plato's _The Death of Socrates_ (or _Last Days of Socrates_, or ...) you can read Socrates speculation on the hereafter, and of a guide spirit that he expects will be there to greet him. As to the name: it's my speculation that, when Christianity came along, the world got divided into the divine and angelic .vs. the diabolical, with us in the middle, and anything that was neither divine nor angelic nor human had to be diabolical. So over time, and probably through forgetting and rediscovery of the word, the helpful or friendly or simply neutral daemon became the demon. I don't know if Ritchie or Thompson were the first to use the name for a computer service. It seems likely that at least one of them was overeducated. So no, there is nothing diabolical about FreeBSD, unlike a certain `32 bit extension to a 16 bit kluge on an eight-bit operating system for a four-bit microprocessor written by a two-bit company that can't stand one bit of competition.' May we never forget the ``story'' in History. Mark Terribile __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Transferring the root filesystem to a ramdisk?
> > in an attempt to save power on FreeBSD servers, I'm > > trying to replace the hdd with a ramdisk. The idea is to: > > > > 1. boot from the hdd (or netboot from an NFS server) > > 2. configure a ram disk (md(4)) > > 3. copy everything that's needed to ram disk > > 4. transfer kernel root to ramdisk (*) > > 5. turn off the hdd (**) > > > > (*) is the hairy question. > > (**) How can that be done? > > I'm probably in over my head here, but; > chroot should change the root filesystem for you. > (look in the manpages for more details) Nope, chroot(2) affects only the calling process, not the whole system. > As for powering down the hdd I did find a page for this, > but havent had time to play with it yet: > http://www.cran.org.uk/bruce/software.php ATAidle is great. Just tried it successfully on a 5.2-RELEASE with two drives. powering down the inactive drive (not the one with swap and root-fs) is possible this way. Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where am I supposed to put my rc.firewall?
Peder Blom wrote: I've never done it this way, but in this case I assume that you just define the rules in '/etc/ERICS_firewall', thus: -- add 100 pass all from any to any via lo0 add 200 deny all from any to 127.0.0.0/8 add 300 deny ip from 127.0.0.0/8 to any add 600 allow all from any to any -- Using your suggestions for rc.conf, of course. Is this correct? Exactly. And then you add a preprocessor like cpp, and you can define: # set these to your inside interface network and netmask and ip #define IIF fxp0 #define INET 10.1.1.0/24 #define IIP 10.1.1.1 [ ...OIF info snipped... ] # port number ranges #define LOPORTS 1-1023 #define HIPORTS 1024-65535 # basic stuff add 100 pass all from any to any via lo0 add deny all from any to 127.0.0.0/8 add deny ip from 127.0.0.0/8 to any add deny all from INET to any in via OIF add deny all from ONET to any in via IIF ...and go from there. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: most used programs
On 01/31/04 01:07 PM, paul sat at the `puter and typed: > Was wondering what everyones most used programs are or programs you just > can't live without ( just looking for some new toys to play with) > Best regards > -Paul Mutt, vim, xterm, gkrellm. Oh, and of course, fvwm2. -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ It's not hard to admit errors that are [only] cosmetically wrong. -- J.K. Galbraith ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: most used programs
in message <[EMAIL PROTECTED]>, wrote paul thusly... > > Was wondering what everyones most used programs are or programs > you just can't live without ( just looking for some new toys to > play with) To perpetuate a useless thread, i cannot live w/o ... acroread5, asapm, awk, bash2, bitstream vera & screen fonts, bogofilter, dict, egrep, enscript, fetchmail, fvwm2, gimp, grpn, gv, less, mozilla, mutt, netscape, perl, procmail, rclock, sed, slrn, ssh, tee, tetex/latex, vim6, w3m, wmcliphist, xclip, XFree86, xlockmore, xv and others. - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: asking for help
Hi Bogdan, On Sat, 31 Jan 2004 07:46:47 -0800 (PST) faina bogdan <[EMAIL PROTECTED]> wrote: Hello, my name is Bogdan Faina and I wote you a couple oof times regarding to the HDF5 instalation. I read the notes abot this matter and I tried to install first only the precompiled binaries for freebsd_4.9 but I've fount out that in the ports packages exists the HD5 latest version available so I have updated the freebsd packages and then from ports I did >>. So that way the computer installed itself the Hdf5. Until here it,s all allright but I don't understand a thing: Why it is not included the fortran90 compiler h5fc. Please answer me this questions: How can I add the Fortran90 compiler to my actual Hdf5? What solution exists to this matter? How can I get some help regarding to the understanding how Hdf5 works? Can I get a mail adress from someone who uses Hdf5 and is available to explain to me how it works or if it is a forum for Hdf5 users? I'm a student at Physics and I need Hdf5 to complete my Bachelor Degree and to use it storing data from a program that simulates Crystals Growth. Thank you for your time and I can hardly wait to hear news from you. As far as I know, there is no native equivalent of the F90 compilers requested by hdf5's configure program. This is probably why it is disabled by default. (You can quickly hack graphics/hdf5/Makefile to include the cofigure option '--enable-fortran' to check this.) I know no fortran, so I can't really verify what's f77 versus f90, but I've read comments stating that 'f77 -ff90' should compile f90 programs. (No verification and hacking it directly into the configure program didn't work.) So far, I was unable to find a free source code distribution for a f90 compiler, though I imagine it exists somewhere. There are a number of linux native f90 compilers, but I'm not sure on run-ability or quality of such a thing. (One I found: http://www.intel.com/software/products/compilers/downloads/forlin.htm ) Maybe some of the others here can suggest an appropriate program... (Have homework to do, otherwise, I'd try some more; maybe later...) About your general questions, and all, try the site listed in the pkg-descr: http://hdf.ncsa.uiuc.edu/HDF5/ Hope you get it working, Clayton PS. Please try to break lines at around 80 char.s in the future (standard for this list). _ Find high-speed net deals comparison-shop your local providers here. https://broadband.msn.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Xheretic - broken pipe???
I have ported heretic on my FreeBSD. It's running, but when it's loading - it gives me an error bash-2.05b$ ./xheretic ==== == HERETIC v1.0.4 == ==== == for GGI, X11, SDL and SVGAlib == == works on == == x86, m68k, Alpha and Netwinder-systems== == under Linux, FreeBSD, SCO-Unix (tested) == ==== == Heretic was ported to LINUX by Andre Werthmann == ==== ==You can download the latest versions under: == == http://heretic.linuxgames.com== ==== ==== == Press Return to go on.== ==== Using homedirectory for savegames: /home/fire/.heretic/ Full-version HereticWAD not found ! defaulting to shareware WAD... V_Init: allocate screens. M_LoadDefaults: Load system defaults. opening basedefault: /home/fire/.heretic/heretic.cfg Z_Init: Init zone memory allocation daemon. W_Init: Init WADfiles. adding heretic_share.wad MN_Init: Init menu system. R_Init: Init Heretic refresh daemon. Loading graphics [...] P_Init: Init Playloop state. Init game engine. I_Init: Setting up machine state. Could not start music server [musserver] D_CheckNetGame: Checking network game status. Checking network game status. startskill 2 deathmatch: 0 startmap: 1 startepisode: 1 player 1 of 1 (1 nodes) S_Init: Setting up sound. SB_Init: Loading patches. I_InitGraphics: using 16bit truecolor visual Using MITSHM extension shared memory id=1245185, addr=0x30048000 Could not open /dev/dsp ioctl(dsp,-1073459190,arg) failed errno=9 Broken pipe - Best regards, Alex Zivenko [EMAIL PROTECTED] www.netgen.com.ua ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
quota! but on the wrong fs :-(
Hi, Got quota working on another web server and wanted to get it working on a development/shell server that is kinda new. I forgot that i needed /home mounted on it's own like /dev/ar0s4e /usr/home ufs rw,userquota2 2 for example but i just have / mounted so now quota is set on /. How can i fix this? Med vänliga hälsningar Stefan Midjich, Swebase AB Tel: 042-20 15 00 Fax: 042-20 15 03 E-post: [EMAIL PROTECTED] Webb: http://swebase.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Redirect text from stdout to a variable?
At 05:27 1/31/2004, Quintin Riis wrote: >In Bourne shell: > >blah=$(something | something) >blah2=`blah -K 2 -z` > > Quintin Thanks, Quintin! My problem is that when I try to do something like that, I get something like this: Cannot execute using backquotes in safe mode Any other ideas? > >W. D. wrote: >> Hey folks, >> >> Is it possible to redirect text from stdout to a variable? >> >> I do something like this and get the output on the screen: >> >> echo "Some Text to be Encrypted" | /usr/local/bin/gpg -a --always-trust >--batch --no-secmem-warning -e -u "GPG Tester " -r >"[EMAIL PROTECTED]" >> >> >> >> Most sites advise to do something like this if using PHP: >> >> $cmd = "echo $msg | $gpg --batch --no-secmem-warn --armor --home $home_dir \ >> -u $fm --default-key $fm -r $to --encrypt --sign"; >> >> $message_body = `$cmd`; >> >> mail($to,'Web Site Order',$message_body); >> >> However, "safe mode" is on, and won't let me do it. Any ideas? >> >> >> >> Start Here to Find It Fast! -> http://www.US-Webmasters.com/best-start-page/ >> >> ___ >> [EMAIL PROTECTED] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "[EMAIL PROTECTED]" >> >> >> > >___ >[EMAIL PROTECTED] mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Start Here to Find It Fast! -> http://www.US-Webmasters.com/best-start-page/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: about logo
On Thu, Jan 29, 2004 at 10:56:05PM -0800, Bubble Gum wrote: > I just want to ask (i'm sorry if it's a silly > question),why freebsd logo use "devil" character? You might find the following link interesting: http://www.mckusick.com/beastie/index.html :P There was also a funny post on the list that started a flamewar back last year, something along the lines of 'why does freebsd support the devil?'. That post is here: http://marc.theaimsgroup.com/?l=freebsd-questions&m=105041991726712&w=2 Enjoy! -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: quota! but on the wrong fs :-(
On Sat, Jan 31, 2004 at 08:57:35PM +0100, [EMAIL PROTECTED] wrote: > Hi, > Got quota working on another web server and wanted to get it working on a > development/shell server that is kinda new. I forgot that i needed /home mounted on > it's own like > /dev/ar0s4e /usr/home ufs rw,userquota2 2 > for example but i just have / mounted so now quota is set on /. > How can i fix this? You'll have to set up quotas again from scratch on the new partition -- you can't make the quotas on the root partition extend to cover /usr/home. It may be possible to script copying the actual file and byte limits from what you've setup on the root and copy them into /usr/home. Turning off quotas on the root partition is pretty simple -- just edit /etc/fstab to take out the 'userquota' mount flags, remount the root partition: # mount -u / and then delete the quota.user file. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
"scroll lock" vs "shift page up" keys usage
Hi, (fbsd novice using bash2) I switched from csh to bash2 today. I was wondering if it is possible under bash2 to scroll the screens in the ttyv0-6 consoles with "shift page up" and "shift page down". In csh I've always used "Scroll lock" but I thought under bash it is possible. When under X with xterm you can browse the screens with "shift page up" and "shift page down". In some linux distros that uses bash "shift page down and up" are a normal feature. Is this a shell feature, you have to activate in your bash_profile/bashrc file or is this a freebsd syscons driver limitation? many thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "scroll lock" vs "shift page up" keys usage
On Saturday 31 January 2004 21:29, Didier Wiroth wrote: > Hi, > (fbsd novice using bash2) > I switched from csh to bash2 today. > > I was wondering if it is possible under bash2 to scroll the screens in the > ttyv0-6 consoles with "shift page up" and "shift page down". In csh I've > always used "Scroll lock" but I thought under bash it is possible. This is not a matter of the shell but the console. You can use PCVT to achieve that, but why do you want to? Personally speaking, I love the SC console with the scroll Feature!!! -Harry > > When under X with xterm you can browse the screens with "shift page up" and > "shift page down". > > In some linux distros that uses bash "shift page down and up" are a normal > feature. Is this a shell feature, you have to activate in your > bash_profile/bashrc file or is this a freebsd syscons driver limitation? > > many thanks > > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgp0.pgp Description: signature
Re: where am I supposed to put my rc.firewall?
Jack L. Stone wrote: At 02:04 PM 1.31.2004 -0500, Chuck Swiger wrote: # set these to your inside interface network and netmask and ip #define IIF fxp0 #define INET 10.1.1.0/24 #define IIP 10.1.1.1 [ ...OIF info snipped... ] # port number ranges #define LOPORTS 1-1023 #define HIPORTS 1024-65535 A simple example would be: # dynamic rules add check-state # permit some services inbound... add pass tcp from any HIPORTS to INET 22,80,143,443,993,3128 setup keep-state # ...but block most other services (ie, ones with root privs) add deny tcp from any to INET LOPORTS For a more complicated example, where PI is a mailserver which performs virus scanning and spamfiltering, PONG is an internal reader box: INET ---> [FW1] <--DMZ + Mailserver PI--> [FW2] <--Internal subnet + PONG> # on FW1: add pass tcp from PI HIPORTS to any 25 add pass tcp from any 25 to PI HIPORTS established add pass tcp from any HIPORTS to PI 25 add pass tcp from PI 25 to OIP HIPORTS established add unreach filter-prohib log tcp from any to INET 25 # on FW2: # permit SMTP exchange between pi and pong/fw add pass tcp from PI HIPORTS to PONG 25 add pass tcp from PONG 25 to PI HIPORTS established add pass tcp from PONG HIPORTS to PI 25 add pass tcp from PI 25 to PONG HIPORTS established [ ... ] # track SMTP from inside to outside and block SMTP from outside add pass log logamount 20 tcp from INET HIPORTS to any 25 setup add pass tcp from INET HIPORTS to any 25 established add pass tcp from any 25 to INET HIPORTS established -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xheretic - broken pipe???
On Tue, Jan 27, 2004 at 09:30:51AM +0200, Alex Zivenko wrote: > I have ported heretic on my FreeBSD. It's running, but when it's loading - > it gives me an error > bash-2.05b$ ./xheretic > S_Init: Setting up sound. > SB_Init: Loading patches. > I_InitGraphics: using 16bit truecolor visual > Using MITSHM extension > shared memory id=1245185, addr=0x30048000 > Could not open /dev/dsp > ioctl(dsp,-1073459190,arg) failed > errno=9 > Broken pipe And what happens if you disable sound? Sorry, I don't know how to disable sound with xheretic, but my experience with other games is that they might fail to start when sound cannot be started. Karel. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portsdb -U fails
On Fri, Jan 30, 2004 at 01:28:26PM -0800, Kris Kennaway wrote: > On Fri, Jan 30, 2004 at 08:51:43PM +0100, r t g tan wrote: > > Hi, > > > > Have done at least the following: > > 1 - fresh ports cvsup for all the ports > > 2 - rm /var/db/pkg/pkgdb.db > > 3 - pkgdb -F > > > > However portsdb -U fails and generates a lot of > > error messages like the following: > > > >*** Error code 2: malformed entry: *** Error code 2 > >*** Error code 2: malformed entry: *** Error code 2 > >*** Error code 2: malformed entry: *** Error code 2 > >cd: can't cd to wmthemeinstall: malformed entry: cd: can't cd to wmthemeinstall > >cd: can't cd to wmx: malformed entry: cd: can't cd to wmx > >cd: can't cd to xfce: malformed entry: cd: can't cd to xfce > > > > What is corrupted, and how can I fix this? > > portsdb -U is broken - I sent mail to the author the other day, but > didn't receive a reply yet. In the meantime, you can edit > /usr/local/sbin/make_describe_pass1 and change the 'make -j3' to > 'make'. > > Kris Hi Kris, The following line from /usr/local/sbin/make_describe_pass1: open("|cd #{dir} && make -k -j3 -f -", 'w') do |w| I changed to: open("|cd #{dir} && make -", 'w') do |w| now portsdb -U is running for quite some time. I have no idea what it is doing though. robert pgp0.pgp Description: PGP signature
Building a custom release, not working
I'm starting down the road of creating a firewall appliance using FreeBSD. An automated, hands off installation is a key component of this. I have to start somewhere and figured I would start with building my own "release". Using that as an exercise to become familiar with how the process works and then start to customize the install and subsequent image that is put down on the disk. I printed off the FreeBSD Release Engineering document and read through it. I then proceeded to create a local copy of the CVS tree. -bash-2.05b$ cat cvs-supfile |grep -v ^# *default host=cvsup16.us.FreeBSD.org *default base=/home/cms/usr *default prefix=/home/cms/cvs_root *default release=cvs *default delete use-rel-suffix *default compress src-all ports-all doc-all cvsroot-all -bash-2.05b$ cvsup cvs-supfile When completed a du -sh shows 2.0GB. Then as root I tried the following # cd /usr/src/release # make release CHROOTDIR=/home/cms/chroot/release BUILDNAME=4.9-RELEASE-CMS CVSROOT=/home/cms/cvs_root/ RELEASETAG=RELENG_4_9_0_RELEASE rm -rf /home/cms/chroot/release 2>/dev/null *** Error code 1 (ignored) chflags -R noschg /home/cms/chroot/release/. rm -rf /home/cms/chroot/release mkdir -p /home/cms/chroot/release >>> make release for i386 started on Sat Jan 31 17:46:37 GMT 2004 cd /usr/src/release/.. && make TARGET_ARCH=i386 TARGET=i386 -DNOGAMES -DNOHTML -DNOINFO -DNOMAN -DNOPROFILE installworld DESTDIR=/home/cms/chroot/release mkdir -p /tmp/install.34499 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.34499; done <..snip..> install -s -o root -g wheel -m 444 libcrypto.so.3 /home/cms/chroot/release/usr/lib ln -fs libcrypto.so.3 /home/cms/chroot/release/usr/lib/libcrypto.so mkdir -p openssl cp /usr/src/secure/lib/libcrypto/../../lib/libcrypto/opensslconf-i386.h openssl/opensslconf.h cp:No such file or directory *** Error code 1 Stop in /usr/src/secure/lib/libcrypto. *** Error code 1 Stop in /usr/src/secure/lib. *** Error code 1 Stop in /usr/src/secure. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src/release. I am trying to do this on a 4.9-STABLE box. Is there something basic that I've done wrong here? Thank you, Chad
Re: Mouse Wheel in X
On Saturday 31 January 2004 18:49, Jammet wrote: > Im running 4.9 right now, and i have a Logitech Trackman for a mouse. My > current XFree86Config file looks like this with the mouse section > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Device" "/dev/sysmouse" > Option "Protocol" "Auto" > Option "ZAxisMapping" "4 5" I got my wheel working with only those three options. I guess that you don't need to add the other two. Cheers, Jorn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Memory leak on 5.1-RELEASE?
Here's the top output from this morning: Mem: 1300M Active, 292M Inact, 295M Wired, 104M Cache, 112M Buf, 5116K Free Swap: 1024M Total, 8036K Used, 1016M Free At this time there are ~130 processes, whereas in the previous one there were ~76, with more memory marked as "Active". vmstat says this: procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr da0 ac0 in sy cs us sy id 0 0 1 848048 100880 937 113 23 0 1503 248 0 0 26780 8211 2 4 95 0 0 1 830192 110484 340 4 1 0 2719 0 1 0 25740 5917 1 5 93 avm is supposed to be the number of active virtual pages. The page size being 4096, according to hw.pagesize, would actually come up to around 3.4GB. I'm not sure what this number refers to - maybe it's memory + swap? The whole reason I'm bringing this up with the list is that, ultimately, this is causing the machine to crash, after running out of swap. If I could identify where this Active memory has gone, I may be able to recover the "lost" memory and prevent the server from swapping itself to death. Here's the ps -ax output - note that nfsd is running, but it's not being used. It does have an NFS client mounted, but from "vmstat -m", it isn't using any memory at all (and it would be in Buf I think?) PID TT STAT TIME COMMAND 0 ?? DLs0:00.82 (swapper) 0 ?? ZW 0:00.00 (httpd) 1 ?? ILs0:00.08 /sbin/init -- 2 ?? DL 0:13.59 (g_event) 3 ?? DL 3:41.95 (g_up) 4 ?? DL 4:56.15 (g_down) 5 ?? DL 1:41.88 (pagedaemon) 6 ?? DL 0:00.00 (vmdaemon) 7 ?? DL16:25.54 (pagezero) 8 ?? DL 2:07.11 (bufdaemon) 9 ?? DL 0:01.51 (vnlru) 10 ?? DL 0:00.00 (ktrace) 11 ?? RL 0:00.00 (idle: cpu3) 12 ?? RL 5037:43.41 (idle: cpu2) 13 ?? RL 0:00.00 (idle: cpu1) 14 ?? RL 4281:37.99 (idle: cpu0) 15 ?? WL 127:48.20 (swi1: net) 16 ?? WL 6:02.49 (swi7: tty:sio clock) 18 ?? DL 1:26.21 (random) 20 ?? WL 1:39.12 (swi3: cambio) 23 ?? WL 0:00.00 (irq14: ata0) 26 ?? DL 0:00.02 (usb0) 27 ?? DL 0:00.00 (usbtask) 30 ?? WL 2:13.96 (irq16: ahc0) 31 ?? WL 0:00.00 (irq17: ahc1) 32 ?? WL58:17.09 (irq18: em0) 33 ?? WL 0:00.00 (irq1: atkbd0) 34 ?? WL 0:00.00 (irq6: fdc0) 35 ?? WL 0:00.00 (swi0: tty:sio) 40 ?? DL13:22.17 (syncer) 41 ?? IL 3:06.26 (nfsiod 0) 42 ?? IL 2:47.50 (nfsiod 1) 43 ?? IL 2:28.19 (nfsiod 2) 44 ?? IL 3:37.52 (nfsiod 3) 148 ?? Is 0:00.00 adjkerntz -i 257 ?? Ss 0:02.08 /usr/sbin/syslogd -s 352 ?? Ss 0:00.25 /usr/sbin/rpcbind 375 ?? Is 0:00.01 /usr/sbin/mountd -r 377 ?? Is 0:00.02 nfsd: master (nfsd) 380 ?? I 0:00.00 nfsd: server (nfsd) 381 ?? I 0:00.00 nfsd: server (nfsd) 382 ?? I 0:00.00 nfsd: server (nfsd) 383 ?? I 0:00.00 nfsd: server (nfsd) 394 ?? Ss 0:00.35 /usr/sbin/usbd 443 ?? Is 0:02.00 /usr/sbin/sshd -u0 449 ?? Ss 0:06.17 sendmail: accepting connections (sendmail) 452 ?? Is 0:00.13 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/client 466 ?? Is 0:01.25 /usr/sbin/cron 829 ?? Ss 0:02.75 proftpd: (accepting connections) (proftpd) 855 ?? Is 0:00.00 /usr/sbin/inetd -wW 21727 ?? Ss 2:11.11 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 31784 ?? S 0:00.23 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 52298 ?? S 0:00.13 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 52989 ?? S 0:00.18 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 53224 ?? S 0:00.11 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 54180 ?? S 0:00.18 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 54282 ?? S 0:00.13 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 54310 ?? S 0:00.13 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 55563 ?? S 0:00.11 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 55970 ?? S 0:00.16 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56261 ?? S 0:00.13 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56369 ?? S 0:00.10 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56422 ?? S 0:00.04 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56424 ?? S 0:00.18 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56465 ?? S 0:00.11 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56491 ?? S 0:00.17 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56523 ?? S 0:00.12 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56575 ?? Rs 0:00.07 sshd: [EMAIL PROTECTED] (sshd) 56606 ?? S 0:00.33 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56617 ?? S
Re: Booting Release 5.2 and XP
On Fri, 30 Jan 2004 14:09:49 -0600, greg <[EMAIL PROTECTED]> wrote: On Fri, 2004-01-30 at 08:48, Mark Phillips wrote: [... snip ...] Hi Greg, I've just rebooted back into SUSE from FreeBSD. I use Grub to boot them both, and Win2k (for how often it gets used, I might as well dump it ;-)) I can safely say even with UFS2 on 5.2, I can boot with There is no issue booting kernels on a UFS2 with GRUB. The issue is that GRUB needs to be installed somewhere. There is more to GRUB than the 512 bytes on the MBR. It needs to read config files off of a filesystem. Where are your config files? are they on a UFS2 filesystem? Or are they on your ext2 file systems? If you have have managed to get a GRUB to read it's config files off of UFS2, let me know, and I will research that area. AFAIK, grub can not read it's config files off of UFS2 filesystem. BootIt, which I used for a long time, works quite nicely and automagically; so does GAG, and GAG is - not Windows-dependent, for those who care about such things - free as in beer *and* speech, for those who care about such things :) It also works great - I'm running 5 OSs (including -CURRENT on UFS2) on a 3-drive system (2 in RAID-0, one standalone), and GAG has never had the slightest trouble. http://gag.sourceforge.net/> Enjoy. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.2: How do I automatically restart twm with the Default session?
This is the twm that comes with 5.2. These problems occured when I was not using a ~/.twmrc or ~/.xsession. I found that there is some problem with xsm restarting twm within a session. I tried everything I could think of but twm always dumps core when its restarted by xsm. Twm only works correctly when a Fail Safe session is started by xsm. I figured out how to eliminate the session dialog after I logged in by adding "xsm -session Default" in my .xsession, but when twm dumps core, it leaves the session locked, and that prevents me from subsequently automatically logging into the Default session. I ended up just running twm from my .xsession and not using xsm at all. It seems to work fine. If anyone has a workaround for these problems, let me know. Thanks. Original Message Follows From: Lowell Gilbert <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "Anthony Discolo" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: FreeBSD 5.2: How do I automatically restart twm with the Default session? Date: 31 Jan 2004 12:28:47 -0500 "Anthony Discolo" <[EMAIL PROTECTED]> writes: > Everytime I log in twm asks me to load the Default session. Is there > any way I can have it automatically load it (maybe something in the > ~/.twmrc)? > > I've also run into problems with reloading the Default session. > Sometimes twm dumps core. If I load the Fail Safe session, it seems > to work fine. Is this actually twm as installed from the base X packages? Are you starting it from xdm(1) or startx(1)? What does your .xsession or .xinitrc look like? Does removing your personal .twmrc have any effect? _ Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MBR problem
Kjell B. wrote: Kjell B. wrote: I just installed FreeBSD 5.2-RELEASE (using the mini-install CD) on my laptop which already had Win XP Home + Win XP Pro on it. During partition definition I chose not to touch the MBR. (I wanted to make use of Windows boot.ini for booting into FreeBSD.) Nevertheless, whenever I boot I get directly to the FreeBSD boot menu where there's no option to boot Windows. disk layout: ad0s1: 31 MB DELL slice ad0s2: 8001 MB Windows XP Home slice ad0s3: 8510 MB extended DOS slice with three logical Win partitions (one of them Windows XP Professional) ad0s4: 2533 MB FreeBSD slice I tried to restore the MBR using fixmbr from Windows Recovery Console. It doesn't help. I claims it has overwritten the file, but I still get directly into FreeBSD at boot. I've tried setting ad0s2 and ad0s4 as bootable and then writing changes (W) in FDISK partition editor in sysinstall. At the following choice of MBR, I choose 'Install the FreeBSD Boot Manager'. I then get "ERROR: Unable to write data to disk ad0!" followed by "Disk partition write returned an error status!". The same result also if I choose 'Standard' or 'None' in the MBR choice menu. (Another weird thing in sysinstall -> fdisk: Positioning the cursor on any of the slices and hitting F1 yields "Sorry! The slice file is not provided on this particular floppy image". This indicates to me that something is wrong with my installation, but what?) Any hints on ways out of this? Another question: In 5.2 there are two sysinstalls - /stand/sysinstall and /usr/local/sbin/sysinstall whereas in 4.8 I only find /stand/sysinstall. Which one should I use with 5.2 and what's the difference between them? OK, I did find a hint Googling a little more. Apparently GEOM prevents me from using sysinstall on the installation for changing MBR. I need to use the install CD and run sysinstall from there. Then I could do the change of MBR and got the standard FreeBSD boot manager. I now can boot Win XP or FreeBSD using the standard FreeBSD boot manager. What remains is to get rid of that and use Windows boot.ini for choosing between Win XP and FreeBSD, i.e. overwrite the MBR using fixmbr. Hello, I have use to do this with win2k. The trick I used to boot into windows was to used fdisk -a from freebsd and switch the active partition to the one I wanted to boot. Then to get back to freebsd I would use the manage disk volumes(?) for win2k to set the freebsd partition active and reboot. -- -Ryan Merrick [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Power off
Hi. I used to run poweroff on RH Linux. Now I'm under FreeBSD 4.9 and I can't turn power off - I have to push button by my hand after running halt that prints that system has halted and ready to reboot. Is there any way to turn power off by software? Please. Yuri (CC to my email) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS exports and netgroups
Hi, I cant seem to find a good example of an NFS exports file for freebsd that uses a netgroup to restrict mount access to a group of machines. Can anyone shoot me a netgroup example file I could look at? Ideally, the example would allow rw access to both a netgroup and an IP range like: /export/project1cluster1 192.168.220.0/24 so machines in cluster1 netgroup and any machine on the 192.168.220.* network would be allowed to NFS mount. Thanks in advance, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building a custom release, not working
On Jan 31, 2004, at 3:06 PM, Chad M Stewart wrote: I'm starting down the road of creating a firewall appliance using FreeBSD. An automated, hands off installation is a key component of this. I have to start somewhere and figured I would start with building my own "release". Using that as an exercise to become familiar with how the process works and then start to customize the install and subsequent image that is put down on the disk. Thank you, Chad I've never tried what you're doing though I've thought about it many times so I don't think I'll be much help on the specifics. But during one of my many times of searching the web for just such a thing I came across this fellows website and seems to be very well documented and up to date. http://neon1.net/misc/minibsd.html Also this project may be of some interest to you too. http://m0n0.ch/wall/ Both are intended to be used with this hardware but also can be customized with any "regular" computer too. http://www.soekris.com/ Hope this helps. Cheers, Luke ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SSL Security
I'd like to know how to generate the key I need to request an SSL certificate from Thawte for my FreeBSD web server. Can you tell me where I can find this information? Thanks! Pierre LeBlanc, Directeur Développement [EMAIL PROTECTED] Nexus Interactive Studios Inc. http://www.nexus-is.qc.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Power off
On Saturday 31 January 2004 23:36, Yuri Grebenkin wrote: > Hi. I used to run poweroff on RH Linux. Now I'm under FreeBSD 4.9 and I > can't turn power off - I have to push button by my hand after running halt > that prints that system has halted and ready to reboot. Is there any way > to turn power off by software? halt -p -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
Re: Power off
Yuri Grebenkin <[EMAIL PROTECTED]> writes: > Hi. I used to run poweroff on RH Linux. Now I'm under FreeBSD 4.9 and > I can't turn power off - I have to push button by my hand after > running halt that prints that system has halted and ready to > reboot. Is there any way to turn power off by software? Sure. 'shutdown -p now' will do it, assuming you have apm(4) in your kernel. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
What hostname should I set?
Hi. I am a full time FreeBSD user at home and all I need from networking is dialup via modem to my ISP. I get my IP dynamically and thus it may vary from call to call. I have migrated to FreeBSD from RH Linux some time ago. RH installation procedure sets hostname and domain as 'localhost' and 'localdomain'. Under FreeBSD there is no default value of hostname. So I've tryed to set it to something like 'me_at_home' or didn't touch it at all. In last case there was some troubles, but they were not critical. So... I wonder what hostname an average user at home should set? I use 4.9-RELEASE. Thank you! (please CC to my email) Yuri ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building a custom release, not working
On Saturday 31 January 2004 22:06, Chad M Stewart wrote: > I printed off the FreeBSD Release Engineering document and read through > it. I then proceeded to create a local copy of the CVS tree. And did you checkout /usr/src with that local copy? And did you do a make buildworld, to populate /usr/obj with the output of that new tree. ie: cd /usr mv src src.old cvs -d/home/cms/cvs_root co -r RELENG_4_9 src cd src make buildworld # might be sensible to do, not strictly necessary: # make buildkernel KERNCONF=YOUR_KERNEL # make installkernel KERNCONF=YOUR_KERNEL # reboot # make installworld # mergemaster cd release make release options... -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
Re: NFS performances on 5.1
On Saturday 31 January 2004 19:03, Harald Schmalzbauer wrote: > On Saturday 31 January 2004 17:11, Melvyn Sopacua wrote: > > Did you read the notes in src/UPDATING saying: > > NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: > > Could you pleas explain that numbers? No, because you also failed to mention if you've read that section and disabled WITNESS and so on. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
Re: Memory leak on 5.1-RELEASE?
How large are you MySQL databases? I suppose a large and intensly-used database eats away quite some RAM. What services is the inetd giving? You can disable some of your shells by editing the /etc/ttys file, saves some RAM as well, but it won't really make a difference when you have such a large amount of RAM in your machine. You should really try to disable some unnessesairy services. If it isn't a production box, then I'd say you kill the services one at a time and bring them back up again, so you can see what is eating away all your RAM. It could be that top is just giving wrong information though, but I can't be certain of that. If your machine is just running the required processes and top still says you're using much RAM, you can try to compile the kernel / world by yourself. This can improve performance and reducing the required RAM needed by the kernel (support for several RAID and SCSI controllers which you don't need). Of course, this isn't possible if it's a production box. Cheers, Jorn. On Saturday 31 January 2004 23:04, you wrote: > Here's the top output from this morning: > > Mem: 1300M Active, 292M Inact, 295M Wired, 104M Cache, 112M Buf, 5116K Free > Swap: 1024M Total, 8036K Used, 1016M Free > > At this time there are ~130 processes, whereas in the previous one > there were ~76, with more memory marked as "Active". vmstat says this: > > procs memory pagedisks faults cpu > r b w avmfre flt re pi po fr sr da0 ac0 in sy cs us sy > id 0 0 1 848048 100880 937 113 23 0 1503 248 0 0 26780 8211 2 > 4 95 0 0 1 830192 110484 340 4 1 0 2719 0 1 0 25740 5917 > 1 5 93 > > avm is supposed to be the number of active virtual pages. The page size > being 4096, according to hw.pagesize, would actually come up to around > 3.4GB. I'm not sure what this number refers to - maybe it's memory + swap? > > The whole reason I'm bringing this up with the list is that, ultimately, > this is causing the machine to crash, after running out of swap. If I > could identify where this Active memory has gone, I may be able to recover > the "lost" memory and prevent the server from swapping itself to death. > > Here's the ps -ax output - note that nfsd is running, but it's not being > used. It does have an NFS client mounted, but from "vmstat -m", it isn't > using any memory at all (and it would be in Buf I think?) > > PID TT STAT TIME COMMAND > 0 ?? DLs0:00.82 (swapper) > 0 ?? ZW 0:00.00 (httpd) > 1 ?? ILs0:00.08 /sbin/init -- > 2 ?? DL 0:13.59 (g_event) > 3 ?? DL 3:41.95 (g_up) > 4 ?? DL 4:56.15 (g_down) > 5 ?? DL 1:41.88 (pagedaemon) > 6 ?? DL 0:00.00 (vmdaemon) > 7 ?? DL16:25.54 (pagezero) > 8 ?? DL 2:07.11 (bufdaemon) > 9 ?? DL 0:01.51 (vnlru) >10 ?? DL 0:00.00 (ktrace) >11 ?? RL 0:00.00 (idle: cpu3) >12 ?? RL 5037:43.41 (idle: cpu2) >13 ?? RL 0:00.00 (idle: cpu1) >14 ?? RL 4281:37.99 (idle: cpu0) >15 ?? WL 127:48.20 (swi1: net) >16 ?? WL 6:02.49 (swi7: tty:sio clock) >18 ?? DL 1:26.21 (random) >20 ?? WL 1:39.12 (swi3: cambio) >23 ?? WL 0:00.00 (irq14: ata0) >26 ?? DL 0:00.02 (usb0) >27 ?? DL 0:00.00 (usbtask) >30 ?? WL 2:13.96 (irq16: ahc0) >31 ?? WL 0:00.00 (irq17: ahc1) >32 ?? WL58:17.09 (irq18: em0) >33 ?? WL 0:00.00 (irq1: atkbd0) >34 ?? WL 0:00.00 (irq6: fdc0) >35 ?? WL 0:00.00 (swi0: tty:sio) >40 ?? DL13:22.17 (syncer) >41 ?? IL 3:06.26 (nfsiod 0) >42 ?? IL 2:47.50 (nfsiod 1) >43 ?? IL 2:28.19 (nfsiod 2) >44 ?? IL 3:37.52 (nfsiod 3) > 148 ?? Is 0:00.00 adjkerntz -i > 257 ?? Ss 0:02.08 /usr/sbin/syslogd -s > 352 ?? Ss 0:00.25 /usr/sbin/rpcbind > 375 ?? Is 0:00.01 /usr/sbin/mountd -r > 377 ?? Is 0:00.02 nfsd: master (nfsd) > 380 ?? I 0:00.00 nfsd: server (nfsd) > 381 ?? I 0:00.00 nfsd: server (nfsd) > 382 ?? I 0:00.00 nfsd: server (nfsd) > 383 ?? I 0:00.00 nfsd: server (nfsd) > 394 ?? Ss 0:00.35 /usr/sbin/usbd > 443 ?? Is 0:02.00 /usr/sbin/sshd -u0 > 449 ?? Ss 0:06.17 sendmail: accepting connections (sendmail) > 452 ?? Is 0:00.13 sendmail: Queue [EMAIL PROTECTED]:30:00 for > /var/spool/client 466 ?? Is 0:01.25 /usr/sbin/cron > 829 ?? Ss 0:02.75 proftpd: (accepting connections) (proftpd) > 855 ?? Is 0:00.00 /usr/sbin/inetd -wW > 21727 ?? Ss 2:11.11 /usr/local/bin/httpd -f > /usr/local/www/server/conf/ht 31784 ?? S 0:00.23 > /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 52298 ?? S > 0:00.13 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 52989 ?? S > 0:00.18 /usr/local/b
Re: SSL Security
http://www.modssl.org/docs/2.8/ssl_faq.html#ToC28 Ken Bolingbroke [EMAIL PROTECTED] On Sat, 31 Jan 2004, Pierre Leblanc wrote: > > I'd like to know how to generate the key I need to request an SSL certificate > from Thawte for my FreeBSD web server. Can you tell me where I can find this > information? > > Thanks! > > > Pierre LeBlanc, Directeur Développement > [EMAIL PROTECTED] > Nexus Interactive Studios Inc. > http://www.nexus-is.qc.ca > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using the ATAPI/CAM Driver
On Saturday 31 January 2004 18:54, Jeff Elkins wrote: > > > I _can_ mount cds using the /dev/acd* devices, while using the /dev/cd* > > > devices for writing. Is this the way atapi cdrws are supposed to work > > > under freebsd? > > > > So, is cam compiled into the kernel? Do you have the xpt SCSI driver? > > If cam is configured correctly, there should be mentioning of cd0 > > in /var/run/dmesg.boot and the cd's should be listed via: > > > > camcontrol devlist > > kathix# camcontrol devlist > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 0 lun 1 (pass1,da1) > at scbus0 target 0 lun 2 (pass2,da2) > at scbus0 target 0 lun 3 (pass3,da3) > at scbus1 target 0 lun 0 (pass4,da4) > at scbus3 target 0 lun 0 (pass5,cd0) > at scbus3 target 1 lun 0 (pass6,cd1) > > > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 16.000MB/s transfers > > cd1 at ata1 bus 0 target 1 lun 0 > cd1: Removable CD-ROM SCSI-0 device > cd1: 16.000MB/s transfers Try getting rid of the DMI devices. As you can see above, the cd's claim bus0, while cam puts them on bus 3. Still a chance that the seagate overrides them though. If: cdrecord dev=3,0,0 yourfiles.iso works correctly, you might want to follow this up to -current or -hardware. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
Re: NFS performances on 5.1
On Sunday 01 February 2004 00:26, Melvyn Sopacua wrote: > On Saturday 31 January 2004 19:03, Harald Schmalzbauer wrote: > > On Saturday 31 January 2004 17:11, Melvyn Sopacua wrote: > > > Did you read the notes in src/UPDATING saying: > > > NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: > > > > Could you pleas explain that numbers? > > No, because you also failed to mention if you've read that section and > disabled WITNESS and so on. Ok, it was another thread where I mentioned that I'm tracking current for a long time, but of course I read it, I even can't remember when it was defaulted to be excluded. So I have code from today and I use similar generic options for today in my kernel. Btw, I replyed to the wrong posting, I asked Jacques Beigbeder to explain his numbers. And even with WITNESS and INVARIANTS in the kernel it would be poor performance since the difference is just about 10-20 percent. (last time I checked, which is a while ago) -Harry pgp0.pgp Description: signature
Re: Using the ATAPI/CAM Driver
On Saturday 31 January 2004 6:35 pm, Melvyn Sopacua wrote: >On Saturday 31 January 2004 18:54, Jeff Elkins wrote: >> > > I _can_ mount cds using the /dev/acd* devices, while using the >> > > /dev/cd* devices for writing. Is this the way atapi cdrws are >> > > supposed to work under freebsd? >> > >> > So, is cam compiled into the kernel? Do you have the xpt SCSI driver? >> > If cam is configured correctly, there should be mentioning of cd0 >> > in /var/run/dmesg.boot and the cd's should be listed via: >> > >> > camcontrol devlist >> >> kathix# camcontrol devlist >> at scbus0 target 0 lun 0 (pass0,da0) >> at scbus0 target 0 lun 1 (pass1,da1) >> at scbus0 target 0 lun 2 (pass2,da2) >> at scbus0 target 0 lun 3 (pass3,da3) >> at scbus1 target 0 lun 0 (pass4,da4) >> at scbus3 target 0 lun 0 (pass5,cd0) >> at scbus3 target 1 lun 0 (pass6,cd1) >> >> >> cd0 at ata1 bus 0 target 0 lun 0 >> cd0: Removable CD-ROM SCSI-0 device >> cd0: 16.000MB/s transfers >> >> cd1 at ata1 bus 0 target 1 lun 0 >> cd1: Removable CD-ROM SCSI-0 device >> cd1: 16.000MB/s transfers > >Try getting rid of the DMI devices. As you can see above, the cd's claim > bus0, while cam puts them on bus 3. Still a chance that the seagate > overrides them though. > >If: >cdrecord dev=3,0,0 yourfiles.iso > >works correctly, you might want to follow this up to -current or -hardware. Thanks. All recording functions work, both with cdrecord and growisofs. The only issue is being unable to mount with /dev/cd0, /dev/cd1. I realise that I'm in uncharted waters with 5.2, and I appreciate the reply. Jeff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Create a package index
Hi list! I'm creating a custom installation CD-ROM (4.9-R). I have downloaded a subset of the available packages, but the problem is: I don't know how to automatically create the index for them, and make the symlinks in the appropriate directories. Daniela ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"