FreeBSD includes many modern OS features including advanced IP stacks and networking, Virtualization, hardened security, and high availability techniques. For more information about FreeBSD, see their website (FreeBSD.org). Questions are welcome here on Server Fault, or the FreeBSD Forums. ...
0
votes
0answers
18 views
How do I make all traffic from one network interface go through a PPTP VPN client connection on a FreeBSD router?
I have a FreeBSD 9 router on a Soekris net6501 with 4 network interfaces:
em0: DHCP, PPPoE connected via VDSL to my ISP (through modem in bridge mode)
em1: 10.0.1.0/24, LAN subnet
em2: 10.0.2.0/24, ...
0
votes
0answers
14 views
are these firewall settings correct on my freebsd server to allow postfix to pass trough?
I'm trying to set a mail server up on my freebsd 7 virtual host.
But when I try to send or revive an email the log files tell me 'connection refused':
Feb 8 17:54:42 vps-id2247 postfix/error[29886]: ...
1
vote
2answers
38 views
Remote Logging with syslog
I have two machines running FreeBSD, bsdclient and bsdserver. I am trying to setup remote logging such that bsdclient sends all the logs to bsdserver. My syslog.conf on bsdclient goes like this
*.* ...
2
votes
2answers
59 views
Multicast routing across two subnets with FreeBSD 9 (Bonjour between subnets)?
I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net).
There are routes ...
0
votes
1answer
86 views
Samba authentication when AD is down?
I have succesfully added my Freebsd 9 to a Windows server 2008 R2 AD Domain.
Using samba 3.6.
The problem is that i want to be able to connect to the shares when the AD server is down.
Because the ...
3
votes
1answer
51 views
Installing FreeBSD remotely using Ubuntu LiveCD
I realised this is a very specific question, but I am wondering if there is a way to install FreeBSD on a machine using only SSH access to a Ubuntu LiveCD on the server?
3
votes
1answer
37 views
“route add default -iface em1” in rc.conf on FreeBSD
I have two NICs on my FreeBSD server, which are set up like this in rc.conf:
ifconfig_em0="10.0.0.1 netmask 255.255.255.0" # LAN NIC
ifconfig_em1="DHCP" ...
0
votes
0answers
18 views
FreeBSD: Error creating new slice using gpart
The virtual hard disk of one of my VPS has been enlarged, and I want to create a new ZFS slice using the extra space, but I couldn't be able to perform that.
# gpart add -s 10G -t freebsd-zfs da0
...
7
votes
2answers
95 views
zfs and future expandability
I want to build a server using freebsd 9 and zfs. I have some old hardware (intel quad core with 8 gb ram) lying around, and I am willing to purchase two or three 1 TB disks. I also have a dlink RAID ...
1
vote
0answers
84 views
Windows 2008 NFS, find command not working recursively on unix client
I have a Windows 2008 Storage server configured for NFS service. I am using a FreeBSD client to mount share from the storage server. Every thing works fine like copying, deleting files etc. However, ...
2
votes
2answers
74 views
ZFS RaidZ Import Failure when migrating
So my the USB drive attached to my FreeNas 7 system, went bad so I used the situation as an opportunity to upgrade to FreeNas 8. The problem is now I'm having trouble getting my ZFS to spin up:
...
1
vote
2answers
52 views
Odd rsync issue - duplicating and uncompressing files
I have two servers: our production web server(freebsd) and a backup server(centos). The production server does mysql database dumps every 3 hours and compresses the dump file using bzip2. So we have a ...
0
votes
1answer
85 views
Freebsd 9 on Z68 chipset support
Does Freebsd 9 support Z68 chipset like in Intel DZ68BC motherboard? Will I have any "unrecognized device" issues ?
What about Freebsd 8?
What's the best way to find it out ?
-2
votes
2answers
110 views
FreeBSD 9.0 supports only IPv6. What this practically means?
I have very scarce knowledge of IPv6 but I'm considering installing FreeBSD on an RDC device which acts as a server to my home network running services.
The last release states that one of the changes ...
0
votes
1answer
70 views
snmptrapd traphandle to php script
I have to receive snmptraps in php script, so what i've done is:
snmptrapd.conf
traphandle 1.3.6.1.4.1.3.1.1 /usr/home/user/trap/l.php
l.php
#!/usr/local/bin/php
<?php
$flow = ...
0
votes
3answers
177 views
booting FreeBSD 9 from USB stick: boot error
I am trying to boot FreeBSD 9 from a USB stick that I created following the official guidelines:
dd if=FreeBSD-9.0-RELEASE-i386-memstick.img of=/dev/da0 bs=64k
Booting fails with a simple 'boot ...
2
votes
1answer
182 views
MongoDB isn't installing on FreeBSD 8.2 by any way
Firstly I've tried to perform step by step building of MongoDB on my vps with FreeBSD 8.2 on it. I've faced problem with the last step of building it:
vm3578# scons .
scons: Reading SConscript files ...
1
vote
1answer
52 views
Make a file accesible by PHP but not from the outside
My host gives me two folders for my use, a /home/public/ which is where the pages go, and /home/private/, which is for my personal use. I would like for PHP to create a file that's readable by me from ...
1
vote
2answers
57 views
How to share USB drive via NFS on FreeBSD
I'm trying to share USB hard drive with msdosfs connected like this:
mount_msdosfs -o large /dev/da1s1 /mnt/usb
I can see mounted drive:
/dev/da1s1 on /mnt/usb (msdosfs, local)
but when I'm ...
1
vote
0answers
60 views
Where in “/” should extra disks be mounted? [migrated]
According to Wikipedia
http://en.wikipedia.org/wiki/Unix_directory_structure
http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
extra disks should not be mounted in /mnt/ according to the ...
0
votes
0answers
47 views
Strange content after installing new PHP5
I've installed PHP & MySQL (with PDO Driver) on my FreeBSD dedicated server, earlier I was using Debian and everything worked like a charm, but now, when I enter my website all I can see is a ...
1
vote
1answer
34 views
What's the difference between Send-Q and S-BCNT in FreeBSD netstat -anx?
What's the exact meaning of Send Buffer byte count in the extended netstat statistics, and why is it always bigger than Send-Q?
In other words, what's counted against the S-BCNT that's not counted ...
0
votes
1answer
58 views
How to find a file that contains the specified string in FreeBSD?
I'm searching for the way to find a file that contains specified string text.
It should be fast as possible but its not that important.
I was reading the manual, and I've build something like that: ...
2
votes
2answers
156 views
Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 “server requires stronger authentication”
I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box.
The command I'm using is:
sudo mount -v gorkon:/dustbin /tmp/test
This returns the following ...
2
votes
2answers
139 views
UPS monitoring software for Linux, FreeBSD and Solaris
Looking to configure auto shutdown for my servers once the UPS battery reaches a certain state. We have MGE / EATON Pulsar M3000 UPS units, and a heap of servers running Ubuntu, FreeBSD and Solaris - ...
1
vote
0answers
63 views
Creating you own FreeBSD ami in EC2
I'm running XVM on my laptop. XVM has got FreeBSD installed with all the required ports to run APACHE/PHP.
I want this .vdi file to be imported into an EC2 instance.
Is it possible to import a ...
1
vote
0answers
76 views
Looking for tutorial on FreeBSD based Samba server on ZFS filesystem with OpenLDAP backend [closed]
I am looking for a tutorial for specially:
FreeBSD 8.2 with ZFS as storage (this has been done)
Samba as fileserver
OpenLDAP as user storage
I have set up a FreeBSD 8.2 with ZFS for filestorage, ...
1
vote
2answers
80 views
bandwidth monitoring issue on PfSense router
I have a PfSense router installed , where it has 4 interfaces.
one of them is WAN and rest 3 are LAN networks, which have different subnets and IP address ranges.
wan interface name = em0
lan ...
0
votes
2answers
90 views
nagios nrpe plugin output not complete
I have written a small script to check the states of PfSense, and using this script to get the output in nagios, through NRPE...
Here is the script
used=`pfctl -s state | wc -l | bc | cut -c1-5 | ...
0
votes
2answers
142 views
Any freebsd/PfSense realtime bandwidth monitoring tool?
i need to know if there is any Tool (specifically for FreeBSD) , through which i can get the Realtime network traffic usage of any Host/IP , and which should also run on Multiple interfaces as well?
i ...
2
votes
0answers
40 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 ...
6
votes
3answers
146 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
1answer
107 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
1answer
70 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 ...
1
vote
2answers
112 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
-1
votes
1answer
29 views
How to install LuaJIT on FreeBSD without using Gmake?
Has anyone been able to install LuaJIT v2 on FreeBSD AMD64(x64) without using Gmake (just freebsd-make)?
If so how?
When I attempt to use freebsd-make, LuaJIT doesn't build.
3
votes
2answers
366 views
1
vote
2answers
52 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
3answers
165 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 ...
2
votes
1answer
108 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 ...
2
votes
1answer
73 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
1answer
66 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 ...
4
votes
1answer
300 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
4answers
68 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 ...
1
vote
3answers
122 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
1answer
117 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
1answer
107 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 ...
1
vote
1answer
147 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 ...
2
votes
4answers
136 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 ...
3
votes
2answers
86 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, ...