Re: /boot is full after running make installkernel on FreeBSD 8.0

2010-07-01 Thread Robert Huff

Henrik Hudson writes:

   Or just make one large partition.  Not on a server, but I don't 
   see much reason for using multiple partitions on a laptop.
  
  Multiple partitions still isn't a bad idea if you ever have to
  fsck and even on a desktop / laptop I usually mount /tmp as
  noexec. (note: installworld requires exec in /tmp, so you will
  have to remount /tmp if you use that). Also, it's easier to
  recover if you can boot single user mode and run a quick fsck on
  / when it's small. It doesn't happen often, but when it does it's
  easier.

1) The preferred backup method uses dump.
2) dump works on entire partitions.
2a) It makes little sense to back up 500 gbytes when all you
need to preserve is 5 gbytes.
3) If you regularly need to dump more than a single partition,
quite a few people have scripts they will probably be willing to
share.


Robert Huff





___
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


Updating

2010-06-27 Thread Robert Huff

Grant Peel writes:

  What would be the prefered method of upgrading servers from
  freebsd 6.x to 8.x ?
  
  Fresh install and reload users data, rebuild ports etc?

This.
Safer, expecially if you install to a clean disk.
Possibly less time.
Definitely less hassle (once you get the initial installation
done).



Robert Huff

___
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: partition / is full

2010-06-25 Thread Robert Huff

Jerry McAllister writes:

   Tool df showed me that the partition / has 102% of the occupied space
   (102% Capacity). Added a file? rc.conf -- clear_tmp_enable=YES but
   nothing that could not (although it has been emptied tmp). Personally, I
   think that you need to remove the old kernel (I did freebsd-update fetch 
 and
   install), but I do not know how. Perhaps the reason is quite different - 
 I'm
   just guessing. Do you know how to fix it?
  
  That could fill up your root (/) partition.  Getting rid of obsolete kernels
  could help.

Try:

du -x / | sort -nr | head -n 30 

and then figure out whether each of those directories is the
correct size.


Robert Huff



___
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


Ownership of /var/named Changes on Reboot.

2010-06-16 Thread Robert Huff

Martin McCormick writes:

   Is there a way to keep /var/named owned by bind across
  reboots?

Yes.  I had this happen for a long time.
The bad news is it had been years since I fixed it, and I no
longer remember exactly what I did.  I will keep trying.


Robert Huff

___
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: Problem upgrading ports - libintl.so.8 not found

2010-06-15 Thread Robert Huff

Eitan Adler writes:

   What do I need to do to fix this problem?
  
  20100530:
AFFECTS: users of devel/gettext (i.e.: YOU)
AUTHOR: a...@freebsd.org

When doing this, I also had problems with something which led
to a problem with textproc/flex.  I have to completely de-install
flex, then re-install.  That fixed things.


Robert Huff

___
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: Simulate CRON

2010-06-14 Thread Robert Huff

Carmel writes:

I saw a posting here months ago regarding a way to simulate running
a script under CRON. I wrote it down and now cannot find it.
Googling has not proved very useful either. I just cannot remember
the program name.

   Are you looking for a cron syntax check? If yes, then this site
   should be of some help:
  
  No, sorry. There was a command or program, I forgot which, that
  would allow a user to run a program under another environment,
  similar to the environment that a script under CRON would be
  running under.

Are you possibly talking about a jail?



Robert Huff



___
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: dbus_enable and hald_enable

2010-06-08 Thread Robert Huff

Polytropon writes:

  can you explain to me what is it : dbus_enable=YES and
   hald_enable=YES in file /etc/rc.conf? What is their function?
  
  Sadly, those don't provide man dbus or man hal in a very
  impolite manner. I'm sure you can find more documentation on
  the web, but it may already be outdated.

Try man hald.

  If you ask what HAL and DBUS actually *ARE*, I'm not sure what
  to answer - to me, they are both useless. :-)

I believe they involved with plug-and-play devices.


Robert Huff

___
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


Apache22 Upgrade Failure

2010-05-21 Thread Robert Huff

Odhiambo Washington writes:

  Did I miss something? Trying to upgrade apache22 on my FreeBSD
  boxes results in:

Have you read /usr/ports/UPDATING?


Robert Huff




___
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


increasing memory for no root users on freebsd 8.0

2010-05-20 Thread Robert Huff

Vikash Badal writes:

  Can someone assist me with tunning freebsd 8.0 so that I can
  allocate more memory to a process that is not owned by root or
  running as root.

man (5) login.conf ??


Robert Huff

___
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: md5(1) and cal(1)

2010-05-11 Thread Robert Huff
Warren Block writes:

   1.  Why doesn't cal(1) hilight the current day?
  
  cal on FreeBSD 8 does highlight the current date.

Confirmed for both xterm and whatever the console driver is
using.


Robert Huff

___
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: Small computer to run a GUI?

2010-05-09 Thread Robert Huff

per...@pluto.rain.com writes:

  Sounds a bit like a ShivaPlug.

Or something almost identical.
Thanks.


Robert Huff




___
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: Small computer to run a GUI?

2010-05-08 Thread Robert Huff

Andrew Gould writes:

   Sounds like you want a netbook.
  

   I was more thinking of something without a monitor, keyboard or 
   mouse. I want to put it in a cupboard and not worry about it. With 
   a netbook i'd probably have to leave it open (or else it would go 
   into suspend mode or heat up or...). I was just hoping for something
   Soekris size but with a VGA output.
  
  Have you taken a look at the fit-PC2?  Since it can run Linux, the
  odds are it can run FreeBSD as well.  You might want to ask the
  creators.
  
  http://www.fit-pc.com/web/

I seem to have lost the bookmark, but within the last 18 months
or so I saw an article for something that might work here.  It ran
Linux, so hopefully it would run *BSD.
It had a 1 ghz processor, and 512 mbytes of RAM.
The package was a a cube. 2x2x2.  That's correct, inches.
One face has a power plug; another had a USB connector; a third has
a (100 mbit) ethernet connector.
The price was (I think) under US $150.


Robert Huff



___
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: Addition to BSDstats

2010-05-06 Thread Robert Huff

Chris Whitehouse writes:

  The problem with not including bsdstats in sysinstall or some
  other means of bringing it to peoples attention is that it gets
  forgotten and loses its effectiveness. What about a monthly (3
  monthly, whatever) reminder saying what bsdstats is about and the
  reasons for installing it. Maybe it could go in the monthly list
  subscription reminder.

As part of the installation process, offer to add a crontab
entry?


Robert Huff

___
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


upgrading from i386 to AMD64

2010-04-30 Thread Robert Huff

Neil Short writes:

  Based upon a different question in this forum, I find myself
  motivated to upgrade my i386 install to AMD64. Can this be done
  by a simple kernel rebuild or a binary upgrade? Is a full
  reinstallation necessary?

Perhaps not strictly necessary, but the path of least
resistance and lowest risk.


Robert Huff

___
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


parsing terminfo entries

2010-04-21 Thread Robert Huff

Other than curses, is there a library that will let me parse a
terminfo string?  I.e. ask for the value of a particular setting?


Robert Huff

___
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: parsing terminfo entries

2010-04-21 Thread Robert Huff

I found what I need, folks.
Thanks for the help.


Robert Huff

___
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: mysql60 port broken? Its 10:00. Do U know where ur mysqlclient.16 is?

2010-04-16 Thread Robert Huff

Jerry writes:

   Question 1) Why can mysqlclient.16 not be found? Could it actually
   need libmysqlclient.so.16?
   
   Question 2) What's up with mysql60-server? Is the port broken?
  
  The MySQL60 port has been gone for a while now. I know, because I
  was in the same boat. Use portupgrade with the -o flag to fix
  the problem.

When this happened to me, I was tolk 5.5 is the line under
active development.
I (with trepidation) de-installed 6.0, installed 5.5, and
everything worked.  Of course, I'm using it mainly to learn how;
your experience may be different.


Robert Huff


___
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: Online school for FreeBSD

2010-04-12 Thread Robert Huff

herbert langhans writes:

  I sign here too - Lucas' Absolute FreeBSD covers practically all
  the aspects when you new to Unix. Its a good choice. A seperate
  computer for trying out and break'n'reinstall is also a good idea
  for a start.
  
  Its like learning a foreign language. At the beginning you may
  wonder how anybody can ever understand this mumbo jumbo. Then you
  will get an idea of it and go into an experimental stage where
  many things go wrong. And after some years you wonder that there
  was a time before where you could not understand such an obvious,
  logical concept.

