Re: problem with script execution

2006-12-01 Thread Christian Walther

Try adding #!/bin/sh as the first new line of your script. Roughly
speaking: This makes the system use /bin/sh as the shell that executes
the script.
Specifying a PATH inside the script might help, too. Scripts have a
very small environment set by default, so your PATH might be just
something like /bin:/usr/bin. If sudo is in /usr/local/bin it won't
work.


Just out of curiosity: What is the echo * | supposed to do? From my
point of view the shell will expand * to the list of files and
directories in PWD, so echo * acts like a simple ls in this context.
This list is piped to sudo. But what does sudo do with these?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(no subject)

2006-12-01 Thread Ian Smith
Bit late, catching up on half a dozen questions-digests, but fwiw:

Re: freebsd-questions Digest, Vol 157, Issue 26
  Message: 33
  Date: Wed, 29 Nov 2006 14:55:52 -0500 (EST)
  From: Dan Mahoney, System Admin [EMAIL PROTECTED]

  Hey all, the ipfw man page says rules can be deleted individually or in 
  groups, but I don't see (other than the sets) an easy way to craft 
  deletion of rules in a range (for example, 500-550).
  
  As the system I'm using crafts client rules by client numbers, this is a 
  kinda useful feature, is it available somewhere?

Here's one of a number of scripts I wrote to manage client-group based
rules for ipfw1 (before sets), to do just that; 'scuse debugging noise.

#!/bin/sh
# ipfwdelrange.sh 28/1/4 smithi  optionally noisy for starters ..
version=1.0 28Jan04
rulelist='/tmp/ipfwdelrange.rn'
set=''; q=''; v=''
[ $1 = -q ]  q=y  shift # quiet
[ $1 = -v ]  v=y  shift # verbose
[ ! $q ]  echo -n ipfwdelrange.sh: 
[ $# -ne 2 ]  echo usage: $0 [-q|-v] firstrule lastrule  exit 1

/sbin/ipfw list | awk '{print $1}' $rulelist   # existing rulenumbers
[ $? -ne 0 ]  echo 'ipfw list' failed!  exit 1

while read rule; do # find any existing ipfw rules within range
[ $rule -lt $1 ]  continue
[ $rule -gt $2 -o $rule -eq 65535 ]  break
set=$set $rule# includes duplicates; each must be deleted
done $rulelist

if [ $set ]; then
[ ! $q ]  echo deleting all rules in range ${1}-$2
[ $v ]  echo $set
/sbin/ipfw -q delete $set # delete all existing in range
[ $? -ne 0 ]  echo 'ipfw delete' failed!  exit 1
else
[ ! $q ]  echo no ipfw rules to delete in range ${1}-$2
fi

[ -f $rulelist ]  rm $rulelist
exit 0

I seem to recall ipfw2 deletes multiple rules with the same number with
one delete statement.  If that's the case, and you use any, make it: 
[ ! `echo $set | grep $rule` ]  set=$set $rule
or you'll get error messages on repeated deletes of the same rule.

Cheers, Ian

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


IPFW: delete range of rules?

2006-12-01 Thread Ian Smith
Sorry folks, forgot to paste the subject for my preceding message.
Ah, the joys of replying to a -digest .. Ian

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


Re: Problem with https in konqueror - SOLVED

2006-12-01 Thread Mario Lobo
To recap, I did a portupgrade -aRrf and one of the consequences was ssl 
stopped working.

I struggled through this one to get it working again. It was hard but I 
learned a very important lesson:

[ to READ UPDATING thoroughly !!! ]  -- this can't be stressed enough

Lane sugested this:
  rebuild and reinstall /usr/ports/x11/kdelibs3 and it should work.

It didn't. It has to be done but its not enough.

In UPDATING I came across:

--
  Just like KDE 3.4, KDE 3.5 does not play nice with openssl-0.9.8. In
  particular it breaks kwallet, some of the SSL handling in konqueror and
  SSL/TLS support in kmail/kontact.

  If you're using the openssl ports rather than the base-system openssl,
  make sure to use security/openssl-stable.

  You can put WITH_OPENSSL_STABLE=yes into /etc/make.conf to automatically
  make ports depend on that rather than on security/openssl.
--

and so I did, in the following order:

1) make  make (re)install security/openssl-stable

2) added WITH_OPENSSL_STABLE=yes into /etc/make.conf

3) make  make (re)install x11/kdelibs (so it can be re-linked with 
openssl-stable)

4) make  make (re)install x11/kdebase (so it can be re-linked with 
openssl-stable)

If only kdelibs is rebuild, the ciphers WILL NOT show on the security 
configuration.

Everything is back to normal now.

Thanks to all that replied

-- 
   //| //|
  // |// |
 //  //  |
//  //   
--
[EMAIL PROTECTED]
http://www.ipad.com.br
(FreeBSD since 2.2.8 - 100% Rwindows-free)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Western Australian Daylight Savings changes

2006-12-01 Thread Gerard Seibert
On Friday December 01, 2006 at 06:03:12 (AM) Dean Hollister wrote:


 To confuse things even more, Western Australia is starting daylight saving 
 for a 3 year trial. The start/stop dates are not uniform, just to make 
 life harder. The dates are as follows:
 
 First on: 2:00am Dec 3
 2007-2008:2:00am Oct lastSun (ON)
 2007-2009:2:00am Mar lastSun (OFF)
 
 If I've got the zoneinfo rules right, they go something like (sorry if 
 field formatting doesn't come out properly):
 
 
 # Western Australia
 Zone Australia/Perth 7:43:24 -  LMT 1895 Dec
   8:00   Aus WST 1943 Jul
   8:00   -   WST 1974 Oct lastSun 2:00s
   8:00   1:00WST 1975 Mar Sun=1 2:00s
   8:00   -   WST 1983 Oct lastSun 2:00s
   8:00   1:00WST 1984 Mar Sun=1 2:00s
   8:00   -   WST 1991 Nov 17 2:00s
   8:00   1:00WST 1992 Mar Sun=1 2:00s
   8:00   -   WST 2006 Dec 2
   8:00   AW  WST 2009 Mar lastSun 2:00s
   8:00   -   WST
 
 # Rule  NAMEFROMTO  TYPEIN  ON  AT  SAVE 
 LETTER/S
 RuleAW  2006only-   Dec 3   2:00s   1:00-
 RuleAW  20072008-   Oct lastSun 2:00s   1:00-
 RuleAW  20072009-   Mar lastSun 2:00s   0   -
 
 Has anything at this stage been committed to the -STABLE branches for 
 these changes, or will most need to do them manually?
 
 The gazetted changes/references are at:
 
 http://wa.gov.au/daylightsaving/

I Don't know if this will help you or not, but I have used this shell
script to facilitate updating this system.

*
#!/usr/local/bin/bash

mkdir tz
cd tz
wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
gzip -dc tzcode*.tar.gz | tar -xf -
gzip -dc tzdata*.tar.gz | tar -xf -
*
Be sure to read the documentation obviously.

-- 
Gerard

 Mail from '@gmail' is rejected and/or discarded here. Don't waste
 your time!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Should I stop trusting my disk drive?

2006-12-01 Thread Pietro Cerutti

Hi List,
HP compaq nx7000 laptop,
FreeBSD gahr-laptop 6.2-RC1 FreeBSD 6.2-RC1 #2: Wed Nov 29 13:45:17
CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GAHR  i386

since a few days I have problems with my disk drive, a FUJITSU MHT2060AH/006C:

ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=75192848
ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=75192848
ad0: FAILURE - WRITE_DMA status=51READY,DSC,ERROR
error=84ICRC,ABORTED LBA=75192848
g_vfs_done():ad0s2f[WRITE(offset=12332400640, length=16384)]error = 5

This four line are repeated in my /var/log/messages several times in a
short time slice, with only the LBA value changing.

I sometimes have spontaneous reboot, no kernel dumps, and I had to
disable soft-updates to prevent filesystem corruptions..

So, should I consider buying myself a new harddisk, or it's possible
that the problem resides in the filesystem layer?

Thanx in advance,
regards

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Portmanager Install - Error occured reading /usr/local/etc/pkgtools.conf

2006-12-01 Thread Willem Hendriks
When i install any port with portmanager, i get the following error-message:

error message
** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `x11base' for nil:NilClass
** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `x11base' for nil:NilClass
...
/error message

This example was outputted after: portmanager -u, but i see it with
every install. In pkgtools.conf i indeed see x11base:

pkgtools.conf
...
AFTERINSTALL = {
# Re-enable the X wrapper
'x11-servers/XFree86-4-Server' = sprintf(
 'cd %s/bin  if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi',
 x11base()),
  }
...
/pkgtoosl.conf

When i installed some port (antiword) manually by going to
/usr/ports/textproc and do a make, make install. I dont see any error
message at all. When i do a

$ portmanager textproc/antiword

The same error gets by again. My system:
FreeBSD 6.1-RELEASE with xorg installed and working correctly. dmesg output:
http://www.xs4all.nl/~whendrik/dmesg

Greetings Willem Hendriks

