Re: Unable to delete directory even after change of ownership.

2008-12-19 Thread perryh
 As svn, when I try to delete the folder (/home/my_repos),
 I get the error Permission denied.

 Why do I get this error when I (svn) am the owner of that
 directory?

To remove anything that is located in /home, including a directory
such as /home/my_repos, user svn would need write permission in the
/home directory.  Probably only root has write permission there.
___
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: Suitability question

2008-12-19 Thread Odhiambo Washington
On Fri, Dec 19, 2008 at 12:25 AM, Patrick Baldwin 
patrick.bald...@studsvik.com wrote:

 Usually I'm asking questions for work related things.  This one is more
 personal.
 My father has this tendency to end up wrecking his computer if he uses the
 Internet
 much.  Computers are basically magic boxes to him, so education is of
 limited usefulness
 here.

 I'm thinking I might be best of trying to built him a really locked-down,
 high security
 box, almost an Internet appliance.  All he really does is use the Web, and
 a little
 light word processing.

 What do people think of FreeBSD as the base OS for this idea?


What has he been running on? Windows XP? Give him an account without
Administrative rights!
Anything else will be too much work for you and him.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Okay guys. This is Kenya. You pay taxes because you feel philanthropic,
unlike our MPs!
-- Kenneth Marende, Speaker, 10th Parilament.
___
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: Secondary DNS or BSD Server space

2008-12-19 Thread Gary Kline
On Fri, Dec 19, 2008 at 10:23:55AM +0700, Outback Dingo wrote:
 i have space on a freebsd system in the states, i could do secondary for
 anybody, and we could create a new service, with a web based management
 facility
 its plainly a dns backup for us and a backup secondary failover web site for
 extremely low traffic, if you guys want to picth in, we can bring something
 together


Count me in.  i'll do whatever i can with my servers.


 
 On Fri, Dec 19, 2008 at 9:53 AM, Brett Glass br...@lariat.net wrote:
 
  Everyone:
 
  We just got word that Neustar, which bought DNS service provider Nominum a
  few years ago,  is shutting down Nominum's secondary.com service. The
  service used to provide secondary DNS for users' zones at no charge.
 
  I and the other secondary.com users I know think it's reasonable for the
  company to charge a small but reasonable fee for the service instead of
  keeping it running for free. But alas, Neustar is getting greedy. The only
  alternative they offer is a $50-a-month managed DNS service, which we
  don't want or need. (We're fine maintaining our own master servers and
  zones; we just need a slave to use as a secondary.) So, we're looking for
  alternatives.
 
  Does anyone on this list know of a good, BSD-based service which offers
  reasonably priced secondary DNS? Or reasonably priced servers at a server
  farm, where I and others can set up a secondary DNS server?
 
  --Brett Glass
 
  ___
  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-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.17a release of Jottings: http://jottings.thought.org/index.php

___
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: Simple swap question

2008-12-19 Thread David Naylor
On Thursday 18 December 2008 17:16:10 FreeBSD wrote:
 Hi everyone,

 I have a FreeBSD 7.0-Release server that started to swap after an error
 in a shell script (process spawning competition ;-) ). I killed the
 shell and the RAM is now OK. The problem is that the swap is still used.
 How can I reset the swap?

 Thanks for sharing your knowledge,

 Martin

Easy:
# swapoff -a ; swapon -a

It just removes all swap devices (with the content mapped back into memory) 
and then turns the swap devices back on.

Just make sure you have enough RAM to run your system while it does this 
(since only the RAM will be available for the system [NO SWAP])!!!  
WARNING: This could kill your system and does eat babies!!!

To others: There is one reason I can think of for doing this, if an 
irregularly used program (that is rather big) has been swapped out but 
requires a low latency when used (i.e. must not wait to be swapped back 
in...) then it would be desired to get the program swapped back into RAM as 
soon as possible after RAM has been freed.  

Regards,

David


signature.asc
Description: This is a digitally signed message part.


Fwd: Re: Re[4]: can not start SVNserve

2008-12-19 Thread KES
Здравствуйте, .



-- Пересылаемое письмо --
От:  David Weintraub qazw...@gmail.com
К:   KES kes-...@yandex.ru
А также к:   us...@subversion.tigris.org
Время создания:  Thu, 18 Dec 2008 14:30:51 -0500
Тема:can not start SVNserve
Прикрепленные файлы: none

The problem is the su command. For some reason, it is refusing to
execute the svnserve command. You can try to figure out why su isn't
working or you can switch to sudo.

I don't think we can give you any more help with this list.

On Thu, Dec 18, 2008 at 1:57 PM, KES kes-...@yandex.ru wrote:
 Здравствуйте, David.


 DW On Thu, Dec 18, 2008 at 3:03 AM, KES kes-...@yandex.ru wrote:
 Здравствуйте, Mel.

 Вы писали 18 декабря 2008 г., 9:05:35:

 M On Wednesday 17 December 2008 21:02:07 KES wrote:
 Здравствуйте, Mel.

 Вы писали 17 декабря 2008 г., 9:11:19:

 M On Sunday 14 December 2008 16:11:17 KES wrote:
  Здравствуйте, Polytropon.
 
  Вы писали 14 декабря 2008 г., 15:11:35:
 
  P On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar
 
  P woj...@wojtek.tensor.gdynia.pl wrote:
su: Sorry
   
   
kes# pw user mod svn -s /bin/bash
kes# pw user show svn
svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash
kes# /usr/local/etc/rc.d/svnserve start
Starting svnserve.
su: Sorry
  
   try to change directory to existent
 
  P (1) What's /bin/bash? Check existing shell.
 
  P (2) As you said: Check existing directory.
 
  P (3) Regarding su, check for wheel group inclusion.
 
  home# uname -a
  FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12
  02:11:24 EEST 2008 k...@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7
  i386 home# pw user show svn
  svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin
 
  As you can see on 'home' machine svn user has no valid shell also it
  has not valid home directory and it is not included into wheel group
 
  But svnserve is started and works fine. With same settings svnserve
  does not work on
  kes# uname -a
  FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov 23
  17:19:12 EET 2008
  k...@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386

 M echo 'rc_debug=YES'/etc/rc.conf
 M /usr/local/etc/rc.d/svnserve start

 M Show output from /var/log/messages.

 kes# kes# /usr/local/etc/rc.d/svnserve start
 /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set to
 YES. Starting svnserve.
 /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c 
 'sh
 -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r
 /var/db/trunk' su: Sorry

 M Does this command work from the command line?
 M If not, does it work if called as su -fm rather then su -m?
 M If that does not work, does the primary group svn is supposed to be in 
 exist?


 kes# su -m svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 
 --foreground -r /var/db/trunk'
 su: Sorry
 kes# su -fm svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 
 --foreground -r /var/db/trunk'
 su: Sorry
 kes# pw group show svn
 svn:*:1005:
 kes# cat /etc/group | grep svn
 svn:*:1005:
 kes# pw user show svn
 svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash

 As you see it does not work also with -fm option


 Also I notice next differences between FreeBDS 7.0 and 7.1 (detail below)
 Notice that on both system account is locked, has no valid shell and
 home directory
 on FreeBSD 7.0 when I try to login with svn user it says: This account is 
 currently not available.
 on FreeBSD 7.1 when I try to login with svn user it says: su: Sorry
 Maybe there is a problem with su on FreeBSD 7.1?



 home# pw user show svn
 svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin
 home# su svn
 This account is currently not available.


 kes# pw user show svn
 svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash
 kes# su svn
 su: Sorry
 kes# pw user mod svn -s /usr/bin/nologin
 kes# pw user show svn
 svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin
 kes# su svn
 su: Sorry



 DW Why don't you setup sudo and see if that will work for you? I've
 DW always found sudo much less troublesome than su.

 DW Then, you can modify your startup script to use sudo instead of su.


 Why maintainer of rc.subr use 'su' instead of 'sudo'? Maybe su has
 some benefit I do not know. If I edit standart rc.subr to use sudo
 instead of 'su' there maybe other sripts will not sturtup.




 --
 С уважением,
  KES  mailto:kes-...@yandex.ru





-- 
--
David Weintraub
qazw...@gmail.com


-- Конец пересылаемого письма --
-- 
С уважением,
 KES  mailto:kes-...@yandex.ru

___
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: SIS191 Ethernet Controller Support

2008-12-19 Thread Paul B. Mahol
On 12/19/08, Abd Hamid Shamsi storage...@gmail.com wrote:
 Hi Admin,
 I just want to know does FreeBSD support SIS191 Ethernet controller. Because
 recently i just install PCBSD in my laptop, and there is no connection for
 internet. and of course my network card seem doesn't appear in networking
 configuration. Do you have any suggestion to foresee this situation.

There is no native driver, you may try to play with ndis(4)

-- 
Paul
___
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


Zope 2.10, MySQL and Python 2.5

2008-12-19 Thread Kristjan Sander
Dear All,

