Re: newfs_msdos -B

2007-08-16 Thread Victor Sudakov
Nikola Lecic wrote:
  
  I need to create a bootable MS-DOS slice on a HDD.
  Where can I obtain a DOS VBR for newfs_msdos -B ?
 
 Hello Victor,
 
 On your place I'll just create msdos partition and install FreeDOS
 (http://www.freedos.org/) there. (Actually I did use FreeDOS once to
 run some ancient programs of mine, but life is easier with
 emulators/dosbox).
 
 If you need a bootloader there, then
 
   http://mbrbm.sourceforge.net/
 
 should work.

I am quite happy with the FreeBSD bootmanager (/boot/boot0).

 
 However, if you need exactly m$'s dos, it's logical that you must
 borrow from there (from existing m$-dos or window$-9*). A quick googling
 shows that on
 
   http://mail-index.netbsd.org/tech-userlevel/2004/03/07/.html
 
 you can read how to borrow and how much. :)
 
I got the idea. Thank you. For FreeBSD, it should be like 

% dd if=/dev/ad0s1 of=/tmp/dos_fat16.dd bs=512 count=1
% dd if=/dev/ad0s1 of=/tmp/dos_fat32.dd bs=512 count=3

BTW about FreeDOS: how many sectors for its bootblock must I copy?
I did not know that fat16 and fat32 VBRs had different size (1 sector
vs 3 sectors).

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Local domain with Bind

2007-08-16 Thread आशीष शुक्ल Ashish Shukla
,--[ On Thu, Aug 16, 2007 at 12:19:34AM +0200, Nicholas Wieland wrote:
| Il giorno 15/ago/07, alle ore 15:23, Derek Ragona ha scritto:
| 
| I don't see anything in the bind configuration file either, AND it  
| all works on the DNS server and your mac so we know that the BIND  
| configuration is fine.
| 
| Check on the .3 server /etc/nsswitch.conf
| 
| be sure you have a line like:
| hosts: files dns
| 
| in this file.
| 
| If that doesn't fix it, check your gateway setting, netmask, and  
| other settings on your ethernet interface.
| 
| I solved. I just had to add search subbacultcha.local to the .3  
| resolv.conf ... No clue why it is needed.

.local is a TLD used in mDNS. For more information, visit following URL:

.local - Wikipedia
http://en.wikipedia.org/wiki/.local

| Thank you very much for your help and your suggestions.
| 
|   ngw
| 
| -- 
| Nicholas Wieland
| [EMAIL PROTECTED]
| 
| 
| 
| ___
| freebsd-questions@freebsd.org mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to [EMAIL PROTECTED]

Ashish Shukla
-- 
Ashish Shukla Wah Java !!
आशीष शुक्ल

weblog: http://wahjava.wordpress.com/

  ,= ,-_-. =.  | The  desire  to  be  rewarded  for one's  creativity  does |
 ((_/)o o(\_)) | not  justify depriving  the world  in  general of  all  or |
  `-'(. .)`-'  | part  of that  creativity. |
  \_/  |- Richard M. Stallman   |



pgp7BDZHtgNs4.pgp
Description: PGP signature


Re: newfs_msdos -B

2007-08-16 Thread Nikola Lecic
On Thu, 16 Aug 2007 13:05:11 +0700
Victor Sudakov [EMAIL PROTECTED] wrote:

 Nikola Lecic wrote:
[...]
  However, if you need exactly m$'s dos, it's logical that you must
  borrow from there (from existing m$-dos or window$-9*). A quick
  googling shows that on
  
http://mail-index.netbsd.org/tech-userlevel/2004/03/07/.html
  
  you can read how to borrow and how much. :)
  
 I got the idea. Thank you. For FreeBSD, it should be like 
 
 % dd if=/dev/ad0s1 of=/tmp/dos_fat16.dd bs=512 count=1
 % dd if=/dev/ad0s1 of=/tmp/dos_fat32.dd bs=512 count=3
 
 BTW about FreeDOS: how many sectors for its bootblock must I copy?
 I did not know that fat16 and fat32 VBRs had different size (1 sector
 vs 3 sectors).

Hmm, I'd try with the same numbers. Since mbrbm works equally with both
m$-dos and FreeDOS, I guess that beginning sectors are composed the
same way.

Apart from install CDs, the only bootable image that FreeDOS-1.0
actually offers for download is 1.4M fdboot.img:

  http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/

Otherwise, I don't see any other way to obtain sectors of the full
system but to actually install FreeDOS somewhere (on virtual machine or
on a real slice).

Nikola Lečić
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Convince me, please!

2007-08-16 Thread David Southwell
On Wednesday 15 August 2007 12:39:17 Giorgos Keramidas wrote:
 One of the best emails I've seen as a reply to a user coming from the
 Windows world.

 Many thanks for taking the time to write all this :-)

 - Giorgos

 On 2007-08-15 03:14, David Southwell [EMAIL PROTECTED] wrote:
  I see where both sides in this argument are coming from.. basically a
  lack of understanding of the others point of view. As a user of
  multiple operating systems..Freebsd, Windows 98, 2000, XP and XP 64,
  Linux and apple I thought i might throw in a remark or two which is
  intended to help a newcomer to a freebsd world.
 
  First lets think of the MS windows user. As a newcomer to a unix OS,
  such as freebsd, you are faced with two very large  sets of challenges
  or, as I would like you to think of it, educational opportunities.
 
  Because the vendor of the operating system is also the vendor of major
  applications, including its most commonly used browser, office
  applicatiions and compiler systems non-technically minded users do not
  easily have a clear grasp of the distinction between the  roles of  an
  OS and the role of applications. To use any Unix system effectively a
  clear and reasonably detailed understanding of the way applications
  interact with the operating system is essential.
 
  For its own commercial reasons Microoft are keen to blur that
  distinction in the minds of its users to maintain a false notion that
  only MS windows can fulfill its user's needs.
 
  Secondly because  MS windows operates in a commercial environment it
  fosters a dependency culture in which you pay for your OS, you pay for
  your applications and in return you EXPECT a level of support and
  therefore users are not encouraged to extend their capabilities beyond
  understanding the applications they use.
 
  In the freebsd world most applications and utilities  are there for
  installing without charge. The users include people who develop and
  everyone partakes in a foem of voluntary mutual support. It is a world
  in which expectation of support is anathema and in which a combination
  of striving for greater personal comeptency and voluntary sharing of
  knowledge and responsibility is the dominant ethos.
 
  So if you plan a move to the unix be ready to learn to build a greater
  understanding of how the operating system works, how applications are
  installed and maintained and above all to realize your basic needs
  will not be fulfilled in the same way as they are fulfilled in MS
  windows and that that you will need to put in a lot of effort to
  understand how to benefit from the much greater opportunities provided
  by OS's such as Freebsd.
 
  So your first first set of educational opportunities are to learn how
  reconstruct your expectations and to construct a set of relationships
  that will work for you in a unix world.
 
  The second set of educational opportunities are to study the
  practicalities.  You need to decide the basic things you need to get
  on board freebsd. You need a browser.. that is no problem there are
  many to choose from .. you need office tools well there is a complete
  office suite. Whatever you need there will be a tool for you and the
  choices are a rich but usually free!!. The draw back is being faced
  with the challenge of learning how to choose.
 
  That is daunting challenge and those of us who are familiar with unix
  system, and accustomed to communicating with other freebsd users, are
  often guilty of failing to understand that people who come from an MS
  Windows find the terse ways in which we tend to communicate to be
  abrasive.
 
  My suggestion to you would be to proceed without risk. Dabble with
  freebsd alongside your MSWindows system until you reach the point at
  which you are ready or not (as the case may be) to change over
  completely. You do not need the latest hardware to get started.
  Freebsd is much less bloated and, in that respect, more efficient than
  MS windows. Follow the instructions and play  with the system and see
  where you want to go with it. Like countries all IT systems and
  applications have their own language.  MS windows has its own language
  !! Every territory has a language needed to discuss its inhabitants
  understandings. If you use the pejorative term jargon to describe a
  language you will need to learn you will never learn to adjust. I
  recomend you treat this adjustment process is an educational
  opportunity.
 
  If you are not willing to learn the words that describe how a world
  that is new to you functions then, like a immigrant in a foreign land,
  you will not feel you understand either the practical systems or the
  cultiure of your environment.
 
  You will not find anyone here wanting to sell you the system!! The
  unix world does not work like that. Those of us who have used unix
  since before MSDos was developed do not easily realize just how
  difficult the adjustment can be for those whose experience 