For UNIX novices willing to read, I strongly recomment _UNIX
System Administration Handbook_
(http://www.amazon.com/UNIX-System-Administration-Handbook-3rd/dp/0130206016/ref=sr_1_1?ie=UTF8s=booksqid=1271073058sr=1-1).
 My version, now out of date, covers Solaris, HP-UX, Red Hat, and
FreeBSD.  It's very readable, and while it doesn't cover
everything it teaches enough (including some how and why to be
able to figure things out from the man pages or third-party
documentation.


Robert Huff

___
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


Online school for FreeBSD

2010-04-10 Thread Robert Huff

jt writes:

  I've been doing searches for online schools that teach FreeBSD. I've
  been trying to learn on an off for years but when it starts getting
  complicated, I get stuck. The handbook don't do a lot of good.
  
  My goal is simply this. I want to open a small business, A server,
  To lease out web space, domains, etc etc. I want to start small and
  possibly expand to a rack of servers and so on.

While there is applicable information, based on your
description I do not believe this is a job the Handbook was ever
intended to address.

  I've been searching all say and cannot find ANY online schools that
  teach FreeBSD.  From what I understand, FreeBSD is the best for
  security and control. I'll be leasing out shell space too so I need
  security like sh3lls.net. A company like that is eventually what Id
  like to accomplish. But I need to know the ground up. I don't want
  to trust an employee with root access to my server.

What is there in what you want to do that is specific to
FreeBSD?  Based on an uninformed guess, it sounds like 90+ percent
of these tasks are UNIX-generic; what's left could easily vary with
your unique case and might be best handled to questions to targeted
mailing lists.

  I remember seeing a book out there specific to what I'm trying to
  do.

However, if someone _has_ done this having that on the record
would be nice.

  You guys do excellent work. I hope not only to learn but someday
  contribute back to the freebsd community.

See?  You have already.


Robert Huff

___
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: Kernel Config for NAT

2010-04-09 Thread Robert Huff

Ian Smith writes:

  So ... double-checking I'm doing this right:

1) in /boot/loader.conf:

ipfw_load=YES
ipdivert_load=YES
  
  I thought from your earlier mail that you wanted to use in-kernel
  NAT?

I want whatever works.  :-)
Beyond that ... all other things being more-or-less equal I'll
do this with modules.
Let's build that.  So in /etc/sysctl.conf:

net.inet.ip.fw.default_to_accept=1
net.inet.ip.fw.verbose=1
net.inet.ip.fw.verbose_limit=100

check.

  I believe all these can be accomplished with modules on GENERIC
  kernel, at least on 8.x, with the exception of FIREWALL_FORWARD
  functionality which does require a custom kernel as it messes
  with lots of ip paths.

This machine has a custom kernel, so that's not a an issue.
And in /boot/loader.conf:

ipfw_load=YES
ipfw_nat=YES  # in-kernel ipfw nat
libalias=YES  # for in-kernel ipfw nat

check.
and in the kernel config:

#options  IPFIREWALL  #firewall
#options  IPFIREWALL_VERBOSE  #enable logging to syslogd(8)

options  IPFIREWALL_FORWARD

#options  IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
#options  IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default
#options  IPDIVERT
#options  IPFIREWALL_NAT  #ipfw kernel nat support
#options  LIBALIAS  # required for NAT

check.
This combination will get me a) ipfw, using the standard
rc.conf firewall_ variables, and b) NAT ... do I still need to
have a nat setting in the firewall rules?

Less confused than last time,


Robert Huff

___
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: Kernel Config for NAT

2010-04-08 Thread Robert Huff

Adam Vande More writes:

  If compiled into the kernel, there's a set of optional settings
   (VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can be set there.
  If using the module, how does one set these?
  
  Logging is compiled into the modules and there are a few sysctl's.  AFAIK,
  everything else is the same.
  
  http://www.freebsd.org/doc/handbook/firewalls-ipfw.html

It would be nice if this were made explicit in that handvook.
And the other two secotions harmonized as well.


Robert Huff


___
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: Kernel Config for NAT

2010-04-08 Thread Robert Huff
Adam Vande More writes:

  If compiled into the kernel, there's a set of optional settings
   (VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can be set there.
  If using the module, how does one set these?
  
  Logging is compiled into the modules and there are a few sysctl's.  AFAIK,
  everything else is the same.
  
  http://www.freebsd.org/doc/handbook/firewalls-ipfw.html

So ... double-checking I'm doing this right:

1) in /boot/loader.conf:

ipfw_load=YES
ipdivert_load=YES

2) in the kernel config:

#options  IPFIREWALL  #firewall
#options  IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
#options  IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
#options  IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default
#options  IPDIVERT
#options  IPFIREWALL_NAT  #ipfw kernel nat support
options  LIBALIAS   # required for NAT

3) in /etc/sysctl.conf:

net.inet.ip.fw.default_to_accept=1
net.inet.ip.fw.verbose=1
net.inet.ip.fw.verbose_limit=100


That cover it?


Robert Huff

___
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: Kernel Config for NAT

2010-04-08 Thread Robert Huff


  IMHO, and according to Adam Vandr More, kernel options are no
  longer required. 

The original reason I asked was:

30.6.2 Kernel Options

It is not a mandatory requirement to enable IPFW by
compiling the following options into the FreeBSD kernel,
unless NAT functionality is required. 


I do want NAT, and there is no unambiguous path in the
Handbook.


  Still need entries in /etc/rc.conf. See  HB 30.9.5, 30.6.3,
  30.6.5.7

Once ipfw is running, I should have the rulesets covered.



Robert Huff



___
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: Kernel Config for NAT

2010-04-07 Thread Robert Huff

Adam Vande More writes:

   I am setting up a router to share one Wi-Fi link between a few computers
   that only support CAT-5. Like a wireless access point except wired and
   wireless sides are reversed. My question is about the ipfw packet filter.
   From the handbook section on NAT, 31.9.3, I can achieve what I need with
   boot loader options. Section 31.9.4 describes alternatives for building a
   custom kernel. In contrast, the chapter on ipfw states several times that
   NAT requires a custom kernel - 30.6.1, 30.6.2, 30.6.5.7.
  
   I want to use freebsd-update and building a custom kernel eliminates that
   option.
  
   Which is correct? Do I need to build a custom kernel to use NAT?
  
  You don't need to do build a custom kernel anymore, that's a
  relatively recent change.  Another option is to use pf instead
  ipfw since it has built-in NAT.  I'm not saying you should change
  as your current path has worked great for me for many years.

