freebsd-update 7.0-7.4 problem: rmdir Directory not empty

2011-06-03 Thread Brent Bloxam
I'm going through the freebsd-update process to move from 7.0 to 7.4. I 
followed the handbook, rebooted to GENERIC and followed up with 
`freebsd-update install` and got the following output:



# freebsd-update install
Installing updates...rmdir: ///usr/share/man/ja: Directory not empty
rmdir: ///usr/share/man/en.ISO8859-1/cat8: Directory not empty
rmdir: ///usr/share/man/en.ISO8859-1/cat4: Directory not empty
rmdir: ///usr/share/man/cat8: Directory not empty
rmdir: ///usr/share/man/cat4: Directory not empty
 done.


Are these rmdir lines something to be concerned about? Should I remove 
them and their content?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Mother board compatibility and CF card usage as main storage device for small DNS server

2010-09-30 Thread Brent Bloxam

Kaya Saman wrote:
 From what you mention it sounds like a bad idea as the system disk will 
have many R/W's going through it it seems as /tmp and Swap get written 
to all the time.




You can skip swap altogether and use MFS (memory filesystem) like Brian 
mentioned for other high write partitions that don't need to be 
persistent (/tmp, /var/log). See the following article on the 
freebsd.org website about using solid state storage: 
http://www.freebsd.org/doc/en/articles/solid-state/article.html


Keep in mind though that Brian's setup was for slave nameservers that 
would be caching from another master. If your nameserver is acting as 
master, you'll be storing your records on flash since you need 
persistent storage, but I don't imagine those files will be write intensive.


Also, if you make /var/log MFS, you'll want to have an external syslog 
server set up ;)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: phpscheduleit not allowing login

2009-10-20 Thread Brent Bloxam

Noah wrote:

Hi there,

I just installed 1.2.11 and running apache
I get the Log in screen and I am able to register.
As soon as I enter my account information at the main Login page i am 
sent right back to the page and the error message is You are not logged 
in!


Nothing is appearing in the log eventhough I have it configured:

--- snip ---

// If we should log system activity or not

*

$conf['app']['use_log'] = 1;
// Directory/file for log ['/var/log/phpscheduleitlog.txt']
$conf['app']['logfile'] = '/var/log/phpscheduleitlog.txt';

--- snip ---

What else can I try here?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


Hi Noah,

This is the FreeBSD questions mailing list, perhaps you should try their 
forums for support: http://www.php.brickhost.com/forums/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Building Ghostscript from source on FreeBSD

2009-10-19 Thread Brent Bloxam
I'm having trouble building Ghostscript 8.70 from source on FreeBSD 7.0. 
I cannot use the version in the ports tree for various reasons. I've 
looked at the .mak patches in ./files/ for the ports tree however to try 
to suss out any differences but they elude me.


My configure line:
./configure --prefix=/usr/local/imagemagick-6.5.6 --disable-cups 
--disable-gtk --disable-cairo --disable-fontconfig --without-libpaper 
--without-pdftoraster --without-ijs --without-jbig2dec --without-jasper 
--without-omni --without-x --with-drivers=BMP,FAX,JPEG,PNG,PS,TIFF


The error I receive building:

gcc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing 
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H 
-DGX_COLOR_INDEX_TYPE=unsigned long long -I./base -o ./obj/genconf 
./base/genconf.c

gcc: ./base/genconf.c: No such file or directory
gcc: No input files specified

./base/genconf.c exists. Executing the gcc command on its own is 
successful, yet the build can't continue even with ./obj/genconf 
existing. `make -d A` reaches the failure with:


Examining ./base/stdpn.h...modified 18:23:38 Jun 05, 2007...up-to-date.
Examining ./obj/genconf...non-existent...modified before source 
(/home/build/ghostscript-8.70/./base/genconf.c)...out-of-date.

./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c
./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h
./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h 
/home/build/ghostscript-8.70/./base/stdpn.h
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h 
/home/build/ghostscript-8.70/./base/stdpn.h
cc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing 
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H 
-DGX_COLOR_INDEX_TYPE=unsigned long long -I./base -o ./obj/genconf 
./base/genconf.c

cc: ./base/genconf.c: No such file or directory
cc: No input files specified

Why is it that it believes ./obj/genconf is nonexistent, and then 
proceeds to fail while it has no problems with anything else up to that 
point?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Building Ghostscript from source on FreeBSD