I am having trouble with using Zope 2.10 together with MySQL. I have
_mysql Python support library for Python 2.5 from some previous port but
Zope came with Python 2.4 and I do not have _mysql support for that. I
guess that there will not be a Zope 2.10 port with Python 2.5 support in
the near future because Zope 2.10 does not support Python 2.5 as they
say at http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7-released . I
tried to change Python used by Zope in Zope conf to Python 2.5 but it
resulted in dramatic traceback.

Has anybody solved this problem?

Thanks in advance,

Kristjan Sander
___
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: Suitability question

2008-12-19 Thread Ott Köstner
On Thursday 18 December 2008 11:25:51 pm Patrick Baldwin wrote:

 I'm thinking I might be best of trying to built him a really 
 locked-down, high security
 box, almost an Internet appliance.  All he really does is use the Web, 
 and a little
 light word processing.
 
 What do people think of FreeBSD as the base OS for this idea?  

In this case, I would recommend to use PC-BSD.
http://www.pcbsd.org/

PC-BSD is full FreeBSD 7.1, with nice grapical installer, pre-configured for 
desktop use. Xorg, KDE, Firefox, Thunderbird, Open Office, flash, etc. -- all 
will work out of the box...

After installing PC-BSD, you can think of it as a standard FreeBSD -- Upgrade 
ports, build kernel, etc.

Regards,
O.K.



-- 
Mõõda oma inteneti kiirust / Test Your Internet speed
http://tallinn.speedtest.net/

___
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: Simple swap question

2008-12-19 Thread Wojciech Puchar

To others: There is one reason I can think of for doing this, if an
irregularly used program (that is rather big) has been swapped out but
requires a low latency when used (i.e. must not wait to be swapped back

so change this program if it requires low latency to do mlockall
___
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: Backing Up ZFS

2008-12-19 Thread Wojciech Puchar

As ZFS is becoming more stable and approaching production ready, how
would one Backup ZFS? In terms of backing up to an external media or
storage rather than doing snapshots. In case the the server
spontaneously bursts into flames.


use tar it's filesystem independent if you have tape drives.

actually you can tar to anything even multivolume backup using USB 
connected drivers.



I'm just curious at what others are currently doing to back up huge
amounts of data. eg. 2TB and onwards.

1. ZFS - External HDD (External HDD aren't even big enough to handle
greater than 2TB) Taken offsite daily
2. ZFS - Another ZFS box (Not sure how you take it off site daily)
3. ZFS - Remote ZFS using RSync (Living in Australia, there are
limits on data transfer of a few hundred GB per month, to costs are
prohibitive)


you don't require your backup target to have ZFS.

all your 3 solutions are filesystem-independent
___
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: Backing Up ZFS

2008-12-19 Thread Julien Cigar
I would suggest Bacula, a bit hard to config but very flexible

On Fri, 2008-12-19 at 12:52 +0100, Wojciech Puchar wrote:
  As ZFS is becoming more stable and approaching production ready, how
  would one Backup ZFS? In terms of backing up to an external media or
  storage rather than doing snapshots. In case the the server
  spontaneously bursts into flames.
 
 use tar it's filesystem independent if you have tape drives.
 
 actually you can tar to anything even multivolume backup using USB 
 connected drivers.
 
  I'm just curious at what others are currently doing to back up huge
  amounts of data. eg. 2TB and onwards.
 
  1. ZFS - External HDD (External HDD aren't even big enough to handle
  greater than 2TB) Taken offsite daily
  2. ZFS - Another ZFS box (Not sure how you take it off site daily)
  3. ZFS - Remote ZFS using RSync (Living in Australia, there are
  limits on data transfer of a few hundred GB per month, to costs are
  prohibitive)
 
 you don't require your backup target to have ZFS.
 
 all your 3 solutions are filesystem-independent
 ___
 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
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jci...@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

___
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: Backing Up ZFS

2008-12-19 Thread Valentin Bud
On Fri, Dec 19, 2008 at 1:52 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 As ZFS is becoming more stable and approaching production ready, how
 would one Backup ZFS? In terms of backing up to an external media or
 storage rather than doing snapshots. In case the the server
 spontaneously bursts into flames.


 use tar it's filesystem independent if you have tape drives.

 actually you can tar to anything even multivolume backup using USB
 connected drivers.

  I'm just curious at what others are currently doing to back up huge
 amounts of data. eg. 2TB and onwards.

 1. ZFS - External HDD (External HDD aren't even big enough to handle
 greater than 2TB) Taken offsite daily
 2. ZFS - Another ZFS box (Not sure how you take it off site daily)
 3. ZFS - Remote ZFS using RSync (Living in Australia, there are
 limits on data transfer of a few hundred GB per month, to costs are
 prohibitive)


 you don't require your backup target to have ZFS.


Quite wrong. If you want to use the zfs send | zfs receive along with zfs
snapshots tools the backup target *needs* to be ZFS.

If you plan to use the zfs send | [ tar | gz ] then you can backup the
snapshots anywhere you want in a compressed form.

a great day,
v




 all your 3 solutions are filesystem-independent

 ___
 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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


6.2-6.4 network oddities

2008-12-19 Thread Martin Hepworth
Hi all

Just tried to do a 6.2-6.4 upgrade using the freebsd-update.sh script
from http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz.

However i got really odd network things going on, main one seems to be
lo0 doesn't get it's ip-address. Other things like syslogd don't start
or indeed namedb.

The nameservers in resolv.conf don't get queried after the first
nameserver entry.

anyone seem anythign like this before. Googling doesn't provide any
obvious results.

I've restoring to 6.2 before the users come in, but any pointers would
be helpful for the near future when I try and build a test server to
do this again.

-- 
Martin Hepworth
Oxford, UK
___
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: Suitability question

2008-12-19 Thread eculp

Quoting Ott Köstner o...@zzz.ee:


On Thursday 18 December 2008 11:25:51 pm Patrick Baldwin wrote:


I'm thinking I might be best of trying to built him a really
locked-down, high security
box, almost an Internet appliance.  All he really does is use the Web,
and a little
light word processing.

What do people think of FreeBSD as the base OS for this idea?


In this case, I would recommend to use PC-BSD.
http://www.pcbsd.org/

PC-BSD is full FreeBSD 7.1, with nice grapical installer,  
pre-configured for desktop use. Xorg, KDE, Firefox, Thunderbird,  
Open Office, flash, etc. -- all will work out of the box...


After installing PC-BSD, you can think of it as a standard FreeBSD  
-- Upgrade ports, build kernel, etc.


Does anyone know if Flash 9 works on pcbsd?  In fact, I use current  
and it works but hangs probably 4 times a day and I have to kill the  
linux pviewer.bin processes and restart apache to continue.  It is  
much better than nothing though.  I'm still using wine with windows  
firefox and flash doesn't give me any problems but I have problems  
with character sets so I use it only for flash.


ed



Regards,
O.K.



--
Mõõda oma inteneti kiirust / Test Your Internet speed
http://tallinn.speedtest.net/

___
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-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: 6.2-6.4 network oddities

2008-12-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Hepworth wrote:
 Hi all
 
 Just tried to do a 6.2-6.4 upgrade using the freebsd-update.sh script
 from http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz.
 
 However i got really odd network things going on, main one seems to be
 lo0 doesn't get it's ip-address. Other things like syslogd don't start
 or indeed namedb.
 
 The nameservers in resolv.conf don't get queried after the first
 nameserver entry.
 
 anyone seem anythign like this before. Googling doesn't provide any
 obvious results.
 
 I've restoring to 6.2 before the users come in, but any pointers would
 be helpful for the near future when I try and build a test server to
 do this again.
 

Hi Martin,

Please post relevant bits of dmesg output and /var/log/messages, and
that will help everyone give you advice about how to fix the upgraded
OS.  Also, did you capture the output of freebsd-update during the upgrade?

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJS7Cn0sRouByUApARAtkEAJ93yOYX6eLpdPunYHz1HjqVUqxZegCcCRPN
bzVpYARtUd2vQ95FHBPVfcU=
=Gu/g
-END PGP SIGNATURE-

___
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: bridge ipfw also protect set

2008-12-19 Thread Ian Smith
On Fri, 19 Dec 2008 10:19:31 +0700 (ICT) Olivier Nicole o...@cs.ait.ac.th 
wrote:
   [kho...@singnet.com.sg wrote:]
   I want to give internet connectivity to a pc behind my Freebsd, which is 
   connected to an aDSL. I know I can add another card to my set and use 
   bridge+IPFW so that the behind pc is firewalled. But will this setup
   also ensure that my Freebsd set is firewalled? Could now figure it out
   reading the book and article.
  
  You don't want to use bridge!

Certainly true in this instance.

  1) as far as I remember, ipfw works poorly with bridge: it would
 filter only based on layer 2, not based on IP (need to confirm).

Not true.  I've managed a filtering bridge (also providing web and samba 
servers) with ipfw+dummynet for 5+ years since FreeBSD 4.8, and it works 
very well indeed.  You can filter at layer 2 or 3, bridged and unbridged 
traffic, though you can only filter bridged traffic that's coming 'in'.

  2) bridge means that packets traverse the FreeBSD machine without any
 modification (think of the bridge like a 2 ports Ethernet
 switch). Unless you use and ADSL modem (but then you can use a
 switch and connect your PC and your FreeBSD box each on one port of
 the switch) it will not work.
  
 If your FreeBSD machine is in charge of making the ADSL connection,
 it will not work.