If compiled into the kernel, there's a set of optional settings
(VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can be set there.
If using the module, how does one set these?



Robert Huff



___
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


why use diablo JDK/JRE ?

2010-04-05 Thread Robert Huff

Masoom Shaikh writes:

  what is the need for FreeBSD Foundation to maintain dialbo JDK/JRE
  binaries when packages for openjdk are available on ftp servers ?
  
  
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/java/openjdk-7.0.86.tbz
  
  stupid me, never realized, just assumed that openjdk binaries cannot
  be distributed
  I always used to download diablo, then build openjdk :(
  such a waste of time/effort

As far as I know, openjdk does not provide browser plugins.
If that's not a problem 


Robert Huff
___
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


problem with mailing list archives?

2010-03-30 Thread Robert Huff

If I go to
http://docs.freebsd.org/mail/archive/freebsd-questions.html;, the
last weekly archive is dated March 07.
What's up with that?   :-)


Robert Huff

___
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


ipv6 changes in src/UPDATING

2010-03-25 Thread Robert Huff

I am updating a system:

FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009  amd64

and failing to understand the (practical) consequences of
UPDATING entries 20090926 and 20091202.  The system runs ipv6, but
external connectivity is though a v6-over-v4 tunnel (net/gateway6).
rc.conf currently has:

huff@grep v6 /etc/rc.conf
ipv6_gateway_enable=YES   # Set to YES if this host will be a gateway.
ipv6_firewall_enable=YES  # Set to YES to enable IPv6 firewall
ipv6_firewall_type=UNKNOWN# see /etc/rc.firewall6
ipv6_firewall_script=/etc/ipfw.v6.set # Which script to run to set up the 
IPv6 firewall
ipv6_firewall_flags=  # see /etc/rc.firewall6
gateway6_enable=YES

eyes glaze over Um ... er ... ah ... what needs to change?

Respectfully,


Robert Huff

___
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


some qs

2010-03-21 Thread Robert Huff

=?ISO-8859-1?Q?M=E1rton_Sztriha?= beerkezopo...@gmail.com:

  I have some questions regarding free BSD.
  
  Can I run open office cross platform on BSD?

/usr/ports/editors/openoffice.org-3

  Does BSD run the .exe files?

Only unde emulation.

  Does BSD recognise SATA drives?

man 4 ata


Robert Huff


___
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


make buildworld runs out of space

2010-03-17 Thread Robert Huff

Bill Tillman writes:

  I have built two machines with 8.0-STABLE-201002-amd64. When I
  updated the sources and ran make buildworld process it would fail
  claiming that / was full.   

  It seems to be running into the problem when the make
  installkernel portion of my script was running. Both machines
  were built using the default of 512M for /. I rebuilt the
  machines with 1G / and all was well. But one shouldn't have to do
  this as 512M for / should be adequate.

Can you show us a df and a du -x  | sort -nr | head -n 25
for '/'? 



Robert Huff

___
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 on Panasonic TV

2010-03-13 Thread Robert Huff

Richard Tobin writes:

  I was interested to see that my Panasonic television displays a
  FreeBSD copyright notice.  Does anybody know how much of FreeBSD
  it uses?  (It apparently uses a UFS filesystem on disks attached
  for video recording.)

My Toshiba manual includes a NetBSD copyright notice; I believe
it is for the USB stack.
Surprised me, too.


Robert Huff

___
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


multimon.cgi

2010-03-11 Thread Robert Huff

=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= writes:

  I'm planning to buy an APC UPS becasue FreeBSD have a nice apcupsd
  daemon so I can control my system. Okay, but the thing is that
  apcupsd have a web interface for it, the main file is called
  multinom.cgi, I read the manual
  (http://www.apcupsd.com/manual/manual.html) but I seen no reference
  for FreeBSD.  Did any of you do this before?  How?

huff@ dir /usr/local/www/apache22/cgi-bin/apcupsd/
total 274
drwxr-xr-x  2 root  wheel512 Jan 13 08:31 .
drwxrwxr-x  3 root  wheel512 Jan 13 08:31 ..
lrwxr-xr-x  1 root  wheel  7 Sep  7  2009 apcupsd - apcupsd
-rwxr-xr-x  1 root  wheel  73067 Jan 13 08:31 multimon.cgi
-rwxr-xr-x  1 root  wheel  59369 Jan 13 08:31 upsfstats.cgi
-rwxr-xr-x  1 root  wheel  70677 Jan 13 08:31 upsimage.cgi
-rwxr-xr-x  1 root  wheel  69664 Jan 13 08:31 upsstats.cgi


This help?


Robert Huff

___
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: Updating ports was Flash viewer for FBSD

2010-03-07 Thread Robert Huff

Polytropon writes:

   I am now thinking which one is better.
  
  I have used portupgrade / portinstall in the past, but I think
  portmaster really is the way to go, at least for me,

As far as I can tell, for 90-95% of tasks they're
indistinguishable.  If (generic) you have special needs - ugdating a
large user base, extensive local patches, or a non-standard set of 
dependencies - then you're going to have to do the research and test
them for yourself.
And instructions for using portmaster are increasingly common
in /usr/ports/UPDATING.


Robert Huff




___
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: HTML5 under FreeBSD Desktop

2010-03-07 Thread Robert Huff

Abdullah Ibn Hamad Al-Marri writes:

  Good bye adobe lame Flash player which never wanted to support
  FreeBSD and *BSD. 
  
  HTML5, welcome abroad :)

Unless you know something we don't, don't bet the rent money
just yet.


Robert Huff

___
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: xorg, xdm, desktop env

2010-03-06 Thread Robert Huff

Polytropon writes:

  A small addition: In order to be able to use X with an
  initialisation file even when not using XDM (i. e. starting X by
  startx) AND not having to maintain two startup files (.xsession
  and .xinitrc) AND furthermore incorporating shell settings for
  the shell of choice (default: the C shell), you can use this
  approach:

Perhaps since I don't run xdm from ttys (having been bit by
that in the past), I have for years simply linked one to the other.
Works fine, and saves having to remember to update one when the
other changes.  There are no negatives I know about.


Robert Huff


___
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: Flash viewer for FBSD

2010-03-06 Thread Robert Huff

Polytropon writes:

   And remember, youtube-dl is a hack. It can break anytime
   YT changes its embedding.
  
  That's what make update is used for. :-)

More importantly, it's about the author (and maintainer, if
they're different) fixing things promptly after a change,  My
experience has been 2-3 days.


Robert Huff

___
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: Flash viewer for FBSD

2010-03-06 Thread Robert Huff

Chuck Swiger writes:

  For all practical purposes, if you upgrade to a new major
  version, then you must rebuild all installed ports.

And if you have the time and knowledge to not have to do this
... you're probably not involved in the discussion to begin with.
:-)


Robert Huff

___
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


Thousands of ssh probes

2010-03-05 Thread Robert Huff
John writes:

  My nightly security logs have thousands upon thousands of ssh
  probes in them.  One day, over 6500.  This is enough that I can
  actually feel it in my network performance.  Other than
  changing ssh to a non-standard port - is there a way to deal with
  these?  Every day, they originate from several different IP
  addresses, so I can't just put in a static firewall rule.  Is
  there a way to get ssh to quit responding to a port or a way to
  generate a dynamic pf rule in cases like this?

There are several solutions in the ports system; I use
security/denyhosts.


Robert Huff



___
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


Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Robert Huff

Tim Daneliuk writes:

  Is there a recommended procedure I can read somewhere on how to
  upgrade an entire production system from Perl 5.8 to 5.10 (or
  whatever is current) cleanly?

/usr/ports/UPDATING ?


Robert Huff





___
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: creating htmls from a directory tree?

2010-02-10 Thread Robert Huff

Anton Shterenlikht writes:

I'd like to upload a directory structure to a web
server. I'd like to create in each subdirectory
an index.html with a simple list of files in this
directory for a simple browsing.

This sounds like a perl or shell script, but
I was wondering if there is someting like
this already available from ports. I couldn't
find anything suitable.
   
   You could just turn on Apache's built-in directory listing capability and
   Apache will create those files on-demand.
  
  I see.. I need to talk to the web server guys then.

The magic phrase is:

IndexOptions FancyIndexing

This can also be put in .htaccess; whether or not that file is
honored is up to the server.


Robert Huff

___
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


HELP! Is that possible creating a user named root but acturally not the administrator root

2010-02-10 Thread Robert Huff

Lin Taosheng writes:

  Is that possible to implementated?

For most purposes, what's important is not the account name,
but the User II.  Root is special because it has UID 0.  You can,
create other accounts with UIS 0 ... but it's usually a Very Bad
Idea.
As far as I know, there's no reason you can't rename the root
account and have a non UID 0 account with that name.  On the other
hand, if you're asking this question there may be a better way to
accomplish your objective: would you care to share?

Respectfully,


Robert Huff

___
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


documentation about enabling IPFW

2010-02-09 Thread Robert Huff

Can someone affirmatively verify that this part (30.6.1) of the
Handbook is correct?  Particularly the last sentence.
Quote:

IPFW is included in the basic FreeBSD install as a
separate run time loadable module. The system will
dynamically load the kernel module when the rc.conf
statement firewall_enable=YES is used. There is no need
to compile IPFW into the FreeBSD kernel unless NAT
functionality is desired.


Robert Huff



___
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


No floppy-images for FreeBSD 8.0 installation anymore?

2010-02-09 Thread Robert Huff

herbert langhans writes:

  I cannot boot this computer from the SCSI-CD drives. Is there any
  chance to get 8.0 for floppies?

I do not believe there are (by default) floppies for 8.0;
whether this is new for this release of not I cannot say.
Is the machine modern enough it could boot from a USB-connected
CDROM?


Robert Huff

___
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: documentation about enabling IPFW

2010-02-09 Thread Robert Huff

