Tagged Questions

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, ...

learn more… | top users | synonyms

0
votes
1answer
272 views

Portsnap error, doesn't work anymore FreeBSD 8.2

I can't seem to run portsnap anymore, there seems to be an error and /usr/ports/sysutils/portsnap doesn't exist for a reinstallation. The error I'm getting when running portsnap is: ...
0
votes
2answers
2k views

PF rules and configuration to allow a local IP alias to NAT on FreeBSD?

Here's exact details of my configuration: Firewall/DNS Server: 192.168.2.1 (local lan) which routes out to the internet. <-- NOT UNDER MY CONTROL My FreeBSD Server: 192.168.2.23 (LAN) "Inside" ...
0
votes
1answer
747 views

uWSGI touch-reload feature not working with 100% CPU

On my development box, I have configured uWSGI to reload every time a file gets touched (using the --touch-reload command line argument). When I specify a non-existent file, I get a warning in the ...
1
vote
1answer
226 views

Make: Permission Denied (until I `cd .`)

I have an account on a shared host running FreeBSD 5.5-STABLE. I was compiling my own version of Ruby today, and encountered this anomaly: If I tried to execute 'make', I get a "permission denied" ...
1
vote
2answers
127 views

Adding FreeBSD user upon first login

Is it possible, to achieve the proposed behavior on my FreeBSD 8.2 server: New user ssh's into my server. He supplies as 'Login:' his student index number and a new, locked account is created with ...
2
votes
1answer
422 views

I cannot use screen stuff command from cron, but I can from a shell script (same user)

I have a shell script on FreeBSD that sends a few screen stuff commands to a running screen session (which runs a Minecraft server). The commands work when I execute it manually. But if I put the ...
0
votes
1answer
312 views

Install MySQL on FreeBSD 8.2 without ports

I have downloaded and extracted the latest MySQL package from their website on my FreeBSD machine, I would like to install it. But I don't want to use the inbuilt ports, I want the latest version to ...
1
vote
4answers
1k views

Monitor Dell thermal sensors in FreeBSD?

I'm trying to remotely monitor temperature sensors within two Dell PowerEdge 6850's. I have a fear that the building we are in is turning off the air conditioning on the weekends to save power, which ...
0
votes
2answers
325 views

using “include” like statement in pf.conf to include some parts from other files

I want to be able to include some parts of my pf.conf from other set of files. For example I will include "set timeout" vs like statements in another file. Using anchors and "load anchor from ...
4
votes
4answers
951 views

RAID-Z Failure Notification

I have a FreeBSD file server with a 10TB array in RAID-Z (so 8TB usable with 2TB redundancy). I am trying to figure out how to get the system to notify me, preferably by email, if one of the drives ...
1
vote
1answer
1k views

Export NFS to multiple networks in FreeBSD (FreeNAS)

I'm trying to export a share to multiple networks using the following in the /etc/exports file: /mnt/tank/xen_nfs -alldirs -mapall=root:wheel -network 10.1.1.20 10.1.1.45 10.1.1.105 but whenever I ...
1
vote
2answers
2k views

How to monitor ZFS with SNMP in FreeBSD?

I'd like to monitor these with SNMP: zpool iostat -v 1 Per drive and sum. zpool status Scrubbing as 1 and not scrubbing as 0. zpool status -x Monitor $? (return value). Send trap when value ...
1
vote
1answer
990 views

FreeBSD: how to associate disk serial numbers to device names when using a 3ware SATA card

When using a 3ware SATA/RAID card is there a way to associate the disk serial # with the /dev/daN device? I can get serial numbers by using "smartctl -d 3ware,0 /dev/twa0 -i", but I don't know if ...
3
votes
1answer
100 views

blocking packets larger then specific size with pf

Is there a way with pf to block specific type of packets larger than specific size?
5
votes
5answers
3k views

ZFS on OpenSolaris or FreeBSD

I have no real experience with ZFS, and very limited experience with Solaris & FreeBSD. After reading numerous articles about ZFS, I'm pretty convinced ZFS is something I want to use for my home ...
4
votes
3answers
4k views

Dovecot user lookup fails when using username@domain format

I have Dovecot v2.0.11 installed on a FreeBSD server and the user lookups for incoming email addresses are failing, but lookups for system users is successful. Dovecot is setup to use system users, ...
2
votes
1answer
73 views