2009-10-19 Thread Brent Bloxam

Brent Bloxam wrote:
I'm having trouble building Ghostscript 8.70 from source on FreeBSD 7.0. 
I cannot use the version in the ports tree for various reasons. I've 
looked at the .mak patches in ./files/ for the ports tree however to try 
to suss out any differences but they elude me.


My configure line:
./configure --prefix=/usr/local/imagemagick-6.5.6 --disable-cups 
--disable-gtk --disable-cairo --disable-fontconfig --without-libpaper 
--without-pdftoraster --without-ijs --without-jbig2dec --without-jasper 
--without-omni --without-x --with-drivers=BMP,FAX,JPEG,PNG,PS,TIFF


The error I receive building:

gcc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing 
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H 
-DGX_COLOR_INDEX_TYPE=unsigned long long -I./base -o ./obj/genconf 
./base/genconf.c

gcc: ./base/genconf.c: No such file or directory
gcc: No input files specified

./base/genconf.c exists. Executing the gcc command on its own is 
successful, yet the build can't continue even with ./obj/genconf 
existing. `make -d A` reaches the failure with:


Examining ./base/stdpn.h...modified 18:23:38 Jun 05, 2007...up-to-date.
Examining ./obj/genconf...non-existent...modified before source 
(/home/build/ghostscript-8.70/./base/genconf.c)...out-of-date.

./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c
./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h
./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h 
/home/build/ghostscript-8.70/./base/stdpn.h
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h 
/home/build/ghostscript-8.70/./base/stdpn.h
cc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing 
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H 
-DGX_COLOR_INDEX_TYPE=unsigned long long -I./base -o ./obj/genconf 
./base/genconf.c

cc: ./base/genconf.c: No such file or directory
cc: No input files specified

Why is it that it believes ./obj/genconf is nonexistent, and then 
proceeds to fail while it has no problems with anything else up to that 
point?


Solved. Looks like building Ghostscript explicitly requires gmake
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ipfw - TRAFFIC SHAPER

2009-10-09 Thread Brent Bloxam

alexus wrote:

I'm trying to fight with ipfw and unfortunately unsuccessfully...

I created following rules

ipfw pipe 1 config bw 1Mbit/s
ifpw add 8080 pipe 1 tcp from any to any src-port www
ifpw add 8080 pipe 1 tcp from any to any dst-port www

yet I see peaks of my traffic is way higher them 1Mbit/s
i have following modules loaded through kldload

 23 0x80cd3000 15db8ipfw.ko
 51 0x80cec000 bbc8 dummynet.ko

i even load

101 0x80e7d000 14df ipdivert.ko

and that still didn't help :(
can anyone help me?



Do you have an ipfw rule allowing www traffic before rule 8080?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Device naming on scbus using isp

2009-09-22 Thread Brent Bloxam

Brent Bloxam wrote:
I'm wondering about how device names are assigned on scbus, specifically 
when using the isp driver. It seems to me that there's potential when an 
HBA has access to multiple LUNs that on boot the scbus will have entries 
in /dev scrambled compared to the previous run (thus messing up mounts). 
My experience so far has been that da0 will be assigned to the first 
target scanned, da1 to the second, etc. Is this generally something 
countered with device.hints? If a LUN were to go away, but a device hint 
pointing to the target:unit remained, would that cause any issues on boot?


Thanks,
Brent


Thought I'd follow up with a bit of information I've determined about 
this, despite the lack of response from anyone on list. Maybe someone 
will find it useful :)


I can only speak for this applying to use of isp(4) with scbus(4).

Devices that operate in target mode appear to isp(4) and are assigned a 
target ID starting at 0. The order in which they appear depends on their 
fcid or what's known to isp(4) as PortID. This order is ascending, so 
the lower fcid takes precedence. isp(4) will then check the target to 
see if any LUNs are available to it. If not, the target disappears -- 
and here's the important thing to note -- but its target ID does not go 
away.


Say you have 5 devices with the following fcids, 4 in target mode:

0x00 - target
0x01 - target
0x02 - another server with an HBA
0xF0 - target with LUN
0xF1 - target with LUN

isp(4) is loaded at boot, and the following occurs:

0x00 appears, is assigned target 0, and disappears because there are no LUNs
0x01 appears, is assigned target 1, and disappears because there are no LUNs
0x02 appears and simply disappears because it is not a target
0xF0 appears, is assigned target 2, and is assigned to da0
0xF1 appears, is assigned target 3, and is assigned to da1