Matthew Seaman writes:

 Can someone affirmatively verify that this part (30.6.1) of the
   Handbook is correct?  Particularly the last sentence.
 Quote:
  
 IPFW is included in the basic FreeBSD install as a
 separate run time loadable module. The system will
 dynamically load the kernel module when the rc.conf
 statement firewall_enable=YES is used. There is no need
 to compile IPFW into the FreeBSD kernel unless NAT
 functionality is desired.
   
   Yes, it is correct.
   
   You can also load during runtime:
   
   # kldload ipfw.ko
  
  That' not really the issue with what the quoted paragraph says.
  Enabling ipfw functionality by loading a kernel module is not under
  contention.  The question is about ipfw+NAT.  That paragraph says you
  have to compile ipfw into the kernel to use ipfw+NAT, however on a
  RELENG_8 system (at least) there's a loadable ipfw_nat.ko module.
  Which very much implies you *don't* need to compile ipfw into the
  kernel for ipfw+NAT nowadays.

Exactly!


Robert Huff

___
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: Cannot build perl on FreeBSD 8.0

2010-02-07 Thread Robert Huff

Warren Block writes:

   Not yet. I'm trying to do this - a lot of ports depend on perl, and I
   get stuck with it.
   No, there are no any extra settings in /etc/make.conf.
  
  You may be running into the situation where something Perl needs can't 
  run because of mixed libraries.
  
  For the 7-8 major version upgrade, it's usually easier and faster to 
  save your pkg_info output, backup /usr/local/etc, and pkg_delete 
  everything.  Then update the ports tree and start installing ports from 
  scratch.
  
  There may be a way to automate that, like feeding the saved pkg_info 
  output to portupgrade.  I haven't done it often enough to investigate.

pkg_sort, which is part of portupgrade, is a useful tool.



Robert Huff

___
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: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread Robert Huff

Mike Clarke writes:

  Is it just me or is the flash plugin still not fully functional?

Possible causes:

the Linux plugin doesn't have all the capabilities of the
Windows version.
the Linux plugin does not interface completely/correctly with
the Linux emulation layer.
the Linux   emulation layer does not interface completely/
correctly with the rest of FreeBSD. 

I don't watch much Flash, so I almost never have the problem
you describe.


Robert Huff

___
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: Help! Upgrade from fbsd 5.4 to 8.x

2010-01-31 Thread Robert Huff

Erich Dollansky writes:

  Remember, the USD stack was rewritten from scratch.

It it my understanding that in most cases the new USB stack
should ve compatible with the old USB stack, at least to the extent
that programs that compile and run under $OldUSB should compile
and run under $NewUSB out of the box.


Robert Huff

___
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: Recommendations for NICs?

2010-01-21 Thread Robert Huff
Chuck Swiger writes:

   This used to be a hot topic long ago, but now seems to have become
   rather dormant.
  
  Intel (fxp, em) and Broadcom (bce, bge) make fine NICs, and the
  older DEC/Intel 21x4x Tulip series (dc/de) was quite good as
  well.

Let me add my vote for Intel: I have a dual-port Pro/1000, and
the thing is a rock:

h...@jerusalem uptime
 1:28PM  up 3 days, 20:56, 7 users, load averages: 2.47, 2.32, 2.28
h...@jerusalem netstat -i
NameMtu Network   Address  Ipkts IerrsOpkts Oerrs  Coll
em01500 Link#1  00:0e:0c:a8:a7:e8  7814719 0  5448800 0 354923
em01500 fe80:1::20e:c fe80:1::20e:cff:f0 -3 - -
em01500 209.6.88.0/21 209.6.91.204   4586806 -  5448773 - -
em11500 Link#2  00:0e:0c:a8:a7:e923378 0 1104 0 0
em11500 10.0.0.0  jerusalem.scallop   825417 - 1096 - -
em11500 fe80:2::20e:c fe80:2::20e:cff:f0 -4 - -

The other nifty thing?  The driver.  Written by Intel waves at
Jack Vogel, with superlative turn-around on problems or documentation
questions, and open source.


Robert Huff

___
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: Recommendations for NICs?

2010-01-21 Thread Robert Huff

C. C. Tang writes:
  Let me add my vote for Intel: I have a dual-port Pro/1000, and
   the thing is a rock:
  
  I am planning to get a Pro/1000 MT dual port card, do you know
  that will it works well in 32bit PCI slot on FreeBSD?

I have one of these:

Pro/1000 GT Dual Port Gigabit Ethernet Controller (82546EB)

It has worked perfectly, with one tertiary exception that
happened due to a (non-FreeBSD related) driver change: for some
reason, DHCP tries to send packets before the driver decides it's
ready to accept them.  This causes a 30-60 second delay during
startup, but afterwards everything is fine.


Robert Huff

___
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: Upgrading Standing Systems from 6.3 to 8.0

2010-01-09 Thread Robert Huff

Martin McCormick writes:

  Robert Huff writes:
   Is it possible to have someone swap the hard disks of those
   machines?
  
   I pushed for hot-swappable drives back when we ordered these
   systems which are Dell 2950's, but I didn't get anywhere at all
   with that campaign. 

Hot swap would be great, but I was referring to regular swap:
human being with a screwdriver and a clue.  Reliable outside
contractor, if you absolutely can't send someone in-house.


Robert Huff

___
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


Upgrading Standing Systems from 6.3 to 8.0

2010-01-08 Thread Robert Huff

Martin McCormick writes:

   Can one upgrade a standing system from 6.3 to 8.0?
  
   We do have a few sacrificial systems to try the big upgrade on,
  but the actual systems are scattered through 3 towns over 200
  miles. Not a one is just down the hall so it is all going to have
  to be done remotely.

Is it possible to have someone swap the hard disks of those
machines?
Because not only are you going to have to upgrade the OS twice,
you're going to have to re-install all the ports.  (OK, you may not
_have_ to reinstall - compatibility libraries exist - but it is
clearly the path of greatest reliability.)
It's just as easy to start with a clean installation, which has
other benefits as well.


Robert Huff


___
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: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Robert Huff

Hello:

  The thing concerns me is exact the question you asked in the
  first place: Does FreeBSD 2.0.5 even have any support for
  wireless networking devices?  Because I cannot find any reference
  it. I am wondering if anyone in this mailing list has a answer to
  this question. And I am just curious to see how people made
  wireless network back in 1990s.

I believe the answer would be No..  The first mention I can
find of wireless adapters in the release notes is for 3.3, in late
1998.


Robert Huff


___
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: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Robert Huff

Matthew Seaman writes:

  [*] The Beeb was still using that modem-handshaking sound clip as
  an aural clue that the subject of an item was 'computers' even up
  to a year or so ago.

Which may be anachronistic, but is both audibly and
conceptually distinct.  Quickly - what's the sound of an OC3, or a
web page loading?
(I spent 1996 (I think) doing QA for a company building a
remote access product.  Got to the point I could name each phase of
the modem handshake, and stood a good chance of being able to
identify the speed and encryption method.)


Robert Huff

___
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: Where did the handbook go?

2010-01-01 Thread Robert Huff

=?ISO-8859-15?Q?Frank_Wi=DFmann?= writes:

   I am wondering where my handbook is. Under /usr/share/doc/de/ where it 
   used to be is nothing appropriate. Has anybody an idea for me? Using 
   sysinstall to install additional docs didn't solve the problem. Or am I 
   wrong?
   
   On FreeBSD 7.2, I see it at:
   
   /usr/share/doc/de_DE.ISO8859-1/books/handbook
   
   If you are on a different FreeBSD release version, I suppose your mileage
   may vary.
   
  Sorry, my friend. I'm on 8.0-RELEASE.

I am not sure, but I believe that as of 8.0, the (standard
system) docs are released as a port:

huff@ dir /var/db/pkg | grep bsd-doc
drwxr-xr-x2 root  wheel   512 Dec 22 11:08 bn-freebsd-doc-20091219
drwxr-xr-x2 root  wheel   512 Dec 22 10:39 da-freebsd-doc-20091219
drwxr-xr-x2 root  wheel   512 Sep 14 08:30 de-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 08:38 el-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 08:50 en-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 08:55 es-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 09:02 fr-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 09:10 hu-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 09:15 it-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Dec 22 11:07 ja-freebsd-doc-20091219
drwxr-xr-x2 root  wheel   512 Sep 14 09:41 mn-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 09:47 nl-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 09:53 pl-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Dec 22 11:41 pt-freebsd-doc-20091219
drwxr-xr-x2 root  wheel   512 Sep 14 09:57 ru-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Dec 22 11:12 sr-freebsd-doc-20091219
drwxr-xr-x2 root  wheel   512 Dec 22 10:38 tr-freebsd-doc-20091219
drwxr-xr-x2 root  wheel   512 Sep 14 10:09 zh_cn-freebsd-doc-20090913
drwxr-xr-x2 root  wheel   512 Sep 14 10:19 zh_tw-freebsd-doc-20090913