monitoring a network for spammers/webscripts gone bad

I am going to be setting aside some IP space so that someone can use it as co-lo space and dedicated hosting. The network will have its own cisco router and several L2 managed switches that I'll admin ...
3
votes
4answers
1k views

Automatically throttle network bandwidth for users causing bulk traffic

Is anybody aware of a FreeBSD, Linux, or Windows based product that can automatically lower the priority of network packets of users that have caused a high amount of network traffic during the last ...
3
votes
5answers
3k views

Apache DDoS Protection in router (pFsense) [duplicate]

I'm soon going to change my infrastructure when I buy a new server. I'm going to replace my D-Link DIR-655 router with an pFsense router (and probably use the 655 as an AP) using my old server ...
2
votes
1answer
155 views

Running script when FreeBSD boots, but changing cwd first

I want to run a script when FreeBSD boots. I tried symlinking to it from /usr/local/etc/rc.d, but the script itself (myscript.sh) uses paths such as ./init-site.sh. These don't resolve correctly when ...
2
votes
3answers
649 views

How can I set default versions of MySQL, Postgres, Apache, etc. prior to installing anything from ports in FreeBSD?

When I install software from ports on a FreeBSD system, sometimes rather outdated versions of Apache/MySQL/Perl/etc are installed as dependencies. Is there any way to set the versions of these ports ...
2
votes
7answers
953 views

Changed root's shell to non-existing path

I just made a bit of a mistake: Fresh install of FreeBSD 8.2 logged in as root installed bash from ports created users, setting bash as shell vipw (edit passwd file) changed root's shell from ...
0
votes
2answers
303 views

FreeBSD 4.7 missing IPFW - How do I install it?

I have two FreeBSD servers that are on 4.7. These are two older servers that were already configure and setup when I got here. Now that the original admins are gone, I've started looking a bit more at ...
1
vote
4answers
221 views

FreeBSD - 'cd ~' takes me to /root instead of home directory

I just created a new user (I was logged in as root to do so) with the adduser utility. I gave the new user his own home directory. If I check the /etc/passwd file, it shows the users home folder is ...
1
vote
1answer
3k views

nss_ldap: could not search LDAP server - Server is unavailable

I have an OpenLDAP server installed on FreeBSD 8.x. I am getting this error: Mar 25 16:11:45 ldap2 slapd[1268]: nss_ldap: could not search LDAP server - Server is unavailable I have included my LDAP ...
0
votes
1answer
582 views

Samba config and Mac OS X mounting

I'm aware that his question should maybe be posted on SuperUser. But as it probably has something to do with the Samba server, i'm posting it here. I'm trying to mount one of my Samba shares in Mac ...
1
vote
1answer
1k views

IPsec isakmp_natt problem on racoon.conf

I have this weird problem where racoon complains of the following error: WARNING: NAT-T is enabled in at least one remote{} section, but no 'isakmp_natt' address was specified! I've already ...
3
votes
2answers
1k views

Run cgi-script on commandline as user www?

I'm running FreeBSD 7 and apache-2.2.13. I am trying to debug a cgi script at http://www.example.org/cgi-bin/printenv . This script is a simple script written in Bourne shell. I would like to run ...
1
vote
1answer
337 views

LDAP loginShell on platforms with different paths

I'm using LDAP to deal with users and authentication across my network. I'm now adding FreeBSD hosts and have hit a problem with login shells. on Linux, shells tend to be in /bin/$shellname, so ...
0
votes
2answers
278 views

hosts.deny file missing

On a freeBSD server, I have a hosts.allow and a hosts.equiv, but no hosts.deny file. Does freeBSD not use the deny file? If it does, can I make the file myself or does it have to be generated by ...
0
votes
1answer
2k views

What's required to configure VPN (over IPsec) server with FreeBSD which can accept connections from iPhone?

What's required to configure VPN (over IPsec) server with FreeBSD which can accept connections from iPhone? As I guess, the server should have ability to manage incoming connections, but I don't know ...
0
votes
2answers
1k views

Is it possible to mount NFS volume serving from FreeBSD server via SSH tunnel on Mac OS X?

