image a disk/partition?

2003-10-22 Thread Dmitry Mityugov
Hi,

I am looking for a program that would let me image HDDs in my test lab and
restore them, either completely or just a few first partitions. I don't mind
buying it (although freeware would be preferred of course) but I don't want
to buy an OS to host this program on, so I would like to use FreeBSD for
this project. I have modest experience with versions 4.7, 4.8 and 5.1 of
FreeBSD and no bandwidth to stay current with version 5.1, so 5.1 released
on the CDs is the latest version that I have. It works reasonably well in my
test lab; it panics on reboot (shutdown -r) when I enable MP support on a
test server with two server Tualatin processors but I can live with the
standard kernel just fine.

The data I am going to image are just test servers that store no valuable
data so strictly speaking this is not vital data to me, I need this program
just to speed up the setup, not for backup purposes (and to get rid of the
HDDs in removable racks with different versions of various operating systems
lying everywhere in my lab). However, I would prefer not to use beta
software in this project because I need to use the time I get because of the
improvement in speed for purposes other than helping the author find and fix
bugs in the software. The software should be able to image partitions of any
type, not just DOS/NTFS/etc like most commercial software does, compress the
image well, because a typical test server in my lab occupies 5-15 GB that
need to be imaged, and be smart enough to not compress the remaining free
space on the disks (the typical HDD sizes in my lab start at 80 GB so I'd
definitely not want to image the free space). The current number of servers
is about 20 and of course it tends to grow.

It would be nice to be able to image SCSI disks as well but almost all my
HDDs except 2 are IDE. It would also be nice to be able to restore not the
entire disk but just several partitions from it (yes, I believe I understand
the possible consequences) but this is not critical for me. I searched the
Packages and Ports collections, the documentation and the Internet
(including archives of these lists) but found nothing that would (a) work on
FreeBSD, (b) is not in the beta state, (c) can image everything and (d)
compresses the images and does not image the free space. I suspect that
there is a simple approach that does not require a third-party program at
all (why did I get so many links to DD command? g) but I cannot figure out
how to image the first 15 GB off a 80 GB HDD with DD and restore it to
another (larger or smaller) HDD. I don't mind performing some arithmetic
like in Greg Lehey's The Complete FreeBSD in the chapter about disks, I
think I just need some enlightenment.

Thank you in advance for any help you can provide

P.S. I am not on the list, don't forget to copy me.

Dmitry

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


Searching contents of files

2003-10-22 Thread jason dictos
Hi All,

   I've always used grep text /*/*/* to recursivly search directories for 
files with the specified text string in them, however this method doesn't 
always work very well (sometimes it bails out halfway through with error 
Argument list too long). 

Is there a more effective way to search the contents of files?

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


Re: Searching contents of files

2003-10-22 Thread Kevin D. Kinsey, DaleCo, S.P.
jason dictos wrote:

Hi All,

  I've always used grep text /*/*/* to recursivly search directories for 
files with the specified text string in them, however this method doesn't 
always work very well (sometimes it bails out halfway through with error 
Argument list too long). 

Is there a more effective way to search the contents of files?

Thanks,
-Jason
 

$grep -r text *

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


Re: gaim and MSN

2003-10-22 Thread Kan Cai

Yeah, it works, but there is another problem.

When I try to log on, I got error reading from server. Anything wrong
with it? I am sure that the password is right. ;)

Thanks a lot for the suggestions.

cheers,
--ken

On Wed, 22 Oct 2003, Joe Marcus Clarke wrote:

 On Tue, 2003-10-21 at 22:31, Kan Cai wrote:
  Hi, All:
 
I am installing gaim 0.71. Everything goes fine, but it seems that there
  is some problem with MSN lib.
 
Whe I start it, I got plug-in error on finding MSN lib. I didn't install
  it actually, did I?
 
I have installed Mozilla 1.4, but it seems that it is not able to make
  the SSL option on. Shall I specify the location, and how? Is there anybody
  can help me on this?

 If you're installing gaim from ports, SSL will be enabled
 automatically.  Just make sure you have the port 0.71_5, and you'll be
 set.

 Joe

 
Thanks a lot in advance.
 
  Cheers,
  ken
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 --
 PGP Key : http://www.marcuscom.com/pgp.asc

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


Re: A couple of ATI video questions

2003-10-22 Thread Heinrich Rebehn
andi payn wrote:
Hi again. I've got a few more questions, this time about ATI Mach64/Rage
video support.
Under Linux (until the 2.4.22 kernel's ServerWorks fix broke mtrr
support on my machine), I was able to get xv and DRI support on my
system (ATI 3D Rage IIc), over a number of versions of XF86 (previously
with the gatos ati.2 drivers, but those are now part of the core XF86
distribution).
Under FreeBSD-5.1, using XFree86-Server-4.3.0_11 from the ports
collection, I'm not getting either. I checked the XF86Config file, and
everything's fine there. 

Looking at xfree86.0.log, the dri module and the ati module are both
getting loaded, and there are no gross write-combining errors like I've
seen recently in linux. But when I run (e.g.) glxgears, I get:
  Xlib:  extension XFree86-DRI missing on display :0.0.
Similarly, xvinfo finds X-Video extension 2.2, but finds no
xv-compatible adaptors present. And I have no idea how to track down why
this is happening. (For example, unlike linux 2.4.22, write-combining
works under FreeBSD 5.1.)
I'm having problems with xvidix, as well. In particular, when I try to
use xvidix output from mplayer, it completely hangs my system. Under
linux, xvidix works fine (other than spraying some visual noise over
other windows if I don't run full-screen). I can't find much
documentation on xvidix anywhere (just a single rambling file in the
mplayer distribution, duplicated on the mplayer website).
I'm also having svgalib problems. I can't get it to accept anything
better than the 1024x768x64K setting. It recognizes a Mach 64/Rage card
and loads the newer driver, just as in linux, but it rejects all higher
modelines. In svgalib under linux (and in X in both OS's), I can use
1600x1200x64K (and even higher resolutions). I haven't dug into the code
too deep yet.
Also, once you've grabbed a new vt in svgalib, stdout and stderr both
goes to that vt, so there's no way to log errors, etc. And once the
program has completed and you've switched back to your original console
(or X) there's no way to get back to the dead vt to see what was left
there.
Also, if an svgalib program locks up while it's got virtual console
switching locked, there seems to be no way to recover other than to ssh
into the machine from outside and kill [-9] the program. Usually, this
works, although in one case, it apparently froze up the machine
completely (no response from the keyboard--even the lock-leds went
dead--or over the network), and I had to hard-reset.
Most of that last question probably has nothing to do with svgalib, but
with differences between linux's and BSD's vt's Under linux, I could
forcibly switch vt's, kill everything running on the console, or even
kill the vt (I might have to type blind for a few seconds, but I could
get things fixed). If I ssh'd in, I could use chvt to bring up a usable
console to fix things remotely. Does FreeBSD have equivalents to any of
this functionality?
Anyway, again, any help, or pointers to where to get help, would be
appreciated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

to get the xv extension working i had to install the gatos driver. Just 
copied the linux binary to /usr/X11R6/lib/modules/drivers. Now xvinfo gives:

[EMAIL PROTECTED] [~]: xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: ATI mach64 Video Overlay
number of ports: 1
port base: 61
operations supported: PutImage
supported visuals:
  depth 24, visualID 0x23
  depth 24, visualID 0x24
  depth 24, visualID 0x25
  depth 24, visualID 0x26
  depth 24, visualID 0x27
  depth 24, visualID 0x28
  depth 24, visualID 0x29
  depth 24, visualID 0x2a
number of attributes: 17
  XV_DEVICE_ID (range 0 to -1)
  client gettable attribute (current value is 90)
  XV_LOCATION_ID (range 0 to -1)
[snip]

Watching movies fullscreen works fine.

Can't saya anything about DRI or svgalib though.

HTH,
Heinrich
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vinum Offset for Swap: 265 or 281?

2003-10-22 Thread Greg 'groggy' Lehey
On Wednesday, 22 October 2003 at  0:52:35 -0700, [EMAIL PROTECTED] wrote:

 So, my understanding of the bsdlabel process seemed correct:
 1) modify swap partition size to be 281 less than what sysinstall
 created the partition as
 2) have the swap offset at 281 instead of 0
 3) add vinum partition set to the size of c minus 16
 4) have vinum partition offset at 16

 Yes, that's about it, making a lot of assumptions which you don't
 mention here.  For the full story, see
 http://www.vinumvm.org/cfbsd/vinum.pdf.

 bsdlabel part is clear.

This statement isn't clear to me.

 vinum create file - why driveoffset different then partition offset?

Which partition?

 In particular, looking at the bottom of page 238 of your document -
 the driveoffset values for a subdisk are 16 less then the offset of
 the partition it's mapping.

Yes, of course.  The Vinum drive starts 16 sectors later.

 For instance you have partition e with size=3142987 and offset
 5242880, but the var volume uses sd len 3142987s driveoffset 524864s
 drive rootdev. Why is it necessary for each subdisk to be 16 lower
 then the partition it will be mapping?

Take /var for example.  It's on partition e, which starts at offset
5242880 from the beginning of the disk.  The subdisk starts at offset
5242864 from the beginning of the drive.  The drive starts at offset
16 from the beginning of the disk, so the subdisk starts at 5242880
from the beginning of the disk.

 2) The subdisk offset is = (partition offset - 16)

 No.

 Seems to me that's what's going on on page 238.

Depends on which partition you're talking about.

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
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Best way to cleanly uninstall packages?

2003-10-22 Thread Ruben de Groot
On Wed, Oct 22, 2003 at 12:55:59PM +1000, Chris Richards typed:

In-Reply-To: [EMAIL PROTECTED]

Please don't hijack other threads when asking a new question.

 Hi Everyone,
 
 I have installed 2 packages which inturn installed a bunch of
 dependencies... They are imageindex-1.0.6 and gallery-1.4.0.1 I was
 seeing which one I like best - now I have decided I want to keep gallery
 and uninstall imageindex.
 
 What is the cleanest way to do this? I have noticed that they both have
 common dependencies so I can't just use the pkg_delete -r option - I
 am sure this is a common problem and there is probably an easy way to
 uninstall all dependencies for imageindex except for the ones that are
 needed for gallery.

If you have the portupgrade package installed (which is a good idea 
anyway), you can use pkg_deinstall -R, which will deinstall all packages
required by the given package as well. It will fail deinstalling
packages required by other packages, which is precisely what you want.

pkg_delete -r imageindex-1.0.6 will recursively delete packages that
depend on imageindex, not the packages required by it.

-Ruben

 Can anyone help me?
 
 Thank you,
 Chris
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: toshiba satellite (small screen)

2003-10-22 Thread Tijl Coosemans
On Tue, 21 Oct 2003 22:52:44 -0200, Vitor Py wrote:

  My LCD appears in 640x480, and I can't change it. 
 
  Can somebody help me?

You'll have to provide more information, like what specific Satellite
this is and/or what graphics chip. Also your XFree86 config file would
be handy (usually/etc/X11/XF86Config).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best way to cleanly uninstall packages?

2003-10-22 Thread Raphaël Marmier
first make sure the pkgdb is ok and in sync with the port tree with 
pkgdb -F.

I use pkg_deinstall (comes with portupgrade) to do that kind of thing.
Use option -R and -r to sweep up and down in the depency tree with the 
-c option that checks wether a package's files have been overwritten by 
another's. In that case, it aborts. You can then investigate, deinstall 
the cuprit, continue, then maybe after that reinstall it. Most 
important, always use -n and maybe -v to know what will happen without 
actually touching anything.

This is the most powerfull way I know to _really_ clean things without 
breaking things, as it is always a possible a package overwrote 
another's files. Ports, correctedness and stability made me switch over 
from linux, portupgrade and pkg_deinstall make me stay.

Raphaël

Le Mercredi, 22 oct 2003, à 10:43 Europe/Zurich, Ruben de Groot a écrit 
:

On Wed, Oct 22, 2003 at 12:55:59PM +1000, Chris Richards typed:

In-Reply-To: [EMAIL PROTECTED]
Please don't hijack other threads when asking a new question.

Hi Everyone,

I have installed 2 packages which inturn installed a bunch of
dependencies... They are imageindex-1.0.6 and gallery-1.4.0.1 I 
was
seeing which one I like best - now I have decided I want to keep 
gallery
and uninstall imageindex.

What is the cleanest way to do this? I have noticed that they both 
have
common dependencies so I can't just use the pkg_delete -r option - I
am sure this is a common problem and there is probably an easy way to
uninstall all dependencies for imageindex except for the ones that are
needed for gallery.
If you have the portupgrade package installed (which is a good idea
anyway), you can use pkg_deinstall -R, which will deinstall all 
packages
required by the given package as well. It will fail deinstalling
packages required by other packages, which is precisely what you want.

pkg_delete -r imageindex-1.0.6 will recursively delete packages that
depend on imageindex, not the packages required by it.
-Ruben

