1. grahamperrin

    Solved /etc/rc: WARNING: $amd_enable is not set properly - see rc.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...
  2. nbari

    Solved ether random

    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...
  3. F

    Solved No route to host using USB Tethering (rc.conf DHCP ifconfig not setting up ue0)

    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...
  4. F

    Unexpected behavior of ssh(d) with vlan

    Hello, I have a problem with my vlan configuration and sshd my virtual machine is connected do a dhcp server, network is netmask is dhcp-range is In my rc.conf ifconfig_em0="DHCP" em0 will get ip with this, sshd is reachable on but...
  5. A

    Solved Service does not exist or is not executable

    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 #...
  6. H

    Solved IPFW workstation setting blocking ssh

    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)...
  7. scotia

    Need help specifying args in rc.conf for node_exporter

    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)($|/)"...
  8. jsaunders

    Solved ipv6 and downing interfaces

    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...
  9. F

    Problem with creating virtual devices in rc.conf

    Hello, I*m relativley new to Unix, Shell and FreeBSD. So, please, please, are not to angry with me, if my question is stupid. I did allways some internet-research, but could not find any answers to my problem. I'm running 12.1-RELEASE-p5 FreeBSD 12.1-RELEASE-p5 GENERIC amd64 as guest in...
  10. bagas

    jail network interface lo

    Hello. Please tell me. I have several jails, in jails you need to raise the lo0 interface. How should I do it? My system FreeBSD 11.3.
  11. A

    How to add many IPV6 ips ? Adding rc.conf aliases just hangs server

    What is the proper way to enable FreeBSD to listen on lets say 4000 IPv6? Adding 4000 them at rc.conf as ifconfig_igb0_aliasXXXX=... " just hangs my server after /etc/netstart All ip's are from 1 subnet but they are not sequential .
  12. R

    How to connect to Samba Server?

    Hey guys, (running freebsd 12.1, samba48) I have initiated a samba server, with the smb4.conf and the rc.conf file having samba_server_enable = "YES" line at the bottom. I am running FreeBSD off a virtual machine, and it has an inet address of (checked using ifconfig). In the...
  13. J

    sysrc name_enable="YES" versus service name enable

    It appears both these commands do exactly the same thing. Which one do you guys prefer to use?

    geli initialization at rc.conf for gmirror drive

    How can I do that? user@serv:~ % l /dev/mirror/mirror 119 crw-r----- 1 root operator - 0x77 Aug 8 14:01:02 2019 /dev/mirror/mirro rc.conf geli_devices="mfid0p8 mirror" geli_mfid0p8_flags="-p -k /root/1.key" geli_mirror_flags="-p -k /root/2.key" mirror/mirror does not work as well.
  15. M

    Solved IPV6 aliases in rc.conf

    I am currently running FreeBSD 12.0-RELEASE-p2, and I can't figure out how to create both IPV4 and IPV6 aliases for a loopback (lo1) interface using rc.conf on boot. Here is a snippet of my /etc/rc.conf: cloned_interfaces="lo1" ifconfig_lo1="inet netmask"...
  16. G

    freebsd 12 no route to host / PKG install

    Two weeks ago (end of December 2019) I installed FreeBSD from USB stick with FREEBSD-12.0-RELEASE-amd64-dvd.iso I recall only selecting ipv4 and setting the up to the static IP I wanted my freeBSD box to use. Two days ago there was bad weather and my R7000 was not plugged into UPS during a...
  17. B

    Package name vs service name in rc.conf

    Hi all, Can someone help me understand the reason why package names configured in rc.conf use an underscore while the service name uses a dash/hyphen? Examples: sysrc avahi_daemon_enable=YES sysrc emby_server_enable=YES but service avahi-daemon start service emby-server start I see the...
  18. Donald Baud

    equivalence between FreeBSD and Ubuntu

    I recently found myself forced to work with Ubuntu. I would like to ask what are the equivalence for some common administration tasks. What is the equivalent of: /etc/rc.conf where do I add the SERVICE_ENABLE="YES" and other flags? where do I store the ethernet config on Ubuntu? I read about...
  19. M

    Solved IPv6 and rc.conf

    How do I properly add IPv6 IP addresses in my rc.conf file in FreeBSD 11.1? I was assigned a /64 to my server. Also, how do I apply the changes without rebooting? /etc/netstart ? This is how I am adding them now (IP address has been modified for security) ...
  20. J

    Solved ifconfig persistent pflog1 interface

    Hello forum, I am trying to create a persistent pflog1 interface. I am successful with ifconfig but am trying to add this interface through rc.conf. After reading the manuals for both ifconfig and rc.conf and trying many combinations using ifconfig and ifconfig_, none of them will create the...