installation error

2005-03-04 Thread Boon Kiong
Hi,
 I tried to install FreeBSD 4.5 and apply auto setting
for the installation. At last I got prompt saying
MAKEDEV returned non-zero status 100%. Any help will
be appreciated, thanks.




__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installation error

2005-03-04 Thread cyb
On Fri, 2005-03-04 at 00:23 -0800, Boon Kiong wrote:
 Hi,
  I tried to install FreeBSD 4.5 and apply auto setting
 for the installation. At last I got prompt saying
 MAKEDEV returned non-zero status 100%. Any help will
 be appreciated, thanks.

Maybe you should give 4.11 a try instead.

Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.txt
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81



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


any ideas why these xorg hassles???

2005-03-04 Thread Gary Kline

Guys,

Here's the story XFree-4 vs xorg.  I have 4 platforms on
a KVM so every machine uses the same tube.  With XFree,
my 3 FBSD systems had a flawless 1280x1024 display.  With
xorg, on my E-machines (ATI-Rage- 4M Video) the screen
quivers. On my HP Kayak (Matrox II 8M) the display is
steady but the tube is complaining INVALID SYNC.  The
CRT is a high-end Hitachi.  I got the exact specs for both
the horiz and vert hertz ranges.  Before, I was just 
close.  Now everything is dead-on.

Another couple things.  With XFree, I set the DefaultDepth'
to 8; now, on both computers it is maxed out at 16.  If I
do set the default depth to 8, xdm fails.  (It tries to'
initialize, then something clicks/resets, the screen
flashes grey for an instant; repeats infinitely.)  

Can anyone clue me in on howto get back to XFree on both
systems?  I know about make.conf, but what should I
pkg_delete?

thanks for any help,

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


RE: any ideas why these xorg hassles???

2005-03-04 Thread Ted Mittelstaedt
What version FreeBSD we talking here?  And if it's 4.X, why on
earth did you change it?

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
 Sent: Friday, March 04, 2005 12:55 AM
 To: FreeBSD Mailing List
 Subject: any ideas why these xorg hassles???
 
 
 
   Guys,
 
   Here's the story XFree-4 vs xorg.  I have 4 platforms on
   a KVM so every machine uses the same tube.  With XFree,
   my 3 FBSD systems had a flawless 1280x1024 display.  With
   xorg, on my E-machines (ATI-Rage- 4M Video) the screen
   quivers. On my HP Kayak (Matrox II 8M) the display is
   steady but the tube is complaining INVALID SYNC.  The
   CRT is a high-end Hitachi.  I got the exact specs for both
   the horiz and vert hertz ranges.  Before, I was just 
   close.  Now everything is dead-on.
 
   Another couple things.  With XFree, I set the DefaultDepth'
   to 8; now, on both computers it is maxed out at 16.  If I
   do set the default depth to 8, xdm fails.  (It tries to'
   initialize, then something clicks/resets, the screen
   flashes grey for an instant; repeats infinitely.)  
 
   Can anyone clue me in on howto get back to XFree on both
   systems?  I know about make.conf, but what should I
   pkg_delete?
 
   thanks for any help,
 
   gary
 
 
 
 -- 
Gary Kline [EMAIL PROTECTED]   www.thought.org 
 Public service Unix
 
 ___
 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]


printer set up

2005-03-04 Thread chezang
Hi list,

I'm a freebsd newbie. I have no idea of how to setup my computer to use Laser 
printer which is on the network. Ofcourse I can use Internet from my PC.

please help me

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


Re: any ideas why these xorg hassles???

2005-03-04 Thread Gary Kline
On Fri, Mar 04, 2005 at 01:01:08AM -0800, Ted Mittelstaedt wrote:
 What version FreeBSD we talking here?  And if it's 4.X, why on
 earth did you change it?
 

xorg is only on 5.3.  My remaining OS is 4.10.  

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


make world DESTDIR=... libc.a

2005-03-04 Thread Constantin Khatskevich
!
 5.3  ,  ,  buildworld(!),   
 make world DESTDIR=...  -  ,
libc.a,  UPDATES :
20010919:
There's a bug in the world build process.  The cross-tools
are build with the NEW headers, but the OLD libc.a.  This
leads to all kinds of problems with the new libc.  A temporary
workaround is to add
CFLAGS=-O -pipe -D_OLD_STDIO
before building world when upgrading from 4.x to current.  This
can be removed afterwards.

A proper fix to the buildworld target is needed.
,
--
Best regards,
Constantin Khatskevich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: printer set up

2005-03-04 Thread cyb
On Fri, 2005-03-04 at 15:09 +0600, chezang wrote:
 Hi list,
 
 I'm a freebsd newbie. I have no idea of how to setup my computer to use Laser 
 printer which is on the network. Ofcourse I can use Internet from my PC.
 
 please help me
 
 regards chezang

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

Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81



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


Re: any ideas why these xorg hassles???

2005-03-04 Thread Michael C. Shultz
On Friday 04 March 2005 12:55 am, Gary Kline wrote:
   Guys,

   Here's the story XFree-4 vs xorg.  I have 4 platforms on
   a KVM so every machine uses the same tube.  With XFree,
   my 3 FBSD systems had a flawless 1280x1024 display.  With
   xorg, on my E-machines (ATI-Rage- 4M Video) the screen
   quivers. On my HP Kayak (Matrox II 8M) the display is
   steady but the tube is complaining INVALID SYNC.  The
   CRT is a high-end Hitachi.  I got the exact specs for both
   the horiz and vert hertz ranges.  Before, I was just
   close.  Now everything is dead-on.

   Another couple things.  With XFree, I set the DefaultDepth'
   to 8; now, on both computers it is maxed out at 16.  If I
   do set the default depth to 8, xdm fails.  (It tries to'
   initialize, then something clicks/resets, the screen
   flashes grey for an instant; repeats infinitely.)

   Can anyone clue me in on howto get back to XFree on both
   systems?  I know about make.conf, but what should I
   pkg_delete?

I'm running portmanager on a test system to see if it is able to
switch between XFree86 and xorg, if it is all you need due is make the 
change in make.conf then run portmanager -u.  I'll know in an hour or 
so the results.

-Mike




   thanks for any help,

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


help needed on configuring rl0 on medion laptops

2005-03-04 Thread hb4j
hi everyone,

I am a very enthusiastic FreeBSD newbie (I have wanted to use FreeBSD for years,
but thanks to the latest Freesbie 1.1 which is awesome, I have finally made the
step).

I have a good knowledge of linux administration, both system and network and am
presently learning the correspondances with FreeBSD line commands.

So, here is my problem for which I would need your help :

on my laptop (medion 1GHz mobile, with a realtech 8129/8139 network card), my
network card is detected and recognized as what it is but, whether I use
sysinstall and its network config wizard or dhclient or assign manually a
network address with netmask and so on (ifconfig inet xxx.xxx.xxx.xxx netmask
xxx.xxx.xxx.xxx) and the route also manually, it never changes (whether
rebooted in between or not), but says my ip is 0.0.0.0 and dhclient complains
that it cannot find any dhcp server although, on another computer with the very
same network cable and networkplug on the wall, it has no problem whatsoever

here is the error message I get :
rl0 watchdog timeout

furthermore, when i boot under linux, it works perfectly fine ...

would there be a need to load another driver (modprobe under linux but i don't
know
the equivalent under FreeBSD)

thanks in advance for your help

hb4j

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


Re: any ideas why these xorg hassles???

2005-03-04 Thread Michael C. Shultz
On Friday 04 March 2005 01:34 am, Michael C. Shultz wrote:
 On Friday 04 March 2005 12:55 am, Gary Kline wrote:
  Guys,
 
  Here's the story XFree-4 vs xorg.  I have 4 platforms on
  a KVM so every machine uses the same tube.  With XFree,
  my 3 FBSD systems had a flawless 1280x1024 display.  With
  xorg, on my E-machines (ATI-Rage- 4M Video) the screen
  quivers. On my HP Kayak (Matrox II 8M) the display is
  steady but the tube is complaining INVALID SYNC.  The
  CRT is a high-end Hitachi.  I got the exact specs for both
  the horiz and vert hertz ranges.  Before, I was just
  close.  Now everything is dead-on.
 
  Another couple things.  With XFree, I set the DefaultDepth'
  to 8; now, on both computers it is maxed out at 16.  If I
  do set the default depth to 8, xdm fails.  (It tries to'
  initialize, then something clicks/resets, the screen
  flashes grey for an instant; repeats infinitely.)
 
  Can anyone clue me in on howto get back to XFree on both
  systems?  I know about make.conf, but what should I
  pkg_delete?

 I'm running portmanager on a test system to see if it is able to
 switch between XFree86 and xorg, if it is all you need due is make
 the change in make.conf then run portmanager -u.  I'll know in an
 hour or so the results.

 -Mike


It works, test passed.  If you change X_WINDOW_SYSTEM= in make.conf
and as soon as portmanager -u finds any one port that depends on
X and needs upgrading it will switch everthing to what ever version you 
have selected with X_WINDOW_SYSTEM=.  This will take a while if you 
have a lot of X related ports installed

-Mike




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


Re: any ideas why these xorg hassles???

2005-03-04 Thread Michael C. Shultz
On Friday 04 March 2005 01:52 am, Michael C. Shultz wrote:
 On Friday 04 March 2005 01:34 am, Michael C. Shultz wrote:
  On Friday 04 March 2005 12:55 am, Gary Kline wrote:
 Guys,
  
 Here's the story XFree-4 vs xorg.  I have 4 platforms on
 a KVM so every machine uses the same tube.  With XFree,
 my 3 FBSD systems had a flawless 1280x1024 display.  With
 xorg, on my E-machines (ATI-Rage- 4M Video) the screen
 quivers. On my HP Kayak (Matrox II 8M) the display is
 steady but the tube is complaining INVALID SYNC.  The
 CRT is a high-end Hitachi.  I got the exact specs for both
 the horiz and vert hertz ranges.  Before, I was just
 close.  Now everything is dead-on.
  
 Another couple things.  With XFree, I set the DefaultDepth'
 to 8; now, on both computers it is maxed out at 16.  If I
 do set the default depth to 8, xdm fails.  (It tries to'
 initialize, then something clicks/resets, the screen
 flashes grey for an instant; repeats infinitely.)
  
 Can anyone clue me in on howto get back to XFree on both
 systems?  I know about make.conf, but what should I
 pkg_delete?
 
  I'm running portmanager on a test system to see if it is able to
  switch between XFree86 and xorg, if it is all you need due is make
  the change in make.conf then run portmanager -u.  I'll know in an
  hour or so the results.
 
  -Mike

 It works, test passed.  If you change X_WINDOW_SYSTEM= in make.conf
 and as soon as portmanager -u finds any one port that depends on
 X and needs upgrading it will switch everthing to what ever version
 you have selected with X_WINDOW_SYSTEM=.  This will take a while if
 you have a lot of X related ports installed

 -Mike

I have to add one thing, the meta port if installed for the old X 
version needs to be manually removed first.

-Mike


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


Re: /boot like linux!

2005-03-04 Thread Giorgos Keramidas
On 2005-03-03 18:39, Jesse Guardiani [EMAIL PROTECTED] wrote:
 It's *best* to make more partitions (esp for /var) so that if
 something goes out of control logging, or you just neglect your logs,
 it doesn't go and fill up your only (ie / ) partition. Like most *nix
 OS's, it can be as simple or as complicated as you want it to be.

 I want / + /boot. It's that simple.

Why?  The root file system is not written so often anyway.  Why would
you care about separating /boot from it?

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


Re: /boot like linux!

2005-03-04 Thread Stijn Hoop
On Fri, Mar 04, 2005 at 01:15:00AM -0500, Garance A Drosehn wrote:
 I have run with softupdates on for '/' on all my systems, for
 a few years now.  It has not caused me any problems that I
 know of, but then the way I define my partitions is probably a
 lot different than what most people do.
 
 If we thought that softupdates made it *significantly* more
 likely that users would *lose* data, then we would not turn it
 on for any partitions!

Anthony's probably confusing softupdates + write caching on modern ATA
disks; the last undermines some of softupdates' fundamental
assumptions (ie the drive lies about data being written to disk) such
that it is indeed more likely in the event of a powerfailure that data
is lost.

Then again, write caching on modern ATA disks without softupdates also
is not really safe; so the win of turning off just softupdates is not
that big.

--Stijn

