After decades of using rc.conf by the seat of my pants, I'm just starting to try to really understand how the whole rc system is meant to work. From what I've read so far, it seems to me that the order of things listed in /etc/rc.conf is unimportant, but I'm just gathering that by implication; I...
Hey all,
I am pretty new to FreeBSD. I have been experimenting with it in some qemu vms.
One thing that has confused me is that with the qcow2 releases I have (amd64 and riscv64) there are many duplicate lines in /etc/rc.conf
$ cat /mnt/etc/rc.conf
hostname="freebsd"
ifconfig_DEFAULT="DHCP...
I have stumbled on a glitch of sysrc (apparently).
I am trying to set a system variable to a string containing quotes like so:
# sysrc -f "$rootDir/etc/rc.conf" ssh_tunnel_connection_1="abc \"def\" gah"
ssh_tunnel_connection_1: abc def gah -> abc def gahdef gah
# sysrc -f...
Hi all!
Is it possible to load the wg-interface configuration through a setting in rc.conf without using the devd hook?
On FreeBSD v.14 my wireguard service run under that config:
# cat /boot/loader.conf | grep wg
if_wg_load="YES"
#
# cat /etc/rc.conf | grep wg
cloned_interfaces="wg"...
Hey guys, I'm currently installing freebsd in a kvm virtual machine, with a gtx 980, however, I'm unable to get Xorg working as it errors with "no screens found (EE)" when i try startx.
Currently, I have done:
pkg install nvidia-driver
nano /etc/rc.conf
-> added the line...
I decided to post a simple working setup from my FreeBSD box to help others that were struggling to find a working system to learn from like I was.
This isn't meant to be an end-all solution but rather a reference and learning opportunity and I would gladly accept help and suggestions on how to...
I'm looking for a way of using multiple rc.conf.local files, as far as I know this is not possible. Maybe there is someone who is aware how to do it? rc.conf & rc.conf.local are not enough/not the best for my use-case
I need to configure /etc/rc.conf on the FreeBSD-12.3p5 host system with one physical NIC so that two virtio network devices can be configured in the guest. I already have a jail running on this host with one virtio i/f which works.
My current rc.conf relating to networking contains these...
Named starts on a FreeBSD 13.1 release desktop, apache24
It works!
but I have this error:
named status
/etc/rc.conf: Set: not found
/etc/rc.conf: Set: not found
named is running as pid xxx.
Relevant entries in my /etc/rc.conf
syslogd_flags="-ss -vv"
sendmail_enable="NONE"
... etc...
Hello,
I've set up a ZFS pool, with each partition in it (da0p1 through da3p1) being encrypted with GELI.
(I know ZFS has it's own thing for encryption, but for an unrelated reason I won't use that for this pool.)
When I try to attach the disks at startup by including the following in...
Hi! Recently I've tried freebsd, it is much more awesome than those linux distros, and I think this is what an unix-like OS should actually be. However, I've encounter some problems that are beyond my knowledge:
I've install the OS using VirtualBox, and VBox reports that "Mouse Integeration" is...
There's a FreeBSD recommendation to use /boot/loader.conf for nvidia (with the latest driver for NVIDIA).
Is this use of loader.conf appropriate (with FreeBSD 13.0-RELEASE), or somewhat archaic?
loader.conf(5)
Partly because I use AMD hardware, it took me a few weeks to realise that $amd_enable is not related to AMD.
Is the truncation below – in /var/log/messages – more likely to be a bug in the base system, the port, or both?
% grep amd_enable /var/log/messages
Nov 10 06:30:09...
How to configure in /etc/rc.conf an interface with "ether random" so that the MAC address is not the same as the main interface?
For example when creating a VLAN I use something like:
cloned_interfaces="vlan0"
create_args_vlan0="vlan 4000 vlandev em0 mtu 1400 fib 1"
ifconfig_vlan0="ether...
PLEASE IGNORE THIS !
This post was made late in the night in the middle of frenzied network troubleshooting. I was not thinking stright. It is not possible to configure DHCP for ue0 on bootup, and given the nature of USB Tethering, it is not useful even if it did exist. You will always have the...
Hello,
I have a problem with my vlan configuration and sshd
my virtual machine is connected do a dhcp server,
network is 10.0.2.0
netmask is 255.255.255.0
dhcp-range is 10.0.2.2-100
In my rc.conf
ifconfig_em0="DHCP"
em0 will get ip 10.0.2.15
with this, sshd is reachable on 10.0.2.15
but...
I am setting up a gemini protocol server written in go called "molly brown" link to git repository.
I have placed its bianary file in /usr/local/sbin/molly-brown
I placed its initscript at /etc/rc.d/molly
This is its initscript:
#!/bin/s#!/bin/s#!/bin/s#!/bin/s#!/bin/s#!/bin/s#!/bin/sh
#...
I'm trying to enable ssh access to my laptop however it seems that ipfw blocks it, despite opening the port. I'm on FreeBSD 13.
Following is the rc.conf section configuring the firewall, as well as the output from ipfw -t list after trying to ssh into my laptop from my phone (using termux)...
Hi all,
I've been struggling for an hour to pass additional arguments to the Prometheus node_exporter daemon in /etc/rc.conf.
The help for node_exporter provides an example argument (mount points to ignore) as:
--collector.filesystem.ignored-mount-points="^/(dev)($|/)"...
I am seeking help here as despite reading the documentation for rc.conf I am clearly missing something. I wish vtnet0 to be disabled on boot along with ipv6 being disabled on vtnet1. I am perhaps being lead astray from the output so forgive me, I am a new user to BSD.
rc.conf...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.