BSD is a family of Unix-like operating systems, including FreeBSD, NetBSD and OpenBSD.
Questions tagged [bsd]
510 questions
0
votes
1 answer
Git for OpenBSD on a DEC VAX?
I am trying to find a binary install of Git for OpenBSD v5.2 running on a DEC VaxStation 4000 Model 90? My particular machine has a staggering 32 megs of RAM but does run GCC version 2.9.5 and Perl 5 version 12 so I suspect I probably can run…

haziz
- 12,994
- 16
- 54
- 75
0
votes
1 answer
Netmask/ip-address lookup on BSD/OS X
How do I do ip-address/netmask etc. lookup on OS X (or BSD) using the python standard library function. I'm in the middle of a process and can't make my script working on Mac. On the Linux machine, it's pretty simple:
ifname = "eth0"
SIOCGIFNETMASK…

MacUsers
- 2,091
- 3
- 35
- 56
0
votes
1 answer
freebsd network program compilation
I am trying to compile some simple networking programs on freebsd 8 and running into compilation issues. I am creating a simple client-server programs but no function or structure from networking is not getting compiled.
For eg. I use standard…

agent.smith
- 9,134
- 9
- 37
- 49
0
votes
1 answer
debugging on bsd using gdb or similar tootls
I have started using freebsd lately and realized gdb does not support remote debugging on it.
Whenever, I try to do remote debugging using gdbserver, I run into SIGSEGV crashes and error message says can’t find definition of “r_debug_state”.
Has…

agent.smith
- 9,134
- 9
- 37
- 49
0
votes
1 answer
dbm.error: db type is dbm.bsd, but the module is not available (Python 3.0)
I'm trying to open a shelve file that I created in 2.5, but I get the error I listed in the question title.
The data aren't essential, but I really want them.
Looking at the lib\dbm\__init__.py file it recognizes 4 types of dbm modules but only…

user165502
- 41
- 1
- 2
0
votes
1 answer
PCI/PCIe card with DMA capability for device driver training
I trying to learn DMA for device drivers with PCI/PCIe devices, and my platform is linux/bsd. I have found quite a few simple PCI boards for training (such as simple digital I/O boards), but none have hardware complex enough to handle DMA. Is…

Dr. Watson
- 3,752
- 4
- 32
- 43
0
votes
1 answer
shell script: send Command to serial console and get result
On my Computer is a Cisco WS-C3550 connected to serial interface, I can connect with following Command to the Device:
cu -l /dev/cuau0 -s 9600
If I connected to the Device i send following command
show interface FastEthernet0/2
And the output of…

kockiren
- 711
- 1
- 12
- 33
0
votes
1 answer
Bash: Is it possible to change command before execution
I want to change the command so that command line flag(options) are placed before command line arguments, as which is done automatically by GNU getopt.
Mac use BSD getopt so that function is lacked. I want to tweak the bash so that upon executing of…

luanjunyi
- 1,634
- 1
- 15
- 17
0
votes
1 answer
Disable snmpd log in BSD?
I can disable SNMP log using snmpd.options in RHEL or CentOS, but I can't find any solution in BSDs. Does anyone knows how to disable it or change the log location? The SNMP message is fillng up my /var directory always, and it's annoying.

tommyhsu
- 27
- 6
0
votes
1 answer
BSD/Darwin cpu stats
Do all of the BSDs have a common way to get CPU stats (time spend in kernel, idle, user, etc) like Linux has in the first line of /proc/stats?
I'm trying to detect a system under load and not perform computations when it is active (above a certain…

beatgammit
- 19,817
- 19
- 86
- 129
0
votes
1 answer
SYSTEM: denied request 44 in Minix
I get "SYSTEM: denied request 44 from 109894" when trying to execute my own code in Minix 3.2. I typed over the code and the makefile so there could be some typos. The program compiles fine however.
My c file:
#include
#include…

RobotRock
- 4,211
- 6
- 46
- 86
0
votes
4 answers
Python clock function on FreeBSD
While testing Pythons time.clock() function on FreeBSD I've noticed it always returns the same value, around 0.156
The time.time() function works properly but I need a something with a slightly higher resolution.
Does anyone the C function it's…

Dan
- 710
- 5
- 15
0
votes
1 answer
bsd sed and double quotes
Consider the file test.txt:
#include "foo.h"
#include "bar.h"
#include "baz.h"
using GNU sed version 4.2.1 (on Ubuntu 10.04.4 LTS), I can extract foo.h, bar.h and baz.h with:
SHELL$) sed -n -e 's:^\s*\#include\s*"\(.*\)".*:\1:p'…

user744629
- 1,961
- 1
- 18
- 27
0
votes
1 answer
XNU Kernel clone in DCPU-16
https://github.com/galaxas0/MachX-Kernel
Before I embark on a project designed to fail, I'd like to set things straight so they don't fail, by asking a simple question: how on earth would a DCPU-16 load a kernel... being virtual and all. I…

Aditya Vaidyam
- 6,259
- 3
- 24
- 26
-1
votes
1 answer
How to modify bits in EC of a laptop on BSD?
I am a new user trying to make BSD as my daily driver. Apparently, the only thing stopping me is unable to control the fan. I am using Gigabyte Aero 10th Gen Intel Core i7 with NVIDIA GTX 1660Ti card. It has pre-defined fan curve settings like…
anon