Not as a bridge, no.

  3) as suggested in the prvious reply, you need some NAT and some
 routing in your FreeBSD machine. Routing is not bridge.

The 'simple' ruleset in rc.firewall provides a good basic setup to 
protect a small network as described, including the router of course.

You'll want to add a couple of rules allowing some ICMP traffic, remove 
rules for inbound DNS and web if you're not running those servers, etc.

Read ipfw(8) about 10 times, largely ignore the current ipfw section in 
the handbook, and prosper ..

cheers, Ian
___
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


boot-only?which cds?reprobing network devices during setup? (my minor experience/complaints today..)

2008-12-19 Thread Jay

AMD64/7.1RC1
 
I couldn't find documentation as to what the boot only CDs are.
So I tried it. Now I know. They boot, start setup, and then must get the  
setup source from the network (or perhaps swap CDs).
 
My machine's onboard ethernet controller is apparently not supported,or not 
quite working. It was working fine from Linux.It is a Sun machine with onboard 
nVidia ethernet.
So I connected a USB to ethernet adapter.It works.But I had to reboot the 
computer.It would a little nice if setup would re-probe devices.
Also, when you boot the boot only CD, and say to use the CDfor the install 
source, it errors, repeatedly, for every package.You have to know to push 
control-c.
I also don't see information as to what is on CD1 vs. 2 vs 3.
 
In the visual fdisk, I deleted a partition, then tried undo,
it said it couldn't, that it had commited/written already. I later restarted
setup and the deleted partition was back. It seems its understanding
of what has been written is wrong.
 
(I ran FreeBSD a bunch years ago, around 3.x, but stopped
once I found pulling out a USB device paniced.
Ready to give it another try..well, for some porting work..)
 
 - Jay___
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


Clearing SMART errors I don't care about?

2008-12-19 Thread Kirk Strauser
I have a 250GB drive that I use exclusively for unimportant data.  I  
run smartd to watch the status of my drives and get regular output like:


smartd[1409]: Device: /dev/ad8, 4 Offline uncorrectable sectors

I've been seeing that exact message for a couple of years now and  
don't particularly care.  I'd like to know if the drive's about to  
roll over and die, but I really don't need to know about the same 4  
offline uncorrectable errors.


Is there a way to clear that message while leaving SMART enabled on  
the drive?  I didn't see anything specifically answering it in  
smartctl(8) but wondered if I missed something.

--
Kirk Strauser



___
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: Simple swap question

2008-12-19 Thread FreeBSD

RW a écrit :

On Thu, 18 Dec 2008 15:13:12 -0500
FreeBSD free...@optiksecurite.com wrote:


  
I can't see any process within parentheses in top... I also looked at 
the -f option of ps but the process that caused the swapping are not

listed.




FreeBSD only swaps in extreme cases - most of the time it's paging
instead.

If it really worries you:

swapoff -a ; swapon -a

  


Thanks a lot, it worked great!

Martin
___
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


SOLVED: Simple swap question

2008-12-19 Thread FreeBSD

Jerry McAllister a écrit :

On Thu, Dec 18, 2008 at 12:02:06PM -0500, FreeBSD wrote:

  

Daniel Bye a écrit :


On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote:
  

On Thursday 18 December 2008 09:16:10 FreeBSD wrote:


Hi everyone,

I have a FreeBSD 7.0-Release server that started to swap after an error
in a shell script (process spawning competition ;-) ). I killed the
shell and the RAM is now OK. The problem is that the swap is still used.
How can I reset the swap?
  

You don't.  The system will handle it for you, I promise.  :-)


And very well, too.

You can prompt it to move pages back into RAM if you start using a swapped-
out process again - say, for example, a quiescent word processor had been
swapped out, you could get it back by raising it and starting to type.

But as Kirk said, there really is no need. It's one of the kernel's many
jobs, and I'm inclined to leave it get on with it!

Dan

  
Thanks for your answer. I'm asking here because it's been several days 
and there is still used swap for data that should never be used anymore. 
If the kernel wants to keep it, why not move it to RAM now that there is 
some free?



Why bother if it isn't being currently used?

jerry

  
Because this server is monitored by Nagios and it emails me every hour a 
warning because the swap is not 100% free (I know it's pretty extreme, 
but I want to know if the system is swapping).


I just tried

swapoff -a ; swapon -a

and it worked great.

Thanks everyone for your answer.

Martin

___
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: SOLVED: Simple swap question

2008-12-19 Thread Kirk Strauser

On Dec 19, 2008, at 9:37 AM, FreeBSD wrote:

Because this server is monitored by Nagios and it emails me every  
hour a warning because the swap is not 100% free (I know it's pretty  
extreme, but I want to know if the system is swapping).


Martin,

I'm not trying to be harsh, honestly, but stop doing things like that  
until you understand them.  FreeBSD will *copy* (not *move*, but  
*copy*) stuff to swap as it sees fit.  I have 6GB of RAM in my home  
server, and at this moment top says this:


Mem: 1060M Active, 1712M Inact, 549M Wired, 5352K Cache, 214M Buf,  
2600M Free

Swap: 16G Total, 3068K Used, 16G Free

I know for a fact that I've never used 100% of the RAM since the last  
reboot, but it's still played around with 3MB of swap.  This is not  
hurting anything, and absolutely is *not* an indication that anything  
is wrong or sub-optimal.


Seriously, get over your obsession with keeping swap utterly empty  
before it drives you nuts.  FreeBSD isn't designed to work that way  
and you'll be fighting it for no good reason whatsoever.

--
Kirk Strauser



___
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: Is FreeBSD subject to the EAR ?

2008-12-19 Thread Norbert Papke
On December 17, 2008, kosuke.okis...@toshiba.co.jp wrote:
 Is Free BSD 6.3-release subject to the U.S. Export Administration
 Regulation ?

 If the FreeBSD 6.3-release includes encryption software, it may be subject
 to the EAR.

 Following is extract part of the EAR.

 Part 734.3  :  Items subject to the EAR

 (b) The following items are not subject to the EAR:
・
・
   (3) Publicly available technology and software, except software
 controlled for
EI reasons under ECCN 5D002 on the Commerce Control List and
   mass market encryption software with symmetric key length exceeding
  64-bits controlled under ECCN 5D992, that:

I am not a lawyer, but I would stipulate that FreeBSD falls into the publicly 
available category and would therefore be exempt.

-- Norbert Papke.

Grand Master Turing once dreamed that he was a machine. When he awoke he 
exclaimed:
I don't know whether I am Turing dreaming that I am a machine, 
or a machine dreaming that I am Turing!  (The Tao Of Programming)
___
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: SOLVED: Simple swap question

2008-12-19 Thread Wojciech Puchar

jerry


Because this server is monitored by Nagios and it emails me every hour a 
warning because the swap is not 100% free (I know it's pretty extreme, but I 
want to know if the system is swapping).


I just tried

swapoff -a ; swapon -a

and it worked great.

under completely normal operation when programs fit in real memory 
swapping CAN occur because of file caching.


while programs have priority over file cache in memory, long-unused parts 
of system can be swapped out.


i don't know what's nagios, but configure it to warn you not because there 
are swap used, but if there is more than a little swapping activity.

___
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: SOLVED: Simple swap question

2008-12-19 Thread Wojciech Puchar
but it's still played around with 3MB of swap.  This is not hurting anything, 
and absolutely is *not* an indication that anything is wrong or sub-optimal.


Seriously, get over your obsession with keeping swap utterly empty before it 
drives you nuts.  FreeBSD isn't designed to work that way and you'll be 
fighting it for no good reason whatsoever.

--

or simply turn off swap and set up per-user limits.

___
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: Clearing SMART errors I don't care about?

2008-12-19 Thread Wojciech Puchar

smartd to watch the status of my drives and get regular output like:

smartd[1409]: Device: /dev/ad8, 4 Offline uncorrectable sectors

I've been seeing that exact message for a couple of years now and don't 
particularly care.  I'd like to know if the drive's about to roll over and 
die, but I really don't need to know about the same 4 offline uncorrectable 
errors.


Is there a way to clear that message while leaving SMART enabled on the 
drive?  I didn't see anything specifically answering it in smartctl(8) but 
wondered if I missed something.


maybe some time there was an error while writing something, or maybe media 
failed in that place.


by rewriting whole drive you should be able to remove them
___
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: Backing Up ZFS

2008-12-19 Thread Wojciech Puchar

prohibitive)



you don't require your backup target to have ZFS.



Quite wrong. If you want to use the zfs send | zfs receive along with zfs

quite right. i was NOT answering to zfs send/receive case!
___
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: boot-only?which cds?reprobing network devices during setup? (my minor experience/complaints today..)

2008-12-19 Thread Wojciech Puchar


AMD64/7.1RC1

I couldn't find documentation as to what the boot only CDs are.
So I tried it. Now I know. They boot, start setup, and then must get the  setup 
source from the network (or perhaps swap CDs).