Re: newfs_msdos -B

2007-08-16 Thread Victor Sudakov
Nikola Lecic wrote:

[dd]

 
 Apart from install CDs, the only bootable image that FreeDOS-1.0
 actually offers for download is 1.4M fdboot.img:
 
   http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/
 
 Otherwise, I don't see any other way to obtain sectors of the full
 system but to actually install FreeDOS somewhere (on virtual machine or
 on a real slice).

I think if we have a floppy image, we can obtain the VBR with
something like 

dd if=fdboot.img bs=512 count=1 

i.e. the very first sector of the floppy.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qemu and usb

2007-08-16 Thread Andriy Gapon
on 15/08/2007 20:06 Juergen Lock said the following:
 On Wed, Aug 15, 2007 at 12:57:36PM +0300, Andriy Gapon wrote:
 Is it possible on FreeBSD to provide access to host USB devices for qemu
 guests ?

 I tried playing with -usb and -usbdevice and to follow some linux
 how-to's but with no luck.
 
 Does the following snippet from the ports' pkg-message help?
 
 [...]
 - if you want to use usb devices connected to the host in the guest
 (usb_add host:... monitor command) you need to make sure the host isn't
 claiming them, e.g. for umass devices (like memory sticks or external
 harddrives) make sure umass isn't in the kernel (you can then still load it
 as a kld when needed), also unless you are running qemu as root you then
 need to fix permissions for /dev/ugen* device nodes: if you are on 5.x or
 later (devfs) put a rule in /etc/devfs.rules, activate it in /etc/rc.conf
 and run /etc/rc.d/devfs restart.  example devfs.rules:
   [ugen_ruleset=20]
   add path 'ugen*' mode 660 group operator
 corresponding rc.conf line:
   devfs_system_ruleset=ugen_ruleset
 - still usb: since the hub is no longer attached to the uchi controller
 and the wakeup mechanism, resume interrupt is not implemented yet linux
 guests will suspend the bus, i.e. they wont see devices usb_add'ed after
 its (linux') uhci module got loaded.  workaround: either add devices
 before linux loads the module or rmmod and modprobe it afterwards.
 [...]
 
  With this I was able to mount an usb cardreader from the guest.
 (although that is pretty slow...)

Juergen,

thank you very much! While I unloaded umass I totally forgot to load ugen.


-- 
Andriy Gapon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror woes on 6.2-S, Aug 1

2007-08-16 Thread Pawel Jakub Dawidek
On Wed, Aug 15, 2007 at 02:57:19PM -0700, Kelsey Cummings wrote:
 FreeBSD meno 6.2-STABLE FreeBSD 6.2-STABLE #3: Wed Aug  1
 08:21:29 PDT 2007 root@:/usr/obj/usr/src/sys/SMP  i386
 
 I just swapped a gmirror pair of disks into a new box and have run into a 
 problem that I can't seem to figure out.  Upon boot it reports the
 following and doesn't appear to see ad10, the other disk in the mirror set.
 
 GEOM_MIRROR: Device gm0 created (id=2427626556).
 GEOM_MIRROR: Device gm0: provider ad12 detected.
 GEOM_MIRROR: Force device gm0 start due to timeout.
 GEOM_MIRROR: Device gm0: provider ad12 activated.
 GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
 
 However, ad10 was seen at boot and is currently attached.
 
 meno# atacontrol list | grep ad
 Master: ad10 WDC WD3000JD-00KLB0/08.05J08 Serial ATA v1.0
 Master: ad12 WDC WD3000JD-00KLB0/08.05J08 Serial ATA v1.0
 
 So:
 
 meno# gmirror forget gm0
 meno# gmirror insert gm0 ad10
 meno# gmirror status
   NameStatus  Components
 mirror/gm0  DEGRADED  ad12
   ad10 (0%)
 ...
 
 Which compelete and everything appears to work fine, until I reboot and
 repeat the cycle.  Has anyone run into anything similar, if so, what is
 the fix?  

Could I add:

kern.geom.mirror.debug=2

to your /boot/loader.conf and reboot? It should print provider it
tastes, this will show us if ad10 is given for tasting at all.

-- 
Pawel Jakub Dawidek   http://www.wheel.pl
[EMAIL PROTECTED]   http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!


pgpsqXgfNvWkl.pgp
Description: PGP signature


Dump + GZIP

2007-08-16 Thread Grant Peel
Hi all,

Can I safely pump a filesystem dump through gzip during the dumping process?, 
or di I need to create the dump first then gzip it after?

Does zipping the dumps cause any headaches at restore time?

(I currently dump 5 servers worth of data to a raid 5 array, and am about 20% 
away from running out of disk space).

Does gzipping a file give a decent compression ratio?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dump + GZIP

2007-08-16 Thread John Nielsen
On Thursday 16 August 2007, Grant Peel wrote:
 Can I safely pump a filesystem dump through gzip during the dumping
 process?, or di I need to create the dump first then gzip it after?

I do it all the time: dump -f - ... | gzip  date_filesystem.dump.gz
or with bzip2: dump -f - ... | bzip2  date_filesystem.dump.bz2

 Does zipping the dumps cause any headaches at restore time?

Nope: bzcat date_filesystem.dump.bz2 | restore ... -f -

 (I currently dump 5 servers worth of data to a raid 5 array, and am about
 20% away from running out of disk space).

 Does gzipping a file give a decent compression ratio?

Depends on what you're compressing, but generally yes. bzip2 generally 
compresses better but takes a lot more time, CPU and memory at compression 
time.

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dump + GZIP

2007-08-16 Thread Federico Lorenzi
On 8/16/07, John Nielsen [EMAIL PROTECTED] wrote:
 On Thursday 16 August 2007, Grant Peel wrote:
  Can I safely pump a filesystem dump through gzip during the dumping
  process?, or di I need to create the dump first then gzip it after?

 I do it all the time: dump -f - ... | gzip  date_filesystem.dump.gz
 or with bzip2: dump -f - ... | bzip2  date_filesystem.dump.bz2

  Does zipping the dumps cause any headaches at restore time?

 Nope: bzcat date_filesystem.dump.bz2 | restore ... -f -

  (I currently dump 5 servers worth of data to a raid 5 array, and am about
  20% away from running out of disk space).
 
  Does gzipping a file give a decent compression ratio?

 Depends on what you're compressing, but generally yes. bzip2 generally
 compresses better but takes a lot more time, CPU and memory at compression
 time.

Try give LZMA a shot. The last time I checked, it was a lot faster then bzip2
at decompression and made smaller files too. For speed however, gzip would
be the best choice.

Federico
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


beryl on freebsd

2007-08-16 Thread Dan Sikorsky

Is this guide OK?
even if i dont have an nvidia chipset?
http://www.bsdforums.org/forums/archive/index.php/t-47986.html
--

Dan Sikorsky
*Systems Admin/GoldMine Admin*
RegionalHelpWanted.com,Inc.  Cupid.com, Inc.
845-471-5200 x220
One Civic Center Plaza,
Suite 506
Poughkeepsie, NY 12601
/http://RegionalHelpWanted.com 
http://Cupid.com

http://PurplePages.com/

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


Re: beryl on freebsd

2007-08-16 Thread Reid Linnemann

Written by Dan Sikorsky on 08/16/07 09:40

Is this guide OK?
even if i dont have an nvidia chipset?
http://www.bsdforums.org/forums/archive/index.php/t-47986.html


Well, you don't need to use git to fetch the xorg code, xorg 7.2 is now 
in ports. Since you won't be using the nvidia driver, you don't need 
compat_5x enabled. I didn't need to enable any options in the Screen 
section with my i845, but I did need options composite and RENDER 
enabled in the Extensions section.

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


Re: OT:: anybody on-list use PC-BSD? or bSD-PC?

2007-08-16 Thread beni
On Friday 10 August 2007 01:16:48 Gary Kline wrote:
   Guys,

   A couple years ago I got a hold of Ubuntu and until recent months
   thought it was the best thing since [[ fill-in ]].
   Long-story-shot, I am wedged at 6.06 (a Long Term Support)
   version, and because the *next* LTS isn't due until 2009
   and *mostly* because the Linux filesystem __ate__ several
   files (at least one binary; plus several gifs/jpgs/whatever),
   I'm thinking of switching back.  Our 6.2-RELEASE really is the
   best release I've seen, so I may just buy 6.3 or 7.1 or
   whatever.  The other option is to buy or download the pee-cee
   version (1.4 or later) of BSD.  I want something with audio and
   video apps that JustWork{tm}; something that's mostly for fun.
   Altho, as noted above, my installation of 6.2 comes pretty
   close.  Has anybody on this list used the PC version of BSD?
   What about a desktop-BSD??

   suggestion? advice?


   gary

If you want to stick with ubuntu, try Ubuntu Studio 
(http://www.ubuntustudio.org) or have a look at the article about it at 
http://www.howtoforge.com/the_perfect_desktop_ubuntustudio7.04.

I'm using DesktopBSD (http://www.desktopbsd.net/) for the moment (due to 
serious Xorg upgrade problems...). Theire lastest version 1.6RC3 comes with 
Xorg 7.2 pre-installed, so thats already a headache less ;-) As for the rest, 
it is a 6.2-Stable.