Robert Huff

___
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: fetchmail and plain text password

2009-12-29 Thread Robert Huff

Anton Shterenlikht writes:
   I'd be more worried that your password is sent as plaintext over 
   the network using e.g. POP3. You should use the --ssl option if
   your mailserver allows it. 
  
  it looks like it doesn't allow ssl.

It is my understanding ISPs - at least those in the
U.S. oriented to the home user - rarely do,  It's a non-trivial
amount of work to get working and then monitor for correct behavior
and possible breaches.


Robert Huff

___
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: request

2009-12-20 Thread Robert Huff

Lars Eighner writes:

   Isn't Iran one of the countries US does not export to? That 
   could explain the unability to download...
  
  Shirley, there are mirrors outside the US.
  
  Downloading isos by dial-up can be a pain, but a good ftp client which can
  restart reliably makes it possible.

Does the OP have a friend or co-worker who has broasband
access?  Would his ISP be willing to do this (and perhaps burn the
CD) for a small fee?
And yes, ftp is a better choice; while fewer every year, there
are still a lot of mail {user, transfer} agents that will choke on a
600 mb attachment.   Also: crude calculations suggest this will
monopolize his phone line for over a day 
(I'd send him my out-of-date (6.* and early 7.*) CDs, but a)
the postage would be huge and b) they'd probably get mauled by U.S.
postal inspectors.)


Robert Huff


___
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: question about building a custom kernel

2009-12-19 Thread Robert Huff

ill...@gmail.com writes:

  You aren't going to gain much in speed or size savings, so
  do take care to understand what you hope to gain.

While I haven't done even an eyeball check recently, not too
long ago the size savings for an aggressively pruned kernel could be
quite noticable; there was also anecdotal support (waves hand)
forfaster performance.
Barring that?  Every part of the kernel is something that can
possbily go wrong, either by itself or by interacting with another
part; if it isn't there, it can't break.  Now the record on this
really pretty awesome ... on the other hand, I can't argue with the
person who doesn't want to roll those dice.
And compile times of current generation hardware are pretty
short.  On an AMD Phenom II x4 940 (3 ghz) it's 5 minutes, maybe
less.


Robert Huff

___
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: RFC: Fam/Python based script for bruteforce blocking

2009-12-18 Thread Robert Huff

Matthew Seaman writes:

  The FreeBSD mailing list software is set to scrub all
   attachments as a security measure.  To makew material available,
   post it in-line, or post a URL.
  
  The attachment eater doesn't actually eat *all* attachments.
  Just the ones with MIME types it thinks are tasty.  You can
  generally get stuff through if it's marked as something innocuous
  like text/plain

Point taken.


Robert Huff

___
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: RFC: Fam/Python based script for bruteforce blocking

2009-12-17 Thread Robert Huff

Brandon Low writes:

  Not sure why this didn't attach the first time.

The FreeBSD mailing list software is set to scrub all
attachments as a security measure.  To makew material available,
post it in-line, or post a URL.


Robert Huff

___
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: Root exploit for FreeBSD

2009-12-11 Thread Robert Huff

Paul Schmehl writes:

   And from I understand it's going to get worse.
   Apparently the IT services are drawing up
   plans to completely forbid use of non-autorized
   OS. I imagine fbsd will not be authorized.
   So I'm anticipating another battle already.
  
   Does this extend to computers used for academic research, student
   owned computers being used on campus, etc?
  
   Perhaps it's because we're conditioned to think this way but a lot of
   us at universities in the US see a lot of this as being commonplace
   and to *not* do them is generally considered bad security practice.
  
  
  This last part is surprising to me.  Not only are we not
  Windows-centric, the very idea of not allowing a diversity of
  OSes is foreign to our operation.  We are a heavy Solaris shop
  (as are many universities), have a good amount of Suse and RHEL
  and far less Windows servers exposed to the Internet.  At the
  desktop users may install whatever they want, so long as it's
  maintained properly (which we audit routinely) and used in an
  acceptable manner (which you agree to when you get an account.)
  We have just about every OS you can imagine, including some you
  wouldn't believe still exist.

I haven't worked directly with academic IT in decades ... but I
live in Boston, which has the highest concentration of colleges on
the planet, and talk to peopke who do.
If any of the major local colleges tried to ban non-Windows OSs
as either or desktop, the only question would be who got to IT
first - the students with the stakes and holy water, or the
professors with the tar and feathers.
On the other hand a well considered security policy specifying
ends and not means, and accompanied by end-user detection/correction
mechanisms, would be adopted quite happily.


Robert Huff

___
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: Root exploit for FreeBSD

2009-12-11 Thread Robert Huff

Ulf Zimmermann writes:

  Just go to Fry's Electronic. Most of their systems are still
  MS-Dos with Novell for network, running text based
  inventory/quote/sales app.

Ca _lot_ of small businesses have something similar.


Robert Huff


___
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: Dangerously Dedicated

2009-12-10 Thread Robert Huff

Jerry McAllister writes:

  It is dedicated because only FreeBSD can talk to it.

Is this correct?  What about {Net, Open, DregonFly}BSD, or
Linux?


Robert Huff

___
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


set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Robert Huff

David Southwell writes:

  I am trying to set up a freebsd 7.2 p3 system to be able to print
  from an hp laserjet 2200dn equipped with a built in 10/100
  jetdirect 610N. The printer is also used by a number of MS$
  systems on the same subnet as the server so I know the printer is
  working and configured to print both text and graphics and to use
  the double sided facility. I need to use similar facilities from
  the server.

I recently used CUPS to connect to a LaserJet 6 series with a
non HP (but supposedly HP-compatible) print server.  After some
help, I entered socket://IP address in the appropriate field
... and everything Just Works.


Robert Huff

___
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


semi-problem starting sendmail

2009-12-08 Thread Robert Huff

When I start sendmail, this:

STARTTLS=server, error: 
SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed

appears in the log.  The file exists and has permissions 0600.
What am I probably looking at, and how do I find more specific
information on the cause?

Respectfully,


Robert Huff

___
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: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Robert Huff
David Southwell writes:

  Installed and configured cups but cannot get the online login
  system to work.  It refuses to accept username/password
  combination.

Not the CUPS expert. (Sorry.)


Robert Huff

___
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: semi-problem starting sendmail

2009-12-08 Thread Robert Huff

Chuck Swiger writes:

   STARTTLS=server, error: 
 SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed
   
  appears in the log.  The file exists and has permissions 0600.
  What am I probably looking at, and how do I find more specific 
 information on the cause?
  
  Make sure none of the directories in that path have 022 perms
  (go+write).

Checked, and not the problem.


Robert Huff

___
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: semi-problem starting sendmail

2009-12-08 Thread Robert Huff

I just generated new keys using the method specified the the
article recommended by Giorgos, and I get the same result.


Robert Huff

___
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: Hardware migration and upgrade from 6.3 to 8.0 advice

2009-12-04 Thread Robert Huff

Frank Wissmann writes:

   i am facing this situation, where i need to upgrade from my 6.3 i386
   system, used as my main workstation, to a new hardware based on amd64
   (phenom II x4).

   b) migrate all current data to the new hardware, kernel/system
   included, and then try to upgrade to 8.0 (by sysinstall or
   makeworld/makekernel)
  
  Item b) is not recommended.

Confirmed.  _Highly_ not recommended. .0 releases usually
contain ABI/API changes (among other things) and you don't want
anything getting confused.

  For me, a clean install of 8.0 and a move from the old data to
  the fresh install is better.

To the OP: the machine I'm typing on is also AMD Phenom II x4
(940, if it matters) originally installed with 8.0-RC3/amd64.
Once I got past the dangerously dedicated disk issue (and
close relatives) everything went smoothly.
Of the choices presented, I recommend (a1) with the old disk
set to read-only in hardware.  New disks are cheap, and this gives
you a perfect backup for as long as you want it.  


