Questions tagged [bsd]

Berkeley Software Distribution is a UNIX-derived operating system developed at the University of California from 1977 through 1995.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Permissions for block devices in FreeBSD

If I look at the permissions of the block devices on a freeBSD box I see the following. crw-r----- 1 root operator 0x9a Oct 29 17:39 ada0 crw-r----- 1 root operator 0x9c Oct 29 17:39 ...
camelccc's user avatar
  • 255
11 votes
4 answers
5k views

Linux / BSD "quickly" wipe a USB drive?

I'm clearing a drive with dd. It's a USB device and 120GB and it's taking a very long time: dd if=/dev/zero of=/dev/da0 bs=1M status=progress I have tried messing with the block size (smaller and ...
Rino Bino's user avatar
  • 593
0 votes
1 answer
3k views

How to add a static route to a host via interface using 'route' tool?

I'm new to *bsd systems. Usually in linux-based I add routes like that: # eth0 ip address ip a add 10.100.1.2 dev eth0 # gw is accessible via eth0 interface ip route add 10.100.2.1 dev eth0 # ...
Emilien Vidal's user avatar
0 votes
1 answer
114 views

Different behavior of SGID in *BSD and Linux

I came across an interesting thing: on BSD systems a new file will have group set to the group of the directory. On System V systems it will have the primary group of the user that created the file. ...
Dima's user avatar
  • 1
0 votes
1 answer
190 views

Is XNU based on FreeBSD or OpenBSD?

I'm curious, is the xnu kernel based on FreeBSD, OpenBSD, or some other BSD distribution? Thank you, James Pedersen
user2279952's user avatar
2 votes
1 answer
111 views

why does "pkg_info -Q bash" on OpenBSD give me an "empty" result?

i installed a fresh OpenBSD server on a Linux - Proxmox server with kvm. I tried to to install bash but pkg_info returns "empty": root@openbsd:~# echo $PKG_PATH https://cdn.openbsd.org/pub/...
joern42's user avatar
  • 21
0 votes
0 answers
101 views

ARP Connectivity Issues Between OpenMediaVault Server and BSD Jails

On my network I have two servers. Server1 is running TrueNas(BSD) with multiple applications running in iocage jails. It's connected to the network with a 3-nic LAGG. Server2 is an OpenMediaVault (...
Jason's user avatar
  • 58
0 votes
1 answer
2k views

How to disable opensshd's self-introductory banner

I have opensshd listening on the non-standard tcp port of 2222. In sshd_config I have ... Banner none VersionAddendum none If from a client host I do a telnet ip.of.server 2222 then I see the ...
Keve's user avatar
  • 115
1 vote
1 answer
354 views

Copy/Snyc files with extended attributes between Linux and BSD

I would like to copy/sync files from a Linux box to a FreeBSD server. As the files tend to have extended attributes, I want to preserve these on the target file system. The source filesystems are ...
THX's user avatar
  • 263
4 votes
1 answer
4k views

Force ZFS to ignore checksum errors without removing the offending disk

EDIT: (see the end of this question) after more digging this appears to be a system USB issue and not ZFS that's causing the drives to be kicked. I'll leave this question up for posterity, because I'...
Nick Sweeting's user avatar
1 vote
0 answers
410 views

OPNsense auto nat between two interfaces

Having trouble with ONPSense configuration. Explanation I've just configured a OPNSense Fw, which has 3 interfaces: WAN, LAN, ZRT LAN: 192.168.101.1/23 (DHCP server from 192.168.101.50 to 192.168....
Hele's user avatar
  • 111
6 votes
1 answer
3k views

Resize zfs pool

We are using Digital Oceans block storage feature on our FreeBSD system. When we add a new block storage we get: da0 at vtscsi0 bus 0 scbus0 target 0 lun 1 da0: <DO Volume 1.5.> Fixed Direct ...
larsemil's user avatar
  • 299
7 votes
1 answer
7k views

Install Java 9, 10, 11, or 12 on FreeBSD 11.1

When I look to my up-to-date Ports collection: cd /usr/ports/java && ls -d openjdk* … I see only versions 6, 7, and 8 of Java in the OpenJDK releases: openjdk6 openjdk6-jre openjdk7 ...
Basil Bourque's user avatar
1 vote
1 answer
329 views

How to force Apache to skip binding to failed interface? [closed]

I run Apache inside VirtualBox on a laptop. I also used IP based VirtualHost-s. I want to be able to have LAN access whenever I move about, to certain pre-known networks. The IP, however, is not "...
Ate Somebits's user avatar
0 votes
0 answers
46 views

accidentially modifying the binary of a file whilst it is running

I have several FreeBSD boxes mix of V10 and V11 that all have some binaries mounted over nfs. unfortunately a situation came about when one was executed whilst it was still being uploaded to the nfs ...
camelccc's user avatar
  • 255
2 votes
1 answer
3k views

During OpenBSD installation, what is "DNS domain name" for?

During the installation of OpenBSD 6.1, right after setting up network interfaces, the installer prompts me: DNS domain name? (e.g. 'bar.com') [my.domain] I am not sure what this setting is for, I ...
Jessica Nowak's user avatar
1 vote
1 answer
2k views