They have a great Package Manager who takes care of all dependencies and other 
stuff. Which means that you can use the ports (or packages) as usualy. 

I like it so far :-)
-- 
Beni.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mysqldump/gzip shell scripting question...

2007-08-16 Thread Eric Crist

Hey all,

First off, I don't care if you send example in perl, php, or sh, but  
we're not a python shop here, so those recommendation will not be  
useful...


I'm trying to write a shell script that scans our databases for  
tables starting with archive_ which are created by other scripts/ 
departments, etc.  This script needs to perform a mysqldump of that  
table, and then gzip it.  It's MUCH quick to pipe directly to gzip,  
than perform the dump, then gzip that.  The problem is, this table to  
filesystem dump is also going to drop those archive_* tables.  We  
would like to know that the mysqldump worked before we do this.  The  
problem we're having, as I'm sure others have run into (at least  
according to Google), is that a command such as the following leaves  
no apparent easy way to capture the exit status of the mysqldump  
command:


# mysqldump -u $USER -p$PASS $DBHOST $DATABASE $TABLE | gzip   
$TABLE.sql.gz


Anyone have any good recommendations?

Thanks!

Eric Crist
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysqldump/gzip shell scripting question...

2007-08-16 Thread Garrett Cooper

Eric Crist wrote:

Hey all,

First off, I don't care if you send example in perl, php, or sh, but 
we're not a python shop here, so those recommendation will not be 
useful...


I'm trying to write a shell script that scans our databases for tables 
starting with archive_ which are created by other scripts/departments, 
etc.  This script needs to perform a mysqldump of that table, and then 
gzip it.  It's MUCH quick to pipe directly to gzip, than perform the 
dump, then gzip that.  The problem is, this table to filesystem dump 
is also going to drop those archive_* tables.  We would like to know 
that the mysqldump worked before we do this.  The problem we're 
having, as I'm sure others have run into (at least according to 
Google), is that a command such as the following leaves no apparent 
easy way to capture the exit status of the mysqldump command:


# mysqldump -u $USER -p$PASS $DBHOST $DATABASE $TABLE | gzip  
$TABLE.sql.gz


Anyone have any good recommendations?

Thanks!

Eric Crist


   perldoc DBI if you want to access the database info directly from 
Perl (as opposed to mysqldump). Honestly, you're going to have to dig 
through some information in the API, and fish out the MySQL interfaces, 
but Perl or some other structured query API is probably a decent bet for 
what you want to do (unless you have a lot of data, in which I suggest 
using C equivalent methods or maybe Python if you want to stick with a 
scripting language), because it provides you with information and return 
statuses that straight mysqldump may not provide.
   Plus with Perl (at least) you could pipe file reading through an 
alternate method to ensure that things passed by searching the output 
for particular keys, etc.
   PHP also supports DB access methods though. Bourne/tcsh shell 
equivalent solutions would be kludgy and ill built for what you're 
trying to accomplish IMO.

Cheers,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dump + GZIP

2007-08-16 Thread Roland Smith
On Thu, Aug 16, 2007 at 09:10:12AM -0400, John Nielsen wrote:
 On Thursday 16 August 2007, Grant Peel wrote:
  Can I safely pump a filesystem dump through gzip during the dumping
  process?, or di I need to create the dump first then gzip it after?
 
 I do it all the time: dump -f - ... | gzip  date_filesystem.dump.gz
 or with bzip2: dump -f - ... | bzip2  date_filesystem.dump.bz2

Unless you're dumping an unmounted filesystem, add '-L' and '-h 0'. The
first is for dumping a snapshot of a live filesystem, and the second one
is to honor the nodump flag for level 0 dumps.
 
  Does zipping the dumps cause any headaches at restore time?
 
 Nope: bzcat date_filesystem.dump.bz2 | restore ... -f -
 
  (I currently dump 5 servers worth of data to a raid 5 array, and am about
  20% away from running out of disk space).
 
  Does gzipping a file give a decent compression ratio?
 
 Depends on what you're compressing, but generally yes. bzip2 generally 
 compresses better but takes a lot more time, CPU and memory at compression 
 time.

Some time ago I did some tests. Compression with gzip saved 50-60% on
dumps of /, /usr and /var. However, the savings for my /home partition
which contains a lot of digital camera pictures in JPEG format was only
11%.

While bzip2 did 8-10% better (except on /home), it takes a _lot_
longer. So at first I decided to stick with gzip.

Later I decided to skip compression altogether. If the backup medium
becomes corrupted, you might still be able to restore the dump for a
large part. Corruption in a compressed file makes the rest of the file
unreadable. 

If you don't compress the dumps, it's easy to split them in multiple DVD
sized parts. The size of a dump is given in kiB, and it must be a
multiple of the block size, which defaults to 10 kiB. A DVD is 4.7 GB =
(4.7e9/1024//10)*10 = 4589840 kiB. The following command creates
a dump of /home in multiple DVD-sized chunks;

  dump -0 -B 4589840 -C 8 -P 'cat - home-vol${DUMP_VOLUME}.dump' -h 0 -L /home

You can burn these chunks to DVDs with growisofs, e.g:

  growisofs -dvd-compat -Z /dev/dvd=home-vol0.dump
  growisofs -dvd-compat -Z /dev/dvd=home-vol1.dump
  ...

In this case you do need temporary storage for the dump files. You could
conveivably modify the argument of -P to burn directly with growisofs.

One caution for backups though. Use only programs that are available on
a install CD or in /rescue. Your restore process should not depend on a
port that you need to install first!

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpuQ7r99LyUq.pgp
Description: PGP signature


apache problems

2007-08-16 Thread Reinhold
Hi

I am having some problems with apache22 on my box. What happens is, when
I'm viewing loads and loads of pages, apache will stop responding untill I
restart it again. This normally happens when the free memory shown by top
gets to about +- 100MB.

Here is my dmesg output:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
module_register: module accf_data already exists!
Module accf_data failed to register: 17
module_register: module accf_http already exists!
Module accf_http failed to register: 17
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x20f32  Stepping = 2

Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x1SSE3
  AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!
  AMD Features2=0x3LAHF,CMP
  Cores per package: 2
real memory  = 2147418112 (2047 MB)
avail memory = 2065465344 (1969 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
0x807120c0) error 17
module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
0x80713720) error 17
acpi0: Nvidia AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21 at
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff irq 22
at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
atapci0: nVidia nForce CK804 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
atapci2: nVidia nForce CK804 SATA300 controller port
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
ata4: ATA channel 0 on atapci2
ata5: ATA channel 1 on atapci2
pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
pci1: ACPI PCI bus on pcib1
rl0: RealTek 8139 10/100BaseTX port 0xac00-0xacff mem
0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:08:44:e4
pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 12.0 on pci0
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 13.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 14.0 on pci0
pci5: ACPI PCI bus on pcib5
pci5: display, VGA at device 0.0 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
ppc0: Standard parallel printer port port 0x378-0x37f,0x778-0x77b irq 7
on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
orm0: ISA Option ROM at iomem 0xc-0xcefff on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0