You can see because of this example that maintaining device names using 
/boot/device.hints is impossible if targets in the fabric change. If 
0x00 were to disappear, the target IDs would change and render 
/boot/device.hints invalid, or worse, the wrong LUN could be given the 
wrong device name.



Ideally, there would be a way to assign target IDs by fcid, but that 
does not exist presently.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Device naming on scbus using isp

2009-09-22 Thread Brent Bloxam

Dan Nelson wrote:

If you're mounting UFS filesystems, you can label them and mount them by
label (see the tunefs and glabel manpages for more info).  ZFS should find
its pool devices automatically, but you can always manually label devices
with glabel and refer to the label instead of the da## name.
  
Thanks Dan, I'm using UFS so looks like labeling will be the solution to 
this issue

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: toaster or do-it-myself?

2009-08-10 Thread Brent Bloxam

Roland Smith wrote:

There are several webmail apps available in ports. E.g. mail/squirrelmail,
which has a lot of plugins available. 


Squirrelmail's webserver was recently hacked, and plugins were compromised:
http://secunia.com/advisories/36087/
http://sourceforge.net/mailarchive/message.php?msg_name=4A727634.3080008%40squirrelmail.org

Just a friendly FYI
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD FIBs (setfib) - How to modify?

2009-07-16 Thread Brent Bloxam

The documentation on FIBs is pretty slim unless I've been looking in the
wrong places, all I've seen are a few mentions in errata and release
notes. setfib(1) doesn't offer much in the way of associated commands,
and definitely doesn't explain how to actually work with a FIB. I'm
curious if there's a command to specifically modify a FIB beyond 0,
besides something like

setfib 1 route add ...

Thanks,
Brent

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD FIBs (setfib) - How to modify?

2009-07-16 Thread Brent Bloxam

Nikos Vassiliadis wrote:

Brent Bloxam wrote:

The documentation on FIBs is pretty slim unless I've been looking in the
wrong places, all I've seen are a few mentions in errata and release
notes. setfib(1) doesn't offer much in the way of associated commands,
and definitely doesn't explain how to actually work with a FIB. I'm
curious if there's a command to specifically modify a FIB beyond 0,
besides something like

setfib 1 route add ...


setfib selects the routing table for locally originated
outgoing packets. Besides locally originated packets, there
are packets arriving from the network and need to be forwarded.
These packets can be classified in a specific routing table
with the aid of ipfw. That's all there is. I can't think
of something else that needs to be thought with regard to
multiple routing tables.

HTH, Nikos


Sorry, perhaps I wasn't clear. What I'm interested in is if there's a 
way to deal with *modifying* those other routing tables, besides using 
setfib as I described (e.g., you want to have a different default 
gateway). There would be no reason to have multiple routing tables if 
they're carbon copies of one another.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD FIBs (setfib) - How to modify?

2009-07-16 Thread Brent Bloxam

Nikos Vassiliadis wrote:
  Just start a shell in FIB 10 and every command forked from

that shell will be bound to FIB 10.
setfib 10 csh
... do some work
exit
you're back in FIB 0.

HTH, Nikos


Thanks Nikos, I didn't want to assume setfib was the only method of 
modifying them (whether through directly using a utility or dropping 
into a shell under it). The man pages make no mention of how to actually 
change the other route tables, the handbook doesn't mention FIBs in any 
capacity, etc, so thought I would clarify here

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD FIBs (setfib) - How to modify?

2009-07-16 Thread Brent Bloxam

Mel Flynn wrote:
  I guess the main question here is what is 10? or what is an FIB?. 