Where is Apache's 000-default.conf in FreeBSD?

Where is Apache 2.4's 000-default.conf in FreeBSD 11? It seems it does not exist in FreeBSD 11.
djangoman's user avatar
  • 125
1 vote
0 answers
64 views

BSD jail availability in the event of NFS server failure

I have some BSD systems where I am considering the use of jails for processes that should be isolated from the rest of the system. The host system has some NFS mounts, and there is the issue that in ...
camelccc's user avatar
  • 255
2 votes
1 answer
8k views

How do you expand /var in pfsense when you run it in memory?

I have a pfsense box running 32GBs of RAM. I enabled /var and other directories to be in RAM due to have so much space and wanted to improve performance. How do you alter and increase the size of /...
Jason's user avatar
  • 3,941
5 votes
2 answers
1k views

Using bash shell when logging into FreeBSD ssh

I'm searching a way to be sure my commands are executed by bash on some FreeBSD 11 machines that use csh as default shell. The following is my code that works on Linux CentOS / Debian / MacOS X / ...
Orsiris de Jong's user avatar
0 votes
2 answers
748 views

pf shortcuts for block quick

Looking at https://www.openbsd.org/faq/pf/shortcuts.html it's not clear to me if these are the same- block quick from <bruteforce> and- block in quick from <bruteforce> to any block out ...
hotkarl's user avatar
  • 165
0 votes
1 answer
2k views

Default http proxy under FreeBSD

I'd like to set default http proxy for all users under my FreeBSD environment. I modified /etc/login.conf file by adding HTTP_PROXY variable: default:\ :passwd_format=sha512:\ :copyright=/etc/...
Daniel's user avatar
  • 15
11 votes
2 answers
13k views

BSD nc (netcat) does not terminate on EOF

Host A: tar cf - stuff | dd | nc -N -l 12987 Host B: nc a.example.com 12987 | dd | tar tf - On host A dd prints its summary after tar completes. Thus it is clear, that tar closes the pipe/file -...
georg's user avatar
  • 323
2 votes
0 answers
74 views

How do I make su wait before retries in freebsd?

I want to make attempts at using the su command timeout for 1 second between tries. Alas, the Google and StackExchange, and rtfm have not yielded results.
fizban's user avatar
  • 21
-1 votes
1 answer
70 views

BSD Connection 'Drops'

I've been setting up a BSD server and every thing went fine. It still works fine except on my own IP address I cannot connect to my webserver at all and with SSH I can login but then as soon as I type ...
CakeSneer's user avatar
  • 109
2 votes
2 answers
532 views

Layer 3 routing based on HTTP packet content

I'm running a HTTP proxy service and want to route traffic to various Layer 3 TUNs based on the contents of HTTP packets (e.g. HTTP headers). I'm using BSD and Linux to do this but it doesn't look ...
Joshua Griffiths's user avatar
-2 votes
1 answer
236 views

What's a good choice for a general-purpose "non-advanced" filesystem with Linux R/W and Windows/BSD R/O support?

I'd like advice and recomendations as to what filesystem would be ideal for me to use for a 320GB HDD that will replace what appears to be an aging/failing 250GB one. Ideally, I'd like something I ...
i336_'s user avatar
  • 184
-2 votes
1 answer
50 views

Setting up a FreeBSD Server for packet filtering and routing [closed]

I have heard the many goods of using FreeBSD in Networking over Linux with utils such as pf and ipfw I currently have an multi tier application hosted on a vSphere environment with seperate servers ...
Shenal Silva's user avatar
29 votes
4 answers
34k views

Should I create ZFS zpools with whole disks or partitions?

I am making zpools on FreeBSD machine. While creating zpools I observe these two cases: If I take raw disks and create zpool then I am able to form zpools and they are working perfectly. If I format ...
shivams's user avatar
  • 499
-2 votes
1 answer
1k views

MariaDB service won't start on FreeBSD jail

Just set up a dedicated database jail running databases/mariadb55-server and for some reason it won't start on demand nor on boot. Any suggestions? # service mysql-server start Starting mysql. /usr/...
dzhi's user avatar
  • 830
-5 votes
1 answer
76 views

What operating system is used according to enclosed picture? [closed]

Sorry for the beginner question but can one guess what OS this is from the named folder in the structure? I was not allowed to post the picture but perhaps the link works. (have no text-based img).
AnotherPerson's user avatar
4 votes
2 answers
12k views

FreeBSD 10 won't boot to ZFS root after power failure

While installing new hardware today, I involuntarily disconnected the power to one of our servers. This server is running FreeBSD 10 with Root-on-ZFS as offered by the installer. It has a total of 36 ...
Sarek's user avatar
  • 376
0 votes
1 answer
975 views

Configure IPv6 on FreeBSD webserver

Seems I just can't nail the right rc.conf configuration for IPv6 on my FreeBSD 10 VPS. I'd like to go completely IPv6 and tutorials/instructions i followed aren't really working for me somehow. It's ...
dzhi's user avatar
  • 830
0 votes
2 answers
176 views