My machine's onboard ethernet controller is apparently not supported,or not 
quite working. It was working fine from Linux.It is a Sun machine with onboard 
nVidia ethernet.


well nvidia ethernet chips are well... specific.
some works SOMEHOW, some not at all.

mine works about 1 minute after starting, then it stops ;) (nve driver)




So I connected a USB to ethernet adapter.It works.But I had to reboot the 
computer.It would a little nice if setup would re-probe devices.


exit just setup and get back. kernel do autoattach, just setup scans 
devices once.

___
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: Clearing SMART errors I don't care about?

2008-12-19 Thread Kirk Strauser

On Dec 19, 2008, at 10:03 AM, Wojciech Puchar wrote:


by rewriting whole drive you should be able to remove them



I tried running dd if=/dev/zero of=/dev/ad8 bs=1m a while back but  
I'm still getting them.  At this point, I imagine that I really do  
have bad sectors.  I'm fine with that.  I just don't want to hear  
about them any more.  :-)

--
Kirk Strauser





PGP.sig
Description: This is a digitally signed message part


Crunchgen Init

2008-12-19 Thread Bryce Simonds
Hi,

I've been attempting to build a very minimal FreeBSD memdisk image to boot
to and I've been having some difficulties with a few things, particularly it
seems that when I attempt to use a custom made crunchgen binary (Based off
of the rescue config) init crashes with signal 6 and an exit code of 0, and
the system informs me it will reboot after 15 seconds.   No other errors
appear on the screen at the time.

Does anyone know why init would do this?  Signal 6 appears to be a SIGABRT.

Thank you,
Bryce Simonds

___
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


Netstat command output

2008-12-19 Thread Karrj

Hello - Warning -  I am new to FreeBSD. I am not sure this is the correct
forum for this post - forgive me if it is not and please direct me to the
correct area. I have installed FreeBSD on a HP Proliant DL380 G3 server with
(2) NICs. I have also installed Dummynet and NetSNMP as my ultimate goal is
to use this as a WAN emulator. I was doing some initial testing where the
FreeBSD box acts as a router between two subnets where an ftp client is on
one subnet and an ftp server is on the other. I kick off an ftp get of a 9
MB file and at the same time initiate a netstat -w1 -Ibge0 command on the
FreeBSD. The outputput of the command indicates a relatively small number of
input errors (10 per interval). The same command on the bge1 interface is
all zeros. This is repeatable every time I perform the ftp get. I performed
the same test without the FreeBSD box by having the client and server
connected to the same subnet through the same switch ports and no errors
according to the trace analysis - no retransmissions, etc shown in the
trace. My questions are related to the meaning and interpretation of the
output of the netstat command and how to resolve the errors. 1) What is the
meaning of input errors? Is it bad CRC at layer 2? What would be meant by
output errors in the command? The interface cannot see the packets after
they have been transmitted. I would like a technical explanation of the
output of this netstat command. 2) How to alleviate the errors? Is this a
buffer issue? How to determine the NIC type? 
Any feedback would be most appreciated.
-- 
View this message in context: 
http://www.nabble.com/Netstat-command-output-tp21094731p21094731.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
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: SOLVED: Simple swap question

2008-12-19 Thread Tom Worster
On 12/19/08 10:37 AM, FreeBSD free...@optiksecurite.com wrote:

 Because this server is monitored by Nagios and it emails me every hour a
 warning because the swap is not 100% free (I know it's pretty extreme,
 but I want to know if the system is swapping).

if a swap space is available and swapping not turned off, it seems
reasonable to expect the OS to use it as it sees fit.

rather than trying to tinker with the kernel's swapping policy on the fly
every time you get a warning, perhaps think about either telling nagios not
to worry about it or don't use swapping. i'd go with the former. but you say
you want to ensure that swap doesn't get used -- so maybe get rid of the
swap slice?


___
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: Clearing SMART errors I don't care about?

2008-12-19 Thread Tom Worster
On 12/19/08 11:46 AM, Kirk Strauser k...@strauser.com wrote:

 I just don't want to hear about them any more.  :-)

reconfigure smartd?

i'm not convinced that smart monitoring is of much value even on disks with
important data.


___
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: Clearing SMART errors I don't care about?

2008-12-19 Thread Kirk Strauser

On Dec 19, 2008, at 11:10 AM, James Tanis wrote:

To answer your question, I don't believe smartd is sophisticated  
enough to filter out specific errors. It's meant to warn you at the  
first sign of drive failure so you will have time to replace the  
drive. It doesn't exactly provide a meter of how imminent drive  
failure is. If your going to start ignoring it's advice it isn't  
going to be very useful to you at all.



I beg to differ.  smartctl -H /dev/ad8 says that it passes its self- 
assessment and doesn't expect the drive to flat-out die any day soon.   
I'd still like to know if the error count increased, or if it started  
to detect imminent failure.

--
Kirk Strauser



___
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: Clearing SMART errors I don't care about?

2008-12-19 Thread Zbigniew Szalbot
Hi,

 i'm not convinced that smart monitoring is of much value even on disks with
 important data.

It is if taken seriously. A smartd error was once ignored, the rest
(including data) is history.

Thank you for FreeBSD!

-- 
Zbigniew Szalbot
www.fairtrade.net.pl
www.slowo.pl
___
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


Linking libraries for compat_linux

2008-12-19 Thread Chris

I've bumped into a library I can't resolve and I must have a disconnect
in how the linux_compat works because I can't see how it could be  
solved.

I have the following:
* compat_linux enabled in the kernel,
* /usr/ports/emulators/linux_base_fc7
* sysctl kern.fallback_elf_brand=3
* rpm2cpio to alter rpms
* cpio to create the directories and place the files where they  
belong in /compat/linux.


I have a program that now has all it's libraries resolved but one in
preparation to attempt to run the Linux Quickbooks install on FreeBSD.
The ldd output, prior to installing /usr/ports/devel/fam (a required  
shared

library) looks like this.

ldd ./opt/qbes7/util/qbmonitord
./opt/qbes7/util/qbmonitord:
libfam.so.0 = not found
libpthread.so.0 = /lib/libpthread.so.0 (0x28072000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x28088000)
libm.so.6 = /lib/libm.so.6 (0x28171000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x28198000)
libc.so.6 = /lib/libc.so.6 (0x281a4000)
/lib/ld-linux.so.2 (0x28054000)

I install fam to get rid of the not found, perform the following link:
ln /usr/local/lib/libfam.so.0 /compat/linux/lib/libfam.so.0

and then I get this:

ldd ./opt/qbes7/util/qbmonitord
./opt/qbes7/util/qbmonitord:
./opt/qbes7/util/qbmonitord: error while loading shared libraries: / 
lib/libfam.so.0: ELF file OS ABI invalid

./opt/qbes7/util/qbmonitord: exit status 127

which kind of makes sense since this library is not a linux library.  
I'd read
that I don't need to brandelf -t linux a library but I tried that  
anyway,
realizing it was likely meaningless (or harmful). It didn't help of  
course.


My next thought was to try and get a libfam.so.0 binary from a linux  
distro
but stopped when it occurred to me that it would be illogical since  
fam uses
kqueue on FreeBSD rather than something called imon. imon is not  
available
for FreeBSD so a linux version shouldn't be able to function if it  
expects that. On

FreeBSD, fam configures itself to not use imon.

What is the appropriate course of action to get a linux flavor shared  
library
for fam (or anything which runs into such conflicts) that will work  
on FreeBSD

yet be recognized as suitable for linux under the compat mode?


___
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: SOLVED: Simple swap question

2008-12-19 Thread FreeBSD

Tom Worster a écrit :

On 12/19/08 10:37 AM, FreeBSD free...@optiksecurite.com wrote:

  

Because this server is monitored by Nagios and it emails me every hour a
warning because the swap is not 100% free (I know it's pretty extreme,
but I want to know if the system is swapping).



if a swap space is available and swapping not turned off, it seems
reasonable to expect the OS to use it as it sees fit.

rather than trying to tinker with the kernel's swapping policy on the fly
every time you get a warning, perhaps think about either telling nagios not
to worry about it or don't use swapping. i'd go with the former. but you say
you want to ensure that swap doesn't get used -- so maybe get rid of the
swap slice?
  
This server is very lightly used, so most of the time if the swap is 
getting used it shows that something is going wrong. This warning 
already proved usefull once, so I don't think I'm going to change it. I 
don't want to mess with the kernel actions, but there was no reason to 
keep this in swap. I understand that the kernel can't know that, that's 
why I wanted to know the way to reset the swap. There is always a lot 
of free or inactive RAM and, in normal condition, the swap should not be 
used. It's been like that for months, so I think it's a good idea to be 
notified if the swap is used.


Martin
___
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: Netstat command output

2008-12-19 Thread Matthew Seaman

Karrj wrote:

Hello - Warning -  I am new to FreeBSD. I am not sure this is the correct
forum for this post - forgive me if it is not and please direct me to the
correct area. I have installed FreeBSD on a HP Proliant DL380 G3 server with
(2) NICs. I have also installed Dummynet and NetSNMP as my ultimate goal is
to use this as a WAN emulator. I was doing some initial testing where the
FreeBSD box acts as a router between two subnets where an ftp client is on
one subnet and an ftp server is on the other. I kick off an ftp get of a 9
MB file and at the same time initiate a netstat -w1 -Ibge0 command on the
FreeBSD. The outputput of the command indicates a relatively small number of
input errors (10 per interval). The same command on the bge1 interface is
all zeros. This is repeatable every time I perform the ftp get. I performed
the same test without the FreeBSD box by having the client and server
connected to the same subnet through the same switch ports and no errors
according to the trace analysis - no retransmissions, etc shown in the
trace. My questions are related to the meaning and interpretation of the
output of the netstat command and how to resolve the errors. 1) What is the
meaning of input errors? Is it bad CRC at layer 2? What would be meant by
output errors in the command? The interface cannot see the packets after
they have been transmitted. I would like a technical explanation of the
output of this netstat command. 2) How to alleviate the errors? Is this a
buffer issue? How to determine the NIC type? 
Any feedback would be most appreciated.


Hmm... well, to determine the NIC type, look at the interface name.  In FreeBSD,
the i/f device depends on the chipset of the NIC.  There are manual pages for
all of the available types: bge(4) in your case.  If you need more detail, look
at the boot-time dmesg output -- ie /var/run/dmesg.boot -- or you can extract
PCI ID numbers etc. using 'pciconf -lv'.  


If you're only seeing errors on the input side on bge0, that sounds like
a duplex mismatch to me.  What's the output of 'ifconfig bge0'?  If it
claims the connection is running at 100Mb/s half duplex then you've almost
certainly got a mismatch between switch and server -- one is trying to autoneg,
and the other is wired to a fixed speed.  Either set them both to autoneg, or
wire them both down.  (100Mb half duplex is the default setting a NIC will
use when it fails to negotiate correctly with a switch.)

Same sort of effect /can/ be caused by a dodgy patch lead, but I assume
that's one of the first things you'ld have swapped out in trying to debug this.

To tell exactly what the errors are you're going to need some more sophisticated
analysis tools than netstat(1).  tcpdump(1) and/or wireshark (from ports) are
probably your best bet.  If you don't want to put an X environment on your
FreeBSD box, then use 'tcpdump -i bge0 -s 0 -w /some/filename' to capture the
packet flows, then copy the file to another machine where you have wireshark
running.

Note that some modern NICs with hardware checksum offloading can give false
checksum errors on locally generated traffic -- essentially tcpdump grabs a copy
of the outgoing packet before the NIC can calculate the checksum and insert it.
This will only affect programs like tcpdump(1). It won't cause the error 
counters
netstat(1) reports to be incremented.  If you do see this sort of thing, then
you just need another machine you can do packet capture on to prove to yourself
that the checksums are correct over the wire.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Backing Up ZFS

2008-12-19 Thread Valentin Bud
On Fri, Dec 19, 2008 at 6:04 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 prohibitive)


 you don't require your backup target to have ZFS.



 Quite wrong. If you want to use the zfs send | zfs receive along with zfs

 quite right. i was NOT answering to zfs send/receive case!

that's the purpose of quite. didn't know for sure what you were referring
to.

a great day,
v
___
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: Secondary DNS or BSD Server space

2008-12-19 Thread pete wright
On Thu, Dec 18, 2008 at 8:11 PM, Matt Emmerton m...@gsicomp.on.ca wrote:
 Everyone:

 We just got word that Neustar, which bought DNS service provider
 Nominum a few years ago,  is shutting down Nominum's
 secondary.com service. The service used to provide secondary DNS
 for users' zones at no charge.

 I and the other secondary.com users I know think it's reasonable
 for the company to charge a small but reasonable fee for the
 service instead of keeping it running for free. But alas, Neustar
 is getting greedy. The only alternative they offer is a $50-a-month
 managed DNS service, which we don't want or need. (We're fine
 maintaining our own master servers and zones; we just need a slave
 to use as a secondary.) So, we're looking for alternatives.

 Does anyone on this list know of a good, BSD-based service which
 offers reasonably priced secondary DNS? Or reasonably priced
 servers at a server farm, where I and others can set up a secondary DNS
 server?

 There was a thread on this just the other day here.  Not sure if they are
 BSD-based, but both dyndns.org and zoneedit.com offser secondary service for
 practically nothing.



I'm %99 sure that dyndns.org is FBSD based.  I've been using them for
a while now and am quite happy with them too.  if you check out their
jobs board there are openings for FreeBSD engineers:

http://dynamicnetworkservices.com/jobs-hiring

-pete


-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
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: Netstat command output

2008-12-19 Thread john.karr
Thanks for the response. I will heed your suggestions. 

-Original Message-
From: Matthew Seaman [mailto:m.sea...@infracaninophile.co.uk] 
Sent: Friday, December 19, 2008 12:08 PM
To: Karr,JE,John,JGU8 R
Cc: freebsd-questions@freebsd.org
Subject: Re: Netstat command output

Karrj wrote:
 Hello - Warning -  I am new to FreeBSD. I am not sure this is the
correct
 forum for this post - forgive me if it is not and please direct me to
the
 correct area. I have installed FreeBSD on a HP Proliant DL380 G3
server with
 (2) NICs. I have also installed Dummynet and NetSNMP as my ultimate
goal is
 to use this as a WAN emulator. I was doing some initial testing where
the
 FreeBSD box acts as a router between two subnets where an ftp client
is on
 one subnet and an ftp server is on the other. I kick off an ftp get of
a 9
 MB file and at the same time initiate a netstat -w1 -Ibge0 command on
the
 FreeBSD. The outputput of the command indicates a relatively small
number of
 input errors (10 per interval). The same command on the bge1
interface is
 all zeros. This is repeatable every time I perform the ftp get. I
performed
 the same test without the FreeBSD box by having the client and server
 connected to the same subnet through the same switch ports and no
errors
 according to the trace analysis - no retransmissions, etc shown in the
 trace. My questions are related to the meaning and interpretation of
the
 output of the netstat command and how to resolve the errors. 1) What
is the
 meaning of input errors? Is it bad CRC at layer 2? What would be meant
by
 output errors in the command? The interface cannot see the packets
after
 they have been transmitted. I would like a technical explanation of
the
 output of this netstat command. 2) How to alleviate the errors? Is
this a
 buffer issue? How to determine the NIC type? 
 Any feedback would be most appreciated.

Hmm... well, to determine the NIC type, look at the interface name.  In
FreeBSD,
the i/f device depends on the chipset of the NIC.  There are manual
pages for
all of the available types: bge(4) in your case.  If you need more
detail, look
at the boot-time dmesg output -- ie /var/run/dmesg.boot -- or you can
extract
PCI ID numbers etc. using 'pciconf -lv'.  

If you're only seeing errors on the input side on bge0, that sounds like
a duplex mismatch to me.  What's the output of 'ifconfig bge0'?  If it
claims the connection is running at 100Mb/s half duplex then you've
almost
certainly got a mismatch between switch and server -- one is trying to
autoneg,
and the other is wired to a fixed speed.  Either set them both to
autoneg, or
wire them both down.  (100Mb half duplex is the default setting a NIC
will
use when it fails to negotiate correctly with a switch.)

Same sort of effect /can/ be caused by a dodgy patch lead, but I assume
that's one of the first things you'ld have swapped out in trying to
debug this.

To tell exactly what the errors are you're going to need some more
sophisticated
analysis tools than netstat(1).  tcpdump(1) and/or wireshark (from
ports) are
probably your best bet.  If you don't want to put an X environment on
your
FreeBSD box, then use 'tcpdump -i bge0 -s 0 -w /some/filename' to
capture the
packet flows, then copy the file to another machine where you have
wireshark
running.

Note that some modern NICs with hardware checksum offloading can give
false
checksum errors on locally generated traffic -- essentially tcpdump
grabs a copy
of the outgoing packet before the NIC can calculate the checksum and
insert it.
This will only affect programs like tcpdump(1). It won't cause the error
counters
netstat(1) reports to be incremented.  If you do see this sort of thing,
then
you just need another machine you can do packet capture on to prove to
yourself
that the checksums are correct over the wire.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW

___
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


Snow in my Server

2008-12-19 Thread Gary Hartl
Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
7-release server.

IT seems to be causeing some http outages.

My FBSD 6-.0 doesn't seem to be affected thou.


Any suggestions,


Cheers,

Gary 


___
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: Secondary DNS or BSD Server space

2008-12-19 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Fri, 19 Dec 2008 10:15:33 -0800
pete wright nomadlo...@gmail.com wrote:
 
[...]
  There was a thread on this just the other day here.  Not sure if
  they are BSD-based, but both dyndns.org and zoneedit.com offser
  secondary service for practically nothing.
 
 I'm %99 sure that dyndns.org is FBSD based.  I've been using them for
 a while now and am quite happy with them too.  if you check out their
 jobs board there are openings for FreeBSD engineers:

DynDNS is FreeBSD based, ZoneEdit is not:

  http://searchdns.netcraft.com/?position=limitedhost=dyndns.com

  http://uptime.netcraft.com/up/graph?site=dyndns.com

  http://searchdns.netcraft.com/?position=limitedhost=zoneedit.com

  http://uptime.netcraft.com/up/graph?site=zoneedit.com

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAklL72wACgkQ/MM/0rYIoZiqnAP/SFi5UwDec1/EZ1u4BGVAthyF
E33tebKZ9nkngU0GWtbWeSFCc21hG+MRySE9sY+h+8yEVjuxganeEnqJZH8QLRfF
NTkEJ1bZijK2bbaxU/E6wi/N7M0KtF8FWSzWGyOAvf7SJvY5xFfbahQLc1iLjUNO
HRnbtUrRPoIxWYp/izU=
=9VkX
-END PGP SIGNATURE-
___
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: SOLVED: Simple swap question

2008-12-19 Thread RW
On Fri, 19 Dec 2008 13:04:26 -0500
FreeBSD free...@optiksecurite.com wrote:

  
 This server is very lightly used, so most of the time if the swap is 
 getting used it shows that something is going wrong. This warning 
 already proved usefull once, so I don't think I'm going to change it.
 I don't want to mess with the kernel actions, but there was no reason
 to keep this in swap. 

It's the other way around, if a page is written-out to swap and then
read back into ram, there's no point in ditching the on-disk copy as
long as it's still valid. If the kernel runs short of memory again, it
can reuse such pages instantaneously. 
___
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: Snow in my Server

2008-12-19 Thread Outback Dingo
ask santa for a shovel ?? :)

On Sat, Dec 20, 2008 at 1:59 AM, Gary Hartl gha...@gmail.com wrote:

 Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
 7-release server.

 IT seems to be causeing some http outages.

 My FBSD 6-.0 doesn't seem to be affected thou.


 Any suggestions,


 Cheers,

 Gary


 ___
 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-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: Snow in my Server

2008-12-19 Thread Roger Olofsson



Gary Hartl skrev:

Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
7-release server.

IT seems to be causeing some http outages.

My FBSD 6-.0 doesn't seem to be affected thou.


Any suggestions,


Cheers,

Gary 



___
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 virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.19/1857 - Release Date: 2008-12-19 10:09




Locate roof in ports and build roof!

/R

___
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: SOLVED: Simple swap question

2008-12-19 Thread Kirk Strauser

On Dec 19, 2008, at 12:04 PM, FreeBSD wrote:




This server is very lightly used, so most of the time if the swap is  
getting used it shows that something is going wrong.


No it doesn't.  Get that wrong idea out of your head.
--
Kirk Strauser



___
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: Secondary DNS or BSD Server space

2008-12-19 Thread Outback Dingo
sounds like we should come up with a replicable secondary zones system based
on bind and setup a few locations for redundency

we could create a global redundent BSDDNSSEC.com if we pitched in and
created something to replicate data between a few hosts

value added BSD services, ill have a minimal system functional by morning, i
was looking at a few options for doing this. suggestions ?

On Sat, Dec 20, 2008 at 2:10 AM, Chris Cowart
ccow...@rescomp.berkeley.eduwrote:

 [dropping -questions as a Cc]

 Gary Kline wrote:
  On Fri, Dec 19, 2008 at 10:23:55AM +0700, Outback Dingo wrote:
  i have space on a freebsd system in the states, i could do secondary for
  anybody, and we could create a new service, with a web based management
  facility
  its plainly a dns backup for us and a backup secondary failover web site
 for
  extremely low traffic, if you guys want to picth in, we can bring
 something
  together
 
Count me in.  i'll do whatever i can with my servers.

 I'm running an authoritative nameserver and a webserver out of a
 datacenter in Fremont, CA, US for personal use. I'd be interested in
 getting in on this too.

 --
 Chris Cowart
 Network Technical Lead
 Network  Infrastructure Services, RSSP-IT
 UC Berkeley

___
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: Snow in my Server

2008-12-19 Thread Steve Bertrand
Roger Olofsson wrote:

 Gary Hartl skrev:
 Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
 7-release server.

 IT seems to be causeing some http outages.

 My FBSD 6-.0 doesn't seem to be affected thou.

 Locate roof in ports and build roof!

Better yet, do what they do just west of me in Toronto... call in the
Army ;)

Steve
___
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: Secondary DNS or BSD Server space

2008-12-19 Thread Chris Cowart
[dropping -questions as a Cc]

Gary Kline wrote:
 On Fri, Dec 19, 2008 at 10:23:55AM +0700, Outback Dingo wrote:
 i have space on a freebsd system in the states, i could do secondary for
 anybody, and we could create a new service, with a web based management
 facility
 its plainly a dns backup for us and a backup secondary failover web site for
 extremely low traffic, if you guys want to picth in, we can bring something
 together
 
   Count me in.  i'll do whatever i can with my servers.

I'm running an authoritative nameserver and a webserver out of a
datacenter in Fremont, CA, US for personal use. I'd be interested in
getting in on this too.

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpAI1cWnkXub.pgp
Description: PGP signature


Re: Snow in my Server

2008-12-19 Thread Brian A. Seklecki
On Fri, 2008-12-19 at 11:15 -0800, Casey Scott wrote:
 Obviously downgrade to 6.0 on snow affected servers.

Or rebuild all of your ports and melt the snow away.

~BAS

-- 
Brian A. Seklecki bsekle...@collaborativefusion.com
Collaborative Fusion, Inc.


signature.asc
Description: This is a digitally signed message part


Re: Clearing SMART errors I don't care about?

2008-12-19 Thread Tom Worster
On 12/19/08 12:38 PM, Kirk Strauser k...@strauser.com wrote:

 
 I beg to differ.  smartctl -H /dev/ad8 says that it passes its self-
 assessment and doesn't expect the drive to flat-out die any day soon.
 I'd still like to know if the error count increased, or if it started
 to detect imminent failure.

there are plenty of hdd failure modes that smart can't predict. google's
monitoring of over 100,000 hdds over 9 months showed more than a third of
failures had no warning from smart.

http://storagemojo.com/2007/02/19/googles-disk-failure-experience/

so if my data matters, i need a robust hdd failure-tolerant system anyway,
i.e. raid (even if it's just gmirror, which i use for non-critical servers)
plus data snapshots to a remote site.

now, with that in place, what do i do with a smart warning? given that smart
algorithms are also prone to false positives, is there any benefit in
replacing the hdd now rather than waiting for it to fail and replacing it
then? not a great deal in my view.

but perhaps my raid array can't tolerate more than one hdd failure. i'd be
exposed to a second disk failure during the time to repair. if hdd failures
are independent (which i guess might not always be true) this isn't a big
concern. less of a concern than, for example, the chance of raid controller
failure, which i've seen happen. one time when that happened, the controller
corrupted all the disks in the array and when it was replaced rebuild was
impossible.



___
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: Suitability question

2008-12-19 Thread Chad Perrin
On Fri, Dec 19, 2008 at 01:07:23PM +0200, Ott Köstner wrote:
 On Thursday 18 December 2008 11:25:51 pm Patrick Baldwin wrote:
 
  I'm thinking I might be best of trying to built him a really 
  locked-down, high security
  box, almost an Internet appliance.  All he really does is use the Web, 
  and a little
  light word processing.
  
  What do people think of FreeBSD as the base OS for this idea?  
 
 In this case, I would recommend to use PC-BSD.
 http://www.pcbsd.org/
 
 PC-BSD is full FreeBSD 7.1, with nice grapical installer, pre-configured for 
 desktop use. Xorg, KDE, Firefox, Thunderbird, Open Office, flash, etc. -- all 
 will work out of the box...
 
 After installing PC-BSD, you can think of it as a standard FreeBSD -- Upgrade 
 ports, build kernel, etc.

I think PC-BSD is a great recommendation for someone who wants an easy
introduction to FreeBSD on his/her own, but if you want to provide a
locked down system for someone else and that person isn't expected to
learn how to use FreeBSD (i.e., that person doesn't really know how to
use MS Windows, and just clicks on the blue E for Internet access),
you're better off using FreeBSD itself.  PC-BSD installs a whole lot of
stuff that it assumes everybody wants, whereas with FreeBSD you can
pretty much install nothing but the base system then add exactly the
software you want to be present.

Thus, you can much more easily get the system to the point where
everything you want is installed, and *only* what you want, and configure
it all to precise specifications, with a minimum of effort -- using
FreeBSD itself.  With PC-BSD, on the other hand, you won't even know what
all is installed, and will have to spend a lot of time crawling through
the system figuring out what to uninstall.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Edmund Burke: Your representative owes you, not his industry
only, but his judgement; and he betrays, instead of serving you, if he
sacrifices it to your opinion.


pgpjyFrhAF7CB.pgp
Description: PGP signature


Re: Snow in my Server

2008-12-19 Thread Jeff Laine
On Fri, Dec 19, 2008 at 01:59:56PM -0500, Gary Hartl wrote:
 Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
 7-release server.
 
 IT seems to be causeing some http outages.
 
 My FBSD 6-.0 doesn't seem to be affected thou.
 
 
 Any suggestions,
 
 
 Cheers,
 
 Gary 
 
 

Just mv teh snowflakes to /dev/null ^_-


-- 
Best regards,
Jeff

() X-mas ribbon campaign
/\

___
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: Clearing SMART errors I don't care about?

2008-12-19 Thread Wojciech Puchar

failures had no warning from smart.

http://storagemojo.com/2007/02/19/googles-disk-failure-experience/


which means that in 2 cases of 3 you ARE warned.

___
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: Snow in my Server

2008-12-19 Thread Josh Tolbert
On Fri, Dec 19, 2008 at 08:10:51PM +0100, Roger Olofsson wrote:
 
 
 Gary Hartl skrev:
 Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
 7-release server.
 
 IT seems to be causeing some http outages.
 
 My FBSD 6-.0 doesn't seem to be affected thou.
 
 
 Any suggestions,
 
 
 Cheers,
 
 Gary 
 
 
 Locate roof in ports and build roof!
 
 /R

Build a bike shed over the server? :)