-- 
There are of course many problems connected with life, of which some of
the most popular are 'Why are people born?', 'Why do they die?', and
`Why do they spend so much of the intervening time wearing digital
watches?'
-- Douglas Adams, The Hitchhikers Guide To The Galaxy


pgpAgQqQq3cY6.pgp
Description: PGP signature


Re: CVS Repository

2005-03-04 Thread Giorgos Keramidas
On 2005-03-03 21:36, cizuriet [EMAIL PROTECTED] wrote:
 Hi Guys,

 I have tried setting up my own CVS tree with the /src tree in my local
 machine, but after setting the CVSROOT to any of the suggestions on
 the web site, when I try to log on with the anoncvs passwd, I get the
 following response.  Any help?

Updating the entire /usr/src tree over CVS and the network can be *VERY*
slow.  If you don't mind the extra disk space, I'd suggest the following:

- Use CVSup to mirror the entire src repository to /home/ncvs.
- Check out from /home/ncvs a working copy in /usr/src.

The entire CVS repository, mirrored locally here, takes about 2.6 GB of
disk space:

# du -sk /home/ncvs
2671488 /home/ncvs

This is, in my opinion, a small price to pay for being able to update
back and forth, from one version to any other.  But YMMV.

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


Re: any ideas why these xorg hassles???

2005-03-04 Thread Michael C. Shultz
On Friday 04 March 2005 02:38 am, Michael C. Shultz wrote:
 On Friday 04 March 2005 01:52 am, Michael C. Shultz wrote:
  On Friday 04 March 2005 01:34 am, Michael C. Shultz wrote:
   On Friday 04 March 2005 12:55 am, Gary Kline wrote:
Guys,
   
Here's the story XFree-4 vs xorg.  I have 4 platforms on
a KVM so every machine uses the same tube.  With XFree,
my 3 FBSD systems had a flawless 1280x1024 display.  With
xorg, on my E-machines (ATI-Rage- 4M Video) the screen
quivers. On my HP Kayak (Matrox II 8M) the display is
steady but the tube is complaining INVALID SYNC.  The
CRT is a high-end Hitachi.  I got the exact specs for both
the horiz and vert hertz ranges.  Before, I was just
close.  Now everything is dead-on.
   
Another couple things.  With XFree, I set the DefaultDepth'
to 8; now, on both computers it is maxed out at 16.  If I
do set the default depth to 8, xdm fails.  (It tries to'
initialize, then something clicks/resets, the screen
flashes grey for an instant; repeats infinitely.)
   
Can anyone clue me in on howto get back to XFree on both
systems?  I know about make.conf, but what should I
pkg_delete?
  
   I'm running portmanager on a test system to see if it is able to
   switch between XFree86 and xorg, if it is all you need due is
   make the change in make.conf then run portmanager -u.  I'll know
   in an hour or so the results.
  
   -Mike
 
  It works, test passed.  If you change X_WINDOW_SYSTEM= in make.conf
  and as soon as portmanager -u finds any one port that depends on
  X and needs upgrading it will switch everthing to what ever version
  you have selected with X_WINDOW_SYSTEM=.  This will take a while if
  you have a lot of X related ports installed
 
  -Mike

 I have to add one thing, the meta port if installed for the old X
 version needs to be manually removed first.

 -Mike

The following will be added to portmanager's man page:

Switching from XFree86-4 to xorg

1) change /etc/make.conf from X_WINDOW_SYSTEM=xfree86-4
to X_WINDOW_SYSTEM=xorg

2) pkg_delete -f /var/db/pkg/XFree86*

3) run portmanager -u



 ___
 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: Renaming root account

2005-03-04 Thread Dave Horsfall
On Thu, 3 Mar 2005, Giorgos Keramidas wrote:

 In my opinion, absolutely none at all.  People should never change the
 default shell of root from /bin/csh and toor is just a hack to please
 those who are too bored to type: % exec bash

I'm not sure what's worse: using anything other than /bin/sh for root's 
shell, or using /bin/csh for *anything*.

Yes, I know it's not the fundamentally broken original CSH, but I still 
get the willies whenever I see it.

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


Re: global vimrc file

2005-03-04 Thread Ramiro Aceves
FreeBSD MailingLists wrote:
I have the following ~/.vimrc
syn on
set incsearch
set ignorecase
set smartcase
set scrolloff=2
set wildmode=longest,list
I want to set this up as the default settings for my system.
under linux i think there was a way to set global vimrc settings by writing to
/etc/vimrc
or
/etc/vim/vimrc
depending on the system.
is there an equivalent file for FreeBSD?
TIA,
Tomoki Taniguchi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hello
Just a suggestion. That kind of questions can always be solved typing 
man vim, and looking for the FILES section.

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


Re: /boot like linux!

2005-03-04 Thread [EMAIL PROTECTED]
On Thu, 03 Mar 2005 18:08:24 -0500
Jesse Guardiani [EMAIL PROTECTED] wrote:

 I'm a FreeBSD 5.3 user as well as a Gentoo Linux user.
 In Gentoo linux, you only have to create 3 partitions:
- cut ---
 In FreeBSD, you seem to have to create many more:

not true, during installation you have the choice *NOT* to choose auto
defaults

and even when you choose the auto defaults option you can still edit it

(i really like the auto defaults on my server)

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


Re: Audio latency

2005-03-04 Thread Luyt
On Thursday 03 March 2005 19:20, J.E. Dooper wrote:

 I think this might be the problem:
 http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-August/055314
.html Though I don't understand much about the solution...

This might also be interesting, how sysctl hw.targetirqrate is used:

  http://fxr.watson.org/fxr/search?v=RELENG53;string=targetirqrate

I reduced the audio latency in KDE by using Control Center / Sound  
Multimedia / Sound System / Skip prevention slider to 100 ms.

--
The ability of the OSS process to collect and harness 
the collective IQ of thousands of individuals across 
the Internet is simply amazing. - Vinod Vallopillil
http://www.opensource.org/halloween/halloween4.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /boot like linux!

2005-03-04 Thread Erik Norgaard
Jesse Guardiani wrote:
In particular, it seems that /boot MUST be on the same
partition as /. This stinks, as now you have to create
separate partitions for /usr and /var, which wastes space.
You are not required to create separate partitions, but there are good 
reasons to do so, namely to avoid that inconsistencies affect vital 
partitions. / is vital, with a separate /boot, you may be able to boot 
but you don't get anywhere - the fsck is on /.

There is not reason to keep /boot separate from /, but there are good 
reasons to keep /usr, /var, /home and /tmp separate.

You don't need to create swap, given you have enough RAM.
All this applies to FreeBSD and Linux. I learned to keep /tmp separate 
the hard way, but that was back in the times of ext2 on linux.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pf seems to start late?

2005-03-04 Thread J.D. Bronson
Mar  4 06:15:11 sole kernel: Setting hostname: sole.domain.com
Mar  4 06:15:11 sole kernel: bge0: 
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
Mar  4 06:15:11 sole kernel: options=1aTXCSUM,VLAN_MTU,VLAN_HWTAGGING
Mar  4 06:15:11 sole kernel: inet 192.168.1.1 netmask 0xff00 broadcast 
192.168.1.255
Mar  4 06:15:11 sole kernel: media: Ethernet autoselect (none)
Mar  4 06:15:11 sole kernel: status: no carrier
Mar  4 06:15:11 sole kernel: lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST 
mtu 16384
Mar  4 06:15:11 sole kernel: inet 127.0.0.1 netmask 0xff00
Mar  4 06:15:11 sole kernel: Starting ppp as root
Mar  4 06:15:11 sole kernel: Working in ddial mode
Mar  4 06:15:11 sole kernel: Using interface: tun0
Mar  4 06:15:11 sole kernel: Starting dhclient.
Mar  4 06:15:11 sole kernel: bge1: 
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
Mar  4 06:15:11 sole kernel: options=1aTXCSUM,VLAN_MTU,VLAN_HWTAGGING
Mar  4 06:15:11 sole kernel: inet 65.12.14.18 netmask 0xf000 broadcast 
255.255.255.255
Mar  4 06:15:11 sole kernel: media: Ethernet autoselect (100baseTX 
full-duplex)
Mar  4 06:15:11 sole kernel: status: active
Mar  4 06:15:11 sole kernel: Additional routing options:
Mar  4 06:15:11 sole kernel: IP gateway=YES
Mar  4 06:15:11 sole kernel: .
Mar  4 06:15:11 sole kernel: Starting devd.
Mar  4 06:15:11 sole kernel: Mounting NFS file systems:
Mar  4 06:15:11 sole kernel: .
Mar  4 06:15:11 sole kernel: Starting syslogd.
Mar  4 06:15:11 sole kernel: Mar  4 06:15:11 sole syslogd: kernel boot file 
is /boot/kernel/kernel
Mar  4 06:15:11 sole kernel: Starting named.
Mar  4 06:15:12 sole kernel: Setting date via ntp.
Mar  4 06:15:15 sole kernel: 4 Mar 06:15:15 ntpdate[345]: step time server 
x.x.x.x offset -0.534182 sec
Mar  4 06:15:15 sole kernel: Clearing /tmp.
Mar  4 06:15:16 sole kernel: ELF ldconfig path: /lib /usr/lib 
/usr/lib/compat /usr/local/lib
Mar  4 06:15:16 sole kernel: a.out ldconfig path: /usr/lib/aout 
/usr/lib/compat/aout
Mar  4 06:15:16 sole kernel: Enabling pflogd
Mar  4 06:15:16 sole kernel: .
Mar  4 06:15:16 sole kernel: Mar  4 06:15:16 sole kernel: pflog0: 
promiscuous mode enabled
Mar  4 06:15:16 sole kernel: Enabling pf.
Mar  4 06:15:16 sole kernel: pf enabled

..shouldnt PF start right after the interfaces come up?
The interface comes up and then NTP/NTPD start...and duing this time for 
5secs or more there seems to be no pf runningwhy is this and why doesnt 
NTP/NTPD start AFTER pf is loaded up?

I think under OpenBSD...pf loads before anything else network related to at 
least offer minimum protection.

Am i missing something?
Ideally, I think pf should launch immediately after the ppp kernel fires.

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw or pf

2005-03-04 Thread Albert Shih
 Le 03/03/2005 à 13:07:53-0800, Loren M. Lang a écrit
  Well it's not de syntaxes, I always use packet filter system (sometime on
  hardware like Foundry/Cisco) where the rule is : First match first use. And
  the pf use entire rules is very strange for me (I known I can use ?quick?
  butwell it's not the philosophy I think).
 
 I like first match better too, but I think pf is sufficiently better
 that I just use it with quick over ipfw.
 

Better on what ?

I really like to known. And my question is not a troll or something like
that.

Regards


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Fri Mar 4 13:40:29 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [repost] ip.forwarding with pf

2005-03-04 Thread Peter N. M. Hansteen
J.D. Bronson [EMAIL PROTECTED] writes:

 Can someone tell me which is appropriate when FreeBSD 5.4-PRE is used as a
 router running pf with built in NAT ?

fastforwarding may or may not be useful, but as far as I can tell, it's
no replacement for the net.inet.ip.forwarding sysctl. By convention, you
would normally use rc.conf settings, ie

gateway_enable=YES #for ipv4
ipv6_gateway_enable=YES #for ipv6

to enable gatewaying.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Thunderbird crash

2005-03-04 Thread Alex Zbyslaw
I installed the latest thunderbird port (1.01) to see how it compared to 
Mozilla Mail.  So far I have had three bus errors and a segmentation 
fault!  SO far I haven't even been able to reply to an email.  Needless 
to say, Mozilla Mail does not have this level of problems for me.

I imported all my Mozilla setting when I first ran.
Anyone have similar problems or suggest how I can figure out what's 
going on?

Running FreeBSD 4.10 and XFree86 4.4.  XFree server package is a couple 
of minor revisions off latest, but everything else (gtk etc) fully 
up-to-date.

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


security logs being mailed to root

2005-03-04 Thread sn1tch
When I ran FBSD 5.2.1 I used to get the daily, weekly, and monthly
security logs and such mailed to root...now since I did a clean
install with 5.3 I no longer get anything, when I log in I have no
mail...what gives? I enjoyed reading them .. is there a way to get
that functionality back?


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


USB printing problem: /dev/ulpt0: device busy

2005-03-04 Thread Eugene Rogoza
Hello everybody,

I'm experiencing certain problems with USB printing. I have a Minolta
PagePro 1300W printer connected to USB port. FreeBSD 5.3 recognizes the
printer just fine and creates /dev/ulpt0 and /dev/unlpt0 device nodes.

But the simple test like

echo test  /dev/ulpt0 (or /dev/unlpt0) fails with the message
/dev/ulpt0: device busy. And, respectively, if simple tests fail, then
the complicated printing via ghostscript - filter - driver also
doesn't work.

I suppose some program uses the device already, but I don't know what it
can be - I'm not running lpd (device is busy either with lpd running or
not).

There isn't really much regarding this problem on the net. Usually
people have their USB printers working.

Any suggestions are appreciated.

Eugene Rogoza

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


freebsd raid problem

2005-03-04 Thread Sein_Schatten
hi.
i have installed freebsd on a partition on my hd. but i have a it8212 chip and 
4 devices plugged onto it and cant afford to have the hd with freebsd on ide0 
(ide12 are via it8212). i have to unplug all hds before freebsd is able to 
boot. if i have one hd on an ide with it8212 it has problems finding the 
kernel. and when i switch the hd back and use grub to point to the kernel the 
freebsd loader wont recognize the hd and wont boot.
i found this link 
http://www.xl0.org/FreeBSD/13-12-04.html#ite-it8212f-gigabyte-raid-controller-supported
is it possible with that to successfully boot freebsd? how to optain that 
source and use it? wont i have to patch the kernel?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sharing directories with jails

2005-03-04 Thread Viren Patel
 On Thursday 03 March 2005 05:23 pm, Ean Kingston wrote:
  On Thursday 03 March 2005 12:42 pm, Chris Hodgins
 wrote:

 [cut original question and answer]

  Ok perhaps I should clarify what my intentions are a
 little
  more. I am planning on providing a FreeBSD jail for
 any member
  of a geek society I am a member of.  When I say they
 are
  untrusted, I mean that I won't be giving them full
 root access
  to my server but I trust them enough not to do
 anything
  malicious inside a jail.  It is just like a fun place
 they can
  play and not have to worry to much about breaking
 things.
 
  How easy is it exactly to break out of a jail if you
 have access
  to development tools?
 
  http://www.securiteam.com/unixfocus/5WP031535U.html

 How current is this? The article appears to be dated
 2001. Are
 there still buffer-overflow issues with /proc?


 5.3 and later no longer need proc and it's not mounted by
 default.

  If you use securelevels you can a sigificantly improve
 security.

 --
 Anish Mistry


The jail manpage instructs to mount proc when starting a
jail and the /etc/rc.d/jail scripts mounts both devfs and
procfs. Are you saying this is not needed and if so why
and how to disable? Thanks.

--
Viren Patel


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


Re: expat portupgrade dies

2005-03-04 Thread Randy Schultz
On Thu, 3 Mar 2005, Paul Schmehl wrote:

-}--On Thursday, March 03, 2005 03:59:00 PM -0600 Randy Schultz 
-}[EMAIL PROTECTED] wrote:
-}
-} On a 5.3 system when I try to portupgrade some ports the portupgrade
-} dies on expat:
-}
-} I've tried doing a pkg_delete on the old expat, same effect.  Is there
-} a standard way to continue from this fail other than patching by hand?
-}
-}Try running make distclean in the expat2 ports directory.  Then run make 
-}install and see if it installs independently of portupgrade.

Ah, forgot to mention I had tried this with the same effect.

--
 Randy([EMAIL PROTECTED])  715-726-2832  *

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


Re: expat portupgrade dies

2005-03-04 Thread Randy Schultz
On Thu, 3 Mar 2005, Michael C. Shultz wrote:

-}On Thursday 03 March 2005 01:59 pm, Randy Schultz wrote:
-} On a 5.3 system when I try to portupgrade some ports the portupgrade
-} dies on expat:
-}   ---  Upgrading 'expat-1.95.6_1' to 'expat-1.95.8'
-} (textproc/expat2) ---  Building '/usr/ports/textproc/expat2'
-}   ===  Cleaning for libtool-1.3.5_2
-}   ===  Cleaning for expat-1.95.8
-}   ===  Vulnerability check disabled, database not found
-}   ===  Extracting for expat-1.95.8
-}
-}Checksum OK for expat-1.95.8.tar.gz.
-}
-}   ===  Patching for expat-1.95.8
-}   ===  Applying FreeBSD patches for expat-1.95.8
-}   1 out of 2 hunks failed--saving rejects to lib/expat.h.rej
-}
-}Patch patch-expat.h failed to apply cleanly.
-}Patch(es) patch-configure applied cleanly.
-}
-}   *** Error code 1
-}
-}   Stop in /usr/ports/textproc/expat2.
-}
-}
-} I've tried doing a pkg_delete on the old expat, same effect.  Is
-} there a standard way to continue from this fail other than patching
-} by hand?
-}
-}Make sure you first run make clean to get rid of old patched files,
-}then run make patch. If the patches still fail to apply then notify
-}the portmaintainer, if the patches apply then just continue with a
-}normal make install clean.

Hmm.  I did try to run the patch command by hand.  Hadn't tried the make patch. 
 
(stepping into a nearby phone booth...)

Ok.  Same issues.  I'll contact the port maintainer.

Tnx all for the pointers.

--
 Randy([EMAIL PROTECTED])  715-726-2832  *

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


Re: expat portupgrade dies

2005-03-04 Thread Michael C. Shultz
On Friday 04 March 2005 07:44 am, Randy Schultz wrote:
 On Thu, 3 Mar 2005, Michael C. Shultz wrote:

 -}On Thursday 03 March 2005 01:59 pm, Randy Schultz wrote:
 -} On a 5.3 system when I try to portupgrade some ports the
 portupgrade -} dies on expat:
 -}   ---  Upgrading 'expat-1.95.6_1' to 'expat-1.95.8'
 -} (textproc/expat2) ---  Building '/usr/ports/textproc/expat2'
 -}   ===  Cleaning for libtool-1.3.5_2
 -}   ===  Cleaning for expat-1.95.8
 -}   ===  Vulnerability check disabled, database not found
 -}   ===  Extracting for expat-1.95.8
 -}
 -}Checksum OK for expat-1.95.8.tar.gz.
 -}
 -}   ===  Patching for expat-1.95.8
 -}   ===  Applying FreeBSD patches for expat-1.95.8
 -}   1 out of 2 hunks failed--saving rejects to lib/expat.h.rej
 -}
 -}Patch patch-expat.h failed to apply cleanly.
 -}Patch(es) patch-configure applied cleanly.
 -}
 -}   *** Error code 1
 -}
 -}   Stop in /usr/ports/textproc/expat2.
 -}
 -}
 -} I've tried doing a pkg_delete on the old expat, same effect.  Is
 -} there a standard way to continue from this fail other than
 patching -} by hand?
 -}
 -}Make sure you first run make clean to get rid of old patched
 files, -}then run make patch. If the patches still fail to apply
 then notify -}the portmaintainer, if the patches apply then just
 continue with a -}normal make install clean.

 Hmm.  I did try to run the patch command by hand.  Hadn't tried the
 make patch. (stepping into a nearby phone booth...)

 Ok.  Same issues.  I'll contact the port maintainer.

 Tnx all for the pointers.

I just tried the patch target on my machine and it works so maybe
there is sum cruft still needs cleaning on yours.  One more suggestion:

rm -r /usr/ports/textproc/expat2
cd /usr/ports
make update (assuming you have this setup in make.conf otherwise run 
cvsup -g -L2 path-to-ports-supfile/ports-supfile)
cd /usr/ports/textproc/expat2
make clean; make patch

( sample output from my system)

[EMAIL PROTECTED]:~cd /usr/ports/textproc/expat2
[EMAIL PROTECTED]:/usr/ports/textproc/expat2make patch
===  Vulnerability check disabled
===  Extracting for expat-1.95.8
= Checksum OK for expat-1.95.8.tar.gz.
===  Patching for expat-1.95.8
===  Applying FreeBSD patches for expat-1.95.8
[EMAIL PROTECTED]:/usr/ports/textproc/expat2make clean
===  Cleaning for libtool-1.3.5_2
===  Cleaning for expat-1.95.8

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


Re: Sharing directories with jails

2005-03-04 Thread Anish Mistry
On Friday 04 March 2005 10:24 am, Viren Patel wrote:
  On Thursday 03 March 2005 05:23 pm, Ean Kingston wrote:
   On Thursday 03 March 2005 12:42 pm, Chris Hodgins
 
  wrote:
 
  [cut original question and answer]
 
   Ok perhaps I should clarify what my intentions are a
 
  little
 
   more. I am planning on providing a FreeBSD jail for
 
  any member
 
   of a geek society I am a member of.  When I say they
 
  are
 
   untrusted, I mean that I won't be giving them full
 
  root access
 
   to my server but I trust them enough not to do
 
  anything
 
   malicious inside a jail.  It is just like a fun place
 
  they can
 
   play and not have to worry to much about breaking
 
  things.
 
   How easy is it exactly to break out of a jail if you
 
  have access
 
   to development tools?
  
   http://www.securiteam.com/unixfocus/5WP031535U.html
 
  How current is this? The article appears to be dated
  2001. Are
  there still buffer-overflow issues with /proc?
 
  5.3 and later no longer need proc and it's not mounted by
  default.
 
   If you use securelevels you can a sigificantly improve
 
  security.
 
  --
  Anish Mistry

 The jail manpage instructs to mount proc when starting a
 jail and the /etc/rc.d/jail scripts mounts both devfs and
 procfs. Are you saying this is not needed and if so why
 and how to disable? Thanks.

The man page is bit out of date and needs to updated.  The jail script 
doesn't mount either dev or proc by default, and there should be no 
reason to mount /proc under normal conditions.  For your jail named 
jailname in rc.conf add the following to automatically mount devfs 
with the default jail ruleset:
jail_jailname_devfs_enable=YES
jail_jailname_devfs_ruleset=devfsrules_jail

-- 
Anish Mistry


pgpc6A7IVEx3T.pgp
Description: PGP signature


Re: pf seems to start late?

2005-03-04 Thread Giorgos Keramidas
On 2005-03-04 06:29, J.D. Bronson [EMAIL PROTECTED] wrote:
 Mar  4 06:15:11 sole kernel: Starting syslogd.
 Mar  4 06:15:11 sole kernel: Mar  4 06:15:11 sole syslogd: kernel boot file 
 is /boot/kernel/kernel
 Mar  4 06:15:11 sole kernel: Starting named.
 Mar  4 06:15:12 sole kernel: Setting date via ntp.
 Mar  4 06:15:15 sole kernel: 4 Mar 06:15:15 ntpdate[345]: step time server 
 x.x.x.x offset -0.534182 sec
 Mar  4 06:15:15 sole kernel: Clearing /tmp.
 Mar  4 06:15:16 sole kernel: ELF ldconfig path: /lib /usr/lib /usr/lib/compat 
 /usr/local/lib
 Mar  4 06:15:16 sole kernel: a.out ldconfig path: /usr/lib/aout 
 /usr/lib/compat/aout
 Mar  4 06:15:16 sole kernel: Enabling pflogd
 Mar  4 06:15:16 sole kernel: .
 Mar  4 06:15:16 sole kernel: Mar  4 06:15:16 sole kernel: pflog0: promiscuous 
 mode enabled
 Mar  4 06:15:16 sole kernel: Enabling pf.
 Mar  4 06:15:16 sole kernel: pf enabled

 Shouldn't PF start right after the interfaces come up?  The interface
 comes up and then NTP/NTPD start...and duing this time for 5secs or
 more there seems to be no pf runningwhy is this and why doesnt
 NTP/NTPD start AFTER pf is loaded up?

 I think under OpenBSD...pf loads before anything else network related
 to at least offer minimum protection.

 Am i missing something?  Ideally, I think pf should launch immediately
 after the ppp kernel fires.

That seems like a reasonable thing, yes.  The problem is very likely one
of rc.d dependencies.  IP Filter and IPFW seem to start before network
services, because their constraints state they should start before any
network interfaces or networking is brought up:

/etc/rc.d/ipfilter:

# PROVIDE: ipfilter
# REQUIRE: root mountcritlocal
# BEFORE:  netif
# KEYWORD: nojail

/etc/rc.d/ipfw:

# PROVIDE: ipfw
# REQUIRE: ppp-user
# BEFORE: NETWORKING
# KEYWORD: nojail

The constraints of /etc/rc.d/pf are a bit different, and they don't
enforce the start of pflog/pf before any interfaces are brought up.

Can you try the following patch to your /etc/rc.d/pf script and tell me
if it works for you or if it breaks anything important?

%%%
Index: pf
===
RCS file: /home/ncvs/src/etc/rc.d/pf,v
retrieving revision 1.6
diff -u -r1.6 pf
--- pf  25 Oct 2004 08:12:28 -  1.6
+++ pf  4 Mar 2005 16:39:03 -
@@ -5,7 +5,7 @@
 
 # PROVIDE: pf
 # REQUIRE: root mountcritlocal netif pflog
-# BEFORE:  DAEMON LOGIN
+# BEFORE:  netif
 # KEYWORD: nojail
 
 . /etc/rc.subr
Index: pflog
===
RCS file: /home/ncvs/src/etc/rc.d/pflog,v
retrieving revision 1.5
diff -u -r1.5 pflog
--- pflog   16 Jan 2005 03:12:03 -  1.5
+++ pflog   4 Mar 2005 16:40:21 -
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: pflog
-# REQUIRE: root mountcritlocal netif cleanvar
+# REQUIRE: root mountcritlocal cleanvar
 # BEFORE:  DAEMON LOGIN
 # KEYWORD: nojail
 
%%%
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2005-03-04 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2004/09/19 02:40:48 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2005-03-04 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


SATA RAID controllers

2005-03-04 Thread Steven King
Dear Sirs,
Does FreeBSD 4.1 support the Intel E7201 SATA Raid controller.

Best regards,

Steven King.
Technical Manager,
Pathfinder Telecom Limited.
+44 1202 587234 (Direct)
+44 7802 706931 (Mobile)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: security logs being mailed to root

2005-03-04 Thread exp
On Fri, Mar 04, 2005 at 08:59:45AM -0500, sn1tch wrote:
 When I ran FBSD 5.2.1 I used to get the daily, weekly, and monthly
 security logs and such mailed to root...now since I did a clean
 install with 5.3 I no longer get anything, when I log in I have no
 mail...what gives? I enjoyed reading them .. is there a way to get
 that functionality back?
 
 
 Thanks,
 Joe
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

5.3 also does this by default.  Are you sure your computer is turned on at the 
times these mails are sent, in /etc/crontab? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Audio latency

2005-03-04 Thread J.E. Dooper
Well, I guess it's a sound driver problem, because when i tried those 4front
OSS drivers ( http://www.opensound.com ) the latency was gone.

Why can 4front OSS function without latency and freebsd's drivers not?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Booting an iso image from HD for pre-burn testing on FreeBSD

2005-03-04 Thread [EMAIL PROTECTED]
(addendum to prior -questions inquiry)

I found a way using Bochs (bochs.sourceforge.net). It will boot an iso image as 
will vmware 4.5 (others?).

I have however run into a hiccup. 4.x will boot, 5.x won't. I've submitted it 
as a possilbe bug to the
bochs bug tracker. If anyone in the freebsd devel community might have input 
it's very much appreciated. 

I tested the FreeBSD port as well as the Windows port of Bochs and used the 
release distros I've been
collecting to make sure it wasn't a problem with my FreeSBIE image... same 
result. The 5.x cd boot isn't
working in Bochs...

...unless I'm doing something wrong which is certainly possible, if not likely.

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


ftp monitoring and limiting transfer rates

2005-03-04 Thread Frank Staals
Hey everyone, I have a question:
I am running FreeBSD 5.3 with the default ftp-server ( ftpd ) as ftp 
deamon, everything works fine but I'd like to see what files peolpe are 
trying to download and when people log in. I would like I can get a html 
file which I can access on my httpd server. I know I can see who is 
loggin in by : tail -f /var/log/xferlog but that doesn't show what files 
are being transfered.

My second question is about bandwith managing. How can I limit the 
ftp-transfer speeds that are used for downloading when people connect 
over rl1, my NIC which is connected to my modem and the internet. I am 
running pf for my firewalling and allready tried this in /etc/pf.conf:

# assign packets to a queue.
pass  out on $ext_if from localhost to any port { 20, 21 } keep state 
queue ftp

##altq on $ext_if bandwidth 2Mb cbq queue { dflt, developers, marketing }
##queue dflt bandwidth 5% cbq(default)
##queue developers bandwidth 80%
##queue marketing  bandwidth 15%
altq on $ext_if bandwith 60Kb cbq queue { dflt, ftp }
queue dflt   bandwith 70%
queue ftpbandwith 30%
but this doesn't seem to work.
Thanks in advance for checking this e-mail
Frank Staals
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf seems to start late?

2005-03-04 Thread Giorgos Keramidas
On 2005-03-04 18:41, Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2005-03-04 06:29, J.D. Bronson [EMAIL PROTECTED] wrote:
 Mar  4 06:15:11 sole kernel: Starting syslogd.
 Mar  4 06:15:11 sole kernel: Mar  4 06:15:11 sole syslogd: kernel boot file 
 is /boot/kernel/kernel
 Mar  4 06:15:11 sole kernel: Starting named.
 Mar  4 06:15:12 sole kernel: Setting date via ntp.
 Mar  4 06:15:15 sole kernel: 4 Mar 06:15:15 ntpdate[345]: step time server 
 x.x.x.x offset -0.534182 sec
 Mar  4 06:15:15 sole kernel: Clearing /tmp.
 Mar  4 06:15:16 sole kernel: ELF ldconfig path: /lib /usr/lib 
 /usr/lib/compat /usr/local/lib
 Mar  4 06:15:16 sole kernel: a.out ldconfig path: /usr/lib/aout 
 /usr/lib/compat/aout
 Mar  4 06:15:16 sole kernel: Enabling pflogd
 Mar  4 06:15:16 sole kernel: .
 Mar  4 06:15:16 sole kernel: Mar  4 06:15:16 sole kernel: pflog0: 
 promiscuous mode enabled
 Mar  4 06:15:16 sole kernel: Enabling pf.
 Mar  4 06:15:16 sole kernel: pf enabled

 Shouldn't PF start right after the interfaces come up? [...]
 [...]
 Can you try the following patch to your /etc/rc.d/pf script and tell me
 if it works for you or if it breaks anything important?

 %%%
 Index: pf
 ===
 RCS file: /home/ncvs/src/etc/rc.d/pf,v
 retrieving revision 1.6
 diff -u -r1.6 pf
 --- pf25 Oct 2004 08:12:28 -  1.6
 +++ pf4 Mar 2005 16:39:03 -
 @@ -5,7 +5,7 @@

  # PROVIDE: pf
  # REQUIRE: root mountcritlocal netif pflog
 -# BEFORE:  DAEMON LOGIN
 +# BEFORE:  netif
  # KEYWORD: nojail

  . /etc/rc.subr
 Index: pflog
 ===
 RCS file: /home/ncvs/src/etc/rc.d/pflog,v
 retrieving revision 1.5
 diff -u -r1.5 pflog
 --- pflog 16 Jan 2005 03:12:03 -  1.5
 +++ pflog 4 Mar 2005 16:40:21 -
 @@ -4,7 +4,7 @@
  #

  # PROVIDE: pflog
 -# REQUIRE: root mountcritlocal netif cleanvar
 +# REQUIRE: root mountcritlocal cleanvar
  # BEFORE:  DAEMON LOGIN
  # KEYWORD: nojail

 %%%

Just in case anyone else tries using this, please try a version that
doesn't introduce a circular dependency of pf - netif - pf:

%%%
Index: pf
===
RCS file: /home/ncvs/src/etc/rc.d/pf,v
retrieving revision 1.6
diff -u -r1.6 pf
--- pf  25 Oct 2004 08:12:28 -  1.6
+++ pf  4 Mar 2005 17:07:57 -
@@ -4,8 +4,8 @@
 #
 
 # PROVIDE: pf
-# REQUIRE: root mountcritlocal netif pflog
-# BEFORE:  DAEMON LOGIN
+# REQUIRE: root mountcritlocal pflog
+# BEFORE:  netif
 # KEYWORD: nojail
 
 . /etc/rc.subr
Index: pflog
===
RCS file: /home/ncvs/src/etc/rc.d/pflog,v
retrieving revision 1.5
diff -u -r1.5 pflog
--- pflog   16 Jan 2005 03:12:03 -  1.5
+++ pflog   4 Mar 2005 17:09:37 -
@@ -4,8 +4,8 @@
 #
 
 # PROVIDE: pflog
-# REQUIRE: root mountcritlocal netif cleanvar
-# BEFORE:  DAEMON LOGIN
+# REQUIRE: root mountcritlocal cleanvar
+# BEFORE:  DAEMON LOGIN pf
 # KEYWORD: nojail
 
 . /etc/rc.subr
%%%
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp monitoring and limiting transfer rates

2005-03-04 Thread Freminlins
On Fri, 04 Mar 2005 18:26:26 +0100, Frank Staals [EMAIL PROTECTED] wrote:
 Hey everyone, I have a question:
 
 I am running FreeBSD 5.3 with the default ftp-server ( ftpd ) as ftp
 deamon, everything works fine but I'd like to see what files peolpe are
 trying to download and when people log in. I would like I can get a html
 file which I can access on my httpd server. I know I can see who is
 loggin in by : tail -f /var/log/xferlog but that doesn't show what files
 are being transfered.

Have a look at the man page for ftpd, specifcally -l. The answer is there.

 My second question is about bandwith managing. How can I limit the
 ftp-transfer speeds that are used for downloading when people connect
 over rl1, my NIC which is connected to my modem and the internet. I am
 running pf for my firewalling and allready tried this in /etc/pf.conf:

I haven't used pf, but using ipfw this is simple enough. Check out the
man page for ipfw, the dummynet section.
 
 Frank Staals


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


Re: Are quotas possbile on md filesystems?

2005-03-04 Thread Michael R. Wayne
On Thu, 03 Mar 2005 16:53:19 -0500, Michael R. Wayne [EMAIL PROTECTED] wrote:
 
 Is it possible to use quotas on file-backed md filesystems
 on 5.3?  I was guessing that a line in fstab like:

OK, I see the error in my ways.  My goal is to use file-based
filesystems that are preserved acoss boots.  vnconfig says to
use mdconfig, the handbook suggests that the method I used is 
correct.  But everything is cleared on reboot, which is not 
what I was looking for.

So, what IS the correct way to create and use file-based file
systems? 

And, can I put quotas on them?

/\/\ \/\/

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


Re: Vinum raid5 problems......

2005-03-04 Thread matt virus
Greg 'groggy' Lehey wrote:
On Thursday,  3 March 2005 at 15:35:31 -0600, matt virus wrote:
Hi all:
I have a FBSD 5.2.1 box running vinum.  7 *160gb drives in a raid5 array.
I can post specific errors and logs and such later, i'm away from the
box right now --- anybody have any thoughts ?

How about http://www.vinumvm.org/vinum/how-to-debug.html?
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
freebsd 5.2.1
specific problems:
1) a post-mount FSCK causes a kernel panic
2) an FSCK from single user mode errors with cannot allocate  
bytes for inphead
3) in single user mode, the array will mount and do a small fsck - 
recalculate the superblock, and then allow me to traverse the array. 
When i try to access files on the array, i get an error :
null rqg

zero source changes
Vinum List:
vinum - list
7 drives:
D d7   State: up   /dev/ad11s1dA: 0/156327 MB (0%)
D d6   State: up   /dev/ad10s1dA: 0/156327 MB (0%)
D d5   State: up   /dev/ad8s1d A: 0/156327 MB (0%)
D d4   State: up   /dev/ad7s1d A: 0/156327 MB (0%)
D d3   State: up   /dev/ad6s1d A: 0/156327 MB (0%)
D d2   State: up   /dev/ad5s1d A: 0/156327 MB (0%)
D d1   State: up   /dev/ad4s1d A: 0/156327 MB (0%)
1 volumes:
V raid5State: up   Plexes:   1 Size:915 GB
1 plexes:
P raid5.p0  R5 State: up   Subdisks: 7 Size:915 GB
7 subdisks:
S raid5.p0.s0  State: up   D: d1   Size:152 GB
S raid5.p0.s1  State: up   D: d2   Size:152 GB
S raid5.p0.s2  State: up   D: d3   Size:152 GB
S raid5.p0.s3  State: up   D: d4   Size:152 GB
S raid5.p0.s4  State: up   D: d5   Size:152 GB
S raid5.p0.s5  State: up   D: d6   Size:152 GB
S raid5.p0.s6  State: up   D: d7   Size:152 GB
Vinum log extract:
A few days ago, the array was mucked -- i saw one of subdisks was 
down...here's the log from that incident

2 Mar 2005 21:46:22.721677 *** vinum started ***
 2 Mar 2005 21:46:25.871262 list
 2 Mar 2005 21:46:28.935388 start
 2 Mar 2005 21:46:31.153046 list
 2 Mar 2005 21:46:46.616922 start raid5.p0.s6
 2 Mar 2005 21:46:49.949753 quit
Other than that - there is nothing of particular note in the vinum 
history - the entire file can be supplied if need be.

Kernel dumps will be supplied later today or tomorrow - i'm not going to 
load up and dump the raid5 array for fear of further corruption.  I'm 
gathering hardware to make an image of it onto a hardware raid5 
controller and see if i can salvage it from there.

If you need more, say the word.  The kernel dumps will come soon

--
Matt Virus (veer-iss)
http://www.mattvirus.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: any ideas why these xorg hassles???

2005-03-04 Thread Gary Kline
On Fri, Mar 04, 2005 at 01:52:01AM -0800, Michael C. Shultz wrote:
 On Friday 04 March 2005 01:34 am, Michael C. Shultz wrote:
 
  I'm running portmanager on a test system to see if it is able to
  switch between XFree86 and xorg, if it is all you need due is make
  the change in make.conf then run portmanager -u.  I'll know in an
  hour or so the results.
 
  -Mike
 
 
 It works, test passed.  If you change X_WINDOW_SYSTEM= in make.conf
 and as soon as portmanager -u finds any one port that depends on
 X and needs upgrading it will switch everthing to what ever version you 
 have selected with X_WINDOW_SYSTEM=.  This will take a while if you 
 have a lot of X related ports installed
 
 

*Urk*.  Well, there's not that much Xware on my DNS server  
(the KAyak), there's a truckload on the other machine.

Thanks for the datapoint and your testing!

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


root: /etc/rc: WARNING: Setting entropy source to blocking mode

2005-03-04 Thread Bruce Rohde
I can't get ssh to work 

Does this have anything to do with it?

root: /etc/rc: WARNING: Setting entropy source to blocking mode


Thanks,
Bruce Rohde
713-818-1381




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


Re: any ideas why these xorg hassles???

2005-03-04 Thread Gary Kline
On Fri, Mar 04, 2005 at 02:38:28AM -0800, Michael C. Shultz wrote:
 On Friday 04 March 2005 01:52 am, Michael C. Shultz wrote:

[[  ]]

 
 I have to add one thing, the meta port if installed for the old X 
 version needs to be manually removed first.
 

I'm pretty sure I followed UPDATING exactly and just used
x11/xorg.  So I type pkg_delete -f x11/xorg, correct?
What about imake-6?  (to get back to -4)?

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: any ideas why these xorg hassles???

2005-03-04 Thread Gary Kline
On Fri, Mar 04, 2005 at 12:03:34PM -0500, Chris Shenton wrote:
 Gary Kline [EMAIL PROTECTED] writes:
 
  Another couple things.  With XFree, I set the DefaultDepth'
  to 8; now, on both computers it is maxed out at 16.  If I
  do set the default depth to 8, xdm fails.  (It tries to'
  initialize, then something clicks/resets, the screen
  flashes grey for an instant; repeats infinitely.)  
 
 I'm on 5.4-PRERELEASE#15 built last evening, running Xorg-6.8.1, and
 noticed the same click-crash-burn-repeat when I dropped from 24 or 16
 to 8 bits.  No idea why, I was trying to be conservative to test
 something else.  Was fine when I set it back to 16 or 24.

AHHH.  Samw symptons, different day.  I first used 
startx to get my ye-ancient twm window manager,  and 
startx works at 8 bits.  But the screen still shimmies/quivers
or whatever.  But only if I use cc to build a large port
or if I mess around with some GUI app.

gary

PS:  If XFree is to staid or slow-to-change, xorg is
 tearing exactly the other way.  My $0.02 worth.


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: any ideas why these xorg hassles???

2005-03-04 Thread Michael Shultz
This report relates to a message you sent with the following header fields:

  Message-id: [EMAIL PROTECTED]
  Date: Fri, 04 Mar 2005 10:10:23 -0800
  From: Michael C. Shultz [EMAIL PROTECTED]
  To: Gary Kline [EMAIL PROTECTED]
  Subject: Re: any ideas why these xorg hassles???

Your message cannot be delivered to the following recipients:

  Recipient address: freebsd-questions@freebsd.org
  Reason: Remote SMTP server has rejected address
  Diagnostic code: smtp;554 Service unavailable; Client host
[206.46.252.40] blocked using bl.spamcop.net; Blocked - see
http://www.spamcop.net/bl.shtml?206.46.252.40
  Remote system: dns;mx1.freebsd.org
(TCP|206.46.252.40|32937|216.136.204.125|25) (mx1.FreeBSD.org ESMTP
Postfix [Postfix Rules!])

unnamed


Encapsulated message


 
Re: any ideas why these xorg hassles???
 


From: 
Michael C. Shultz [EMAIL PROTECTED]


To: 
Gary Kline [EMAIL PROTECTED]


CC: 
freebsd-questions@freebsd.org


Date: 
Today 10:10:23 am


On Friday 04 March 2005 10:03 am, you wrote:
 On Fri, Mar 04, 2005 at 02:38:28AM -0800, Michael C. Shultz wrote:
  On Friday 04 March 2005 01:52 am, Michael C. Shultz wrote:

   [[  ]]

  I have to add one thing, the meta port if installed for the old X
  version needs to be manually removed first.

   I'm pretty sure I followed UPDATING exactly and just used
   x11/xorg.  So I type pkg_delete -f x11/xorg, correct?
   What about imake-6?  (to get back to -4)?

   gary

pkg_delete -f x11/xorg* is probably better.  Once you do this
just run portmanager -u, after it is finished anything it was unable
to update let me know about.

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


Re: security logs being mailed to root

2005-03-04 Thread sn1tch
On Fri, 4 Mar 2005 12:08:41 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 On Fri, Mar 04, 2005 at 08:59:45AM -0500, sn1tch wrote:
  When I ran FBSD 5.2.1 I used to get the daily, weekly, and monthly
  security logs and such mailed to root...now since I did a clean
  install with 5.3 I no longer get anything, when I log in I have no
  mail...what gives? I enjoyed reading them .. is there a way to get
  that functionality back?
 
 
  Thanks,
  Joe
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 5.3 also does this by default.  Are you sure your computer is turned on at 
 the times these mails are sent, in /etc/crontab?

Yes this is my webserver and is running 24/7 .. and there are no
crontab entries for it but I wasnt aware that crontab needed to start
this up, I figured it was automatic.


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


Re: Found This In /usr - @LongLink

2005-03-04 Thread James A. Coulter
Eric F Crist wrote:
James,
I'm not trying to be rude, but a 30 second search through Google results 
for @LongLink turned up the following entry (on the first results page):

Eric,
You are correct and I did exactly that 30 seconds after hitting on the 
send button on that e-mail.

Sorry - I'm a newbie, *nix is still a very strange and wonderous 
creature to me, and sometimes in my excitement I forget my mailing list 
ettiquette.

To all the other newbies out there: Google and the FreeBSD handbook are 
our best friends.

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


Re: security logs being mailed to root

2005-03-04 Thread Michael C. Shultz
On Friday 04 March 2005 10:18 am, sn1tch wrote:
 On Fri, 4 Mar 2005 12:08:41 -0500, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:
  On Fri, Mar 04, 2005 at 08:59:45AM -0500, sn1tch wrote:
   When I ran FBSD 5.2.1 I used to get the daily, weekly, and
   monthly security logs and such mailed to root...now since I did a
   clean install with 5.3 I no longer get anything, when I log in I
   have no mail...what gives? I enjoyed reading them .. is there a
   way to get that functionality back?
  
  
   Thanks,
   Joe
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  5.3 also does this by default.  Are you sure your computer is
  turned on at the times these mails are sent, in /etc/crontab?

 Yes this is my webserver and is running 24/7 .. and there are no
 crontab entries for it but I wasnt aware that crontab needed to start
 this up, I figured it was automatic.

Just out of curiosity, you did run mergemaster correct?

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


Re: security logs being mailed to root

2005-03-04 Thread epilogue
On Fri, 4 Mar 2005 12:08:41 -0500
[EMAIL PROTECTED] wrote:

 On Fri, Mar 04, 2005 at 08:59:45AM -0500, sn1tch wrote:
  When I ran FBSD 5.2.1 I used to get the daily, weekly, and monthly
  security logs and such mailed to root...now since I did a clean
  install with 5.3 I no longer get anything, when I log in I have no
  mail...what gives? I enjoyed reading them .. is there a way to get
  that functionality back?


yet another possibility is that you have chosen not to build sendmail.
if such is the case, you must either properly configure your MTA to
handle this responsibility OR send the desired output directly to logs.

for the former, i believe that the freebsd.org/handbook is a good
reference.

for the later, the following thread should get you started.

http://lists.freebsd.org/pipermail/freebsd-questions/2004-September/059687.html


 5.3 also does this by default.  Are you sure your computer is turned
 on at the times these mails are sent, in /etc/crontab? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: security logs being mailed to root

2005-03-04 Thread Kevin Kinsey
[EMAIL PROTECTED] wrote:
On Fri, Mar 04, 2005 at 08:59:45AM -0500, sn1tch wrote:
 

When I ran FBSD 5.2.1 I used to get the daily, weekly, and monthly
security logs and such mailed to root...now since I did a clean
install with 5.3 I no longer get anything, when I log in I have no
mail...what gives? I enjoyed reading them .. is there a way to get
that functionality back?
Thanks,
Joe
   

5.3 also does this by default.  Are you sure your computer 
is turned on at the times these mails are sent, in /etc/crontab? 
 

And ...
If the logs and such exist, then syslogd is probably OK.  Otherwise
check syslogd first.
Next, make sure that crond is running.  Don't know why it wouldn't
be, be might as well check.
Then, check sendmail.  Depending on settings, this might be the
issue.  If syslogd is working as expected, you should find a note
in /var/mail/maillog (about 3:0x a.m. system time) that shows a mail
going to [EMAIL PROTECTED].
Which brings us to /etc/mail/aliases.  Is the alias for root pointing
to your email address?
I'm sure there's stuff I may have missed as well, but here's the start
of a debug checklist.
HTH,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


multible networks routing over vpn tunnel

2005-03-04 Thread thomas may
hello,
 
i have two private network segments, 192.168.0.x and 192.168.1.x connected
over a VPN Tunnel, freebsd, racoon and ipsec.
on one site we want to add a new network segment 192.168.3.x
 
is this possible and how is the correct syntax ?
 
this is what i have done:
 
gifconfig gif0 A.B.C.D W.X.Y.Z
ifconfig gif0 inet 192.168.1.1 192.168.2.1 netmask 255.255.255.0

# gifconfig gif0
gif0: flags=8011UP,POINTTOPOINT,MULTICAST mtu 1280
inet 192.168.0.1 -- 192.168.1.1 netmask 0x
physical address inet A.B.C.D -- W.X.Y.Z

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


Re: ip forward and pf

2005-03-04 Thread Shantanoo Mahajan
+++ J.D. Bronson [freebsd] [02-03-05 16:57 -0600]:
| net.inet.ip.fastforwarding
| or
| net.inet.ip.forwarding

AFAIK, its net.inet.ip.forwarding

| 
| 
| Can someone tell me which is appropriate when FreeBSD 5.4-PRE is used as a 
| router running pf with built in NAT ?
| 
| And what is the difference on these 2 options?
| 
| Lastly, do I still need to set
| gateway_enable=YES ?
| (or does that do the same thing as sysctl commands above)

Yes. Its the same thing.


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


Re: security logs being mailed to root

2005-03-04 Thread sn1tch
On Fri, 04 Mar 2005 12:34:36 -0600, Kevin Kinsey [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 
 On Fri, Mar 04, 2005 at 08:59:45AM -0500, sn1tch wrote:
 
 
 When I ran FBSD 5.2.1 I used to get the daily, weekly, and monthly
 security logs and such mailed to root...now since I did a clean
 install with 5.3 I no longer get anything, when I log in I have no
 mail...what gives? I enjoyed reading them .. is there a way to get
 that functionality back?
 
 
 Thanks,
 Joe
 
 
 5.3 also does this by default.  Are you sure your computer
 is turned on at the times these mails are sent, in /etc/crontab?
 
 
 
 And ...
 
 If the logs and such exist, then syslogd is probably OK.  Otherwise
 check syslogd first.
 
 Next, make sure that crond is running.  Don't know why it wouldn't
 be, be might as well check.
 
 Then, check sendmail.  Depending on settings, this might be the
 issue.  If syslogd is working as expected, you should find a note
 in /var/mail/maillog (about 3:0x a.m. system time) that shows a mail
 going to [EMAIL PROTECTED].
 
 Which brings us to /etc/mail/aliases.  Is the alias for root pointing
 to your email address?
 
 I'm sure there's stuff I may have missed as well, but here's the start
 of a debug checklist.
 
 HTH,
 
 Kevin Kinsey

Crontab doesnt have any listings and rc.conf shows this...

sendmail_enable=NONE
syslogd_flags=-ss

and in /etc/periodic there are dail weekly monthly and security
folders. I chose not to build sendmail at all, or any type of mail
server for that matter, but why would that affect it because a friend
of mine has a fresh install of 5.3 and he gets the logs, no problems.
Would a specific option in a custom kernel cause it to not send.

syslog.conf shows

security.*  /var/log/security

is there anything else I can show you guys/girls to help out?

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


CGI script executing and Apache help

2005-03-04 Thread Shawn B
I am running FreeBSD-4.8 with Apache 1.3 installed. I
changed the htdocs directory in httpd.conf to
/home/user1/public_html/ and I added a /cgi-bin/ in
the same user directory. Scripts will not execute from
the cgi-bin, as the scripts contents are displayed in
the browser window. I went through httpd.conf using
the search feature in Easy Editor, editing sections
that have .cgi in it. Now, I am stumped as to how to
get the CGI scripts to execute.


Thanks,

Shawn B.
FreeBSD newbie

__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/english/battlepainters

2005-03-04 Thread Aftab Jahan Subedar
Hi,
Today I found a attack on me web server trying to get into that url.
Anyone knows anything about the actual
i. target about that attack ?
ii. accomplish software installed in the server from port ?
Thank you
Aftab Jahan Subedar
http://www.tucows.com/preview/379868.html - Kayoty ,my Spyware detector
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CGI script executing and Apache help

2005-03-04 Thread sn1tch
Try adding this

/Directory
ScriptAlias /cgi-bin/ /home/user/site/public_html/cgi-bin/



On Fri, 4 Mar 2005 14:36:04 -0500 (EST), Shawn B [EMAIL PROTECTED] wrote:
 I am running FreeBSD-4.8 with Apache 1.3 installed. I
 changed the htdocs directory in httpd.conf to
 /home/user1/public_html/ and I added a /cgi-bin/ in
 the same user directory. Scripts will not execute from
 the cgi-bin, as the scripts contents are displayed in
 the browser window. I went through httpd.conf using
 the search feature in Easy Editor, editing sections
 that have .cgi in it. Now, I am stumped as to how to
 get the CGI scripts to execute.
 
 Thanks,
 
 Shawn B.
 FreeBSD newbie
 
 __
 Post your free ad now! http://personals.yahoo.ca
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


Moving a directory hierarchy - best practice?

2005-03-04 Thread Joachim Dagerot

I have spent 20 minutes or so googling around to find the best way to _move_ a 
complete directory hierarchy. But must admitt that I haven't foundmany good 
answers.

The best suggestion was from 
http://badgertronics.com/knowledge/one.adp?parent=25:

To move /tmp/blarg to /var:
% cd /tmp
% tar cvf - blarg | (cd /var; tar xf -)


I bet there must be atleast one utils like a binary named mvdir or similar 
that simply taked two directory names as argument. But I can't find any.

How do you guys move around your directory structures from prompt?

//J



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


Re: Moving a directory hierarchy - best practice?

2005-03-04 Thread Sebastian
 I have spent 20 minutes or so googling around to find the best way to
 _move_ a complete directory hierarchy. But must admitt that I haven't
 foundmany good answers.

 The best suggestion was from
 http://badgertronics.com/knowledge/one.adp?parent=25:

 To move /tmp/blarg to /var:
 % cd /tmp
 % tar cvf - blarg | (cd /var; tar xf -)


 I bet there must be atleast one utils like a binary named mvdir or
 similar that simply taked two directory names as argument. But I can't
 find any.

 How do you guys move around your directory structures from prompt?

 //J

I use:

Quick and dirty:
$ mv /tmp/blarg /var/blarg

If it's really important stuff:
$ rsync -a /tmp/blarg /var/
$ rm -rf /tmp/blarg

I'm interested to hear others' methods.



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


Re: /boot like linux!

2005-03-04 Thread Jesse Guardiani
Anthony Atkielski wrote:

 Jesse Guardiani writes:
 
 Then why doesn't sysinstall enable soft updates on the root FS by
 default?
 
 Because the root is not often written, and any data loss on the root is
 likely to have more negative effects than on other directories (often it
 would be something like a kernel rebuild). So sysinstall turns it off by
 default for the root. But you can turn it on if you want to.
 
 I don't. It hasn't worked well in the past.
 
 Soft updates has been improved in recent releases.  It is now designed
 to physically write data back to the disk in a way that keeps the
 directory coherent (if not necessarily up to date) at all times.

How recent are we talking about?

I'm about to try softupdates on a giant root partition simply because
everyone keeps telling me that it should work fine. My data is currently
backed up, so I have nothing to lose. And I can test your theories.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Moving a directory hierarchy - best practice?

2005-03-04 Thread Giorgos Keramidas
On 2005-03-04 21:35, Joachim Dagerot [EMAIL PROTECTED] wrote:

 I have spent 20 minutes or so googling around to find the best way to
 _move_ a complete directory hierarchy. But must admitt that I haven't
 foundmany good answers.

 The best suggestion was from
 http://badgertronics.com/knowledge/one.adp?parent=25:

 To move /tmp/blarg to /var:
 % cd /tmp
 % tar cvf - blarg | (cd /var; tar xf -)

 I bet there must be atleast one utils like a binary named mvdir or
 similar that simply taked two directory names as argument. But I can't
 find any.

 How do you guys move around your directory structures from prompt?

I have used the following many times, with very good results:

# cd /source/path
# find . | cpio -p -dmvu /destination/dir

The pass through mode of cpio(1) works on at least the following
systems that I have used it:

- Linux
- BSD
- Solaris

The first two use GNU cpio(1).  The second uses the system cpio(1),
at least in the versions I have used.

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


Weird mouse error

2005-03-04 Thread Florian Hengstberger
After a kernel compile to add nat support my mouse is moving very,very
slowly on both the X-Server and the console.
Everything was fine before I decided to reduce my kernels size by
commenting out a number of options supporting hardware I don't own.
I commented out another options, which seemed to be of no importance
to be. Anyway, something is going wrong!
The fine kernelconf (KERNEL-04032005) and the bad one 
(KERNEL-05032005) are attached.

Additional my /etc/rc.conf:

hostname=lazarus.home
ifconfig_sis0=inet 62.116.56.107  netmask 255.255.255.128
ifconfig_vr0=inet 192.168.0.1 netmask 255.255.255.0
defaultrouter=62.116.56.1

firewall_enable=YES
firewall_script=/etc/rc.firewall
firewall_type=/etc/myfirewall.conf
firewall_quiet=NO
firewall_logging=YES
tcp_drop_synfin=YES
imcp_drop_redirect=YES

sshd_enable=YES
ntpdate_enable=YES
ntpdate_flags=-b

Thanks for any hints!
Florian


KERNEL-05042005
Description: Binary data


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


Re: Moving a directory hierarchy - best practice?

2005-03-04 Thread Ean Kingston

 I have spent 20 minutes or so googling around to find the best way to
 _move_ a complete directory hierarchy. But must admitt that I haven't
 foundmany good answers.

 The best suggestion was from
 http://badgertronics.com/knowledge/one.adp?parent=25:

 To move /tmp/blarg to /var:
 % cd /tmp
 % tar cvf - blarg | (cd /var; tar xf -)


 I bet there must be atleast one utils like a binary named mvdir or
 similar that simply taked two directory names as argument. But I can't
 find any.

 How do you guys move around your directory structures from prompt?

 //J

 I use:

 Quick and dirty:
 $ mv /tmp/blarg /var/blarg

 If it's really important stuff:
 $ rsync -a /tmp/blarg /var/
 $ rm -rf /tmp/blarg

 I'm interested to hear others' methods.

someone else posted the cpio method so I'll skip that.

I've been know to use dump and restore when the data was especially
fragile but usually go with the mv command.

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: Moving a directory hierarchy - best practice?

2005-03-04 Thread Joachim Dagerot

Thanks for your suggestion. 

Unfortunately your commands will not affect the root folder of the hierarchy. I 
must create a directory in the destination path with the same name of the 
folder where my data is in. example:

/home/user/level1/l2/l3/l4

I would like to move level1 to a new location:

mvdir /home/user/level1 /root/


That would be awsome!


 The best suggestion was from
 http://badgertronics.com/knowledge/one.adp?parent=25:

 To move /tmp/blarg to /var:
 % cd /tmp
 % tar cvf - blarg | (cd /var; tar xf -)

 I bet there must be atleast one utils like a binary named mvdir or
 similar that simply taked two directory names as argument. But I can't
 find any.

 How do you guys move around your directory structures from prompt?

I have used the following many times, with very good results:

   # cd /source/path
   # find . | cpio -p -dmvu /destination/dir




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


Re: Moving a directory hierarchy - best practice?

2005-03-04 Thread Pat Maddox
What's wrong with a 
%mv /home/user/level1 /
%mv /level1 /root


On Fri, 4 Mar 2005 22:13:05 +0100, Joachim Dagerot [EMAIL PROTECTED] wrote:
 
 Thanks for your suggestion.
 
 Unfortunately your commands will not affect the root folder of the hierarchy. 
 I must create a directory in the destination path with the same name of the 
 folder where my data is in. example:
 
 /home/user/level1/l2/l3/l4
 
 I would like to move level1 to a new location:
 
 mvdir /home/user/level1 /root/
 
 That would be awsome!
 
 
  The best suggestion was from
  http://badgertronics.com/knowledge/one.adp?parent=25:
 
  To move /tmp/blarg to /var:
  % cd /tmp
  % tar cvf - blarg | (cd /var; tar xf -)
 
  I bet there must be atleast one utils like a binary named mvdir or
  similar that simply taked two directory names as argument. But I can't
  find any.
 
  How do you guys move around your directory structures from prompt?
 
 I have used the following many times, with very good results:
 
# cd /source/path
# find . | cpio -p -dmvu /destination/dir
 
 ___
 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: Moving a directory hierarchy - best practice?

2005-03-04 Thread Pat Maddox
Or even in one command...
% mv /home/user/level1 /root/


On Fri, 4 Mar 2005 14:29:57 -0700, Pat Maddox [EMAIL PROTECTED] wrote:
 What's wrong with a
 %mv /home/user/level1 /
 %mv /level1 /root
 
 
 On Fri, 4 Mar 2005 22:13:05 +0100, Joachim Dagerot [EMAIL PROTECTED] wrote:
 
  Thanks for your suggestion.
 
  Unfortunately your commands will not affect the root folder of the 
  hierarchy. I must create a directory in the destination path with the same 
  name of the folder where my data is in. example:
 
  /home/user/level1/l2/l3/l4
 
  I would like to move level1 to a new location:
 
  mvdir /home/user/level1 /root/
 
  That would be awsome!
 
 
   The best suggestion was from
   http://badgertronics.com/knowledge/one.adp?parent=25:
  
   To move /tmp/blarg to /var:
   % cd /tmp
   % tar cvf - blarg | (cd /var; tar xf -)
  
   I bet there must be atleast one utils like a binary named mvdir or
   similar that simply taked two directory names as argument. But I can't
   find any.
  
   How do you guys move around your directory structures from prompt?
  
  I have used the following many times, with very good results:
  
 # cd /source/path
 # find . | cpio -p -dmvu /destination/dir
 
  ___
  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: Moving a directory hierarchy - best practice?

2005-03-04 Thread Giorgos Keramidas
On 2005-03-04 22:13, Joachim Dagerot [EMAIL PROTECTED] wrote:

 Thanks for your suggestion.

You're welcome, but *please* do not post replies _before_ the text to
which you reply.  It's extremely annoying to read the reply then.

 The best suggestion was from
 http://badgertronics.com/knowledge/one.adp?parent=25:

 To move /tmp/blarg to /var:
 % cd /tmp
 % tar cvf - blarg | (cd /var; tar xf -)
 [...]
 How do you guys move around your directory structures from prompt?

I have used the following many times, with very good results:

  # cd /source/path
  # find . | cpio -p -dmvu /destination/dir

 Unfortunately your commands will not affect the root folder of the
 hierarchy.

I'm not sure I understand what you mean by affect the root folder.

 I must create a directory in the destination path with the same name
 of the folder where my data is in. example:

 /home/user/level1/l2/l3/l4

 I would like to move level1 to a new location:

 mvdir /home/user/level1 /root/

 That would be awsome!

You can do the moving in two steps:

1. Copy the directory level1 to /root/level1
2. Delete the original.

These steps can easily be done with:

1.  # cd /home/user/level1
# find . | cpio -p -dmvu /root/level1

2.  # cd /home/user
# rm -fr level1

The -dmu options to cpio are important.
See the cpio manpage for details.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Moving a directory hierarchy - best practice?

2005-03-04 Thread Joachim Dagerot

Doesn't work for me:

- No such file or directory



What's wrong with a 
%mv /home/user/level1 /
%mv /level1 /root


On Fri, 4 Mar 2005 22:13:05 +0100, Joachim Dagerot [EMAIL PROTECTED] wrote:
 
 Thanks for your suggestion.
 
 Unfortunately your commands will not affect the root folder of the 
 hierarchy. I must create a directory in the destination path with the same 
 name of the folder where my data is in. example:
 
 /home/user/level1/l2/l3/l4
 
 I would like to move level1 to a new location:
 
 mvdir /home/user/level1 /root/
 
 That would be awsome!
 
 
  The best suggestion was from
  http://badgertronics.com/knowledge/one.adp?parent=25:
 
  To move /tmp/blarg to /var:
  % cd /tmp
  % tar cvf - blarg | (cd /var; tar xf -)
 
  I bet there must be atleast one utils like a binary named mvdir or
  similar that simply taked two directory names as argument. But I can't
  find any.
 
  How do you guys move around your directory structures from prompt?
 
 I have used the following many times, with very good results:
 
# cd /source/path
# find . | cpio -p -dmvu /destination/dir
 
 ___
 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: /boot like linux!

2005-03-04 Thread Anthony Atkielski
Jesse Guardiani writes:

 How recent are we talking about?

In the 5.x timeframe, I believe, but I don't remember exactly when the
improvements were made.  I recall that soft updates are now encouraged
on just about any partition.

I've never had any trouble with it, but my system is lightly loaded and
has hardly come close to being put through every possible scenario.

-- 
Anthony


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


Detected Ethernet Cards Fail To Configure At Boot

2005-03-04 Thread Damien Tougas
Hello,
I am running a server with 5.3-RELEASE. I have 3 3COM 905 ethernet 
cards (xl0, xl1, and xl2). I am getting this bizarre problem where the 
cards are detected during the boot process:

xl0: 3Com 3c905-TX Fast Etherlink XL port 0xb000-0xb03f irq 12 at 
device 10.0 on pci0
miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:97:d0:34:1d

xl1: 3Com 3c905-TX Fast Etherlink XL port 0xa800-0xa83f irq 10 at 
device 11.0 on pci0
miibus1: MII bus on xl1
nsphy1: DP83840 10/100 media interface on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:60:08:17:24:df

xl2: 3Com 3c905C-TX Fast Etherlink XL port 0xa400-0xa47f mem 
0xe400-0xe47f irq 11 at device 12.0 on pci0
miibus2: MII bus on xl2
ukphy0: Generic IEEE 802.3u media interface on miibus2
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl2: Ethernet address: 00:04:75:8f:89:5f

but their configuration fails. I don't get any error messages, its 
almost as if they don't exist. One of the interfaces is configured to 
have DHCPD running on it, but DHCPD fails saying xl2: not found.

I log in after boot up, and when I do an ifconfig, all the interfaces 
are there, but not configured.

To fix the problem, all I have to do is bring the machine down to 
single user mode, then back up to multi-user mode and everything gets 
configured properly.

Any ideas what may be causing this?
--
Damien Tougas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Are quotas possbile on md filesystems?

2005-03-04 Thread Bob Johnson
Michael R. Wayne wrote:
On Thu, 03 Mar 2005 16:53:19 -0500, Michael R. Wayne [EMAIL PROTECTED] wrote:
 

Is it possible to use quotas on file-backed md filesystems
on 5.3?  I was guessing that a line in fstab like:
   

OK, I see the error in my ways.  My goal is to use file-based
filesystems that are preserved acoss boots.  vnconfig says to
use mdconfig, the handbook suggests that the method I used is 
correct.  But everything is cleared on reboot, which is not 
what I was looking for.

 

It appears that it always formats a new filesystem because that's what
mount_mfs did, and mdmfs is a replacement for mount_mfs.  I agree
with you that that should not be the default behavior for a file-backed
(vnode) disk, so I wrote a little patch to fix that:
===
--- mdmfs.c 2005/03/04 21:09:50 1.1
+++ mdmfs.c 2005/03/04 22:04:54
@@ -32,6 +32,7 @@
#include sys/cdefs.h
__FBSDID($FreeBSD: src/sbin/mdmfs/mdmfs.c,v 1.20 2004/05/17 07:07:20 
ru Exp $);
+/*$Id: mdmfs.c,v 1.5 2005/03/04 22:04:47 bobj Exp bobj $*/

#include sys/param.h
#include sys/mdioctl.h
@@ -89,7 +90,7 @@
   *mount_arg;
   enum md_types mdtype;   /* The type of our memory disk. */
   bool have_mdtype;
-   bool detach, softdep, autounit;
+   bool detach, softdep, autounit, want_newfs;
   char *mtpoint, *unitstr;
   char *p;
   int ch;
@@ -100,6 +101,7 @@
   detach = true;
   softdep = true;
   autounit = false;
+   want_newfs = true;
   have_mdtype = false;
   mdname = MD_NAME;
   mdnamelen = strlen(mdname);
@@ -119,10 +121,10 @@
   compat = true;
   while ((ch = getopt(argc, argv,
-   a:b:Cc:Dd:e:F:f:hi:LlMm:Nn:O:o:p:Ss:t:Uv:w:X)) != -1)
+   a:b:Cc:Dd:e:F:f:hi:LlMm:Nn:O:o:p:Ss:Uuv:w:X)) != -1)
   switch (ch) {
   case 'a':
-   argappend(newfs_arg, -a %s, optarg);
+   argappend(newfs_arg, -a %s, optarg);
   break;
   case 'b':
   argappend(newfs_arg, -b %s, optarg);
@@ -151,6 +153,7 @@
   usage();
   mdtype = MD_VNODE;
   have_mdtype = true;
+   want_newfs = false;
   argappend(mdconfig_arg, -f %s, optarg);
   break;
   case 'f':
@@ -213,6 +216,9 @@
   case 'U':
   softdep = true;
   break;
+   case 'u':
+   want_newfs = true;
+   break;
   case 'v':
   argappend(newfs_arg, -O %s, optarg);
   break;
@@ -268,7 +274,8 @@
   do_mdconfig_attach_au(mdconfig_arg, mdtype);
   else
   do_mdconfig_attach(mdconfig_arg, mdtype);
-   do_newfs(newfs_arg);
+   if (want_newfs)
+   do_newfs(newfs_arg);
   do_mount(mount_arg, mtpoint);
   do_mtptsetup(mtpoint, mi);
@@ -666,7 +673,7 @@
   if (!compat)
   fprintf(stderr,
usage: %s [-DLlMNSUX] [-a maxcontig [-b block-size] [-c cylinders]\n
-\t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n
+\t[-d rotdelay] [-e maxbpg] [-F file [-u]] [-f frag-size] [-i bytes]\n
\t[-m percent-free] [-n rotational-positions] [-O optimization]\n
\t[-o mount-options] [-p permissions] [-s size] [-w user:group]\n
\tmd-device mount-point\n, name);

So, what IS the correct way to create and use file-based file
systems? 

 

Apply the patch above, then something in /etc/fstab like the following will
not reformat the filesystem:
/dev/md3   /mnt   mfs   rw,-F/vnodes/fileimage,noauto   0   0
If you want it to reformat the filesystem as the old mount_mfs did
(or at least, as the old man pages say it did), then use something like
/dev/md3   /mnt   mfs   rw,-F/vnodes/fileimage,-u,noauto   0   0
Note that -u MUST follow -F on the command line to have any effect.
This breaks compatibility with the old mount_newfs.  I guess I should
have used to opposite sense for -u.  Which still would have broken
compatibility, but not as much.  This means that if this patch ever
makes it into a FreeBSD distribution, it is likely to default to formatting
rather than not formatting.  This will lead to a nasty surprise if you
aren't expecting it.  In other words, don't use this patch unless you
are desperately seeking a solution to a problem that makes it worth
the risk.  Don't blame me when some future change in behavior
deletes your important filesystem.
And, can I put quotas on them?
 

Don't know, but probably.
If applying a patch is a mystery to you, try (assuming you have the
full source installed) something that approximates this:
# cd /usr/src/sbin/mdmfs
# patch  /path/to/patch.file
# make
# make install
If you want to be thorough, apply the following patch to fix the
man page as well:
===
--- mdmfs.8 2005/03/04 22:06:21 1.1

Re: security logs being mailed to root

2005-03-04 Thread epilogue
On Fri, 4 Mar 2005 14:06:03 -0500
sn1tch [EMAIL PROTECTED] wrote:

 On Fri, 04 Mar 2005 12:34:36 -0600, Kevin Kinsey [EMAIL PROTECTED]
wrote:
  [EMAIL PROTECTED] wrote:
  
  On Fri, Mar 04, 2005 at 08:59:45AM -0500, sn1tch wrote:
  
  
  When I ran FBSD 5.2.1 I used to get the daily, weekly, and monthly
  security logs and such mailed to root...now since I did a clean
  install with 5.3 I no longer get anything, when I log in I have no
  mail...what gives? I enjoyed reading them .. is there a way to get
  that functionality back?
  
  
  Thanks,
  Joe
  
  
  5.3 also does this by default.  Are you sure your computer
  is turned on at the times these mails are sent, in /etc/crontab?
  
  
  
  And ...
  
  If the logs and such exist, then syslogd is probably OK.  Otherwise
  check syslogd first.
  
  Next, make sure that crond is running.  Don't know why it wouldn't
  be, be might as well check.
  
  Then, check sendmail.  Depending on settings, this might be the
  issue.  If syslogd is working as expected, you should find a note
  in /var/mail/maillog (about 3:0x a.m. system time) that shows a mail
  going to [EMAIL PROTECTED].
  
  Which brings us to /etc/mail/aliases.  Is the alias for root
pointing
  to your email address?
  
  I'm sure there's stuff I may have missed as well, but here's the
start
  of a debug checklist.
  
  HTH,
  
  Kevin Kinsey
 
 Crontab doesnt have any listings and rc.conf shows this...
 
 sendmail_enable=NONE
 syslogd_flags=-ss

a) jsyk, the prefered syntax has switched from 'NONE' to what is
currently described in 'man rc.sendmail'

b) see the last e-mail I sent you for two solutions to this issue.


hth,
epi

 and in /etc/periodic there are dail weekly monthly and security
 folders. I chose not to build sendmail at all, or any type of mail
 server for that matter, but why would that affect it because a friend
 of mine has a fresh install of 5.3 and he gets the logs, no problems.
 Would a specific option in a custom kernel cause it to not send.
 
 syslog.conf shows
 
 security.*  /var/log/security
 
 is there anything else I can show you guys/girls to help out?
 
 Thanks for the help
 ___
 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: Detected Ethernet Cards Fail To Configure At Boot

2005-03-04 Thread David Kelly
On Fri, Mar 04, 2005 at 05:31:42PM -0500, Damien Tougas wrote:
[...]
 but their configuration fails. I don't get any error messages, its 
 almost as if they don't exist. One of the interfaces is configured to 
 have DHCPD running on it, but DHCPD fails saying xl2: not found.

[...]

 To fix the problem, all I have to do is bring the machine down to 
 single user mode, then back up to multi-user mode and everything gets 
 configured properly.

No *that* is strange.

Otherwise I'd suggest double and triple checking that one hasn't
specified x one two rather than the correct x elle two.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Belkin PS/2 to USB converter, Not Pointing

2005-03-04 Thread Jed Clear
Installing the IOGear GCS1734 USB KVM seems to have made the whole issue go 
away.
Of course installing the KVM took a few tries to find the right power 
cycling and reboot combination to get any functionality.  It looked like the 
whole USB infrastructure of the KVM was DoA, initially.

On the other hand, neither mouse, nor keyboard, was working until I moved the 
KVM USB to the other USB port on the AX5 motherboard.

Ah, the joys of old hardware.  I'll probably get a new USB keyboard and 
trackball one of these days.  The trackball lost even more functionality under 
widows with this latch up, than with the old KVM.

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


natd, ipfw problem

2005-03-04 Thread Florian Hengstberger
Hi!
Tell me if I should post this otherwhere.
Given two network cards sis0 (external) and vr0 (internal) I'm trying
to give my girlfriend access to the web. Her ip is 192.168.0.2,
I've installed natd, a proper kernel and configured my firewall, 
but so far only pings from her computer to the web works.
I guess there's something wrong with my firewall, because only
with the two standard entries (divert and allow all) everything
is fine. But now after hours of googling I can't find anything
which is wrong in my firewall.

the /etc/natd.conf:

interface sis0
use_sockets yes
same_ports yes
redirect_port udp 192.168.0.2:53 53
redirect_port tcp 192.168.0.2:53 53
redirect_port tcp 192.168.0.2:80 80
redirect_port tcp 192.168.0.2:443 443
redirect_port udp 192.168.0.2:123 123
redirect_port tcp 192.168.0.2:123 123

my firewall:

add 00401 divert natd all from any to any via sis0
add 00402 allow ip from any to any via vr0

### TCP ###
add 00501 check-state
add 00502 deny tcp from any to any in established 
add 00503 allow tcp from any to any out setup keep-state
# allow dns queries, dns-port=53
add 00601 allow udp from any to any 53 keep-state via sis0
# allow ntp queries, ntp-port=123
add 00603 allow udp from any to any 123 keep-state via sis0
# allow all outgoing udp traffic
add 00621 allow udp from any to any out via sis0
 
### ICMP ###
# allow outgoing pings and the reply
add 00701 allow icmp from any to any out icmptypes 8
add 00702 allow icmp from any to any in icmptypes 0
# deny and log incoming pings from the outside
add 00703 deny log icmp from any to any in icmptypes 8 via sis0

### SAMBA ###
# allow netbios services to local net, but log everything for debugging
purposes
add 00801 allow log tcp from any to any 137-139 via vr0
add 00802 allow log udp from any to any 137-139 via vr0

Thanks a lot
Florian



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


Re: natd, ipfw problem

2005-03-04 Thread Ean Kingston
It's been a while but I'll see if I can help out.
On Friday, March 4, 2005, at 06:52  PM, Florian Hengstberger wrote:
Hi!
Tell me if I should post this otherwhere.
Given two network cards sis0 (external) and vr0 (internal) I'm trying
to give my girlfriend access to the web. Her ip is 192.168.0.2,
I've installed natd, a proper kernel and configured my firewall,
but so far only pings from her computer to the web works.
I guess there's something wrong with my firewall, because only
with the two standard entries (divert and allow all) everything
is fine. But now after hours of googling I can't find anything
which is wrong in my firewall.
the /etc/natd.conf:
interface sis0
use_sockets yes
same_ports yes
redirect_port udp 192.168.0.2:53 53
redirect_port tcp 192.168.0.2:53 53
redirect_port tcp 192.168.0.2:80 80
redirect_port tcp 192.168.0.2:443 443
redirect_port udp 192.168.0.2:123 123
redirect_port tcp 192.168.0.2:123 123
Unless you want her to run her own dns, web, and mail I don't think you 
need any of the redirect_port directives.

Double-check to make sure that:
- your firewall has routing enable
- her computer has the proper gateway and dns servers set up
my firewall:
add 00401 divert natd all from any to any via sis0
add 00402 allow ip from any to any via vr0
### TCP ###
add 00501 check-state
add 00502 deny tcp from any to any in established
add 00503 allow tcp from any to any out setup keep-state
# allow dns queries, dns-port=53
add 00601 allow udp from any to any 53 keep-state via sis0
# allow ntp queries, ntp-port=123
add 00603 allow udp from any to any 123 keep-state via sis0
# allow all outgoing udp traffic
add 00621 allow udp from any to any out via sis0
### ICMP ###
# allow outgoing pings and the reply
add 00701 allow icmp from any to any out icmptypes 8
add 00702 allow icmp from any to any in icmptypes 0
# deny and log incoming pings from the outside
add 00703 deny log icmp from any to any in icmptypes 8 via sis0
### SAMBA ###
# allow netbios services to local net, but log everything for debugging
purposes
add 00801 allow log tcp from any to any 137-139 via vr0
add 00802 allow log udp from any to any 137-139 via vr0
Thanks a lot
Florian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


questions on file formats

2005-03-04 Thread Dave Pesner
Does FreeBSD support the .DMG file format?  I need to know this
because I'm looking for a free alternative for an OS X emulator and a
liscensed copy of OS X(isn't open source software great) for my next
computer.  If BSD does support OS X file formats such as DMG, great. 
If not, please suggest a free UNIX based operating system that does,
and works with AMD64.
Thank you for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vinum gbde

2005-03-04 Thread Nick Pavlica
All,
  Is it possible to use vinum and gbde?  I read in the handbook that
they were not compatible, but saw a number of posts on the Internet
that mention an integration of the two in 5.x.


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


Re: questions on file formats

2005-03-04 Thread Ean Kingston
On Friday, March 4, 2005, at 07:35  PM, Dave Pesner wrote:
Does FreeBSD support the .DMG file format?  I need to know this
because I'm looking for a free alternative for an OS X emulator and a
liscensed copy of OS X(isn't open source software great) for my next
computer.  If BSD does support OS X file formats such as DMG, great.
I believe that a .dmg file is a virtual disk in a file (generally used 
to install software). Although FreeBSD does have equivalent things 
(virtual disks and software packaging) I don't think it supports .dmg 
files specifically.

You should also know that FreeBSD is not going to run any software 
written for the Mac. There will be substitutes for most of the Mac 
software but you will probably find that some of the data file formats 
are proprietary to Apple and don't work anywhere else.

That being said, there are a lot of file formats that can be 
manipulated by software available for FreeBSD. This would include .mp3, 
.avi, .txt, .rtf, .pdf, .jpg, .gif, ...

If not, please suggest a free UNIX based operating system that does,
and works with AMD64.
You may want to look at the Darwin project. It is the open source 
project that was a spin off of OS X. It may support some of the file 
formats used by OS X but it isn't going to run any of the software that 
requires Aqua (the OS X GUI) since that isn't part of Darwin.

Also, I have no idea what platforms Darwin supports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Running vsftpd standalone vs inetd

2005-03-04 Thread Pat Maddox
Is it better to run vsftpd standalone or using inetd?  A friend of
mine told me that it's more secure to do it standalone, and apparently
that's the recommended method now.

If that's the case, how do I go about getting vsftpd to run when the
machine boots up?  It doesn't look like there's a vsftpd_enable that I
can use, like I can with other services.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


growfs failure

2005-03-04 Thread Steve Sizemore
Hi, all. Running FreeBSD 5.3 using hardware RAID (Dell Perc/4 Di).
I added a disk to the Logical Volume, rebuilt the RAID array, resized
the slice (fdisk), and changed the label (bsdlabel). All of that
worked just fine. However, when I tried to grow the filesystem,
growfs failed, saying growfs: bad inode number 1 to ginode.

Searching the archives, I saw a similar report using vinum, and there
was no real solution, but the suggested workaround was to fsck the
device, and then growfs would work. In my case, that didn't fix the
problem.

Is there anything that I can try to make it work, or am I stuck with
dump/newfs/restore?

Thanks.
Steve
-- 
Steve Sizemore steve (at) ls.berkeley.edu, (510) 642-8570
Unix System Manager
Dept. of Mathematics and College of Letters and Science
University of California, Berkeley


pgpHhuvV2nYgh.pgp
Description: PGP signature


Installing 4.11, disk probing problem

2005-03-04 Thread joe mcguckin
Installing on an Intel 815 motherboard, the installer insists that the ATA
disk is ar0.

Is this normal?

At boot time I get diagnostic messages about ar0 broken raid, etc

-joe

-- 

Joe McGuckin

ViaNet Communications
994 San Antonio Road
Palo Alto, CA  94303

Phone: 650-213-1302
Cell:  650-207-0372
Fax:   650-969-2124


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


password manager?

2005-03-04 Thread Sergei Gnezdov
I like Windows password manager Access Manager.

Is there an easy way to manage my passwords, pin numbers on FreeBSD?
It would be nice to have both UI and Console interfaces as long as
they are easy to use.

I like to use Gnome oriented tools when it comes to UI.

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


NFS V4 Replication

2005-03-04 Thread Nick Pavlica
All,
  Is it possible to replicate NFS servers is V4?  If so can you point
me in the right direction in setting this up.

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


Re: Are quotas possbile on md filesystems?

2005-03-04 Thread Bob Johnson
On Friday 04 March 2005 05:56 pm, Bob Johnson wrote:
 Michael R. Wayne wrote:
 On Thu, 03 Mar 2005 16:53:19 -0500, Michael R. Wayne [EMAIL PROTECTED] 
wrote:
 Is it possible to use quotas on file-backed md filesystems
 on 5.3?  I was guessing that a line in fstab like:
 
 OK, I see the error in my ways.  My goal is to use file-based
 filesystems that are preserved acoss boots.  vnconfig says to
 use mdconfig, the handbook suggests that the method I used is
 correct.  But everything is cleared on reboot, which is not
 what I was looking for.

 It appears that it always formats a new filesystem because that's what
 mount_mfs did, and mdmfs is a replacement for mount_mfs.  I agree
 with you that that should not be the default behavior for a file-backed
 (vnode) disk, so I wrote a little patch to fix that:

[patch omitted]


 So, what IS the correct way to create and use file-based file
 systems?


The patch I provided defaulted to NOT formatting the 
filesystem when used with the -F option.  This is the 
opposite of the normal behavior, creating the risk of 
a /etc/fstab that assumes that the filesystem will not 
be formatted being used with a new release that will format 
it by default, thus destroying the filesystem.  That 
would be very very bad.

So here is a new patch that modifies mdmfs / mount_mfs 
to behave as it does now, except that it will not format 
the filesystem before mounting if you supply the -A 
(mount as-is) option.  Thus, to use /etc/fstab to mount 
a file-backed filesystem without reformatting the filesystem, 
put something like this in /etc/fstab

/dev/md3  /mnt  mfs  rw,-A,-F /home/bob/mdfile,noauto  0  0

So, here is a patch to add this to the original mdmfs, 
as well as a patch to the man page.

=
--- mdmfs.c 2005/03/05 01:45:00 1.1
+++ mdmfs.c 2005/03/05 03:09:17
@@ -32,6 +32,7 @@

 #include sys/cdefs.h
 __FBSDID($FreeBSD: src/sbin/mdmfs/mdmfs.c,v 1.20 2004/05/17 07:07:20 ru Exp 
$
);
+/*$Id: mdmfs.c,v 1.5 2005/03/05 03:09:10 bobj Exp bobj $*/

 #include sys/param.h
 #include sys/mdioctl.h
@@ -89,7 +90,7 @@
*mount_arg;
enum md_types mdtype;   /* The type of our memory disk. */
bool have_mdtype;
-   bool detach, softdep, autounit;
+   bool detach, softdep, autounit, want_newfs;
char *mtpoint, *unitstr;
char *p;
int ch;
@@ -100,6 +101,7 @@
detach = true;
softdep = true;
autounit = false;
+   want_newfs=true;
have_mdtype = false;
mdname = MD_NAME;
mdnamelen = strlen(mdname);
@@ -119,8 +121,11 @@
compat = true;

while ((ch = getopt(argc, argv,
-   a:b:Cc:Dd:e:F:f:hi:LlMm:Nn:O:o:p:Ss:t:Uv:w:X)) != -1)
+   Aa:b:Cc:Dd:e:F:f:hi:LlMm:Nn:O:o:p:Ss:Uv:w:X)) != -1)
switch (ch) {
+   case 'A':
+   want_newfs=false;
+   break;
case 'a':
argappend(newfs_arg, -a %s, optarg);
break;
@@ -268,7 +273,8 @@
do_mdconfig_attach_au(mdconfig_arg, mdtype);
else
do_mdconfig_attach(mdconfig_arg, mdtype);
-   do_newfs(newfs_arg);
+   if (want_newfs)
+   do_newfs(newfs_arg);
do_mount(mount_arg, mtpoint);
do_mtptsetup(mtpoint, mi);

@@ -665,13 +671,13 @@
name = mdmfs;
if (!compat)
fprintf(stderr,
-usage: %s [-DLlMNSUX] [-a maxcontig [-b block-size] [-c cylinders]\n
+usage: %s [-ADLlMNSUX] [-a maxcontig [-b block-size] [-c cylinders]\n
 \t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n
 \t[-m percent-free] [-n rotational-positions] [-O optimization]\n
 \t[-o mount-options] [-p permissions] [-s size] [-w user:group]\n
 \tmd-device mount-point\n, name);
fprintf(stderr,
-usage: %s -C [-lNU] [-a maxcontig] [-b block-size] [-c cylinders]\n
+usage: %s -C [-AlNU] [-a maxcontig] [-b block-size] [-c cylinders]\n
 \t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n
 \t[-m percent-free] [-n rotational-positions] [-O optimization]\n
 \t[-o mount-options] [-s size] md-device mount-point\n, name);
=
--- mdmfs.8 2005/03/05 01:46:09 1.1
+++ mdmfs.8 2005/03/05 03:08:38
@@ -24,6 +24,7 @@
 .\ SUCH DAMAGE.
 .\
 .\ $FreeBSD: src/sbin/mdmfs/mdmfs.8,v 1.20 2004/05/17 08:35:41 ru Exp $
+.\ $Id: mdmfs.8,v 1.3 2005/03/05 03:08:21 bobj Exp bobj $
 .\
 .Dd February 26, 2004
 .Dt MDMFS 8
@@ -36,7 +37,7 @@
 driver
 .Sh SYNOPSIS
 .Nm
-.Op Fl DLlMNSUX
+.Op Fl ADLlMNSUX
 .Op Fl a Ar maxcontig
 .Op Fl b Ar block-size
 .Op Fl c Ar cylinders
@@ -57,7 +58,7 @@
 .Ar mount-point
 .Nm
 .Fl C
-.Op Fl lNU
+.Op Fl AlNUu
 .Op Fl a Ar maxcontig
 .Op Fl b Ar block-size
 .Op Fl c Ar cylinders
@@ -122,6 +123,12 @@
 .Xr mount_mfs 8
 for the same thing.
 .Bl -tag -width indent
+.It Fl A
+Mount filesystem as-is. Do not use newfs to format the
+filesystem before mounting.  This 

Re: Are quotas possbile on md filesystems?

2005-03-04 Thread Bob Johnson
On Friday 04 March 2005 10:33 pm, Bob Johnson wrote:
 On Friday 04 March 2005 05:56 pm, Bob Johnson wrote:
  Michael R. Wayne wrote:
  On Thu, 03 Mar 2005 16:53:19 -0500, Michael R. Wayne
   [EMAIL PROTECTED]

 wrote:
  Is it possible to use quotas on file-backed md filesystems
  on 5.3?  I was guessing that a line in fstab like:
  
  OK, I see the error in my ways.  My goal is to use file-based
  filesystems that are preserved acoss boots.  vnconfig says to
  use mdconfig, the handbook suggests that the method I used is
  correct.  But everything is cleared on reboot, which is not
  what I was looking for.
 
  It appears that it always formats a new filesystem because that's what
  mount_mfs did, and mdmfs is a replacement for mount_mfs.  I agree
  with you that that should not be the default behavior for a file-backed
  (vnode) disk, so I wrote a little patch to fix that:

 [patch omitted]


So after all that, NOW I notice that there is already a published 
patch for this:

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/74105

Oh, well.  It was an amusing exercise.

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


Re: Sources vs. ports

2005-03-04 Thread Madhusudan Singh
Thanks for your response.


On Thursday 03 March 2005 16:21, Jeff With wrote:
 On Thu, 3 Mar 2005 15:47:02 -0500, Madhusudan Singh

 [EMAIL PROTECTED]wrote:
  Hi
 
   Since some of the ports I need are broken, I am thinking of installing
  those parts from source. However, is there a way to let the local ports
  hierarchy know that a certain package has been installed, albeit by
  other means ?

 The handbook answer.. broken ports: fix-it, gripe or find our package
 from a local mirror...
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-broken.html

 .. or

 build your own package w/ pkg_create
 http://www.freebsd.org/cgi/man.cgi?query=pkg_createsektion=1apropos=0man
path=FreeBSD+5.3-RELEASE+and+Ports

Thanks for the link. I might want to do this.


 what ports you are trying to build?

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


Re: Are quotas possbile on md filesystems?

2005-03-04 Thread stheg olloydson
it was said:

snip
So after all that, NOW I notice that there is already a published 
patch for this:

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/74105

Oh, well.  It was an amusing exercise.

- Bob

Eh? Maybe _I_ am the one missing something. The link you provided goes
to a patch for IPX. The only PRs for mdmfs I find are bin/57641, 64153,
and 66763, and those do not seem to deal with this issue. I think you
ought to submit your patch because mdmfs' default behavior is a
problem.

Regards,

stheg  




__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cpu overhead

2005-03-04 Thread abu khaled
On Fri, 4 Mar 2005 13:36:51 +0900, Bhaban Singh [EMAIL PROTECTED] wrote:
 Could anybody tell me is there any cpu monitoring tools for FreeBSD.
 pleas send me any idea.

for the console i use  top  i don't use X but there are many ports
that provide CPU/MEMORY/ monitoring. Search in the ports !

 
 thanks
 bhaban
 ___
 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]


followup on help needed on configuring rl0

2005-03-04 Thread hb4j
hi everyone,

I have been able to manually setup my rl0 without Xserver and BEFORE this
stinking rl0 : watchdog timeout error message appeared at boot time and I
could surf with NO problem, so that means that Freesbie recognizes and
initializes my realtek 8139 nic (it is integrated on my medion laptop's
motherboard) very well.

In order to do this, I had to interrupt the boot process just before the place
where the error message comes.

Any idea as to how I could fix this ?

ps : it does the same problem whether I use the Freesbie livecd or my
installation of it on my hard drive.

thanks in advance for your help :o)

original message :

hi everyone,

I am a very enthusiastic FreeBSD newbie (I have wanted to use FreeBSD for years,
but thanks to the latest Freesbie 1.1 which is awesome, I have finally made the
step).

I have a good knowledge of linux administration, both system and network and am
presently learning the correspondances with FreeBSD line commands.

So, here is my problem for which I would need your help :

on my laptop (medion 1GHz mobile, with a realtech 8129/8139 network card), my
network card is detected and recognized as what it is but, whether I use
sysinstall and its network config wizard or dhclient or assign manually a
network address with netmask and so on (ifconfig inet xxx.xxx.xxx.xxx netmask
xxx.xxx.xxx.xxx) and the route also manually, it never changes (whether
rebooted in between or not), but says my ip is 0.0.0.0 and dhclient complains
that it cannot find any dhcp server although, on another computer with the very
same network cable and networkplug on the wall, it has no problem whatsoever

furthermore, when i boot under linux, it works perfectly fine ...

thanks in advance for your help

hb4j

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


Re: Are quotas possbile on md filesystems?

2005-03-04 Thread Bob Johnson
On Friday 04 March 2005 11:39 pm, stheg olloydson wrote:
 it was said:

 snip

 So after all that, NOW I notice that there is already a published
 patch for this:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/74105
 
 Oh, well.  It was an amusing exercise.
 
 - Bob

 Eh? Maybe _I_ am the one missing something. The link you provided goes
 to a patch for IPX. The only PRs for mdmfs I find are bin/57641, 64153,
 and 66763, and those do not seem to deal with this issue. I think you
 ought to submit your patch because mdmfs' default behavior is a
 problem.


Argh!  I'm going to stop posting until I've had some sleep.  But it does 
appear to me that bin/57641 addresses the same issue as my patch:

http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/57641

- Bob

 Regards,

 stheg

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


Re: cpu overhead

2005-03-04 Thread pete wright
On Sat, 5 Mar 2005 07:03:11 +0200, abu khaled [EMAIL PROTECTED] wrote:
 On Fri, 4 Mar 2005 13:36:51 +0900, Bhaban Singh [EMAIL PROTECTED] wrote:
  Could anybody tell me is there any cpu monitoring tools for FreeBSD.
  pleas send me any idea.
 
 for the console i use  top  i don't use X but there are many ports
 that provide CPU/MEMORY/ monitoring. Search in the ports !

there is also /usr/bin/systat which is very flexable.  the --vmstat
flag is provides some pretty interesting statistics.

-p

 
 
  thanks
  bhaban
  ___
  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]
 


-- 
~~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 [EMAIL PROTECTED]


RE: any ideas why these xorg hassles???

2005-03-04 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
 Sent: Friday, March 04, 2005 1:12 AM
 To: Ted Mittelstaedt
 Cc: Gary Kline; FreeBSD Mailing List
 Subject: Re: any ideas why these xorg hassles???
 
 
 On Fri, Mar 04, 2005 at 01:01:08AM -0800, Ted Mittelstaedt wrote:
  What version FreeBSD we talking here?  And if it's 4.X, why on
  earth did you change it?
  
 
   xorg is only on 5.3.  My remaining OS is 4.10.  


It is possible to build xorg on FreeBSD 4.X.  I wanted to eliminate that
as a possibility.

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


getting sylpheed-claws to view html mail

2005-03-04 Thread Brian John
Hello,
I installed the sylpheed-claws port with the WITH_ALL=YES option.  I 
also loaded the 'dillo-viewer' plugin.  However, it still is not using 
dillo to read HTML mail.  Is there something else that I need to do?

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