Recompiling FreeBSD-10 release from SVN source

I run 10.0-RELEASE on my server and I'm wondering something. If I do buildworld with official source from svn, will i be able to use freebsd-update to upgrade in the future or I have to settle with ...
dzhi's user avatar
  • 830
1 vote
1 answer
6k views

pfsense live cd and boot options

I donwloaded pfsense live cd 2.1.3 and now I want to run pfsense from an usb cdrom drive. It loads a while and than crahses with "unable to mount ..." I know I have to choose boot option 3 in order ...
Jürgen Steinblock's user avatar
2 votes
2 answers
4k views

Can't boot FreeBSD 10 iso by PXE

I'm trying to boot FreeBSD 10 bootonly iso from with pxelinux and tftp, unfortunately the following error appears during freebsd boot: cd9660 :/dev/iso9660 error :/dev/iso9660/FREEBSD_INSTALL ...
Artem Zhirkov's user avatar
2 votes
1 answer
2k views

pfSense memory reporting

I have a box onto which I just installed pfSense 2.1. The box has 16GB of RAM and is a quad-core processor (yeah, we're planning on doing some serious traffic and using a proxy filter with a lot of ...
David W's user avatar
  • 3,461
3 votes
1 answer
2k views

What are main differences between Linux and FreeBSD system from sysadmin point of view? [closed]

What are main differences between Linux and FreeBSD system from sysadmin point of view ? What specifically and significantly differs Linux from BSD (memory/resources/users management, other ...
Virtual_Lotos's user avatar
-1 votes
1 answer
456 views

Need help finding (linux compatible) source code for 'pathchar' program

Am unable to locate the source for pathchar (Van Jacobson's wonderful hack - http://www.caida.org/tools/utilities/others/pathchar/) inspite of searching over many places. What happened to it and is it ...
megazoe's user avatar
  • 117
0 votes
1 answer
2k views

How to bridge Network interfaces on Debian/kFreeBSD

I have had problems finding a way to bridge network interfaces on Debian/kFreeBSD. My primary goal is to create 2 - 4 tap interfaces and bridge them with two physical Interfaces. The Syntax in /etc/...
Daywalker's user avatar
  • 495
0 votes
2 answers
911 views

how to access physical memory in BSD platform from terminal or using any system call ?

i just not know how to use mem command in BSD to access physical memory or virtual memory to get the ACPI tables and their Address ....... $mem Enter mem command not found .... so what can i do ? ...
gkreddy's user avatar
  • 21
0 votes
1 answer
399 views

Linux as AD DC or use with 2012 Essentials [closed]

We have a network of XP machines, with a 2003 Standard DC running in 2000 mode. We really only need Windows for an app that uses SQL Server. Is it feasible to get a Linux or BSD server going as an ...
Kev's user avatar
  • 984
2 votes
2 answers
969 views

How to get a kernel panic count [closed]

Is there any way to check the number of kernel panic that happened on a system ? If not, any idea on how to do make this new functionality ? I would like to hear about an answer for most Unix-like ...
Antzi's user avatar
  • 303
4 votes
1 answer
806 views

OpenBSD Apache version 1.3.29? [closed]

I recently installed OpenBSD and went to check the version of Apache HTTPD and when I run httpd -v it tells me the version is Apache/1.3.29 (Unix). Surely this can't be right? I am using the latest ...
Sam's user avatar
  • 43
2 votes
3 answers
852 views

VMWare vSphere ESXi vs Microsoft Hyper-V Server 2012 in a mixed environment [closed]

I'm considering some virtualization technologies in our University. And I really don't know which of them to use. VMWare seem to be the default choice, but with the free version of vSphere 5.1 (atual ...
Vinícius Ferrão's user avatar
15 votes
4 answers
13k views

Difference between chroot and jail

I read this tutorial - https://help.ubuntu.com/community/BasicChroot - and what I understood is that, chroot is the process of changing the / while the new restricted environment created is the "jail"....
user1437328's user avatar
1 vote
1 answer
323 views

ezjail-admin update -i can't create tank/ezjail/basejail

I updated the server FreeBSD 8.2-p10 amd64 to 9.1-p1 amd64, and I want to update jails started ezjail. I downloaded the source, built the world and run the command: ezjail-admin update -i but got ...
Allan Sundry's user avatar
2 votes
2 answers
787 views

Altq/Pf trouble on OpenBSD

I'm having some trouble with pf/altq on OpenBSD but as I'm new to it I'm not sure if its because I'm misunderstanding how to use anchors, or if something is wrong with my system. I'm trying to add ...
Jak's user avatar
  • 1,008
3 votes
3 answers
2k views

Shared authentication across FreeBSD Jails

I am using FreeBSD with ZFS to run several jails. For jail management I'm using ezjail, and I have a template jail which I use for provisioning. I want to share passwd, groups, and authentication ...
n n's user avatar
  • 145
2 votes
1 answer
1k views

nslookup fails inside freebsd jail

I posted on the freebsd forums. I've been trying all night and I've made some progress but still I can't connect to the internet from my freebsd jail. Please just give me a hint here. I get the ...
gideon's user avatar
  • 1,145