Can anyone help me?

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


Re: Best way to cleanly uninstall packages?

2003-10-22 Thread Uwe Doering
Hi Chris,

Chris Richards wrote:
Hi Everyone,

I have installed 2 packages which inturn installed a bunch of
dependencies... They are imageindex-1.0.6 and gallery-1.4.0.1 I was
seeing which one I like best - now I have decided I want to keep gallery
and uninstall imageindex.
What is the cleanest way to do this? I have noticed that they both have
common dependencies so I can't just use the pkg_delete -r option - I
am sure this is a common problem and there is probably an easy way to
uninstall all dependencies for imageindex except for the ones that are
needed for gallery.
I think the '-r' option of 'pkg_delete' is not what you are looking for 
because it works the other way round.  It additionally deletes packages 
that depend on the package you would like to deinstall.  I understand 
what you would like to do is get rid of packages that the package to be 
deleted depends on, in order to tidy up after deciding on which of the 
two photo gallery packages to keep.

I don't know whether there is a more elegant method that would do this 
in one go, but what I would do is list the required packages with

  pkg_info -r packagename

and feed the resulting list of required packages to

  pkg_info -R packagename [packagename ...]

Pick those packages as additional candidates for removal that list only 
the package that you want to remove in the first place.  Now do the 
whole process again for these additional packages and work your way down 
the dependency tree recursively.  I recommend to make a sketch of the 
relevant parts of the tree on old-fashioned paper in order to not get 
confused.  When you're done with that, delete the candidates top down 
with 'pkg_delete'.

If anyone else knows a more automated way, with the base system tools, 
that is, I would certainly be interested, too.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is a unit number of a device

2003-10-22 Thread Greg 'groggy' Lehey
On Tuesday, 21 October 2003 at 13:25:20 +0200, rk47 wrote:
 What is a unit number of a device

That depends a lot on the device.  For SCSI disks, you select the unit
number on the drive itself.

 and how does it relate to the minor number of the device.

Typically the last few bits of the minor number map directly to the
unit number.

 Is there a generic relationship or dowes it differ between devives.

Yes.

Look at the section man page for the device in question.  It *should*
give that mapping.  If it doesn't, the header files are (maybe) your
friend.

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.


pgp0.pgp
Description: PGP signature


Re: error in packet Ierrs

2003-10-22 Thread S H A N
hi,
please share more..

netstat -m
netstat -s
netstat -i -b -d
ifconfig -a

rgds,

S H A N


On Tue Oct 21, 2003 at 10:15:08AM SGT, Your Name wrote:

 Hi all
 
 How can I verify the 3 in Ierrs coming from?
 
 Thank you for your help
 
 netstat -i
 -- 
 NameMtu Network   Address  Ipkts IerrsOpkts 
 Oerrs  Coll
 vr01500 Link#3  00:0c:6e:93:14:8515569 3  253 
 0 0
 vr01500 24.100.96/24  route51498 -  
 249 - -
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


EIB devices/services

2003-10-22 Thread Willem Jan Withagen
Hi,

(Not quite for current@, but that's where leading edge is going on)

For the new house we are building I'm looking into EIB.
(European Installation Bus).
And I'm searching for EIB/IP gateways and applications on FreeBSD.
Has anybody used these kinds of tools with FBSD (or Linux)

Or even better: Any experience is welcomed

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


Re: Help with NV driver - More information part 2 - SOLVED

2003-10-22 Thread Nicolai P Guba
On Tuesday 21 October 2003 22:52, Jason Dictos wrote:
 Hi All,

   After setting the sysctl machdep.disable_mtrrs=1 in loader.conf I
 was able to re-use the nvidia.ko module without it hosing my server!

o_O  well done =)  Who would have guessed that?

Did you manage to get the nvidia (not the nv) driver working as well?  You 
may want that if you do openGL (/me will opt for ATI next time I buy a 
vid-card).

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


Re: GTK

2003-10-22 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 21 Oct 2003 09:54:47 +1000 Andrew Kozak [EMAIL PROTECTED] probably wrote:

 Hi All
 
 Thank You very much to C Ulrich and Sergey 'DoubleF' Zaharchenko for your
[name corrected]
 help with my GTK problem. Unfortunately I think that  C Ulrich is right in
 that I will have to install again from scratch. Unfortunately reinstalling

At least you are wiser now... 

 GTK, gettext etc. has not helped. Ohh well, practice make perfect, and
 Sergey, you have started something now, what on earth does 'In the words of
 M. Bulghakov, Annushka uzhe razlila maslo...' mean ? Thank you both so much
[quotation corrected]

It's a quotation from Master and Margharet. It means (not literally,
but here) that the thing that sentenced you was already done and there's
little you can do about it (I guess the rest about it is OT, so you
should read the book to find out more:).

You might not have to reinstall FreeBSD from scratch, you could just try
wiping out /usr/local, /usr/X11R6, /var/db/pkg and starting all over
again (but that's rather close to reinstalling).

If you will want to recollect what ports you have (so that, when
reinstalling, you don't miss anything), something like 

$ ls /var/db/pkg~/portsList

will help (surely before you delete /var/db/pkg).

 for using terms I can understand, and although it seems I cannot repair the
 problem, I have learnt a valuable lesson, and picked up a couple of tips
 along the way :) I definitely do intend to read a great deal more about
 FreeBSD, I just have trouble finding time (work 60+ hours a week, new Dad
 etc.) so I guess I will just take a little longer than some :) But I'll get
 there !!
 
 Thanks Again
 Andrew Kozak


-- 
DoubleF
You think Oedipus had a problem -- Adam was Eve's mother.


pgp0.pgp
Description: PGP signature


Re: portupgrade problems, please help

2003-10-22 Thread ivan georgiev
 What versions of ruby do you have installed? I can remember back a
 few versions, that uninstalling portupgrade and ruby and then
 making and installing portupgrade was faster than fighting the
 problems with ruby.

 Kent

-su-2.05b# ruby -v
ruby 1.6.8 (2003-03-26) [i386-freebsd5]

Ivan


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


need restore disc for Compaq Presario 2200

2003-10-22 Thread weisermac

   Hi,

   My name is Joseph McMillan and I have recently corrupted my
   computer system, and I have lost my restore disc for my Compaq
   Presario 2200(Series 3297).  I need to either locate another restore
   disc, or  download it onto my Compaq Presario 5192 to download to my
   other one.  Can you help me locate someone who would either let me
   buy, lease, or borrow the information I seek.



   Sincerely,

   Joseph McMillan, [EMAIL PROTECTED],
   [EMAIL PROTECTED]

References

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


Re: Automatic mounting of removable meadia

2003-10-22 Thread Lowell Gilbert
Heinrich Rebehn [EMAIL PROTECTED] writes:

 Is it possible to automatically mount media when they are inserted?
  From the GNOME 2.4 documentation (Nautilus, 1.8.1:To mount Media):
 
 
 If your system is not configured to mount the device automatically,
 you must mount the device manually. Right-click on the desktop, then
 choose Disks-device-name. For example, to mount a floppy diskette,
 choose Disks-Floppy. An object that represents the media is added to
 the desktop.
 
 
 So, how can i configure FreeBSD to mount the device automatically?

amd(8)

 Unfortunately, the GNOME way to manually mount media via an entry in
 /etc/fstab does not work under FreeBSD since the mountpoint must be
 owned by the user, which is difficult to configure for a multiuser
 system.

No, it's not.  You can either have each user have a mountpoint in
their own home directory, or you can use a common mountpoint which
gets forced to the ownership of the user in the login procedure
(typically via fbtab(5) or the XFree86 login, e.g. xdm's GiveConsole
script).  You have to be careful with security, but it's not very
different from letting ordinary users mount media in the first place.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some insight on error messages that I am getting.

2003-10-22 Thread Marshall Heartley
  
  (And now the messages)
  ad1: WRITE command timeout tag=0 serv=0 - resetting
  ata0: resetting devices -- done
 
 It really really looks like a hardware fault.

This is what I suspected but below in my post, I checked the drive with
a diagnostic utility from the manufacturer and the drive tested OK.

snip
  ad1: removed from configuration done
  handle_workitem_freeblocks: block count
 
 Oh yeah, so it removes its boot disk from the configuration because it
 thinks it faulty and you think it may proceed without it?

No I didn't.  Well I can see that this is going to be a barrel of
laughs.  I don't quite understand FreeBSD and this is why I came here
for help.  Sorry that I asked my question.

  Judging by the error messages, the system is telling me that there is a
  problem with the drive.  Well I shutdown the system and looked again at
  the jumpers on the drives.  They are set correctly.  Next I go out to
  the net and get a diagnostic utility for the hard drive and run it on
  the drive.  It passed with flying colors.  I even reinstalled FreeBSD
  and even installed the 5.1 to see if the same thing occurs and it does.

Here is where I stated that I tested the drive.  And I also checked to
see if the jumpers were correctly set.

 You could try setting PIO mode to see if the problem persists:
 # atacontrol mode 0 XXX PIO0 

I will try this and let you know what happens.

 Does the same thing happen to ad0?

In the email, ad0 has windows and Linux on it. I did not try and mount
the windows slice and see if this drive exhibits the same behavior.  I
did not have any issues with the drive using it as storage for Windows
and Linux.  It seemed to start when I put FreeBSD on the drive.

 You can change it back to LBA in the BIOS, can't you?

I did and it doesn't seem to help.  Funny thing is though is when I wipe
out the drive, BIOS sees the drive as a LBA but after installation and
the subsequent reboot, which causes the computer to hang and I have to
to a hard reboot, then the drive shows up as a CHS so I do not know.

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


Happy birthday Earth

2003-10-22 Thread Charles Howse
Here's an interesting anniversary from my daily calendar report...

History:
Oct 23  Battle of Leyte Gulf begins, 1944
Oct 23  Day of the 1956 revolution in Hungary
Oct 23  Earth created at 6:30 AM, 4004BC.
^
Oct 23  Swallows leave Capistrano

Music:
Oct 22  Franz Liszt born, 1811

Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


Re: Need some insight on error messages that I am getting.

2003-10-22 Thread Marshall Heartley
snip

 ATA supports tagged command queueing, just (allegedly) like SCSI.
 Various implementations have problems. Try turning that off (there's
 probably a sysctl for it, I don't recall, but google should be able to
 help you) and see if the problems go away.

I will google to see what I can find.  I will let you know if it helps.

 PS. Are ad1 and the CD on the same IDE cable? If so, check the jumpers
 on the CD too.

Nope.  That hard drive shares the primary IDE bus with another hard
drive.  The drive that I am booting from is the slave on the Primary IDE
channel

Marshall

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


portupgrade

2003-10-22 Thread Ralph
I'm running 5.1 and I'm having the same problem as the other person with
portupgrade ...
so how do I uninstall Ruby? and portupgrade?

Thank you,
Ralph

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


Qpopper errors

2003-10-22 Thread Charles Howse
Anyone know what this means?:

Oct 21 11:49:15 curly qpopper[17848]: I/O error flushing output to
client  at curly.howse.homeunix.net [192.168.254.2]: Operation not
permitted (1)
Oct 21 12:03:42 curly qpopper[17905]: I/O error flushing output to
client charles at moe [192.168.254.4]: Operation not permitted (1)
Oct 21 12:22:39 curly qpopper[18004]: I/O error flushing output to
client  at curly.howse.homeunix.net [192.168.254.2]: Operation not
permitted (1)
Oct 21 12:22:39 curly qpopper[18004]: I/O error flushing output to
client  at curly.howse.homeunix.net [192.168.254.2]: Operation not
permitted (1)
Oct 21 12:24:13 curly qpopper[18013]: I/O error flushing output to
client  at curly.howse.homeunix.net [192.168.254.2]: Operation not
permitted (1)
Oct 21 12:24:13 curly qpopper[18013]: I/O error flushing output to
client  at curly.howse.homeunix.net [192.168.254.2]: Operation not
permitted (1)



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


Firewall rules

2003-10-22 Thread Mihail
Hello,

I'm trying to set up a firewall with ipfw by using the client
firewall type given in rc.firewall as an example. My problem
is that the client rules don't allow me to do common
web-browsing. What should I add to the script to
resolve this without seriously compromising security?

cheers,
Mihail


-
Hot Mobiil - helinad, logod ja piltsõnumid!
http://portal.hot.ee

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


Re: Automatic mounting of removable meadia

2003-10-22 Thread Heinrich Rebehn
Lowell Gilbert wrote:
Heinrich Rebehn [EMAIL PROTECTED] writes:


Is it possible to automatically mount media when they are inserted?
From the GNOME 2.4 documentation (Nautilus, 1.8.1:To mount Media):

If your system is not configured to mount the device automatically,
you must mount the device manually. Right-click on the desktop, then
choose Disks-device-name. For example, to mount a floppy diskette,
choose Disks-Floppy. An object that represents the media is added to
the desktop.

So, how can i configure FreeBSD to mount the device automatically?