(This is my first mailist question, i hope my mail client settings are
correct, and my mail is proper composed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portmanager error: Error occured reading /usr/local/etc/pkgtools.conf

2006-12-01 Thread Willem Hendriks
When i install any port with portmanager, i get the following error-message:

error message
** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `x11base' for nil:NilClass
** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `x11base' for nil:NilClass
...
/error message

This example was outputted after: portmanager -u, but i see it with
every install. In pkgtools.conf i indeed see x11base:

pkgtools.conf
...
AFTERINSTALL = {
# Re-enable the X wrapper
'x11-servers/XFree86-4-Server' = sprintf(
 'cd %s/bin  if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi',
 x11base()),
  }
...
/pkgtoosl.conf

When i installed some port (antiword) manually by going to
/usr/ports/textproc and do a make, make install. I dont see any error
message at all. When i do a

$ portmanager textproc/antiword

The same error gets by again. My system:
FreeBSD 6.1-RELEASE with xorg installed and working correctly. dmesg output:
http://www.xs4all.nl/~whendrik/dmesg

Greetings Willem Hendriks

(This is my first mailist question, i hope my mail client settings are
correct, and my mail is proper composed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MailScanner and hardware security appliance

2006-12-01 Thread Office of CEO- rithy4u.NET

Dear all,

Who got ideas about Security Hardware and Anti-spam gateway?
--
*Rithy Ray, RCSA*
Chief Executive Officer
Web: www.rithy4u.net http://www.rithy4u.net
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Phone: (855) 12 403 001
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager error: Error occurred reading /usr/local/etc/pkgtools.conf - SOLVED

2006-12-01 Thread Willem Hendriks
Gerard wrote:
 On Friday December 01, 2006 at 07:18:16 (AM) Willem Hendriks wrote:
 
 
 When i install any port with portmanager, i get the following error-message:

 error message
 ** Error occured reading /usr/local/etc/pkgtools.conf:
 undefined method `x11base' for nil:NilClass
 ** Error occured reading /usr/local/etc/pkgtools.conf:
 undefined method `x11base' for nil:NilClass
 ...
 /error message

 This example was outputted after: portmanager -u, but i see it with
 every install. In pkgtools.conf i indeed see x11base:

 pkgtools.conf
 ...
 AFTERINSTALL = {
 # Re-enable the X wrapper
 'x11-servers/XFree86-4-Server' = sprintf(
  'cd %s/bin  if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi',
  x11base()),
   }
 ...
 /pkgtoosl.conf

 When i installed some port (antiword) manually by going to
 /usr/ports/textproc and do a make, make install. I dont see any error
 message at all. When i do a

 $ portmanager textproc/antiword

 The same error gets by again. My system:
 FreeBSD 6.1-RELEASE with xorg installed and working correctly. dmesg output:
 http://www.xs4all.nl/~whendrik/dmesg
 
 I use 'portmanager' all the time; however, I do not avail myself of the
 pkgtool.conf file, preferring to use the pm-020.conf file instead.
 
 Are you sure about the syntax of the pkgtools.conf file? Obviously the
 problem lies there. You could just try commenting out that section, or
 just renaming the file entirely -- portmanager will then ignore it --
 and try rebuilding the port again.
 
 

The files is a standard file which i didn't touched. I did not knew the
small importantce of those lines, i commented them out and no more error
message..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ethereal version for FreeBSD 6.2 RC1

2006-12-01 Thread Saifi Khan

On 11/30/06, Jon Krause [EMAIL PROTECTED] wrote:


From: Saifi Khan
Subject: Ethereal version for FreeBSD 6.2 RC1


: Hi all:
:
: Is there a recommended version of Ethereal for FreeBSD 6.2 RC1 ?
:
: I tried searching in the ports and there don't seems to be any.
:
: Searching on ethereal for FreeBSD throws up a few Security Advisories.
:
: Thanks in advance.
:
: --
: thanks
: Saifi.


Try http://www.freebsd.org/cgi/ports.cgi?query=wiresharkstype=all

Ethereal is now Wireshark.




Thanks Jon.

Wireshark is a real cool name ! Wow !

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


Re: portmanager error: Error occured reading /usr/local/etc/pkgtools.conf

2006-12-01 Thread RW
On Friday 01 December 2006 12:18, Willem Hendriks wrote:
 When i install any port with portmanager, i get the following
 error-message:

 error message
 ** Error occured reading /usr/local/etc/pkgtools.conf:

pkgtools.conf is the configuration file for portupgrade. Unfortunately the 
developer of portmanager accepted some code from a user that enabled 
portmanager to read some configuration from pkgtools.conf. Most of the things 
that go in this file are better defined directly in make.conf, or using 
sysutils/portconf, because they aren't specific to any build tool.

I would suggest you replace the file with the sample and try again. If that 
fails try replacing it with an empty file
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Should I stop trusting my disk drive?

2006-12-01 Thread Eric

Pietro Cerutti wrote:

Hi List,
HP compaq nx7000 laptop,
FreeBSD gahr-laptop 6.2-RC1 FreeBSD 6.2-RC1 #2: Wed Nov 29 13:45:17
CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GAHR  i386

since a few days I have problems with my disk drive, a FUJITSU 
MHT2060AH/006C:


ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=75192848
ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=75192848
ad0: FAILURE - WRITE_DMA status=51READY,DSC,ERROR
error=84ICRC,ABORTED LBA=75192848
g_vfs_done():ad0s2f[WRITE(offset=12332400640, length=16384)]error = 5

This four line are repeated in my /var/log/messages several times in a
short time slice, with only the LBA value changing.

I sometimes have spontaneous reboot, no kernel dumps, and I had to
disable soft-updates to prevent filesystem corruptions..

So, should I consider buying myself a new harddisk, or it's possible
that the problem resides in the filesystem layer?

Thanx in advance,
regards

get smartmontools from the ports and see how it looks from a SMART 
perspective.

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


BSDstats v5.0 Released (totally backwards compatible)

2006-12-01 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I've just extended the bsdstats script to allow for *optional* reporting of 
installed ports ... the only change for this is that its using 'nc' for 
reporting of ports, since it would break GETs length limits ...

It reports in category, port and version of the port ...

Antony coded up 'proxy related' settings as well, so that nc *should* work 
through a proxy ...  he's planning on testing the code more on his servers in 
the morning, but this is tested in a non-proxy setup ...

The code doesn't change any of the other tests, so nothing gets 'broken' is you 
stick with the older v4.x clients ... its only if you wish to add to the ports 
report is the upgrade required ...


- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFcDAl4QvfyHIvDvMRAhjcAKC1yXuoFJabLaIlDI2KfZtrghzd0ACdGDhy
R00bx1HcaQKhgcN9Uer2E4c=
=DOue
-END PGP SIGNATURE-

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


Re: simple question...how to show packages which depend upon

2006-12-01 Thread Svein Halvor Halvorsen
Graham Bentley wrote:
 Example: you install Z, which depends on Y, which depends in X,
 ..., which depends on Q.
 What if Q is xorg-server-6.9.0_1?
 
 I installed 'feh' thinking wrongly it was a console app and ended up
 getting x, xlibs etc etc when all I wanted was a console app to view
 jpgs in elinks. So, the above is exactly what I wanted.

Ok, so you may want x-org-server deleted, by what about some other
dependency that your unwanted app shares with some port you really
do want to keep around?

I find pkg_cutleaves handy. It will loop through all the leaves of
your dependency tree (all ports that do not have any other ports
dependant on them), and asks if you want to keep or delete it. After
 the ports tree is cleaned up, it will ask you to repeat the process
for any ports that may have become leaves as a result of the
previous iteration.

When I look through the pkg_info list, I usually don't know what all
the installed ports do, I why I need it. But i usually do know if I
need a leaf or not.


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: MailScanner and hardware security appliance

2006-12-01 Thread DAve

Office of CEO- rithy4u.NET wrote:

Dear all,

Who got ideas about Security Hardware and Anti-spam gateway?


If you are asking about a packaged solution I would check out Fort 
Systems. http://www.fsl.com/


We tried several applications and settled on MailScanner which has 
proven to be an excellent choice. Fort Systems is the commercial 
supported version.


DAve

--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi and boot problem

2006-12-01 Thread Lowell Gilbert
leo fante [EMAIL PROTECTED] writes:

 Hi
 I've installed freebsd 6.1 on an old pc on which I've configured several
 services. Everything worked fine since last week when the motherboard died.
 I've replaced the mobo and found that now the acpi could work (with the old 
 motherboard
 the installation disabled the acpi at boot since the mainboard was 
 blacklisted).

 Since the old mobo was blacklisted the options on the menu were
 1 default
 2 boot with acpi

 Now I would like to have the acpi enabled by default at boot time on the 
 beastie menu.
 1 default
 2 boot without acpi

 reading the man of loader.conf I've added hint.acpi.0.disabled=0
 and now the pc boots with with acpi enabled but without having
 the correct options in the boot menu.

 How I could fix the menu?

From a quick look at /boot/beastie.4th, I think that setting acpi_load
in your loader.conf will do the job.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Automount

2006-12-01 Thread Lowell Gilbert
Robert Davison [EMAIL PROTECTED] writes:

 I've just installed an external SCSI hard drive in the form of a sun 
 StorEdge. All is working well.

   The StorEdge has two drives called da0 and da1 respectivly.

   I've put entries into /etc/fstab so that they are mounted on boot as /s and 
 /t. My question is...

   If I dont have the StorEdge running 24/7 and I reboot the server, the boot 
 process fails when mounting the file systems as /s /t can not be reached.

   Is there anyway of writing an automount line in fstab that is smart enough 
 to know that if the /s and /t are not reachable then continue with the boot 
 process without stopping. My fstab enty is...

   /dev/da0s1d   /sufsrw00

   I see that the cdrom has the entry

   /dev/cd0/cdromcd9660  ro,noauto   00

   Is it simply a case of changing the mount option to rw,noauto ??

To start with, yes.  If you don't use noauto, then the disk *has* to
be there at boot.

You might want to put in some devfs rules to mount the disks when they
show up.  Or an automounter.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fw: Re: problem with script execution

2006-12-01 Thread Ray Still

sorry, I hit reply, not reply all


- Original Message - 
From: Christian Walther [EMAIL PROTECTED]

To: Ray Still [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Friday, December 01, 2006 1:03 AM
Subject: Re: problem with script execution



Try adding #!/bin/sh as the first new line of your script. Roughly
speaking: This makes the system use /bin/sh as the shell that executes
the script.
Specifying a PATH inside the script might help, too. Scripts have a
very small environment set by default, so your PATH might be just
something like /bin:/usr/bin. If sudo is in /usr/local/bin it won't
work.


thank you for your suggestions. I will try them and get bck to you.



Just out of curiosity: What is the echo * | supposed to do? From my
point of view the shell will expand * to the list of files and
directories in PWD, so echo * acts like a simple ls in this context.
This list is piped to sudo. But what does sudo do with these?


sorry, I didn't want to show my passwords, so I replaced it with an 
astrix. the password of course is being read from the pipe by sudo because 
of the -S option.





--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.2/559 - Release Date: 
11/30/2006 5:07 AM







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


ssh client affecting fonts?

2006-12-01 Thread Eric

hello,

for some reason, when i do a 'make config' on a port, the border that 
used to be solid lines is no longer that way (at least when using 
SecureCRT). However, when i use putty, it looks as expected (and it used 
to in SecureCRT)


a screen shot is here:

http://mikestammer.com/private/portconfig.png

does anyone know what the heck is causing this only in SecureCRT?

Thanks

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


Re: Fw: Re: problem with script execution

2006-12-01 Thread Alex Zbyslaw

Ray Still wrote:


Just out of curiosity: What is the echo * | supposed to do? From my
point of view the shell will expand * to the list of files and
directories in PWD, so echo * acts like a simple ls in this context.
This list is piped to sudo. But what does sudo do with these?



sorry, I didn't want to show my passwords, so I replaced it with an 
astrix. the password of course is being read from the pipe by sudo 
because of the -S option.


Probably nothing to do with your original problem, but you do know that 
you can allow sudo to execute certain commands without a password?  
Passwords in shell scripts isn't exactly ideal...


E.g. my sudoers has:

Cmnd_Alias  HEALTHD = /usr/local/sbin/healthd
[...]
%wheel  ALL=(root)  NOPASSWD: SMART_STATUS, HEALTHD, MBMON

So anyone in group wheel (me :-)) can excecute any of the named commands 
without any password.  You can also force the flags that will be passed 
- the sudoers man page has more details.


--Alex




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


Dell PERC5/e RAID controller in 2950

2006-12-01 Thread Adam Todorski
Hello

I see that this topic was discussed back in October but my specific
question was not answered in that exchange.  My question is:

I am considering a Dell 2950 with the PERC5/e SAS RAID controller
attached to their MD1000 SAS JBOD product and I would like to run 6.2-
RELEASE on it (when it comes out).  Has anyone had any experience with
this hardware scenario with FreeBSD?  Is the PERC5/e controller
supported?  How well does it work with FreeBSD?  My research on this
topic has not lead to a conclusion one way or another, as the man page
for the mfi(4) driver indicates that the PARC5/i (the internal
controller in the 2950 that I will have the OS live on) is supported and
that the LSI 8480E is supported (which I've heard that the PERC5/e is
based on) but not the PERC5/e explicitly.

Any insight would be much appreciated!

Adam
-- 
Adam Todorski
Sr System Administrator
Scientific Computation Research Center
Rensselaer Polytechnic Institute
Troy, NYUSA
Office: (518) 276-8376
Fax: (518) 276-4886

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


Re: Fw: Re: problem with script execution

2006-12-01 Thread Ray Still


- Original Message - 
From: Alex Zbyslaw [EMAIL PROTECTED]

To: Ray Still [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Friday, December 01, 2006 8:28 AM
Subject: Re: Fw: Re: problem with script execution



Ray Still wrote:


Just out of curiosity: What is the echo * | supposed to do? From my
point of view the shell will expand * to the list of files and
directories in PWD, so echo * acts like a simple ls in this context.
This list is piped to sudo. But what does sudo do with these?



sorry, I didn't want to show my passwords, so I replaced it with an 
astrix. the password of course is being read from the pipe by sudo 
because of the -S option.


Probably nothing to do with your original problem, but you do know that 
you can allow sudo to execute certain commands without a password? 
Passwords in shell scripts isn't exactly ideal...


I am aware of the security issues, but in this case I think it's the best 
option because:


1) any one who can login to the machine also knows root passwords.
2) this script lives in a directory that is password protected by apache.
3) I don't like the thought of turning off passwords.
so if you can see the script, you won't learn anything you don't already 
know.

am I totally out to lunch?



E.g. my sudoers has:

Cmnd_Alias  HEALTHD = /usr/local/sbin/healthd
[...]
%wheel  ALL=(root)  NOPASSWD: SMART_STATUS, HEALTHD, MBMON

So anyone in group wheel (me :-)) can excecute any of the named commands 
without any password.  You can also force the flags that will be passed - 
the sudoers man page has more details.


--Alex






--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.2/559 - Release Date: 11/30/2006 
5:07 AM





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


Touchpad and mousebuttons

2006-12-01 Thread Svein Halvor Halvorsen
I have three questions about the touchpad on my laptop:

1) Simulate three buttons:
When using my laptop at my desk, I use a USB-mouse with three
buttons. When I leave my desk, I unplug the extra mouse, and take my
laptop with me, often without turning it off. Then, later, the
click-both-buttons-at-once to simulate a middle button click does do
work anymore. The touchpad has only two buttons. Any thoughts?

2) Swap mouse buttons:
When I use the touchpad, I use my right hand. And my hand is a
little tilted, so when i use my index finger on the touchpad itself,
my right thumb rests on the right mouse button. It feels very
natural to press this button, but in order to press the left one, I
need to rotate my hand in a very uncomfortable way to get my thumb
on the left button. Could I switch the buttons on the touchpad, and
leave the USB-mouse untouched?