I heard that NFS share via SSH tunnel is impossible on Mac OS X: http://biowiki.org/MountingNFSThroughSSHTunnel I have been trying 2 days to make it, but I failed. Is it really impossible? Or what ...
0
votes
1answer
288 views

How to restrict anonymous FTP access to downloads only?

I have a server running FreeBSD and have enabled anonymous FTP access, but wish to restrict the access to only being able to download files I have put on the server myself, because I don't want people ...
0
votes
1answer
54 views

setlock analog for FreeBSD

Is there something similar to setlock available or built into FreeBSD?
0
votes
1answer
80 views

How can I see dumps of wholе HTTP packets in FreeBSD?

I need to see whole HTTP packets sent and recieved by an application for debugging purposes. How can this be done in command-line?
4
votes
3answers
1k views

FreeBSD Hypervisor?

is there any possibility to have FreeBSD running virtual guests (Linux and Windows) apart from VirtualBox? Didn't find any recent information yet.
6
votes
1answer
355 views

FreeBSD `freebsd-update` automation?

freebsd-update command prints updating entries after it downloaded. But it shows them with more. So I have to press some spaces to continue. Is there a way to avoid this behavior? I want to execute ...
4
votes
2answers
2k views

ZFS: How can I stop a zpool replace that's currently in progress?

A few days ago, I noticed that the ZFS pool on my home server had started reslivering a disk by itself but was no longer making any progress. The disk had some SMART errors (but did not consider ...
0
votes
1answer
103 views

How can I check disk slices and part status on FreeBSD?

How can I check disk slices and part status on FreeBSD?
0
votes
2answers
380 views

How to make my FreeBSD machine visible automatically on Mac within same local network?

The Mac machines within a local network is visible automatically to the other Macs. They're visible on Finder and can be accessed with their names via console. As I know this is multicast-local-DNS. ...
0
votes
1answer
255 views

FreeBSD disk parts with no mounting. How does this work?

I'm using a VPS service. I installed FreeBSD 8.1, and now configuring. And today, I found really wired thing. This is my disklabel editor screen from sysinstall. FreeBSD ...
1
vote
2answers
2k views

FreeBSD - Can't access jail from SSH

I need your help for solving an SSH+FreeBSD+jails authentication issue. I've (almost) successfully set up a jailed environment on my FreeBSD 8.2 box. My FreeBSD host has 2 network interfaces: ...
1
vote
1answer
287 views

Can I get a FreeBSD `sysinstall` automation script sample?

I want to make a automatically installing FreeBSD disc. I heard that sysinstall can be automated with a configuration file. Can I get a sample. (Tutorials are even better!)
0
votes
1answer
132 views

Is GHC porting to FreeBSD stopped?

I'm playing with GHC package on FreeBSD 8.1. I installed GHC with pkg_add -r ghc. But it was not worked well. I tried some more but I realized the installed GHC version is just 6.10.x. This version is ...
0
votes
1answer
959 views

Post-installation process of PostgreSQL 8.4 in FreeBSD?

I have installed PostgreSQL 8.4 with pkg_add -r postgres84-server. I added 'postgresql_enable="YES"to/etc/rc.conf, and executed/usr/local/etc/rc.d/postgresql initdb`. And when I run psql to start, it ...
1
vote
1answer
7k views

How to print list of users and groups on FreeBSD?

How to print list of users and groups on FreeBSD?
0
votes
2answers
2k views

How to configure hostname for `apache22` package on FreeBSD?

I'm configuring development & test FreeBSD machine on VM. I installed apache22 package and restarted. But the daemon does not started with this error: %apachectl start httpd: ...
0
votes
1answer
795 views

How to make a normal user can install package with `pkg_add` on FreeBSD?

How to make a normal user can install package with pkg_add on FreeBSD? pkg_add -r command fails with normal user with sudo. Downloading succeeds, but installation fails with this error message. Equal ...
0
votes
2answers
233 views

What does “WPA” mean in ifconfig_wlan0=“WPA DHCP”

The handbook suggests that these settings can be used for WPA in FreeBSD: wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" But as far as I'm concerned this very settings can be used for WEP. So what ...
0
votes
2answers
432 views

How to make my normal account can execute `sudo`?

I installed bare-bone FreeBSD, and added a new user. And added sudo package with command pkg_add -r sudo. When I logged into the box with new user account, it cannot run sudo command. What procedure ...