Re: root email address
Rus Foster wrote: On Fri, 5 Dec 2003 [EMAIL PROTECTED] wrote: where do I set the email address for all messages sent to root? I'd like to have those sent to a remote email address. Hi, Edit /etc/aliases and run "newaliases" Rsu alternativly, add the e-mail address you want all the mail to go to to /root/.forward this will forward all of root's mail to that address. ~j -- "Yesterday upon the stair I saw a man who wasn't there, he wasn't there again today, oh how i wish he'd go away" Rev. Jonathan T. Sage Lighting / Set Designer Professional Web Design [HTTP://theatre.msu.edu] [EMAIL PROTECTED] [See Headers for Contact Info] pgp0.pgp Description: PGP signature
bootable cd/iso boot sector question
Hey all. I'm looking for a way to recreate a bootable CD from the original. I confess, it's a windows bootable - I'm trying to integrate SP4 to my original Win2K installer, and I have to recreate the iso with the original boot sector. The reason is that the only windows machine I'll suffer to run it has blown a gasket from the repeated updates and I'd like to catch it up without all the update installations. So, is there a way to extract the boot sector from a CD? Also, if anyone has any pointers on the mkisofs options, I'd appreciate a heads up. BTW, this is being done on FreeBSD 4.8 RELEASE (you think I'd trust my burner to Windoze?) Thanks. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Shick's Law: There is no problem a good miracle can't solve. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Conversion from 4.x to 5.x question
Typically under 4.x I would use the following commands at boot: /sbin/sysctl -w kern.ps_showallprocs=0 /sbin/sysctl -w net.inet.tcp.blackhole=2 /sbin/sysctl -w net.inet.udp.blackhole=1 5.1-RELEASE does not like these. How do I go making these changes under 5.x? Thanks. -- Jeffrey Lyon, Operations Manager [EMAIL PROTECTED] http://www.blccd.com Black Lotus Communications Corporation ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Controlling init on shutdown/reboot
Somewhere around the time of 12/02/2003 00:12, the world stopped and listened as Rob contributed this to humanity: > I haven't used ppp(8) - I prefer pppd(8) - so I'm not familiar with > ppp.linkdown.sh. If this is a shell script, there's a couple of things that > I've seen cause strange script behaviour: lack of default environment and > lack of TTY. This usually shows up in scripts that work fine at the command > line, but fail under other circumstances (such as crontabs). > > Does it take more than 2 minutes at the command line? > > Have you tried adding > > set -x > > at the start to see where it's failing? If it's called by rc.shutdown the > output should be to the console, but I'm not sure what ppp(8) does with > script output. > The script is called by ppp on a link down event. That is a link down for ANY reason, including a shutdown. The problem is that ppp doesn't differentiate on why the link went down, just that it went down. Now, when rc.shutdown executes, it writes a stop file to /tmp that ppp.linkdown.sh checks for. If it finds that file, then I have it do something alittle different. Does it take long to execute? Nope, it runs quite fast, which may be part of the problem. Because this is called from ppp and not rc.shutdown, init is killing it before it finishes because init thinks that it is not part of the system shutdown sequence. -- Daniel Rudy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2003/03/09 22:09:31 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to "[EMAIL PROTECTED]" with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]> Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to [EMAIL PROTECTED], and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies l
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
two questions,
I have two questions, the first regarding CVSup and cron jobs, the second about port upgrade. I've gotten cvsup working correctly. It is following 5_1_RELENG and "." for ports. I want to do a daily check using crontabs and have created one under root. However, my daily mail says that it can't find cvsup. IS this just a simple fix by putting in the full path or am I missing something? Second, I was following the portupgrade tutorial for upgrading your installed ports at onlamp. http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html I ran "portupgrade -arR" about 9pm on Thursday. It is now 5pm on Friday and it's STILL running. My box isn't the fastest on the block, but it is a Dual P2 300 (running SMP) with 256 megs of RAM and am running X , Apache2, and PHP aside from the standard setup/ I guess my question is more a concern in that I inadvertantly installed ALL the ports in the collection. Did I? Manning portupgrade, the -a says "upgrade all INSTALLED" with the "r"'s being forward and backwards recursive, but 20 hours? __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two questions,
Gary Lum wrote: I have two questions, the first regarding CVSup and cron jobs, the second about port upgrade. I've gotten cvsup working correctly. It is following 5_1_RELENG and "." for ports. I want to do a daily check using crontabs and have created one under root. However, my daily mail says that it can't find cvsup. IS this just a simple fix by putting in the full path or am I missing something? cron jobs generally need their PATH set explicitly, as I don't believe they source even /etc/profileso it's always a good idea to use explicit pathnames... Second, I was following the portupgrade tutorial for upgrading your installed ports at onlamp. http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html I ran "portupgrade -arR" about 9pm on Thursday. It is now 5pm on Friday and it's STILL running. My box isn't the fastest on the block, but it is a Dual P2 300 (running SMP) with 256 megs of RAM and am running X , Apache2, and PHP aside from the standard setup/ I guess my question is more a concern in that I inadvertantly installed ALL the ports in the collection. Did I? Manning portupgrade, the -a says "upgrade all INSTALLED" with the "r"'s being forward and backwards recursive, but 20 hours? Highly possible if you have software like X and OpenOffice installed Scott __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [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: Re:
Thanks guys! there were a ton of emacs files to choose from but I managed to "make install" the right one... I even got my freeBSD online with an IP! I feel so stupid with some of these questions... I edited the rcconf to log in with tcsh which is what I normally use and everything is lookin good thanks again, -Mark Hillis- (Netway Technical Support) www.Netway.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: protecting loader
I habitually put autoboot_delay="0" in /boot/loader.conf because I'm impatient. It doesn't stop me from booting into single-user mode - you just have to hit a key while loader(8) is spinning, before it starts the kernel. As far as I can tell, the options in /boot.config apply to boot2, which has its own command prompt. I occasionally interrupt that one by mistake, and get confused because it's nothing like loader. So if you want to tie down the boot process, you will probably need to use both files. - Original Message - From: "Dru" <[EMAIL PROTECTED]> Subject: Re: protecting loader > > > On Thu, 4 Dec 2003, Nathan Kinkade wrote: > > > On Thu, Dec 04, 2003 at 02:20:07PM -0500, Dru wrote: > > > > > > Is there a way to prevent a user from bypassing loader and > > > loading/unloading stuff at the OK prompt? (other than physical security > > > measures) > > > > > > I tried placing "/boot/loader -n" in "/boot.config", but it didn't make a > > > difference. > > > > > > Dru > > > > If I understand your question, you could put the following line in your > > /boot/loader.conf file: > > > > autoboot_delay="0" > > > > I think this will effectively prevent users from interrupting the loader > > to make changes. Just make sure that you have some other way to boot > > the system, such as a floppy, in case you later run into problems. > > > > Nathan > > -- > > gpg --keyserver pgp.mit.edu --recv-keys D8527E49 > > > Actually, I discovered that "password=somevalue" in /boot/loader.conf > filled the bill quite nicely :-) > > Dru > ___ > [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]"
Invalid Partition Error Message
Hi, I am trying to install FBSD 5.1. I have two hard-drives, both on the primary IDE controller, one as a master and one as a slave drive. Sysinstall went fine, but when I reboot, I get a Invalid Partition Table error message and I can't boot it. Here is my layout... Two 30GB drives. On drive one I have: / - 7GB swap - 1GB /home- 22GB Second drive: /PersonalFiles - 30GB What did I do wrong? As I recall Fbsd doesn't need a separate /boot partition like linux does. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two questions,
> I've gotten cvsup working correctly. It is following > 5_1_RELENG and "." for ports. I want to do a daily > check using crontabs and have created one under root. > However, my daily mail says that it can't find cvsup. > IS this just a simple fix by putting in the full path > or am I missing something? Yes, probably. Why don't you give it a shot? > Second, > I was following the portupgrade tutorial for > upgrading your installed ports at onlamp. > > http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html > > I ran "portupgrade -arR" about 9pm on Thursday. It is > now 5pm on Friday and it's STILL running. > My box isn't the fastest on the block, but it is a > Dual P2 300 (running SMP) with 256 megs of RAM and am > running X , Apache2, and PHP aside from the standard > setup/ > I guess my question is more a concern in that I > inadvertantly installed ALL the ports in the > collection. Did I? Manning portupgrade, the -a says > "upgrade all INSTALLED" with the "r"'s being forward > and backwards recursive, but 20 hours? Well, that depends which and how many ports you have installed on your box. I have a 400Mhz K6-III here, and updating Gnome 2.4 to 2.5 took me more that half a day of CPU-time (there were also some other ports that got updated). If you have a lot of ports installed of which quite a lot are outdated, it might indeed take a while until portupgrade is finished. You can post a list of installed ports if you are unsure. Just a guess: Are that your second CPU isn't idle? It is possible to have `make' execute multiple jobs simultaneously (with the -j parameter). To make this the default, you should add the following line to /etc/make.conf MAKE_ARGS=-j N where N is the number of (compilation, assembly, ...) jobs, that are started concurrently. For your dual processor system, I'd recommend N=2 or N=4 (having more processes than CPUs can speed up non-CPU bound, jobs given that your I/O system is fast enough). Simon signature.asc Description: Digital signature
ScreenSavers in KDE 3.0 under FreeBSD 5.1
kcontrol (the Control Center) doesn't seem to know where the xscreesavers are, and only gives me the choice to use BlankScreen. How does one inform KDE of where the screensavers reside? I know where they are... but don't know how to tell this to KDE. This has to be a common problem, but I'm not at all sure where to search for the answer. If there's a FAQ that has this in it, please point me in its direction. Thanks! -Lyman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two questions,
> Just a guess: Are that your second CPU isn't idle? ^ you sure I forgot to mention one thing: Some apps might not build correctly when using make's -j switch (due to bad makefiles and/or dependency information). Simon signature.asc Description: Digital signature
Re: two questions,
Simon Barner wrote: Just a guess: Are that your second CPU isn't idle? ^ you sure I forgot to mention one thing: Some apps might not build correctly when using make's -j switch (due to bad makefiles and/or dependency information). Simon It is also generally a very good idea to NOT use the -j switch when installing, particularly "make installworld" (last time i checked) ~j -- "Yesterday upon the stair I saw a man who wasn't there, he wasn't there again today, oh how i wish he'd go away" Rev. Jonathan T. Sage Lighting / Set Designer Professional Web Design [HTTP://theatre.msu.edu] [EMAIL PROTECTED] [See Headers for Contact Info] pgp0.pgp Description: PGP signature
Re: Realtek 8139 unstable?
On Fri, 5 Dec 2003 08:51:30 +0200 "Chris Visser" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm running FreeBSD 5.1, on a box with a Digi Sync 570 card and a > Realtek 8139 network card. > > The Machine runs fine, most of the time, but every now and again my > network card stops working for no reason. Rebooting the box fixes this > for a while, but the it starts again. > > I've tried replacing the card, but that didn't seem to solve the > problem. I've had the same thing happen... but mostly under heavy load. From reports I have heard from other ppl that use this card under FBSD and Windows, I am going to go with it is just a crappy card. Netgear has some good cheap cards out there that work with the dc driver. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 5.1 on Compaq EVO/Presario Notebook
Greetings, Has anyone had any experience running FreeBSD 5.1 on a Compaq Evo 800 or Presario 2800 Series Notebook with ACPI? Would appreciate any feedback possible. -- David - Unix Systems Administrator - Network and Systems Security File cabinet: A four drawer, manually activated trash compactor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Realtek 8139 unstable?
Vulpes Velox wrote: On Fri, 5 Dec 2003 08:51:30 +0200 "Chris Visser" <[EMAIL PROTECTED]> wrote: Hi, I'm running FreeBSD 5.1, on a box with a Digi Sync 570 card and a Realtek 8139 network card. The Machine runs fine, most of the time, but every now and again my network card stops working for no reason. Rebooting the box fixes this for a while, but the it starts again. I've tried replacing the card, but that didn't seem to solve the problem. I've had the same thing happen... but mostly under heavy load. From reports I have heard from other ppl that use this card under FBSD and Windows, I am going to go with it is just a crappy card. I've had the same experience with realtek cards. Some work wonderfully, full time, others are unreliable at best. My fix was to but a couple nice 3com cards (xl), i've never looked back. ~j -- "Yesterday upon the stair I saw a man who wasn't there, he wasn't there again today, oh how i wish he'd go away" Rev. Jonathan T. Sage Lighting / Set Designer Professional Web Design [HTTP://theatre.msu.edu] [EMAIL PROTECTED] [See Headers for Contact Info] pgp0.pgp Description: PGP signature
Re: ipfilter traffic blocking and tcpdump snort etc
On Fri, 5 Dec 2003 10:58:39 + Jez Hancock <[EMAIL PROTECTED]> wrote: > Hi Horio, > > Cheers for reply. > > On Fri, Dec 05, 2003 at 07:33:49PM +0900, horio shoichi wrote: > > On Fri, 5 Dec 2003 00:24:12 + > > Jez Hancock <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I've blocked a dozen or so addresses using ipfilter: > > > > > > block in quick on fxp0 from 208.186.60.116 to any > > > block in quick on fxp0 from 216.230.149.11 to any > > > > > > etc > > > > > > but I still see a lot of traffic those hosts in trafshow, snort and > > > other packet capturing utils. Why is this? > > > > You are probably seeing the supposedly blocked packets on the "outside" of > > network. Observe them on "inside", i.e., on the interface not fxp0. > Not sure what you mean here, what command would you issue via tcpdump or > snort to do what you suggest? Um, that's my bad assumption ! I thought your box is a filtering router, and has at least two interfaces. > > > What you are seeing are packets ipfilter is just about to handle. > Right - it's just I would have thought that ipfilter handled packets > before they reached any traffic dumping utils. I see what you're > getting at. Presumably snort for example uses the bpf driver via pcap(?) to > capture network traffic... > > actually reading bpf(4) clears things up a little: > > Associated with each open instance of a bpf file is a user-settable > packet filter. Whenever a packet is received by an interface, all file > descriptors listening on that interface apply their filter. Each > descriptor that accepts the packet receives its own copy. > The "log" keyword on blocking rules would have helped... > > > Is there any alternative method of blocking access from certain hosts > > > so that this traffic is not 'seen' by higher level /userland apps? > > I don't understand your second question. Are you thinking about tcp wrapper, > > reset feature of snort, etc ? > Let me rephrase that one :P I meant is there a method - for example > such as adding some kind of routing via arp - so that packets are > dropped on the floor even quicker than they would be via the firewall > method? In my observation, packet filters are the quickest since blocked packets die in ip_input(), below which is where ethernet interrupt handlers are laid out. horio shoichi > > -- > Jez Hancock > - System Administrator / PHP Developer > > http://munk.nu/ > ___ > [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: Networking Questions
Hello Bryan Cassidy, You might save yourself some trouble by buying a very cheap ready-to-go appliance router like the NR041 for $32.99 from Buy.com: http://www.buy.com/retail/product_jump.asp?sku=10329936&SearchEngine=ya&SearchTerm=10329936&Type=1103&Category=Comp&dcaid=17194 I carry one to client sites as it's no bigger than a standard 4 port hub. (I build and use my own FreeBSD gateways at home.) I think you might prefer using a dedicated device until you're more comfortable with networking. Sincerely, Richard Bejtlich http://taosecurity.com __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"