Re: apache problems

2007-08-16 Thread Philip M. Gollucci
 options SCHED_ULE
I would stick with 4BSD in 6.x series until 7.0-r then use SCHED_SMP

Thats not your problem though.

-- 

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Real-Time traffic monitor?

2007-08-16 Thread Eric F Crist

Hey all,

I've got a fairly heavy-duty machine doing firewalling for my  
network, and the VAST majority of it's processing power is going  
unused.  As such, I'd like to put X on this box, attach a monitor,  
and display a series of real-time traffic graphs.  Does anyone know  
what the best software to use for this would be?


Thanks!

-
Eric F Crist
Secure Computing Networks


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


Re: apache problems

2007-08-16 Thread Kris Kennaway
On Thu, Aug 16, 2007 at 02:02:09PM -0400, Philip M. Gollucci wrote:
  options SCHED_ULE
 I would stick with 4BSD in 6.x series until 7.0-r then use SCHED_SMP

You mean SCHED_ULE.

 Thats not your problem though.

It could be, it's too broken to use in 6.x and only fixed in 7.0.

Kris


pgpZGzuEOaJOc.pgp
Description: PGP signature


Re: apache problems

2007-08-16 Thread Philip M. Gollucci
Kris Kennaway wrote:
 On Thu, Aug 16, 2007 at 02:02:09PM -0400, Philip M. Gollucci wrote:
 options SCHED_ULE
 I would stick with 4BSD in 6.x series until 7.0-r then use SCHED_SMP
 
 You mean SCHED_ULE.
 
 Thats not your problem though.
Right, I forgot the name changed back.


-- 

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Real-Time traffic monitor?

2007-08-16 Thread Roland Smith
On Thu, Aug 16, 2007 at 01:03:54PM -0500, Eric F Crist wrote:
 Hey all,
 
 I've got a fairly heavy-duty machine doing firewalling for my network, and 
 the VAST majority of it's processing power is going unused.  As such, I'd 
 like to put X on this box, attach a monitor, and display a series of 
 real-time traffic graphs.  Does anyone know what the best software to use 
 for this would be?

For collecting data, I use pfstat. With a perl script and gnuplot I
create graphs from that data. With telak
(http://julien.danjou.info/telak.html) I put those graphs on the root
window. See http://www.xs4all.nl/~rsmith/freebsd/index.html#monitor

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp0QBG9Xdaar.pgp
Description: PGP signature


Re: apache problems

2007-08-16 Thread Hugo Silva

Reinhold wrote:

Hi

I am having some problems with apache22 on my box. What happens is, when
I'm viewing loads and loads of pages, apache will stop responding untill I
restart it again. This normally happens when the free memory shown by top
gets to about +- 100MB.

Here is my dmesg output:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
module_register: module accf_data already exists!
Module accf_data failed to register: 17
module_register: module accf_http already exists!
Module accf_http failed to register: 17
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x20f32  Stepping = 2

Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x1SSE3
  AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!
  AMD Features2=0x3LAHF,CMP
  Cores per package: 2
real memory  = 2147418112 (2047 MB)
avail memory = 2065465344 (1969 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
0x807120c0) error 17
module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
0x80713720) error 17
acpi0: Nvidia AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21 at
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff irq 22
at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
atapci0: nVidia nForce CK804 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
atapci2: nVidia nForce CK804 SATA300 controller port
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
ata4: ATA channel 0 on atapci2
ata5: ATA channel 1 on atapci2
pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
pci1: ACPI PCI bus on pcib1
rl0: RealTek 8139 10/100BaseTX port 0xac00-0xacff mem
0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:08:44:e4
pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 12.0 on pci0
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 13.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 14.0 on pci0
pci5: ACPI PCI bus on pcib5
pci5: display, VGA at device 0.0 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
ppc0: Standard parallel printer port port 0x378-0x37f,0x778-0x77b irq 7
on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
orm0: ISA Option ROM at iomem 0xc-0xcefff on isa0
atkbdc0: Keyboard controller (i8042) at port 

Share folder over internet

2007-08-16 Thread Laszlo Nagy

 Hi All,

Here is a problem that I cannot solve. I have two offices with two file servers 
(FreeBSD 6.1). Clients are accessing files over samba and nfs (on the local 
server). I would like to share some directory structures between the two 
offices. Originally I was thinking about sshfs (mount_sshfs) but I cannot 
compile fuse from the ports. NFS cannot share subdirectories, only whole 
filesystems and it is not secure to use over the internet.

Security inside the LAN is not important. Most of these folders are put everything 
into it type, e.g. anyone can do anything with them. The users usually store doc, 
pdf, xls/gnumeric and txt files in them.

I'm not interested in solutions where the end user needs to use a special 
program to access the files. For example, gftp is not an option. This is 
because these users sometimes does not know what a file is. I need nautilus 
integration, and mounting/mapping so the files can be opened from any program 
using file/open.

What should I use?

Thank you,

  Laszlo


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


Re: Real-Time traffic monitor?

2007-08-16 Thread Bill Moran
In response to Eric F Crist [EMAIL PROTECTED]:

 Hey all,
 
 I've got a fairly heavy-duty machine doing firewalling for my  
 network, and the VAST majority of it's processing power is going  
 unused.  As such, I'd like to put X on this box, attach a monitor,  
 and display a series of real-time traffic graphs.  Does anyone know  
 what the best software to use for this would be?

You have lots of choices: MRTG, Cacti, SmokePing, ntop are some that
I've used that come to mind.

Which one is best really depends on you and your situation.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problems

2007-08-16 Thread Reinhold
Thanks

I'll switch back to 4BSD and see what happens

On Thu, August 16, 2007 20:09, Philip M. Gollucci wrote:
 Kris Kennaway wrote:

 On Thu, Aug 16, 2007 at 02:02:09PM -0400, Philip M. Gollucci wrote:

 options SCHED_ULE
 I would stick with 4BSD in 6.x series until 7.0-r then use SCHED_SMP


 You mean SCHED_ULE.


 Thats not your problem though.

 Right, I forgot the name changed back.



 --
 
 Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
 Senior System Admin - Riderway, Inc. http://riderway.com
 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF


 Work like you don't need the money,
 love like you'll never get hurt, and dance like nobody's watching.

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




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


Re: cheap (supported) wifi card

2007-08-16 Thread Don Hinton
Hi Adam:

Adam J Richardson writes:
  Don Hinton wrote:
   Could someone recommend a good (and
   cheap) one that's includes a/b/g*/n and is supported, either natively
   or via ndis?
  
  Hi Don,
  
  I can heartily recommend any card based on the TNET1130 chipset. They 
  work very well with ndisgen. Examples include the Add-on Tech GWP-100 
  and the Belkin F5D7 series, such as the F5D7051 USB key or the F5D7000 
  cardbus card. They're all cheap. They do a, b and g. I'm not sure 
  about n, though.

I picked up a Belkin F5D7050, but can seem to figure out how to get it
to work.  I'm obviously missing something.

$ dmesg
snip
ugen0: Belkin USB2.0 WLAN, class 255/255, rev 2.00/48.10, addr 2 on uhub6

$ uname -a
FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Mon Aug 13 16:23:35 UTC 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP_SMP  i386

I've compiled the following in my kernel, per man ural:

device  wlan# 802.11 support
device  wlan_amrr   # AMRR transmit rate control algorithm
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# EHCI PCI-USB interface (USB 2.0)
device  usb # USB Bus (required)
device  ural# Ralink Technology RT2500USB wireless NICs

But don't see a ural device getting created.  It's hard to tell from
the package, but I suspect it's a version problem.  There's a small
sticker on the bottom of the box that has 00173FAFD030 ver. 4000
printed on it.  But the part number just says FD7050.

Any help would be appreciated.

thanks...
don
-- 
Don Hinton hintonda at gmail dot com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache problems