Josh
-- 
Josh Tolbert
h...@puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
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: Snow in my Server

2008-12-19 Thread Eitan Adler

 Build a bike shed over the server? :)
make sure its green...
-- 
Eitan Adler
GNU Key fingerprint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1
___
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: Clearing SMART errors I don't care about?

2008-12-19 Thread Tom Worster
On 12/19/08 2:51 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
wrote:

 which means that in 2 cases of 3 you ARE warned.

yes. but what do i do with a smart warning? the google paper indicates that
even they haven't figured it out yet, although they express some hope.

Despite those strong correlations, we Þnd that failure prediction models
based on SMART parameters alone are likely to be severely limited in their
prediction accuracy, given that a large fraction of our failed drives have
shown no SMART error signals whatsoever. This result suggests that SMART
models are more useful in predicting trends for large aggregate populations
than for individual components.

in managing my servers, it's the failure of individual components that
count.

considering also 1) false positives and 2) replacement comes with a finite
chance of causing service outage, it's not clear to me that replacing a disk
on the basis of a smart warning is prudent.

i'm not proposing any firm conclusions should be drawn. i started this by
saying i'm not convinced that smart monitoring is of much value... 


___
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: Is FreeBSD subject to the EAR ?

2008-12-19 Thread cpghost
On Thu, Dec 18, 2008 at 01:55:28PM +0900, kosuke.okis...@toshiba.co.jp wrote:
 Is Free BSD 6.3-release subject to the U.S. Export Administration 
 Regulation ?
 
 If the FreeBSD 6.3-release includes encryption software, it may be subject 
 to the EAR.
 
 Following is extract part of the EAR.
 
 Part 734.3  :  Items subject to the EAR
 
 (b) The following items are not subject to the EAR:
?$B!
?$B!
   (3) Publicly available technology and software, except software 
 controlled for 
EI reasons under ECCN 5D002 on the Commerce Control List and 
   mass market encryption software with symmetric key length exceeding
  64-bits controlled under ECCN 5D992, that:

I am not a lawyer, but I'd strongly advise that you check with one if
you have any doubts. Maybe the FreeBSD Foundation can help providing
contact to a lawyer which is familiar with FreeBSD and US export
regulations?

  http://www.freebsdfoundation.org/

 Best regards,
 
 K.Okisaka
 Exprt Control Department,
 Toshiba Medical Systems Corporation

Kind regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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


usb-stick accessible, but doesn't boot

2008-12-19 Thread clemens fischer
Hi,

My USB-stick (trekstore, identifies as USB DISK SMI Corporation) is
sliced using sade(8), labelled using bsdlabel, accessible using mount
/dev/da0s1a /mnt/usb, it has kernel and world, but doesn't boot.

The kernel has the following USB modules:

  # USB core support
  device  usb2_core
  #
  # USB controller support
  device  usb2_controller
  device  usb2_controller_ehci
  device  usb2_controller_ohci
  device  usb2_controller_uhci
  #
  # USB mass storage support
  device  usb2_storage
  device  usb2_storage_mass
  #
  # USB input device support
  device  usb2_input
  device  usb2_input_hid
  device  usb2_input_kbd
  device  usb2_input_ms

but it also has:

  # URL:#USB support some SCSI/USB support needed for system-on-schtick
  #
  nodevice uhci# UHCI PCI-USB interface
  nodevice ohci# OHCI PCI-USB interface
  nodevice ehci# EHCI PCI-USB interface (USB 2.0)
  nodevice usb # USB Bus (required)
  #
  # URL:#SCSI peripherals some SCSI/USB support needed for system-on-schtick
  nodevice udbp # USB Double Bulk Pipe devices
  nodevice ugen # Generic
  nodevice umass# usb-disks, readers
  nodevice uhid # Human Interface Devices
  nodevice ukbd # Keyboard
  nodevice ulpt # Printer
  nodevice ums  # Mouse
  nodevice ural # Ralink Technology RT2500USB wireless NICs
  nodevice rum  # Ralink Technology RT2501USB wireless NICs
  nodevice zyd  # ZyDAS zb1211/zb1211b wireless NICs
  nodevice urio # Diamond Rio 500 MP3 player
  nodevice uscanner # Scanners

When booting, the bootcode wants me to manually type in the root device
to mount from and suggests the default in etc/fstab, but when I type
ufs:/dev/da0s1a, it won't sing.  When I type ?, the USB-stick is
_not_ among the devices managed by GEOM.  Re. GEOM, I only have:

  nooptions GEOM_LABEL  # Provides labelization

in the kernel config.

I want it to boot, what should I do?

-c

___
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: Snow in my Server

2008-12-19 Thread Polytropon
On Fri, 19 Dec 2008 13:59:56 -0500, Gary Hartl gha...@gmail.com wrote:
 Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
 7-release server.

Didn't you install the NOSNOW.SYS driver properly? :-)


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Snow in my Server

2008-12-19 Thread Thomas Abthorpe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On December 19, 2008 01:59:56 pm Gary Hartl wrote:
 Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
 7-release server.

 IT seems to be causeing some http outages.

 My FBSD 6-.0 doesn't seem to be affected thou.


 Any suggestions,

I am fron Northwestern Ontario, and we received approximately 50 cm of snow, 
my best advice would be to store your servers away from all elements of 
nature, preferably in a climate controlled room :)

- -- 
Thomas Abthorpe | FreeBSD Committer
tabtho...@freebsd.org   | http://people.freebsd.org/~tabthorpe
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAklMEvAACgkQ5Gm/jNBp8qBk5gCeMtBkkVO3UdLdHT8bitdCrhDI
P9MAn3tCWddDXdTz3vNSLvjkhf/qA2fp
=oDjD
-END PGP SIGNATURE-
___
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: Copying system/ports configuration?

2008-12-19 Thread Doug Barton
Bernard Dugas wrote:
 On Tue, 16 Dec 2008 09:26:05 -0800 (PST), Dr. Jennifer Nussbaum
 bg271828 at yahoo.com wrote:
 I dont quickly see a free tool to do this. Maybe its easier
 to do this from scratch
 
 I just found last week ports-mngnt/portmaster that can help you to do
 that, and i have suggested portmaster author to add an -export option
 readable to built new ports on another computer.
 
 May be an -export-packages option would be nice also ?

The process described in the portmaster man page is not quite as
simple as you seem to be asking for, but it is designed to be
thorough, and to work with a wide variety of configurations. It has
also been tested extensively.


hope this helps,

Doug

-- 

This .signature sanitized for your protection

___
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: Snow in my Server

2008-12-19 Thread freebsd

Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
7-release server.

IT seems to be causeing some http outages.

My FBSD 6-.0 doesn't seem to be affected thou.


You probably can't use a standard 7-release.
You have to build a custom kernel with LATITUDE set.
It causes igloo to get built and installed for environments above 46, 
should work in both hemispheres.


We don't use igloo but do turn on the snow-fence option for ipfw.
Keeps most of that kind of unwanted traffic out.

BTW, make sure any remote reboots / changes are well tested if you're 
running igloo.  Sometimes the whole thing gets buried and it's days before 
you can get physical access to do any updates / maintenance.


Gary
___
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 no dvd isos?

2008-12-19 Thread Alan Batie
Why is freebsd still only available on cdrom images?  Particularly with
the way the packages make wear your arm out swapping them back and
forth, it would be really nice to have the entire distribution in one image.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Vetting motherboard Gigabyte GA-MA78G-DS3H for FreeBSD 7.0-RELEASE