Robert Huff

___
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


Source Code Update Question

2009-12-03 Thread Robert Huff

Jay Hall writes:

  This is the first time I have tried to upgrade FreeBSD's source
  code, and I have done something wrong, but I am not sure what.  I
  am upgrading from 6.2 to 8.0.

Have you read the Handbook entry on upgrading system source?


Robert Huff

___
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: Phoronix Benchmarks: Waht's wrong with FreeBSD 8.0?

2009-11-30 Thread Robert Huff

Bill Moran writes:

  It's common knowledge that the default value for vfs.read_max is
  non- optimal for most hardware and that significant performance
  improvements can be made in most cases by raising it.

Documentation/discussion where?

Respectfully,


Robert Huff

___
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


MUA questions

2009-11-25 Thread Robert Huff

Rem Roberti writes:

  I just installed FreeBSD 7.2 on a new box and am having trouble
  getting either fetchmail or getmail to talk to the ISP. Is this a
  question that can can be answered here, or is there another more
  appropriate forum. I thought it best to ask that question first
  before going any further.

I use fetchmail, though I'm not an expert.
What's the problem?


Robert Huff

___
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: GPUs on FBSD?

2009-11-21 Thread Robert Huff

usleepl...@gmail.com writes:

  The talk/announcement on the Nvidia forum is about a native video
  driver for amd64 i believe. A lot of people are waiting for this
  ( currently there is only Nvidia support for i386 ).

I do not believe this is correct.  _As I understand it_ there
are (currently) two options:

1) nv driver; written by nVidia, but does not support
recent (last N generations) cards, works only for i386,
and does not support 100% of 3d functions.  Breakage
fixed, but no new features added.
2) noveau driver; written by third parties, works for i386
and amd64 (maybe for others).  For what works, see the
(hopefully outdated) web page.

Under development:

3) ; written (and maintained/improved) by nVidia, words
for i386 and amd64, supports all cards, supports all
functionality.  ETA not announced; no public testing yet.

If anyone knows better, please correct this.


Robert Huff



___
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: GPUs on FBSD?

2009-11-21 Thread Robert Huff

usleepl...@gmail.com writes:

  as far as i know there have been Nvidia maintained/improved drivers for
  FreeBSD for ages ( ls /usr/ports/x11 | grep -i nvid )

I was looking at x11-drivers:

h...@jerusalem dir /usr/ports/x11-drivers | grep video-n
drwxr-xr-x   2 root  wheel   512 Aug 21 20:20 xf86-video-neomagic
drwxr-xr-x   2 root  wheel   512 Aug 21 20:20 xf86-video-newport
drwxr-xr-x   2 root  wheel   512 Aug 21 20:20 xf86-video-nouveau
drwxr-xr-x   2 root  wheel   512 Aug 21 20:20 xf86-video-nsc
drwxr-xr-x   2 root  wheel   512 Aug 21 20:20 xf86-video-nv

If that's true, shouldn't the nvidia-drivers be moved?


Robert Huff

___
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: GPUs on FBSD?

2009-11-21 Thread Robert Huff

usleepl...@gmail.com writes:

  as far as i know there have been Nvidia maintained/improved
  drivers for FreeBSD for ages ( ls /usr/ports/x11 | grep -i nvid )

And see this from the Makefile:

# Starting with version 1.0-7667, NVidia has dropped support for
# numerous legacy GPUs.  Consult NVidia README (the Appendix) to
# find out whether you need to use legacy driver version and install
# one of corresponding `x11/nvidia-driver-71',
# `x11/nvidia-driver-96', or `x11/nvidia-driver-173' slave ports.



Robert Huff

___
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: GPUs on FBSD?

2009-11-21 Thread Robert Huff

usleepl...@gmail.com writes:

 as far as i know there have been Nvidia maintained/improved
 drivers for FreeBSD for ages ( ls /usr/ports/x11 | grep -i nvid )
  
   And see this from the Makefile:
  
   # Starting with version 1.0-7667, NVidia has dropped support for
   # numerous legacy GPUs.  Consult NVidia README (the Appendix) to
   # find out whether you need to use legacy driver version and install
   # one of corresponding `x11/nvidia-driver-71',
   # `x11/nvidia-driver-96', or `x11/nvidia-driver-173' slave ports.
  
  
  are you trying to be right afterall?

Someone's confused.  If it's me, that needs to get fixed.


Robert Huff

___
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: GPUs on FBSD?

2009-11-20 Thread Robert Huff

Chris Rees writes:
   Anybody knows of working GPUs under FBSD on any arch?
   Any advice?
  
  Nvidia GPUs work on IA-32 machines, but AFAIK there's still no
  amd64 driver.

There was a posting within the last 24 hours on one of the
FreeBSD mailing lists that pointed to a post indicating nVidia is
working on native {i386, amd64} drivers.  The post was dated
November 5th; it provided no expected release date beyond when it's
done.  My personal _estimation_ would be when 8.0 ships, or soon
after.


Robert Huff

___
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


getting program.core, where and how?

2009-11-18 Thread Robert Huff


  How can I find out what the working directory of the binary is? I
  guess the problem is missing write permissions there.

find directory -name filename

See man find for details; look particularly at the 'x'
option.


Robert Huff



___
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: libjpeg.so.9 missing from my installation of FBSD 7.2

2009-11-10 Thread Robert Huff

Manolis Kiagias writes:

  Where you performing an upgrade of an existing system?
  AFAIK libjpeg.so.* libraries get installed by the graphics/jpeg port.
  This was (fairly) recently upgraded, and if you did not follow the
  /usr/ports/UPDATING instructions carefully, you probably ended up with
  some dependent apps still linked to the old version of the library.
  
  In short, try the following (assuming you use portupgrade):
  
  portupgrade -fr graphics/jpeg

graphics/jpeg is a dependency for a _lot_ of ports.  (100+ on
my system.)  Were I in  the OP's shoes, I'd run  pkg_info -R to find
out which ones and feed the (edited) results through pkg_sort.
Otherwise I might find myself rebuilding something like OpenOffice
at an inopportune moment 


Robert thirty six hours and counting, tra-la Huff



___
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: Help understanding basic FreeBSD concepts (ports, updates, jails)

2009-11-08 Thread Robert Huff

andrew clarke writes:

   Don't bother with any of that. Just use portsnap. It's also part of
   base, and was written by the same person that wrote freebsd-update.
   It's lovely and much faster, although some people may argue with me on
   that.
  
   For your system, use freebsd-update.
  
  Seconded.  Portsnap and freebsd-update are a cinch to use.