2007-08-16 Thread Reinhold
On Thu, August 16, 2007 20:16, Hugo Silva wrote:
 Reinhold wrote:

 Hi


 I am having some problems with apache22 on my box. What happens is,
 when I'm viewing loads and loads of pages, apache will stop responding
 untill I restart it again. This normally happens when the free memory
 shown by top gets to about +- 100MB.

 Here is my dmesg output:
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
 module_register: module accf_data already exists!
 Module accf_data failed to register: 17
 module_register: module accf_http already exists!
 Module accf_http failed to register: 17
 ACPI APIC Table: Nvidia AWRDACPI
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class
 CPU)
 Origin = AuthenticAMD  Id = 0x20f32  Stepping = 2


 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
 E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
 Features2=0x1SSE3
 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!
 AMD Features2=0x3LAHF,CMP
 Cores per package: 2
 real memory  = 2147418112 (2047 MB) avail memory = 2065465344 (1969 MB)
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0 cpu1 (AP): APIC ID:  1 ioapic0: Changing APIC ID
 to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0
 module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
 0x807120c0) error 17
 module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
 0x80713720) error 17
 acpi0: Nvidia AWRDACPI on motherboard
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
 cpu0: ACPI CPU on acpi0
 cpu1: ACPI CPU on acpi0
 acpi_button0: Power Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 pci0: memory at device 0.0 (no driver attached)
 isab0: PCI-ISA bridge at device 1.0 on pci0
 isa0: ISA bus on isab0
 pci0: serial bus, SMBus at device 1.1 (no driver attached)
 ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21
 at device 2.0 on pci0 ohci0: [GIANT-LOCKED]
 usb0: OHCI version 1.0, legacy support
 usb0: OHCI (generic) USB controller on ohci0
 usb0: USB revision 1.0
 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 10 ports with 10 removable, self powered
 ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff irq
 22
 at device 2.1 on pci0 ehci0: [GIANT-LOCKED]
 usb1: EHCI version 1.0
 usb1: companion controller, 4 ports each: usb0
 usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
 usb1: USB revision 2.0
 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub1: 10 ports with 10 removable, self powered
 atapci0: nVidia nForce CK804 UDMA133 controller port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
 ata0: ATA channel 0 on atapci0
 ata1: ATA channel 1 on atapci0
 atapci1: nVidia nForce CK804 SATA300 controller port
 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
 0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
 ata2: ATA channel 0 on atapci1
 ata3: ATA channel 1 on atapci1
 atapci2: nVidia nForce CK804 SATA300 controller port
 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
 0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
 ata4: ATA channel 0 on atapci2
 ata5: ATA channel 1 on atapci2
 pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
 pci1: ACPI PCI bus on pcib1
 rl0: RealTek 8139 10/100BaseTX port 0xac00-0xacff mem
 0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
 miibus0: MII bus on rl0
 rlphy0: RealTek internal media interface on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 rl0: Ethernet address: 00:0e:2e:08:44:e4
 pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
 pci2: ACPI PCI bus on pcib2
 pcib3: ACPI PCI-PCI bridge at device 12.0 on pci0
 pci3: ACPI PCI bus on pcib3
 pcib4: ACPI PCI-PCI bridge at device 13.0 on pci0
 pci4: ACPI PCI bus on pcib4
 pcib5: ACPI PCI-PCI bridge at device 14.0 on pci0
 pci5: ACPI PCI bus on pcib5
 pci5: display, VGA at device 0.0 (no driver attached)
 acpi_tz0: Thermal Zone on acpi0
 fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
 acpi0 fdc0: [FAST]
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
 acpi0 sio0: type 16550A
 ppc0: Standard parallel printer port port 0x378-0x37f,0x778-0x77b irq
 7
 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 ppbus0: Parallel port bus on ppc0
 plip0: PLIP network interface on ppbus0
 lpt0: Printer on ppbus0
 lpt0: 

Re: Share folder over internet

2007-08-16 Thread Derek Ragona

At 12:58 PM 8/16/2007, Laszlo Nagy wrote:

 Hi All,

Here is a problem that I cannot solve. I have two offices with two file 
servers (FreeBSD 6.1). Clients are accessing files over samba and nfs (on 
the local server). I would like to share some directory structures between 
the two offices. Originally I was thinking about sshfs (mount_sshfs) but I 
cannot compile fuse from the ports. NFS cannot share subdirectories, only 
whole filesystems and it is not secure to use over the internet.


Security inside the LAN is not important. Most of these folders are put 
everything into it type, e.g. anyone can do anything with them. The users 
usually store doc, pdf, xls/gnumeric and txt files in them.


I'm not interested in solutions where the end user needs to use a special 
program to access the files. For example, gftp is not an option. This is 
because these users sometimes does not know what a file is. I need 
nautilus integration, and mounting/mapping so the files can be opened from 
any program using file/open.


What should I use?


You need to create a VPN connection between your two offices.  You can do 
this in a variety of ways, but probably the best solution would be to have 
static IP's for both offices and a router that has hardware support for 
VPNs at each office.  You can connect the two offices via a VPN connection 
from router to router.



-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: apache problems

2007-08-16 Thread Hugo Silva

Reinhold wrote:

On Thu, August 16, 2007 20:16, Hugo Silva wrote:
  

Reinhold wrote:



Hi


I am having some problems with apache22 on my box. What happens is,
when I'm viewing loads and loads of pages, apache will stop responding
untill I restart it again. This normally happens when the free memory
shown by top gets to about +- 100MB.

Here is my dmesg output:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
module_register: module accf_data already exists!
Module accf_data failed to register: 17
module_register: module accf_http already exists!
Module accf_http failed to register: 17
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class
CPU)
Origin = AuthenticAMD  Id = 0x20f32  Stepping = 2


Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
Features2=0x1SSE3
AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!
AMD Features2=0x3LAHF,CMP
Cores per package: 2
real memory  = 2147418112 (2047 MB) avail memory = 2065465344 (1969 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0 cpu1 (AP): APIC ID:  1 ioapic0: Changing APIC ID
to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0
module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
0x807120c0) error 17
module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
0x80713720) error 17
acpi0: Nvidia AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21
at device 2.0 on pci0 ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff irq
22
at device 2.1 on pci0 ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
atapci0: nVidia nForce CK804 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
atapci2: nVidia nForce CK804 SATA300 controller port
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
ata4: ATA channel 0 on atapci2
ata5: ATA channel 1 on atapci2
pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
pci1: ACPI PCI bus on pcib1
rl0: RealTek 8139 10/100BaseTX port 0xac00-0xacff mem
0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:08:44:e4
pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 12.0 on pci0
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 13.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 14.0 on pci0
pci5: ACPI PCI bus on pcib5
pci5: display, VGA at device 0.0 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0 fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0 sio0: type 16550A
ppc0: Standard parallel printer port port 0x378-0x37f,0x778-0x77b irq
7
on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
orm0: ISA Option ROM at iomem 

Re: Share folder over internet

2007-08-16 Thread Laszlo Nagy


You need to create a VPN connection between your two offices.  You can 
do this in a variety of ways, but probably the best solution would be 
to have static IP's for both offices and a router that has hardware 
support for VPNs at each office.  You can connect the two offices via 
a VPN connection from router to router.
Well, we do not have static IP addresses, and the routers does not 
support VPN. Also I do not like the idea of VPN because I feel that 
would forward more packets than needed. I may be wrong. :-)


Although we do not have static IP, we have DDNS. Is it possible to do 
VPN from one FreeBSD box to another and then what? Mount nfs? Mount 
smb? I can mount a remote smb volume then share it with another smb 
server, but it looks wreid to me and I'm also concerned about speed. I 
believe smb is not optimized for speed. If I have to use VPN then I 
would like to use the most traffic-efficient method over VPN. Can you 
suggest something?


Thanks,

  Laszlo

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


RE: Share folder over internet

2007-08-16 Thread Michael K. Smith - Adhost
Hello Laszlo:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Laszlo Nagy
 Sent: Thursday, August 16, 2007 12:37 PM
 To: Derek Ragona; freebsd-questions@freebsd.org
 Subject: Re: Share folder over internet
 
 
  You need to create a VPN connection between your two offices.  You
 can
  do this in a variety of ways, but probably the best solution would
be
  to have static IP's for both offices and a router that has hardware
  support for VPNs at each office.  You can connect the two offices