amd(8)
Yes. Although it does not provide automatic mounting upon insertion of 
the disk (like windows does), it would be a solution.
Unfortunately man amd does not say anything about the format of the 
map for a local device and i was unable to find anything in 
/usr/share/examples. Can anyone give me an example?


Unfortunately, the GNOME way to manually mount media via an entry in
/etc/fstab does not work under FreeBSD since the mountpoint must be
owned by the user, which is difficult to configure for a multiuser
system.


No, it's not.  You can either have each user have a mountpoint in
their own home directory, or you can use a common mountpoint which
gets forced to the ownership of the user in the login procedure
(typically via fbtab(5) or the XFree86 login, e.g. xdm's GiveConsole
script).  You have to be careful with security, but it's not very
different from letting ordinary users mount media in the first place.
Thanks for these hints.

Heinrich

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


Re: portupgrade

2003-10-22 Thread Jens Rehsack
Ralph wrote:
I'm running 5.1 and I'm having the same problem as the other person with
portupgrade ...
so how do I uninstall Ruby? and portupgrade?
# pkg_delete -rx ruby
# cd /usr/ports/sysutils/portupgrade
# make install clean
Regards,
Jens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Searching contents of files

2003-10-22 Thread Viktor Lazlo


On Tue, 21 Oct 2003, jason dictos wrote:

I've always used grep text /*/*/* to recursivly search directories for
 files with the specified text string in them, however this method doesn't
 always work very well (sometimes it bails out halfway through with error
 Argument list too long).

 Is there a more effective way to search the contents of files?

Try:

 find /whateverdirectory -type f -print | xargs grep mysearchstring

Cheers,

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


Re: kernal panic when trying to recompile world or kernel

2003-10-22 Thread Lowell Gilbert
Hicks, Raymond [EMAIL PROTECTED] writes:

   I was hoping to get some insight into what could be causing these issues.
 Any thing you can do to help is appreciated. Here is the situation: 
 
   I have an asus A7M-266D with dual athalon MP 1800+  and 1.5G of DDR 2100
 RAM.  The machine has 3 120GIG IDE drives, one floppy and one CD drive.
 Drives are western digital. The kernel is compiled for SMP and the release
 is FREEBSD-5.1-RELEASE although sources were current till about June at
 which time I moved and did not do much to system.  Now I have gotten the
 system out of storage and set it up .. it runs fine but I have recently
 tried to cvsup then recompile world and I get: 
 
 KERNEL PANIC with CPUID = 0 
 lapic.id = 
 
   It seems like a random error in that it sometimes does it in 2 minutes and
 other times it will go for almost 10 minutes.  Once it happens, the machine
 reboots.  I originally thought this could be due to heat from processors so
 I took measures to reduce heat.  There are currently 2 fans pushing air into
 the case and 3 fans plus 1 blower pulling air out of the case.  Each CPU has
 a new amd cpu fan with bearings and the temp is well within the limits of
 normal operation.   I am at a loss for this and was wondering if anyone had
 any ideas on ways to fix / mitigate.  

Still sounds like some kind of hardware problem, because it runs fine
as long as it isn't under pressure and fails in a different way each
time.  If it's always the same CPU, that may be a hint.  Bad RAM is
the most frequent culprit for such unpredictable problems, though.

If you have the opportunity to disable SMP and try again (e.g., you
have a GENERIC kernel around that matches your userland), that would
be worth a shot.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need some insight on error messages that I am getting.

2003-10-22 Thread Marshall Heartley
On Wed, 2003-10-22 at 09:51, M.D. DeWar wrote:
 I get these all the time.
 I was told that it was possibly in the cable or motherboard controller.
 The point was the drive was like ata  100 and the cable was ata 33 or the mb
 did not support the ata mode of the drive.
 I never confirmed it cuz when I put in a maxtor ata controller I lost all my
 slices and had to go back to the mb controller.
 
 I think that the person that sent me that was off this list so it might be
 in the archives.
 
Thanks, I used atacontrol to change the mode in which the drive was
working and the errors went away.  I changed it from UDMA66 to PIO0 and
no more messages.  My motherboard controller will handle the UDMA66 mode
so I do not know what the deal is.  My drives are on a ATA100 cable.  I
will look a little deeper so see what else is causing this.  I would
much rather operate the drive in UDMA66 mode than PIO0.

I will take a look in the archives to see what I can dig up.

Marshall

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


Re: [freebsd-questions] root passwd change

2003-10-22 Thread Lowell Gilbert
Eric Pogroski [EMAIL PROTECTED] writes:

 here's whats needed:
 
 presuming a full, multiuser system is running
 # shutdown now
 # hit return at the prompt for 'sh' (csh  tcsh both go fubar in
 single-user mode) at this point, all of the filesystems are
 still mounted 
 # passwd root --- this is important - lost one system by NOT doing
 this
 # exit-or-reboot  --- I prefer a reboot, but that's me.

Oh, right; we're only trying to change the root password here.  That's
not actually affected by securelevel at all, so that was a red herring
for me to bring up securelevel in the first place.

 work's about 9 times out of 10. It's the tenth one that makes you bald
 from frustration... :)

You need the ability to invoke shutdown.  Since you don't have the
root password, you need some other account with either root (via sudo,
for example) or operator-group access.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Happy birthday Earth

2003-10-22 Thread Viktor Lazlo


On Wed, 22 Oct 2003, Charles Howse wrote:

 Here's an interesting anniversary from my daily calendar report...

 History:
 Oct 23Battle of Leyte Gulf begins, 1944
 Oct 23Day of the 1956 revolution in Hungary
 Oct 23Earth created at 6:30 AM, 4004BC.
 ^

This is based on biblical calculations.  James Ussher, Bishop of Armagh
worked it out as 8:00AM, October 22nd, BC 4004, and John Lightfoot of
Cambridge University adjusted it to 9:00AM, October 23, BC.  I haven't
seen the creation time of 6:30 before but I suppose this is the result of
further adjustment.

In case the calendar files don't mention it, Adam and Eve were expelled
from Eden on November 10, 4004 BC and the flood ended on May 5th, 1491 BC.
I don't recall seeing what times those events occurred at.

Cheers,

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


Re: Automatic mounting of removable meadia

2003-10-22 Thread Brian Skrab
Heinrich Rebehn wrote:

Yes. Although it does not provide automatic mounting upon insertion of 
the disk (like windows does), it would be a solution.
Unfortunately man amd does not say anything about the format of the 
map for a local device and i was unable to find anything in 
/usr/share/examples. Can anyone give me an example?
This article provides a tutorial for adding this functionality using amd. 
It may be a little out-of-date, but it has worked for me in the past.

	http://www.daemonnews.org/200202/automounting.html

This solution mounts the media on access, and unmounts it on quiescence. 
Not exactly like windows does, but still useful.

Hope this helps.

~brian

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


Re: Automatic mounting of removable meadia

2003-10-22 Thread Christopher T. Johnson
 Heinrich Rebehn wrote:
 
  
  Yes. Although it does not provide automatic mounting upon insertion of 
  the disk (like windows does), it would be a solution.
  Unfortunately man amd does not say anything about the format of the 
  map for a local device and i was unable to find anything in 
  /usr/share/examples. Can anyone give me an example?
 
 This article provides a tutorial for adding this functionality using amd. 
 It may be a little out-of-date, but it has worked for me in the past.
 
   http://www.daemonnews.org/200202/automounting.html
 
 This solution mounts the media on access, and unmounts it on quiescence. 
 Not exactly like windows does, but still useful.
 
 Hope this helps.
 
 ~brian

I use amd for doing just this.  it works for most cases.  My map file looks like
cdrom   type:=cdfs;dev:=/dev/acd0c;addopts:=ro
floppy  type:=pcfs;dev:=/dev/fd0
zip type:=ufs;dev:=/dev/da0s1a
pczip   type:=pcfs;dev:=/dev/da0s4
pczipF  type:=pcfs;dev:=/dev/da0
flash   type:=pcfs;dev:=/dev/da0s1

(minus the NFS filesystems)

This works for everything but the type:=ufs.  When amd mounts a unix filesystem
it will never unmount it.  I had to patch amd to unmount ufs.

My amd.conf is the default.  The parameters for amd are:
/usr/sbin/amd -p -a /.amd_mnt -l syslog /u /etc/amd.u

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


RE: Postfix smtp connect problem

2003-10-22 Thread Sorin Chiorean

Hi,

You should go with all your questions related to POSTFIX  to this list:
http://archives.neohapsis.com/archives/postfix/ 

Or you can have a look to this links too :

http://www.onlamp.com/pub/a/bsd/2003/08/21/postfix.html 
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/index.html 
http://www.tldp.org/HOWTO/Postfix-Cyrus-Web-cyradm-HOWTO/index.html 

And a full guide in PDF format :
http://bsdhound.dnsalias.net:81/downloads/Creating_a_Stable_Secure_FreeB
SD_Mailserver.pdf 



Sorin Chiorean
Network Specialist
Computer Partners
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dhull
Sent: Tuesday, October 21, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: Postfix smtp connect problem

I am running FreeBSD stable (4.9 pre)

I installed Postfix from ports. 

If I log onto the server I can send mail using the quot;mailquot;
command. If I try an external mail client it times out. 

For some reasion postfix is not allowing connections other then local
host.

Can someone tell me how to fix this?

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


bash2 install on FreeBSD 5.1

2003-10-22 Thread Pratt, Benjamin E.
Hello everyone -

I recently decided to give FreeBSD 5.1 a try (I've only been running 4.8
for a little bit) so I chose to do a minimal install and build what I
have to from the ports tree.  I did the minimal install (along with man
pages and ports) and everything seemed to be going well until I tried to
install bash2 (I'm just used to bash).

When I run make install clean, in the /usr/ports/shells/bash2
directory, I get an error indicating that OpenSSL needs to be installed
(my first dependency issue in FreeBSD) so I go and install it.  I then
go back to /usr/ports/shells/bash2 and run make install clean again
and make runs fine but when I install I get an error saying that it's
already installed.  I then ran make deinstall and get an error saying
that bash2 is not installed.

I went to the mailing list archives and found this thread:
http://www.freebsd.org/cgi/search.cgi?words=orphaned+portmax=25sort=sc
oreindex=recentsource=freebsd-questions

This sounds like the same issue I'm having but I never really found a
fix.  I tried running pkgdb -F and portupgrade but to no avail.
Bash1 installs fine but I'd like to use bash2 (honestly, I'm not sure
what all of the differences are but I'd like to run the latest and
greatest).

Anyone have any ideas on how to fix this??

Thanks,

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


Re: bash2 install on FreeBSD 5.1

2003-10-22 Thread Bryan Cassidy
Have u tried make reinstall in the bash2 port dir?

On Wed, 22 Oct 2003 09:43:56 -0500
Pratt, Benjamin E. [EMAIL PROTECTED] wrote:

 Hello everyone -
 
 I recently decided to give FreeBSD 5.1 a try (I've only been running 4.8
 for a little bit) so I chose to do a minimal install and build what I
 have to from the ports tree.  I did the minimal install (along with man
 pages and ports) and everything seemed to be going well until I tried to
 install bash2 (I'm just used to bash).
 
 When I run make install clean, in the /usr/ports/shells/bash2
 directory, I get an error indicating that OpenSSL needs to be installed
 (my first dependency issue in FreeBSD) so I go and install it.  I then
 go back to /usr/ports/shells/bash2 and run make install clean again
 and make runs fine but when I install I get an error saying that it's
 already installed.  I then ran make deinstall and get an error saying
 that bash2 is not installed.
 
 I went to the mailing list archives and found this thread:
 http://www.freebsd.org/cgi/search.cgi?words=orphaned+portmax=25sort=sc
 oreindex=recentsource=freebsd-questions
 
 This sounds like the same issue I'm having but I never really found a
 fix.  I tried running pkgdb -F and portupgrade but to no avail.
 Bash1 installs fine but I'd like to use bash2 (honestly, I'm not sure
 what all of the differences are but I'd like to run the latest and
 greatest).
 
 Anyone have any ideas on how to fix this??
 
 Thanks,
 
 Ben
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Installing an Unsupported Driver

2003-10-22 Thread Vulpes Velox
On Tue, 21 Oct 2003 12:41:46 -0400
[EMAIL PROTECTED] wrote:

 I have an old HP J2575 10/100 ethernet card that does not seem to be supported
 by FreeBSD.  I found a driver for it on the Debian Linus web site.  
 
 Can I install the Debian driver in FreeBSD, or must I switch to Debian to make
 this particular machine useful?
 
 If I can install a new driver in FreeBSD, any hint of a direction to  the
 appropriate documentation would be appreciated.

1: FreeBSD is not linux.
2: linux kernel modules do not work on linux compat, which only does binaries.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: bash2 install on FreeBSD 5.1

2003-10-22 Thread Pratt, Benjamin E.
Yes, I am sorry, I forgot to add that.

I have tried make reinstall but that does not work.

Ben 