3) Simulate scroll wheel:
Could I configure the touchpad to simulate the scroll wheel in some
way? On some Windows-computers, I've seen that you could slide your
finger along the rightmost edge of the touchpad to simulate
scrolling. And on Macs, it seems you could use two fingers in the
middle of the touchpad to accomplish the same effect. How do I do
this on FreeBSD/Xorg?


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: Fw: Re: problem with script execution

2006-12-01 Thread Alex Zbyslaw

Ray Still wrote:



Alex Zbyslaw wrote:


Ray Still wrote:


Just out of curiosity: What is the echo * | supposed to do? From my
point of view the shell will expand * to the list of files and
directories in PWD, so echo * acts like a simple ls in this 
context.

This list is piped to sudo. But what does sudo do with these?




sorry, I didn't want to show my passwords, so I replaced it with an 
astrix. the password of course is being read from the pipe by sudo 
because of the -S option.



Probably nothing to do with your original problem, but you do know 
that you can allow sudo to execute certain commands without a 
password? Passwords in shell scripts isn't exactly ideal...



I am aware of the security issues, but in this case I think it's the 
best option because:


1) any one who can login to the machine also knows root passwords.
2) this script lives in a directory that is password protected by apache.
3) I don't like the thought of turning off passwords.
so if you can see the script, you won't learn anything you don't 
already know.

am I totally out to lunch?


IMHO, putting passwords in a script is a bad idea and putting a root 
password in a script is just asking for trouble.  Sure, when all is 
well, all your users know it anyway.  Then one day you forget and add a 
user who doesn't know it, or you distribute the script somewhere 
external by accident, or someone hacks in to your machine and you have 
given them the password on a plate.


From what I understand, this script is being run only from apache, and 
you have password protected it from the apache server.  So the only user 
you need to allow to run the script without a password is apache.  As 
you have it, any user on the system who can read the file can already 
run it without a password unless you have directory/script permissions 
set up to lock them out - apache password protection only protects you 
when the script is accessed through apache.  If you use sudo to allow 
apache to run the script passwordless, then to run the script as apache 
you either need to be the apache server or root, so random logged in 
users can't run it without knowing the root password unless you let them.


What I think sudo (correctly set up to only allow apache to run the 
script) buys you is this:


   1) Your password is not visible anywhere so can't be given away by 
accident.
   2) The script is exactly as well protected for web use as when you 
just include the password in the script.  Any web user who can click on 
the right link and supply the apache authentication can run the script.  
If you feel apache authentication is enough protection, then 
passwordless sudo changes nothing, as far as I can see.
   3) Random users gaining access to your machine cannot run the script 
without knowing the root password.  Right now any user on your system 
who has execute permission in the script can run it without knowing the 
root password.


My tuppence,

--Alex


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


How to get best results from FreeBSD-questions

2006-12-01 Thread Greg Lehey

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

Last update $Date: 2005/08/10 02:21:44 $

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

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

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

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

=

Contents:

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

I: Introduction
===

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

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

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

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

II:  How to unsubscribe from FreeBSD-questions
==

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

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

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

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

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

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

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

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

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

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

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

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

The Complete FreeBSD: errata and addenda

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

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

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: ssh client affecting fonts?

2006-12-01 Thread hackmiester (Hunter Fuller)

Authentication required!

This server could not verify that you are authorized to access the  
URL /private/portconfig.png. You either supplied the wrong  
credentials (e.g., bad password), or your browser doesn't understand  
how to supply the credentials required.


In case you are allowed to request the document, please check your  
user-id and password and try again.


If you think this is a server error, please contact the webmaster.
Error 401
mikestammer.com
Fri Dec 1 11:14:00 2006
Apache/2.0.59 (FreeBSD)


On 1 December 2006, at 09:24, Eric wrote:


hello,

for some reason, when i do a 'make config' on a port, the border  
that used to be solid lines is no longer that way (at least when  
using SecureCRT). However, when i use putty, it looks as expected  
(and it used to in SecureCRT)


a screen shot is here:

http://mikestammer.com/private/portconfig.png

does anyone know what the heck is causing this only in SecureCRT?

Thanks

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




--
hackmiester (Hunter Fuller)

badaboom who can help me ? i'm french and i don't know irc
Paladine can't help you with the being french part, you are screwed  
their mate





Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.

Email
General chat: [EMAIL PROTECTED]
Large attachments: [EMAIL PROTECTED]
SPS-related stuff: [EMAIL PROTECTED]

IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: [EMAIL PROTECTED]
Xfire: hackmiester






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


Re: ssh client affecting fonts?

2006-12-01 Thread Eric

hackmiester (Hunter Fuller) wrote:

Authentication required!

This server could not verify that you are authorized to access the URL 
/private/portconfig.png. You either supplied the wrong credentials 
(e.g., bad password), or your browser doesn't understand how to supply 
the credentials required.


In case you are allowed to request the document, please check your 
user-id and password and try again.


If you think this is a server error, please contact the webmaster.
Error 401
mikestammer.com
Fri Dec 1 11:14:00 2006
Apache/2.0.59 (FreeBSD)



oops im an idiot.

try this URL

http://mikestammer.com/upload/portconfig.png

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


SYMLINK

2006-12-01 Thread Jean-Paul Natola
Please excuse my ignorance but I believe my symlink is not working, how can I
verify a symlink?

And Yes I am  a newbie in the BSD / open source world.









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED]

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


Re: SYMLINK

2006-12-01 Thread Chuck Swiger

On Dec 1, 2006, at 9:30 AM, Jean-Paul Natola wrote:
Please excuse my ignorance but I believe my symlink is not working,  
how can I

verify a symlink?


Most people use ls -l to see where the link is pointing; software  
generally uses lstat(2).



And Yes I am a newbie in the BSD / open source world.


Very good.  Welcome...

--
-Chuck

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


Re: Some php files in same directory of working files with same permissions won't process

2006-12-01 Thread John Vaughan

Hello Christian,

Good thought, but I grabbed it straight from a mirror with wget and did
config file tweaks in vi.

-John

On 11/16/06, Christian Walther [EMAIL PROTECTED] wrote:


Hi John,

has this file been edited on another platform, Windows in particular?
I've seen many occasions where people created a script using a windows
text editor, saving it as a windows text file. While most scripting
languages don't care about this, editing a windows text file on a unix
box will eventually break the format of the file (being neither DOS
nor Unix anymore), resulting in strange behaviour sometimes.
(This is just a guess, it happened several times with perl here, so
php might not be affected by this kind of error at all.)

HTH
Christian

On 16/11/06, John Vaughan [EMAIL PROTECTED] wrote:
 Hello list,

 Some new findings. . .

 A buddy (wes) on another list loaded the troublemaker index.php file
using
 telnet and got:

 [EMAIL PROTECTED]:~/Downloads$ telnet welcome.coe.jmu.edu 80 Trying
134.126.97.69..
 .
 Connected to etv.jmu.edu.
 Escape character is '^]'.
 GET /dbadmin/index.php
 Connection closed by foreign host.

 And suggested that the PHP processor was crashing.

 When I use the php CLI from the command line and run the index file in
my
 phpmyadmin folder I get:

 # php index.php
 Segmentation fault (core dumped)

 When I run a test file (that works) with phpinfo in it, it also throws
an
 error:
 [Thu Nov 16 07:26:34 2006]  Script:  'test.php'
 /usr/ports/databases/pecl-PDO/work/PDO-1.0.3/pdo.c(364) :  Freeing
 0x0838A0E8 (1 bytes), script=test.php === Total 1 memory leaks detected
===

 There are no other useful errors (at least to me) that I can find in my
 error logs.  Does anyone have a suggestion as to what might be causing
 this?  All other php files (not in the phpmyadmin folder) seem to
execute
 fine without error.

 I can try reinstalling php, but would really like to know where things
went
 wrong and why only the folder with the phpmyadmin files seems to be
 affected.

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



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


Re: SYMLINK

2006-12-01 Thread Christian Walther

Additionally, find filenamecan tell you if a symbolic link is broken:

% ln -s ./linksource ./linkdest
% file linkdest
linkdest: broken symbolic link to `./linksource'

(In this case linksource simply doesn't exist...)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh client affecting fonts?

2006-12-01 Thread Alex Zbyslaw

Eric wrote:


hello,

for some reason, when i do a 'make config' on a port, the border that 
used to be solid lines is no longer that way (at least when using 
SecureCRT). However, when i use putty, it looks as expected (and it 
used to in SecureCRT)


a screen shot is here:

http://mikestammer.com/private/portconfig.png

does anyone know what the heck is causing this only in SecureCRT?


So what terminal type is set when you use SecureCRT?  putty will use 
something like xterm or vt100 both of which will display make config 
correctly, but a setting for a dumb terminal or no setting will look 
more like your screenshot.


--Alex


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


Re: NTPD not keeping time

2006-12-01 Thread Kris Anderson

--- Chuck Swiger [EMAIL PROTECTED] wrote:

 On Nov 30, 2006, at 12:55 PM, Kris Anderson wrote:
  Your clock is off by a little over an hour; while
  ntpd can correct very large offsets, doing so
 takes a long time.
  Kill ntpd, re-run ntpdate -b, double-check that
 your clock is sane,
  and then re-start ntpd.
 
  Off by an hour? Let's see the date is November
 30th,
  and 12:41pm, that's what Windows says. Meanwhile
  freebsd says - Thu Nov 30 00:22:07 PST 2006.
 Wouldn't
  that be...nearly 12 hours?
 
 I was judging the time-offset by the output of ntpq
 -p.
Ah, okay. Thanks. :)
 However, if you are dual-booting between FreeBSD and
 Windows, you  
 will also need to consider whether to keep the
 CMOS/BIOS clock  
 running in UTC or in your local timezone; see man
 adjkerntz for  
 details.
Nope, not dual booting, see below. :|

 It's entirely possible that doing a touch
 /etc/wall_cmos_clock will  
 solve your issue.
The file already exists, I have the timezone set to
PST. :)
 [ ... ]
  If you are not providing time sync to a large
 subnet, please consider
  using stratum-2 servers or the NTP pool, ie,
 pool.ntp.org, or more
  specific regional parts, such as
 0.us.pool.ntp.org,  
  1.us.pool.ntp.org--
  this is assuming from your IP that you are
 located in the US,  
  otherwise
  choose the appropriate country code for
 where-ever you are.
 
  I'll give it a shot and see what happens, I did
 just
  that yesterday. Okay, changed my pool since it's
 to
  keep this computer's time correct.
 
  Thanks for your help. :)
 
 You are most welcome.
 
 -- 
 -Chuck
Darn the system time strayed over night. One thing I
failed to mention is that freebsd is running on a
virtual machine. The system it is runing on is Windows
2003, the time and all that system are correct. I
turned on ntpd because for some strange reason the
date and time were still not in keeping with the
system time, or so I thought. I'ld have to
re-investigate that to be sure. Over the weekend I'll
stop the ntpd and see what happens to the time when
Monday rolls around.


 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh client affecting fonts?

2006-12-01 Thread Eric

Alex Zbyslaw wrote:

Eric wrote:


hello,

for some reason, when i do a 'make config' on a port, the border that 
used to be solid lines is no longer that way (at least when using 
SecureCRT). However, when i use putty, it looks as expected (and it 
used to in SecureCRT)


a screen shot is here:

http://mikestammer.com/private/portconfig.png

does anyone know what the heck is causing this only in SecureCRT?


So what terminal type is set when you use SecureCRT?  putty will use 
something like xterm or vt100 both of which will display make config 
correctly, but a setting for a dumb terminal or no setting will look 
more like your screenshot.


--Alex


i have tried xterm, linux, ansi, etc all with the same result. i also 
tried different fonts in secureCRT to no avail.  Putty is using xterm 
and courier new.  weird


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


Re: NTPD not keeping time

2006-12-01 Thread Peter A. Giessel


On 2006/12/01 8:56, Kris Anderson seems to have typed:
 --- Chuck Swiger [EMAIL PROTECTED] wrote:
 However, if you are dual-booting between FreeBSD and
 Windows, you  
 will also need to consider whether to keep the
 CMOS/BIOS clock  
 running in UTC or in your local timezone; see man
 adjkerntz for  
 details.
 Nope, not dual booting, see below. :|


It could be that the virtual machine is giving FreeBSD the time in
UTC, not your local timezone.  Try changing the timezone options
(you can use sysinstall - Configue - Time Zone and choosing yes)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NTPD not keeping time

2006-12-01 Thread Chuck Swiger

On Dec 1, 2006, at 9:56 AM, Kris Anderson wrote:

Darn the system time strayed over night. One thing I
failed to mention is that freebsd is running on a
virtual machine.


Sigh-- you're right, you should have mentioned this before.

One should not attempt to change the clock from within a virtual  
machine at all, only in the parent or host OS.  VMs depend on the  
host OS to provide the timekeeping, and it is known that systems  
running inside a VM may experience timing glitches as a result of  
running inside the machine emulation.


--
-Chuck


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


Re: ssh client affecting fonts?

2006-12-01 Thread Eric

Eric wrote:

Alex Zbyslaw wrote:


So what terminal type is set when you use SecureCRT?  putty will use 
something like xterm or vt100 both of which will display make config 
correctly, but a setting for a dumb terminal or no setting will look 
more like your screenshot.


--Alex


i have tried xterm, linux, ansi, etc all with the same result. i also 
tried different fonts in secureCRT to no avail.  Putty is using xterm 
and courier new.  weird


i was playing with it more and it seems to work ok, from a serial 
console anyways, while using windows 2003. I am using Vista on this 
machine. could that be the culprit? putty has no such issue tho

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


Re: NTPD not keeping time

2006-12-01 Thread John Webster


--On Friday, December 01, 2006 10:23:17 -0800 Chuck Swiger [EMAIL PROTECTED] 
wrote:

 On Dec 1, 2006, at 9:56 AM, Kris Anderson wrote:
 Darn the system time strayed over night. One thing I
 failed to mention is that freebsd is running on a
 virtual machine.
 
 Sigh-- you're right, you should have mentioned this before.
 
 One should not attempt to change the clock from within a virtual  machine at 
 all, only in the parent or host OS.  VMs depend on the  host OS to provide 
 the timekeeping, and it is known that systems  running inside a VM may 
 experience timing glitches as
 a result of  running inside the machine emulation.



http://ntp.isc.org/bin/view/Support/KnownOsIssues#Section_9.2.1.

pgpMohInQAgxV.pgp
Description: PGP signature


RE: SYMLINK

2006-12-01 Thread Jean-Paul Natola


Additionally, find filenamecan tell you if a symbolic link is broken:

% ln -s ./linksource ./linkdest
% file linkdest
linkdest: broken symbolic link to `./linksource'

