Difference between revisions of "How To"

From GhostBSD Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|}
 
|}
  
==Introduction==
+
==Introduction to Tips and Tricks==
 
On this page we will collect some tips and tricks from users to users. It is not always sure, that a tip helps for your issue, but if so, you can comment on the ''Discussions'' page or write you solution in this list with your name as source.   
 
On this page we will collect some tips and tricks from users to users. It is not always sure, that a tip helps for your issue, but if so, you can comment on the ''Discussions'' page or write you solution in this list with your name as source.   
  
Line 12: Line 12:
 
Some proposals need to get there own pages, because of there volume. (see the blue links)
 
Some proposals need to get there own pages, because of there volume. (see the blue links)
  
==Tips and Tricks==
 
  
===OS related===
 
  
====How to move from Trident to GhostBSD?====
+
==OS related==
 +
 
 +
===How to move from Trident to GhostBSD?===
 
Here you will find a [https://github.com/maxsteciuk/TridentToGhostBSD/blob/master/README.md Step by step tutorial on GitHub].
 
Here you will find a [https://github.com/maxsteciuk/TridentToGhostBSD/blob/master/README.md Step by step tutorial on GitHub].
  
====How to pack a FreeBSD installation image with custom content====
+
===How to pack a FreeBSD installation image with custom content===
  
 
[http://badland.io/packmule.md Packmule] packs a FreeBSD installation image with custom content, making it useful for generating install images with all your normal utilities included. The added packages are installed along with the regular contents of FreeBSD. Generated images have the form FreeBSD-*-packed.iso. Installation can proceed as normal with the packed software showing up on the newly installed system alongside the FreeBSD base.
 
[http://badland.io/packmule.md Packmule] packs a FreeBSD installation image with custom content, making it useful for generating install images with all your normal utilities included. The added packages are installed along with the regular contents of FreeBSD. Generated images have the form FreeBSD-*-packed.iso. Installation can proceed as normal with the packed software showing up on the newly installed system alongside the FreeBSD base.
  
====How to install GhostBSD/FreeBSD on a ThinkPad T530. ====
+
===How to install GhostBSD/FreeBSD on a ThinkPad T530. ===
 
Here you will find [https://www.c0ffee.net/blog/freebsd-on-a-laptop/ a guide to a fully functional installation]
 
Here you will find [https://www.c0ffee.net/blog/freebsd-on-a-laptop/ a guide to a fully functional installation]
  
====How to get some information about your running system====
+
===How to get some information about your running system===
  
 
* Get some system information, kernel version, release date by using [[sysctl]]
 
* Get some system information, kernel version, release date by using [[sysctl]]
Line 35: Line 35:
 
* More information to [https://www.freebsd.org/cgi/man.cgi?query=uname&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html uname on the man page].
 
* More information to [https://www.freebsd.org/cgi/man.cgi?query=uname&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html uname on the man page].
  
====How to get more information about your running system====
+
===How to get more information about your running system===
  
 
* <code>pkg info | grep os-generic</code>
 
* <code>pkg info | grep os-generic</code>
Line 41: Line 41:
 
* <code>uname -U</code>
 
* <code>uname -U</code>
  
====How to upgrade from a prerelease====
+
===How to upgrade from a prerelease===
  
 
Eric Turgeon, [12.03.20 02:07] on Telegram
 
Eric Turgeon, [12.03.20 02:07] on Telegram
Line 49: Line 49:
 
----
 
----
  
===Desktop related===
+
==Desktop related==
  
====How to adjust lcd screen brightness? ====
+
===How to adjust lcd screen brightness? ===
  
  
Line 70: Line 70:
  
  
====If you are unable to resume your desktop after suspend (lid closed)====
+
===If you are unable to resume your desktop after suspend (lid closed)===
  
 
This tips could help:  
 
This tips could help:  
Line 78: Line 78:
 
----
 
----
  
===Sound related===
+
==Sound related==
  
====How to solve if no USB Sound 2.1 ====
+
===How to solve if no USB Sound 2.1 ===
  
 
[https://forums.ghostbsd.org/viewtopic.php?f=66&t=1530 Look at this tutorial]
 
[https://forums.ghostbsd.org/viewtopic.php?f=66&t=1530 Look at this tutorial]
Line 86: Line 86:
  
  
====Hints from the Community====
+
===Hints from the Community===
  
 
[https://forums.ghostbsd.org/viewforum.php?f=66 GhostBSD Forum]
 
[https://forums.ghostbsd.org/viewforum.php?f=66 GhostBSD Forum]
Line 92: Line 92:
 
----
 
----
  
===Virtualization===
+
==Virtualization==
  
====How to install VirtualBox on GhostBSD====
+
===How to install VirtualBox on GhostBSD===
 
[[Guide to install VirtualBox on GhostBSD]]
 
[[Guide to install VirtualBox on GhostBSD]]
  
Line 100: Line 100:
  
  
===Software===
+
==Software==
  
====How to find Software on GhostBSD====
+
===How to find Software on GhostBSD===
 
* Go to [[GhostBSD Wiki]] or [[Applications]]
 
* Go to [[GhostBSD Wiki]] or [[Applications]]
 
* Than to [[Application Management]] and choose your preferred method for installation.
 
* Than to [[Application Management]] and choose your preferred method for installation.
  
====How to Run Orchestrator on Ghost/FreeBSD====
+
===How to Run Orchestrator on Ghost/FreeBSD===
 
Use this tip: [https://www.percona.com/blog/2020/02/17/how-to-run-orchestrator-on-freebsd/ percona]
 
Use this tip: [https://www.percona.com/blog/2020/02/17/how-to-run-orchestrator-on-freebsd/ percona]
  
====Using [[Ports]]====
+
===Using [[Ports]]===
 
"Don't use FreeBSD ports via portsnap on GhostBSD
 
"Don't use FreeBSD ports via portsnap on GhostBSD
 
Install it from GhostBSD ports <br/>
 
Install it from GhostBSD ports <br/>
Line 115: Line 115:
 
Source: [https://forums.ghostbsd.org/viewtopic.php?p=7965#p7965 ericbsd]
 
Source: [https://forums.ghostbsd.org/viewtopic.php?p=7965#p7965 ericbsd]
  
====Looking for devtools?====
+
===Looking for devtools?===
 
"Devtools are not installed by default" on GhostBSD
 
"Devtools are not installed by default" on GhostBSD
 
You have to install them:<br/>
 
You have to install them:<br/>
Line 121: Line 121:
 
Source: [https://forums.ghostbsd.org/viewtopic.php?f=58&t=1528&sid=f7771ec06711a5feb4072f6d875c5df6 ericbsd]
 
Source: [https://forums.ghostbsd.org/viewtopic.php?f=58&t=1528&sid=f7771ec06711a5feb4072f6d875c5df6 ericbsd]
  
====Like to change the display manager====
+
===Like to change the display manager===
 
<code>sudo rc-update delete lightdm</code><br/>
 
<code>sudo rc-update delete lightdm</code><br/>
 
<code>sudo rc-update add gdm</code><br/>
 
<code>sudo rc-update add gdm</code><br/>
 
Tip from Eric on Telegram at 27.01.2020 17:09
 
Tip from Eric on Telegram at 27.01.2020 17:09
  
====Migrate from Linux to GhostBSD and take your E-Mails and bookmarks with you====
+
===Migrate from Linux to GhostBSD and take your E-Mails and bookmarks with you===
 
You would like to move from a Linux OS to GhostBSD and take your settings and E-Mails from '''Thunderbird''' and bookmarks from '''Firefox''' to GhostBSD.<br/>  
 
You would like to move from a Linux OS to GhostBSD and take your settings and E-Mails from '''Thunderbird''' and bookmarks from '''Firefox''' to GhostBSD.<br/>  
 
Go on Linux to .thunderbird and .mozilla in your home directory and safe each folder /xyz.default and insert the contents in the folder /xyz.default-release on GhostBSD. xyz is only a replacement for bk3yc9n7 or something similar.<br/>
 
Go on Linux to .thunderbird and .mozilla in your home directory and safe each folder /xyz.default and insert the contents in the folder /xyz.default-release on GhostBSD. xyz is only a replacement for bk3yc9n7 or something similar.<br/>
Line 133: Line 133:
 
----
 
----
  
===Hardware / Kernel / Driver related===
+
==Hardware / Kernel / Driver related==
  
====How to find out if my hardware is detected====
+
===How to find out if my hardware is detected===
  
 
Use the '''[[dmesg]]''' command or look into the file ''/var/run/dmesg.boot''.
 
Use the '''[[dmesg]]''' command or look into the file ''/var/run/dmesg.boot''.
  
====How can I find out if my hardware is supported====
+
===How can I find out if my hardware is supported===
 
The first step should be: Look on both pages: '''[[Kernel]]''' and '''[[Modules]]''' first.<br/>
 
The first step should be: Look on both pages: '''[[Kernel]]''' and '''[[Modules]]''' first.<br/>
 
See also The [https://www.freebsd.org/releases/12.0R/hardware.html FreeBSD 12.0-RELEASE Hardware Notes].
 
See also The [https://www.freebsd.org/releases/12.0R/hardware.html FreeBSD 12.0-RELEASE Hardware Notes].
  
====How to get information about loaded modules into the kernel====
+
===How to get information about loaded modules into the kernel===
 
* You get some information with the command <code>kldstat</code>
 
* You get some information with the command <code>kldstat</code>
 
* The '''[[kldstat]]'''  utility displays the status of any files dynamically linked into the kernel. More information on [https://www.freebsd.org/cgi/man.cgi?query=kldstat&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports FreeBSD]
 
* The '''[[kldstat]]'''  utility displays the status of any files dynamically linked into the kernel. More information on [https://www.freebsd.org/cgi/man.cgi?query=kldstat&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports FreeBSD]
  
====How to get information about loadable kernel modules====
+
===How to get information about loadable kernel modules===
 
* Loadable kernel modules related to hardware, firmware, graphics driver. and virtual machines you will find in the directory of your system: ''/boot/[[Modules|'''modules''']]/'' and ''/boot/[[Kernel|'''kernel''']]/''<br/>
 
* Loadable kernel modules related to hardware, firmware, graphics driver. and virtual machines you will find in the directory of your system: ''/boot/[[Modules|'''modules''']]/'' and ''/boot/[[Kernel|'''kernel''']]/''<br/>
 
All files end with ''.ko''.
 
All files end with ''.ko''.
  
====How to load kernel modules====
+
===How to load kernel modules===
 
Once the machine has booted, you may load a module with the command <code>kldload</code>, unload with <code>kldunload</code> and list with <code>'''[[kldstat]]'''</code>. <br/>
 
Once the machine has booted, you may load a module with the command <code>kldload</code>, unload with <code>kldunload</code> and list with <code>'''[[kldstat]]'''</code>. <br/>
 
Modules can also be loaded from the loader before the kernel starts,  automatically if you makes an entry in the ''/boot/loader.conf''.<br/>
 
Modules can also be loaded from the loader before the kernel starts,  automatically if you makes an entry in the ''/boot/loader.conf''.<br/>
Line 160: Line 160:
 
See also: [[Kernel Competence]]
 
See also: [[Kernel Competence]]
  
====GhostBSD does not support APM at the moment====
+
===GhostBSD does not support APM at the moment===
 
Vic Thacker, [18.03.20 22:29] on Telegram
 
Vic Thacker, [18.03.20 22:29] on Telegram
 
[In reply to Gerard van Breemen]
 
[In reply to Gerard van Breemen]
Line 178: Line 178:
 
         esac
 
         esac
  
====HowTo setup Wifi Edimax EW-7811utn USB Dongle for GhostBSD====
+
===HowTo setup Wifi Edimax EW-7811utn USB Dongle for GhostBSD===
 
[https://forums.ghostbsd.org/viewtopic.php?f=64&t=526 HowTo setup Wifi Edimax EW-7811utn USB Dongle for GhostBSD]
 
[https://forums.ghostbsd.org/viewtopic.php?f=64&t=526 HowTo setup Wifi Edimax EW-7811utn USB Dongle for GhostBSD]
  
Line 185: Line 185:
 
[https://forums.ghostbsd.org/viewtopic.php?t=570 RealTek RTL8188CE Wii-Fi PCI network hardware setup]
 
[https://forums.ghostbsd.org/viewtopic.php?t=570 RealTek RTL8188CE Wii-Fi PCI network hardware setup]
  
====Radeon Mobility HD 4200: Invisible Mouse Cursor====
+
===Radeon Mobility HD 4200: Invisible Mouse Cursor===
  
 
Unread post by sweeney » Tue Feb 04, 2020 4:46 am [https://forums.ghostbsd.org/viewtopic.php?f=65&t=1563 GhostBSD Forum]
 
Unread post by sweeney » Tue Feb 04, 2020 4:46 am [https://forums.ghostbsd.org/viewtopic.php?f=65&t=1563 GhostBSD Forum]
Line 204: Line 204:
  
  
====How to install driver to graphic card Park (Mobility Radeon HD 5430/5450/5470)====
+
===How to install driver to graphic card Park (Mobility Radeon HD 5430/5450/5470)===
  
 
Post by sweeney » Tue Feb 04, 2020 5:31 am on [https://forums.ghostbsd.org/viewtopic.php?f=65&t=1235&p=7958#p7958 GhostBSD Forum]:
 
Post by sweeney » Tue Feb 04, 2020 5:31 am on [https://forums.ghostbsd.org/viewtopic.php?f=65&t=1235&p=7958#p7958 GhostBSD Forum]:
Line 228: Line 228:
 
I hope this helps"
 
I hope this helps"
  
====How to set mouse cursor if bit too sensitive and fast====
+
===How to set mouse cursor if bit too sensitive and fast===
 
[https://forums.ghostbsd.org/viewtopic.php?f=58&t=1163&p=6686&hilit=mouse#p6413 mouse cursor - bit too senstive and fast even on lowest setting]
 
[https://forums.ghostbsd.org/viewtopic.php?f=58&t=1163&p=6686&hilit=mouse#p6413 mouse cursor - bit too senstive and fast even on lowest setting]
  
====How is the battery optimization for GhostBSD====
+
===How is the battery optimization for GhostBSD===
 
Eric Turgeon, [21.02.20 11:50]
 
Eric Turgeon, [21.02.20 11:50]
 
[In reply to Jared]
 
[In reply to Jared]
 
sudo rc-update add powerd default helps a lot.
 
sudo rc-update add powerd default helps a lot.
  
====Some issues with WLAN/WiFi====
+
===Some issues with WLAN/WiFi===
 
Proposals from the community see on special page [[WLAN]]
 
Proposals from the community see on special page [[WLAN]]
  
====drm-fbsd12.0-kmod====
+
===drm-fbsd12.0-kmod===
 
'''Very important''': when I send the next @GhostBSD packages everyone that uses drm-fbsd12.0-kmod need to make a sudo pkg upgrade -f drm-fbsd12.0-kmod or pkg upgrade -f if not on reboot you will have a kernel panic at less for intell."<br/>
 
'''Very important''': when I send the next @GhostBSD packages everyone that uses drm-fbsd12.0-kmod need to make a sudo pkg upgrade -f drm-fbsd12.0-kmod or pkg upgrade -f if not on reboot you will have a kernel panic at less for intell."<br/>
 
Source: Eric on Telegram 4.2.2020 15:23
 
Source: Eric on Telegram 4.2.2020 15:23
 
----
 
----
  
====How to install Nvidia drivers?====
+
===How to install Nvidia drivers?===
 
   
 
   
 
Look on the linked pages:
 
Look on the linked pages:
Line 253: Line 253:
 
----
 
----
  
====Hints for the use of Graphic Carts====
+
===Hints for the use of Graphic Carts===
  
 
On the [https://forums.ghostbsd.org/viewforum.php?f=65 GhostBSD Forum]
 
On the [https://forums.ghostbsd.org/viewforum.php?f=65 GhostBSD Forum]
 
----
 
----
  
===Files and file systems===
+
==Files and file systems==
  
====Search for Files on GhostBSD====
+
===Search for Files on GhostBSD===
 
There is a very useful application called catfish that can be used to search your computer for files.
 
There is a very useful application called catfish that can be used to search your computer for files.
 
Read more on the [https://forums.ghostbsd.org/viewtopic.php?f=76&t=741 GhostBSD Forum].
 
Read more on the [https://forums.ghostbsd.org/viewtopic.php?f=76&t=741 GhostBSD Forum].
Line 268: Line 268:
  
  
===Mount / unmount===
+
==Mount / unmount==
  
====How to mount Ext4 internal SSD====
+
===How to mount Ext4 internal SSD===
 
[https://forums.ghostbsd.org/viewtopic.php?f=63&t=782 Mount Ext4 internal SSD]
 
[https://forums.ghostbsd.org/viewtopic.php?f=63&t=782 Mount Ext4 internal SSD]
  
====Show USB devices====
+
===Show USB devices===
 
* Connect USB device
 
* Connect USB device
 
* Open a terminal
 
* Open a terminal
Line 280: Line 280:
 
* gpart will show you the device da'''x''' and the partition s'''x'''
 
* gpart will show you the device da'''x''' and the partition s'''x'''
  
====mount NTFS====
+
===mount NTFS===
  
 
* Do first <code>gpart show</code>  
 
* Do first <code>gpart show</code>  
Line 293: Line 293:
 
Thanks to:[https://forums.ghostbsd.org/viewtopic.php?f=91&t=1532 user hunghung]
 
Thanks to:[https://forums.ghostbsd.org/viewtopic.php?f=91&t=1532 user hunghung]
  
====mount FAT32====
+
===mount FAT32===
 
See also [https://www.freebsd.org/cgi/man.cgi?query=msdosfs&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports msdosfs]
 
See also [https://www.freebsd.org/cgi/man.cgi?query=msdosfs&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports msdosfs]
 
* Do first <code>gpart show</code>
 
* Do first <code>gpart show</code>
Line 308: Line 308:
  
  
===[[System]] management===
+
==[[System]] management==
  
====[[Rc|rc]]====
+
===[[Rc|rc]]===
 
Command scripts for auto-reboot and daemon startup|br/>
 
Command scripts for auto-reboot and daemon startup|br/>
 
See: [https://www.freebsd.org/cgi/man.cgi?query=rc&apropos=0&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html Man Page]
 
See: [https://www.freebsd.org/cgi/man.cgi?query=rc&apropos=0&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html Man Page]
  
====[[Pkg|pkg]] is locked by an other process====
+
===[[Pkg|pkg]] is locked by an other process===
 
<code>sudo killall -9 pkg && sudo pkg update -f && sudo pkg upgrade -y</code><br/>
 
<code>sudo killall -9 pkg && sudo pkg update -f && sudo pkg upgrade -y</code><br/>
 
Suggestion from #hd_scania on Telegram on 25.01.2020 at 11:10
 
Suggestion from #hd_scania on Telegram on 25.01.2020 at 11:10
  
====System sticks during shutdown====
+
===System sticks during shutdown===
 
If your system sticks during shutdown at: Saving dependencies cache <br/>
 
If your system sticks during shutdown at: Saving dependencies cache <br/>
 
* Do: <br/><code>sudo rc-update delete savecache shutdown</code> <br/>
 
* Do: <br/><code>sudo rc-update delete savecache shutdown</code> <br/>
Line 325: Line 325:
  
  
====How to find multiple interface language packs on GhostBSD====
+
===How to find multiple interface language packs on GhostBSD===
 
* Go to [[Profile]]
 
* Go to [[Profile]]
  
====How to set [[OpenRC]] parallel service startup====
+
===How to set [[OpenRC]] parallel service startup===
 
Put in <br/>
 
Put in <br/>
 
<code>/etc/rc.conf </code><br/>
 
<code>/etc/rc.conf </code><br/>
Line 336: Line 336:
  
  
====What to do if after reboot the sshd stops====
+
===What to do if after reboot the sshd stops===
  
 
* With status: stopped
 
* With status: stopped
Line 346: Line 346:
 
<code>rc-update add sshd</code>
 
<code>rc-update add sshd</code>
  
====Where can I find [[OpenRC]] documented====
+
===Where can I find [[OpenRC]] documented===
  
 
See link above and the following:
 
See link above and the following:

Revision as of 04:04, 19 March 2020

Welcome to theIcon Disti GhostBSD.png How To

Contents

Introduction to Tips and Tricks

On this page we will collect some tips and tricks from users to users. It is not always sure, that a tip helps for your issue, but if so, you can comment on the Discussions page or write you solution in this list with your name as source.

It is not a forum. If you have a question and no answer yet, go to GhostBSD Forums.
But if you got a solution for your issues, you are welcome to describe it here in a short way.

Some proposals need to get there own pages, because of there volume. (see the blue links)


OS related

How to move from Trident to GhostBSD?

Here you will find a Step by step tutorial on GitHub.

How to pack a FreeBSD installation image with custom content

Packmule packs a FreeBSD installation image with custom content, making it useful for generating install images with all your normal utilities included. The added packages are installed along with the regular contents of FreeBSD. Generated images have the form FreeBSD-*-packed.iso. Installation can proceed as normal with the packed software showing up on the newly installed system alongside the FreeBSD base.

How to install GhostBSD/FreeBSD on a ThinkPad T530.

Here you will find a guide to a fully functional installation

How to get some information about your running system

  • Get some system information, kernel version, release date by using sysctl
  • With

uname -a
You get: FreeBSD yourname.ghostbsd-pc.home 12.1-STABLE FreeBSD 12.1-STABLE GENERIC amd64
It is a summary of kernel information, you can get with sysctl NAME.

How to get more information about your running system

  • pkg info | grep os-generic
  • uname -U

How to upgrade from a prerelease

Eric Turgeon, [12.03.20 02:07] on Telegram

  • os pkg upgrade

Desktop related

How to adjust lcd screen brightness?

Eric Turgeon, [02.03.20 14:12] [In reply to Hiencv] acpi_video_load="YES" is needed in /boot/loader.conf for that to work

Neville Goddard, [02.03.20 14:09] [In reply to Hiencv] Does this work? xrandr --output HDMI-0 --brightness 0.9


Hiencv, [02.03.20 14:15] [In reply to Neville Goddard] It works for me. Tks! Did you try to use the brightness from your keyborad? - It doesn't work.


If you are unable to resume your desktop after suspend (lid closed)

This tips could help:


Sound related

How to solve if no USB Sound 2.1

Look at this tutorial


Hints from the Community

GhostBSD Forum


Virtualization

How to install VirtualBox on GhostBSD

Guide to install VirtualBox on GhostBSD



Software

How to find Software on GhostBSD

How to Run Orchestrator on Ghost/FreeBSD

Use this tip: percona

Using Ports

"Don't use FreeBSD ports via portsnap on GhostBSD Install it from GhostBSD ports
sudo git clone https://github.com/ghostbsd/ghostbsd-ports/ /usr/ports
Source: ericbsd

Looking for devtools?

"Devtools are not installed by default" on GhostBSD You have to install them:
sudo pkg install os-generic-userland-devtools Source: ericbsd

Like to change the display manager

sudo rc-update delete lightdm
sudo rc-update add gdm
Tip from Eric on Telegram at 27.01.2020 17:09

Migrate from Linux to GhostBSD and take your E-Mails and bookmarks with you

You would like to move from a Linux OS to GhostBSD and take your settings and E-Mails from Thunderbird and bookmarks from Firefox to GhostBSD.
Go on Linux to .thunderbird and .mozilla in your home directory and safe each folder /xyz.default and insert the contents in the folder /xyz.default-release on GhostBSD. xyz is only a replacement for bk3yc9n7 or something similar.
This worked from Debian to GhostBSD. Tested by Slughorn


Hardware / Kernel / Driver related

How to find out if my hardware is detected

Use the dmesg command or look into the file /var/run/dmesg.boot.

How can I find out if my hardware is supported

The first step should be: Look on both pages: Kernel and Modules first.
See also The FreeBSD 12.0-RELEASE Hardware Notes.

How to get information about loaded modules into the kernel

  • You get some information with the command kldstat
  • The kldstat utility displays the status of any files dynamically linked into the kernel. More information on FreeBSD

How to get information about loadable kernel modules

  • Loadable kernel modules related to hardware, firmware, graphics driver. and virtual machines you will find in the directory of your system: /boot/modules/ and /boot/kernel/

All files end with .ko.

How to load kernel modules

Once the machine has booted, you may load a module with the command kldload, unload with kldunload and list with kldstat.
Modules can also be loaded from the loader before the kernel starts, automatically if you makes an entry in the /boot/loader.conf.
For example:
fuse_load="YES"
vboxdrv_load="YES"

See also: Kernel Competence

GhostBSD does not support APM at the moment

Vic Thacker, [18.03.20 22:29] on Telegram [In reply to Gerard van Breemen] GhostBSD does not support APM at the moment.

       case ${SYSCTL_N} hw.machine_arch in
       i386)
               # Warn user about acpi apm compatibility support which
               # does not work with apmd.
               if [ ! -e /dev/apmctl ]; then
                       ewarn "/dev/apmctl not found; kernel is missing apm(4)"
               fi
               ;;
       *)
               return 1
               ;;
       esac

HowTo setup Wifi Edimax EW-7811utn USB Dongle for GhostBSD

HowTo setup Wifi Edimax EW-7811utn USB Dongle for GhostBSD


How to setup RealTek RTL8188CE Wii-Fi PCI network hardware

RealTek RTL8188CE Wii-Fi PCI network hardware setup

Radeon Mobility HD 4200: Invisible Mouse Cursor

Unread post by sweeney » Tue Feb 04, 2020 4:46 am GhostBSD Forum

"I have an interesting issue. When I boot into GhostBSD 20.01 on my old Toshiba Satelitte, BSD does detect and uses the AMD Radeon Mobility 4200HD chipset (RS880) sucessfully, but I have a missing mouse cursor. You are still able to click and move the cursor, but it rather difficult to use as you cannot see it current location. I installed GhostBSD using VESA mode and then installed the radeonkms driver using pkg. I have added kld_list="/boot/modules/radeonkms.ko" to rc.conf using sysrc but xorg does not use the driver. The driver seems loading as the console changes screen resolution but xorg does not recognise it. So currently I stuck at a lower screen resolution and without hardware acceleration. The FreeBSD forums do mention a similar issue but I cannot get xorg to use the radeonkms driver in order to try the workaround. Can I edit the live ISO to try the workaround and reinstall? https://forums.freebsd.org/threads/invi ... ter.70572/ https://bugs.freebsd.org/bugzilla/show_ ... ?id=237642

I managed to get it working.

I had to change the /etc/X11/xorg.conf from "VESA" to "radeon" under the Section "Device" and rebooted. Done!

As per the following post: https://forums.ghostbsd.org/viewtopic.p ... 7958#p7958":


How to install driver to graphic card Park (Mobility Radeon HD 5430/5450/5470)

Post by sweeney » Tue Feb 04, 2020 5:31 am on GhostBSD Forum:

"I've got mine working! Make sure that have the drm-kmod package installed (of which you may already have). Run the following commands as root:

pkg install drm-kmod

This should make sure that drivers are installed. Being a Radeon Mobilty HD 7000 and earlier, we need to set to set the radeondms driver to load at startup:

sysrc kld_list="/boot/modules/radeonkms.ko"

Next edit the /etc/X11/xorg.conf so the "Device" section looks like this:

  • Section "Device"
  • Identifier "Card0"
  • Driver "radeon"
  • EndSection

Note: It is better to move or delete the /etc/X11/xorg.conf file and force xorg to auto-detect. Now reboot. If the driver is loading at startup, you will see the console output change screen resolution before xorg starts. Note the screen resolution will have not changed, but you should be able to go to System => Preferences => Hardware => Displays, and if xorg is using the right driver, you should be able to set the desired resolution. I hope this helps"

How to set mouse cursor if bit too sensitive and fast

mouse cursor - bit too senstive and fast even on lowest setting

How is the battery optimization for GhostBSD

Eric Turgeon, [21.02.20 11:50] [In reply to Jared] sudo rc-update add powerd default helps a lot.

Some issues with WLAN/WiFi

Proposals from the community see on special page WLAN

drm-fbsd12.0-kmod

Very important: when I send the next @GhostBSD packages everyone that uses drm-fbsd12.0-kmod need to make a sudo pkg upgrade -f drm-fbsd12.0-kmod or pkg upgrade -f if not on reboot you will have a kernel panic at less for intell."
Source: Eric on Telegram 4.2.2020 15:23


How to install Nvidia drivers?

Look on the linked pages:


Hints for the use of Graphic Carts

On the GhostBSD Forum


Files and file systems

Search for Files on GhostBSD

There is a very useful application called catfish that can be used to search your computer for files. Read more on the GhostBSD Forum. Author: Neville Goddard



Mount / unmount

How to mount Ext4 internal SSD

Mount Ext4 internal SSD

Show USB devices

  • Connect USB device
  • Open a terminal
  • Change to root
  • Write: # gpart show
  • gpart will show you the device dax and the partition sx

mount NTFS

  • Do first gpart show
  • Install: ntfs-3g
  • Write: # ntfs-3g /dev/da5s1 /mnt
  • da5s1 is an example
  • /mnt is the mountpoint you wish
  • open Thunar and go to /mnt
  • Thunar shows you the content of your device and you can work with it
  • Caja does not allways

Source: Tested by Slughorn
Thanks to:user hunghung

mount FAT32

See also msdosfs

  • Do first gpart show
  • Write:# mount -t msdosfs /dev/da5s1 /mnt
  • da5s1 is an example
  • /mnt is the mountpoint you wish
  • open Thunar and go to /mnt
  • Thunar shows you the content of your device and you can work with it
  • Caja does not always

Tested by Slughorn
Thanks to:user hunghung



System management

rc

Command scripts for auto-reboot and daemon startup|br/> See: Man Page

pkg is locked by an other process

sudo killall -9 pkg && sudo pkg update -f && sudo pkg upgrade -y
Suggestion from #hd_scania on Telegram on 25.01.2020 at 11:10

System sticks during shutdown

If your system sticks during shutdown at: Saving dependencies cache

  • Do:
    sudo rc-update delete savecache shutdown

That will remove save cache.
Tip from Eric


How to find multiple interface language packs on GhostBSD

How to set OpenRC parallel service startup

Put in
/etc/rc.conf
rc_parallel="YES"
"But I don't think it works properly yet."
Source: Neville Goddard on Telegram on 16.02.2020 at 15:40


What to do if after reboot the sshd stops

  • With status: stopped

Neville Goddard, [12.03.20 00:09] on Telegram
[In reply to Ulf Danielsson]
To keep the service going after reboot run

rc-update add sshd

Where can I find OpenRC documented

See link above and the following:



More tips and tricks




Back to the Icon Disti GhostBSD.pngApplications