Questions tagged [freebsd]
FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, and userland utilities such as shells.
1,543
questions
2
votes
1
answer
380
views
Is there an equivalent of LinuxIMQs in BSD?
Is there an equivalent of LinuxIMQs in BSD ?
From linuximq.net:
The imq device has two common usage cases:
Ingress shaping:
With linux only egress shaping is possible (except for the ingress ...
8
votes
3
answers
4k
views
"zpool replace" hangs and locks up the pool
Given my four disk RAIDZ1, one disk has become physically noisy, not producing errors yet, but not sounding healthy either. So I've chosen to pre-emptively replace it.
I have done:
zpool offline ...
1
vote
2
answers
1k
views
Serve an NFS mount over TFTP
I have a FreeBSD server on which I would like to run a TFTP server (for PXE). My daemon of choice is tftp-hpa and I have it configured to serve from /tftpboot properly. It works unless I mount /...
0
votes
2
answers
6k
views
proftpd overwrite permission denied ftp user
I have a freebsd server with proftpd installed.
When I chmod 777 the directory I can overwrite files, but using 755 permissions on the folder I can not overwrite files in the folder.
In the conf file:...
6
votes
2
answers
23k
views
Determine the motherboard/chipset type on FreeBSD box
I need to know what chipset / motherboard type for a FreeBSD box.
Is there a quick way to do that without ports ?
Thanks
4
votes
2
answers
1k
views
FreeBSD 9 - default file system?
What will the default file system be in FreeBSD 9?
2
votes
2
answers
691
views
FreeBSD out of box Screen/TMUX functionality?
Does FreeBSD include capabilities out of box that are similar to Screen or TMUX?
If so, what is the utility called?
Update: I'd rather not use Screen due to it licensing. TMUX is BSD-3 clause, which ...
8
votes
3
answers
1k
views
FreeBSD 8.2, deleted /bin/sh, can't boot
I made a really bad decision on one of my servers.
I deleted /bin/sh. I restarted the server and the server won't run because it needs /bin/sh to start the rc scripts. I can't access single user mode ...
3
votes
2
answers
6k
views
How can I disable NTP in pfsense?
I am running my pfSense gateway in a ESXi server. right now the server gets its time from the NTP server specified in the general settings section of the WebGUI.
I want to disable this so pfSense ...
4
votes
1
answer
1k
views
Adding the IP Failover on FreeBSD
I've just bought a dedicated server in OVH.com and they are sending me some warnings in email that I haven't configured my IP Failover address correctly and they're going to block this failover within ...
1
vote
1
answer
145
views
FreeBSD aliased user identification and GNU screen
The situation is the following.
I have FreeBSD user M, which is an alias for root, i.e., its UID equals to 0.
I have a daemon started as M (as a shell for an autologin console, if it matters).
The ...
5
votes
2
answers
1k
views
Web site kills hard disk I/O, how to prevent?
The situation: I have a server, on which we have 2-3 projects. Starting not long ago, the server started hanging up (We could not connect to it by ssh, and the connected clients had to wait 20 minutes ...
2
votes
4
answers
1k
views
Is SASL not supported in Postfix on FreeBSD?
I'm managing a mail server that was set up on FreeBSD that runs Postfix and Dovecot. When I type postconf -a, nothing is returned. As I understand it, this command should tell me if SASL is supported ...
2
votes
3
answers
3k
views
Port-Forward for all IPs on an interface
I'm running a java-based web server as a non-privileged user. Therefore it listens on ports 8080 and 8443 instead of 80 and 443.
Right now I'm using the following pf rules to forward the ports ...
1
vote
1
answer
2k
views
Alternative to Ntop on FreeBSD
ntop is a great tool for recording network throughput statistics for FreeBSD based firewalls. The statistics can be displayed as graphs using a web browser. Ntop, however, has the limitation that it ...
1
vote
1
answer
2k
views
Unable to load dynamic libraries (pcre,spl,gettaxt,mhash,snmp,sockets,tokenizer)
I'm a bit new to freeBSD and trying to set up a webserver.
I've managed to get phpmyadmin installed and phpinfo(); works fine.
But when i typ in 'php -v' i get some warnings:
PHP Warning: PHP ...
2
votes
3
answers
593
views
How much does FreeBSD differ from Linux?
I was trying to setup a NAS box for my ESXi server using linux, I was going to install ZFS and iSCSI and I thought everything was going to be awesome. I was wrong...
ZFS on Linux is not the most ...
16
votes
5
answers
29k
views
Can I change a user password in Linux from the command line with no interactivity?
I have a specific use case where I would really like to be able to change a user's password with a single command with no interactivity. This is being done in a safe fashion (over SSH, and on a system ...
6
votes
2
answers
11k
views
How to log every login (SSH) on FreeBSD
I want to log every SSH login attempts, both successful and not, to my FreeBSD server to a file, and daily mail this log to root.
I could accomplish something like this by parsing /var/log/auth.log, ...
5
votes
3
answers
12k
views
Pfsense mbuf full, what to do?
I noticed today that the MBUF usage has hit its limit.
Apparently the site I'm running under pfsense is having some troubles too, I'd like to know if it would be safe to just
sysctl kern.ipc....
11
votes
5
answers
17k
views
FreeBSD Ports: How can I see all dependencies for a port, and all subdependencies for those dependencies?
I'm trying to build a port which depends on apache-ant.
I thought I could run make build-depends-list to see all dependencies required by this port:
# make build-depends-list
/usr/ports/devel/apache-...
0
votes
1
answer
147
views
Locally redirect Domain1.com to Domain2.com/subdir on one computer
I am running a FreeBSD server and I want to redirect a specific website domain to another domain including subdirectory.
I want to bypass that domain to alter the XML results it returns.
I tried the ...
4
votes
1
answer
1k
views
Building NanoBSD inside a jail
I'm trying to setup a jail to enable building a NanoBSD image. It's actually a jail on top of a NanoBSD install.
The problem I have is that I'm unable to mount the md device in order to do the 'build ...
2
votes
2
answers
1k
views
KVM: how to confirm does kvm uses kvm-kernel-module?
This can sound a little bit paranoid but I really have a doubt that my configured libvirt+kvm uses any hardware acceleration in debian. I setuped it with this guide. in fact i've checked already, kvm-...
0
votes
0
answers
170
views
Making a user with FTP only access in FreeBSD. How? [duplicate]
Possible Duplicate:
How can I create a user only for sftp
I can't seem to find any brief explanation on how do i allow or add a user with an FTP only access.. This is what i did in order:
I made ...
11
votes
1
answer
4k
views
Newsyslog wildcards - rotate all logs in a directory
I am running FreeBSD 8.1. I am trying to make newsyslog rotate logs defined by a dynamic path:
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
/path/logs/*....
6
votes
2
answers
776
views
Which BSD best suited to run as VMware guest?
I want to deploy a VM to serve DNS and files (via NFS) to other *nix systems in my infrastructure.
Due to reasons beyond my control, I need a very light OS, so I naturally choose the *BSD family.
...
2
votes
1
answer
354
views
freebsd iso install on KVM - timer freezes
Trying to boot freebsd iso on KVM/libvirt [debian host]
Timer shows: 10 sometimes is 9 or even 7. and that's it, count down stops..
Found some information that it's a bug with newest qemu and my ...
3
votes
1
answer
5k
views
FreeBSD 8.1 64bit logrotate - ELF interpreter /libexec/ld-elf-so.1 not found
I am trying to get logrotate running on a FreeBSD 8.1 virtual machine. I installed the logrotate with pkg_add, I have created the logrotate.config file and also run:
mkdir /var/lib/
touch /var/lib/...
2
votes
1
answer
855
views
FreeBSD Jail Authentication and Commands
I have setup a jail on FreeBSD-8.2 following the manual. After the setup, I copied these files rc.conf, /etc/passwd from base to jail. And this is what I did in order:
jexec id passwd (to change the ...
1
vote
1
answer
311
views
Error starting oidentd (FreeBSD8.2)
I'm new to BSD and I have already tried searching on google about this error but no one seems to have encountered it or what.
When I try to run oidentd via "/usr/local/etc/rc.d/oidentd.sh start". It ...
-3
votes
3
answers
1k
views
How do I learn IPSec VPN implementation on FreeBSD from pfSense
I've been trying to figure out a complete working solution for IPSec VPN implementation on FreeBSD but with no luck till now. pfSense seems did a fantastic job on supporting IPSec and even for mobile ...
3
votes
1
answer
764
views
Digitally signed FreeBSD package
In nasty world of Windows you can digitally sign installation package (exe) and during installation check if its authentic or not.
Any idea how to check same under FreeBSD(preferably in conjunction ...
3
votes
1
answer
6k
views
Using two network interfaces for FreeBSD VM
How do I turn on/off one network interface without affecting the other in FreeBSD?
I have a FreeBSD 8.2 virtual machine (Virtual Box 4.1.4), with two network interfaces, one bridged to my Ethernet ...
3
votes
2
answers
134
views
Will a freebsd installation run on a different system without reinstalling?
I want to move my freebsd 8.2 installation from a dual-core AMD machine to a quad-core intel machine. Ideally I'd just like it to re-detect all the changed hardware and load whatever drivers it needs ...
0
votes
1
answer
212
views
freebsd bcrypt install error
/usr/ports/security/bcrypt
when I'm trying to install it I get this:
cc -O2 -pipe -fno-strict-aliasing -c main.c
cc -O2 -pipe -fno-strict-aliasing -c blowfish.c
cc -O2 -pipe -fno-strict-aliasing -...
3
votes
1
answer
724
views
Turn server back on after power loss with FreeBSD
I have a VIA M'SERV S2100 with FreeNAS 8.
Since I upgraded from FreeNAS 7, the M'SERV no longer turns back on after suffering a power failure. As I remember it, there was a setting for it in the old ...
1
vote
1
answer
762
views
How to send multicast traffic from one vlan to 100-500 other
In addition to prev question
How to share multicast traffic to many vlans
I recieve answer that solution for my task is mrouted on my freebsd router.
But for now i see this problems:
mrouted ...
-2
votes
3
answers
649
views
Freebsd: invalid ipv4 address
params are:
ip: 94.23.147.56
netmask 255.255.255.255
broadcast 94.23.147.56
gw: 176.31.248.254
what's wrong in here? this params works perfectly with debian.. it's not my fault that stupid ovh.co....
6
votes
2
answers
4k
views
How can I make bash to log shell commands to syslog?
Bash 4.1 is able to log the history to syslog. However I can't seem to make it work under FreeBSD 8.
I've tried re-compiling bash from ports with -DWITH_SYSLOG= but to no avail. Has anyone managed to ...
1
vote
1
answer
2k
views
How to share multicast traffic to many vlans
I have linux computer , this computer connected with entire my network via zyxel gs-2200.
In this zyxel also connected router with 500 vlans, one by client.
On linux computer i have vlc program ...
1
vote
1
answer
1k
views
iftop bandwidth monitor shows rates=0 (but do show connected hosts) on tun0 (ppp)
On my FreeBSD box, working as my LAN's router, I tried using iftop (from ports/net-mgmt) to monitor bandwidth usage. The program works well for monitoring the server's LAN interface-card, but not for ...
1
vote
1
answer
2k
views
FreeBSD (pfSense) Routing - Can't find the default route
I have been banging my head against the wall on this for a couple of days now - thought I had tried everything, but obviously not...
I have the following networking scenario...
ISPs Router Edge (21....
0
votes
1
answer
511
views
FreeBSD on Home Routers? [closed]
Is it possible to install FreeBSD on a typical home router such as the NetGear DG834G?
Or is there an alternative that is suitable for a home setup?
1
vote
1
answer
5k
views
How to install postgresql on FreeBSD
Here is a step-by-step description of what I am doing
cd /usr/ports/databases/postgresql91-server/
make install clean
adding postgresql_enable="YES" to /etc/rc.conf
trying to start sudo /usr/local/...
1
vote
1
answer
466
views
How do I update the ports tree on FreeBSD with portsnap?
I'm trying to update the ports tree on FreeBSD with portsnap, but it's taking a tremendous amount of time.
These are the commands that I run every time:
$ portsnap fetch
$ portsnap extract
Are ...
1
vote
1
answer
3k
views
FreeBSD netstat -di, Idrop vs Drop and drop count from NIC or kernel?
On FreeBSD what's the difference between Drop and Idrop in the netstat output?
$ netstat -di
Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll Drop
bge0* 1500 &...
1
vote
2
answers
4k
views
GELI / ELI at FreeBSD - changing passphrase
How can I change/replace the passphrase of an encrypted eli provider in FreeBSD? Do I have to recreate the entire provider and copy data, or is there a simpler and faster way?
I've looked in the man ...
2
votes
1
answer
455
views
FreeBSD vinum striped (RAID0) volume - performance issues
I've experimented with different striped volumes in vinum under FreeBSD 8.2-release. I have current hardware (Intel i5 processor, adequate MB and 8GB RAM).
My test-setup consists of 2 or 4 disks in a ...
1
vote
1
answer
1k
views
MongoDB on FreeBSD
We are currently using MongoDB 2.0.0 on MacOS but our servers are running FreeBSD. The most recent port of MongoDB is the 1.8.3 version. I have tried to compile the 2.0.0 by hand but I came across ...