(In this case linksource simply doesn't exist...)

Uh-oh too much data - not processing-

Maybe if I explain what I was doing-

My /var is only 248 mb , /usr  is 4 gigs

I wanted to have the /var/spool/exim/ subdirecotries (scan , input db,
msglog) run in the /usr slice (as it has ample space)

So I MOVED exim to  /usr/var2 and ran

ln -s /var/spool/exim /usr/var2/exim 

but I don't think that's right 

as my var/spool/exim dorectory started filling up today

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


Bandwidth Throttling under FreeBSD 6.x ...

2006-12-01 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Finding alot of ancient stuff on Google, but they all seem to revolve around 
ipfw, which I believe isn't so heavily recommended anymore?

Can someone point me to a doc that talks about bandwidth throttling using, I'm 
guessing, pf, is the current?  Under FreeBSD 6.x?

Basically, what I want to do is leave everything open, but throttle one 
specific IP ...

Thanks ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFcHRG4QvfyHIvDvMRAhJmAKDG+mHuGaXPMSdSUs0+njT9PTKEPwCeLX25
ecqHmb6ct6uPTNfORYoD6zg=
=e9hH
-END PGP SIGNATURE-

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


Re: SYMLINK

2006-12-01 Thread Chuck Swiger

On Dec 1, 2006, at 10:38 AM, Jean-Paul Natola wrote:

I wanted to have the /var/spool/exim/ subdirecotries (scan , input db,
msglog) run in the /usr slice (as it has ample space)

So I MOVED exim to  /usr/var2 and ran

ln -s /var/spool/exim /usr/var2/exim

but I don't think that's right


Yep.  You need to reverse the order of the arguments to ln -s; the  
first argument should be the actual, existing file or directory.


--
-Chuck

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


Re: SYMLINK

2006-12-01 Thread Christian Walther

Make sure that your exim data really resides in /usr/var2/exim.
Afterwards, remove /var/spool/exim.
The ln command won't remove any existing files and directories, but it
doesn't complain in this case. And then you have to take care where
you specify source and destination: The source is an existing file or
directory, while the destination is the directory that should contain
the link.
Source is first, destination follows. In your case, the command should be:

ln -s /usr/var2/exim /var/spool/exim

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


[Fwd: Re: FreeBSD 5.5 port vlc-devel core dump]

2006-12-01 Thread Roger Olofsson

On Thu, Nov 30, 2006 at 08:51:33PM +0100, Roger Olofsson wrote:

It is I that should say thanks ;^)

I have tried using libmap.conf to remap libpthread to lib_r but that had 
no effect. Vlc reproduces the core dump exactly. I am not sure that 
creating libmap.conf in /etc and just entering as below has any effect 
at all.



/etc/libmap.conf
[/usr/local/bin/vlc]  # 'vlc' uses libc_r.
libpthread.so.1 libc_r.so.5
libpthread.so   libc_r.so

[vlc]
libpthread.so.1 libc_r.so.5
libpthread.so   libc_r.so

Yet again, I am most grateful for your patience and input.


If those are the right library revisions then it should work...but I
don't see an effect from changing thread libraries either.

Kris



file:///C|/DOCUME%7E1/RAGGEN/LOKALA%7E1/TEMP/nsmail.tmp
Description: PGP signature
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: SYMLINK

2006-12-01 Thread Christian Walther

On 01/12/06, Christian Walther [EMAIL PROTECTED] wrote:

The ln command won't remove any existing files and directories, but it
doesn't complain in this case.

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


Moving /var/mail

2006-12-01 Thread Lisa Casey

Hi,

I want to move /var/mail to /usr/var/mail, then symlink /var/mail to 
/usr/var/mail to free up space on my (too small on this machine) /var. Of 
course, I wish to maintain file permissions, ownerships, etc. I decided to 
try a dry run using a user home directory first to make sure this would work 
right. Good thing I did...


I created /usr/kellyw  and attempted to copy the contents of  /home/kellyw/ 
to it. First of all, I tried tar cvpf /usr/kellyw/kellyw.tar /home/kellyw/


