Tag Info

New answers tagged

0

I was able to solve the problem myself - it appears that by bug or by feature the pipe starts working correctly as soon as some parameters of the pipe are configured. In my case, I issued the following command: ipfw pipe 1 config delay 0ms.


1

In order to get graphical user environment, you should first install x server. Here you can find some information: The X Window System Then you can install GNOME, KDE, xfce, etc. See Desktop Environments


3

Rather than using Match, if you wish to allow logging in from a single host, the following works for me (in sshd_config): AllowUsers *@192.168.0.4 It only allows users logging in from 192.168.0.4, using any login on the target. You can replace * with a specific login if you wish, and specify multiple patterns separated by spaces; so for example: ...


1

You may try some values with xset r rate. This command will enable auto-repeat, but you can follow it by 2 numbers. The first one is the number of ms before auto-repeat starts, the second is the number of repeats by seconds. For example: xset r rate 300 20 The auto-repeat will start after 300 ms, then will repeat 20 times/second.


3

You can add in your /etc/rc.conf: cloned_interfaces="lo1" ifconfig_lo1="inet a.b.c.d/netmask" where a.b.c.d is the ip address.


1

Here's a one-liner: ip route replace default via 1.2.3.4 Where 1.2.3.4 is the new gateway IP credit


0

How about Splunk? It processes any machine data and gives ability to do all sorts of acrobatics with it.


2

Probably the best way to handle this is to reboot the system into single user mode, and do the fsck by hand. If, for whatever reason, that's not an option for you, the next best way to handle it is to twiddle a couple of rc.conf knobs. Specifically, these: background_fsck="NO" fsck_y_enable="YES" fsck_y_flags="-f" Reboot, and the rc subsystem should take ...


0

tune2fs is a tool from e2fsprogs for handling ext2/3/4 file systems :) For FreeBSD UFS, tunefs can be used, but it's not able to set anything fsck related. There's a lengthly discussion about forcing fsck after a reboot, the best answer from this thread seems to be "don't" and rely on background_fsck="YES" or force it via /etc/rc.early: echo '/sbin/fsck -y ...


-1

You could try: route add default gw 192.168.1.254 eth0


0

netinet is currently not a kernel module, so i suggest to add your modified file to sys/conf/files instead.


2

For compiling kernel module you should create Makefile and to include kernel module makefile /usr/src/share/mk/bsd.kmod.mk for example: # Note: It is important to make sure you include the <bsd.kmod.mk> makefile after declaring the KMOD and SRCS variables. # Declare Name of kernel module KMOD = module # Enumerate Source files for kernel module ...


1

Usually *BSD provides different options for compiling a program, these are usually called flavours, this is also true for most Linux distributions. Read the Makefile in the directory of the port to see what options are available. Vim can be compiled with many features, for example, you may be in an environment where X11 isn't installed, so you have no need ...


1

The other answers are all good. This also works: pw usermod john -G mygroup


3

You set options in pfctl.conf with a set limit { ... } statement. You can modify the packet filter state while it is running by passing the `-m' (merge) option to pfctl(8), ie FreeBSD 9.3-RELEASE-p10 (GENERIC) #0: Tue Feb 24 21:28:03 UTC 2015 # pfctl -sm No ALTQ support in kernel ALTQ related functions disabled states hard limit ...


1

Wheel is famous for FreeBSD, if you want to need to use su command, you need to be member of wheel group, So pw groupadd get a groupName and -m get members of your group.Old style of the following command you needed to extra command. pw groupadd wheel -m mohsen,ali,john,Hilary,Kate


2

You can see which TCP congestion control algorithms are available by looking at the net.inet.tcp.cc.available sysctl. By default, only newreno is available, so it is the one that is used. There are several different algorithms available, look for modules named cc_something in /boot/kernel. You can load them via kldload, such as kldload cc_vegas. After you ...


5

pw is the command you are looking for. To add user klaatu to the group foo, do: pw groupmod foo -m klaatu Here is the FreeBSD handbook page on the subject. It's an easy and informative read: Users and Basic Account Management


0

Vesa DO NOT support dual display. You need to start the X with native driver, in this case by Intel. Intel do support Dual-head for many boards. You can acheive dual head by either xrandr (temporary) or by xorg configuration (reboot-persistant). Read this. Intel had documented very well about dual-head setup


4

You can use the make targets delete-old and delete-old-libs to remove obsolete files. They run interactively, unless you set BATCH_DELETE_OLD_FILES: # pwd /usr/src # make -DBATCH_DELETE_OLD_FILES delete-old Run them after make installworld. Have a look at build(7) for more details. A word of warning - be careful with delete-old-libs - it will delete ...


1

You're not seeing a driver for that modem in dmesg because one isn't loaded, which likely means that FreeBSD doesn't have one for it. This in turn is because that modem uses the CX11252-15 chipset and is not a hardware modem, but a "softmodem" or "winmodem" with closed-source drivers. FreeBSD does not include out of the box support for any winmodems. ...


0

In ZFS, encryption is at the file system level - not at the level of zpools - so instead of encrypting the whole rpool, you could pick and choose which filesystems to encrypt individually. As an example, # zpool create halfcrypt mirror file1 file2 # zfs create -o mountpoint=/public halfcrypt/public # zfs create -o encryption=on -o mountpoint=/whatever ...


0

Out from the box you cannot write to MBR of disk, which is the one FreeBSD boots from. After setting sysctl kern.geom.debugflags=16 (or kern.geom.debugflags=0x10, which is all the same) you get allowed to shoot in the foot and write to MBR. It's useful to backup and restore MBR or bootcode using dd: The only way to write into MBR without touching this ...



Top 50 recent answers are included