2008-12-19 Thread Frank Shute
On Thu, Dec 18, 2008 at 09:15:33AM -0800, ThinkDifferently wrote:

 
 I'm currently looking for an ATX motherboard that supports the AM2+ socket,
 Phenom Quad-Core processor, 4 DDR2 RAM slots (800 MHz is fine), 6 SATA ports
 with RAID, and Gigabit LAN.  Onboard VGA would be nice.
 
 It needs to work well with FreeBSD 7.0-RELEASE, using a 2-disk SATA RAID1.
 
 I'm currently looking at the Gigabyte GA-MA78G-DS3H.
 
 Has anyone successfully operated 7.0 on this board?
 Any booting issues?  Did you need to modify the ISO to get it to boot (if so
 how)?
 Did RAID work?  Did it require a special driver to be loaded (if so how)?
 
 Do any other motherboards fit the bill, given the specifications I give
 above?
 
 I recently got a black eye -( with the MSI K9N2G Neo-FD, using the GeForce
 8200 (MCP78) chipset.  FreeBSD 7.0-RELEASE and CentOS 5.2 wouldn't even boot
 on it, no matter what the BIOS config was.  Also, Vista wouldn't even
 recognize the SATA disks, even if the SATA ports were in IDE, RAID or AHCI
 modes (it requires a driver, even if you aren't doing RAID).
 -- 

I haven't used that MB but I am using a Gigabyte GA-P35-DS3L (core2)
so I'll offer some general advice since no one else seems to want to!
;)

I've had good luck with anything by Asus and Gigabyte. I tend to avoid
boards with bleeding edge hardware/features as these will not have
received so much testing (and may not even be supported) on FreeBSD.
This in practice means get a board that's been on sale for a bit.

None of my machines are configured for RAID but as a general point,
most on this list use software RAID in the form of geom/geli/gmirror
etc.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom.html

The consensus seems to be that it's just as good as hardware
raid performance-wise. There was a thread on this list about it a few
months ago.

I'd use FreeBSD 7.1-RC1 if I was building a FreeBSD machine today for
production purposes as it will be more uptodate with respect drivers
for newer hardware and most bugs will have been shaken out this close
to release.

My compatibilty check for hardware usually consists of going to Google
and punching in FreeBSD and the name of the hardware. This usually
brings up hits which indicate the level of support.

HTH.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.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: Snow in my Server

2008-12-19 Thread Michael Lednev

Gary Hartl пишет:

Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
7-release server.

IT seems to be causeing some http outages.

My FBSD 6-.0 doesn't seem to be affected thou.



Please, send some snow to Russia as we have none :(

___
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: Snow in my Server

2008-12-19 Thread Al Plant

Michael Lednev wrote:

Gary Hartl пишет:

Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
7-release server.

IT seems to be causeing some http outages.

My FBSD 6-.0 doesn't seem to be affected thou.



Please, send some snow to Russia as we have none :(

___
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



Aloha,

I used to live in Southern Ontario. I saw the folly of my ways about 25 
years ago and 3 FreeBSD servers live in Hawaii along with me.


Happy Holidays...

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: Why no dvd isos?

2008-12-19 Thread mike
On Fri, 19 Dec 2008 16:22:54 -0800, in sentex.lists.freebsd.questions
you wrote:

Why is freebsd still only available on cdrom images?  


There are DVD versions available

eg

ftp://ftp.freebsd.org//pub/FreeBSD/releases/i386/ISO-IMAGES/7.1/7.1-RC1-i386-dvd1.iso.gz

---Mike
___
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


nessus report

2008-12-19 Thread Richard Yang
hi,
when i ran nessus against my bsd box, nessus can detect the remote host is
up.
i don't understand how nessus can detect it...
does anyone know how it is done?
thanx

rich
___
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: nessus report

2008-12-19 Thread michael



Richard Yang wrote:

hi,
when i ran nessus against my bsd box, nessus can detect the remote host is
up.
i don't understand how nessus can detect it...
does anyone know how it is done?
thanx

rich
  

uh, maybe because it responded?

___
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-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: nessus report

2008-12-19 Thread Richard Yang
yes,but i dpn't know how...
it looks to me that all ports are closed

On Fri, Dec 19, 2008 at 9:38 PM, michael michael.copel...@gmail.com wrote:



 Richard Yang wrote:

 hi,
 when i ran nessus against my bsd box, nessus can detect the remote host
 is
 up.
 i don't understand how nessus can detect it...
 does anyone know how it is done?
 thanx

 rich


 uh, maybe because it responded?

 ___
 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





-- 

Best Regards

Richard Yang
richardy...@richardyang.net
kusanagiy...@gmail.com
___
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: nessus report

2008-12-19 Thread Jeff Laine
On Fri, Dec 19, 2008 at 09:32:51PM -0800, Richard Yang wrote:
 hi,
 when i ran nessus against my bsd box, nessus can detect the remote host is
 up.
 i don't understand how nessus can detect it...
 does anyone know how it is done?
 thanx
 
 rich

I can't tell about nessus but nmap does so after discovering any open ports, 
TCP RST responses from closed ports or ICMP responses from your host. 
I believe it's similar with the nessuss.


-- 
Best regards,
Jeff

() X-mas ribbon campaign
/\

___
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


general question about setting up gateway

2008-12-19 Thread Richard Yang
hi,
i am trying to use freebsd as my home network gateway to the internet.
any good reference i should know besides what's in the handbook?
thanks

rich
___
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: nessus report

2008-12-19 Thread Jeff Laine
On Fri, Dec 19, 2008 at 09:41:46PM -0800, Richard Yang wrote:
 yes,but i dpn't know how...
 it looks to me that all ports are closed
 
 On Fri, Dec 19, 2008 at 9:38 PM, michael michael.copel...@gmail.com wrote:
 
 
 
  Richard Yang wrote:
 
  hi,
  when i ran nessus against my bsd box, nessus can detect the remote host
  is
  up.
  i don't understand how nessus can detect it...
  does anyone know how it is done?
  thanx
 
  rich
 
 
  uh, maybe because it responded?
 

Check your firewall settings and run tcpdump  to be sure your host not sending 
any replies after scan attempt.

-- 
Best regards,
Jeff

() X-mas ribbon campaign
/\

___
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: nessus report

2008-12-19 Thread Richard Yang
i just used tcpdump.it doesn't capture anything package

On Fri, Dec 19, 2008 at 9:49 PM, Jeff Laine wtf.jla...@gmail.com wrote:

 On Fri, Dec 19, 2008 at 09:41:46PM -0800, Richard Yang wrote:
  yes,but i dpn't know how...
  it looks to me that all ports are closed
 
  On Fri, Dec 19, 2008 at 9:38 PM, michael michael.copel...@gmail.com
 wrote:
 
  
  
   Richard Yang wrote:
  
   hi,
   when i ran nessus against my bsd box, nessus can detect the remote
 host
   is
   up.
   i don't understand how nessus can detect it...
   does anyone know how it is done?
   thanx
  
   rich
  
  
   uh, maybe because it responded?
  

 Check your firewall settings and run tcpdump  to be sure your host not
 sending
 any replies after scan attempt.

 --
 Best regards,
 Jeff

 () X-mas ribbon campaign
 /\




-- 

Best Regards

Richard Yang
richardy...@richardyang.net
kusanagiy...@gmail.com
___
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: nessus report

2008-12-19 Thread Richard Yang
i havent tried nmap yet, but you said it also detected the remote, though no
port is open?

On Fri, Dec 19, 2008 at 9:42 PM, Jeff Laine wtf.jla...@gmail.com wrote:

 On Fri, Dec 19, 2008 at 09:32:51PM -0800, Richard Yang wrote:
  hi,
  when i ran nessus against my bsd box, nessus can detect the remote host
 is
  up.
  i don't understand how nessus can detect it...
  does anyone know how it is done?
  thanx
 
  rich

 I can't tell about nessus but nmap does so after discovering any open
 ports,
 TCP RST responses from closed ports or ICMP responses from your host.
 I believe it's similar with the nessuss.


 --
 Best regards,
 Jeff

 () X-mas ribbon campaign
 /\




-- 

Best Regards

Richard Yang
richardy...@richardyang.net
kusanagiy...@gmail.com
___
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: Why no dvd isos?

2008-12-19 Thread Alan Batie

m...@sentex.net wrote:


There are DVD versions available
ftp://ftp.freebsd.org//pub/FreeBSD/releases/i386/ISO-IMAGES/7.1/7.1-RC1-i386-dvd1.iso.gz


That's the only version that seems to, but thanks!  It looks like 
they're coming...


smime.p7s
Description: S/MIME Cryptographic Signature


Re: nessus report

2008-12-19 Thread Jonathan Chen
On Fri, Dec 19, 2008 at 09:57:09PM -0800, Richard Yang wrote:
 i havent tried nmap yet, but you said it also detected the remote, though no
 port is open?

ICMP doesn't require any open ports.
-- 
Jonathan Chen j...@chen.org.nz
--
  Opportunities are seldom labeled
___
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: nessus report

2008-12-19 Thread Richard Yang
i ran a tcpdump.bsd box is responding to arp.
i guess this is fundamental, and should not be disabled
thanx guys

rich

On Fri, Dec 19, 2008 at 9:32 PM, Richard Yang kusanagiy...@gmail.comwrote:

 hi,
 when i ran nessus against my bsd box, nessus can detect the remote host is
 up.
 i don't understand how nessus can detect it...
 does anyone know how it is done?
 thanx

 rich




-- 

Best Regards

Richard Yang
richardy...@richardyang.net
kusanagiy...@gmail.com
___
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: general question about setting up gateway

2008-12-19 Thread Fbsd1

Richard Yang wrote:

hi,
i am trying to use freebsd as my home network gateway to the internet.
any good reference i should know besides what's in the handbook?
thanks

rich
___
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





The Freebsd Install guide   www.a1poweruser.com


___
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