-Original Message-
From: Bryan Cassidy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2003 10:01 AM
To: [EMAIL PROTECTED]
Subject: Re: bash2 install on FreeBSD 5.1

Have u tried make reinstall in the bash2 port dir?

On Wed, 22 Oct 2003 09:43:56 -0500
Pratt, Benjamin E. [EMAIL PROTECTED] wrote:

 Hello everyone -
 
 I recently decided to give FreeBSD 5.1 a try (I've only been running
4.8
 for a little bit) so I chose to do a minimal install and build what I
 have to from the ports tree.  I did the minimal install (along with
man
 pages and ports) and everything seemed to be going well until I tried
to
 install bash2 (I'm just used to bash).
 
 When I run make install clean, in the /usr/ports/shells/bash2
 directory, I get an error indicating that OpenSSL needs to be
installed
 (my first dependency issue in FreeBSD) so I go and install it.  I then
 go back to /usr/ports/shells/bash2 and run make install clean again
 and make runs fine but when I install I get an error saying that it's
 already installed.  I then ran make deinstall and get an error
saying
 that bash2 is not installed.
 
 I went to the mailing list archives and found this thread:

http://www.freebsd.org/cgi/search.cgi?words=orphaned+portmax=25sort=sc
 oreindex=recentsource=freebsd-questions
 
 This sounds like the same issue I'm having but I never really found a
 fix.  I tried running pkgdb -F and portupgrade but to no avail.
 Bash1 installs fine but I'd like to use bash2 (honestly, I'm not sure
 what all of the differences are but I'd like to run the latest and
 greatest).
 
 Anyone have any ideas on how to fix this??
 
 Thanks,
 
 Ben
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Procmail Rules - please help

2003-10-22 Thread Peter Rosa
Hello list's friends.

I have FreeBSD box with sendmail+spamassassin+procmail. As it comes more and
more spam messages I realize to prepare rules for spam deletion. I have done
3 months work on spam mesgs+senders+scores analysis. Now I'm ready to do it,
but I'm not very familiar with procmail. I prepared the following list

I want to write rules, which will do following:
1. check if the X-Spam-Level is more than 15
2. retrieve the sender domain from Form: header
3. compare sender domain against my own list (freemails.txt),
 where are all big freemail sites listed.
4. if sender is not there, add sender domain to the ACCESS
   database with REJECT 550 Stop Spamming
5. delete the spam message
6. spams marked with score 10 should go to quarantene.



Please help me with second rule, as it can not work - it's only an idea:

FREEMAILS=`cat /etc/mail/freemails.txt`
SENDERDOMAIN=`egrep From: - | awk -F@ '{ print $2 }'`

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
* ${SENDERDOMAIN}${FREEMAILS}
| echo '${SENDERDOMAIN}\t\t550 Stop Spamming'  /etc/mail/access

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
/dev/null

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
! [EMAIL PROTECTED]



Any solution is very welcome :-)

Peter Rosa

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


RE: Firewall rules

2003-10-22 Thread fbsd_user
The FBSD handbook gives the idea that IPFW is the only firewall.
FBSD also comes with ipfilter which is much easier to use and
sertup. Google the questions archives for loads of info about
configuring ipfilter. You will be glade you did.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mihail
Sent: Wednesday, October 22, 2003 9:29 AM
To: [EMAIL PROTECTED]
Subject: Firewall rules

Hello,

I'm trying to set up a firewall with ipfw by using the client
firewall type given in rc.firewall as an example. My problem
is that the client rules don't allow me to do common
web-browsing. What should I add to the script to
resolve this without seriously compromising security?

cheers,
Mihail


-
Hot Mobiil - helinad, logod ja piltsõnumid!
http://portal.hot.ee

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

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


[no subject]

2003-10-22 Thread Maxim Maslennikov
Hello,

I'm using FreeBSD 5.1 like ppp server with callback cbcp option for a
windows clients.
After windows client call, the ppp displays callback window. If I press
the cancel button ppp makes disconnect.
Is it normal behaviour ?
When I'm using windosw2000 Remote Access Server and If I press the
cancel button ppp doesn't disconnect a connection, ppp only cancels
callback negotiation.
How can I configure ppp for it only cancels cbcp negotiation and doesn't
disconnect a connection ?

/etc/ppp/ppp.conf

-
default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cuaa4
set speed 115200
set redial 5 3
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\ AT \
  OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
disable ipv6cp

server:
enable pap
set callback cbcp none
set redial 1 1
set ifaddr 10.50.31.252 10.50.31.253 255.255.255.0
enable proxy
accept dns


/etc/ppp/ppp.secret


# Authname Authkey  Peer's IP addressLabel   Callback

ras rasbsd   **
*




Kind Regards,
Maxim Maslennikov.

UralCom Ltd
Development department
Phone:   +7 3422 900080
Fax: +7 3422 900546
Mobile:  +7 902 4719916


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


Freebsd room for a backup

2003-10-22 Thread DanB
How to you tell what files in the /usr directory that you can remove to
create more space for backups.  Like the port collection is that needed
if you  not adding anything more to run.

Dan

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


cleaning

2003-10-22 Thread Rogue Spider
is there a freebsd equivalent to scandisk and
diskdefrag so that i can clean the drive it says on
start up that the dir are fragmented but after that i
am unsertain.

=

No Hope in the future Look To the past to find redimsioun.

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cleaning

2003-10-22 Thread Kevin D. Kinsey, DaleCo, S.P.
Rogue Spider wrote:

is there a freebsd equivalent to scandisk and
diskdefrag so that i can clean the drive it says on
start up that the dir are fragmented but after that i
am unsertain.
 

If there is fragmentation, it is cleaned up
in the boot process (for 4.x) or done in
the background after booting (on 5.x).
Note that fragmentation on a ufs volume
is different from what you're used to
on DOS/FAT filesystems.
As long as the box is running, you have no
worries.  If there's ever a significant problem, you'll
be told to boot single-user and fix it yourself
using 'fsck'.
HTH,

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


RE: cleaning

2003-10-22 Thread Jason Lavigne
My understanding is FreeBSD is self cleaning, not like Windows.

cheers

Jay


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rogue Spider
Sent: Wednesday, October 22, 2003 11:45 AM
To: [EMAIL PROTECTED]
Subject: cleaning

is there a freebsd equivalent to scandisk and
diskdefrag so that i can clean the drive it says on
start up that the dir are fragmented but after that i
am unsertain.

=

No Hope in the future Look To the past to find redimsioun.

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


4.8-RELEASE: Gigabit Ethernet support on Dell PowerEdge 1750

2003-10-22 Thread Andrew Cleland
Hello all,

I'm trying and failing to get 4.8-RELEASE to recognise the two Broadcom
5704C based NICs on a Dell PowerEdge 1750 server.

I've recompiled the kernel with 'device miibus' and 'device bge' with no
problems, and the system boots OK, but the two NICs appear as
unrecognised devices when booting, and no sign of them appearing as
network interfaces...

From googling around it looks like they work fine with 5.1, but I don't
really want to run 5.1 on a production server yet.

Any ideas?

AC.

--
Andrew Cleland.

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


Re: cleaning

2003-10-22 Thread Jens Rehsack
Kevin D. Kinsey, DaleCo, S.P. wrote:
Rogue Spider wrote:

is there a freebsd equivalent to scandisk and
diskdefrag so that i can clean the drive it says on
start up that the dir are fragmented but after that i
am unsertain.
If there is fragmentation, it is cleaned up
in the boot process (for 4.x) or done in
the background after booting (on 5.x).
Did it changed? My last information is, *bsd checks
the disks at boot if they were not cleanly unmounted.
Otherwise there will nothing happens in this
direction.
Note that fragmentation on a ufs volume
is different from what you're used to
on DOS/FAT filesystems.
Yes, fragments are parts of a block of a filesystem,
where several small files or tails of files are
stored together to avoid waste of space by using
an entire block for a small piece of data.
As long as the box is running, you have no
worries.  If there's ever a significant problem, you'll
be told to boot single-user and fix it yourself
using 'fsck'.
Or you didn't notice. Usually next boot will show you.
If a hardware failure occur, you may never notice except
you check your entire disk(s) and prove all sectors
on the disk.
Jens

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


Re: 4.8-RELEASE: Gigabit Ethernet support on Dell PowerEdge 1750

2003-10-22 Thread Konrad Heuer

On Wed, 22 Oct 2003, Andrew Cleland wrote:

 I'm trying and failing to get 4.8-RELEASE to recognise the two Broadcom
 5704C based NICs on a Dell PowerEdge 1750 server.

 I've recompiled the kernel with 'device miibus' and 'device bge' with no
 problems, and the system boots OK, but the two NICs appear as
 unrecognised devices when booting, and no sign of them appearing as
 network interfaces...

 From googling around it looks like they work fine with 5.1, but I don't
 really want to run 5.1 on a production server yet.

I've three DELL PE 2650 running with 4.8-R; the Broadcom cards work fine.
While booting, the kernel reports:

bge0: Ethernet address: 00:10:18:02:43:07
miibus0: MII bus on bge0
brgphy0: BCM5701 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto

The kernel config file contains nothing but

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these
NICs!
device  miibus  # MII bus support
device  bge # Broadcom BCM570x (``Tigon III'')

regarding the NICs.

Are you sure the NICs aren't disabled in the BIOS setup? Sorry for using
the word 'Linux', but I'm not fanatic. Maybe you could try to boot a Linux
kernel from CD (Knoppix or so?) and watch what happens?

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: gaim and MSN

2003-10-22 Thread Tak Pui LOU
Hi, I use amsn and recently am unable to login. I saved the password on it
so it can't be a wrong password. I can also login from work with a PC
running W2k.

Does anyone know what evil thing M$ has done this time?

---
Lou

On Wed, 22 Oct 2003, Kan Cai wrote:


 Yeah, it works, but there is another problem.

 When I try to log on, I got error reading from server. Anything wrong
 with it? I am sure that the password is right. ;)

 Thanks a lot for the suggestions.

 cheers,
 --ken

 On Wed, 22 Oct 2003, Joe Marcus Clarke wrote:

  On Tue, 2003-10-21 at 22:31, Kan Cai wrote:
   Hi, All:
  
 I am installing gaim 0.71. Everything goes fine, but it seems that there
   is some problem with MSN lib.
  
 Whe I start it, I got plug-in error on finding MSN lib. I didn't install
   it actually, did I?
  
 I have installed Mozilla 1.4, but it seems that it is not able to make
   the SSL option on. Shall I specify the location, and how? Is there anybody
   can help me on this?
 
  If you're installing gaim from ports, SSL will be enabled
  automatically.  Just make sure you have the port 0.71_5, and you'll be
  set.
 
  Joe
 
  
 Thanks a lot in advance.
  
   Cheers,
   ken
  
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  --
  PGP Key : http://www.marcuscom.com/pgp.asc
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: gaim and MSN

2003-10-22 Thread Joe Marcus Clarke
On Wed, 2003-10-22 at 12:33, Tak Pui LOU wrote:
 Hi, I use amsn and recently am unable to login. I saved the password on it
 so it can't be a wrong password. I can also login from work with a PC
 running W2k.
 
 Does anyone know what evil thing M$ has done this time?

They changed the protocol version.  This has been in the news for
months.  You need to have gaim-0.71_5, and you should be able to login
to MSN just fine.

Joe

 
 ---
 Lou
 
 On Wed, 22 Oct 2003, Kan Cai wrote:
 
 
  Yeah, it works, but there is another problem.
 
  When I try to log on, I got error reading from server. Anything wrong
  with it? I am sure that the password is right. ;)
 
  Thanks a lot for the suggestions.
 
  cheers,
  --ken
 
  On Wed, 22 Oct 2003, Joe Marcus Clarke wrote:
 
   On Tue, 2003-10-21 at 22:31, Kan Cai wrote:
Hi, All:
   
  I am installing gaim 0.71. Everything goes fine, but it seems that there
is some problem with MSN lib.
   
  Whe I start it, I got plug-in error on finding MSN lib. I didn't install
it actually, did I?
   
  I have installed Mozilla 1.4, but it seems that it is not able to make
the SSL option on. Shall I specify the location, and how? Is there anybody
can help me on this?
  
   If you're installing gaim from ports, SSL will be enabled
   automatically.  Just make sure you have the port 0.71_5, and you'll be
   set.
  
   Joe
  
   
  Thanks a lot in advance.
   
Cheers,
ken
   
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
   --
   PGP Key : http://www.marcuscom.com/pgp.asc
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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


Re: Any ideas on X freezing up with NVIDIA drivers?

2003-10-22 Thread Chris Readle
Sorry for the delayed response, was out with a sick child yesterday and
had no web access at the Dr's office (they really need to put hotspots in
waiting rooms! ;).

At any rate, I also haven't had a chance to look at my files yet, but I
wanted to make sure to remind you to set option NvAgp 2 if you do,
which I know for a fact I'm using in my file.

chris

