The FreeBSD Corporate Networker's Guide 42
TheFreeBSD Corporate Networker's Guide | |
author | Ted Mittelstaedt |
pages | 401 |
publisher | Addison Wesley |
rating | 6.5 |
reviewer | AilleCat |
ISBN | 0201704811 |
summary | A practical, security-conscious guide to connecting BSD machines with existing networks; has a bit of a Microsoft chip on its shoulder. |
It seems that the main purpose of the book is to describe how FreeBSD can be integrated into current network structures that include Microsoft clients and servers -- a very useful idea. The author describes step by step how this can be done, and in which particular situations.
Mittelstaedt places an emphasis on using SSH instead of telnet between machines, security layout, using BSD for firewalling, print serving, and even file serving using Samba. Overall, this book makes a very good tutorial for all of the above. He spends a good deal of the first quarter of the book helping new users through the installation process in order to get a functional FreeBSD machine.
When the book originally came into my hands, it was on the last proof. Some of the things I pointed out couldn't be changed before the print date. Although some people might disagree with me, there were several things which I thought would either date the book and/or were unnecessary.
The first issue was the misnaming of PHP in the book. Ted called it the "Perl Hypertext Preprocessor," but PHP originally stood for "Personal Home Pages." It has since been renamed "PHP: Hypertext Preprocessor," in a "GNU's Not UNIX" fashion. The author conceded that neither Perl nor PHP advocates would be very happy with this, and agreed to include it in the book's errata on its Web site. As of this review, the change to the errata still hasn't been made.
The second issue is that the book may become quickly outdated. Because the book is so specific about technical issues such as installation, etc., it may become dated before the next revision. This means it will likely have little use to those who may want to install FreeBSD 5.0 next year.
The last issue, and probably the one of biggest contention, is the last part of the book: more specifically, the last five or so pages. The author does a good job throughout the book describing how one could implement FreeBSD in a corporate environment, coexisting rather peacefully with Microsoft software, only to go on what I call a five-page, well thought-out rant on Microsoft's bad consumer policies and the horrible quality of its software.
While we may all agree, I don't particularly think this is the way to win people over to the Good Side of the Source. Personally, I believe in the "you catch more flies with honey than vinegar" approach, and I feel that those last five pages tear down everything the author had worked for in the first 380. I believe this leads to rabid OS advocates who end up doing more harm than good. For more thoughts on this, Wes Peters makes a good case for temperate advocacy in the January 2001 issue of Daemon News.
Still, the book is good overall, and I would recommend it to those needing a quick primer on how to get FreeBSD working in an existing environment, with the caveats I've mentioned.
You can purchase this book at Fatbrain.
Linux Drowns Out FreeBSD Documentation on the Web (Score:1)
After running Linux for over six years, I decided to install FreeBSD on my second hard disk to play with it. I've got plenty of Linux and general Unix experience, but there are still some fairly OS-specific issues that are nice to have documentation for, if only to get pointers. Like, "how do I use VESA modes in console" or "how do I optimize my UDMA drive performance".
Normally, for this sort of information in Linux, I'd look on Google and find a raft of links to mailing list archives, HOWTOs, message board posts, etc. But try this with FreeBSD and the noise level becomes unbearable. Even if you specify that an answer must contain the term "FreeBSD", the odds are that most or all of the replies you get will be linux-centric.
I did wind up finding what I was looking for, but it took awhile. I imagine that for a total newbie this would be a lot more frustrating.
Anyway, the point of this is that Documentation is Good, and that books like this can only help FreeBSD in the face of the overwhelming mindshare that Linux enjoys.
Re:DAMMIT!! (Score:1)
A more useful review (hopefully) . . . (Score:1)
The first thing that impressed me with this book is the included CD with FreeBSD 4.2. The FreeBSD site lists a release date of 22-Nov-2000, so I was very impressed to receive this version in a book purchased in January 2001.
The author advises how to use FreeBSD as a replacement to Windows servers in a number of areas, including:
Internet connection sharing
Web serving
Fileserving
Printserving
E-mail server
Working as a consultant for small companies without a full-time MIS person, I've found these needs to be the most common as well.
The author does an excellent job not only of explaining how to get the FreeBSD server running, but also tells how to configure the clients. Instructions for setting up networking on DOS, Win 3.1, Win95/98/Me and NT are given. I got the sense that the author was out there working in the same types of places his readers are.
The author also gives good advice on installing FreeBSD. He suggests just doing a standard install initially, because you're not going to know exactly which components you'll need. A more fine-tuned install can be done later. He also recommends compiling the kernel on the server. Even if you don't need a custom kernel (and, he says, most don't), it's a good test of your hardware. A PC that can't correctly compile the standard kernel isn't reliable enough to be used as a server.
As for the author's section on FreeBSD Advocacy, it will hardly shock or offend anyone who's skimmed through comments of a Slashdot article about Microsoft. He simply says that he believes FreeBSD is technically superior to other OSes. And although other OSes have their place, he'd recommend using FreeBSD in many cases. I don't have any problem with an author taking some space to make the case for using certain software on technical or philosophical grounds, especially when the chapter is titled "FreeBSD Advocacy".
This book comes up very strong in an area where other books fail: practical advice. Sure, each chapter's subject has entire books devoted to it, but the average person isn't going to need them early on. With this book, the reader can, for example, get to the point where the documentation included with Samba makes more sense.
I'd definitely recommend the book for those who are serving companies where the $800 NT server license, plus the cost of Client Access Licenses, is not small change. And if FreeBSD turns out to be more manageable and reliable as well, that's gravy.
Re:On the contrary (Score:1)
There you can search the ports tree and find the latest versions. If you make sure to search -CURRENT you will always find the latest versions of things like Apache and mod_php.
It had a spoiler! (Score:1)
(grin)
Re:Would I buy this book? (Score:1)
Re:On the contrary (Score:1)
BSD just works when you do it the BSD way (which is explained in the above notes, how to cvsup). The ports 'just work' because alot of work went into making sure it does work, while supplying patches to help with any inconsistencies.
I don't think most of the excellent package management software for free OS'es is significantly different as far as the end result goes. They all work when you use them as designed.
Re:*BSD is dying (Score:1)
hmmmmmmm... if i remember correctly, it _wasnt_ that FreeBSD went out of busness, it was a MERGER between FreeBSD and BSDI. Get your facts right, dickhead.
Why are you making off-topic posts?
This artile was about a book released dealing with some aspects of FreeBSD, not that "*BSD is dying".
You need to learn to be less of a wanker. Stick to your Linux, weenie.
other reviews (Score:1)
The author's website [freebsd-co...-guide.com] has errata, more info and a link [freebsd-co...-guide.com] to known online reviews including an informative review [bsdtoday.com] at BSD Today [bsdtoday.com]
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:1)
rabid emotio (Score:1)
"Only amateurs attack machines; professionals target people."
Re:Book good, book bad. (Score:1)
Would I buy this book? (Score:1)
Well, based on the review above, yes. I don't specifically want to attack the reviewer, but his point about being too technically specific is unwarranted. After all, what good is a technical book that isn't technically specific? From Tim M's point of view, it's job security, as well: if the first edition is a good seller, then the second edition (targeted for FreeBSD 5.x) will be a sure thing. Case in point: I have Solaris and Microsoft books that are targeted at different OS versions, and I found them to be quite handy - especially from the perspective that a diff on two versions of the same book (i.e. Solaris 2.6 Advanced System Administration vs Solaris 7 A.S.A.) can quickly bring you up to speed on the new and/or altered functionality of the new system. Any technical book that is general enough to please this reviewer is sure to include the word Dummies or Idiot in the title.
Furthermore, if the author is so disappointed that a change he suggested to someone else's book wasn't included at press time and hasn't appeared in the errata, maybe he should write his own book. Based on the quality of the review (not the quality of the publication, mind you), I would be inclined to ignore anything the reviewer said.
Maybe /. and community should put together a set of guidelines, almost like a checklist, for reviewing new material: the anyone-can-submit-a-review model sucks.
Re:On the contrary (Score:1)
As the other reply pointer out -- if you want to stay updated on the ports collection, you should use CVSup [freebsd.org] or the like. Both Apache 1.3.17 and mod_php 4.0.4pl1 have been in the ports collection since February 12 and February 5 respectfully. You just have to have some patience. When a new port is released (and in particular if the port is sort of big and/or complex) it takes a bit of time for the port maintainer to ensure that the port compiles and runs on all supported versions of the OS (remember that they should work on both the 3.x, 4.x, and 5.x branches). There might also be times when a FreeBSD porter does not include a new version into the port collection for a reason (i.e., it contain bugs). Usually you can send a mail to the port maintainer listed in the Makefile and ask him/her if they have any plans to upgrade a particular port.
I've only been using FreeBSD for 2 days, but I get the impression that the BSD crowd is unfriendly and snotty compared to the Linux crowd - although I haven't talked to any other BSD users, I have read on the net that the BSD crowd can be snotty/rude.
Er, well, what can I say? You seem to have managed to give an answer your own problems in the second part of the sentence. Quite an amazing feat ;-).
Google BSD (Score:1)
forget BSD Networking- where was slashdot? (Score:1)
Slashdot was down and I couldn't report it anywhere- even on slashdot!
I wonder if mirosoft.com will cover the outage. Slashdot certainly isn't yet.
Another site that experiences periodic outages [ridiculopathy.com]
RRNAL Recursive Names Are Lame (Score:1)
OK, so this kind of recursive name was cute and clever (maybe) when the FSF first did it. By the millionth or so time, though, it's gotten pretty stale.
Re:FreeBSD & O'Reilly (Score:1)
If you look here, [netcraft.com] I don't think that usage volume is a problem for *BSD. There's *TONS* of *BSD boxen out there, so I'm not really sure why O'Reilly wouldn't do a book on it.
Much of the current FreeBSD printed documentation is of poor quality.
I'll have to agree with that, but (IMHO) The FreeBSD Handbook has definitely improved from the first version.
Re:Agreed!!! (Score:1)
sorry,u have no cure.
apt-get install *
Re:a nice little poem (Score:1)
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:1)
Try 'apropos'. In both cases (disk driver, video mode) I was pointed to the correct man page on the first try.
But how do people find out they need to use apropos? I suppose that's where we look to the crucial Third Pillar of FreeBSD documentation: Slashdot.
Re:*BSD is dying (Score:1)
--
Tres_Status
Most UPSs use lead acid batteries (Score:1)
I'll just shut down and reboot.
Re:FreeBSD & O'Reilly (Score:1)
Re:Linux is dying... (Score:1)
---
Re:Book good, book bad. (Score:2)
FreeBSD severely lacks formal documentation,
All the formal documentation you need comes with FreeBSD. It has complete, comprehensive documentation. If that isnt enough, there are any number of UNIX books out there which apply quite nicely to FreeBSD since it _is_ a UNIX, unlike a certain OS which is popular on slashdot.
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:2)
What I was trying to say in my original post, and I must have been unclear because you've missed it completely, is that more FreeBSD books is a good thing because the Web resources are sorely lacking. There are dozens upon dozens of excellent Linux texts, and there is the very nice and informative Linux Documentation Project, but there are about three FreeBSD-specific books and no real equivalent to the LDP.
Yes, I know that BSD is Unix and you don't "need" FreeBSD-specific books, but things like disk drivers and video drivers, which are _very_ specific to an operating system, should be documented somewhere. Having to search through every man page or rummage through the "excellent, logically laid out" source tree to find what boils down to basic configuration information is idiotic.
At any rate, it hardly matters any more. The little exposure I've had to the FreeBSD culture as a whole, on the web and on IRC, has pretty well turned me off on the entire idea. I used to think that too many Linux users had this 31337 attitude, but really the FreeBSD "advocates" have impressed me with just how much farther this sort of thing can be taken. Have fun with your (excellent) OS.
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:2)
Obviously, there are morons and nutcases in all walks of life and I cannot possibly imagine what kind of characters you might have bumped in to, however basing your OS choices on the 'culture' of an OS rather than pure technical merits is probably not a good idea. I use the right tool for the right job, even if that means that I end up using tools that where created by complete bastards (I could name a few
As for the obviousness argument, the fact that it is explicitly stated that ad0 is connected to ata0 should be sufficient hint that that'd be a nice place to look. I mean look at this:
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ad0: 42934MB <WDC WD450AA> [87233/16/63] at ata0-master UDMA33
It's not gibberish either, it's the actual name of the interface, they didn't pick three random letters to name the device. As for the system console, oh well:
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
(man sc brings up the syscons manpage mind you)
Really, it is not that hard to get a hang of this, it's not rocket science.
Anyway a unix system is not for your average just-got-my-first-box kind of person, you'd at least expect from someone to have a basic grasp of the functioning of his computer and be willing to learn. The rewards of such an effort will be immense. If he's not willing to invest time, all the books in the world cannot help him, and perhaps he should choose something like MacOS X or Windows that although less rewarding might be more suitable due to the less steep initial learning curve.
Re:On the contrary (Score:2)
I've been using FreeBSD about 2 months longer than you (after 7 years of Linux), and it took me awhile to figure this out (hint: subscribe to the freebsd-questions mailing list for awhile and search the archives when you need to). The ports tree is kept very much up to date - the trick is updating your copy. I did an update the other day and I have Apache 1.3.17, mod_php4 4.0.4pl1, and Apache+modssl 2.8.0 all in my ports tree. I'd bet that building and installing from the latest ports will make it work - these guys work very hard to make sure their ports aren't broken.
Here are a couple of the extremely useful things I've learned about updating ports:
FreeBSD & O'Reilly (Score:2)
FreeBSD in a Nutshell?
FreeBSD: The Definitive Guide?
Running FreeBSD?
Where are these titles. I bet more people would monkey around with it if these titles existed.
O'Reilly Rules!
--Mike
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:2)
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:2)
> that you need to read the ata(4) man page to
> find out about the disk driver
First, the handbook will clearly indicate that ata is the driver for ATA devices (duh!). Second, it shows so on the boot messages, which can be reviewed with dmesg(1) if needed. You want to know about udma on your drives, right?
/d/home/dcs$ apropos udma drive
(enourmous list of various drivers, among which:)
ata(4), acd(4), ad(4), afd(4), ast(4) - Generic ATA/ATAPI disk controller driver
The list is rather big, but if you failed to avail yourself of both handbook and boot messages to find out what driver is being used...
Next, you wanted to know about vga modes on the console, right?
/d/home/dcs$ apropos vga console
loadfont(1) - is used to load fonts into EGA or VGA boards for use by the 'pcvt'
video driver
vga(4) - generic video card interface
kbdcontrol(1) - a utility for manipulating the syscons console driver
moused(8) - pass mouse data to the console driver
pcvt(4), vt(4) - PC console virtual screen system
speaker(4), spkr(4) - console speaker device driver
syscons(4), sc(4) - the console driver
vidcontrol(1) - a utility for manipulating the syscons console driver
Which is pretty much what you want.
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:2)
Everything you need to know, apart from generic UNIX basics, comes with the system.
Re:FreeBSD & O'Reilly (Score:2)
O'Reilly has at least two FreeBSD books in the works at the moment.
Much of the current FreeBSD printed documentation is of poor quality.
Ah even more unsubstantiated FUD. The printed FreeBSD documentation is quite excellent. The only nuance is that many places still carry the OLD 3.x documents. So your statement was incorrect. A more accurate statement would be that some printed FreeBSD documentation is slightly out-of-date.
If printed manuals aren't your bag, just print yourself out the man pages which are technically excellent and quite complete.
Re:Book good, book bad. (Score:2)
Book good, book bad. (Score:2)
When I need help with my box I go to www.freebsddiary.org, or the search the mailing lists from freebsd.org. if that fails I try Deja (now google), and google.com/bsd, or sometimes just google with my problem and "FreeBSD" tacked onto the end.
Another book is always a help, but in I doubt this book can compare to the "tome" status that the previous two do. The handbook is by far the most strait forward guild to any OS I have ever seen, it covers an amazing breadth of topics in very few pages, the Design and implementation book is one of the tomes on OS design in general, and of course specific to BSD, which is arguably the best designed OS, ever.
-Jon
Streamripper [sourceforge.net]
Re:Book good, book bad. (Score:2)
There's an interesting review (Score:2)
by Alex Graven
Re:What's in the book?? (Score:2)
From the review
"It seems that the main purpose of the book is to describe how FreeBSD can be integrated into current network structures that include Microsoft clients and servers -- a very useful idea. The author describes step by step how this can be done, and in which particular situations."
The review may have been not very well written or organized, but it did answer your issue.
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:4)
If you want help try freebsd-hackers@freebsd.org and freebsd-questions@freebsd.org. The latter has a high noise to signal ratio, hackers is bettter but tends to get you a few replies like "RTFM asshole."
Re:Linux Drowns Out FreeBSD Documentation on the W (Score:4)
It seems to me that many Linux users, especially those that have been using it for a long time like you did, picked up this nasty habbit of hitting the search engines first instead of reading the proper documentation, probably because documentation on most linux distributions is rather poor. In the case of the FreeBSD you have the excelent manual pages documenting nearly anything you can imagine (including drivers, configuration files and misc information like ports(7) for example) and on top of that the handbook and the FAQ. If you still can't find an answer, you can search the questions mailing list, if you find nothing, you can ASK a question.
How do you use VESA modes with the console? read the manual page of the console driver of course, syscons(4), which points you to the direction of vidcontrol(1) among other things, that explains what you have to do.
How do you optimize your UDMA drive performance? Well, first of all you don't have to - I never found an disk/controller combination that was set incorrectly by FreeBSD. While the kernel boots up the transfer mode of all drives is clearly indicated, ie:
ad0: 42934MB <WDC WD450AA> [87233/16/63] at ata0-master UDMA33
If you want to change it, you check on the manual page of the respective driver, in this case ata(4) where you will find that there is a sysctl knob to tweak them should you really have to. Which you won't.
As for newbies being frustrated, I rather doubt it. The handbook explains rather well how to go about looking for answers in the (excellent) manual pages, and after a couple of times one gets used to it. What IS really frustrating is having to rely on mailing list archive gossip that might offer information that is old or does not apply.
What's in the book?? (Score:4)
This review says very little about the book itself. The majority of it is about the reviewer's disagreements with the author. After reading it, I still don't know whether it would be useful for, say, an administrator, a developer, or just curious about FreeBSD.
How about listing the table of contents, or describing which areas are covered in how much depth, are there any examples with source, are the examples accurate, and so on.
My meta-review: this review is (-1, uninformative)!