Slashdot Mirror


FreeBSD As A Workstation For UNIX Newbies

JT writes: "OSNews features an article introducing the FreeBSD operating system to newbies and Windows users. The article describes the installation, its GUI, application base and it has some more information about Unix and *BSD in general." Since Linux (at least the varieties with cute installation routines) is often presented as the *nix beginner's best choice, it's good to see articles like this one pointing out a broader range of choices.

25 of 78 comments (clear)

  1. Maybe, maybe not... by ichimunki · · Score: 5, Interesting

    Unlike Red Hat, there is nothing on FreeBSD that takes away the true hacker-only nature of the system.

    The partitioning, as the article points out is mostly manual, but only if you can't dedicate your drive... if you can dedicate you press one key and it does a default partition scheme, ditto mount points. This is not a problem for any but the types who can't RTFM long enough to find out what page of the FM they're on.

    The package system vs. ports is slightly confusing, especially since so much stuff appears in both places, how do you know which to use when and why? I'm sure this confusion is cleared up by reading the Handbook in depth. Ditto the fact that the ports system isn't just a system for getting and compiling tarballs-- it's a whole packaging system unto itself, just a bit more CPU intensive than rpm.

    Speaking of the handbook, here's my favorite line (from memory, may not be exact) "recompiling a kernel is a rite of passage for Unix users". There, they said it, plain and simple you *will* recompile the kernel... and they're right, the generic kernel has no support for sound, so off to the config files you go. Hello make and make install! FWIW, they're 100% right, compiling a custom kernel is just too important not to learn to do it on either BSD or Linux systems.

    IMHO, FreeBSD is not a suitable system for a computing newbie, unless they have a patient, available hacker friend. It might be a good introduction to x86 Unix for someone who's used a Unix mainframe at school/work (where someone else was the sysadmin). And it might be a good introduction to Unix for an advanced Windows user. And for the hacker? Of course it's a great choice, especially that ports system. I've not seen a Linux distro with that level of commitment to the offsite code base.

    But best of all, no one's running around saying it should be called GNU/BSD! And with good reason, if you're used to the GNU binutils and BASH, you're in for a bit of a surprise with FreeBSD.

    --
    I do not have a signature
    1. Re:Maybe, maybe not... by jquirke · · Score: 2, Interesting

      Sorry to nitpick, but the default kernel that came with 4.4-RELEASE does include support for sound, in the form of modules.

      It supported all the hardware out of the box on my notebook, with the exception of APM (and obviously not ACPI).

      Still, I agree, to get the most out of FreeBSD you need to build a custom kernel :-)

    2. Re:Maybe, maybe not... by Anonymous Coward · · Score: 2, Informative

      You no longer have to compile your kernel in order to support your sound card. Just add the kernel module. You can usually get along fine with the GENERIC kernel unless you want to make use of apm, but being able to build a more compact kernel than the GENERIC one is one of the triumphs of open source unix. The rc startup files are organized in a sane fashion too, so configuration's simpler. But the best part about FreeBSD is that they actually try to keep the man pages up to date so that you don't have to always run off to that gnu info monstrosity or various well-hidden HOWTOs and FAQs.

      I tried installing Slackware but gave up in disgust. It's disorganized as hell, but at least it only needed 1 cdrom for the (re)install. For some reason it had trouble finding and/or mounting my plextor cdrw that I use regularly with freebsd without a hitch.

      Unix is not for people who want to be spoon-fed everything.

    3. Re:Maybe, maybe not... by Guy+Harris · · Score: 3, Informative
      And with good reason, if you're used to the GNU binutils and BASH, you're in for a bit of a surprise with FreeBSD.

      Yes, the binutils are surprisingly different from the GNU ones:

      > uname -sr
      FreeBSD 4.1-RELEASE
      > cc --version
      2.95.2
      > ld --version
      GNU ld 2.10.0
      Copyright 2000 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License. This program has absolutely no warranty.
      Supported emulations:
      elf_i386
      > as --version
      GNU assembler 2.10.0
      Copyright 2000 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License. This program has absolutely no warranty.
      This assembler was configured for a target of `i386-unknown-freebsd4'.
      > nm --version
      GNU nm 2.10.0
      Copyright 1997, 98, 99, 2000 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License. This program has absolutely no warranty.
      > ar --version
      GNU ar 2.10.0
      Copyright 1997, 98, 99, 2000 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License. This program has absolutely no warranty.

      ...

      (No, that hasn't changed in later releases.)

      Yes, it's not GNU/BSD in the sense that most of the utilities are not GNU utilities, but the BSDs do use the GNU toolchain.

    4. Re:Maybe, maybe not... by Guy+Harris · · Score: 2
      that's odd....did you try the acpi module?

      There's an ACPI module in 4.4-RELEASE? (That's what he's running, not 5.0-current.)

  2. Kudos to OSnews by DeMorganLaw · · Score: 2, Informative

    Kudos to OSnews.com for promoting FreeBSD as a serious alternative to Linux for users looking for an alternative OS. FreeBSD is fast, stable and has a great many experienced users willing to help out newbies. Sysinstall is easy to get going (just 2 floppies), supports FTP downloads of software packages, and resolves dependency issues quickly. However it is still no where near as easy as the GUI installer for current releases of Mandrake and Redhat. FreeBSD can run practically anything written for Linux after installing the Linux Binary Compatibility Pack.

  3. Preferances by Alien54 · · Score: 2
    Given the Varieties of *nix out there, I tend to actuall prefer FreeBSD.

    I've even gone out of my way to pay for CDs etc.

    --
    "It is a greater offense to steal men's labor, than their clothes"
    1. Re:Preferances by atrin · · Score: 2, Informative

      The problem is Linux gets too much attention from the mass-media. My H'friends joke about me being the only one who uses FreeBSD. It's really hard to make someone feel, apreciate the "clean" feeling of FreeBSD, being built as _one_ project. That is why the dox are that good too. But for a newbie, who DOESN'T want to be a hacker, but only to understand the implications of "everyinthing is a file" (although he doesn't know it yet) and _maybe_ do some programming using sockets Linux is not much different from FreeBSD. Besides, the problems which arise with making a Linux box work smoothly get one to RTFM.
      So FreeBSD is a good choice but not the best for newbies.

  4. FreeBSD myths. by pschmied · · Score: 5, Informative
    O.K. There always seems to be a number of out right false hoods perpetuated about FreeBSD. More often than not, they are not malicious. More often than not they are perpetuated by casual FreeBSD users. Let me set the record straight.


    "The ports collection sure is great! I just wish that FreeBSD had some kind of package management that didn't require building from source."

    It so happens that FreeBSD does have package management that won't ever invoke gcc.

    Try the package management tools (man pkg_create(1), pkg_delete(1), pkg_info(1), pkg_update(1), pkg_version(1) for more specific info).

    In fact, FreeBSD is so bad-ass that you can type something like "pkg_add -r mozilla" and the system will download and install the latest mozilla. Carefull though, some packages require that you specify the whole version (i.e. pkg_add -r lyx-1.1.6.3). This will get all the dependancies you need in most cases.

    The only real reasons to build from the ports are:

    1. You need specific compile time options. (Install a custom Apache on RedHat then with FreeBSD's ports and come back and tell me which is easier)
    2. You have a multi architecture workplace and you want to use a central distfile repository. (Please note that this is rare.)

    "FreeBSD is less user friendly than Linux"

    This is highly subjective. I taught a class this summer to a group of people at my University who had never installed Windows, much less anything else. By the end of the first week, they were able to install FreeBSD, compile a kernel, and successfully manage packages. By the end of the second week, they all had their desktops going with the productivity apps they wanted. By the middle of the third week, I couldn't hold their attention because they were having too much fun playing with the OS.

    FreeBSD belongs to the "it just works" school of computing. I don't know how to describe it. I've never had to worry about whether or not FreeBSD would correctly auto detect my USB optical mouse during the install (I've had a number of Linux distros both succeed and fail). FreeBSD Just Works(tm). No dicking around. "Does your system have a USB mouse attached to it?" "Yes?" "OK, we'll make sure and load usbd." If I've had "device pcm" in my kernel config file at build time, my sound has always worked.

    As a workstation, FreeBSD performs very well. I don't have benchmarks for you, but I've never had a FreeBSD machine that has felt slower than any Linux distribution on the same hardware. Incidentally, FreeBSD starts notably quicker than any Linux distro newer than Slack 2.0.


    I feel really good about the state of FreeBSD. They have made things easy by design, not by GUI abstraction. If you judge ease as being a point and click installer, then Linux will win every time. If you judge ease as simplicity and consistancy, FreeBSD is a clear victor.


    -Peter

    Just my $0.02

    1. Re:FreeBSD myths. by pschmied · · Score: 3
      It just works? That's been my impression of linux. With *BSD, the kernel and userland are tightly integrated. With linux, the latest, snazziest kernel is duct tape'd to various gnu utilities. Documentation? Ha!


      Touche! :-) I think we are argueing the same point. FreeBSD tends to Just Work(tm) (in the sense that it doesn't require any extra fiddling). Linux tends to just work (in the "just barely" sense). Not to bash on Linux though. There are some very inventive hacks that work quite well. I, however, prefer the more conservative nature of FreeBSD.

      Incidentally, I had the opportunity to install and play with NetBSD the other day (I'm thinking about ditching my PC for an iBook.), and I found it to work much the same way as FreeBSD. That is, it found all my hardware, and Just Worked (tm). In the past when I've used OpenBSD, it has done well too. I should take a look again as they've released a few times since I've played with OpenBSD.


      -Peter

  5. Re:Tried running FreeBSD 4.4 TWICE recently... by Arandir · · Score: 2

    I had no problems with my ES1371 (SBPCI64). I just added the line "device pcm" to the end of my kernel config and it Just Worked(tm).

    I think you real problem is that you want FreeBSD to work just like Linux. Well it doesn't. Otherwise it would be called FreeLinux. It took you a while to figure out all the arcana under Linux, so expect to spend some time figuring out the FreeBSD arcana. On the plus side, FreeBSD has top notch documentation. Try perusing it.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
  6. Re: .. I've ran since 4.3 as a production workstat by maquaro · · Score: 5, Informative

    I won't deny that not have a FreeBSD user around to help answer questions can be very agrivating. I happened to be enlightened by a co-worker to the finner unix points of FreeBSD. I moved from RH6.2 -2.2.19 to FreeBSD 4.3-Release. I have since removed Windows completely from my computer except for a VMWare window of 98. (Windows was meant to run in a Window(TM)). Besides, with the improved jail capabilities of FreeBSD we have all but moved our entire unix OS's to 1(one) box. It actually runs about 7 virtual OS's, namely dns, imap, dynamic-www, smtp, database, information processing. The ideas that sold me on FreeBSD over Linux were, ports/packages, 1 distribution, stablility.

    Starting with 1 distribution, the OS has benefits out of the box. All kernel code is under peer-review. One person can't just say I want this to be this way. Any major additions are under peer scrutiny. Also the members of the core development team only got there because they have been and were submitters to FreeBSD for a long time. With have 1 distribution all the channels of the distribution talk to on another. You don't see Suse talking with RedHat. I didn't think so.

    The stability issue is tied into the 1 distribution also. I feel sorry for Linus. He make a great kernel, but he can't do squat to make the surrounding distribution work if it breaks. The distro is only as good the surrounding subsystems. In my opinion FreeBSD leaves newer features in the CURRENT tree structure a little longer than Linux. Thus when a release version is created the release versions tend to have less problems.

    Finally the ports and packages. It took me a few months to fully understand ports versus packages. I actually install the bash-2.05 package on any new installation so I can use the shell from the start. The packages can be accessed from /stand/sysinstall. Once the OS is installed just browse for the package of your choice. The package is a snapshot of the current packages at the time of release. You can even change the settings in sysinstall to fetch older packages, if you want. The ports are great because you can search through a selection of software that you can be sure will work in freebsd. FreeBSD works on it's Linux compatibility, not getting people to code on FreeBSD unless they develop exclusively on FreeBSD. If you can run it on Linux, changes are it will be available on FreeBSD in a little time. BTW, the ports directory/tree is created every day at 9AM EST. New changes everyday.

    "You must unlearned what you have learned!" - Yoda

    --
    What I am I once was. What I now become I long to be. Life is a journey not a destination.
  7. Re:Tried running FreeBSD 4.4 TWICE recently... by Ded+Bob · · Score: 2

    Without seeing the error logs, I cannot comment on your problem. I found FreeBSDhelp on Efnet to be quite useful.

    The kernel wouldn't boot. And the instructions in the FBSD handbook on how to recover from a bad kernel didn't work, because the sendmail daemon kept locking up whenever I tried to run the original generic kernel.

    You couldn't boot into single-user mode?

  8. waiting for 5.0 by Anonymous Coward · · Score: 2, Informative

    I love freebsd, but I'm putting it on hiatus until 5.0 comes out. It's not a good choice for a laptop workstation, that's for sure, unless you have the blandest of vanilla laptops. I demand cardbus. :-)

    One thing not many people have mentioned is how clean and simple the base installation is (after you've installed it). Core system with X windows, add what you need afterwards. This is a clean methodology, it allows a newbie UNIX user to find out exactly what the system *is*. if they went for a default linux install, however, they'll end up with 500+ packages to deal with. I have problems telling what is a 'system' package and what is an 'add-on' package on my linux laptop. If it wasn't for up2date or ximian's red carpet, a user would be screwed, security-wise.

    mike

    1. Re:waiting for 5.0 by hearingaid · · Score: 2
      One thing not many people have mentioned is how clean and simple the base installation is (after you've installed it). Core system with X windows, add what you need afterwards.

      This is partly true. However, even the minimal install does contain programs that you can rip out in special-purpose systems, like firewalls. The annoying part is that they don't get included as ports, but rather just left there. I wish the default sendmail install was listed in /var/db/pkg to make it more removable.

      However, I know that I'm probably too obsessed with maximizing available disk space. :)

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

    2. Re:waiting for 5.0 by elbuddha · · Score: 2


      Requiring sendmail is silly.

      Agreed.

      Plus, if you delete it, a make world will recreate it.

      Not true. Uncomment "NO_SENDMAIL= true" in make.conf, problem solved.

  9. It just works? by Laplace · · Score: 2

    Ok, then tell me how I can use my PCI Modem with FreeBSD (no, it is not a winmodem). I've never been able to get it work work under BSD, and I haven't found any clear instructions on how to get it to work.

    --
    The middle mind speaks!
    1. Re:It just works? by pschmied · · Score: 3, Informative
      Ok, then tell me how I can use my PCI Modem with FreeBSD (no, it is not a winmodem). I've never been able to get it work work under BSD, and I haven't found any clear instructions on how to get it to work.


      Really? What modem do you have? I've got the ActionTec Call Waiting PCI modem and it worked fine.

      Check your dmesg (dmesg |more). Look for something like the following:

      sio0: [ActionTec 56k FAX PCI Modem] port 0xdc00-0xdc07,0xd800-0xd8ff,0xd400-0xd4 ff mem 0xe2001000-0xe20010ff irq 11 at device 7.0 on pci0

      sio0: moving to sio4

      sio4: type 16550A


      Actually, a good place to start would be to type "dmesg |grep sio" at the command prompt. I bet that FreeBSD has probably found it already. Remember that the serial interface "sio4" corresponds to /dev/cuaa4. You might also check to make sure you have enough software serial ports enabled in FreeBSD (do you have two unused serial ports on the back of your machine? I disable mine in the BIOS, but if you need them, you can just enable com3 & com4 which are disabled in a standard install. Read the handbook section on building a kernel. It's easy. I promise.)

      I hope this helps. If not, you can always send an e-mail to questions@freebsd.org. They are generally quite helpful.


      -Peter

  10. Re:Tried running FreeBSD 4.4 TWICE recently... by Thornae · · Score: 2

    Funny I couldn't find much documentation beyond the FBSD handbook. Yes there are several email lists and Usenet groups - but when you're looking for an answer to what should be pretty simple problems, it should be pretty easy to find - after all, it's been asked thousands of times in the years since FBSD was started, right?

    So why is it that literally hundreds of searches on Google, manual sifting through Usenet, and searching through freebsd.org's mail archives don't turn up answers?


    <Sigh>... Sadly, your experiences are all too common. Particularly the impatience of the poster whom you responded to. In general, *bsd users are no more or less arrogant than *linux users. However, it's the outspoken minority that cause troubles.

    I've said it before, but it bears repeating: the single most valuable resource you can get when installing/trying out a new OS is access to a friendly expert who doesn't mind you asking potentially dumb questions - and who'll let you repay them with a few beers or equivalent.

    I, too, have struggled with the -questions archive, searching for answers. Eventually, I found them, either in the archives or in sections of the documentation. But it wasn't easy. Nowadays, I just drop a line to one of my mates who knows lots about FreeBSD, and make a note to thank them later in some tangible form.

    If you've not got a similar friend, some of the IRC channels may help. FreeBSD-questions tends to be rather overwhelming, although there aren't too many arrogant answers there.

    Personally, I find FreeBSD to be a useful OS and a rewarding learning experience. But I doubt I'll stop asking dumb questions of my friends any time soon. I hope you'll find some similar form of help, and not be discouraged by a few terse lines from a less patient person...

    --
    |>
    Here be Dragons
  11. Re: .. I've ran since 4.3 as a production workstat by scott4000 · · Score: 2, Insightful

    The level-headed people are the ones who have traditionally been the "FreeBSD community." Over the last couple of years, a large amount of very vocal people, known as "zealots," have moved to FreeBSD from OSes such as Linux, and then they go around preaching FreeBSD in the same loud way they promoted Linux. Please consider where such users came from before judging everyone that uses FreeBSD. Thank you.

  12. I dunno by Ratbert42 · · Score: 3, Insightful

    I install and run OpenBSD and FreeBSD (as well as Redhat Linux and Windows NT/2000) on servers all the time. But I'm like a one-legged man on a pogo stick when it comes to installing either as a workstation. OpenBSD apparently even makes me manually add the X package after the install. FreeBSD is a bit better, but the configuration is all very manual. To contrast, Redhat Linux correctly detects my mouse, video card and monitor and makes it somewhat hard to continue the install unless the settings actually work.

    Out of my team of 10 developers, I doubt more than 3 other guys would be able to get FreeBSD running as an X workstation without someone to help them. And all of them, even me, would lose interest before getting it working. I can feel my interest waning right now. I'd rather play with OpenBSD's new pf than pretend it's 1996 and manually configure XFree86.

    1. Re:I dunno by Ratbert42 · · Score: 2

      OpenBSD apparently even makes me manually add the X package after the install.

      Ok. I was wrong. Booting from the CD makes it easy to install the X packages. Well, not as easy as Redhat Linux, but easier than ftp-ing them and untaring them in the right place.

      I got X running on OpenBSD on a laptop in about 20 minutes. The main problem was finding the mouse device and protocol (/dev/wsmouse0 and wsmouse). I picked the wrong video card, but the right driver (ATI) and made a wild-ass guess at the monitor clocks (not sure it matters at all).

      Still not for a beginner, but frankly I found the OpenBSD 3.0 install easier than the FreeBSD 4.4 install.

    2. Re:I dunno by Arandir · · Score: 2

      FreeBSD detected my mouse automatically, along with my sound card once I made snd0. X is a different story.

      There's a good reason for this: X isn't part of the operating system. It's a separate project with one set of sources for all supporting OSs. Many Linux distros like to write their own X configurator. But FreeBSD sees X as someone else's project and doesn't touch it. Making the base system automatically configure X would be like making the base system automatically configure sendmail. That's not its job.

      X comes with some configuration utilities that work quite well, as long as you know what hardware you have. I use these, even under Linux. But that said, I see no reason with a FreeBSDXConfig port/package available for newbies. I just don't know how well it would work. I haven't installed Redhat in a very long time, but I have had problems with Mandrake, SuSE and Corel trying to detect my video cards. Come to think of it, I had a bitch of a time with Windows detecting my Rage128. The problem is that there is no standard way of determing video hardware capabilities. Methods that work for most cards can crash or reboot a system with other cards.

      The way around this hassle is to do what Microsoft does: get the OEM's to preinstall the operating system. My friend had a computer that generic off-the-shelf Windows would NOT install, but where the OEM CD of Windows would. Overall, I think Mandrake, SuSE, Redhat, etc., do a *much* better job of hardware detection than Windows does, for precisely this reason.

      [sorry for the rant]

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  13. Re:BSD and Linux by Guy+Harris · · Score: 2
    Seems to me that most people are comparing FreeBSD to Redhat/Mandrake. Let's not forget that Debian Linux is not only fast (starts up much faster than other distro's) as well as being stable and secure thanks to apt. Packages can be installed from source or binary, AND with just one command .....

    ...and, like {Free,Net,Open}BSD, it's a volunteer project, not a commercial product. If somebody wants to compare the BSDs to a Linux distribution, Debian is probably the most appropriate one with which to compare them.

  14. KDE and DCOP error. by pschmied · · Score: 2

    Usually this has to do with your network settings (yes, even if you aren't on a network).

    Check your /etc/hosts and make sure that 127.0.0.1 points to your host name as well as "localhost"

    Hope this helps.

    -Peter