When I unpack the tar file, I wind up with /usr/kellyw/home/kellyw/*  Not 
what I wanted. I wanted all of the files in /home/kellyw/ to wind up in 
/usr/kellyw/


So I then tried to just copy the files using cp -p but I can't get the 
syntax right on that:


# cd /home/kellyw
# ls -l
total 16
-rw-r--r--  1 kellyw  kellyw  767 Aug 18 14:52 .cshrc
-rw-r--r--  1 kellyw  kellyw  248 Aug 18 14:52 .login
-rw-r--r--  1 kellyw  kellyw  158 Aug 18 14:52 .login_conf
-rw---  1 kellyw  kellyw  373 Aug 18 14:52 .mail_aliases
-rw-r--r--  1 kellyw  kellyw  331 Aug 18 14:52 .mailrc
-rw-r--r--  1 kellyw  kellyw  797 Aug 18 14:52 .profile
-rw---  1 kellyw  kellyw  276 Aug 18 14:52 .rhosts
-rw-r--r--  1 kellyw  kellyw  975 Aug 18 14:52 .shrc
# cp -p /home/kellyw/* /usr/kellyw/*
cp: No match.
# cp -p /home/kellyw/ /usr/kellyw/
cp: /home/kellyw/ is a directory (not copied).
# cp -p /home/kellyw/*.* /usr/kellyw/*.*
cp: No match.

Can someone help me out with my syntax? The tar method would probably be 
better (I guess) though I don't really care  which method I use as long as 
it works (and preserves permissions, etc.). There are only about 60 
mailboxes on this system.


Thanks,

Lisa Casey

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


Re: Dell PERC5/e RAID controller in 2950

2006-12-01 Thread Paul Schmehl
--On Friday, December 01, 2006 10:43:31 -0500 Adam Todorski 
[EMAIL PROTECTED] wrote:



Hello

I see that this topic was discussed back in October but my specific
question was not answered in that exchange.  My question is:

I am considering a Dell 2950 with the PERC5/e SAS RAID controller
attached to their MD1000 SAS JBOD product and I would like to run 6.2-
RELEASE on it (when it comes out).  Has anyone had any experience with
this hardware scenario with FreeBSD?  Is the PERC5/e controller
supported?  How well does it work with FreeBSD?  My research on this
topic has not lead to a conclusion one way or another, as the man page
for the mfi(4) driver indicates that the PARC5/i (the internal
controller in the 2950 that I will have the OS live on) is supported and
that the LSI 8480E is supported (which I've heard that the PERC5/e is
based on) but not the PERC5/e explicitly.

I'm using the mfi driver for Dell's PERC5/i SAS RAID controller on a 1950, 
and it works fine.  I do not know if it will support the PERC5/e 
controller, but you could email the driver author and ask him specifically. 
(His email address is in the man page.)  There has been *some* discussions 
on this list about those controllers, but I don't know of anyone who has 
definitively stated that the mfi driver works for PERC5/e.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


RE: SYMLINK

2006-12-01 Thread Jean-Paul Natola

Make sure that your exim data really resides in /usr/var2/exim.
Afterwards, remove /var/spool/exim.
The ln command won't remove any existing files and directories, but it
doesn't complain in this case. And then you have to take care where
you specify source and destination: The source is an existing file or
directory, while the destination is the directory that should contain
the link.
Source is first, destination follows. In your case, the command should be:

ln -s /usr/var2/exim /var/spool/exim

HTH
Christian

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


5.4 kernel crashdump not consistently working

2006-12-01 Thread Cheng Jin

hi,

i have run into this strange problem of kernel crashdump not
working consistently under FreeBSd 5.4.  we have bunch of development
machines with identical physical configurations, and every one of
them is setup to save the vmcore after a panic.  The difference
as far as i could tell is the FreeBSD 5.4 version, which 
different people installed using different methods, CD, network, CVS...


I followed the instructions found on the official FreeBSD site
as far as i could tell.

including in the kernel config file the following options

options DDB
options KDB
options GDB
options KDB_UNATTENDED

include in the /etc/rc.conf file

dumpdev=/dev/ad0s1b # 2GB swap partition with 1GB of physical memory
dumpdir=/usr/crash  #

and making sure the dir exists

crashdump works on some of these machines, but not on others, and
on those that don't work, i just see

Dumping 1014MB

and the system just sits there.  I added a printf line into the
dumpsys function, and it seems that it just loops without ever
writing anything to disk. for those that are curious about the
details, the variables i, mb are always just zero, count goes
up everytime i press a key, and va stays at the same memory
address, and left never decreases.

Comments would be greatly appreciated.

Thanks!

Cheng

--
FAST powered network performance

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


RE: Bandwidth Throttling under FreeBSD 6.x ...

2006-12-01 Thread Michael K. Smith - Adhost
Hello Mark:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc G.
Fournier
Sent: Friday, December 01, 2006 10:28 AM
To: freebsd-questions@freebsd.org
Subject: Bandwidth Throttling under FreeBSD 6.x ...

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Finding alot of ancient stuff on Google, but they all seem to revolve
around 
ipfw, which I believe isn't so heavily recommended anymore?

Can someone point me to a doc that talks about bandwidth throttling
using, I'm 
guessing, pf, is the current?  Under FreeBSD 6.x?

Basically, what I want to do is leave everything open, but throttle one 
specific IP ...

Thanks ...

- 
Marc G. Fournier   Hub.Org Networking Services
(http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN .
[EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-


I think this is what you're looking for.  Specifically, using ALTQ in
conjunction with PF.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.h
tml

Regards,

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


Re: SYMLINK

2006-12-01 Thread Jerry McAllister
On Fri, Dec 01, 2006 at 12:30:51PM -0500, Jean-Paul Natola wrote:

 Please excuse my ignorance but I believe my symlink is not working, how can I
 verify a symlink?

Just use it and see what happens.  
If it is a symlink to a directory, then do a cd to it.
If it is to a text file, do a vi or something like that to it.
If you get where it is supposed to go, then it is working.  If no,
something is wrong.

Examples:

You create this link (presuming all dirs exist).
  'ln -s /some/other/dir/goodstuff /stuff'

Then do 'cd /stuff'  
  a pwd and should see yourself in /some/other/dir/stuff

You create this link (presuming ...textfile is some file containing text)
  'ln -s /my/junk/dir/textfile /txfl

Then you should be able to do  'vi /txfl'
  and it will bring up an editing session with what is in ...textfile

You can use any text editor you like if vi is not to your taste 
(though you should at least learn how to use vi since it is so omnipresent
 in the UNIX world)

 
 And Yes I am  a newbie in the BSD / open source world.
 

Welcome to FreeBSD.
It will take some learning, but be worth it, even in the
short run.

jerry

 
 Jean-Paul Natola
 Network Administrator
 Information Technology
 Family Care International
 588 Broadway Suite 503
 New York, NY 10012
 Phone:212-941-5300 xt 36
 Fax:  212-941-5563
 Mailto: [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SYMLINK

2006-12-01 Thread Jerry McAllister
On Fri, Dec 01, 2006 at 09:35:23AM -0800, Chuck Swiger wrote:

 On Dec 1, 2006, at 9:30 AM, Jean-Paul Natola wrote:
 Please excuse my ignorance but I believe my symlink is not working,  
 how can I
 verify a symlink?
 
 Most people use ls -l to see where the link is pointing; software  
 generally uses lstat(2).

That is the  way to check, but may not convince a nervous newbie
of what is happening - thus my longer proof in another post.

jerry

 
 And Yes I am a newbie in the BSD / open source world.
 
 Very good.  Welcome...
 
 -- 
 -Chuck
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Moving /var/mail

2006-12-01 Thread Philip Hallstrom
I want to move /var/mail to /usr/var/mail, then symlink /var/mail to 
/usr/var/mail to free up space on my (too small on this machine) /var. Of 
course, I wish to maintain file permissions, ownerships, etc. I decided to 
try a dry run using a user home directory first to make sure this would work 
right. Good thing I did...


I'm a little confused... if you want to move /var/mail to /usr/var/mail 
why are you messing around with /home at all?


This is what I would do...

... stop your smtp program
... stop your pop/imap program
tar zcvpf /tmp/varmail.tpgz /var/mail
mkdir -p /usr/var
mv /var/mail /usr/var/mail
ln -s /usr/var/mail /var/mail
... restart your smtp/pop/imap programs...







I created /usr/kellyw  and attempted to copy the contents of  /home/kellyw/ 
to it. First of all, I tried tar cvpf /usr/kellyw/kellyw.tar /home/kellyw/


When I unpack the tar file, I wind up with /usr/kellyw/home/kellyw/*  Not 
what I wanted. I wanted all of the files in /home/kellyw/ to wind up in 
/usr/kellyw/


So I then tried to just copy the files using cp -p but I can't get the syntax 
right on that:


# cd /home/kellyw
# ls -l
total 16
-rw-r--r--  1 kellyw  kellyw  767 Aug 18 14:52 .cshrc
-rw-r--r--  1 kellyw  kellyw  248 Aug 18 14:52 .login
-rw-r--r--  1 kellyw  kellyw  158 Aug 18 14:52 .login_conf
-rw---  1 kellyw  kellyw  373 Aug 18 14:52 .mail_aliases
-rw-r--r--  1 kellyw  kellyw  331 Aug 18 14:52 .mailrc
-rw-r--r--  1 kellyw  kellyw  797 Aug 18 14:52 .profile
-rw---  1 kellyw  kellyw  276 Aug 18 14:52 .rhosts
-rw-r--r--  1 kellyw  kellyw  975 Aug 18 14:52 .shrc
# cp -p /home/kellyw/* /usr/kellyw/*
cp: No match.
# cp -p /home/kellyw/ /usr/kellyw/
cp: /home/kellyw/ is a directory (not copied).
# cp -p /home/kellyw/*.* /usr/kellyw/*.*
cp: No match.

Can someone help me out with my syntax? The tar method would probably be 
better (I guess) though I don't really care  which method I use as long as it 
works (and preserves permissions, etc.). There are only about 60 mailboxes on 
this system.


Thanks,

Lisa Casey

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


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


RE: SYMLINK

2006-12-01 Thread Jean-Paul Natola




You create this link (presuming all dirs exist).
  'ln -s /some/other/dir/goodstuff /stuff'

Then do 'cd /stuff'  
...textfile

You can use any text editor you like if vi is not to your taste 
(though you should at least learn how to use vi since it is so omnipresent
 in the UNIX world)

 
 And Yes I am  a newbie in the BSD / open source world.
 

Welcome to FreeBSD.
It will take some learning, but be worth it, even in the
short run.

jerry


I'm pretty comfortable with ee  , it *seems* easier to me-

But I will dabble with vi,  I do however, remember  when I took a free
elective back in '99 (unix system V) we played with vi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: stop a freebsd server from responding to pinging?

2006-12-01 Thread Josh Paetzel
On Thursday 30 November 2006 13:10, Chuck Swiger wrote:
 On Nov 30, 2006, at 10:55 AM, Wasp King wrote:
  1. How do I stop others from port scanning a server?

 Marcus Ranum suggests using wirecutters on the ethernet cable.
 If the server is internet-reachable, then it can be port-scanned.

 Less drastic measures than removing it from the network entirely
 would including configuring a firewall to block all ports except
 those absolutely required for the necessary functions which the
 machine needs to perform, and hardening the OS to reduce the
 potential exposure.

  2. is stopping the response to pinging enough?

 No.

  3. how to do I stop the server from responding to pinging?

 Use a firewall like ipfw or ipf to block ICMP traffic types 0  8:

   ipfw add 1 deny icmp from any to any icmptype 0,8

I find it a tad ironic that someone running FBSD 4.2 is worried about 
getting port scanned.or maybe that's why he is worried, since the 
laundry list of exploits and holes against a box running something 
that old and unsupported is fearsome.

-- 
Thanks,

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


Re: 5.4 kernel crashdump not consistently working

2006-12-01 Thread Kris Kennaway
On Fri, Dec 01, 2006 at 11:48:06AM -0800, Cheng Jin wrote:
 hi,
 
 i have run into this strange problem of kernel crashdump not
 working consistently under FreeBSd 5.4.  we have bunch of development
 machines with identical physical configurations, and every one of
 them is setup to save the vmcore after a panic.  The difference
 as far as i could tell is the FreeBSD 5.4 version, which 
 different people installed using different methods, CD, network, CVS...
 
 I followed the instructions found on the official FreeBSD site
 as far as i could tell.
 
 including in the kernel config file the following options
 
 options DDB
 options KDB
 options GDB
 options KDB_UNATTENDED
 
 include in the /etc/rc.conf file
 
 dumpdev=/dev/ad0s1b # 2GB swap partition with 1GB of physical memory
 dumpdir=/usr/crash  #
 
 and making sure the dir exists
 
 crashdump works on some of these machines, but not on others, and
 on those that don't work, i just see
 
 Dumping 1014MB
 
 and the system just sits there.  I added a printf line into the
 dumpsys function, and it seems that it just loops without ever
 writing anything to disk. for those that are curious about the
 details, the variables i, mb are always just zero, count goes
 up everytime i press a key, and va stays at the same memory
 address, and left never decreases.
 
 Comments would be greatly appreciated.

Some disk drivers seem to have problems dumping (each driver has its
own dump routine so there is scope for bugs especially on less
commonly used devices).  Try a later version of FreeBSD, e.g. 6.1 or
6.2.

Kris


pgpQ4tosYDBxz.pgp
Description: PGP signature


Re: Moving /var/mail

2006-12-01 Thread Jerry McAllister
On Fri, Dec 01, 2006 at 02:20:42PM -0500, Lisa Casey wrote:

 Hi,
 
 I want to move /var/mail to /usr/var/mail, then symlink /var/mail to 
 /usr/var/mail to free up space on my (too small on this machine) /var. Of 
 course, I wish to maintain file permissions, ownerships, etc. I decided to 
 try a dry run using a user home directory first to make sure this would 
 work right. Good thing I did...
 
 I created /usr/kellyw  and attempted to copy the contents of  /home/kellyw/ 
 to it. First of all, I tried tar cvpf /usr/kellyw/kellyw.tar /home/kellyw/
 
 When I unpack the tar file, I wind up with /usr/kellyw/home/kellyw/*  Not 
 what I wanted. I wanted all of the files in /home/kellyw/ to wind up in 
 /usr/kellyw/
 
 So I then tried to just copy the files using cp -p but I can't get the 
 syntax right on that:
 
 # cd /home/kellyw
 # ls -l
 total 16
 -rw-r--r--  1 kellyw  kellyw  767 Aug 18 14:52 .cshrc
 -rw-r--r--  1 kellyw  kellyw  248 Aug 18 14:52 .login
 -rw-r--r--  1 kellyw  kellyw  158 Aug 18 14:52 .login_conf
 -rw---  1 kellyw  kellyw  373 Aug 18 14:52 .mail_aliases
 -rw-r--r--  1 kellyw  kellyw  331 Aug 18 14:52 .mailrc
 -rw-r--r--  1 kellyw  kellyw  797 Aug 18 14:52 .profile
 -rw---  1 kellyw  kellyw  276 Aug 18 14:52 .rhosts
 -rw-r--r--  1 kellyw  kellyw  975 Aug 18 14:52 .shrc
 # cp -p /home/kellyw/* /usr/kellyw/*
 cp: No match.
 # cp -p /home/kellyw/ /usr/kellyw/
 cp: /home/kellyw/ is a directory (not copied).
 # cp -p /home/kellyw/*.* /usr/kellyw/*.*
 cp: No match.

You don't want to use the '*' on the receiving directory.
If there are no other subdirectories in /home/kellyw then
just do this:cp -p /home/kellyw/* /usr/kellyw/.

If it has subdirectories and you want it to recurse, then
do this:  cp -R -p /home/kellyw/ /usr/kellyw

Unfortunately, if there are hard links in that directory, it will also 
make new copies of those files rather than just making new hard links.

You might want to consider using tar instead of cp if your file structure
to be moved are at all complex.

   cd /home/kellyw
   tar cvpf /usr/kellyw/kelly.tar *
   cd /usr/kellyw
   tar xvpf kelly.tar
   rm kelly.tar
   cd /home/kellyw
   pwd(just to be extra careful since rm -rf * is irrevocable)
   rm -rf *   

jerry

 
 Can someone help me out with my syntax? The tar method would probably be 
 better (I guess) though I don't really care  which method I use as long as 
 it works (and preserves permissions, etc.). There are only about 60 
 mailboxes on this system.
 
 Thanks,
 
 Lisa Casey
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Moving /var/mail

2006-12-01 Thread Jerry McAllister
On Fri, Dec 01, 2006 at 02:22:01PM -0600, Philip Hallstrom wrote:

 I want to move /var/mail to /usr/var/mail, then symlink /var/mail to 
 /usr/var/mail to free up space on my (too small on this machine) /var. Of 
 course, I wish to maintain file permissions, ownerships, etc. I decided to 
 try a dry run using a user home directory first to make sure this would 
 work right. Good thing I did...
 
 I'm a little confused... if you want to move /var/mail to /usr/var/mail 
 why are you messing around with /home at all?

That is just her test case, not the real one she wants to do
after she is comfortable with the process.

jerry

 
 This is what I would do...
 
 ... stop your smtp program
 ... stop your pop/imap program
 tar zcvpf /tmp/varmail.tpgz /var/mail
 mkdir -p /usr/var
 mv /var/mail /usr/var/mail
 ln -s /usr/var/mail /var/mail
 ... restart your smtp/pop/imap programs...
 
 
 
 
 
 
 I created /usr/kellyw  and attempted to copy the contents of  
 /home/kellyw/ to it. First of all, I tried tar cvpf /usr/kellyw/kellyw.tar 
 /home/kellyw/
 
 When I unpack the tar file, I wind up with /usr/kellyw/home/kellyw/*  Not 
 what I wanted. I wanted all of the files in /home/kellyw/ to wind up in 
 /usr/kellyw/
 
 So I then tried to just copy the files using cp -p but I can't get the 
 syntax right on that:
 
 # cd /home/kellyw
 # ls -l
 total 16
 -rw-r--r--  1 kellyw  kellyw  767 Aug 18 14:52 .cshrc
 -rw-r--r--  1 kellyw  kellyw  248 Aug 18 14:52 .login
 -rw-r--r--  1 kellyw  kellyw  158 Aug 18 14:52 .login_conf
 -rw---  1 kellyw  kellyw  373 Aug 18 14:52 .mail_aliases
 -rw-r--r--  1 kellyw  kellyw  331 Aug 18 14:52 .mailrc
 -rw-r--r--  1 kellyw  kellyw  797 Aug 18 14:52 .profile
 -rw---  1 kellyw  kellyw  276 Aug 18 14:52 .rhosts
 -rw-r--r--  1 kellyw  kellyw  975 Aug 18 14:52 .shrc
 # cp -p /home/kellyw/* /usr/kellyw/*
 cp: No match.
 # cp -p /home/kellyw/ /usr/kellyw/
 cp: /home/kellyw/ is a directory (not copied).
 # cp -p /home/kellyw/*.* /usr/kellyw/*.*
 cp: No match.
 
 Can someone help me out with my syntax? The tar method would probably be 
 better (I guess) though I don't really care  which method I use as long as 
 it works (and preserves permissions, etc.). There are only about 60 
 mailboxes on this system.
 
 Thanks,
 
 Lisa Casey
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/ports/x11-toolkits/eel linker error

2006-12-01 Thread Laszlo Nagy

What am I going wrong? Please help!

System: FreeBSD 6.1-RELEASE-p10 #4: Thu Nov 30 13:33:49 CET 2006
The ports tree was updated yesterday, then I ran

portupgrade -a

It was completed today. Then I ran portinstall gnome2 and got this error:

grep: /usr/X11R6/lib/libgnomeui-2.la: No such file or directory
sed: /usr/X11R6/lib/libgnomeui-2.la: No such file or directory
gnome-libtool: link: `/usr/X11R6/lib/libgnomeui-2.la' is not a valid 
libtool archive

gmake[2]: *** [libeel-2.la] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11-toolkits/eel/work/eel-2.16.3/eel'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/eel/work/eel-2.16.3'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11-toolkits/eel.

NOTE: The correct file is in /usr/local/lib/libgnomeui-2.la, but the 
port cannot find it.


Thanks,

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


Configuring DNS (BIND) in isolation

2006-12-01 Thread Andrew Falanga

Hello,

I have a need to make my own DNS system on an isolated network.  Years ago,
I administered DNS for a couple of different companies, but that was quite a
while ago and since I've turned to programming I haven't done much in the
way of network administration.  I recall from using BIND 4, when I was
reading up on it, that it is most certainly possible to configure an entire
DNS system on a totally isolated network.

Would I need zone files for the root, ., zone and any other zones I
configure; e.g. isolation.?  This would seem to be the way to go about it,
but I'm having some difficulty visualizing it in my head.  I just did some
searches online for the O'Reilly book DNS  BIND.  I recall using this
book in the past and it was quite helpful (and unfortunately for me,
belonged to my former employers).  Would this book be a good reference for
this task as well, or are there better books that I might want to look into
getting for this?  Or, are there good on-line resources that could help me
muddle through?

Any help is greatly appreciated.

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


Re: Moving /var/mail

2006-12-01 Thread Lisa Casey


Hi Phillip,

I'm a little confused... if you want to move /var/mail to /usr/var/mail 
why are you messing around with /home at all?


As I said - that was a dry run to see if this would work the way I thought 
it would (it didn't). I'ld rather practice with a users home directory that 
isn't important than risk screwing up people's mail boxes.



This is what I would do...

... stop your smtp program
... stop your pop/imap program
tar zcvpf /tmp/varmail.tpgz /var/mail
mkdir -p /usr/var
mv /var/mail /usr/var/mail
ln -s /usr/var/mail /var/mail
... restart your smtp/pop/imap programs...


Thanks. I'll try this tomorrow. On a users home directory first...

Lisa Casey

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


RE: Best laptop for Freebsd

2006-12-01 Thread CyberSword
I really can't say enough times how much I love my IBM T23, it's a couple of
years old and runs both WinXP and FreeBSD 6.1 like a charm. 

I only had a bit of a problems configuring X, but that's part me for not
having much experience and was easily resolved by doing some digging in
Google.

-Original Message-

 On Thu, Nov 16, 2006 at 08:58:53AM +0300, g wrote:
 Is there any one model or product that would be better for Freebsd 6 
 (as this is my day in day out operating system).

 http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

 Any experiences and or advise would be much appreciated.

 My vote is for Thinkpads

Mine too. I have an R51. Man, that computer is awesome. No issues with it,
etc.


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


Re: Best laptop for Freebsd

2006-12-01 Thread Abram B OLson
I have an acer travelmate 2420 that requires ndis for the broadcom 4318 
wireless card but other than that it works in linux and freebsd nearly 
out-of-the-box. I got it from newegg for 500 usd too. I'm very happy 
with it.



Abe


CyberSword wrote:

I really can't say enough times how much I love my IBM T23, it's a couple of
years old and runs both WinXP and FreeBSD 6.1 like a charm. 


I only had a bit of a problems configuring X, but that's part me for not
having much experience and was easily resolved by doing some digging in
Google.

-Original Message-

  

On Thu, Nov 16, 2006 at 08:58:53AM +0300, g wrote:

Is there any one model or product that would be better for Freebsd 6 
(as this is my day in day out operating system).
  

http://lists.freebsd.org/mailman/listinfo/freebsd-mobile



Any experiences and or advise would be much appreciated.
  

My vote is for Thinkpads



Mine too. I have an R51. Man, that computer is awesome. No issues with it,
etc.


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


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


Jails not being assigned IP address?

2006-12-01 Thread Matt Bostock
Hello,

I have three jails on one machine that won't resolve DNS because it looks as
though the jails themselves aren't being assigned IP addresses. When I run
ifconfig, none of the adapters have IPs assigned.

The host is working fine. Can anyone explain why the jails aren't being assigned
IPs? Would they fail to be assigned if an adapter on the host already has their
IPs as aliases?

Any advice is much appreciated,
Matt

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


Re: Moving /var/mail

2006-12-01 Thread Mikhail Goriachev
Lisa Casey wrote:
 Hi,
 
 I want to move /var/mail to /usr/var/mail, then symlink /var/mail to 
 /usr/var/mail to free up space on my (too small on this machine) /var. Of 
 course, I wish to maintain file permissions, ownerships, etc. I decided to 
 try a dry run using a user home directory first to make sure this would work 
 right. Good thing I did...
 
 I created /usr/kellyw  and attempted to copy the contents of  /home/kellyw/ 
 to it. First of all, I tried tar cvpf /usr/kellyw/kellyw.tar /home/kellyw/
 
 When I unpack the tar file, I wind up with /usr/kellyw/home/kellyw/*  Not 
 what I wanted. I wanted all of the files in /home/kellyw/ to wind up in 
 /usr/kellyw/
 
 So I then tried to just copy the files using cp -p but I can't get the 
 syntax right on that:
 
 # cd /home/kellyw
 # ls -l
 total 16
 -rw-r--r--  1 kellyw  kellyw  767 Aug 18 14:52 .cshrc
 -rw-r--r--  1 kellyw  kellyw  248 Aug 18 14:52 .login
 -rw-r--r--  1 kellyw  kellyw  158 Aug 18 14:52 .login_conf
 -rw---  1 kellyw  kellyw  373 Aug 18 14:52 .mail_aliases
 -rw-r--r--  1 kellyw  kellyw  331 Aug 18 14:52 .mailrc
 -rw-r--r--  1 kellyw  kellyw  797 Aug 18 14:52 .profile
 -rw---  1 kellyw  kellyw  276 Aug 18 14:52 .rhosts
 -rw-r--r--  1 kellyw  kellyw  975 Aug 18 14:52 .shrc
 # cp -p /home/kellyw/* /usr/kellyw/*
 cp: No match.
 # cp -p /home/kellyw/ /usr/kellyw/
 cp: /home/kellyw/ is a directory (not copied).
 # cp -p /home/kellyw/*.* /usr/kellyw/*.*
 cp: No match.
 
 Can someone help me out with my syntax? The tar method would probably be 
 better (I guess) though I don't really care  which method I use as long as 
 it works (and preserves permissions, etc.). There are only about 60 
 mailboxes on this system.


You could do something like this[1]:

# tar -cvf - -C /home/kellyw . | tar -xpBf - -C /usr/kellyw



Regards,
Mikhail.

[1] - Taken from 'man tar', EXAMPLES section.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best laptop for Freebsd

2006-12-01 Thread Old Ranger

Abram B OLson wrote:
I have an acer travelmate 2420 that requires ndis for the broadcom 
4318 wireless card but other than that it works in linux and freebsd 
nearly out-of-the-box. I got it from newegg for 500 usd too. I'm very 
happy with it.



Abe


CyberSword wrote:
I really can't say enough times how much I love my IBM T23, it's a 
couple of

years old and runs both WinXP and FreeBSD 6.1 like a charm.
I only had a bit of a problems configuring X, but that's part me for not
having much experience and was easily resolved by doing some digging in
Google.

-Original Message-

 

On Thu, Nov 16, 2006 at 08:58:53AM +0300, g wrote:
   
Is there any one model or product that would be better for Freebsd 
6 (as this is my day in day out operating system).
  

http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

   

Any experiences and or advise would be much appreciated.
  

My vote is for Thinkpads



Mine too. I have an R51. Man, that computer is awesome. No issues 
with it,

etc.


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


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




Greetings,
I recently got myself a Dell Inspiron 1501 with AMD dual core processor.
Split HDD in half, XPPRO on one side, FreeBSD 6.1 on the other side.
Only been tweaking with it for a couple of days now.
Several issues seem to be on the plate.
One is accessing the USB floppy drive. 
???  5 USB ports showing in dmesg, but none actually mount the drive 
when I attempt mount_msdosfs /dev/ /mnt  ??


Very happy otherwise.

DSL modem should be coming UPS in the next couple of days.
At THAT time, I'm sure I'll have some more questions and comments.

Thanks for listening, and any suggestions on the USB floppy drive access.

Ciao,
Z. Wade Hampton
Twin Bridges, Montana
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring DNS (BIND) in isolation

2006-12-01 Thread Chuck Swiger

On Dec 1, 2006, at 1:03 PM, Andrew Falanga wrote:
I have a need to make my own DNS system on an isolated network.   
Years ago,
I administered DNS for a couple of different companies, but that  
was quite a
while ago and since I've turned to programming I haven't done much  
in the

way of network administration.  I recall from using BIND 4, when I was
reading up on it, that it is most certainly possible to configure  
an entire

DNS system on a totally isolated network.


Of course; it's possible to do so with BIND-8, too.  :-)


Would I need zone files for the root, ., zone and any other zones I
configure; e.g. isolation.?


Yep.


This would seem to be the way to go about it,
but I'm having some difficulty visualizing it in my head.  I just  
did some
searches online for the O'Reilly book DNS  BIND.  I recall using  
this

book in the past and it was quite helpful (and unfortunately for me,
belonged to my former employers).  Would this book be a good  
reference for
this task as well, or are there better books that I might want to  
look into
getting for this?  Or, are there good on-line resources that could  
help me

muddle through?


The O'Reilly DNS  BIND book is an excellent reference, and you  
should certainly pick it up if you're going to be running your own  
root NS, although it should also be true that you can use the online  
references such as the BOG (BIND Operations Guide) to accomplish your  
goal.


--
-Chuck

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


Re: Configuring DNS (BIND) in isolation

2006-12-01 Thread Matthew Seaman
Andrew Falanga wrote:

 I have a need to make my own DNS system on an isolated network.  Years ago,
 I administered DNS for a couple of different companies, but that was
 quite a
 while ago and since I've turned to programming I haven't done much in the
 way of network administration.  I recall from using BIND 4, when I was
 reading up on it, that it is most certainly possible to configure an entire
 DNS system on a totally isolated network.
 
 Would I need zone files for the root, ., zone and any other zones I
 configure; e.g. isolation.?  This would seem to be the way to go about
 it,
 but I'm having some difficulty visualizing it in my head.  I just did some
 searches online for the O'Reilly book DNS  BIND.  I recall using this
 book in the past and it was quite helpful (and unfortunately for me,
 belonged to my former employers).  Would this book be a good reference for
 this task as well, or are there better books that I might want to look into
 getting for this?  Or, are there good on-line resources that could help me
 muddle through?

You're on the right track.  Yes, you'ld need a zone file for the root of
your DNS -- if it's all served from one machine then that would replace the
'hint' zone and named.root stuff in the example named.conf 

The zone file for '.' would contain an SOA record and then delegation for
whatever forward and reverse domains you want to use.  Eg. supposing you
want to use the TLD 'in.isolation' with IP numbers from 192.168.0.0/24
then you'ld need something like:

;
; Root of the private domain name system
;
$TTL 604800; 1 week

@ IN  SOA ns0.in.isolation. hostmaster.in.isolation. (
  2006120100 ;  Serial
  1800   ;  Refresh (30min)
  900;  Retry (15min)
  604800 ;  Expire (1week)
  86400 );  Minimum (1day)
in.isolation.IN  NS ns0.in.isolation.
0.168.192.in-addr.arpa.  IN  NS ns0.in.isolation.
ns0.in.isolation.IN  A 192.168.0.1   ; Glue
;
; That's All Folks!
;

Then you'ld need the zone files for 'in.isolation.' and
'0.168.192.in-addr.arpa'

The O'Reilly book 'DNS  Bind' by Ablitz and Liu is well worth obtaining.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: Moving /var/mail

2006-12-01 Thread Loren M. Lang
On Fri, Dec 01, 2006 at 03:22:48PM -0500, Jerry McAllister wrote:
 On Fri, Dec 01, 2006 at 02:20:42PM -0500, Lisa Casey wrote:
 
  Hi,
  
  I want to move /var/mail to /usr/var/mail, then symlink /var/mail to 
  /usr/var/mail to free up space on my (too small on this machine) /var. Of 
  course, I wish to maintain file permissions, ownerships, etc. I decided to 
  try a dry run using a user home directory first to make sure this would 
  work right. Good thing I did...
  
  I created /usr/kellyw  and attempted to copy the contents of  /home/kellyw/ 
  to it. First of all, I tried tar cvpf /usr/kellyw/kellyw.tar /home/kellyw/
  
  When I unpack the tar file, I wind up with /usr/kellyw/home/kellyw/*  Not 
  what I wanted. I wanted all of the files in /home/kellyw/ to wind up in 
  /usr/kellyw/
  
  So I then tried to just copy the files using cp -p but I can't get the 
  syntax right on that:
  
  # cd /home/kellyw
  # ls -l
  total 16
  -rw-r--r--  1 kellyw  kellyw  767 Aug 18 14:52 .cshrc
  -rw-r--r--  1 kellyw  kellyw  248 Aug 18 14:52 .login
  -rw-r--r--  1 kellyw  kellyw  158 Aug 18 14:52 .login_conf
  -rw---  1 kellyw  kellyw  373 Aug 18 14:52 .mail_aliases
  -rw-r--r--  1 kellyw  kellyw  331 Aug 18 14:52 .mailrc
  -rw-r--r--  1 kellyw  kellyw  797 Aug 18 14:52 .profile
  -rw---  1 kellyw  kellyw  276 Aug 18 14:52 .rhosts
  -rw-r--r--  1 kellyw  kellyw  975 Aug 18 14:52 .shrc
  # cp -p /home/kellyw/* /usr/kellyw/*
  cp: No match.
  # cp -p /home/kellyw/ /usr/kellyw/
  cp: /home/kellyw/ is a directory (not copied).
  # cp -p /home/kellyw/*.* /usr/kellyw/*.*
  cp: No match.
 
 You don't want to use the '*' on the receiving directory.
 If there are no other subdirectories in /home/kellyw then
 just do this:cp -p /home/kellyw/* /usr/kellyw/.

This will miss hidden files which a home directory will surely have.
Just drop the * to copy everything.

 
 If it has subdirectories and you want it to recurse, then
 do this:  cp -R -p /home/kellyw/ /usr/kellyw
 
 Unfortunately, if there are hard links in that directory, it will also 
 make new copies of those files rather than just making new hard links.

The whole point of this is because the original partition was getting
too full so unless all links to the file are copied, it will have to
make new copies of the files.  If there are multiple hard links to the
same file that need to be removed, then tar, pax, or cpio should be
used. /var/mail probably won't have any nor /home/kellyw unless kellyw
specifically set them up with ln.

 
 You might want to consider using tar instead of cp if your file structure
 to be moved are at all complex.
 
cd /home/kellyw
tar cvpf /usr/kellyw/kelly.tar *

 * should be . to copy everything

cd /usr/kellyw
tar xvpf kelly.tar
rm kelly.tar
cd /home/kellyw
pwd(just to be extra careful since rm -rf * is irrevocable)
rm -rf *   

To remove everything you would have to be up one and remove the folder
instead.

 
 jerry
 
  
  Can someone help me out with my syntax? The tar method would probably be 
  better (I guess) though I don't really care  which method I use as long as 
  it works (and preserves permissions, etc.). There are only about 60 
  mailboxes on this system.
  
  Thanks,
  
  Lisa Casey
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Loren M. Lang
[EMAIL PROTECTED]
http://www.alzatex.com/


Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpKoiZsGT0Xr.pgp
Description: PGP signature


Re: Automount

2006-12-01 Thread Robert Davison
I've read various documents on amd, but am having issues...
  
My fstab for the drives (there is two drives contained within a Sun StorEdge 
S1) reads:

/dev/da0s1b  none   swap   sw   0   0
/dev/da0s1d  /s none   rw,noauto   0   0
/dev/da1s1b  none   swap   sw   0   0   
/dev/da1s2d  /t none   rw,noauto   0   0

I've mkdir -p both /s and /t as mount points

I've then put the following lines into /etc/amd.map

localhost/s type:=program:fs:=/s;\
mount:=/sbin/mount mount /s;\
unmount:=/sbin/umount umount /s

localhost/t type:=program:fs:=/t;\
mount:=/sbin/mount mount /t;\
unmount:=/sbin/umount umount /t

And finaly I've added the following to ,y /etc/rc.conf

portmap_enable=YES
amd_enable=YES
amd_flags=-a /.amd_mnt -l syslog /host/etc/amd.map

when i reboot the server the external drives are not mounted, but I do get a 
.snap file now in my / if this means anything ?

Am I missing a step here, or the point totally ??

Lowell Gilbert [EMAIL PROTECTED] wrote:
  Robert Davison writes:

 I've just installed an external SCSI hard drive in the form of a sun 
 StorEdge. All is working well.
 
 The StorEdge has two drives called da0 and da1 respectivly.
 
 I've put entries into /etc/fstab so that they are mounted on boot as /s and 
 /t. My question is...
 
 If I dont have the StorEdge running 24/7 and I reboot the server, the boot 
 process fails when mounting the file systems as /s /t can not be reached.
 
 Is there anyway of writing an automount line in fstab that is smart enough to 
 know that if the /s and /t are not reachable then continue with the boot 
 process without stopping. My fstab enty is...
 
 /dev/da0s1d /s ufs rw 0 0
 
 I see that the cdrom has the entry
 
 /dev/cd0 /cdrom cd9660 ro,noauto 0 0
 
 Is it simply a case of changing the mount option to rw,noauto ??

To start with, yes. If you don't use noauto, then the disk *has* to
be there at boot.

You might want to put in some devfs rules to mount the disks when they
show up. Or an automounter.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


 Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Automount

2006-12-01 Thread Robert Davison
After some kind advice from this mail list, im trying to set up an amd 
automount so that my external hard drive doesnt have to be on all the time for 
the main server to boot.

My fstab for the drives (there is two drives contained within a Sun StorEdge 
S1) reads:

/dev/da0s1bnoneswapsw00
/dev/da0s1d/snonerw,noauto00
/dev/da1s1bnoneswapsw00
/dev/da1s2d/tnonerw,noauto00

I've mkdir -p both /s and /t as mount points

I've then put the following lines into /etc/amd.map

localhost/stype:=program:fs:=/s;\
mount:=/sbin/mount mount /s;\
unmount:=/sbin/umount umount /s

localhost/ttype:=program:fs:=/t;\
 mount:=/sbin/mount mount /t;\
 unmount:=/sbin/umount umount /t

And finaly I've added the following to ,y /etc/rc.conf

portmap_enable=YES
amd_enable=YES
amd_flags=-a /.amd_mnt -l syslog /host/etc/amd.map

when i reboot the server the external drives are not mounted.

Am I missing a step here, or the point totally ??



-
 All New Yahoo! Mail – Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard 
protect you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Soft Updates Help

2006-12-01 Thread Sean Murphy

I have read up on soft updates and have some questions.

The way that I am understanding soft updates purpose is to allow file 
systems to be mounted dirty after an unclean shutdown of the system.  
This will allow fsck to run in the background to restore the consistency 
of the file system which is compared against a snapshot of the system.  
It also increases performance of heavily written file systems by waiting 
to write the metadata of files and directories until a more opportune time.


I have questions about this.

When is the snapshot taken, how often, do I have to do it or does a 
program or kernel do it?


If this is a safe way to restore consistency why is it not used on /?

If a file system is not heavily written to is it better not to use soft 
updates?


How do I know when the background fsck is finished and if it was successful?

Do I have to add anything to enable the backgound fsck?

When file systems are mounted dirty and our being used while the 
backgound fsck is running on the file systems how does it prevent files 
from being lost?





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


Re: Xorg: How to change background?

2006-12-01 Thread Pablo Mora

On 11/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Can Xorg show another background than grey grid, for example black screen?


/usr/ports/graphics/qiv -x image

--
Linux is for people who hate Micro$oft. BSD is for people who love Unix ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Soft Updates Help

2006-12-01 Thread Chuck Swiger

On Dec 1, 2006, at 4:12 PM, Sean Murphy wrote:

I have read up on soft updates and have some questions.

The way that I am understanding soft updates purpose is to allow  
file systems to be mounted dirty after an unclean shutdown of the  
system.  This will allow fsck to run in the background to restore  
the consistency of the file system which is compared against a  
snapshot of the system.  It also increases performance of heavily  
written file systems by waiting to write the metadata of files and  
directories until a more opportune time.


I have questions about this.

When is the snapshot taken, how often, do I have to do it or does a  
program or kernel do it?


Snapshots are taken via mksnap_ffs; some other tools like fsck or  
dump also know how to create a snapshot.



If this is a safe way to restore consistency why is it not used on /?


You could enable softupdates on /, but normally one does not as /  
does not contain files which are expected to change.


If a file system is not heavily written to is it better not to use  
soft updates?


Maybe.  I think that softupdates is a win in almost all circumstances  
from the standpoint of data consistency, short of fully syncronous  
data  metadata updates.


How do I know when the background fsck is finished and if it was  
successful?


Check the logfiles.


Do I have to add anything to enable the backgound fsck?


At one point, there was an option in /etc/rc.conf, but it now  
defaults to being on:


% grep fsck /etc/defaults/rc.conf
fsck_y_enable=NO  # Set to YES to do fsck -y if the initial  
preen fails.
background_fsck=YES   # Attempt to run fsck in the background where  
possible.
background_fsck_delay=60 # Time to wait (seconds) before starting  
the fsck.


When file systems are mounted dirty and our being used while the  
backgound fsck is running on the file systems how does it prevent  
files from being lost?


The background fsck is only capable of handling innocuous filesystem  
inconsistencies, and will fail with an error code if it encounters a  
more significant issue, in which case the system is obligated to  
perform the traditional fsck in the foreground.


--
-Chuck

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


Help-me, how to install freebsd in

2006-12-01 Thread João Batista da Silva Filho
I am have problem when try install FreeBsd in Notebook Acer Aspire 5003.
I'm think that problem is in hard-disk, because it say that 
geometry is wrong.

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


Re: Soft Updates Help

2006-12-01 Thread Bill Moran
Sean Murphy [EMAIL PROTECTED] wrote:

 I have read up on soft updates and have some questions.
 
 The way that I am understanding soft updates purpose is to allow file 
 systems to be mounted dirty after an unclean shutdown of the system.

That's not the purpose.  The purpose is to improve performance by taking
advantage of delayed writes much the way an asynchronous filesystem does,
while preventing horrendous data corruption by ordering those writes, much
the way a journalling filesystem does.

The fact that you can generate filesystem snapshots is a side-benefit.  The
fact that you can use filesystem snapshots to validate the filesystem after
it's been mounted is a further side-benefit.

 If this is a safe way to restore consistency why is it not used on /?

Because writes are delayed, it's possible for data to be lost in the event of
a crash -- it acts like a database, either the entire transaction is committed
or it's rolled back, either way, the data is guaranteed not to be corrupt.

Also, on heavily used filesystems, softupdates can lead to the filesystem
temporarily having less space available than it really does.  I.e. you update
/kernel, softupdates completely replaces the file with a new one, but the
blocks for the old file haven't been reclaimed yet.  For a short period, you
might have 1 kernel file, but there's 2x that being allocated for it.

For these two reasons, / is traditionally _not_ mounted with softupdates
enabled, since it's critical to system startup.

 If a file system is not heavily written to is it better not to use soft 
 updates?

Weigh the good vs. the bad:
*) synchronous mounted filesystem is almost guaranteed to keep your data safe
   at all times, but is abysmally slow.
*) softupdates _may_ lose some data if your system crashes before all writes
   are flushed, but will never _corrupt_ it.  Additionally, you get a LOT
   better speed.
*) Asynchronous is a little faster than softupdates, but it's damn near
   guaranteed to be corrupt in the event of a crash.

 When file systems are mounted dirty and our being used while the 
 backgound fsck is running on the file systems how does it prevent files 
 from being lost?

It doesn't.  It guarantees that your filesystem will always be mountable and
never corrupt, but it doesn't guarantee against data loss.

Here's a simplified example:
Let's say you're saving a big file and the power goes out.  When the power comes
back on, there are basically 3 states that file can be in:
A) It was fully written to disk -- you got lucky.
B) Nothing had been written to disk yet -- data loss
C) It was partially written to disk -- your filesystem is corrupt, you either
   need to allow a filesystem repair program to fix it (fsck -- or chkdsk on
   Windows, for example) or you'll have weird problems with it until you do so.

Softupdates guarantees against C.  It does this by (essentially) writing the
file backwards:
1) it writes all the data to data blocks, and once that's done
2) _then_ it creates a directory entry for the file.

If the system crashes between #1 and #2, it looks like B happened, but you never
get in scenario C where the filesystem is corrupt and gets more corrupt as you
continue to use it.  Instead, when fsck runs (in the background) it realizes
that there are data blocks in use that don't belong to any file, and it can
free them up for the filesystem to use.

That's somewhat simplified, but it gives you the basic idea.

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


Re: Soft Updates Help

2006-12-01 Thread Sean Murphy



Chuck Swiger wrote the following on 12/1/2006 4:25 PM:

On Dec 1, 2006, at 4:12 PM, Sean Murphy wrote:

I have read up on soft updates and have some questions.

The way that I am understanding soft updates purpose is to allow file 
systems to be mounted dirty after an unclean shutdown of the system.  
This will allow fsck to run in the background to restore the 
consistency of the file system which is compared against a snapshot 
of the system.  It also increases performance of heavily written file 
systems by waiting to write the metadata of files and directories 
until a more opportune time.


I have questions about this.

When is the snapshot taken, how often, do I have to do it or does a 
program or kernel do it?


Snapshots are taken via mksnap_ffs; some other tools like fsck or dump 
also know how to create a snapshot.



If this is a safe way to restore consistency why is it not used on /?


You could enable softupdates on /, but normally one does not as / does 
not contain files which are expected to change.


If a file system is not heavily written to is it better not to use 
soft updates?


Maybe.  I think that softupdates is a win in almost all circumstances 
from the standpoint of data consistency, short of fully syncronous 
data  metadata updates.


How do I know when the background fsck is finished and if it was 
successful?


Check the logfiles.


Do I have to add anything to enable the backgound fsck?


At one point, there was an option in /etc/rc.conf, but it now defaults 
to being on:


% grep fsck /etc/defaults/rc.conf
fsck_y_enable=NO  # Set to YES to do fsck -y if the initial 
preen fails.
background_fsck=YES   # Attempt to run fsck in the background where 
possible.
background_fsck_delay=60 # Time to wait (seconds) before starting 
the fsck.


When file systems are mounted dirty and our being used while the 
backgound fsck is running on the file systems how does it prevent 
files from being lost?


The background fsck is only capable of handling innocuous filesystem 
inconsistencies, and will fail with an error code if it encounters a 
more significant issue, in which case the system is obligated to 
perform the traditional fsck in the foreground.


---Chuck



Thank you for your knowledge on this issue.   I have a few questions 
that I need your help to clarify.


Snapshots are taken via mksnap_ffs; some other tools like fsck or dump 
also know how to create a snapshot.


  OK, so if I understand this correctly I do not have to initially 
take a snapshot and update this snapshot manually.  The files system 
with soft updates does it correct?


Maybe.  I think that softupdates is a win in almost all circumstances 
from the standpoint of data consistency, short of fully syncronous data 
 metadata updates.


  On this issue, if I do not have soft updates on does that make it 
a fully synchronous file system?


If the background fsck can't handle the inconsistencies it will report 
this in the /var/log/messages correct?  Then is the file system 
unmounted because of the inconsistency to prevent data loss, so I can 
run a manual fsck or does it stay mounted?


Thanks


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


Re: Soft Updates Help

2006-12-01 Thread Chuck Swiger

On Dec 1, 2006, at 5:42 PM, Sean Murphy wrote:
Thank you for your knowledge on this issue.   I have a few  
questions that I need your help to clarify.


You are welcome, although knowledge can be a tricky thing.  :-)

Snapshots are taken via mksnap_ffs; some other tools like fsck or  
dump also know how to create a snapshot.


  OK, so if I understand this correctly I do not have to  
initially take a snapshot and update this snapshot manually.  The  
files system with soft updates does it correct?


If the system is rebooted with a filesystem which is marked unclean,  
and if soft updates is enabled, then yes, the background fsck process  
will create a snapshot automatically, and not need manual intervention.


Maybe.  I think that softupdates is a win in almost all  
circumstances from the standpoint of data consistency, short of  
fully syncronous data  metadata updates.


  On this issue, if I do not have soft updates on does that  
make it a fully synchronous file system?


No.  Take a look at the manpage for mount, in particular the  
section on -o which discusses async, sync, and noasync.  The latter  
is the default:


 noasync
 Metadata I/O should be done synchronously,  
while data I/O
 should be done asynchronously.  This is the  
default.


If the background fsck can't handle the inconsistencies it will  
report this in the /var/log/messages correct?  Then is the file  
system unmounted because of the inconsistency to prevent data loss,  
so I can run a manual fsck or does it stay mounted?


It should fall back to running a foreground fsck instead, which might  
indeed require manual intervention, I believe.


--
-Chuck


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


Re: stop a freebsd server from responding to pinging?

2006-12-01 Thread Garrett Cooper

Josh Paetzel wrote:

On Thursday 30 November 2006 13:10, Chuck Swiger wrote:

On Nov 30, 2006, at 10:55 AM, Wasp King wrote:

1. How do I stop others from port scanning a server?

Marcus Ranum suggests using wirecutters on the ethernet cable.
If the server is internet-reachable, then it can be port-scanned.

Less drastic measures than removing it from the network entirely
would including configuring a firewall to block all ports except
those absolutely required for the necessary functions which the
machine needs to perform, and hardening the OS to reduce the
potential exposure.


2. is stopping the response to pinging enough?

No.


3. how to do I stop the server from responding to pinging?

Use a firewall like ipfw or ipf to block ICMP traffic types 0  8:

ipfw add 1 deny icmp from any to any icmptype 0,8


I find it a tad ironic that someone running FBSD 4.2 is worried about 
getting port scanned.or maybe that's why he is worried, since the 
laundry list of exploits and holes against a box running something 
that old and unsupported is fearsome.




It does make his machine a bit more obscure and harder to find, but 
that's nothing a little nmap / snort / tcpdump doesn't cure by making 
your traffic or ports in use visible. Plus, if someone knows you exist, 
preventing ICMP ping to your host won't prevent much of anything..

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


Re: Soft Updates Help

2006-12-01 Thread Garrett Cooper

Bill Moran wrote:

Sean Murphy [EMAIL PROTECTED] wrote:

I have read up on soft updates and have some questions.

The way that I am understanding soft updates purpose is to allow file 
systems to be mounted dirty after an unclean shutdown of the system.


That's not the purpose.  The purpose is to improve performance by taking
advantage of delayed writes much the way an asynchronous filesystem does,
while preventing horrendous data corruption by ordering those writes, much
the way a journalling filesystem does.

The fact that you can generate filesystem snapshots is a side-benefit.  The
fact that you can use filesystem snapshots to validate the filesystem after
it's been mounted is a further side-benefit.


If this is a safe way to restore consistency why is it not used on /?


Because writes are delayed, it's possible for data to be lost in the event of
a crash -- it acts like a database, either the entire transaction is committed
or it's rolled back, either way, the data is guaranteed not to be corrupt.

Also, on heavily used filesystems, softupdates can lead to the filesystem
temporarily having less space available than it really does.  I.e. you update
/kernel, softupdates completely replaces the file with a new one, but the
blocks for the old file haven't been reclaimed yet.  For a short period, you
might have 1 kernel file, but there's 2x that being allocated for it.

For these two reasons, / is traditionally _not_ mounted with softupdates
enabled, since it's critical to system startup.

If a file system is not heavily written to is it better not to use soft 
updates?


Weigh the good vs. the bad:
*) synchronous mounted filesystem is almost guaranteed to keep your data safe
   at all times, but is abysmally slow.
*) softupdates _may_ lose some data if your system crashes before all writes
   are flushed, but will never _corrupt_ it.  Additionally, you get a LOT
   better speed.
*) Asynchronous is a little faster than softupdates, but it's damn near
   guaranteed to be corrupt in the event of a crash.

When file systems are mounted dirty and our being used while the 
backgound fsck is running on the file systems how does it prevent files 
from being lost?


It doesn't.  It guarantees that your filesystem will always be mountable and
never corrupt, but it doesn't guarantee against data loss.

Here's a simplified example:
Let's say you're saving a big file and the power goes out.  When the power comes
back on, there are basically 3 states that file can be in:
A) It was fully written to disk -- you got lucky.
B) Nothing had been written to disk yet -- data loss
C) It was partially written to disk -- your filesystem is corrupt, you either
   need to allow a filesystem repair program to fix it (fsck -- or chkdsk on
   Windows, for example) or you'll have weird problems with it until you do so.

Softupdates guarantees against C.  It does this by (essentially) writing the
file backwards:
1) it writes all the data to data blocks, and once that's done
2) _then_ it creates a directory entry for the file.

If the system crashes between #1 and #2, it looks like B happened, but you never
get in scenario C where the filesystem is corrupt and gets more corrupt as you
continue to use it.  Instead, when fsck runs (in the background) it realizes
that there are data blocks in use that don't belong to any file, and it can
free them up for the filesystem to use.

That's somewhat simplified, but it gives you the basic idea.

HTH
Bill


	Just for future reference, a more brief-although not 
complete-explanation of softupdates can be found on Wikipedia 
http://en.wikipedia.org/wiki/Softupdates.
	The article does link some other documents which discuss softupdates in 
more detail though. From what I skimmed it appears that the documents 
describe softupdates as a system, but perhaps not all of the features 
that you are looking for (asynchronous softupdating, for instance).

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


Re: SYMLINK

2006-12-01 Thread Aaron Holmes

Jean-Paul Natola wrote:

Please excuse my ignorance but I believe my symlink is not working, how can I
verify a symlink?

And Yes I am  a newbie in the BSD / open source world.









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED]

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

If you do an ls -l you should see something like
lrwxr--r--   1 uid  gid  mar 3 2006  link - /home/user/destination
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Freebsd Fail to boot

2006-12-01 Thread Thomas Wahyudi
Hi, I have freebsd 6.1 and 6.2 RC1 and i trying to install to my desktop 
computer using old motherboard ASUS P4S533 but everytime install is 
finish and trying to boot from HD its make my coumputer reboot and 
reboot again seems something wrong with boot loader, is there something 
i can do to make it work ?


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


Re: Data Recovery

2006-12-01 Thread Kirill P. Spitsin
On Thu, Nov 30, 2006 at 03:29:39AM -0800, Rachel Florentine wrote:
 Is there a data recovery utility anywhere available? 
 Not one that loads into Windoze, but straight into FBSD. 

maybe ports/sysutils/sleuthkit is what you need?

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


Re: Installation Problem

2006-12-01 Thread Rachel Florentine
77- Original Message 
From: Tom McLaughlin [EMAIL PROTECTED]

 Just install from the FreeBSD ports tree.

 cd /usr/ports/net/py-ldap2  make install clean

Thanks,
Rachel






 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with script execution SOLVED!

2006-12-01 Thread Ray
On Friday 01 December 2006 1:03 am, Christian Walther wrote:
 Try adding #!/bin/sh as the first new line of your script. Roughly
 speaking: This makes the system use /bin/sh as the shell that executes
 the script.
 Specifying a PATH inside the script might help, too. Scripts have a
 very small environment set by default, so your PATH might be just
 something like /bin:/usr/bin. If sudo is in /usr/local/bin it won't
 work.

Thank you!
That was it.
Ray
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help-me, how to install freebsd in

2006-12-01 Thread Amit Joshi
On Saturday 02 December 2006 06:10, João Batista da Silva Filho wrote:
 I am have problem when try install FreeBsd in Notebook Acer Aspire 5003.
 I'm think that problem is in hard-disk, because it say that
 geometry is wrong.

 I am thankful
 


I guess that this error can usually be ignored.  :)

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