As for freebsd-update:
It has limitations; /inter alia/ see the DESCRIPTION section of
the man page.  If that's something one can live with, use it.
If it's not, then the OP really needs to get familiar with the
update-from-source method as described in the Handbook.  It's scary
at first (actually, it's still a teeny bit scary after ten years).
but it helps one understand what goes into making a working system
... which is a really good thing if something does manage to go
Horribly Wrong(tm).


Robert Huff

___
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: stuff and even more problems.... [ to mostly the hard core ]

2009-11-07 Thread Robert Huff

Gary Kline writes:

   the keybd isn't the problem.  it is in the box with a bunch of
   misc stuff i don't need.  problem is that on my KVM switch are
   only ps2 plugs.  on the back of the dell are USB jacks.  i
   need something to convert from the PS2 plug to fit into the
   USB   

Have you actually tried this elsewhere and had it work?
Because I'm certainly no expert on KVMs, but that sounds like a
more likely to fail than succeed scenario.
(I use a StarTech four port USB KVM, and would be interested in
a good model that handles DVI/HDMI as opposed to 15 pin VGA video.)

Respectfully,


Robert Huff

___
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: breakthru, maybe....

2009-10-29 Thread Robert Huff

Matthew Seaman writes:

  All Intel processors produced in the last few years have been
  64bit capable, including anything labelled 'core2'.  You need to
  install the amd64 architecture binaries to get the system running
  in 64bit mode though, even though it's an Intel chip.
  
  Likewise, all Intel and AMD processors support running in 32bit
  mode, and you need to install the i386 architecture binaries to
  achieve that, irrespective of who actually manufactured your
  processor chips.
  
  As to which variant you should install?  For servers, I'd go
  64bit pretty much automatically.  For desktops, especially if you
  need 3D graphics performance you're somewhat limited by the
  support available for your graphics adapter.  There are 64bit
  drivers for various ATI cards, but I can't tell off hand if the
  one you have is supported.  If it is, or if you don't care about
  3D graphics support, then go 64bit.

There are alsu a ((very) small) number of ports that do not
compile or do not run in 64-bit mode.  Figure out if one of them is
mission-critical before installing; check for the NOT_FOR_ARCH and
ONLY_FOR_ARCH settings in the port's Makefile.
That said, the machine I'm typing on is about six weeks old and
running an AMD Phenom II x4.  I installed amd64 with some
trepidation, fully prepared to re-install i386.  However, it's now
up over 675 ports - including apache, mysql, firefox, and OpenOffice
- and everything works.


Robert Huff

___
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: gcc -pg and ld error, cannot find -lgcc_p

2009-10-27 Thread Robert Huff

Vaibhav Gavane writes:

  Use sysinstall to add the proflibs distribution.

Or one could rebuild/install world (and kernel if necessary)
after investigating the NO_PROFILE option in /etc/make.conf.


Robert Huff

___
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: how to build from ports without downloading ports

2009-10-20 Thread Robert Huff

Chuck Swiger writes:

   I have a server with minimal disk space.  is there a way to build  
   from ports without downloading ports or only downloading what is  
   needed for the build and then it is removed?
  
  You're describing the default behavior of ports-- it only
  downloads sources which are needed for the current build.  To
  clean up sources and so forth, look to portsclean (from
  portupgrade).

There is also the distclean target of make, which will get
rid of the source tarball.


Robert Huff

___
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: how to build from ports without downloading ports

2009-10-20 Thread Robert Huff

Roland Smith writes:

  But why go to all this trouble? Disk space is cheap these days,
  why not add an extra disk?  If you don't have space in the
  chassis, consider using an external USB disk for /usr/ports.

Sometimes ... because the machine hardware is not under your
control.
In the mid 90's, I worked on a major workstation upgrade for
the customer support division of a large financial services firm: we
were replacing 386/20s with Pentium 90s.
Most of the old machines were still serviceable - even the ones
that were half-filled with dust still ran - so we looked around for
something to do with them other than the scrap heap.
Off in a cranny in one of the machine rooms was a 286/mumble,
whose job it was to dial out twice a day, retrieve a specific piece
of data, and put it in an equally specific place on the file
server.  It had been running 24/7 for, well, since you could hook a
286 up to a network file server..
Surely, we thought, we could move things over and increase
reliability, etc..
The word came down from two or threee levels up the food chain:
Absolutely not.  Don't even shut it down to dust.


Robert Huff


___
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: need C help, passing char buffer[] by-value....

2009-10-18 Thread Robert Huff

Glen Barber writes:

   // redo, skip TAGS
  
   Is this C or C++ source code? I always thought // was C++
   specific...
  
  
  // comments are recognized by both C and C++.

How about ... are recognized by both C++ and more recent versions
of C.?


Robert Huff

___
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


First time for everything

2009-10-14 Thread Robert Huff

jeffry killen writes:

   How is a usb device accessed on Freebsd.
   I installed an SATA drive in a usb enclosure
  and plugged in into usb port on the machine.
  Console message indicated detection of the
  device when the power switch for the usb enclosure was set to on.
   When I did mount -w /dev/usb (or usbN) I got special device
   unknown.

Look for /dev/da*.
Also: I believe there's a section in the handbook that covers
this.


Robert Huff

___
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: Graphics card recommendation

2009-10-14 Thread Robert Huff

jgro...@es.net writes:

  I could be wrong but nVidia does not seem to be very interested
  in working with the FreeBSD project to address these problems.

nVidia has offered what many/most hardware vendors* do not: to
write and maintain a driver for their product.
However, in order for that driver to be fully functional they
want certain improvements in FreeBSD - particularly the virtual
memory system.  Not an unreasonable request.
Some work has been done; there was a post somewhere within the
last few months about John Baldwin making improvements.
Check the archives of this list for pointers to the list of
changes and the status of the work.


Robert Huff

* - a notable exception being Intel, for their network cards.

___
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


man quits back to the prompt after CTRL-G

2009-10-13 Thread Robert Huff

Chris Stankevitz writes:

  Please try this:
  
  1. at the prompt type man man to get the man manual page.
  2. press CTRL-G to to to the bottom of the document
  3. press k to scroll up one line
  
  You'll notice you cannot perform step 3 because man quits back
  to the prompt after CTRL-G.
  
  Question: How can I make man not quit back to the prompt after
  CTRL-G?

On my system, the result of (1) and (2) is the screen remains
at the first page of output and 

lines 1-34 byte 1821   (press RETURN)

appears at the bottom of the screen in reverse video.


Robert Huff



___
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


ASUS M4A78T-E Motherboard

2009-10-10 Thread Robert Huff
Bryan Cassidy writes:

  ... I am wondering if I will have any problems with this
  motherboard amd its chipset. North Bridge is AMD 790GX and South
  Bridge is AMD SB750. it comes with a VIA VT1708S onboard
  soundcard and the handbook states the VIA VT1708 is supported so
  I am hoping it is the case with this one. Second, ATI Radeon HD
  3300 onboard video.

The machine on which I am composing this has a different
motherboard (ASrock AOD290GX) but the same NorthBridge and
integrated graphics.
Works fine.
(Except for one teeny thing, which I'm hoping is due to a bad
BIOS setting.
Symptom:
shutdown -p now works as expected.
shutdown -r now ... tha machine shuts down but does not
restart.  No screen messages, no nothing - just a one-way trip into
the Twilight Zone.
A teeny problem, since ot pnly gets rebooted
on kernel upgrade.)


Robert Huff

___
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


ASUS M4A78T-E Motherboard

2009-10-10 Thread Robert Huff

Robert Huff writes:

   The machine on which I am composing this has a different
  motherboard (ASrock AOD290GX) 

s/AOD290GX/AOD790GX/


Robert Huff

___
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: / almost out of space just after installation

2009-10-07 Thread Robert Huff

Jonathan Chen writes:
   I just installed FreeBSD. After I installed it, I was surprised
to find only 26M of space on /.  I used the auto-defaults during
the Disklabel portion of the install. 
   
   [cstankev...@crs-m6300 ~]$ df -h
   Filesystem SizeUsed   Avail Capacity  Mounted on
   /dev/ad4s1a496M430M 26M94%/
   devfs  1.0K1.0K  0B   100%/dev
   /dev/ad4s1e496M 14K456M 0%/tmp
   /dev/ad4s1f113G1.9G102G 2%/usr
   /dev/ad4s1d2.9G7.9M2.6G 0%/var
   
   Q1: Is 26M free space on / after installing FreeBSD normal?
   
  
  The amount used (ie: 430M) looks about right. On my
  FreeBSD-7.2-STABLE/amd64, running a GENERIC kernel with a minimal
  /etc, my / filesystem is using 443M. However, this has a
  /boot/kernel and a /boot/kernel.old, both of which chews up 210M
  each.

Agreed.
Other minor suggestions to the OP: check the contents of /root,
and move anything large that can live elsewhere and create a
symlink.  And somethings can just be deleted: if root uses
preferred web browser two or three times a year, then a large
cache is probably superfluous.
Look for any .core files, which can usually be deleted.

It is my understanding that - providing /tmp is on a separate
partition - / should receive very little traffic, and the size
should stabilize quickly.


Robert Huff

___
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: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread Robert Huff

David Southwell writes:

  /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so:
  Undefined symbol ssl_onceonlyinit

I look at this and ask (knowing very little about either) is
this a problem with Apache, or a problem with PHP?.


Robert huff

___
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: Deleting the kernel source - just with #rm?

2009-10-04 Thread Robert Huff

Roland Smith writes:

   I just compiled a nice, slim kernel on my laptop, but I dont 
   want to carry all the kernel sources around there.
  
  Keep in mind that some ports (those that contain kernel modules)
  require the kernel sources.

And not just kernel modules.  The popular and useful
sysutils/lsof not only requires the source tree (or at least some
part of it), but requires the source match the running kernel.


Robert Huff


___
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: Voting for a native i386/amd64 flash player

2009-10-03 Thread Robert Huff

Rolf G Nielsen writes:

   Let's vote to have a native i386 / amd64 flash player \o/ ..
  
  Where do I vote to have them continue forever not creating a
  FreeBSD version of that crap?

Is your objection to Flash in particular, or to any product in
that specific niche?


Robert Huff

___
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: Looking up libraries and header files

2009-10-01 Thread Robert Huff

David Southwell writes:

  One problem 
  
  How about ports that are not installed?
  
  Is there another route that will deal with stuff not on the system?

I'm not quite sure what you're asking here; perhaps you could
give a scenario?
The above methods only work for things that are properly
installed/registered with the ports(/packages) system.  If you've
installed something not from a port ... you're on your own.


Robert Huff

___
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: java/jdk16 vulnerability?

2009-09-28 Thread Robert Huff

Greg Lewis writes:

 Your installed version of Java is vulnerable to a severe remote
 exploit (remote code execution!). You must upgrade to at least Java
 5 update 20 or Java 6 update 15 as soon as possible. Freenet has
 disabled any plugins handling XML for the time being, but this
 includes searching and chat so you should upgrade ASAP!
  
  We're almost certainly vulnerable.  The jdk16 port is at Update 3.


  We need an entry in the VUXML database I guess.
  
  Updating java/jdk16 is going to be a slow process.  There are
  lots of changes between Update 3 and Update 15.  I've partially
  merged Update 4, but obviously that still leaves many to go...

As someone with zero knowledge of Java internals: what is the
recommended version at the moment? 


Robert Huff

___
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


ipfw + NAT doesn't work

2009-09-17 Thread Robert Huff

I have a machine running

FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009 amd64 

It has this in the config file for the running kernel:

options  IPFIREWALL  #firewall
options  IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
options  IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
options  IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default
options  IPFIREWALL_NAT  #ipfw kernel nat support
options  LIBALIAS 

It (10.0.0.1) connects correctly to another machine (10.0.0.3);
I know because .3 mounts one of .1's disks using Samba.
With the ipfw rules appended below, I can't NAT, nor should I
be able to.  (em0 faces the Internet; em1 faces the other
machine.)
However: using these I still can't get through

ipfw add 5000 nat 15 all from any to any
ipfw nat 15 config log same_ports ip 10.0.0.0/8

Have I forgotten something?  Or misunderstood something?
If not ... how do I figure out what's wrong?

Respectfully,


Robert Huff



00100  3830   864746 allow ip from any to any via lo0
00200 00 deny ip from any to 127.0.0.0/8
00300 00 deny ip from 127.0.0.0/8 to any
00350   11042464 allow udp from any 67-68 to any dst-port 67-68
00600 00 allow ip6 from any to any via lo0
00610 00 deny ip6 from any to ::1
00620 00 deny ip6 from ::1 to any
00630 3  256 allow ip6 from :: to ff02::/16 proto ipv6-icmp
00640 00 allow ip6 from fe80::/10 to fe80::/10 proto ipv6-icmp
00650 4  304 allow ip6 from fe80::/10 to ff02::/16 proto ipv6-icmp
00660 00 allow ip6 from 2001:db8:2:1::1 to 2001:db8:2:1::/64
00670 00 allow ip6 from 2001:db8:2:1::/64 to 2001:db8:2:1::1
00680 00 allow ip6 from fe80::/10 to ff02::/16
00690 00 allow ip6 from 2001:db8:2:1::/64 to ff02::/16
00700 00 allow ip6 from any to any established proto tcp
00710 00 allow ip6 from any to any frag
00720 00 allow ip6 from any to 2001:db8:2:1::1 dst-port 25 setup 
proto tcp
00730 00 allow ip6 from 2001:db8:2:1::1 to any setup proto tcp
00740 00 deny ip6 from any to any setup proto tcp
00750 00 allow ip6 from any 53 to 2001:db8:2:1::1 proto udp
00760 00 allow ip6 from 2001:db8:2:1::1 to any dst-port 53 proto udp
00770 00 allow ip6 from any 123 to 2001:db8:2:1::1 proto udp
00780 00 allow ip6 from 2001:db8:2:1::1 to any dst-port 123 proto 
udp
00790 00 allow ip6 from any to any ip6 icmp6types 1 proto ipv6-icmp
00800 00 allow ip6 from any to any ip6 icmp6types 2,135,136 proto 
ipv6-icmp
06000 00 deny log logamount 100 tcp from any to any dst-port 137 in 
via em0
0605032 3000 deny log logamount 100 udp from any to any dst-port 137 in 
via em0
06100 00 deny log logamount 100 tcp from any to any dst-port 138 in 
via em0
0615015 3465 deny log logamount 100 udp from any to any dst-port 138 in 
via em0
06200 00 deny log logamount 100 tcp from any to any dst-port 139 in 
via em0
06250 00 deny log logamount 100 udp from any to any dst-port 139 in 
via em0
07000 00 deny log logamount 100 tcp from any to any dst-port 111 in 
via em0
07050 00 deny log logamount 100 udp from any to any dst-port 111 in 
via em0
07100 00 deny log logamount 100 tcp from any to any dst-port 530 in 
via em0
07150 00 deny log logamount 100 udp from any to any dst-port 530 in 
via em0
07200 00 deny log logamount 100 tcp from any to any dst-port 161 in 
recv em0
07225 00 deny log logamount 100 udp from any to any dst-port 161 in 
recv em0
07250 00 deny log logamount 100 tcp from any to any dst-port 162 in 
recv em0
07275 00 deny log logamount 100 udp from any to any dst-port 162 in 
recv em0
07300 00 deny log logamount 100 tcp from any to any dst-port 194
07310 00 deny log logamount 100 udp from any to any dst-port 194
07320 00 deny log logamount 100 tcp from any to any dst-port 529
07330 00 deny log logamount 100 udp from any to any dst-port 529
07340 00 deny log logamount 100 tcp from any to any dst-port 994
07350 00 deny log logamount 100 udp from any to any dst-port 994
07360 00 deny log logamount 100 tcp from any to any dst-port 6667
07370 00 deny log logamount 100 udp from any to any dst-port 6667
1 45012 38961511 allow tcp from any to any established
10100  1452   112487 allow ip from any to any out via em0
10200 00 allow tcp from 10.0.0.0/8 to any dst-port 80
10300 00 allow tcp from any 80 to any dst-port 1024-65535 via em0
10400 00 allow tcp from any 443 to any dst-port 1024-65535 via em0
10500 00 deny

Re[2]: ipfw + NAT doesn't work

2009-09-17 Thread Robert Huff

kes-...@yandex.ru writes:

 If not ... how do I figure out what's wrong?
  What is your ipfw rules?

They were appended to the original post.


Robert Huff

___
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: rebinding keys to functions

2009-09-14 Thread Robert Huff
Roland Smith writes:

   My laptop has a bunch of volume-up/down/mute internet/mail/etc 
   keys.  How do I map each of them to run a specific shell
   command when pressed? 
  
  That depends on a couple of things (assuming you're running the X
  window system, I don't know if it is even possible on the
  console).
  
  First you have to make sure that you actually can see the key
  signals. In X you can test that with xev(1).

If this is what I think it is, he probably can't.
I have a Logitech iTouch keyboard; it has eighteen buttons and
two dials.  None of them register under xev.


Robert Huff

___
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


8.0-Beta installation problem -- Unable to find /dev/ad0s1b

2009-09-13 Thread Robert Huff

Jin Guojun writes:

  Tried to install from both 8.0-BETA{3, 4}-i386-dvd1.iso on a
  Phenom 9600 system and having some disk problems.
  
  After commit, installation says --
  
  Unable to find device node for /dev/ad0s1b in /dev
  The Creation of file system will abort.
  OK
  [Press enter or space]

Look at the archives of current@ within the last three weeks.
I (and I believe at least one other person) had what seems like the
same problem and found a work-around.


Robert Huff
___
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: reducing size of apache instances

2009-09-11 Thread Robert Huff
John Almberg writes:


  I'm starting to wonder about the Swap info from top... it never
  changes.  It has said the same thing all day, since I've been
  watching it. Does that make sense?

The current machine has 8G, so ... porbably not a good test
case.  :-)
It's predecessor succumbed when it had 2G; depending on what
was running, sometimes the swap would stick for hours or even days,


Robert Huff

___
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


<    1   2   3   4   5   6   7   8   9   10   >