FreeBSD is a free Unix-like operating system descended from AT&T UNIX via BSD UNIX.
2
votes
1answer
586 views
Can I run Bash scripts in FreeBSD without modifying them?
Correct me if I'm wrong:
"sh" script != "bash" script
Linux script are written in Bash
Bash script usually #!/bin/sh
In GNU/Linux, /bin/sh is Bash
In FreeBSD, /bin/sh is not bash, it's the true sh
...
4
votes
3answers
2k views
How to deal with FreeBSD's move to pkgconf?
It seems that the FreeBSD ports tree is busy transitioning from pkg-config to pkgconf. http://www.mail-archive.com/freebsd-ports-announce@freebsd.org/msg00018.html
I first thought as an end user this ...
2
votes
1answer
607 views
Replacing Mac OSX with Linux Distro, or FreeBSD [closed]
I have a Macbook Pro 8,2 and really want to make the switch to something a little less stubborn and a little more flexible than the proprietary Mac OS X. I am a bit frustrated with MacPorts lately and ...
2
votes
0answers
232 views
FreeBSD 9.0 install NOT configuring ports
We have a new FreeBSD 9.0-RELEASE with a ports tree generated via portsnap and none of the ports perform make config.
To some degree it is behaving as though BATCH=yes was set. However, that variable ...
2
votes
1answer
473 views
How to Install BASH in FreeBSD
I really find that using bash helps a lot, when you need to retrieve strings of text that you used previously.
But how can I install it on FreeBSD?
I have tried typing bash into the terminal, but ...
4
votes
2answers
267 views
FreeBSD and Windows show different times
In a dual-boot system, I usually use FreeBSD 9 but when I boot to Windows 7 my system time in both OS automatically change and show incorrect time. What's the problem and How can I solve it?
2
votes
1answer
169 views
How to autoboot boot0?
How can automatically boot FreeBSD in boot0 and, when needed, manually load win by pressing a shortcut button?
5
votes
1answer
798 views
Korn Shell: End, pgup, pgdown, and delete key not working
So basically my End, Pageup/Pagedown, and Delete key are not working in ksh93. I'm running FreeBSD by the way.
My arrow keys are working, and so is my home key.
Those keys work when I put this in my ...
7
votes
2answers
465 views
Is there a way to create cow-copies in ZFS?
I am trying to make cow-copies of some files/directories, but of the several ways I know of, all seem sub-optimal.
For example, btrfs can, with the use of cp --reflink=auto quickly generate ...
2
votes
0answers
258 views
How to use Public IP in case of Two ISP which difers from each other Pfsense [closed]
Please bare with my long explanation but this is important to explain the actual problem. Please also pardon my knowledge with PFsense as i am new to
this.
I have single PFSense box with 3 Ethernet ...
2
votes
1answer
568 views
FreeBSD USB devices - given /dev/da* device is on which speed?
I use machine with USB 2 and USB 3 ports, and I have USB 3 external disk which works perfectly in term of speed (I use it as backup drive so during the night new files are nicely transfered to this ...
2
votes
1answer
323 views
How to mount FreeBSD 9.0 iso file writable mode?
I want to edit bsdinstall script of freebsd 9.0 iso file.
I tried to extract files,edit and recreate iso but I couldn't boot it.I realized that some of files missed while extracting. I also use ...
1
vote
1answer
341 views
Enabling bwn in FreeBSD
I am trying to load the bwn driver as a module as mentioned in the man page.
However, when I attempted to edit /boot/defaults/loader.conf I could not write the changes to the file, this was attempted ...
3
votes
2answers
2k views
Sharing folder from Windows Host to Freebsd Guest
First of all, let me say that though I use Linux (Red Hat, at work) regularly, I am a complete beginner when it comes to actually administrating it.
What I am trying to accomplish:
I have (at home) ...
1
vote
5answers
954 views
How to completely hide stuff from a user?
I want to let some of my friends access my computer by making them user accounts. They will mostly access my computer by sftp and ssh, but they could also sometimes access it at my home. However I ...
2
votes
2answers
922 views
OpenSSH, chroot user: Root needs to own the user directory, is there any consequence?
I want to create an account for my friend on my computer, but I don't want my friend to be able to view all my files. I saw that with OpenSSH, there is an option for that.
Inside the SSHD ...
2
votes
0answers
246 views
Media server RAID difficulties (on FreeNAS)
Disclaimer: I've never used FreeNAS or any type of RAID before, so this is a first.
I've decided to build a media server in my new apartment. I'm going to be going with a total 10TB of space (6x2TB ...
1
vote
1answer
324 views
FreeBSD on ARM architecture?
Can FreeBSD be used for ARM architecture devices? Also, is there a camera driver for FreeBSD?
1
vote
0answers
386 views
installed teamspeak 3 on freebsd using portinstall but can't connect
I installed teamspeak 3 on freebsd 7 using portinstall.
When i do service teamspeak status i see teamspeak is running
but somehow I cannot connect to the server.
did I miss something? I followed ...
3
votes
1answer
917 views
stderr redirection not working in csh
I run the following command:
pkg_add emacs-23.4,2.tbz 2> output.log
The output still displays in the terminal. When I press ↑, I get
pkg_add emacs-23.4,2.tbz 2 > output.log
with a space ...
1
vote
1answer
452 views
what is inode for, in FreeBSD or Solaris
I know a little about linux kernel. BUt for Freebsd, the "vnode" actually is similar to the "inode" in Linux kernel.
And there is a "inode" concept in FreeBSD or Solaris.
So my question is: what is ...
1
vote
0answers
290 views
Manually setting environment variables for Metasploit
How do I set manually environment variables for metasploit, when I execute db_driver I get this message:
[*] No Active Driver
[*] Available:
[*] DB Support: Enable the postgresql driver ...
-1
votes
1answer
420 views
FreeBSD source and how to build
A few questions about FreeBSD
Where/how should I obtain the source code (ex. through terminal, Download off website)
How (on ubuntu) should I build it?
Before I build it can I customize it (in other ...
2
votes
1answer
67 views
Recompile Apache22 with threading seamlessly?
I just found out today that our apache installation was installed without threading support (we need this for mod_wsgi).
Will the following in the apache22 ports folder reinstall our apache with ...
3
votes
1answer
190 views
Java on FreeBSD
Is it possible to get the latest Java (Java 7u3 or Java 6u31) on FreeBSD? Everything i found on the internet is outdated. I currently have 6u24 from the packagemanager which works for now but may get ...
0
votes
2answers
174 views
Best practice when installing programs in FreeBSD?
Just started with FreeBSD and I am not sure whether I need to be root to install programs or not? For example, the manual for installing X11 never says that we should issue su command.
However - it ...
4
votes
1answer
962 views
Which shell should I learn for FreeBSD and Debian?
I have read many articles that say the official shell in FreeBSD is tcsh, and in Debian, its dash. However, when I either echo $shell (FreeBSD) or env in Debian, it says that the shell is csh in the ...
1
vote
1answer
605 views
How to set up FreeBSD for my region?
im currently installing FreeBSD. Im at the "Time Zone Selector" screen. I don't know what should i choose. Normally, since i live in Quebec (Canada), i choose Eastern time GMT -5, but there is no such ...
0
votes
1answer
449 views
VirtualBox Hangs when installing freebsd 9.0
When installing Freebsd 9.0 as virtualbox guest, it hangs. Freezes the guest OS, other VirtualBox windows works fine.
Logs attached, hardware is pentium D, 4 GB ram, Asus p5ld2 deluxe mainboard, OS - ...
2
votes
2answers
538 views
Installing new Operating System such as FreeBSD with PXE boot?
I am no expert on this issue, I am maybe even using the wrong technical term. Anyway, my goal is this: to install a new OS from a server that has the installation documents etc so some settings in ...
0
votes
0answers
123 views
error when i try to reboot freebsd on a virtual machine - vmware
this morning i start this topic with a problem in my virtual machine what i install and configureted in my laptop. Is a freebsd .iso version 8.2. Right now i want to reboot the system and is ...
1
vote
1answer
1k views
switching from user to root and revers (freebsd)
i want to make some modificaciones with root and then with my user, in fact i want to install sudo and he give me the error in the first step:
cd /usr/ports/security/sudo
make install clean
...
1
vote
3answers
212 views
How do I setup two or more IPv6 address on one NIC in FreeBSD?
How i can assign two or more IPv6 address on one NIC. I tried Google but no luck. I've done it with ipv4 but ipv6 can not .
Thanks in advance!
0
votes
2answers
146 views
Error when I want to create a user on FreeBSD
I'm trying to run FreeBSD (.iso) in a virtual VMWare machine. The useradd command gives me an error:
# useradd pstnc
useradd: Command not found
Why is that? The command is correct and very simple, ...
2
votes
1answer
321 views
how to get out from the command iostat on unix?
I was installing a .iso 8,2 version in a vmware to learn unix., and i am stuck with iostat command, i run iostat 3 and is keep going to show me the results, but whem i put exit or q or q! to exit, he ...
1
vote
1answer
198 views
Hamachi for Web Surfing
I recently installed Hamachi on my FreeBSD 9 and I want to know how can I browse web anonymously by this software?
2
votes
2answers
525 views
Can I use divert as an alternative to ipfw fwd?
I would like to lead some traffic through a transparent proxy (which actually is on another server and connected with an ssh tunnel).
Normally I could do this:
ipfw add forward localhost,8080 tcp ...
1
vote
1answer
312 views
user disappeared during update error
I did a upgrade to FreeBSD 9 a few weeks ago and just started using it, and when I try and create a new user, I get the follow:
pw: user 'todd' disappeared during update
adduser: ERROR: There was an ...
8
votes
1answer
323 views
Which virtual terminal is a given X process running on?
When X starts, it searches for the lowest unused VT, and attaches to it. My problem is that when there are several running X processes, I need to be able to identify which one is the currently active ...
3
votes
2answers
206 views
Verbose shutdown messages
I am using BSD at the moment and think I have an X compatibility problem where my computer doesn't shut down. It can cause problems because I have to turn off the power manually while there is no ...
3
votes
2answers
364 views
Installing FreeBSD without removable media from CentOS 6
I've been tasked with installing FreeBSD 8 alongside CentOS 6, without the luxury of removable media. CentOS 6 is already on the machine, and running quite nicely. However, I cannot figure out how to ...
4
votes
0answers
223 views
How Solaris sub-partitions can be accessed in FreeBSD?
First of all, Linux detects it okay:
sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 >
But FreeBSD 9.0 does show only main partition. Possibly only Solaris labels for sparc64 is ...
2
votes
3answers
3k views
ls to show only directory/filename and size
First of all, this is not a duplicate of this: Linux ls to show only filename date and size
Because I want to print actual directory name additionally.
I was always using this command:
ls -l | awk ...
0
votes
1answer
614 views
FreeBSD 9.0 with GNOME 3
Is this possible , to install GNOME 3 on FreeBSD , at the moment ? I did not find a clear answer about this.
2
votes
1answer
381 views
Extract files from FreeBSD 9 ISO
With FreeBSD 8 you could manually install by doing something like:
# mdconfig -f /FreeBSD-8.2-RELEASE-amd64-disc1.iso
# mount -t cd9660 /dev/md0 /cdrom
# cd /cdrom/8.*
# export DESTDIR=/mnt
# cd ...
3
votes
3answers
3k views
FreeBSD + ZFS + Encryption ? Alternatives ? Suggestions?
I would like to create a dedicated physical server which will work as a NAS & fileserver inside my LAN (as well as through VPN).
However I need to fully encrypt the drives (both the system ones ...
2
votes
0answers
528 views
pfsense long ping to google
I have a pfsense box set up. What happens is I set a rule so I can't hit the admin interface 192.168.3.1 from the box.
With the rule enabled
--- www.l.google.com ping statistics ---
2 packets ...
3
votes
2answers
114 views
National characters in manpages
I am trying to get a proper display of national characters with FreeBSD man.
I have tried running the following on 8.1 and 9.0:
# PAGER=less LANG="pl_PL.UTF-8" man -d -M. ./man.1
-- Using ...
4
votes
1answer
883 views
Can I use pxelinux to boot from an ISOs over the network?
I have a server which hosts mirrors for FreeBSD, CentOS and Scientific Linux. It includes .iso files.
Is it possible to use pxelinux to boot this ISO over the network? Must I use gPXE or iPXE ...
1
vote
2answers
242 views
Extract files from FreeBSD ISOs - how to know locations?
How can I extract some of the folders of a stock FreeBSD install from the ISO without actually installing FreeBSD?
I am trying to build a number of cross-compilers for various major versions of ...