How does
one create such an FIB id (which I can't find in docs either). For example, on 
my system if I do:

% setfib 2 fetch http://www.freebsd.org/docs.html
setfib: 2: invalid FIB (max 0)

I would expect to see some info in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html

Naturally there's some info here:
http://en.wikipedia.org/wiki/Forwarding_information_base

but that doesn't have any practical information on how to create one.


I'm not sure if you're curious or trying to clarify on my question, but 
I'm past the point of creating and was interested in modifying.


Just incase anyone is interested, see the end of the 7.1-RELEASE Errata 
here: http://www.freebsd.org/releases/7.1R/errata.html



FreeBSD now supports multiple routing tables. To enable this, the following 
steps are needed:

*

  Add the following kernel configuration option and rebuild the kernel. The 
2 is the number of FIB (Forward Information Base, synonym for a routing table 
here). The maximum value is 16.

  optionsROUTETABLES=2

  The procedure for rebuilding the FreeBSD kernel is described in the 
FreeBSD Handbook.

  This number can be modified on boot time. To do so, add the following to 
/boot/loader.conf and reboot the system:

  net.fibs=6



Note that net.fibs can only be modified _after_ the kernel has been 
compiled with the ROUTETABLES option. You can view the current settings 
related to FIBs with sysctl

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.0-RELEASE Upgrade problems

2009-07-16 Thread Brent Bloxam

Rob wrote:
I'm new to FreeBSD and installed a base 7.0-RELEASE system and have been 
running it for a while with ZFS and gmirror partitions.  I've never 
updated since install, so I'm attempting to do so now, but I'm having no 
luck.  I'm following the upgrade instructions in the 7.2-RELEASE release 
notes, but I get an error I don't know what to do with.  I'm doing:


# freebsd-update upgrade -r 7.2-RELEASE
Answer a few questions
# freebsd-update install
Installing updates...chflags: ///usr/bin/CC: Operation not supported

I tried updating to the latest 7.0-RELEASE thinking there was a fix, but 
got:


# freebsd-update fetch
Answer a few questions
# freebsd-update install
Installing updates...chflags: ///usr/bin/dig: Operation not supported

Am I doing something wrong?  I haven't found any reference to this 
error, and while being very experienced with linux systems am new (as 
previously stated) to FreeBSD and am not sure where to start to track 
this down.


Does anyone have any suggestions?

Rob


chflags is not supported on ZFS. See this thread for possible workaround:

http://forums.freebsd.org/archive/index.php/t-3786.html

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD for a high school class? (long)

2009-07-09 Thread Brent Bloxam

Chris wrote:


The course is HTML. Mouse button operations should be close,
a window that gives a simple file directory and a text editor that
doesn't require learning a character command set would be the
target.



Hi Chris,

Maybe look at using Xfce, which is a lightweight window manager based on 
GTK+ and is available in the ports tree and as a package (from the 
machine specs, I assume you'll be installing packages). The theme you 
use for it will impact performance as well, but the default should be fine.


For text-editing you can try Mousepad 
(http://www.xfce.org/projects/mousepad/) and Thunar 
(http://www.xfce.org/projects/thunar/) for file management

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-06-29 Thread Brent Bloxam

kalin m wrote:


hi all...

my first time using serial ports and modems. the modem is hooked up 
using RS-232 cable...


modem specs:

• Baud Rate: 115.2kbps
• Bits: 8
• Stop Bits: 1
• Parity: none
• Hardware Handshaking: Yes


my /etc/ttys:

ttyd0 /usr/libexec/getty std.115200 dialup on
ttyd1 /usr/libexec/getty std.115200 dialup on

then i do:
# kill -HUP 1

ps shows:
62496 0.0 0.2 3184 952 ?? I 10:53PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd0
62667 0.0 0.2 3184 1004 ?? I 11:37PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd1


according to the handbook i would see the above. i'm not sure if i need 
both ttyd0 and 1 since i have hooked only one modem but there is no 
explanation about that in the handbook.


messages says:
Jun 28 23:37:17 moo getty[62667]: open /dev/ttyd1: No such file or 
directory


and no other entries... so i guess that settles the need of ttyd1!?!

ok. so now i put in /etc/remote:
sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

and, following the instructions in the handbook, try reaching the modem 
doing:

# tip -v cuad0

i get:
tip: unknown host tip0



I've no experience with serial modems, but having read the man pages I 
believe your remote(5) line is incorrect.


sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

sets system names sio0 and com1, then you try to execute tip to connect 
to cuad0. Is there an entry for cuad0 in your /etc/remote? I'm confused 
as to why tip is returning 'unknown host tip0' however.


Give `tip -v sio0` a shot, or change the system names in your 
/etc/remote line

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: DHCP using ral

2009-06-29 Thread Brent Bloxam

Robert Hall wrote:

ifconfig ral0 inet 192.168.1.104 netmask 255.255.255.0 assigns the
specified values. Ping no longer tells me that there's no route to the
host, but I'm getting about 95% packet loss. netstat -r now shows
that link1 (ral0) is the gateway to 192.168.1.0. I still don't have a
usable connection.



Not especially helpful but I thought I'd throw this out there, Linksys 
routers by default define their DHCP range as 192.168.1.100 - 
192.168.1.149, so pick an address outside that space if you're trying to 
assign statically. You can often get away with setting the IP of the 
router (default of 192.168.1.1 for Linksys) as your DNS, as many Linksys 
routers have a built in DNS proxy.


Are you sure you're getting a strong enough signal from the AP? Have you 
had success with this WiFi card accessing other APs? Do you have access 
to a different WiFi card you could try?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Device naming on scbus using isp

2009-06-26 Thread Brent Bloxam
I'm wondering about how device names are assigned on scbus, specifically 
when using the isp driver. It seems to me that there's potential when an 
HBA has access to multiple LUNs that on boot the scbus will have entries 
in /dev scrambled compared to the previous run (thus messing up mounts). 
My experience so far has been that da0 will be assigned to the first 
target scanned, da1 to the second, etc. Is this generally something 
countered with device.hints? If a LUN were to go away, but a device hint 
pointing to the target:unit remained, would that cause any issues on boot?


Thanks,
Brent
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: my kernel is not build/install

2009-06-26 Thread Brent Bloxam

fo...@pisem.net wrote:

When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith  Error 
code 1


According to Chapter 8.5 of the handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html):



   1.
  Change to the /usr/src directory:
  # cd /usr/src

   2.
  Compile the kernel:
  # make buildkernel KERNCONF=MYKERNEL

   3.
  Install the new kernel:
  # make installkernel KERNCONF=MYKERNEL



You need to use `make buildkernel`, not `make kernel`
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ~/.ssh directory permissions

2009-06-24 Thread Brent Bloxam

Chris Rees wrote:


Although I think it's not a big deal, as long as your id_?sa has
permissions 600 like mine, or even 400.

Chris



The man page for ssh(1) provides a lot of detail about the sensitivity 
of the various files related to ssh. To quote it regarding a few of them:



 ~/.ssh/
 This directory is the default location for all user-specific 
configuration and authentication information.  There is no
 general requirement to keep the entire contents of this directory 
secret, but the recommended permissions are
 read/write/execute for the user, and not accessible by others.


So as you can see, 700 is recommended (but not necessary).


 ~/.ssh/identity
 ~/.ssh/id_dsa
 ~/.ssh/id_rsa
 Contains the private key for authentication.  These files contain 
sensitive data and should be readable by the user but not
 accessible by others (read/write/execute).  ssh will simply ignore 
a private key file if it is accessible by others.  It is
 possible to specify a passphrase when generating the key which 
will be used to encrypt the sensitive part of this file
 using 3DES.


However, identity, id_dsa and id_rsa _must_ be 700 at a maximum. It's 
best to follow the recommendations from the man page unless you have 
very specific reasons for needing more lax permissions on these files.


Regards,
Brent
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bannerfiltering

2009-06-17 Thread Brent Bloxam

Dave wrote:

Hello,
I've got a freebsd 7.2 machine that i need to use for banner
filtering, addzapping and filtering out all the junk that comes along with
adds windows viruses trojans things like that before they can get to my
internal clients. Previously i used squid and dansguardian but found that
slowed things down to a crawl and at times was to restrictive at times not
restrictive enough. I've also tried squidguard but that didn't meet my needs
either, it didn't seem to be being maintained.
In the interim i was looking for a hosts file i can use on servers
and clients to redirect requests to add sites to nowhere. 
Any solutions appreciated.

Thanks.
Dave.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


http://someonewhocares.org/hosts/ should suffice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: HandbooK-Free BSD

2009-06-02 Thread Brent Bloxam

Rafael E Garcia wrote:

Gentlemen
Please How I can copy the Free BSD Handbook in my computer? Any 
Sugestion will be apreciate.   Thank you Rafael E Garcia




ftp://ftp.freebsd.org/pub/FreeBSD/doc/handbook/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple instances of MySQL

2009-04-09 Thread Brent Bloxam

Mel Flynn wrote:

Any reason a jail can't be used? This would allow sharing the binary using 
null or union fs, little overhead, yet seperated from host install and no 
maintenance of port installed files, like rc.d/mysql-server.


Unionfs, unix sockets and flush operations don't like each other from 
what I know, so make sure your database directory and socket aren't 
going to be located on a unionfs mount and you should be okay. Someone 
feel free to correct me if I'm wrong on this, but I definitely haven't 
been able to get MySQL to play nice with unionfs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org