via
  a VPN connection from router to router.
 Well, we do not have static IP addresses, and the routers does not
 support VPN. Also I do not like the idea of VPN because I feel that
 would forward more packets than needed. I may be wrong. :-)
 
 Although we do not have static IP, we have DDNS. Is it possible to do
 VPN from one FreeBSD box to another and then what? Mount nfs?
Mount
 smb? I can mount a remote smb volume then share it with another smb
 server, but it looks wreid to me and I'm also concerned about speed. I
 believe smb is not optimized for speed. If I have to use VPN then I
 would like to use the most traffic-efficient method over VPN. Can you
 suggest something?
 
 Thanks,
 
Have you considered NFS over IPSec? See:

http://ezine.daemonnews.org/200402/nfs_via_ipsec_tunnel.html

Regards,

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Eric Crist

On Aug 16, 2007, at 2:37 PMAug 16, 2007, Laszlo Nagy wrote:



You need to create a VPN connection between your two offices.  You  
can do this in a variety of ways, but probably the best solution  
would be to have static IP's for both offices and a router that  
has hardware support for VPNs at each office.  You can connect the  
two offices via a VPN connection from router to router.
Well, we do not have static IP addresses, and the routers does not  
support VPN. Also I do not like the idea of VPN because I feel that  
would forward more packets than needed. I may be wrong. :-)


Although we do not have static IP, we have DDNS. Is it possible to  
do VPN from one FreeBSD box to another and then what? Mount  
nfs? Mount smb? I can mount a remote smb volume then share it with  
another smb server, but it looks wreid to me and I'm also concerned  
about speed. I believe smb is not optimized for speed. If I have to  
use VPN then I would like to use the most traffic-efficient method  
over VPN. Can you suggest something?


Thanks,

  Laszlo



Properly set up, the two office could appear as if they were local,  
only hindered by the speed of your internet connections.  IMHO, a VPN  
is really the only way to go.  Across that, you can use any method  
you'd prefer, NFS, smb, etc.


Take a look at OpenVPN for more information.  It's in the ports, and  
relatively easy to set up.

-
Eric F Crist
Secure Computing Networks


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


Re: Share folder over internet

2007-08-16 Thread Chuck Swiger

On Aug 16, 2007, at 12:37 PM, Laszlo Nagy wrote:
You need to create a VPN connection between your two offices.  You  
can do this in a variety of ways, but probably the best solution  
would be to have static IP's for both offices and a router that  
has hardware support for VPNs at each office.  You can connect the  
two offices via a VPN connection from router to router.


Well, we do not have static IP addresses, and the routers does not  
support VPN. Also I do not like the idea of VPN because I feel that  
would forward more packets than needed. I may be wrong. :-)


A properly-configured VPN setup uses what Cisco calls a split  
config, where only traffic addressed to the subnet on the other side  
of the VPN actually goes through the VPN tunnel; normal traffic sent  
elsewhere goes out your normal default route.  Some people have  
experienced VPN setups where all traffic goes through the tunnel, and  
those do indeed forward more traffic than they should.


Although we do not have static IP, we have DDNS. Is it possible to  
do VPN from one FreeBSD box to another and then what? Mount  
nfs? Mount smb? I can mount a remote smb volume then share it with  
another smb server, but it looks wreid to me and I'm also concerned  
about speed. I believe smb is not optimized for speed. If I have to  
use VPN then I would like to use the most traffic-efficient method  
over VPN. Can you suggest something?


Your goal to do filesharing safely over the Internet is best  
satisfied by having a VPN between two static netblocks, or at least  
individual IPs.  openvpn makes a decent solution for FreeBSD, but if  
you're not willing to get static IPs and configure a VPN, well, then  
you probably need to re-evaluate your goals.


--
-Chuck

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


Re: Real-Time traffic monitor?

2007-08-16 Thread Kurt Buff
On 8/16/07, Eric F Crist [EMAIL PROTECTED] wrote:
 Hey all,

 I've got a fairly heavy-duty machine doing firewalling for my
 network, and the VAST majority of it's processing power is going
 unused.  As such, I'd like to put X on this box, attach a monitor,
 and display a series of real-time traffic graphs.  Does anyone know
 what the best software to use for this would be?

I wouldn't put anything on it that isn't directly related to its mission.

At most, I'd suggest putting net-snmp on it, denying access from the
untrusted side(s), and polling the box with mrtg/cacti/nagios from
another machine.

Better, I think would be to put ntop on another machine and mirror the
port to which the firewall  is attached.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The Elephant file system

2007-08-16 Thread Andrew Falanga
Hi,

I was doing some research for file systems at work and came across
some semi-technical papers on a file system called elephant.  Since
this paper mentions that the designers first tried their
implementation on FreeBSD 2.2.7, I thought I'd ask here if anyone has
ever heard of this file system.  If so, is this something that is
available in FreeBSD or is this just an interesting academic exercise?
 If this isn't is use, why?  Also, if not in use, is there another
file system (by another name) that does something similar?  This file
system sounds like a great idea.

A link to get the paper I mentioned is here:

http://www.hpl.hp.com/personal/Alistair_Veitch/papers/elephant-hotos/index.html

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Laszlo Nagy

Peter Svec wrote:

Hello Laszlo,

you don't need static IP address if you use hamachi. It is zero 
configuration VPN tool, which creates peer-to-peer tunnel between two 
host (with static or dynamic addresses). The problem is, that hamachi 
isn't in the ports yet. Take a look at 
http://www.freebsd.org/cgi/query-pr.cgi?pr=112982 and 
https://secure.logmein.com/products/hamachi/vpn.asp


peter
Sounds great. I'll ask my ISP about the fix IP though. Thank you for 
your answers!


  Laszlo

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


Re: Share folder over internet

2007-08-16 Thread Steve Bertrand
Laszlo Nagy wrote:
 Peter Svec wrote:
 Hello Laszlo,

 you don't need static IP address if you use hamachi. It is zero
 configuration VPN tool, which creates peer-to-peer tunnel between two
 host (with static or dynamic addresses). The problem is, that hamachi
 isn't in the ports yet. Take a look at
 http://www.freebsd.org/cgi/query-pr.cgi?pr=112982 and
 https://secure.logmein.com/products/hamachi/vpn.asp

 peter
 Sounds great. I'll ask my ISP about the fix IP though. Thank you for
 your answers!

Alternatively, you could use Dynamic DNS, as IIRC, OpenVPN supports
using hostnames as opposed to IP's for the connection endpoint identifiers.

Cheers!

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Peter Svec

Hello Laszlo,

you don't need static IP address if you use hamachi. It is zero 
configuration VPN tool, which creates peer-to-peer tunnel between two 
host (with static or dynamic addresses). The problem is, that hamachi 
isn't in the ports yet. Take a look at 
http://www.freebsd.org/cgi/query-pr.cgi?pr=112982 and 
https://secure.logmein.com/products/hamachi/vpn.asp


peter


Laszlo Nagy wrote:


You need to create a VPN connection between your two offices.  You 
can do this in a variety of ways, but probably the best solution 
would be to have static IP's for both offices and a router that has 
hardware support for VPNs at each office.  You can connect the two 
offices via a VPN connection from router to router.
Well, we do not have static IP addresses, and the routers does not 
support VPN. Also I do not like the idea of VPN because I feel that 
would forward more packets than needed. I may be wrong. :-)


Although we do not have static IP, we have DDNS. Is it possible to do 
VPN from one FreeBSD box to another and then what? Mount nfs? 
Mount smb? I can mount a remote smb volume then share it with another 
smb server, but it looks wreid to me and I'm also concerned about 
speed. I believe smb is not optimized for speed. If I have to use VPN 
then I would like to use the most traffic-efficient method over VPN. 
Can you suggest something?


Thanks,

  Laszlo

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



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


Re: Share folder over internet

2007-08-16 Thread Laszlo Nagy



Unless I'm very confused, BSD NFS can export directories and directory
trees in addition to filesystems.  See export(5).  Internet security
should be attainable with an appropriate firewall configuration that
allows the servers to only talk to each other.
  
IMHO you can export directory trees (-alldirs option), but if you do 
that then you can list each file system in /etc/exports only once. So it 
is impossible to export some (different) directories from a filesystem, 
but not others. But again, this is not a big problem when I use a VPN 
connection between the two file servers only.


Coda is looks VERY interesting! :-) Two key features:

high performance through client side persistent caching
continued operation during partial network failures in server network

Promising. I'm going to try it and let you know how it goes.

Best,

  Laszlo

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


Re: Share folder over internet

2007-08-16 Thread Bob Johnson
On 8/16/07, Laszlo Nagy [EMAIL PROTECTED] wrote:
   Hi All,

 Here is a problem that I cannot solve. I have two offices with two file
 servers (FreeBSD 6.1). Clients are accessing files over samba and nfs (on
 the local server). I would like to share some directory structures between
 the two offices. Originally I was thinking about sshfs (mount_sshfs) but I
 cannot compile fuse from the ports. NFS cannot share subdirectories, only
 whole filesystems and it is not secure to use over the internet.


Unless I'm very confused, BSD NFS can export directories and directory
trees in addition to filesystems.  See export(5).  Internet security
should be attainable with an appropriate firewall configuration that
allows the servers to only talk to each other.

 [...]
 What should I use?


I often suggest Coda (ports/net/coda6_server  coda6_client) for this
sort of situation, but it has been so many years since I've used it
myself that I don't know what state it is in these days. I hope the
documentation has improved. Note the client runs on the local file
server, so you don't need to change anything on end-users'
workstations.

In your case, though, it sounds like NFS would actually do what you need.

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Laszlo Nagy



I often suggest Coda (ports/net/coda6_server  coda6_client) for this
sort of situation, but it has been so many years since I've used it
myself that I don't know what state it is in these days. I hope the
documentation has improved. Note the client runs on the local file
server, so you don't need to change anything on end-users'
workstations.
  
If it really has client side caching then it can be better than NFS. 
However, I just found this on their official website:


snip
There were several sweeping changes in freebsd, and in the case where 
the developers didn't exactly know how to solve it for Coda, they just 
removed the related code. For instance, they don't support vget with a 
device/inode number pair anymore, so they simply removed the complete 
coda_open codepath. As a result it is impossible to open any files or 
directories in /coda with the current fbsd kernel module.

/snip

Now I'm starting to loose my enthusiasm about FreeBSD!

- sshfs works for Linux, but not for FreeBSD, although ssh is open 
source and well documented. The guy who developed it says that he could 
not implement fuse very well because the source code of the FreeBSD 
kernel is a mess, can this be true?
- WEB-DAV fs works for Linux but not for FreeBSD, although DAV is well 
documented. Why?
- Coda client does not work correctly because of... lack of kernel 
developers?


Most suprisingly, Gnome 2.18 and nautilus CAN use WEB-DAV (both http and 
https), and it can also mount sshfs. But this is useless for me 
because I cannot really mount them, they are available in gnome vfs 
only. I see signs... is it really the kernel that prevents me from doing 
what I need to do?


Today I also had trouble with mozilla flashplugin. It simply does not 
work, except with linux-firefox, but then Java stops working. 
Unfortuntely, I need to use both of them together. Skype does not work 
very well with FreeBSD, only in linux compat mode etc.


I like the idea of having only one, consistent distribution, and having 
a ports tree and I see other advantages of FreeBSD but I'm starting to 
think that using it as an application server was a bad idea from my 
part, simply because the lack of working - otherwise widely used - 
applications.


Sally... I'm sorry, it is late night here and I failed to solve 5 
problems today. All of them could have been solved with one click on 
Linux or even M$ Windows. :-(


  Laszlo

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


Re: Share folder over internet

2007-08-16 Thread Warren Block

On Thu, 16 Aug 2007, Laszlo Nagy wrote:

- sshfs works for Linux, but not for FreeBSD, although ssh is open source and 
well documented. The guy who developed it says that he could not implement 
fuse very well because the source code of the FreeBSD kernel is a mess, can 
this be true?


No idea.  Have you tried /usr/ports/sysutils/fusefs-sshfs?

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: questions@ vs. freebsd-questions@

2007-08-16 Thread Chad Perrin
On Wed, Aug 15, 2007 at 09:20:15PM -0500, Donald J. O'Neill wrote:
 On Wednesday 15 August 2007 08:15:46 pm Chad Perrin wrote:
  On Wed, Aug 15, 2007 at 07:14:43AM -0400, Gerard wrote:
   Is there a reason that you cannot just use the address specified in
   the email headers of messages distributed by this forum. This is a
   snippet from the headers from your message.
  
   List-Id: User questions freebsd-questions.freebsd.org
   List-Unsubscribe:
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions, 
   mailto:[EMAIL PROTECTED]
   List-Archive: http://lists.freebsd.org/pipermail/freebsd-questions
   List-Post: mailto:freebsd-questions@freebsd.org
   List-Help: mailto:[EMAIL PROTECTED]
   List-Subscribe:
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions, 
   mailto:[EMAIL PROTECTED]
 
  That reminds me: Is there any particular reason there isn't a List-Reply
  for this list?
 
 You wouldn't happen to be referring to:
   List-Post: mailto:freebsd-questions@freebsd.org
 would you?

Er, yes, sorry.  I had a momentary lapse.  The question I should have
asked is more like this:

Is there any particular reason Mutt doesn't recognize the List-Post
header unless I subscribe to the list in my .muttrc file?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
McCloctnick the Lucid: The first rule of magic is simple. Don't waste your
time waving your hands and hopping when a rock or a club will do.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


console redirection during

2007-08-16 Thread Vallard Benincosa
Does anybody know how to enable console redirection through the serial
port during a FreeBSD 6.2 jumpstart install?  I searched documentation
but didn't come up with anything.  Thanks for any help.

Vallard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mapping Oregon Communities: Intro GIS Workshop

2007-08-16 Thread Gina Clemmer, New Urban Research
 
Your email program does not support HTML. To view an online version of this 
email, please click the link below.
http://ss17.isend1.com/rwcode/content.asp?SID=0SiteID=15089Section=121778EmailID=7967241HitID=1187302753000

To unsubscribe, click the link below.
http://ss17.isend1.com/RWCode/subscribe.asp?SID=0SiteID=15089[EMAIL 
PROTECTED]HitID=1187302753000
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Bob Johnson
On 8/16/07, Laszlo Nagy [EMAIL PROTECTED] wrote:

  I often suggest Coda (ports/net/coda6_server  coda6_client) for this
  sort of situation, but it has been so many years since I've used it
  myself that I don't know what state it is in these days. I hope the
  documentation has improved. Note the client runs on the local file
  server, so you don't need to change anything on end-users'
  workstations.
 
 If it really has client side caching then it can be better than NFS.
 However, I just found this on their official website:

 snip
 There were several sweeping changes in freebsd, and in the case where
 the developers didn't exactly know how to solve it for Coda, they just
 removed the related code. For instance, they don't support vget with a
 device/inode number pair anymore, so they simply removed the complete
 coda_open codepath. As a result it is impossible to open any files or
 directories in /coda with the current fbsd kernel module.
 /snip

Like most of their documentation, that seems to be out of date.
According to their codebase, that particular issue was fixed a few
months ago. But I certainly wouldn't trust Coda (on ANY platform) for
production use without a bunch of testing. Which is too bad, it seems
like a neat solution looking for problems to solve. I played with it
for a while several years ago and I liked it enough to wish I had a
problem that required it.

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: console redirection during

2007-08-16 Thread Josef Grosch
On Thu, Aug 16, 2007 at 03:16:22PM -0700, Vallard Benincosa wrote:
 Does anybody know how to enable console redirection through the serial
 port during a FreeBSD 6.2 jumpstart install?  I searched documentation
 but didn't come up with anything.  Thanks for any help.


First, make sure the bios is redirection the traffic to console

In the /boot/loader.conf file, place the following lines

  console=comconsole
  comconsole_speed=115200


Edit the file /etc/ttys so it has the following

  ttyd0 /usr/libexec/getty std.115200 vt100   on  secure


Edit the file /boot.conf so it has the following

  -D -h




Josef


-- 
FreeBSD 6.2 | I mean, if I went 'round saying I was an emperor
Josef Grosch| just because some moistened bint had lobbed a 
[EMAIL PROTECTED] | scimitar at me, they'd put me away!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Swap size