--- Don Whitteker [EMAIL PROTECTED] wrote:
 ( I am sorry if this was duplicated...mistyped address
 and it was returned)
 
 --- Chris Readle [EMAIL PROTECTED] wrote:
  Fellow newb here, but I've also been working on X
  issues with my GForceFX
  in Linux *and* FBSD so I might (and I stress might)
  be able to help.
 
 Hey man...any help at all is appreciated = )
 
  First things first, can you post your
  /etc/X11/XF86Config file?
 here ya go..
 
 Section ServerLayout
 Identifier Layout0
 Screen  0  Screen0 0 0
 InputDeviceKeyboard0 CoreKeyboard
 InputDeviceMouse0 CorePointer
 EndSection
 
 Section Files
 EndSection
 
 Section Module
 
 # Load freetype
 # Load xtt
 Load  extmod
 Load  glx
 #Load  dri
 Load  dbe
 #Load  record
 Load  xtrap
 Load  type1
 Load  speedo
 EndSection
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol Auto
 Option  Device /dev/sysmouse
 Option  ZAxisMapping 4 5
 EndSection
 
 Section InputDevice
 Identifier  Keyboard0
 Driver  keyboard
 Option  XkbModel pc104
 Option  XkbLayout us
 EndSection
 
 Section Monitor
 Identifier   Monitor0
 HorizSync31.5 - 48.5
 VertRefresh  50.0 - 70.0
 EndSection
 
 Section Device
 Identifier  Card0
 Driver  nvidia
 Option  NvAgp 1 #was tring this out 
 #when I
 was experimenting with the nvidia AGPGART
 EndSection
 
 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth 24
 SubSection Display
 Depth 24
 Modes1024x768 800x600
 640x480
 EndSubSection
 EndSection
  Are you using *dm (xdm, kdm, gdm, etc) or are you
  booting to CLI and doing
  startx?  I've had more issues with kdm and my FX
  than with CLI + startx.
 
 Actually I start up in the CLI and startx to get in
 
  As for AGP and kernel config, I've gotten mine
  working with AGP in the
  kernel and compiled with no optimizations other than
  CPUTYPE.
 
 I will try again with it like that
 
  Once I get a look at your files (and compare them to
  mine at home) I might
  have some more suggestions.
  
  chris
 
 That would be very cool = )
 
 Don
 
 __
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
 http://shopping.yahoo.com


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [freebsd-questions] root passwd change

2003-10-22 Thread Eric Pogroski
On Wed, 22 Oct 2003 10:06:12 -0400
Lowell Gilbert [EMAIL PROTECTED] wrote:

 Eric Pogroski [EMAIL PROTECTED] writes:
 
  here's whats needed:
  
  presuming a full, multiuser system is running
  # shutdown now
  # hit return at the prompt for 'sh' (csh  tcsh both go fubar in
  single-user mode) at this point, all of the filesystems are
  still mounted 
  # passwd root   --- this is important - lost one system by NOT doing
  this
  # exit  -or-reboot  --- I prefer a reboot, but that's me.
 
 Oh, right; we're only trying to change the root password here.  That's
 not actually affected by securelevel at all, so that was a red herring
 for me to bring up securelevel in the first place.
 
  work's about 9 times out of 10. It's the tenth one that makes you
  bald from frustration... :)
 
 You need the ability to invoke shutdown.  Since you don't have the
 root password, you need some other account with either root (via sudo,
 for example) or operator-group access.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Alright, before this turns ugly, I have a better way to go about this:

either a) just reboot the box, and boot off of a fixit disc, and use the
emergency terminal, follow the directions regarding soft linking
/etc/groups  /etc/*.db, and then change the password from there

or b) reboot the box, hit any key but enter when the countdown appears,
and enter single user mode, and do (providing no errors on boot):
mount -u / (takes the / partition out of read only mode)
mount -a -t ufs (mounts /tmp, /usr, and /var, and any other ufs
filesystems for you)
passwd root enter new pass, confirm new pass
reboot
login as root

it's kinda like doing the build world routine, only no fsck or massive
amounts of compiling.

However, if kern.securelevel is set to anything but '-1', and
kernsecurelevel_enable is set to YES in rc.conf, your not going to get
in without some good, old fashioned hacking.
Seeing as it was never mentioned what either or both of the previous
settings are, we both are shooting in the dark here.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gaim and MSN

2003-10-22 Thread Tak Pui LOU
Thanks for telling me that. I was too busy so I try to look up the reason.

I don't want to use applications that depend on so many packages. So, I
guess I will install aMSN 0.83.

---
Lou

On Wed, 22 Oct 2003, Joe Marcus Clarke wrote:

 On Wed, 2003-10-22 at 12:33, Tak Pui LOU wrote:
  Hi, I use amsn and recently am unable to login. I saved the password on it
  so it can't be a wrong password. I can also login from work with a PC
  running W2k.
 
  Does anyone know what evil thing M$ has done this time?

 They changed the protocol version.  This has been in the news for
 months.  You need to have gaim-0.71_5, and you should be able to login
 to MSN just fine.

 Joe

 
  ---
  Lou
 
  On Wed, 22 Oct 2003, Kan Cai wrote:
 
  
   Yeah, it works, but there is another problem.
  
   When I try to log on, I got error reading from server. Anything wrong
   with it? I am sure that the password is right. ;)
  
   Thanks a lot for the suggestions.
  
   cheers,
   --ken
  
   On Wed, 22 Oct 2003, Joe Marcus Clarke wrote:
  
On Tue, 2003-10-21 at 22:31, Kan Cai wrote:
 Hi, All:

   I am installing gaim 0.71. Everything goes fine, but it seems that there
 is some problem with MSN lib.

   Whe I start it, I got plug-in error on finding MSN lib. I didn't install
 it actually, did I?

   I have installed Mozilla 1.4, but it seems that it is not able to make
 the SSL option on. Shall I specify the location, and how? Is there anybody
 can help me on this?
   
If you're installing gaim from ports, SSL will be enabled
automatically.  Just make sure you have the port 0.71_5, and you'll be
set.
   
Joe
   

   Thanks a lot in advance.

 Cheers,
 ken

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--
PGP Key : http://www.marcuscom.com/pgp.asc
   
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 --
 PGP Key : http://www.marcuscom.com/pgp.asc



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


nsmbrc documentation

2003-10-22 Thread Matthew Bettinger
Hello,

Can someone shed some light on how to use .nsmbrc to automount
windows shares for a regular user?  

Apparantly there is supposed to be a man (5) page but I can't find
it.  I do see the example in /usr/local/share/examples/smbfs.

Anyway, is it possible to have a normal user mount the windows
shares in their ~/.nsmbrc file without having root access or am I
going to have to use sudo without authentication for the mount_smbfs
command?

Also, is there a way to test a global nsmb.conf file without
rebooting the server?

My last questions is: Where do I put the global file?
/usr/local/etc or /etc ?  I'm pretty sure I saw something in a bugs
list where  it was supposed to be put in /etc and not
/usr/local/etc.  Since I don't know of a way to test my
global file short of a reboot I really can't verify this.  

Thanks!

-
Matthew Bettinger
System Administrator
Champion Elevators, Inc
Houston, Texas 77061
713.640.8500
-
KeyID: 68F0AAC4
Key Fingerprint: 096F 98AE 74FB 984B 2134 5C41 0E94 CF91 68F0 AAC4
Public Key: http://www.championelevators.com/~mbettinger/pub_key.asc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vinum Offset for Swap: 265 or 281?

2003-10-22 Thread rtjohan

For instance you have partition e with size=3142987 and offset
5242880, but the var volume uses sd len 3142987s driveoffset 524864s
drive rootdev. Why is it necessary for each subdisk to be 16 lower
then the partition it will be mapping?
   

Take /var for example.  It's on partition e, which starts at offset
5242880 from the beginning of the disk.  The subdisk starts at offset
5242864 from the beginning of the drive.  The drive starts at offset
16 from the beginning of the disk, so the subdisk starts at 5242880
from the beginning of the disk.
 

Thanks for clarifying the difference between disk vs drive. That's the 
part I didn't understand well enough. I used those 16 subdisk offsets in 
my vinum config file, just didn't understand why they were there for all 
the subdisks. Now I do.

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


Re: Happy birthday Earth

2003-10-22 Thread Josef Grosch
On Wed, Oct 22, 2003 at 08:17:50AM -0500, Charles Howse wrote:
 Here's an interesting anniversary from my daily calendar report...
 
 History:
 Oct 23Battle of Leyte Gulf begins, 1944
 Oct 23Day of the 1956 revolution in Hungary
 Oct 23Earth created at 6:30 AM, 4004BC.
 ^
 Oct 23Swallows leave Capistrano
 
 Music:
 Oct 22Franz Liszt born, 1811
 
 Thanks,
 Charles
 

Yes, there was this Irish bishop in the 17th century and based on the ages
of the Prophets he figured out that that was the date and time the earth
was created. I guess that the Irish had not invented whiskey yet or they
would not had so much time for such foolishness.


Josef

-- 
Josef Grosch   | Another day closer to a | FreeBSD 5.1
[EMAIL PROTECTED] |   Micro$oft free world  | Berkeley, Ca.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-22 Thread Kent Stewart
On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:
  What versions of ruby do you have installed? I can remember back a
  few versions, that uninstalling portupgrade and ruby and then
  making and installing portupgrade was faster than fighting the
  problems with ruby.
 
  Kent

 -su-2.05b# ruby -v
 ruby 1.6.8 (2003-03-26) [i386-freebsd5]

I don't have any idea. It looks like a source/configuration/make error of some 
type. My version is the also the following
ruby 1.6.8 (2003-03-26) [i386-freebsd5]

I didn't have any problem re-building portupgrade and the ruby tools using
portupgrade -pufr ruby.

My last cvsup was on 15 Oct, which is a little bit old. So, I recvsuped 
ports-all and, as always, re-built INDEX and INDEX.db. I use make index to 
update INDEX and the only refuse I have is ports/INDEX-5. Since I rebuild 
the INDEXs everytime I cvsup ports-all, there isn't any point in having cvsup 
grab a current copy of INDEX-5, which is always out of date. After INDEX.db 
was rebuilt, I reran the -pufr update of ruby and didn't have any problems.

My setup is KISS simple. I use the stock gcc that comes with 5-current. I 
don't use options for the build flags in /etc/make.conf. My port tree is also 
located in /usr/ports. The only thing different on my FreeBSD-5-current 
machine is the packages produced by portupgrade are stored on a different fs 
called /usr3/All. That shouldn't make any difference to the build process. 
The iso images for version 5.1-Release were built on 5 Jun, which is several 
months after the last changes to ruby-1.6.8.

A uname -a of my system shows
FreeBSD opal 5.1-CURRENT FreeBSD 5.1-CURRENT #41: Wed Oct 15

You aren't the only one with problems and it may be something simple like a 
trashed ruby patch file. I haven't seen them re-roll the tarballs for ruby, 
which is only seen when the checksums don't agree. Since I don't have a 
5.1-release system, there isn't much else that I can try.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Happy birthday Earth

2003-10-22 Thread Chris Readle
--- Josef Grosch [EMAIL PROTECTED] wrote:
 On Wed, Oct 22, 2003 at 08:17:50AM -0500, Charles Howse wrote:
  Here's an interesting anniversary from my daily calendar report...
  
  History:
  Oct 23  Battle of Leyte Gulf begins, 1944
  Oct 23  Day of the 1956 revolution in Hungary
  Oct 23  Earth created at 6:30 AM, 4004BC.
  ^
  Oct 23  Swallows leave Capistrano
  
  Music:
  Oct 22  Franz Liszt born, 1811
  
  Thanks,
  Charles
  
 
 Yes, there was this Irish bishop in the 17th century and based on the
 ages
 of the Prophets he figured out that that was the date and time the earth
 was created. I guess that the Irish had not invented whiskey yet or they
 would not had so much time for such foolishness.
 
 
 Josef

Not to drag this discussion further off topic, but in the 15th century,
the Jewish Kabbalists living in Spain using their methods of
interpretation of the Torah, calculated the age of the universe to be 15
billion years old.  Which, interestingly enough is relatively close to
current scientific estimates of 13 billion.  As I recall, they also
estimated the age of the earth to 5 or 6 billion, which is also relatively
close to current scientific theory.  

Not bad, considering this was all done before Columbus sailed to the New
World (which was when the Jews were expelled from Spain).


MFC: (mandatory FBSD content) if I fubared my /etc/adduser.conf, can I
blow it away and have adduser just recreate it, or must I edit the file
and make corrections?

chris


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-22 Thread Jens Rehsack
Kent Stewart wrote:
On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:

What versions of ruby do you have installed? I can remember back a
few versions, that uninstalling portupgrade and ruby and then
making and installing portupgrade was faster than fighting the
problems with ruby.
Kent
-su-2.05b# ruby -v
ruby 1.6.8 (2003-03-26) [i386-freebsd5]


I don't have any idea. It looks like a source/configuration/make error of some 
type. My version is the also the following
ruby 1.6.8 (2003-03-26) [i386-freebsd5]
Maybe complete remove of ruby and dependend packages
followed by a reinstall of all of them may help.
If you only have portupgrade installed, you can
simply
# pkg_delete -rx ruby
# cd /usr/ports/sysutils/portupgrade
# make install clean
If you have other ruby-dependend ports, please write them down,
eg. by
$ cd
$ ls -l /var/db/pkg/ installed-packages
$ su -
# [above procedure]
$ ls -l /var/db/pkg/ after-reinstall-ruby-packages
$ diff installed-packages after-reinstall-ruby-packages
And then reinstall all packages missing (and you need).

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


strange dump (dark matter?)

2003-10-22 Thread Ryan Sandridge
Hello all.  I decided it was time to start doing backups.  On Oct 7th, 
I did a full dump of /usr filesystem (among others), as such:
# dump -0uan -f - /usr | gzip -7  /tmp/20031007-usr-lvl0.dump.gz

This seemed to work as expected, here is some info about the gz file:
% gzip -l 20031007-usr-lvl0.dump.gz
compressed  uncompr. ratio uncompressed_name
507027476 1590855680  68.1% 20031007-usr-lvl0.dump
Everything so far so good.  Today (Oct 22) I tried an incremental dump, 
as such:
# dump -5uan -f - /usr | gzip -7  /tmp/20031022-usr-lvl5.dump.gz

Here is where I start getting confused.  While my other incremental 
backups today (/ and /var), seemed to be fine, the /usr dump was huge.  
Here is info about the gz file:
% gzip -l 20031022-usr-lvl5.dump.gz
compressed  uncompr. ratio uncompressed_name
527112624 543600640   3.0% 20031022-usr-lvl5.dump

This incremental backup is larger than the original full dump.  Also 
notice that the compression ratio was 3.0%.  When examining the list of 
files dumped, I don't see anything that could lead to a file size like 
this.  A rough count shows that the backup should have been roughly 
11MB uncompressed, compared to the 518MB uncompressed.  I've tried 
reading up on both dump and gzip, but haven't found a clue.  Perhaps 
I've discovered dark matter.

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


Re: xlock + xautolock question

2003-10-22 Thread roland Mathieu
Bryan Cassidy ([EMAIL PROTECTED]) a écrit:
 I've read through the man page for xlockmore and xautolock and cant
 figure out (must be over looking it or something) but can't figure out
 how to setup a .rc file for the two and how to setup xlockmore to
 interact with xautolock.. So any help would be apprecited even if its
 from the man page it's self. i dont mind to read. Must be over looking
 it or something.

Hello,

If you put this line in a startup script like ~/.xsession or ~/.xinitrc 

xautolock -time 5 -locker xlock 

xlock will be automatically launch after five minutes of inactivity. «man
xautolock» and «man xlock» to configure xlock and xautolock exactly like
want.

Note: it's absolutely not FreeBSD specific.

Hope it help.
roland.

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


Re: natd question

2003-10-22 Thread Michelle
On Tuesday, October 21, 2003, at 05:31 PM,  
[EMAIL PROTECTED] wrote:

have you tried this reading this?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network- 
natd.html

dont forget to set the gateway IP address of your network clients to  
the IP address of your FreeBSD nat server.
yes.  i've read the freebsd unleashed book, the freebsd.org docs, the  
man pages, as well as a freebsddiary.com article on setting up a nat  
server.  the server is using freebsd 4.6.2 with nat and ipfw.  i am  
working with a security engineer who set up our ipfw rules.  i had him  
double check the rules and double check my nat configuration.  he could  
not find any problems.  when on the subnet, i am able to ping the  
linksys router which is connected to our dsl modem, but can't seem to  
get packets beyond the router. is there any way to test that the  
packets are actually being translated?




hope this helps...



-
Gil Agno Virtucio
Janitor/Collector/Messenger
NEC System Integration and Construction Philippines Inc. 15th Floor  
BPI Buendia Center.__  ___ ___ .
Gil Puyat Ave. Makati City 1200 /  _/|__|/   |   \||
Cellphone : +639163989695  /   \  ___|  /~\|
Office Phone: +6328914167  \\_\  \  \Y/|___
\__  /__|\___|_  /|___ \
   \/  \/ \/
-

-Original Message-
From: Michelle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 6:00 AM
To: [EMAIL PROTECTED]
Subject: natd question
i am running freebsd 4.6.2.  i have 2 nic cards on the machine, one  
which is the external interface and connects to a router which  
connects to dsl.  the other is internal interface for our subnet.  i  
have enabled natd on the machine, but still cannot get packets out  
when on the subnet.  i can ssh to the external interface, but can't  
ssh to a machine that is outside of our network.  i checked ps aux to  
make sure natd is running and checked the firewall rules to make sure  
the natd divert rule is there.  is there something else i need to  
configure?

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

** Get your free E-Mail account at WWW.DIGITELONE.COM **
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to  
[EMAIL PROTECTED]

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


5Dwm

2003-10-22 Thread Tak Pui LOU
Hello,

Is there anyone planning to port 5Dwm from the IMD4Linux Project? I don't
need the whole IMD environment although it is nice to have it. I just want
a mwm with multiple workspace manager.

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


Re: 4.8-RELEASE: Gigabit Ethernet support on Dell PowerEdge 1750

2003-10-22 Thread Olaf Hoyer
On Wed, 22 Oct 2003, Andrew Cleland wrote:

 Hello all,

 I'm trying and failing to get 4.8-RELEASE to recognise the two Broadcom
 5704C based NICs on a Dell PowerEdge 1750 server.

Hi!

Known issue, the 5704C PCI ID wasn't known to the bge-driver around
4.8-R.

take a FreeBSD 4.9-PRE, there it will work.

Or install a 4.8-R, and update it somehow (put in a third NIC, cvsup,
and make world, or copy over the /usr/src from another machine via CD)

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ATA mirroring solution required

2003-10-22 Thread Brent Wiese
 
 I was looking for a secondary controller to give each drive it's own
 channel on the controller (ie a promise/HPT one) but have no 
 experience
 with these under FreeBSD.  Can someone recommend one if possible that
 works flawlessly or an alternative solution?

I have a Promise TX2000 running under 4.8 and it works fine so far. That
card is about $75 online.

One of the nice things is you can tell it to mirror the original drive so
you don't have to reinstall. Other cards (like the 3Ware Escalades) kill
both drives data when you create the mirror, so you have to
reinstall/restore backup.

Cheers,
Brent


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


Re: 4.8-RELEASE: Gigabit Ethernet support on Dell PowerEdge 1750

2003-10-22 Thread Olaf Hoyer
On Wed, 22 Oct 2003, Konrad Heuer wrote:

 I've three DELL PE 2650 running with 4.8-R; the Broadcom cards work fine.
 While booting, the kernel reports:

Hi!

The 2650 use an older version of the Broadcom chips than the 1750, with
different PCI ID.

 Are you sure the NICs aren't disabled in the BIOS setup? Sorry for using
 the word 'Linux', but I'm not fanatic. Maybe you could try to boot a Linux
 kernel from CD (Knoppix or so?) and watch what happens?

Knoppix 3.2 recognizes them fine.


For the archives:
Solution: Upgrade to 4.9-pre or later, support has been merged in some
weeks before 4.9-pre.

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.8-RELEASE: Gigabit Ethernet support on Dell PowerEdge 1750

2003-10-22 Thread A. J. E. Cleland
On Oct 22 2003, Olaf Hoyer wrote:
On Wed, 22 Oct 2003, Andrew Cleland wrote:

 Hello all,

 I'm trying and failing to get 4.8-RELEASE to recognise the two Broadcom
 5704C based NICs on a Dell PowerEdge 1750 server.
Hi!

Known issue, the 5704C PCI ID wasn't known to the bge-driver around
4.8-R.
take a FreeBSD 4.9-PRE, there it will work.

Or install a 4.8-R, and update it somehow (put in a third NIC, cvsup,
and make world, or copy over the /usr/src from another machine via CD)
HTH
Olaf
Aha, that would explain it. I'll try the /usr/src copy idea, as I don't 
have any PCI-X NICs that'll fit the 1750.

Thanks v. much.

Andrew.

--
Andrew Cleland.
College Computer Officer, Peterhouse, Cambridge.
http://www.pet.cam.ac.uk/
Tel. (0)1223 (3)38226.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.8-RELEASE: Gigabit Ethernet support on Dell PowerEdge 1750

2003-10-22 Thread Olaf Hoyer
On Wed, 22 Oct 2003, A. J. E. Cleland wrote:

  Known issue, the 5704C PCI ID wasn't known to the bge-driver around
  4.8-R.
 
  take a FreeBSD 4.9-PRE, there it will work.
 
  Or install a 4.8-R, and update it somehow (put in a third NIC, cvsup,
  and make world, or copy over the /usr/src from another machine via CD)
 
  HTH
  Olaf
 

 Aha, that would explain it. I'll try the /usr/src copy idea, as I don't
 have any PCI-X NICs that'll fit the 1750.

Any 3.3V capable NIC like the 3com 905C or Intel EEPro100 will do, I did
it with an recent 100MBit 3com card that was lying around.

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Databases

2003-10-22 Thread E. J. Cerejo
I have a small business and I'm looking to setup a freebsd server.  I 
want to connect about 4 clients to this server running windows XP.  The 
Freebsd server will keep a database of every customer address, phone 
number, what services that were performed, how much was charged, etc 
etc.  This is basically all I need for now and I was wondering which 
opensource database would do this in the easiest possible way.  Also 
what software would I use in the client boxes to access this database 
(input and output).

Best regards to all

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


RE: Databases

2003-10-22 Thread Jason Lavigne
MySQL + PHP (or Perl) will allow you to use IE on XP.

cheers

Jay


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of E. J. Cerejo
Sent: Wednesday, October 22, 2003 2:45 PM
To: freebsd-questions
Subject: Databases

I have a small business and I'm looking to setup a freebsd server.  I 
want to connect about 4 clients to this server running windows XP.  The 
Freebsd server will keep a database of every customer address, phone 
number, what services that were performed, how much was charged, etc 
etc.  This is basically all I need for now and I was wondering which 
opensource database would do this in the easiest possible way.  Also 
what software would I use in the client boxes to access this database 
(input and output).

Best regards to all

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

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


Re: Databases

2003-10-22 Thread Mike Maltese
 I have a small business and I'm looking to setup a freebsd server.  I
 want to connect about 4 clients to this server running windows XP.  The
 Freebsd server will keep a database of every customer address, phone
 number, what services that were performed, how much was charged, etc
 etc.  This is basically all I need for now and I was wondering which
 opensource database would do this in the easiest possible way.  Also
 what software would I use in the client boxes to access this database
 (input and output).

My suggestion would be either MySQL or PostgreSQL as both have a ODBC
clients for Windows.
http://www.mysql.com
http://www.postgresql.org

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


Re: Databases

2003-10-22 Thread E. J. Cerejo
[EMAIL PROTECTED] wrote:

I have a small business and I'm looking to setup a freebsd server.  I
want to connect about 4 clients to this server running windows XP.  The
Freebsd server will keep a database of every customer address, phone
number, what services that were performed, how much was charged, etc
etc.  This is basically all I need for now and I was wondering which
opensource database would do this in the easiest possible way.  Also
what software would I use in the client boxes to access this database
(input and output).
   

My suggestion would be either MySQL or PostgreSQL as both have a ODBC
clients for Windows.
http://www.mysql.com
http://www.postgresql.org
 

I just went through the download page of postgresql but I couldn't see 
the client for windows, could you send me the link for the client or is 
it accessible with IE?

Best regards

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


Re: Databases

2003-10-22 Thread Payne
E. J. Cerejo wrote:

I have a small business and I'm looking to setup a freebsd server.  I 
want to connect about 4 clients to this server running windows XP.  
The Freebsd server will keep a database of every customer address, 
phone number, what services that were performed, how much was charged, 
etc etc.  This is basically all I need for now and I was wondering 
which opensource database would do this in the easiest possible way.  
Also what software would I use in the client boxes to access this 
database (input and output).

Best regards to all

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


As other have written, MySQL is the way to good. If you buy the FreeBSD 
CD MySQL  is on the CD. All you need to is down load 3.51 ODBC drivers 
which work great with MS Office, or you can use PHP to write your own 
web base apps. We are currently using MySQL with ODBC and PHP and really 
love the fact that we can custom our web apps to the way we want them to 
work vs. the way out of the box apps work. Also take a look at 
phpMyAdmin  or  MySQL Center Control  these are great apps to help admin 
the database. Plus, there are thousand of Open Source programs and code 
that you can find to help you.

Payne

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


D-Link (DFE-670TXD) config

2003-10-22 Thread RacerX
Hey folks -
So far as I can tell, under FreeBSD 5.1, the above pcmcia card
works. However, when I install 4.8 onto my laptop, the pccard only sort
of seems to be seen.

IE:
pccard: card inserted, slot 0
pccard[43]: No card in database for D-Link(DFE-670TXD)

What I would like to know, has anyone got this card to work under 4.8?
If so, I would greatly appreciate the details on how.


Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000

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


Re: Databases

2003-10-22 Thread Mike Maltese
 I just went through the download page of postgresql but I couldn't see
 the client for windows, could you send me the link for the client or is
 it accessible with IE?

As with most things Microsoft, IE sucks, and it really sucks at FTP. Try a
real FTP client and/or a mirror.

FTP to ftp9.us.postgresql.org (or appropriate mirror), then navigate to
/pub/mirrors/postgresql/odbc/versions/msi and find the newest version (7.03
I believe).

Also, have a look at these pages:
http://gborg.postgresql.org/project/psqlodbc/projdisplay.php
http://gborg.postgresql.org/project/psqlodbc/genpage.php?downloads
http://gborg.postgresql.org/project/psqlodbc/faq/faq.php

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


Re: 5Dwm

2003-10-22 Thread Adam Weinberger
 (10.22.2003 @ 1340 PST): Tak Pui LOU said, in 0.4K: 
 Is there anyone planning to port 5Dwm from the IMD4Linux Project? I don't
 need the whole IMD environment although it is nice to have it. I just want
 a mwm with multiple workspace manager.
 end of 5Dwm from Tak Pui LOU 

If you'd like to make a 5dwm port, you should go for it! It seems like a
neat windowmanager.

# Adam


--
Adam Weinberger
vectors.cx[EMAIL PROTECTED] http://www.vectors.cx
magnesium.net [EMAIL PROTECTED] http://www.magnesium.net/~adamw
FreeBSD   [EMAIL PROTECTED] http://people.freebsd.org/~adamw
#vim:set ts=8: 8-char tabs prevent tooth decay.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


traceroute works - ping doesn't

2003-10-22 Thread chip . wiegand
I just installed FreeBSD-5.1 this morning and noticed I couldn't access 
the internet.
I tried to ping a web site but got no response. I ran traceroute and after 
a minute or
so got a complete traceroute. Any idea why I can't ping but can 
traceroute? I am
unable to run make install to install ports because it doesn't connect.
Thanks,
--
Chip
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


netstat -m

2003-10-22 Thread Your Name

-- 
Hi all

I increased the kern.ipc.nmbclusters=129536

but still got the memory denied

Can you help me what is the problem

netstat -m
41202/41440/518144 mbufs in use (current/peak/max):
41096 mbufs allocated to data
106 mbufs allocated to packet headers
41095/41324/129536 mbuf clusters in use (current/peak/max)
93008 Kbytes allocated to network (2% of mb_map in use)
54 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: traceroute works - ping doesn't

2003-10-22 Thread Kliment Andreev
 so got a complete traceroute. Any idea why I can't ping but can 
 traceroute? I am
 unable to run make install to install ports because it doesn't connect.

They are using firewall (ICMP blocking).
Are you sure with the ports? Sometimes it takes a while.

What about ftp ftp.freebsd.org?
What is the output of this? ping a.root-servers.net

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


Re: strange dump (dark matter?)

2003-10-22 Thread Dave McCammon

--- Ryan Sandridge [EMAIL PROTECTED] wrote:
 Hello all.  I decided it was time to start doing
 backups.  On Oct 7th, 
 I did a full dump of /usr filesystem (among others),
 as such:
 # dump -0uan -f - /usr | gzip -7 
 /tmp/20031007-usr-lvl0.dump.gz
 
 This seemed to work as expected, here is some info
 about the gz file:
 % gzip -l 20031007-usr-lvl0.dump.gz
 compressed  uncompr. ratio uncompressed_name
 507027476 1590855680  68.1% 20031007-usr-lvl0.dump
 
 Everything so far so good.  Today (Oct 22) I tried
 an incremental dump, 
 as such:
 # dump -5uan -f - /usr | gzip -7 
 /tmp/20031022-usr-lvl5.dump.gz
 
 Here is where I start getting confused.  While my
 other incremental 
 backups today (/ and /var), seemed to be fine, the
 /usr dump was huge.  
 Here is info about the gz file:
 % gzip -l 20031022-usr-lvl5.dump.gz
 compressed  uncompr. ratio uncompressed_name
 527112624 543600640   3.0% 20031022-usr-lvl5.dump
 
 This incremental backup is larger than the original
 full dump.  Also 
 notice that the compression ratio was 3.0%.  When
 examining the list of 
 files dumped, I don't see anything that could lead
 to a file size like 
 this.  A rough count shows that the backup should
 have been roughly 
 11MB uncompressed, compared to the 518MB
 uncompressed.  I've tried 
 reading up on both dump and gzip, but haven't found
 a clue.  Perhaps 
 I've discovered dark matter.
 
 Thanks,
Ryan

Where is the file of your first backup stored?
Did it get backed up as part of the incremental
backup?


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Happy birthday Earth

2003-10-22 Thread James Long
On Wed, Oct 22, 2003 at 07:18:01AM -0700, Viktor Lazlo wrote:
 
 
 On Wed, 22 Oct 2003, Charles Howse wrote:
 
  Here's an interesting anniversary from my daily calendar report...
 
  History:
  Oct 23  Battle of Leyte Gulf begins, 1944
  Oct 23  Day of the 1956 revolution in Hungary
  Oct 23  Earth created at 6:30 AM, 4004BC.
  ^
 
 This is based on biblical calculations.  James Ussher, Bishop of Armagh
 worked it out as 8:00AM, October 22nd, BC 4004, and John Lightfoot of
 Cambridge University adjusted it to 9:00AM, October 23, BC.

UTC?


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


Re: traceroute works - ping doesn't

2003-10-22 Thread chip . wiegand
Appears the remote firewall admin has made a change and didn't inform us - 
the icmp port
has been closed. I tried to install Apache earlier today, first app 
install on this particular box,
but it failed. Every server it tried to download from resulted in no 
access, not found message.
I just tried again, and it finally found a server to download from after 
trying a long list of them.
I used port_install this last time. It appears to be going okay now.
Regards,
--
Chip

[EMAIL PROTECTED] wrote on 10/22/2003 12:56:10 PM:

  so got a complete traceroute. Any idea why I can't ping but can 
  traceroute? I am
  unable to run make install to install ports because it doesn't 
connect.
 
 They are using firewall (ICMP blocking).
 Are you sure with the ports? Sometimes it takes a while.
 
 What about ftp ftp.freebsd.org?
 What is the output of this? ping a.root-servers.net
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


Re: Happy birthday Earth

2003-10-22 Thread Louis LeBlanc
On 10/22/03 01:08 PM, James Long sat at the `puter and typed:
 On Wed, Oct 22, 2003 at 07:18:01AM -0700, Viktor Lazlo wrote:
  
  
  On Wed, 22 Oct 2003, Charles Howse wrote:
  
   Here's an interesting anniversary from my daily calendar report...
  
   History:
   Oct 23Battle of Leyte Gulf begins, 1944
   Oct 23Day of the 1956 revolution in Hungary
   Oct 23Earth created at 6:30 AM, 4004BC.
   ^
  
  This is based on biblical calculations.  James Ussher, Bishop of Armagh
  worked it out as 8:00AM, October 22nd, BC 4004, and John Lightfoot of
  Cambridge University adjusted it to 9:00AM, October 23, BC.
 
 UTC?

ROFL!

Viktor, you're my hero!

L
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

18th Rule of Friendship:
  A friend will let you hold the ladder while he goes up on the roof to
  install your new aerial, which is the biggest son-of-a-bitch you ever saw.
-- Esquire, May 1977
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bash2 install on FreeBSD 5.1

2003-10-22 Thread Kris Kennaway
On Wed, Oct 22, 2003 at 09:43:56AM -0500, Pratt, Benjamin E. wrote:

 When I run make install clean, in the /usr/ports/shells/bash2
 directory, I get an error indicating that OpenSSL needs to be installed
 (my first dependency issue in FreeBSD) so I go and install it.  I then
 go back to /usr/ports/shells/bash2 and run make install clean again
 and make runs fine but when I install I get an error saying that it's
 already installed.  I then ran make deinstall and get an error saying
 that bash2 is not installed.

That's a weird error, because bash2 does not depend on openssl.  Can
you please provide a transcript of the errors?

Kris


pgp0.pgp
Description: PGP signature


Re: cleaning

2003-10-22 Thread Kris Kennaway
On Wed, Oct 22, 2003 at 10:55:21AM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Rogue Spider wrote:
 
 is there a freebsd equivalent to scandisk and
 diskdefrag so that i can clean the drive it says on
 start up that the dir are fragmented but after that i
 am unsertain.
  
 
 
 If there is fragmentation, it is cleaned up
 in the boot process (for 4.x) or done in
 the background after booting (on 5.x).

fsck does not defragment the filesystem, but doing so is not
necessary except under extreme usage patterns, because UFS is not so
badly-designed as to require regular defragmentation.

Kris


pgp0.pgp
Description: PGP signature


Re: make buildworld error

2003-10-22 Thread Gregory Neil Shapiro
 === etc/sendmail
 make: don't know how to make freebsd.cf. Stop
 *** Error code 2

Does /usr/src/etc/sendmail/freebsd.mc exist?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Freebsd ( Raid1 / Mirror Lost ) 10-22-03

2003-10-22 Thread Ethan Akins
[ FreeBSD 4.6-RC2 ]

Hello, I have been running Freebsd on several servers here for the past 7 
years and just 1 month ago the Raid1 mirror broke for no apparent reason. 
After trying every possible method to fix this machine I went and purchased 
a brand new A7V333 Motherboard ( the exact same motherboard that was in it 
before ), 2 new hard drives, new power supply, CPU, etc... so the machine is 
now 100% brand new to weed out any additional questions of a hardware 
failure only to find that the same exact thing is happening. I can boot the 
machine and create the arrays as they should be created and everything runs 
just fine for approximately 10-15 hours and then whammo, the message below 
appears:


ad4: WRITE command timeout tag=0 serv=0 - resetting
ata2: resetting device
ad4: removed from configuration
ar0: WARNING - mirror lost
ad4: deleted from ar0 disk0
done

The machine continues to run, however it is only functioning on one drive 
and the mirror is lost!

I have other machines running with the exact same hardware, etc.. from years 
ago that are still pumping away perfectly but the new motherboard / hardware 
is failing the system.

Any ideas? Can someone possibly help out here...

It would be greatly appreciated -- Thank you in advance!

Ethan Akins
[EMAIL PROTECTED]
_
Add MSN 8 Internet Software to your current Internet access and enjoy 
patented spam control and more.  Get two months FREE! 
http://join.msn.com/?page=dept/byoa

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


Re: strange dump (dark matter?)

2003-10-22 Thread Ryan Sandridge
On Oct 22, 2003, at 4:00 PM, Dave McCammon wrote:

--- Ryan Sandridge [EMAIL PROTECTED] wrote:
Hello all.  I decided it was time to start doing
backups.  On Oct 7th,
I did a full dump of /usr filesystem (among others),
as such:
# dump -0uan -f - /usr | gzip -7 
/tmp/20031007-usr-lvl0.dump.gz
This seemed to work as expected, here is some info
about the gz file:
% gzip -l 20031007-usr-lvl0.dump.gz
compressed  uncompr. ratio uncompressed_name
507027476 1590855680  68.1% 20031007-usr-lvl0.dump
Everything so far so good.  Today (Oct 22) I tried
an incremental dump,
as such:
# dump -5uan -f - /usr | gzip -7 
/tmp/20031022-usr-lvl5.dump.gz
Here is where I start getting confused.  While my
other incremental
backups today (/ and /var), seemed to be fine, the
/usr dump was huge.
Here is info about the gz file:
% gzip -l 20031022-usr-lvl5.dump.gz
compressed  uncompr. ratio uncompressed_name
527112624 543600640   3.0% 20031022-usr-lvl5.dump
This incremental backup is larger than the original
full dump.  Also
notice that the compression ratio was 3.0%.  When
examining the list of
files dumped, I don't see anything that could lead
to a file size like
this.  A rough count shows that the backup should
have been roughly
11MB uncompressed, compared to the 518MB
uncompressed.  I've tried
reading up on both dump and gzip, but haven't found
a clue.  Perhaps
I've discovered dark matter.
Thanks,
   Ryan
Where is the file of your first backup stored?
Did it get backed up as part of the incremental
backup?
I should have mentioned that I had checked that already, because that 
would almost explain the unaccounted for 507 MB... but unless I'm 
missing something, that is not the problem.  The backups were made onto 
/tmp filesystem, which were then archived to cd-rom, and deleted from 
/tmp. Ah, might be onto something though... I made an .iso file 
containing the dumps, which was copied to my home directory before 
burning to cd.  That .iso file sat there until today, but was deleted 
before I did today's dump.  So, I suppose it is possible that the 
filesystem wasn't flushed (is that what its called?), so the file was 
still there.  I presume, however, this would be a bug with dump, as 
that .iso file is NOT in the archive.

Do you think this is what happened?

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


Re: D-Link (DFE-670TXD) config

2003-10-22 Thread Eric Pogroski
On Wed, 22 Oct 2003 14:28:12 -0500 (CDT)
RacerX [EMAIL PROTECTED] wrote:

 Hey folks -
   So far as I can tell, under FreeBSD 5.1, the above pcmcia card
 works. However, when I install 4.8 onto my laptop, the pccard only
 sort of seems to be seen.
 
 IE:
 pccard: card inserted, slot 0
 pccard[43]: No card in database for D-Link(DFE-670TXD)
 
 What I would like to know, has anyone got this card to work under 4.8?
 If so, I would greatly appreciate the details on how.
 
 
 Best regards,
  Chris
 __
 
 PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363
 
 PGP Mail encouraged / preferred - keys available on common key servers
 __
01010010011101100011011001010111001001011000
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hi. I have the same card running under 5.1 release p10, but I don't
believe that 4.8 has cardbus support. 4.9rc might, I haven't been paying
attention to it much.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


firebird, java, artsd, sound

2003-10-22 Thread John Nielsen
Hey folks-

I just installed mozilla firebird 0.7 on my FreeBSD 5.1 machine.  I have 
also installed the native java 1.4.1 port (using linux java 1.4.2 to 
bootstrap the build).  After digging around to find the firebird plugins 
directory, I made a symlink to the java plugin there.  That all works fine.  
about:plugins tells me it's installed, and applets seem to run fine.

The problem I'm seeing is that when a java applet uses sound, and another 
application tries to use sound, the applet crashes, soon followed by the 
browser.  Once the browser exits, the sound in the other application will 
play.  I am using KDE as my desktop, so I assume that this has something to 
do with artsd.  The other application in question that makes sounds in 
kmess, which I use as an MSN Messenger clone.

I don't know if this is a configuration issue or a bug, and if it's a bug I 
don't know what program the bug is in.  So I'm hoping someone can shed some 
light on the situation--ideally one that leads to a solution.  Any takers?

Please CC me on replies.

Thanks,

John Nielsen
[EMAIL PROTECTED]

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


P2Pwall, FTwall ?

2003-10-22 Thread RJ45

Hello,
is there anything resembling P2Pwall, FTwall for FreeBSD ?
http://p2pwall.sourceforge.net 

or is there any project which is intentioned to bring such an application
type avaliable into FreeBSD ?

thanks

Rick




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


irda

2003-10-22 Thread Vince Hoffman
Hi all,
I've been trying to dial in using my mobile phone over irda,
i've installed the birda port, read the man pages, and now still have
no idea what to do. Has anyone written an idiots guide ? 
(couldnt find anything in the handbook.) 
Cant find anything in LINT that i need to compile in to the kernel, but i 
could have missed something.

any hints appreciated
Thanks.
Vince

---
Vince Hoffman Systems Administrator
Euro RSCG Circle (London)
P: 020 7959 7576  M: 0777 5822213
Icq: 50905590 PGP ID: 0xC859C861
A vacuum is a hell of a lot better than some of the stuff that nature
replaces it with.
-- Tennessee Williams
---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-22 Thread ivan georgiev
 Kent Stewart wrote:
  On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:
 What versions of ruby do you have installed? I can remember back
  a few versions, that uninstalling portupgrade and ruby and then
  making and installing portupgrade was faster than fighting the
  problems with ruby.
 
 Kent
 
 -su-2.05b# ruby -v
 ruby 1.6.8 (2003-03-26) [i386-freebsd5]
 
  I don't have any idea. It looks like a source/configuration/make
  error of some type. My version is the also the following
  ruby 1.6.8 (2003-03-26) [i386-freebsd5]

 Maybe complete remove of ruby and dependend packages
 followed by a reinstall of all of them may help.
 If you only have portupgrade installed, you can
 simply
 # pkg_delete -rx ruby
 # cd /usr/ports/sysutils/portupgrade
 # make install clean

 If you have other ruby-dependend ports, please write them down,
 eg. by
 $ cd
 $ ls -l /var/db/pkg/ installed-packages
 $ su -
 # [above procedure]
 $ ls -l /var/db/pkg/ after-reinstall-ruby-packages
 $ diff installed-packages after-reinstall-ruby-packages

 And then reinstall all packages missing (and you need).

Thanks for all of the suggestions!
Finaly portupgrade -arR works again. Here is what I did 
(chronologically)
1) ls -l /var/db/pkg/  ~/old
2) pkg_delete -rx ruby
3) cd /usr/ports/sysutils/portupgrade; make install; make clean
4) ls -l /var/db/pkg/  ~/new
5) diff ~/old ~/new
which showed no other difference but for the new installed ruby;
6)/usr/local/sbin/pkgdb -fuF
7)/usr/local/sbin/portupgrade -arR
the result was :( 

Then I tried the other suggestion:
8)cd /usr/ports
9) make index
which produced zillion of outputs like:

make_index: xcdplayer-2.2_1: no entry for /usr/ports/x11/
XFree86-4-libraries

10) /usr/local/sbin/pkgdb -fuF
11) /usr/local/sbin/portupgrade -arR
which took much longer than usual to say something the result is :) 

Ivan

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


empty mount_msdos extended filesystem

2003-10-22 Thread Guy Middleton
I have a dual-boot machine, W2K and FreeBSD 4.8.  Windows has two partitions,
and I try to mount both from BSD.

The Windows root partition mounts correctly, but the second partition (an
Extended DOS, LBA) mounts, but appears to be empty.

What's happening?  How do I fix this?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-22 Thread Kent Stewart
On Wednesday 22 October 2003 05:02 pm, ivan georgiev wrote:
  Kent Stewart wrote:
   On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:
  What versions of ruby do you have installed? I can remember back
   a few versions, that uninstalling portupgrade and ruby and then
   making and installing portupgrade was faster than fighting the
   problems with ruby.
  
  Kent
  
  -su-2.05b# ruby -v
  ruby 1.6.8 (2003-03-26) [i386-freebsd5]
  
   I don't have any idea. It looks like a source/configuration/make
   error of some type. My version is the also the following
   ruby 1.6.8 (2003-03-26) [i386-freebsd5]
 
  Maybe complete remove of ruby and dependend packages
  followed by a reinstall of all of them may help.
  If you only have portupgrade installed, you can
  simply
  # pkg_delete -rx ruby
  # cd /usr/ports/sysutils/portupgrade
  # make install clean
 
  If you have other ruby-dependend ports, please write them down,
  eg. by
  $ cd
  $ ls -l /var/db/pkg/ installed-packages
  $ su -
  # [above procedure]
  $ ls -l /var/db/pkg/ after-reinstall-ruby-packages
  $ diff installed-packages after-reinstall-ruby-packages
 
  And then reinstall all packages missing (and you need).

 Thanks for all of the suggestions!
 Finaly portupgrade -arR works again. Here is what I did
 (chronologically)
 1) ls -l /var/db/pkg/  ~/old
 2) pkg_delete -rx ruby
 3) cd /usr/ports/sysutils/portupgrade; make install; make clean
 4) ls -l /var/db/pkg/  ~/new
 5) diff ~/old ~/new
 which showed no other difference but for the new installed ruby;
 6)/usr/local/sbin/pkgdb -fuF
 7)/usr/local/sbin/portupgrade -arR
 the result was :(

 Then I tried the other suggestion:
 8)cd /usr/ports
 9) make index
 which produced zillion of outputs like:
 
 make_index: xcdplayer-2.2_1: no entry for /usr/ports/x11/
 XFree86-4-libraries
 

You must have been lucky because a condensed version of a recent cvsup of 
ports-all on my 5-current machine looks like

 Edit ports/www/epiphany/pkg-plist
  Add delta 1.16 2003.10.22.17.20.29 marcus
Shutting down connection to server
Finished successfully
Generating INDEX-5 - please wait.. Done.
[Updating the portsdb format:bdb1_btree in /usr/ports ... - 9533 port 
entries 
found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.
 . 
done]

All of your messages would have appeared between wait.. and done.

I use a script to do all of my cvsups because I use a thing called cvsuplog, 
that was written by Ben Smithurst, to convert my redirected cvsup.log into 
HTML links to cvsweb.cgi. I use make index to update INDEX-5 and portsdb -u 
to update INDEX.db. I have been told that portupgrade will build INDEX.db if 
it is out of date but I want to see it on the monitor. Since all I did is 
type uports, running an extra process is a not a big deal.

 10) /usr/local/sbin/pkgdb -fuF
 11) /usr/local/sbin/portupgrade -arR
 which took much longer than usual to say something the result is :)


Great!!

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: strange dump (dark matter?)

2003-10-22 Thread Ryan Sandridge
On Oct 22, 2003, at 5:26 PM, Ryan Sandridge wrote:

On Oct 22, 2003, at 4:00 PM, Dave McCammon wrote:



Where is the file of your first backup stored?
Did it get backed up as part of the incremental
backup?
I should have mentioned that I had checked that already, because that 
would almost explain the unaccounted for 507 MB... but unless I'm 
missing something, that is not the problem.  The backups were made 
onto /tmp filesystem, which were then archived to cd-rom, and deleted 
from /tmp. Ah, might be onto something though... I made an .iso file 
containing the dumps, which was copied to my home directory before 
burning to cd.  That .iso file sat there until today, but was deleted 
before I did today's dump.  So, I suppose it is possible that the 
filesystem wasn't flushed (is that what its called?), so the file was 
still there.  I presume, however, this would be a bug with dump, as 
that .iso file is NOT in the archive.

Do you think this is what happened?

Thanks,
  Ryan
Well, as a newbie, it only took me about 10 hours to figure out on my 
own that I needed to run fsck.  It showed me that I had an unreferenced 
file hiding on my disk; however fsck never seemed to work as 
documented.  I couldn't ever run it with 'fsck -p', I always received 
(and still do receive):

/dev/ad0s1g: NO WRITE ACCESS
/dev/ad0s1g: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
and when I ran it with just 'fsck', it would always answer no to the 
prompts to fix the problems without giving me an opportunity to fix it. 
 No I didn't use the -n flag to force no responses, and I am aware of 
the -y flag, but the documentation warns against doing this.  Finally I 
threw my hands up, and rebooted, which seemed to clear up the 
unreferenced file.

-Ryan

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


SSHD Host Based Authentication NOT working

2003-10-22 Thread Gene Mats
Hello, 

I am having a problem with activating SSHD Host Based Authentication on
my 
FreeBSD OS. Below is my /etc/ssh/sshd_config file.

HostbasedAuthentication yes
PermitRootLogin no
VerifyReverseMapping yes
IgnoreRhosts yes
IgnoreUserKnownHosts yes

My /etc/hosts.equiv and /etc/shosts.equiv have a few specific hostnames.
But 
it seems I can still connect from any host -(.

How can I block ALL hosts access to my SSHD. I tried putting in a minus 
minus in the /etc/hosts.equiv and /etc/shosts.equiv and I have the 
HostbasedAuthentication setting turned to up to yes. Still no success.

Any help would be appreciated.

-Gene Mats

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


Re: bash2 install on FreeBSD 5.1

2003-10-22 Thread Bryan Cassidy
Yes, please provide the error message u get when you try to 'make
install clean' on the bash2 port.

On Wed, 22 Oct 2003 14:03:08 -0700
Kris Kennaway [EMAIL PROTECTED] wrote:

 On Wed, Oct 22, 2003 at 09:43:56AM -0500, Pratt, Benjamin E. wrote:
 
  When I run make install clean, in the /usr/ports/shells/bash2
  directory, I get an error indicating that OpenSSL needs to be
  installed(my first dependency issue in FreeBSD) so I go and install
  it.  I then go back to /usr/ports/shells/bash2 and run make install
  clean again and make runs fine but when I install I get an error
  saying that it's already installed.  I then ran make deinstall and
  get an error saying that bash2 is not installed.
 
 That's a weird error, because bash2 does not depend on openssl.  Can
 you please provide a transcript of the errors?
 
 Kris
 


pgp0.pgp
Description: PGP signature


Multiple CPUs...verifying

2003-10-22 Thread Marco Greene (Home)


Does FreeBSD autodetect multiple CPU's or do you specifically have to
configure the kernel and recompile?

I tried downloading the latest code using cvsup..commenting out the
following two lines...and tried to follow the make world procedure as
outline in the handbook.  However, when I try to boot with the new
kernel...it doesn't work.

Also, how do you verify whether or not both CPUs have been configured in the
kernel...and that they are in fact being used?

Other flavours of UNIX have mpstat or prtdiag...

Thanks,
Marco

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


How to get shipping version of 5.1 from cvsup branch?

2003-10-22 Thread jason dictos
Hi All,

   I know how to get current, and I know how to get stable, but how do you 
specify in a cvsup file to get the code that ships on a 5.1 distribution 
cd?

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


  1   2   >