*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Well .. I have installed FreeBSD 4.8 about .. 6 days ago ..
I have *some* experience in using Linux .. but I can't find the answers to the following (probably not OS dependent) questions :
1) How do I enable copy+paste (meaning : mouse highlight to copy , right click to paste) in the console ?
2) How do I change the console resolution to , let's say 1024x768 ?
3) How do I change the default BASH prompt to , let's say a string like this:
"root@examplehost /WorkingDirecoty #" ?
4) I can't manage to make my sound card work (in Linux I could do it quite simple using ALSA) .. I have read the "Multimedia" section from the FreeBSD handbook and I still can't figure it out .. (Silicon Integrated Systems Corp [SiS] , PCI bus 0) . Anyone willing to post an answer containing step-by-step configuration ?
5) Can I configure FreeBSD's boot loader (not sure what it is called) to clear the screen and maybe even modify the prompt ? It's usually something like
these questions are probably trivial .. but I would really appreciate , if not step-by-step answers , (web / man) pages that could help me ..
Originally posted by hackers_ 1) Do you have a mouse wheel, and/or is it setup correctly in /etc/X11/XF86Config? Generally, selecting the text will copy it, and pressing the mouse wheel will paste it.
2) You are use to Linux's "framebuffer" support. FreeBSD doesn't use this type of system. I'm not sure if there is a 3rd party that works on this, if it's something in the ports, or if it doesn't exist it all. Someone else might be able to clarify this. From my past experiences with *BSD, you would use something like 80x*? I can't quite remember.
3) .bashrc, .profile -- something like PS1="[\u@\H\w] "
4) Well, you didn't even tell us what soundcard you are using, that would help greatly. The handbook explains how to either load a module (kldload) or what options you will need to build into your kernel configuration.
5) During /stand/sysinstall there is options for bootloader specific items. Consult the handbook for further information.
1) I'm not talking about X (X doesn't even work , but I'll deal with this some other time) .. but the normal , "text-mode" console . I know that in Linux , this worked .. I could just select a line to copy it and right click to paste it
1 -> problem fixed ;> It was actualy a Kernel option that needed to be added , in case someone on this forum ever experiences this problem , I'm talking about: options SC_TWOBUTTON_MOUSE .
4 -> problem fixed ;> a great big THANK YOU ! goes to hackers , your answer solved my problem ! now I can finaly relax under FreeBSD :>
2 -> well , everywhere I go I get the same thing: framebuffered console .. well .. I guess I'll leave this for now .. thanks for all your help !
1) as I said earlier , X doesn't work , when I do a "startx" I get this:
(==) Using config file: "/etc/X11/XF86Config"
(EE) SIS(0): Virtual height (0) is too small for the hardware (min 128)
(EE) SIS(0): xf86ValidateModes() error
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
I guess I have to add something to /etc/X11/XF86Config .. the problem is .. I don't know exactly WHAT to add .. This is the "Screen" section in the config file:
You can find other fonts in the fonts dir and use them if you like.
2) Next you have to compile vesa support into your kernel. Go to /usr/src/sys/i386/conf and copy the file GENERIC to HOSTNAME. It doesn't have to be your hostname, it can be whatever you want really it's just typically called HOSTNAME. Next edit this file in vi (or whatever you use) and do the following:
a) Substitute HOSTNAME for GENERIC everywhere (in vi ":%s/GENERIC/HOSTNAME/g<ENTER>")
b) At around line 135, directly after the line "device vga0 at isa?" (in vi: "/vga0<ENTER>")
add the line: "options VESA".
Save the file (vi: "ZZ") and change to the directory /usr/src. type "echo "KERNCONF=HOSTNAME" >> /etc/make.conf<ENTER>", then make kernel. I think this should get you what you're looking for.