2007-08-16 Thread Nicholas Wieland
I was reading tuning(7), and I found that I should size my swap  
double the size of my physical memory.
AFAIK that was true some years ago, when memory was not as cheap as  
now, and following that guideline I should set my swap to 2GB, which  
seems far too much for swap (at least to me ...). I will never need  
this much memory as 1GB RAM and 2GB swap.
Is it still correct ? How can I resize with bsdlabel if I already  
used all my disk space during install ?


TIA,
  ngw

--
Nicholas Wieland
[EMAIL PROTECTED]



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


Re: Swap size

2007-08-16 Thread Kris Kennaway
On Fri, Aug 17, 2007 at 02:05:57AM +0200, Nicholas Wieland wrote:
 I was reading tuning(7), and I found that I should size my swap  
 double the size of my physical memory.
 AFAIK that was true some years ago, when memory was not as cheap as  
 now, and following that guideline I should set my swap to 2GB, which  
 seems far too much for swap (at least to me ...). I will never need  
 this much memory as 1GB RAM and 2GB swap.
 Is it still correct ?

2GB is a reasonable amount of swap space, and unless you plan to turn
your system on and leave it in the closet doing nothing, it will use
more memory than you think.

 How can I resize with bsdlabel if I already  
 used all my disk space during install ?

With a bit of work you can grow partitions (see growfs), but you
cannot shrink them.

Kris


pgpxxpQnKJcpS.pgp
Description: PGP signature


deinstall all apps installed from ports

2007-08-16 Thread vuthecuong

Just for reference only:
I wonder how can I remove all apps, yes, all apps installed from ports 
so that only

freebsd 6.2 OS remains just by one command.
I use portupgrade.
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: deinstall all apps installed from ports

2007-08-16 Thread Chuck Swiger

On Aug 16, 2007, at 5:22 PM, vuthecuong wrote:
I wonder how can I remove all apps, yes, all apps installed from  
ports so that only

freebsd 6.2 OS remains just by one command.
I use portupgrade.


man pkg_delete suggests the -a flag:

 -a  Unconditionally delete all currently installed packages.

--
-Chuck

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


Mapping Oregon Communities: Intro GIS Workshop

2007-08-16 Thread Gina Clemmer, New Urban Research
 
Your email program does not support HTML. To view an online version of this 
email, please click the link below.
http://ss17.isend1.com/rwcode/content.asp?SID=0SiteID=15089Section=121778EmailID=7956578HitID=1187302753000

To unsubscribe, click the link below.
http://ss17.isend1.com/RWCode/subscribe.asp?SID=0SiteID=15089[EMAIL 
PROTECTED]HitID=1187302753000
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Swap size

2007-08-16 Thread Eric Crist


On Aug 16, 2007, at 7:05 PMAug 16, 2007, Nicholas Wieland wrote:

I was reading tuning(7), and I found that I should size my swap  
double the size of my physical memory.
AFAIK that was true some years ago, when memory was not as cheap as  
now, and following that guideline I should set my swap to 2GB,  
which seems far too much for swap (at least to me ...). I will  
never need this much memory as 1GB RAM and 2GB swap.
Is it still correct ? How can I resize with bsdlabel if I already  
used all my disk space during install ?


TIA,
  ngw



From what I understand, the reasoning behind the math is that, if  
you have a kernel dump, there's enough room in swap to put the entire  
core into swap (so it's there when you've rebooted), and that there's  
enough room left in swap to allow the system to reboot, so you can  
debug.


If you're not worried about your .core files, then I wouldn't worry  
about the math of 2xmemory.


HTH
-
Eric F Crist
Secure Computing Networks


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


vlc won't play region encoded DVDs

2007-08-16 Thread Chandhee Thala
Hello,

I'm running VLC 0.8.5 on FreeBSD 6.2.

I was under the impression that VLC ignored region-encoding when
playing DVDs, but this is apparently not the case on my BSD box.

Most of the American DVDs I try to play gets a region encoding error
and quits. I have no problems with foreign DVDs (from other
countries).

Is this standard behavior for VLC on BSD or am I doing something wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Pollywog
On Thursday 16 August 2007 21:39:25 Laszlo Nagy wrote:

 Now I'm starting to loose my enthusiasm about FreeBSD!

 - sshfs works for Linux, but not for FreeBSD, although ssh is open
 source and well documented. The guy who developed it says that he could
 not implement fuse very well because the source code of the FreeBSD
 kernel is a mess, can this be true?

I was told the same thing, in regard to Fuse.  It also does not compile in 
FreeBSD 6.2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Norberto Meijome
On Thu, 16 Aug 2007 23:39:25 +0200
Laszlo Nagy [EMAIL PROTECTED] wrote:

 
 Today I also had trouble with mozilla flashplugin. It simply does not 
 work, except with linux-firefox, but then Java stops working. 
 Unfortuntely, I need to use both of them together. 

hi Laszlo,
search the archives of this list - there are several threads explaining how to 
get either linux-firefox of firefox running with both flash and java. Once 
you've read them and attempted the steps described, if you have any other 
questions / problems , please do start another thread and we'll be happy to 
help.

 Skype does not work 
 very well with FreeBSD, only in linux compat mode etc.

net/skype is skype 1.2.8 for linux works fine - within the limitations of what 
skype had back @ the 1.2 version.

net/skype-dev is the latest linux beta from skype themselves. It works fine 
except for sound, as it supports only ALSA. Again, search the archives (I think 
either here or in multimedia@ ) for references to this.

It is hardly the freebsd community's fault that Skype / Ebay doesn't create a 
FreeBSD binary. Actually, the linux compatibility layer is one of the great 
things in FreeBSD. Of course, you may be having other issues we can't know 
about until you kindly tell us (on a separate thread pls...)

 
 I like the idea of having only one, consistent distribution, and having 
 a ports tree and I see other advantages of FreeBSD but I'm starting to 
 think that using it as an application server was a bad idea from my 
 part, simply because the lack of working - otherwise widely used - 
 applications.

::shrug:: each solution needs to be considered for the problem. It is, after 
all, your server, feel free to install linux or pay for MS licenses... (btw, 
have ever actually used windows file sharing over a slow link ? whatever 'ease 
of use' you *may* have gain (and i'm not sure how much of that there really is) 
will probably be lost when you consider other factors...)

 
 Sally... I'm sorry, it is late night here and I failed to solve 5 
 problems today. All of them could have been solved with one click on 
 Linux or even M$ Windows. :-(

yes...sometimes these things happen... but usually, for me, it's the other way 
around with MS ;)

good luck,
B
_
{Beto|Norberto|Numard} Meijome

They never open their mouths without subtracting from the sum of human 
knowledge.
  Thomas Brackett Reed

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Dan Nelson
In the last episode (Aug 17), Pollywog said:
 On Thursday 16 August 2007 21:39:25 Laszlo Nagy wrote:
  Now I'm starting to loose my enthusiasm about FreeBSD!
 
  - sshfs works for Linux, but not for FreeBSD, although ssh is open
  source and well documented. The guy who developed it says that he
  could not implement fuse very well because the source code of the
  FreeBSD kernel is a mess, can this be true?
 
 I was told the same thing, in regard to Fuse.  It also does not
 compile in FreeBSD 6.2

Neither the sysutils/fusefs-sshfs nor the sysutils/fusefs-kmod ports
are marked BROKEN.  If they don't compile on your system, have you
submitted a PR?

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Share folder over internet

2007-08-16 Thread Pollywog
On Friday 17 August 2007 04:11:17 Dan Nelson wrote:
 In the last episode (Aug 17), Pollywog said:
  On Thursday 16 August 2007 21:39:25 Laszlo Nagy wrote:
   Now I'm starting to loose my enthusiasm about FreeBSD!
  
   - sshfs works for Linux, but not for FreeBSD, although ssh is open
   source and well documented. The guy who developed it says that he
   could not implement fuse very well because the source code of the
   FreeBSD kernel is a mess, can this be true?
 
  I was told the same thing, in regard to Fuse.  It also does not
  compile in FreeBSD 6.2

 Neither the sysutils/fusefs-sshfs nor the sysutils/fusefs-kmod ports
 are marked BROKEN.  If they don't compile on your system, have you
 submitted a PR?

The maintainer of the fuse-encfs port was aware of the problem and said it was 
due to the state of some kernel code, if I remember correctly.


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