Questions tagged [bsd]
Berkeley Software Distribution is a UNIX-derived operating system developed at the University of California from 1977 through 1995.
108
questions
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 ...
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 ...
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
# ...
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.
...
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
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/...
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 (...
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 ...
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 ...
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'...
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....
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 ...
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 ...
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 "...
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 ...
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 ...
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.
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 ...
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 /...
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 / ...
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 ...
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/...
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 -...
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.
-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 ...
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 ...
-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 ...
-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 ...
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 ...
-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/...
-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).
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
-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 ...
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/...
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 ?
...
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 ...
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 ...
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 ...
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 ...
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"....
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 ...
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 ...
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 ...
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 ...