Re: ldconfig problem after upgrade 4.11 to 5.5

2007-08-21 Thread Martin Schweizer
Hello Kris

Am Wed, Aug 22, 2007 at 02:31:04AM -0400 Kris Kennaway schrieb:
> > 
> > Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > > After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), 
> > > > I get 
> > > > around 63 error messages while the system boot up:
> > > > 
> > > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > > >   search: trailing characters ignored
> > > >   No such file or directory
> > > > 0: - lmalloc.1.1: trailing characters ignored. No such file or 
> > > > directory
> > > > ...
> > > > ...
> > > > 
> > > Looks like it might be a broken symlink.
> > > 
> > > Why are you updating to 5.5 though?  You should be using 6.2.
> > 
> > If I'm understanding /usr/src/UPDATING correct I should first update to 5.5 
> > and then to 6.2?
> 
> OK.  It may have been easier (and still could be) to just do a binary
> upgrade instead.
> 
> > Any ideas where I can check this symlink?
> 
> Use find(1) to look for libmalloc.so.1.1

The files are all located in /usr/lib/compat/aout. The path is defined in 
/etc/defaults/rc.conf
[snip]
ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout 
/usr/local/lib/aout"
[snip]

Any ideas?

-- 

Regards

Martin Schweizer
<[EMAIL PROTECTED]>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpCA1LHylS4f.pgp
Description: PGP signature


Re: ldconfig problem after upgrade 4.11 to 5.5

2007-08-21 Thread Kris Kennaway
On Wed, Aug 22, 2007 at 07:06:19AM +0200, Martin Schweizer wrote:
> Hello Kris
> 
> Am Wed, Aug 22, 2007 at 06:51:18AM +0200 Martin Schweizer schrieb:
> > Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > > After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), 
> > > > I get 
> > > > around 63 error messages while the system boot up:
> > > > 
> > > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > > >   search: trailing characters ignored
> > > >   No such file or directory
> > > > 0: - lmalloc.1.1: trailing characters ignored. No such file or 
> > > > directory
> > > > ...
> > > > ...
> > > > 
> > > Looks like it might be a broken symlink.
> > > 
> > > Why are you updating to 5.5 though?  You should be using 6.2.
> > 
> > If I'm understanding /usr/src/UPDATING correct I should first update to 5.5 
> > and then to 6.2? Any ideas where I can check this symlink?
> 
> In /etc/defaults/rc.conf I find some pathes which are not valid:
> 
> ldconfig_local_dirs="/usr/local/libdata/ldconfig /usr/X11R6/libdata/ldconfig"
> # Local directories with ldconfig configuration files.
> ldconfig_local32_dirs="/usr/local/libdata/ldconfig32 
> /usr/X11R6/libdata/ldconfig32"
> # Local directories with 32-bit compatibility ldconfig
> 
> Is this the problem?

No, shouldn't be.  You have something left behind on your system that
is causing problems.  Perhaps it was from an even older version than
4.11, if you had done previous upgrades from e.g. 3.x.

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


Re: ldconfig problem after upgrade 4.11 to 5.5

2007-08-21 Thread Kris Kennaway
On Wed, Aug 22, 2007 at 06:51:18AM +0200, Martin Schweizer wrote:
> Hello Kris
> 
> Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I 
> > > get 
> > > around 63 error messages while the system boot up:
> > > 
> > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > >   search: trailing characters ignored
> > >   No such file or directory
> > > 0: - lmalloc.1.1: trailing characters ignored. No such file or 
> > > directory
> > > ...
> > > ...
> > > 
> > Looks like it might be a broken symlink.
> > 
> > Why are you updating to 5.5 though?  You should be using 6.2.
> 
> If I'm understanding /usr/src/UPDATING correct I should first update to 5.5 
> and then to 6.2?

OK.  It may have been easier (and still could be) to just do a binary
upgrade instead.

> Any ideas where I can check this symlink?

Use find(1) to look for libmalloc.so.1.1

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


Re: Gnome & FreeBSD

2007-08-21 Thread Ghirai
On Mon, 20 Aug 2007 10:11:54 -0400 (EDT)
Michael S <[EMAIL PROTECTED]> wrote:

> Thank you all for the suggestions. I am going to take
> into consideration everything everyone wrote.
> 
> Michael
> 
> --- "P.U.Kruppa" <[EMAIL PROTECTED]> wrote:
> 
> > On Sun, 19 Aug 2007, Michael S wrote:
> > 
> > > Good day all,
> > >
> > > I decided to add GUI to my GUI-less FreeBSD
> > machine. I
> > > am  considering installing Gnome, which I haven't
> > used
> > > for long while and the last time was on Linux
> > anyway.
> > > The reason is that most of my favorite
> > applications
> > > use gtk libraries, like Firefox, GAIM (can't get
> > used
> > > to the new name),wxPython and others. In short I
> > > wanted to avoid 2 huge sets of libraries (gtk and
> > qt)
> > > by not installing KDE.
> > > I wanted to know how Gnome feels on FreeBSD, is it
> > > polished enough? Are there crashes? Any caveats at
> > > all?
> > There is a minimal gnome installation in
> > /usr/ports/x11/gnome2-lite
> > you can start with that and - if you like it - add
> > all the the 
> > other stuff. 
> > One caveat:
> > First install /usr/ports/x11/xorg (i.e. xorg-7.2)
> > and check if 
> > your monitor and graphics card are set up correctly.
> > 
> > Greetings,
> > 
> > Uli.
> > 

I'd suggest you also give xfce a try (http://xfce.org), it's also GTK based,
and lighter than gnome/kde, while still having plenty of features.

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


Re: DJBDNS && IPv6

2007-08-21 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Steve Bertrand wrote:
>> - is there a special way that I need to use tinydns-conf to create a new
>> 'server'
>>
>> - what should a proper v6 entry look like in the data file
>>
>> My research has told me that I should have new 'v6' type binaries in the
>> ./bin directory, but I do not see those.
> 
> To answer my own question, and to ensure quality in the archive, thanks
> to this:
> 
> http://tomclegg.net/djbdns-ipv6
> 
> I managed to solve my own question.
> 
> I had to:
> 
> # echo WITH_IPV6=yes >> /etc/make.conf
> 
> ...and now I have:
> 
> -rwxr-xr-x  1 root  wheel  78 Aug 21 20:58 add-alias6
> -rwxr-xr-x  1 root  wheel  77 Aug 21 20:58 add-host6
> 
> ...which is what I was looking for.
> 
> I don't know what ramifications leaving this in the /etc/make.conf file
> will have on future ports, so if someone can answer that, it would be great!
>

'WITH_IPV6' inserted into /etc/make.conf in the way you show will
enable IPv6 support in all ports that offer the capability.  It's
the recognised flag for that purpose and documented as such in
/usr/ports/KNOBS.

If you want to limit the effect to a single port, then you can use a
construction like this in /etc/make.conf:

.if ${.CURRDIR:M*/dns/djbdns}
WITH_IPV6=  YES
.fi

Also look at ports-mgmt/portsconf which lets you achieve the same
end but using a different syntax which you may find easier to deal
with.

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGy8uE8Mjk52CukIwRCBjiAJ99TyDfVH5H51EfzzRqij+lsMYSKwCdEFKv
u4uIqRePKGmdjMB+CNTnqpc=
=PN1d
-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: ldconfig problem after upgrade 4.11 to 5.5

2007-08-21 Thread Martin Schweizer
Hello Kris

Am Wed, Aug 22, 2007 at 06:51:18AM +0200 Martin Schweizer schrieb:
> Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I 
> > > get 
> > > around 63 error messages while the system boot up:
> > > 
> > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > >   search: trailing characters ignored
> > >   No such file or directory
> > > 0: - lmalloc.1.1: trailing characters ignored. No such file or 
> > > directory
> > > ...
> > > ...
> > > 
> > Looks like it might be a broken symlink.
> > 
> > Why are you updating to 5.5 though?  You should be using 6.2.
> 
> If I'm understanding /usr/src/UPDATING correct I should first update to 5.5 
> and then to 6.2? Any ideas where I can check this symlink?

In /etc/defaults/rc.conf I find some pathes which are not valid:

ldconfig_local_dirs="/usr/local/libdata/ldconfig /usr/X11R6/libdata/ldconfig"
# Local directories with ldconfig configuration files.
ldconfig_local32_dirs="/usr/local/libdata/ldconfig32 
/usr/X11R6/libdata/ldconfig32"
# Local directories with 32-bit compatibility ldconfig

Is this the problem?


-- 

Regards
Martin 
<[EMAIL PROTECTED]>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpsJnTC6GKD9.pgp
Description: PGP signature


Re: GEOM, Vinum difference

2007-08-21 Thread Rakhesh Sasidharan


Lowell Gilbert wrote:


Rakhesh Sasidharan <[EMAIL PROTECTED]> writes:


I see that if I want to do disk striping/ concating/ mirroring,
FreeBSD offers the GEOM utilities and the Vinum LVM (which fits into
the GEOM architecture). Why do we have two different ways of doing the
same tasks -- any advantages/ disadvantages to either approach?

I did check the archives before posting this question. Got a couple of
hits, but they seem to be old info. Hence this question.

The GEOM utilities seem to be newer, fancier, and probably the
future. Vinum seems to be how things used to happen earlier. After
GEOM was introduced, if Vinum had been discarded, I would have
understood. But it wasn't. Instead, it was rewritten for GEOM and is
probably still actively maintained. So I wonder why we have two ways
of doing the same tasks ...

What I understand from the archives is that Vinum was _probably_
rewritten for GEOM coz the GEOM utilities were still new and not as
time tested as Vinum. Is that the case? So will Vinum continue to be
around for a while or it be discarded?


geom(4) does not provide RAID.  It provides framework services that
are used by gvinum(8), (and by many other disk-related capabilities).


Missed that one! :) There's no geom utility for RAID5, so that's 
definitely a difference. Thanks!


Another (related) question: both gvinum and the geom utilities like 
gmirror and gstripe etc provide for RAID0, RAID1, and RAID3. Any 
advantages/ disadvantages of using one instead of the other?


Thanks,

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


Re: ldconfig problem after upgrade 4.11 to 5.5

2007-08-21 Thread Martin Schweizer
Hello Kris

Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I 
> > get 
> > around 63 error messages while the system boot up:
> > 
> > ldconfig: /var/run/ld.so.hints: No such file or directory
> >   search: trailing characters ignored
> >   No such file or directory
> > 0: - lmalloc.1.1: trailing characters ignored. No such file or 
> > directory
> > ...
> > ...
> > 
> Looks like it might be a broken symlink.
> 
> Why are you updating to 5.5 though?  You should be using 6.2.

If I'm understanding /usr/src/UPDATING correct I should first update to 5.5 
and then to 6.2? Any ideas where I can check this symlink?

-- 

Regards

Martin 
<[EMAIL PROTECTED]>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpsGdimuhshx.pgp
Description: PGP signature


Re: wildcard usage in fetch

2007-08-21 Thread Rakhesh Sasidharan



fetch -avrpAFU ftp://loginid:[EMAIL PROTECTED]/IDX/ActivePhotos/*/*.*

The /*/ directory is 2 positions in size and
contains 00 through 99 as directory names.
The *.* means all files in this directory.

When I execute this I get logged in but get file
not found or not available error message.

Is wildcard usage not allowed in ftp?

How would you suggest to accomplish downloading source file
directory structure and their contents?


You might look into curl.  I know it has some wildcarding capabilities.


I haven't done ftp'ing around in a while. But a long time ago, when I did, 
I used ncftp. That does wildcarding iirc.


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


Re: ldconfig problem after upgrade 4.11 to 5.5

2007-08-21 Thread Kris Kennaway
On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> Hello
> 
> After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I get 
> around 63 error messages while the system boot up:
> 
> ldconfig: /var/run/ld.so.hints: No such file or directory
>   search: trailing characters ignored
>   No such file or directory
> 0: - lmalloc.1.1: trailing characters ignored. No such file or 
> directory
> ...
> ...
> 
> What did I wrong or what did I forget? Any hints are welcome.

Looks like it might be a broken symlink.

Why are you updating to 5.5 though?  You should be using 6.2.

Kris


pgp6AShQ0tBRu.pgp
Description: PGP signature


ldconfig problem after upgrade 4.11 to 5.5

2007-08-21 Thread Martin Schweizer
Hello

After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I get 
around 63 error messages while the system boot up:

ldconfig: /var/run/ld.so.hints: No such file or directory
  search: trailing characters ignored
  No such file or directory
0: - lmalloc.1.1: trailing characters ignored. No such file or 
directory
...
...

What did I wrong or what did I forget? Any hints are welcome.

-- 

Regards

Martin 
<[EMAIL PROTECTED]>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgp25mbMxk7mU.pgp
Description: PGP signature


Re: DJBDNS && IPv6

2007-08-21 Thread Steve Bertrand
> - is there a special way that I need to use tinydns-conf to create a new
> 'server'
> 
> - what should a proper v6 entry look like in the data file
> 
> My research has told me that I should have new 'v6' type binaries in the
> ./bin directory, but I do not see those.

To answer my own question, and to ensure quality in the archive, thanks
to this:

http://tomclegg.net/djbdns-ipv6

I managed to solve my own question.

I had to:

# echo WITH_IPV6=yes >> /etc/make.conf

...and now I have:

-rwxr-xr-x  1 root  wheel  78 Aug 21 20:58 add-alias6
-rwxr-xr-x  1 root  wheel  77 Aug 21 20:58 add-host6

...which is what I was looking for.

I don't know what ramifications leaving this in the /etc/make.conf file
will have on future ports, so if someone can answer that, it would be great!

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


DJBDNS && IPv6

2007-08-21 Thread Steve Bertrand
Hi all,

I am doing some serious testing with IPv6, however I can not get the
name resolution side of things on my DJBDNS DNS servers to work as expected.

On my legacy 4.10 box running BIND, I can resolve v6 addresses
inherently even without v6 enabled in the kernel, but on my
pre-production tinydns boxes (6.2, IPv6 kernel), I can't.

I have installed the port, 'sup'd today on:

FreeBSD 6.2-RELEASE-p6 #0: Wed Jul 18 20:31:03 EDT 2007

...and installed it with the v6 patch in the Makefile turned 'on', but I
can not identify any indication that IPv6 is enabled.

What I'd like to know is:

- is there a special way that I need to use tinydns-conf to create a new
'server'

- what should a proper v6 entry look like in the data file

My research has told me that I should have new 'v6' type binaries in the
./bin directory, but I do not see those.

Any help would be greatly appreciated. I'm sorry if this should be
directed to the djbdns list, however, I know I can compile from source
and get it to work, I just want the port to work for future maintenance
purposes.

Regards,

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


Re: What is a "sane" setting for maxdsize when running amd64? it seems many normal suggestions do not apply.

2007-08-21 Thread Chuck Swiger

On Aug 21, 2007, at 4:54 PM, N. Harrington wrote:
I have seen many posts and suggestions to raise it to 1G. However  
it seems this only applies to
i386. By default, on servers I have with 4G of physical memory, and  
2X that of swap, I am showing
a reported datasize limit of 33554432KB. far in excess of even my  
physical and swap combined!


True...that a big part of what you gain from running in 64-bit mode--  
a huge address space.


 I have seen suggestions from mysql for maxdsize to be set to 1G.  
Obviously no such problem with

amd64?


Right.

 Is this just a high number chosen to let things run wild?  
(basically unlimited) I have been
having some problems with running squid and my servers locking up.  
I think, from the process
exceeding my physical memory and the server getting very unhappy  
trying use so much swap. (since

it seems the process size is so unlimited)


You should configure squid to use no more than about 60 - 70% of the  
available physical RAM-- ie, set the cache_mem parameter to about 2.5  
or 3GB.


 Could anyone help shed some light on this for me? If I have a  
server with 4G of memory, what
would be a safe /sane allowable maximum for datasize? (assuming a  
light networking load)


It wouldn't be unreasonable to limit datasize to 3 GB on such a  
machine, assuming that nothing you run will ever need to grow larger...


--
-Chuck

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


What is a "sane" setting for maxdsize when running amd64? it seems many normal suggestions do not apply.

2007-08-21 Thread N. Harrington

Hello
 I feel stupid, but I am confused about kern.maxdsiz (or datasize via limits 
command) on FreeBSD
amd64.

 I have seen many posts and suggestions to raise it to 1G. However it seems 
this only applies to
i386. By default, on servers I have with 4G of physical memory, and 2X that of 
swap, I am showing
a reported datasize limit of 33554432KB. far in excess of even my physical and 
swap combined!
 I have seen suggestions from mysql for maxdsize to be set to 1G. Obviously no 
such problem with
amd64?
 
 Is this just a high number chosen to let things run wild? (basically 
unlimited) I have been
having some problems with running squid and my servers locking up. I think, 
from the process
exceeding my physical memory and the server getting very unhappy trying use so 
much swap. (since
it seems the process size is so unlimited) 

 Could anyone help shed some light on this for me? If I have a server with 4G 
of memory, what
would be a safe /sane allowable maximum for datasize? (assuming a light 
networking load)

 Thanks!

  Nicole

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


Problem with cardbus cards being recognized in my laptop

2007-08-21 Thread heatonjmark
Hi, folks,

I was wondering if I could get some advice on a problem I'm having getting 
cardbus cards recognized by my laptop (HP zv6000) running FreeBSD 6.2-RELEASE 
0. If I insert a card into the cardbus slot it the insertion is not recognized 
by the system. There is no trace that anything even occurred in dmesg. Likewise 
if I boot with a card inserted there is seemingly no recognition that the card 
is even there. And equally obviously there is no device created to configure 
(in my case an atheros based wlan card). The only trace of it is in dmesg that 
it sees the bus but does not see the card... see snip of dmesg below.
snip-
cbb0:  at device 4.0 on pci3
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0
end 
snip

My kernel is compiled with the following options...
snip--
# PCMCIA and cardbus bridge support
device? cbb # cardbus (yenta) bridge
device? pccard? # PC Card (16-bit) bus
device? cardbus # CardBus (32-bit) bus
end of 
snip-
and just in case, I added the following line to /etc/rc.conf. I don't think 
this entry will help a 32 bit cardbus but I figured It wouldn't hurt since I 
could not find an equivalent for cardbus.

pccard_enable="YES"

I would have assumed a dead slot except that it worked when booted with 
Windows. And even now I can boot from a Linux live cd and see the insertion 
event in dmesg under linux.

Snip of Linux 
dmesg-

[17179744.904000] pccard: CardBus card inserted into slot 0


[17179745.192000] wlan: 0.8.4.2 (0.9.2.1)


[17179745.196000] ath_rate_sample: Unknown symbol ath_hal_computetxtime


[17179745.232000] ath_pci: Unknown symbol ath_rate_tx_complete


[17179745.232000] ath_pci: Unknown symbol _ath_hal_attach


[17179745.232000] ath_pci: Unknown symbol ath_rate_attach


[17179745.232000] ath_pci: Unknown symbol ath_rate_newassoc


[17179745.232000] ath_pci: Unknown symbol ath_hal_computetxtime

End of 
snip

Any suggestions will be greatly appreciated.

Best Regards,
mark h.



Check Out the new free AIM(R) Mail -- Unlimited storage and industry-leading 
spam and email virus protection.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wildcard usage in fetch

2007-08-21 Thread Philip Hallstrom

fetch -avrpAFU ftp://loginid:[EMAIL PROTECTED]/IDX/ActivePhotos/*/*.*

The /*/ directory is 2 positions in size and
contains 00 through 99 as directory names.
The *.* means all files in this directory.

When I execute this I get logged in but get file
not found or not available error message.

Is wildcard usage not allowed in ftp?

How would you suggest to accomplish downloading source file
directory structure and their contents?


You might look into curl.  I know it has some wildcarding capabilities.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


system crash/reset

2007-08-21 Thread Ghirai
Hello list,

I'm running 6.2-RELEASE, with xfce.

Suddenly, everything froze.
Couple seconds after that, the system resets.
I ran fsck and everything seem to be ok.

This is what /var/log/messages looks like right before reset:

Aug 22 01:19:55 deimos kernel: umass0: BBB reset failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB reset failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB reset failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: Opened disk da0 -> 5

And it repeats that numerous times.

I might add that i'm using a 'default' microsoft, 3 button USB mouse, which
doesn't work untill i remove and stick it in again.
I have usbd_enable="YES" and moused_enable="YES" in /etc/rc.conf.

Also, i didn't have any additional media in any of the USB ports (da0 appears 
in /dev when i use a flash drive for example).

System temperature is a non-issue.

Any idea what the problem is?

Thanks.

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


Re: NFS /etc/exports question..

2007-08-21 Thread Adam J Richardson

Glenn Sieb wrote:

I've recently reclaimed a Gentoo server and turned it into a FreeBSD
6.2-RELEASE system (::sounds of cheering::).

This is our file server, using NFS, and I had a question about /etc/exports:





Granted, this wasn't an issue in Linux--I used to have machines listed by
name (*.sub.olddomain.com), and had the exceptions listed with the
no_root_squash parameter.

So, basically.. what am I missing? :-/ Any help would be greatly
appreciated. Google & man 5 exports have not been my friends today :-/

Thanks in advance!
Best,
--Glenn


Hi Glenn,

Have you checked for symlinks? NFS doesn't like symlinks for some 
reason. That held my /etc/exports up for a while.


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


wildcard usage in fetch

2007-08-21 Thread fbsd2


fetch -avrpAFU ftp://loginid:[EMAIL PROTECTED]/IDX/ActivePhotos/*/*.*

The /*/ directory is 2 positions in size and 
contains 00 through 99 as directory names.
The *.* means all files in this directory.

When I execute this I get logged in but get file 
not found or not available error message.

Is wildcard usage not allowed in ftp?

How would you suggest to accomplish downloading source file 
directory structure and their contents?

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


Re: where oh where has my converter stuff gone?

2007-08-21 Thread dgmm
On Tuesday 21 August 2007, Gary Kline wrote:
>   Guys,
>
>   Where does the ps2ascii and related converter files live in
>   ports?  I thought they were part of the distribution, but nope.
>   pdftopdf was one.
>
>   thanks for any clues!
>
>
>   gary

Starting with:

cd /usr/ports && make search name=ps2ascii

leads me to 

Port:   dvips2ascii-1.3
Path:   /usr/ports/print/dvips2ascii
Info:   PostScript (created by dvips) to ascii conve

sounds close, but maybe no cigar so lets have a look at the pkg-descr

cat /usr/ports/print/dvips2ascii/pkg-descr

dvips2ascii
---
This is a PostScript-to-ascii converter which works for PostScript
files created by dvips. Results are usually better than using ps2ascii
which comes with ghostscript.


Bingo!  It's part of ghostscript, unless, of course you find dvips2ascii works 
for you  :-)

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


where oh where has my converter stuff gone?

2007-08-21 Thread Gary Kline

Guys,

Where does the ps2ascii and related converter files live in
ports?  I thought they were part of the distribution, but nope.
pdftopdf was one.  

thanks for any clues!


gary


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

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


Re: Building UNSTRIPPED binaries in ports?

2007-08-21 Thread Herbert J. Skuhra
Dan Mahoney skrev: 
> Hello,
>
> I am encountering a bug with named-9.4.1-P1 that I am attempting to work 
> with ISC on, that I have built from ports (dns/bind94).  However, I need a 
> non-stripped version of the binary to get a backtrace.  I can't "roll my 
> own" binary because it may be related to some way that the port is built 
> so I need to maintain a similar build environment.
>
> Is there some make.conf or compile time flag that I can set that would 
> prevent the stripping from happening?

You can try: 

% cd /usr/ports/dns/bind94
% sudo make WITH_DEBUG=1 install clean
or
% sudo make STRIP="" WITH_DEBUG=1 install clean

In case of dns/bind94 the first should be fine.

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


Re: Building UNSTRIPPED binaries in ports?

2007-08-21 Thread Josh Carroll
> Is there some make.conf or compile time flag that I can set that would
> prevent the stripping from happening?
>
> Or would I just have to manually edit the makefile someplace -- and if so,
> can anyone give a pointer as to where?  Setting the strip command to
> /bin/true or something, perhaps -- but I can't be sure if the
> strip_command is being used.

A quick perusal of /usr/ports/Mk/bsd.port.mk shows this:

# WITH_DEBUG- If set, debugging flags are added to CFLAGS and the
# binaries don't get stripped by INSTALL_PROGRAM.
# Besides, individual ports might add their specific
# to produce binaries for debugging purposes.
# You can override the debug flags that are passed to
# the compiler by setting DEBUG_FLAGS. It is set to
# "-g" at default.

so try adding WITH_DEBUG...

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


Re: NFS /etc/exports question..

2007-08-21 Thread Jonathan Horne
On Tuesday 21 August 2007 14:44:29 Glenn Sieb wrote:
> Hi Jonathan!
>
> Jonathan Horne wrote:
> > On Tuesday 21 August 2007 13:16:54 Glenn Sieb wrote:
> >> /u2 -alldirs...
> >
> > first up, that line negates the need for:
> >
> > /u2/opt/portage  -alldirs
> >
> > alldirs, is all dirs!  anything underneath is then redundant.
>
> Understood. Fixed that.
>
> >> /u2 -alldirs -maproot=root important1.domain.com important2.domain.com
> >
> > probably requires correctly configured DNS or proper entries in the hosts
> > files.  while you are working this problem out, i would eliminate that
> >
> > line, as it might be conflicting with:
> >>/u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0
> >>/u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0
>
> Yes, because this was the question I had originally.. :) How can I make
> sure that I get -maproot=root on those two named boxes, which live inside
> the 127.0.0.0/255 network, while still allowing the rest of the boxes
> present in both other subnets to access the shared *without*
> -maproot=root? The errors I posted were specifically complaining about the
> 127.0.0.0 and 10.0.5.0 network lines (note, for security I am not posting
> the real network ranges).
>
> The two boxes in question, do have working DNS, and are boxes we use as
> our NIS masters, so I need to be able to create home directories on the
> fileserver, where the home directories live, hence needing maproot.
>
> The other boxes in the 127.0.0.0/255 range are other servers in my
> cluster, which need to mount directories from the fileserver--and in my
> case, a lot  of users have sudo capability for testing/development
> purposes, so I don't want them having -maproot=root capability on those
> other servers.
>
> 10.0.5.0 is a range of IPs where my users mount their home directories and
> shared tools directories on their desktop boxes.
>
> Does this clear up my question?
>
> Thanks in advance!
> Best,
> --Glenn


then, probably eliminate just:

>/u2/opt/portage -maproot=root -alldirs -network 127.0.0.0 -mask 255.255.255.0
>/u2/opt/portage -maproot=root -alldirs -network 10.0.5.0 -mask 255.255.255.0

and see what happens.
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: Building UNSTRIPPED binaries in ports?

2007-08-21 Thread Vince Hoffman-Kazlauskas

Dan Mahoney, System Admin wrote:

Hello,

I am encountering a bug with named-9.4.1-P1 that I am attempting to 
work with ISC on, that I have built from ports (dns/bind94).  However, 
I need a non-stripped version of the binary to get a backtrace.  I 
can't "roll my own" binary because it may be related to some way that 
the port is built so I need to maintain a similar build environment.


Is there some make.conf or compile time flag that I can set that would 
prevent the stripping from happening?


Or would I just have to manually edit the makefile someplace -- and if 
so, can anyone give a pointer as to where?  Setting the strip command 
to /bin/true or something, perhaps -- but I can't be sure if the 
strip_command is being used.


I've found references in the porter's handbook that state all binaries 
should be stripped, but I think in cases like this it would be useful 
to give the user a universal option to not do so.


I had a quick dig in /usr/ports/Mk and from bsd.port.mk It looks like 
what you want is

"
# WITH_DEBUG- If set, debugging flags are added to CFLAGS 
and the

# binaries don't get stripped by INSTALL_PROGRAM.
# Besides, individual ports might add their specific
# to produce binaries for debugging purposes.
# You can override the debug flags that are 
passed to

# the compiler by setting DEBUG_FLAGS. It is set to
# "-g" at default
"


Vince



-Dan

--

"Man, this is such a trip"

-Dan Mahoney, October 25, 1997

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

___
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: NFS /etc/exports question..

2007-08-21 Thread Glenn Sieb
Hi Jonathan!

Jonathan Horne wrote:
> On Tuesday 21 August 2007 13:16:54 Glenn Sieb wrote:
>> /u2 -alldirs...
>
> first up, that line negates the need for:
>
> /u2/opt/portage  -alldirs
>
> alldirs, is all dirs!  anything underneath is then redundant.

Understood. Fixed that.

>> /u2 -alldirs -maproot=root important1.domain.com important2.domain.com
>
> probably requires correctly configured DNS or proper entries in the hosts
> files.  while you are working this problem out, i would eliminate that
> line, as it might be conflicting with:
>
>
>>/u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0
>>/u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0

Yes, because this was the question I had originally.. :) How can I make
sure that I get -maproot=root on those two named boxes, which live inside
the 127.0.0.0/255 network, while still allowing the rest of the boxes
present in both other subnets to access the shared *without*
-maproot=root? The errors I posted were specifically complaining about the
127.0.0.0 and 10.0.5.0 network lines (note, for security I am not posting
the real network ranges).

The two boxes in question, do have working DNS, and are boxes we use as
our NIS masters, so I need to be able to create home directories on the
fileserver, where the home directories live, hence needing maproot.

The other boxes in the 127.0.0.0/255 range are other servers in my
cluster, which need to mount directories from the fileserver--and in my
case, a lot  of users have sudo capability for testing/development
purposes, so I don't want them having -maproot=root capability on those
other servers.

10.0.5.0 is a range of IPs where my users mount their home directories and
shared tools directories on their desktop boxes.

Does this clear up my question?

Thanks in advance!
Best,
--Glenn

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


if_bridge and VMware....

2007-08-21 Thread Brian J. McGovern
I'm in the process of doing something that is possibly a bit out of the
ordinary with VMware. I have two stand alone PCs connected to a catalyst 2900
doing 802.1q trunking. I can configure the VLAN interfaces on the stand alone
PCs, assign IP addresses, and communicate happily.

I then add a PC running VMware's free software offering, again set up the
ethernet for 802.1q, and load FreeBSD in to a VM. Like the stand alone
PCs, I can configure the vlan interface, attach it to the "hardware" interface
(lnc0), configure vlan interfaces, assign IPs, and life goes happily on.

However, what I want to do is add another VM to the network, which does not
support 802.1q natively, so thought I could create a host only network, add
the network to the FreeBSD machine and the new VM, and then bridge the VLAN
interface to the new network's "hardware" interface (lnc1).

To test connectivity, I initally assigned an IP to lnc1 of the FreeBSD system,
and an IP to the new VM's ethernet interface. The two systems communicated
fine, so far, so good.

I then rebooted both boxes, configured the "vlan100" interface with:

ifconfig vlan100 create vlan 100 vlandev lnc0
ifconfig vlan100 up

I then changed the mtu of lnc1 to match vlan100, and brought it up:

ifconfig lnc1 mtu 1496
ifconfig lnc1 up

I then created the bridge, and attached the interfaces:

ifconfig bridge0 create
ifconfig bridge0 addm vlan100 addm lnc1
ifconfig bridge0 inet 1.1.1.10 netmask 255.255.255.0 up

The stand alone hosts are 1.1.1.1 and 1.1.1.2. The other VM is 1.1.1.20.

At this point, the FreeBSD system can not ping either the stand alone boxen,
nor the other VM. In playing with it, if I assign an IP address to vlan100,
I can reach the stand alone boxes, but not the other VM.

Running trafshow, I see broadcast ARP requests on bridge0, vlan100, and lnc1,
but no responses.

Any thoughts about what I can look at, or what additional information would be
handy? Quick ASCII art to help the discussion

   +---++
   |   ||
1.1.1.1 1.1.1.2 |
Linux Host/VMWare
|
| vlan100 via lnc0 (MTU 1492)
 FreeBSD 6.2 VM | bridge0 1.1.1.10
| lnc1 (MTU 1492)
|
|
 Test Client VM
 1.1.1.20   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NFS /etc/exports question..

2007-08-21 Thread Jonathan Horne
On Tuesday 21 August 2007 13:16:54 Glenn Sieb wrote:
> /u2 -alldirs...

first up, that line negates the need for:

/u2/opt/portage  -alldirs

alldirs, is all dirs!  anything underneath is then redundant.

> /u2 -alldirs -maproot=root important1.domain.com important2.domain.com

probably requires correctly configured DNS or proper entries in the hosts 
files.  while you are working this problem out, i would eliminate that line, 
as it might be conflicting with:

>/u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0
>/u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0

... either of those lines.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: Configuring mailman with web server different from mail server

2007-08-21 Thread Eric Crist

On Aug 21, 2007, at 11:45 AMAug 21, 2007, Chuck Swiger wrote:


On Aug 20, 2007, at 9:51 PM, Olivier Nicole wrote:

I am trying to install mailman from the ports.

I have different machine for the mail server and the web server and I
am trying to figure if this configuration is workable.

The MTA is sendmail, where could I find configure example?


You can have Mailman use a non-local SMTP server by adjusting the  
Mailman/mm_cfg.py file (see Defaults.py), but it's somewhat  
annoying to do this as you will have to copy over the list aliases  
onto the mailserver, rather than having the newlist command do so  
automagically for you.


I suppose you could do the same for a non-local webserver, but that  
would be even more difficult: you'd almost have to set up  
filesharing between the two machines so that the list archives and  
the various Mailman web resources are available on the webserver.


If you've already got a webserver somewhere that you'd want to use,  
you'd be better off running Mailman on there


Others will probably laugh me off the list, but my recommendation for  
such things is to use the Apache ProxyPass stuff.  My mail server  
here contains all the web interface controls/etc on the mail server  
itself.  My webserver has a simply ProxyPass and ProxyPassReverse  
statement to make it appear as though everything resides on the one  
web server, and thus, one domain.  The advantage to this, as well, is  
there are no direct connections made to my mail server for the web  
interface through the firewall, since everything from outside is  
hitting my dedicated web server.


HTH


-
Eric F Crist
Secure Computing Networks


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


NFS /etc/exports question..

2007-08-21 Thread Glenn Sieb
I've recently reclaimed a Gentoo server and turned it into a FreeBSD
6.2-RELEASE system (::sounds of cheering::).

This is our file server, using NFS, and I had a question about /etc/exports:

We have two subnets we export to--let's call them 127.0.1.0/255 and
10.0.5.0/255:

# /etc/exports: NFS file systems being exported.  See exports(5).
/u2 -alldirs -maproot=root important1.domain.com important2.domain.com
/u2/opt/portage -maproot=root -alldirs -network 127.0.0.0 -mask 255.255.255.0
/u2/opt/portage -maproot=root -alldirs -network 10.0.5.0 -mask 255.255.255.0
/u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0
/u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0
/usr -network 127.0.0.0 -mask 255.255.255.0
/usr -network 10.0.5.0 -mask 255.255.255.0

Now, this configuration does not work. I'm curious how to fix it--the logs
say:

Aug 21 12:29:33 nfsserver mountd[725]: can't change attributes for /u2
Aug 21 12:29:33 nfsserver mountd[725]: bad exports list line /u2 -alldirs
-network 127.0.0.0 -mask 255.255.255.0
Aug 21 12:29:33 nfsserver mountd[725]: can't change attributes for /u2
Aug 21 12:29:33 nfsserver mountd[725]: bad exports list line /u2 -alldirs
-network 10.0.5.0 -mask 255.255.255.0

One thing to note is that important1.domain.com and important2.domain.com
are within the scope of 127.0.0.0/255.

Granted, this wasn't an issue in Linux--I used to have machines listed by
name (*.sub.olddomain.com), and had the exceptions listed with the
no_root_squash parameter.

So, basically.. what am I missing? :-/ Any help would be greatly
appreciated. Google & man 5 exports have not been my friends today :-/

Thanks in advance!
Best,
--Glenn


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


Building UNSTRIPPED binaries in ports?

2007-08-21 Thread Dan Mahoney, System Admin

Hello,

I am encountering a bug with named-9.4.1-P1 that I am attempting to work 
with ISC on, that I have built from ports (dns/bind94).  However, I need a 
non-stripped version of the binary to get a backtrace.  I can't "roll my 
own" binary because it may be related to some way that the port is built 
so I need to maintain a similar build environment.


Is there some make.conf or compile time flag that I can set that would 
prevent the stripping from happening?


Or would I just have to manually edit the makefile someplace -- and if so, 
can anyone give a pointer as to where?  Setting the strip command to 
/bin/true or something, perhaps -- but I can't be sure if the 
strip_command is being used.


I've found references in the porter's handbook that state all binaries 
should be stripped, but I think in cases like this it would be useful to 
give the user a universal option to not do so.


-Dan

--

"Man, this is such a trip"

-Dan Mahoney, October 25, 1997

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: Configuring mailman with web server different from mail server

2007-08-21 Thread Chuck Swiger

On Aug 20, 2007, at 9:51 PM, Olivier Nicole wrote:

I am trying to install mailman from the ports.

I have different machine for the mail server and the web server and I
am trying to figure if this configuration is workable.

The MTA is sendmail, where could I find configure example?


You can have Mailman use a non-local SMTP server by adjusting the  
Mailman/mm_cfg.py file (see Defaults.py), but it's somewhat annoying  
to do this as you will have to copy over the list aliases onto the  
mailserver, rather than having the newlist command do so  
automagically for you.


I suppose you could do the same for a non-local webserver, but that  
would be even more difficult: you'd almost have to set up filesharing  
between the two machines so that the list archives and the various  
Mailman web resources are available on the webserver.


If you've already got a webserver somewhere that you'd want to use,  
you'd be better off running Mailman on there


--
-Chuck

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


Re: isc-dhcp3-server issues with windows 2000 client

2007-08-21 Thread Joe
ok, to answer your questions:

I built it by doing:
cd /usr/ports/net/isc-dhcp3-server && make install

the version = isc-dhcp3-server-3.0.5_2 for both,  could their be code changes 
if the _2 did not change?

it is started via supplied shell script isc-dhcp3, I just renamed to  
isc-dhcp3.sh

I tried setting authoritative on and off in the dhcpd.conf file and that had no 
effect.  

It is almost like dhcpd does not even recognize the packets coming from win2k, 
but WinXP and FreeBSD clients seem okay.   I haven't tried other clients yet 
(Linux / Mac) but do have them.

It is NOT running in a jail.

The weird thing is that if I set IPAutoConfiguration in the win2k registry to 0 
( turning it off ), win2k get the gateway and dhcp server configured, but not 
it's IP address. 

Joe


Olivier Nicole <[EMAIL PROTECTED]> wrote: Hi,

>I have a backup of the old system and am using that to trouble
>shoot.  I have narrowed it down to the dhcpd binary.  If I put in
>the newer binary built with p7 it does not work with windows
>2000.  If I put in the old binary it works fine.

First question would be: how did you build isc-dhcp?

 pkg_info |grep dhcp

Second, is it running? How do you start it?

Third question: was are the version number of old and new dhcp? You
may be facing some change in dhcpd configuration file.

Best regards,

Olivier


   
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: .rar files on K3b

2007-08-21 Thread Eric Crist

On Aug 21, 2007, at 9:23 AMAug 21, 2007, [EMAIL PROTECTED] wrote:


  Dear Sirs


  I've downloaded a .rar audio file other day but I don't
get to fix it on K3b. My machine is amd64 and runs FreeBSD-6.1-Release
amd64


RAR is a method of compression, not an audio format.  Try installing  
the rar archive utility from /usr/ports/archivers/rar and using unrar  
to decompress the file in question.


HTH
-
Eric F Crist
Secure Computing Networks


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


Re: Trying to move /usr SOLVED

2007-08-21 Thread Michael S
As I posted previously, removing /home (which defaults
as a link to /usr/home) and putting it back, this time
as a directory did the trick.
I read it in Greg Lehey's book.

Thanks for your help Derek

--- Derek Ragona <[EMAIL PROTECTED]>
wrote:

> At 07:17 PM 8/20/2007, Michael S wrote:
> >I tried changing the /home entry in the fstab to
> >/usr/home, but the result is the same.
> >And when I go to /home or /usr/home, issuing ls,
> >simply gives me the prompt.
> 
> Does the mount succeed?  On the new /usr does home
> actually mount?
> 
>  -Derek
> 
> 
> 
> >Michael
> ><--- Derek Ragona <[EMAIL PROTECTED]>
> >wrote:
> >
> > > At 06:47 PM 8/20/2007, Michael S wrote:
> > > >Right now things are set up the old way and
> here's
> > > >what the mount command says:
> > > >
> > > >/dev/da0s1a on / (ufs, local)
> > > >devfs on /dev (devfs, local)
> > > >/dev/da0s1e on /tmp (ufs, local, soft-updates)
> > > >/dev/da0s1f on /usr (ufs, local, soft-updates)
> > > >/dev/da0s1d on /var (ufs, local, soft-updates)
> > > >/dev/da1s1d on /usr/home (ufs, local,
> soft-updates)
> > > >/dev/da2s1d on /user (ufs, local, soft-updates)
> > > >
> > > >
> > > >Should I change my entry for /home, and make it
> > > >/usr/home ?
> > >
> > >  From your last note, it looked like home is
> > > /usr/home.  That is why I
> > > suggested you do:
> > > # mount
> > > and check how home is really mounted.  If it is
> > > /usr/home that would
> > > explain the trouble you had using your new /usr.
> > >
> > >  -Derek
> > >
> > >
> > >
> > > >--- Derek Ragona
> <[EMAIL PROTECTED]>
> > > >wrote:
> > > >
> > > > > At 06:28 PM 8/20/2007, Michael S wrote:
> > > > > >Here's df -k output:
> > > > > >
> > > > > >Filesystem  1K-blocks UsedAvail
> > > Capacity
> > > > > >Mounted on
> > > > > >/dev/da0s1a50763085046   381974   
> 18%
> > >   /
> > > > > >devfs   110  
> 100%
> > > > > /dev
> > > > > >/dev/da0s1e495726   10   456058
> 0%
> > > > > /tmp
> > > > > >/dev/da0s1f   3733038  2869704   564692   
> 84%
> > > > > >/user
> > > > > >/dev/da0s1d495726   110700   345368   
> 24%
> > > > > /var
> > > > > >/dev/da1s1d  68431992 27948332 35009102   
> 44%
> > > > > >/usr/home
> > > > > >/dev/da2s1d  17213408  2882922 12953414   
> 18%
> > > > > /usr
> > > > > >
> > > > > >When I go back to the old /usr by editing
> > > fstab:
> > > > > >/dev/da0s1b none   
> swap
> > > sw
> > > > > >  0   0
> > > > > >/dev/da1s1b none   
> swap
> > > sw
> > > > > >  0   0
> > > > > >/dev/da0s1a /   ufs
> > > rw
> > > > > >  1   1
> > > > > >/dev/da0s1e /tmpufs
> > > rw
> > > > > >  2   2
> > > > > >/dev/da0s1f /usrufs
> > > rw
> > > > > >  2   2
> > > > > >/dev/da0s1d /varufs
> > > rw
> > > > > >  2   2
> > > > > >/dev/da1s1d /home   ufs
> > > rw
> > > > > >  2   2
> > > > > >/dev/da2s1d /user   ufs
> > > rw
> > > > > >  2   2
> > > > > >/dev/acd0   /cdrom 
> cd9660
> > > > > >ro,noauto   0
> > > > > >
> > > > > >I get into my home directory with no
> problem.
> > > > >
> > > > > You need to adjust not just the /usr and
> /user
> > > but
> > > > > also /usr/home entries
> > > > > in fstab.  Before you make any changes, do
> just
> > > a
> > > > > mount command and see
> > > > > where things are mounted.
> > > > >
> > > > >  -Derek
> > > > >
> > > > > --
> > > > > This message has been scanned for viruses
> and
> > > > > dangerous content by MailScanner, and is
> > > > > believed to be clean.
> > > > > MailScanner thanks transtec Computers for
> their
> > > > > support.
> > > > >
> > > > >
> ___
> > > > > freebsd-questions@freebsd.org mailing list
> > > > >
> > >
> >
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > To unsubscribe, send any mail to
> > > > > "[EMAIL PROTECTED]"
> > > > >
> > > >
> > > >___
> > > >freebsd-questions@freebsd.org mailing list
> > >
> >
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > >To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > > >
> > > >--
> > > >This message has been scanned for viruses and
> > > >dangerous content by MailScanner, and is
> > > >believed to be clean.
> > > >MailScanner thanks transtec Computers for their
> > > support.
> > >
> > > --
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > > MailScanner thanks transtec Computers for their
> > > support.
> > >
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > >
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > T

RE: Trying to move /usr

2007-08-21 Thread Lisandro Grullon




> Date: Tue, 21 Aug 2007 10:20:54 -0400> From: [EMAIL PROTECTED]> To: [EMAIL 
> PROTECTED]> CC: [EMAIL PROTECTED]; freebsd-questions@freebsd.org> Subject: 
> Re: Trying to move /usr> > On Mon, Aug 20, 2007 at 08:23:04PM -0400, Michael 
> S wrote:> > > Jerry,> > > > I am sure, because I did it multiple times.> > As 
> soon as I mount the old /usr (the one on the> > smaller drive) I log on into 
> my home directory no> > problem.> > What does /etc/passwd have for the id 
> michael 's home directory?> 
 
it would be interesting to see the output of "cat /etc/passwd |grep michael"  
or whatever username you give him.
> I am running out of things to check. It is hard to think> of this stuff 
> remotely and picture it all in piecemeal.> > jerry> > > > > Michael> > > 
> > --- Jerry McAllister <[EMAIL PROTECTED]> wrote:> > > > > On Mon, Aug 20, 
> 2007 at 07:47:29PM -0400, Michael S> > > wrote:> > > > > > > Right now things 
> are set up the old way and here's> > > > what the mount command says:> > > > 
> > > > > /dev/da0s1a on / (ufs, local)> > > > devfs on /dev (devfs, local)> > 
> > > /dev/da0s1e on /tmp (ufs, local, soft-updates)> > > > /dev/da0s1f on /usr 
> (ufs, local, soft-updates)> > > > /dev/da0s1d on /var (ufs, local, 
> soft-updates)> > > > /dev/da1s1d on /usr/home (ufs, local,> > > 
> soft-updates)> > > > /dev/da2s1d on /user (ufs, local, soft-updates)> > > > > 
> > > > > > > > Should I change my entry for /home, and make it> > > > 
> /usr/home ?> > > > > > Well, since login was looking for your (michael)> > > 
> home directory> > > in /home/michael, than that is probably the way you> > > 
> had it and> > > want it to be. But, maybe I am remembering what> > > you 
> posted before> > > wrong.> > > > > > Anyway, that is certainly mounting that 
> partition as> > > /usr/home.> > > Are you sure you didn't edit that or get 
> your> > > fstab-s swapped > > > around?> > > > > > jerry> > > > > > > > > 
> > > > > > > --- Derek Ragona <[EMAIL PROTECTED]>> > > > wrote:> > > > > > > > 
> > At 06:28 PM 8/20/2007, Michael S wrote:> > > > > >Here's df -k output:> > > 
> > > >> > > > > >Filesystem 1K-blocks Used Avail> > > Capacity> > > > > 
> >Mounted on> > > > > >/dev/da0s1a 507630 85046 381974 18% > > > /> > > > > 
> >devfs 1 1 0 100% > > > > > > > > /dev> > > > > >/dev/da0s1e 495726 10 456058 
> 0% > > > > > > > > /tmp> > > > > >/dev/da0s1f 3733038 2869704 564692 84%> > > 
> > > >/user> > > > > >/dev/da0s1d 495726 110700 345368 24% > > > > > > > > 
> /var> > > > > >/dev/da1s1d 68431992 27948332 35009102 44%> > > > > 
> >/usr/home> > > > > >/dev/da2s1d 17213408 2882922 12953414 18% > > > > > > > 
> > /usr> > > > > >> > > > > >When I go back to the old /usr by editing> > > 
> fstab:> > > > > >/dev/da0s1b none swap > > > sw> > > > > > 0 0> > > > > 
> >/dev/da1s1b none swap > > > sw> > > > > > 0 0> > > > > >/dev/da0s1a / ufs > 
> > > rw> > > > > > 1 1> > > > > >/dev/da0s1e /tmp ufs > > > rw> > > > > > 2 2> 
> > > > > >/dev/da0s1f /usr ufs > > > rw> > > > > > 2 2> > > > > >/dev/da0s1d 
> /var ufs > > > rw> > > > > > 2 2> > > > > >/dev/da1s1d /home ufs > > > rw> > 
> > > > > 2 2> > > > > >/dev/da2s1d /user ufs > > > rw> > > > > > 2 2> > > > > 
> >/dev/acd0 /cdrom cd9660> > > > > >ro,noauto 0> > > > > >> > > > > >I get 
> into my home directory with no problem.> > > > > > > > > > You need to adjust 
> not just the /usr and /user> > > but> > > > > also /usr/home entries > > > > 
> > in fstab. Before you make any changes, do just> > > a> > > > > mount 
> command and see > > > > > where things are mounted.> > > > > > > > > > 
> -Derek> > > > > > > > > > -- > > > > > This message has been scanned for 
> viruses and> > > > > dangerous content by MailScanner, and is> > > > > 
> believed to be clean.> > > > > MailScanner thanks transtec Computers for 
> their> > > > > support.> > > > > > > > > > 
> ___> > > > > 
> freebsd-questions@freebsd.org mailing list> > > > >> > > >> > >> > 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions> > > > > To 
> unsubscribe, send any mail to> > > > > "[EMAIL PROTECTED]"> > > > > > > > > > 
> > > > ___> > > > 
> 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]"
_
Recharge--play some free games. Win cool prizes too

Re: Trying to move /usr

2007-08-21 Thread Derek Ragona

At 07:17 PM 8/20/2007, Michael S wrote:

I tried changing the /home entry in the fstab to
/usr/home, but the result is the same.
And when I go to /home or /usr/home, issuing ls,
simply gives me the prompt.


Does the mount succeed?  On the new /usr does home actually mount?

-Derek




Michael
<--- Derek Ragona <[EMAIL PROTECTED]>
wrote:

> At 06:47 PM 8/20/2007, Michael S wrote:
> >Right now things are set up the old way and here's
> >what the mount command says:
> >
> >/dev/da0s1a on / (ufs, local)
> >devfs on /dev (devfs, local)
> >/dev/da0s1e on /tmp (ufs, local, soft-updates)
> >/dev/da0s1f on /usr (ufs, local, soft-updates)
> >/dev/da0s1d on /var (ufs, local, soft-updates)
> >/dev/da1s1d on /usr/home (ufs, local, soft-updates)
> >/dev/da2s1d on /user (ufs, local, soft-updates)
> >
> >
> >Should I change my entry for /home, and make it
> >/usr/home ?
>
>  From your last note, it looked like home is
> /usr/home.  That is why I
> suggested you do:
> # mount
> and check how home is really mounted.  If it is
> /usr/home that would
> explain the trouble you had using your new /usr.
>
>  -Derek
>
>
>
> >--- Derek Ragona <[EMAIL PROTECTED]>
> >wrote:
> >
> > > At 06:28 PM 8/20/2007, Michael S wrote:
> > > >Here's df -k output:
> > > >
> > > >Filesystem  1K-blocks UsedAvail
> Capacity
> > > >Mounted on
> > > >/dev/da0s1a50763085046   38197418%
>   /
> > > >devfs   110   100%
> > > /dev
> > > >/dev/da0s1e495726   10   456058 0%
> > > /tmp
> > > >/dev/da0s1f   3733038  2869704   56469284%
> > > >/user
> > > >/dev/da0s1d495726   110700   34536824%
> > > /var
> > > >/dev/da1s1d  68431992 27948332 3500910244%
> > > >/usr/home
> > > >/dev/da2s1d  17213408  2882922 1295341418%
> > > /usr
> > > >
> > > >When I go back to the old /usr by editing
> fstab:
> > > >/dev/da0s1b noneswap
> sw
> > > >  0   0
> > > >/dev/da1s1b noneswap
> sw
> > > >  0   0
> > > >/dev/da0s1a /   ufs
> rw
> > > >  1   1
> > > >/dev/da0s1e /tmpufs
> rw
> > > >  2   2
> > > >/dev/da0s1f /usrufs
> rw
> > > >  2   2
> > > >/dev/da0s1d /varufs
> rw
> > > >  2   2
> > > >/dev/da1s1d /home   ufs
> rw
> > > >  2   2
> > > >/dev/da2s1d /user   ufs
> rw
> > > >  2   2
> > > >/dev/acd0   /cdrom  cd9660
> > > >ro,noauto   0
> > > >
> > > >I get into my home directory with no problem.
> > >
> > > You need to adjust not just the /usr and /user
> but
> > > also /usr/home entries
> > > in fstab.  Before you make any changes, do just
> a
> > > mount command and see
> > > where things are mounted.
> > >
> > >  -Derek
> > >
> > > --
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > > MailScanner thanks transtec Computers for their
> > > support.
> > >
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > >
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > >
> >
> >___
> >freebsd-questions@freebsd.org mailing list
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> >--
> >This message has been scanned for viruses and
> >dangerous content by MailScanner, and is
> >believed to be clean.
> >MailScanner thanks transtec Computers for their
> support.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner thanks transtec Computers for their
> support.
>
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


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


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

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


Re: Trying to move /usr

2007-08-21 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 08:23:04PM -0400, Michael S wrote:

> Jerry,
> 
> I am sure, because I did it multiple times.
> As soon as I mount the old /usr (the one on the
> smaller drive) I log on into my home directory no
> problem.

What does /etc/passwd have for the id michael 's home directory?

I am running out of things to check.  It is hard to think
of this stuff remotely and picture it all in piecemeal.

jerry

> 
> Michael
> 
> --- Jerry McAllister <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, Aug 20, 2007 at 07:47:29PM -0400, Michael S
> > wrote:
> > 
> > > Right now things are set up the old way and here's
> > > what the mount command says:
> > > 
> > > /dev/da0s1a on / (ufs, local)
> > > devfs on /dev (devfs, local)
> > > /dev/da0s1e on /tmp (ufs, local, soft-updates)
> > > /dev/da0s1f on /usr (ufs, local, soft-updates)
> > > /dev/da0s1d on /var (ufs, local, soft-updates)
> > > /dev/da1s1d on /usr/home (ufs, local,
> > soft-updates)
> > > /dev/da2s1d on /user (ufs, local, soft-updates)
> > > 
> > > 
> > > Should I change my entry for /home, and make it
> > > /usr/home ?
> > 
> > Well, since login was looking for your (michael)
> > home directory
> > in /home/michael, than that is probably the way you
> > had it and
> > want it to be.   But, maybe I am remembering what
> > you posted before
> > wrong.
> > 
> > Anyway, that is certainly mounting that partition as
> > /usr/home.
> > Are you sure you didn't edit that or get your
> > fstab-s swapped 
> > around?
> > 
> > jerry
> > 
> > > 
> > > 
> > > --- Derek Ragona <[EMAIL PROTECTED]>
> > > wrote:
> > > 
> > > > At 06:28 PM 8/20/2007, Michael S wrote:
> > > > >Here's df -k output:
> > > > >
> > > > >Filesystem  1K-blocks UsedAvail
> > Capacity
> > > > >Mounted on
> > > > >/dev/da0s1a50763085046   38197418% 
> >   /
> > > > >devfs   110   100% 
> >  
> > > > /dev
> > > > >/dev/da0s1e495726   10   456058 0% 
> >  
> > > > /tmp
> > > > >/dev/da0s1f   3733038  2869704   56469284%
> > > > >/user
> > > > >/dev/da0s1d495726   110700   34536824% 
> >  
> > > > /var
> > > > >/dev/da1s1d  68431992 27948332 3500910244%
> > > > >/usr/home
> > > > >/dev/da2s1d  17213408  2882922 1295341418% 
> >  
> > > > /usr
> > > > >
> > > > >When I go back to the old /usr by editing
> > fstab:
> > > > >/dev/da0s1b noneswap   
> > sw
> > > > >  0   0
> > > > >/dev/da1s1b noneswap   
> > sw
> > > > >  0   0
> > > > >/dev/da0s1a /   ufs
> > rw
> > > > >  1   1
> > > > >/dev/da0s1e /tmpufs
> > rw
> > > > >  2   2
> > > > >/dev/da0s1f /usrufs
> > rw
> > > > >  2   2
> > > > >/dev/da0s1d /varufs
> > rw
> > > > >  2   2
> > > > >/dev/da1s1d /home   ufs
> > rw
> > > > >  2   2
> > > > >/dev/da2s1d /user   ufs
> > rw
> > > > >  2   2
> > > > >/dev/acd0   /cdrom  cd9660
> > > > >ro,noauto   0
> > > > >
> > > > >I get into my home directory with no problem.
> > > > 
> > > > You need to adjust not just the /usr and /user
> > but
> > > > also /usr/home entries 
> > > > in fstab.  Before you make any changes, do just
> > a
> > > > mount command and see 
> > > > where things are mounted.
> > > > 
> > > >  -Derek
> > > > 
> > > > -- 
> > > > This message has been scanned for viruses and
> > > > dangerous content by MailScanner, and is
> > > > believed to be clean.
> > > > MailScanner thanks transtec Computers for their
> > > > support.
> > > > 
> > > > ___
> > > > freebsd-questions@freebsd.org mailing list
> > > >
> > >
> >
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to
> > > > "[EMAIL PROTECTED]"
> > > > 
> > > 
> > > ___
> > > 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]"


Re: Trying to move /usr

2007-08-21 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 10:50:09PM -0400, Vinny wrote:

> Michael S wrote:
> >I reverted to the old /usr.
> >What I had done:
> >Initially I set up the newly installed drive (da2)
> >to have only one partition (da2s1d) which I chose to
> >be /user (note the e).
> >I tarred /usr to a file in /user
> >tar -cf /user/usr.tar /tar
> >
> >and extracted the file
> >tar -xf usr.tar
> >I had the whole structure of /usr underneath /user/usr
> >
> >And then
> >cd usr
> >mv * ..
> >
> >to have everything under /user
> >
> 
> After thinking about that mv command, I have come to the
> conclusion that /dev/da2s1d does not in fact contain
> a /usr directory structure and if mounted will be
> empty.  Why?
> 
> Note /dev/ad8s1e is an empty partition (a new disk,
> if you will on my system that I will in this demonstration).
> 
> Also, I'll use user and usrdemo as the names of the user and usr
> directories that Michael is using, respectively.  I don't want
> to overwrite my own usr directory needlessly.
> 
> Observe:
> 
> Create a mount point and mount the disk
> t# cd /
> t# mkdir user
> t# mount -t ufs /dev/ad8s1e /user
> 
> t# pwd
> /user
> t# mkdir -p usrdemo/path
> 
> Check our partition (there is a dot (.)after the df command,
> look closely):
> 
> t# df .
> Filesystem  1K-blocks Used  Avail Capacity  Mounted on
> /dev/ad8s1e5076306 467014 0%/user
> 
> Create a file for no reason.
> 
> t# touch usrdemo/path/file.txt
> t# cd /
> t# ls -laR /user
> total 6
> drwxrwxrwt   3 root  wheel   512 Aug 20 22:05 .
> drwxr-xr-x  26 root  wheel  1024 Aug 20 21:59 ..
> drwxr-xr-x   3 root  wheel   512 Aug 20 22:05 usrdemo

Try using the 'F' flag on ls.   It will make it clear when
you are looking at a directory name and when it is a regular file
and when it is a link.

It makes thing easier to follow. 
Actually, I normally alias 'ls'  to  'ls -F' in my .cshrc to
make it that way all the time.

jerry

> 
> /user/usrdemo:
> total 6
> drwxr-xr-x  3 root  wheel  512 Aug 20 22:05 .
> drwxrwxrwt  3 root  wheel  512 Aug 20 22:05 ..
> drwxr-xr-x  2 root  wheel  512 Aug 20 22:05 path
> 
> /user/usrdemo/path:
> total 4
> drwxr-xr-x  2 root  wheel  512 Aug 20 22:05 .
> drwxr-xr-x  3 root  wheel  512 Aug 20 22:05 ..
> -rw-r--r--  1 root  wheel0 Aug 20 22:05 file.txt
> t# cd /user
> 
> Let's look at what file system we're on again:
> 
> t# df .
> Filesystem  1K-blocks Used  Avail Capacity  Mounted on
> /dev/ad8s1e5076306 467014 0%/user
> 
> Still on the new drive.
> 
> Now that we're in the /user directory let us try, as Michael
> says "to have everything under /user".  Right idea, but mv is not
> the tool in this case: The next command causes much trouble:
> 
> t# mv * ..
> 
> will in fact move the contents of /user to the parent directory
> which is in fact /, the root of the file system.
> 
> There is nothing left in /user:
> t# pwd
> /user
> 
> t# ls -la
> total 4
> drwxrwxrwt   2 root  wheel  512 Aug 20 22:06 .
> drwxr-xr-x  27 root  wheel  512 Aug 20 22:06 ..
> 
> If we change directory to the .. directory target (the same target as
> the mv command) we'll see the usrdemo directory.
> 
> t# cd ..
> t# ls
> .cshrc  compat  lib procusb
> .profiledev libexec rescue  usr
> .snap   distmedia   rootusrdemo
> COPYRIGHT   dvdrom  mnd sbinvar
> bin entropy mnt sdvd
> bootetc usersys
> cdrom   homeportabletmp
> 
> If we change to it and check our file system:
> 
> t# cd usrdemo/path/
> t# ls
> file.txt
> t# df .
> Filesystem  1K-blocks  Used  Avail Capacity  Mounted on
> /dev/ad4s1a507630 99704 36731621%/
> 
> We find it now sitting as a directory the / root partition!
> In Michael's case it would be sitting on the old /usr
> partition.  Definitely not what we wanted.
> 
> So what has happened is that the mv * command with Michael's
> usr directory actually overwrote the current /usr directory
> with the contents of the tar archive.  Seems like a no-op but
> there could be symbolic link issues, i.e. /usr/home -> /home.
> 
> I hope that is semi-coherent.
> 
> What you probably want to do to replace a /usr partition is
> something like this:
> 
> cd /
> mkdir user
> mount -t ufs /dev/da2s1d /user
> cd /usr
> pax -rw -pe . /user
> 
> pax is like tar. -rw means to read (r) from the source (.)
> and write (w) to the destination (/user).  -pe means to
> preserve everything (permissions, ownership etc).
> 
> Having done that, you now have a duplicate usr directory
> structure "under" /user i.e. /user/bin /user/lib and so on.
> 
> Now you can switch the fstab entries like you planned,
> reboot, and you should have replaced /usr with the
> new drive.
> 
> Hope this helps, although you may have some issues
> in the future due to any unintended consequences
> of th

connection with pptp

2007-08-21 Thread RJ45



Hello,
I ma trying to configure FreeBSD 5.4 to connect
to relakks vpn

I installed pptp

here is the ppp.conf

relakks:
set timeout 0
set log phase chat connect lcp ipcp command
set authname ***
set authkey *
set dial
set login
add default HISADDR
disable pap
disable ipv6cp
enable proxy
accept dns
enable MSChapV2
enable mppe
set mppe 128


but it does not work


Aug 21 16:25:11 sauron pptp[4055]: anon log[main:pptp.c:276]: The 
synchronous pptp option is NOT activated
Aug 21 16:25:11 sauron pptp[4058]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 1 'Start-Control-Connection-Request'
Aug 21 16:25:11 sauron pptp[4058]: anon log[ctrlp_disp:pptp_ctrl.c:740]: 
Received Start Control Connection Reply
Aug 21 16:25:11 sauron pptp[4058]: anon log[ctrlp_disp:pptp_ctrl.c:774]: 
Client connection established.
Aug 21 16:25:12 sauron pptp[4058]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 7 'Outgoing-Call-Request'
Aug 21 16:25:12 sauron pptp[4058]: anon log[ctrlp_disp:pptp_ctrl.c:859]: 
Received Outgoing Call Reply.
Aug 21 16:25:12 sauron pptp[4058]: anon log[ctrlp_disp:pptp_ctrl.c:898]: 
Outgoing call established (call ID 0, peer's call ID 25600).
Aug 21 16:25:17 sauron pptp[4059]: anon warn[decaps_hdlc:pptp_gre.c:197]: 
short read (0): Invalid argument
Aug 21 16:25:17 sauron pptp[4058]: anon 
log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
Aug 21 16:25:17 sauron pptp[4058]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 12 'Call-Clear-Request'
Aug 21 16:25:17 sauron pptp[4058]: anon 
log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)



any clue how I can get it working ?


relakks it is a standard pptp mschapv2 mppe 128 bit connection
working on Ubuntu, Gentoo, Windows, Mac OS X

thanks

Rick

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


.rar files on K3b

2007-08-21 Thread luizbcampos
  Dear Sirs


  I've downloaded a .rar audio file other day but I don't
get to fix it on K3b. My machine is amd64 and runs FreeBSD-6.1-Release
amd64


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


Re: GEOM, Vinum difference

2007-08-21 Thread Lowell Gilbert
Rakhesh Sasidharan <[EMAIL PROTECTED]> writes:

> I see that if I want to do disk striping/ concating/ mirroring,
> FreeBSD offers the GEOM utilities and the Vinum LVM (which fits into
> the GEOM architecture). Why do we have two different ways of doing the
> same tasks -- any advantages/ disadvantages to either approach?
>
> I did check the archives before posting this question. Got a couple of
> hits, but they seem to be old info. Hence this question.
>
> The GEOM utilities seem to be newer, fancier, and probably the
> future. Vinum seems to be how things used to happen earlier. After
> GEOM was introduced, if Vinum had been discarded, I would have
> understood. But it wasn't. Instead, it was rewritten for GEOM and is
> probably still actively maintained. So I wonder why we have two ways
> of doing the same tasks ...
>
> What I understand from the archives is that Vinum was _probably_
> rewritten for GEOM coz the GEOM utilities were still new and not as
> time tested as Vinum. Is that the case? So will Vinum continue to be
> around for a while or it be discarded?

geom(4) does not provide RAID.  It provides framework services that
are used by gvinum(8), (and by many other disk-related capabilities).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: READ_DMA Error

2007-08-21 Thread Tamouh H.
> 
> Hi all,
> 
> During FreeBSD 6.2 installation, the process failed because 
> of errors like the one below:
> READ_DMA UDMA  ICRC error LBA=37505132
> 
> I managed to install by setting hw.ata.ata_dma=0 at boot time 
> but the same errors occur after installation and at boot time 
> so I had to put hw.ata.ata_dma=0 in loader.conf and now the 
> system is working.
> 
> I checked my hard disk which a 80GB Western Digital+ 
> thoroughly and there were no errors reported (using fsck in 
> single user mode). Also I used to install Fedora Linux on 
> this disk without any problems.
> 
> It looks that disabling DMA caused my disk to work with lower 
> performance. Am I right? If yes, are there any solutions to 
> eliminate those READ_DMA errors while DMA is enabled?
> 
> Thanks in advance,
> Bahman
> 
> PS:
> Motherboard: ASUS A7V8X-X
> CPU: Athlon XP 2500 at 1833MHz
> $ uname -ai
> FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27
> UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
>  i386 GENERIC

Typically, I've seen the READ_DMA error when a hard drive is going bad or 
something wrong with the hardware (power supply is failing). But it could be as 
you've described. 

Tamouh


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


Re: SAS (serial attached SCSI)

2007-08-21 Thread Grant Peel
Hi Jon,

I have been using two Dell SAS (Seial Attached SCSI) for about a year now, and 
have no issues thus far.

They both use the 'da' driver and from my standpoint, there seems to be no 
difference between then (Standard SCSI and SAS).

I am running FreeBSD 6.1 and 6.2

-Grant
  - Original Message - 
  From: Jonathan Horne 
  To: freebsd-questions@freebsd.org 
  Sent: Monday, August 20, 2007 5:04 PM
  Subject: SAS (serial attached SCSI)


  anyone running any SAS with FreeBSD?

  i have a client who is needing a new server, and everything in their 
  pricerange is comming with SAS now, instead of standard SCSI. the company 
  president is an old timer, and only knows the word "SCSI" :)

  other than telling him "well this is the new SCSI", i am wondering if anyone 
  else is successfully using this technology thus far.

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

--
Total Control Panel  Login  
To: [EMAIL PROTECTED]  Block messages from this sender (blacklist)  
From: [EMAIL PROTECTED]  Remove this sender from my whitelist  
  
You received this message because the sender is on your whitelist.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-21 Thread Lisandro Grullon
I think it may be a problem there, do you have any how to for that 
configuration, in case I can double check. Off course besides the info provide 
at openldap.org. Thanks in advance.

> Date: Tue, 21 Aug 2007 08:38:55 +0700> From: [EMAIL PROTECTED]> To: [EMAIL 
> PROTECTED]> CC: freebsd-questions@freebsd.org> Subject: Re: Configuring 
> OpenLDAP on FreeBSD 6.2 Release, Problems.> > > I am a newcomer to the 
> FreeBSD world. I am trying to implement a> > openLDAP installation. It all 
> went ok with the SASL and SERVER> > install in conjunction with BDB, yet when 
> I try starting the service> > using "/usr/local/libexec/slapd" or 
> "/usr/local/etc/rc.d/slapd> > start", the service does not start. I checked 
> "ps -axww | grep> > slapd" and nothing is showing. After checking "cat> > 
> /var/log/debug.log" I can see the following output in stdout.> > > > Beside 
> enabling slapd in /etc/rc.conf, did you configure openldad in> 
> /usr/local/etc/openldad? I doubt it will start before you configure it> 
> properly.> > Best regards,> > Olivier> 
> ___> 
> freebsd-questions@freebsd.org mailing list> 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions> To unsubscribe, 
> send any mail to "[EMAIL PROTECTED]"
_
See what you’re getting into…before you go there
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


READ_DMA Error

2007-08-21 Thread Bahman M.
Hi all,

During FreeBSD 6.2 installation, the process failed because of errors
like the one below:
READ_DMA UDMA  ICRC error LBA=37505132

I managed to install by setting hw.ata.ata_dma=0 at boot time but the
same errors occur after installation and at boot time so I had to put
hw.ata.ata_dma=0 in loader.conf and now the system is working.

I checked my hard disk which a 80GB Western Digital+ thoroughly and
there were no errors reported (using fsck in single user mode). Also I
used to install Fedora Linux on this disk without any problems.

It looks that disabling DMA caused my disk to work with lower
performance. Am I right? If yes, are there any solutions to eliminate
those READ_DMA errors while DMA is enabled?

Thanks in advance,
Bahman

PS:
Motherboard: ASUS A7V8X-X
CPU: Athlon XP 2500 at 1833MHz
$ uname -ai
FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386 GENERIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NFS export subdirs on different file systems?

2007-08-21 Thread Rakhesh Sasidharan


Pieter de Goeje wrote:


On Tuesday 21 August 2007, Rakhesh Sasidharan wrote:

I have a directory /net/store. This directory is exported to all machines
on my network.

I have a sub-directory /net/store/photos. That too is exported to all
machines on my network.

What I want is that when I mount /net/store from another machine, the
contents of /net/store/photos too be visible. Is there any way I can do
that?

From the manpage and the handbook and Google etc I get the idea that it
might not be possible. Still, asking just in case there are any
round-about ways ... I would assume a scenario like this is common.


Forgot to add: the two directories are imported "dynamically" on the
client side. So I can't just make fstab entries on the client side to
mount both points. I use AMD to mount /net/store when needed. And I can't
for the life of me figure how to make it mount /net/store/photos too when
needed -- I dont think that's possible(?) ...

I have that configuration working.
In /etc/exports:
/pub-alldirsclient
/pub/video -alldirs client
On the client side, I didn't change anything to the configuration of AMD.
Simply cd'ing to /host/server/pub and then 'cd video' does the right thing. I
don't think -alldirs is really needed, but it's there for convenience.


Thanks Pieter. The default configuration mounts *all* the exported 
filesystems from host. Which should be fine, just that I don't want it 
that way (and I like complicating matters, I guess! :p).


Using the default way, I can access the exported filesystems as 
/host/server/net/store[/photos] -- which is not what I want. Rather, I 
want to 
access the exported /net/store[/photos] filesystems under the 
/net/store[/photos] mount points of the client -- and I don't want any 
other exported file systems in there either. Kind of like the "host" type 
amd filesystem, but only for a specific branch.


This is something I did come up with:

-8<-
/defaults   host!=obelix;type:=nfsopts:=rw,intr,grpid,nosuid
store   type:=auto;fs:=${map};pref:=${key}/
store/* type:=nfs;rhost:=obelix;rfs:=${path}
-8<-

It does what I want -- /net/store/[anything] is mounted from the remote 
host (obelix) -- only problem (and the reason why I didnt go ahead with 
this) being that there's no way to see what all directories are available 
under /net/store. If do a "cd /net/store/music" it will work well; but if 
you do an "ls /net/store" it won't mount "/net/store" and show me what 
subdirs are available. And the "browseable_dirs" option in "amd.conf" does 
not help either coz its an "auto" type filesystem.


I had forgotten about the "host" filesystem type (the default). So thanks 
for pointing it out. Let me see if I can twiddle around and find a 
workaround. :)


Regards,

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


Re: Minimal gateway hardware configuration

2007-08-21 Thread Bahman M.
> Note: You need two LAN cards:  One for the outside connection and one
> to your internal network.  (You probably already know that, but since you
> referred to 'LAN Card' in the singular I thought I should mention it
> anyway.)
>
Yes, the machine has 2 D-Link cards.

> More than enough.
>
> I use a Pentium I @ 133MHz w/ 64MB RAM as a gateway with a faster Internet
> connection (8Mbps down / 1Mbps up) and it has no problem keeping up.
>
> Earlier I had only 512 Kbps connection, and at that time used a 386sx @
> 33MHZ w/ 8MB RAM as gateway.  It had no problem handling that speed.
>
Then my configuration is not minimal I'd say :-)
Thanks.

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


Re: SAS (serial attached SCSI)

2007-08-21 Thread Albert Shih
 Le 20/08/2007 à 16:04:15-0500, Jonathan Horne a écrit
> anyone running any SAS with FreeBSD?
> 
> i have a client who is needing a new server, and everything in their 
> pricerange is comming with SAS now, instead of standard SCSI.  the company 
> president is an old timer, and only knows the word "SCSI"  :)
> 
> other than telling him "well this is the new SCSI", i am wondering if anyone 
> else is successfully using this technology thus far.

SCSI --> /dev/null

The scsi standard is ... dead.

The remplacement of SCSI is SAS.

And with SAS you have same problem with SCSI. If on you server you have the
last super_top_new card you can have the problem with the driver.

But if you SAS card is in the supported card you don't have any problem. 

I run several server (Dell, HP) with SAS disk (with/without raid) and I
don't have any trouble.

Regards.

--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Mar 21 aoû 2007 12:36:59 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Minimal gateway hardware configuration

2007-08-21 Thread Erik Trulsson
On Tue, Aug 21, 2007 at 01:32:28PM +0330, Bahman M. wrote:
> Hi all,
> 
> I'd like to setup a small home network therefore I plan to buy an old
> (cheap) PC to act as the gateway. The hardware specification is
> CPU: Pentium II at 433MHz
> RAM: 128MB
> HDD: IDE 4GB
> LAN Card: D-Link 538FE

Note: You need two LAN cards:  One for the outside connection and one 
to your internal network.  (You probably already know that, but since you
referred to 'LAN Card' in the singular I thought I should mention it
anyway.)

> 
> Internet connection is a slow one below 512Kbps and there is only one
> other node than the gateway in the network.
> 
> Is the configuration enough?

More than enough.

I use a Pentium I @ 133MHz w/ 64MB RAM as a gateway with a faster Internet
connection (8Mbps down / 1Mbps up) and it has no problem keeping up.

Earlier I had only 512 Kbps connection, and at that time used a 386sx @
33MHZ w/ 8MB RAM as gateway.  It had no problem handling that speed.



-- 

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


SATA to PCI cards

2007-08-21 Thread Bahman M.
Hi all,

I'm running FreeBSD 6.2.
$ uname -a
FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

My motherboard which is an ASUS A7V8X-X doesn't support SATA. I
searched the internet and found out that there are SATA to PCI cards
for my situation. Is anyone using such cards? Will they cause any
problem with FreeBSD 6.2?

By the way, I'd appreciate any suggestions for a good SATA to PCI card to buy.

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


Minimal gateway hardware configuration

2007-08-21 Thread Bahman M.
Hi all,

I'd like to setup a small home network therefore I plan to buy an old
(cheap) PC to act as the gateway. The hardware specification is
CPU: Pentium II at 433MHz
RAM: 128MB
HDD: IDE 4GB
LAN Card: D-Link 538FE

Internet connection is a slow one below 512Kbps and there is only one
other node than the gateway in the network.

Is the configuration enough?

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


Re: NFS export subdirs on different file systems?

2007-08-21 Thread Pieter de Goeje
On Tuesday 21 August 2007, Rakhesh Sasidharan wrote:
> > I have a directory /net/store. This directory is exported to all machines
> > on my network.
> >
> > I have a sub-directory /net/store/photos. That too is exported to all
> > machines on my network.
> >
> > What I want is that when I mount /net/store from another machine, the
> > contents of /net/store/photos too be visible. Is there any way I can do
> > that?
> >
> > From the manpage and the handbook and Google etc I get the idea that it
> > might not be possible. Still, asking just in case there are any
> > round-about ways ... I would assume a scenario like this is common.
> >
> > [I need /net/store/photos to be on a separate partition coz its encrypted
> > and stuff. And I'd rather have it appear as part of the /net/store
> > namespace ...]
>
> Forgot to add: the two directories are imported "dynamically" on the
> client side. So I can't just make fstab entries on the client side to
> mount both points. I use AMD to mount /net/store when needed. And I can't
> for the life of me figure how to make it mount /net/store/photos too when
> needed -- I dont think that's possible(?) ...
I have that configuration working.
In /etc/exports:
/pub-alldirsclient
/pub/video -alldirs client
On the client side, I didn't change anything to the configuration of AMD.
Simply cd'ing to /host/server/pub and then 'cd video' does the right thing. I 
don't think -alldirs is really needed, but it's there for convenience.

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


Re: Get effective group id

2007-08-21 Thread Pieter de Goeje
On Tuesday 21 August 2007, Olivier Nicole wrote:
> Hi,
>
> >From a Bourne shell script, how to get (and test) the group id of the
>
> user that is executing the script?
>
> Best regards,
>
> Olivier
id -g will get you the egid. 

if [ `id -g` -eq 1001 ]; then
echo "It's a hit!"
fi

Hope this helps,

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


RE: Get effective group id

2007-08-21 Thread Barry Byrne

> Hi,
> 
> >From a Bourne shell script, how to get (and test) the group id of the
> user that is executing the script?
> 
> Best regards,

Olivier:

id -gn   should give you the group name. Drop the -n if you want just the
numberic id.

 - barry

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


6.2-RELEASE amd64 system rebooting under heavy load with Areca ARC-1231ML

2007-08-21 Thread Chad Leigh -- Shire.Net LLC

Hi

I have a new system I am building.

Tyan S5197 MB with Intel Core 2 Quad 2.4ghz, 4GB RAM
Areca ARC-1231ML raid card.  5 320gb disks in a RAID6 with 1 320gb  
disk hot spare plus two 750gb in a raid1 mirror.  Using the ARECA  
firmware, each raidset is subdivided into separate volumes that each  
appear to the OS as separate daN type disks.


I read through Google about various problems that the Areca driver  
had as well as on the Areca website FAQ (on FreeBSD)


I installed 6.2-RELEASE on this system.  Under heavy IO load the  
system reboots itself.  This happened both in trying to install the  
OS, and if I got that far, in trying to build cvsup tool or in  
building a new kernel.  The machine could sit there idle for hours  
but you startup a large build and usually withing a few minutes  or  
10 minutes it would reboot itself.  I tried installing the 6.2-STABLE  
snapshot (latest on in the downloads which is from June) but the  
whole system would lock up after a few minutes and I would get  
corruption on the console screen so I decided that was not a great  
plan.  I also tried the 7-CURRENT as a test but that would not stay  
out of the kernel debugger.


So I went back to 6.2-STABLE.  I installed it and then copied the  
areca kernel driver source  arcmsr.c/.h from the 6.2-STABLE snapshot  
from June (latest snapshot I could find) and used it to rebuild the  
kernel.  I was then able to build cvsup and do a cvsup  to the latest  
-RELEASE code and was a significant way through a buildworld when it  
happened again and rebooted itself.  So it appears the problem is not  
yet solved.


Is anyone out there running a form of 6.2 on an x64 type platform  
using an Areca controller?  What is the latest 6.x compatible driver  
source for the Areca?  I tried to copy the 7-CURRENT areca source  
back but it relies on the new CAM system and even if I added that  
option to my 6.2 there were a bunch of compilation errors that made  
it look like the 7.0-CURRENT IO or SCSI or whatever lower level it  
uses  system has changed.


Any help in figuring out how to get this up and running without these  
reboots under load would be greatly appreciated.


Thanks
Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: New Zealand DST updates

2007-08-21 Thread Jonathan Chen
On Tue, Aug 21, 2007 at 04:55:50PM +1200, Brent Jones wrote:
> Good afternoon -
> 
> New Zealand is changing when it goes on and off daylight savings time
> this year.  I have diffs to /usr/src/share/zoneinfo/australasia for
> FreeBSD 6.2 which take this change into account.  To whom should I send
> this information so that it makes it into the source tree for this and
> future releases?

Run send-pr(1) and attach the diffs.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
   Do not take life too seriously.
   You will never get out of it alive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NFS export subdirs on different file systems?

2007-08-21 Thread Rakhesh Sasidharan


I have a directory /net/store. This directory is exported to all machines on 
my network.


I have a sub-directory /net/store/photos. That too is exported to all 
machines on my network.


What I want is that when I mount /net/store from another machine, the 
contents of /net/store/photos too be visible. Is there any way I can do that?


From the manpage and the handbook and Google etc I get the idea that it might 
not be possible. Still, asking just in case there are any round-about ways 
... I would assume a scenario like this is common.


[I need /net/store/photos to be on a separate partition coz its encrypted and 
stuff. And I'd rather have it appear as part of the /net/store namespace ...]


Forgot to add: the two directories are imported "dynamically" on the 
client side. So I can't just make fstab entries on the client side to 
mount both points. I use AMD to mount /net/store when needed. And I can't 
for the life of me figure how to make it mount /net/store/photos too when 
needed -- I dont think that's possible(?) ...

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


NFS export subdirs on different file systems?

2007-08-21 Thread Rakhesh Sasidharan


Hi,

I have a directory /net/store. This directory is exported to all 
machines on my network.


I have a sub-directory /net/store/photos. That too is exported to 
all machines on my network.


What I want is that when I mount /net/store from another machine, 
the contents of /net/store/photos too be visible. Is there any way I can 
do that?


From the manpage and the handbook and Google etc I get the idea that it 
might not be possible. Still, asking just in case there are any 
round-about ways ... I would assume a scenario like this is common.


[I need /net/store/photos to be on a separate partition coz its encrypted 
and stuff. And I'd rather have it appear as part of the /net/store 
namespace ...]


Regards,

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


Re: Hello!

2007-08-21 Thread Oliver Fromme

[EMAIL PROTECTED] wrote:
 > 
 > > > From a pilot's point of view:
 > > > FreeBSD is an F-4 Phantom.
 > > > Mac is a P-38 Trainer.
 > > > Windows is a DC-10.
 > >(with a hydraulic leak)
 > 
 > Nah, a pig.  See RFC 1925 and/or Oliver Fromme's .sig.

Well, my .sig is chosen randomly from a large collection,
but I guess you're referring to this one:

|   "With sufficient thrust, pigs fly just fine.  However, this
|   is not necessarily a good idea.  It is hard to be sure where
|   they are going to land, and it could be dangerous sitting
|   under them as they fly overhead." -- RFC 1925

Another nice RFC quote is this one:

|   "The ITU has offered the IETF formal alignment with its
|   corresponding technology, Penguins, but that won't fly."
|   -- RFC 2549

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"C++ is to C as Lung Cancer is to Lung."
-- Thomas Funke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Any PCI card based wls cards work under 6.2? like the linksys ones?

2007-08-21 Thread Jaye Mathisen


I have a need for a PCI-based wls card,  under 6.2.  Rather
have 802.11g, and *not* one that's a pcmcia adapter-type card.

Do any of th elinksys/belkin/dlink's work reliably under FreeBSD?

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


Get effective group id

2007-08-21 Thread Olivier Nicole
Hi,

>From a Bourne shell script, how to get (and test) the group id of the
user that is executing the script?

Best regards,

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


Re: Gnome & FreeBSD I forgot

2007-08-21 Thread [EMAIL PROTECTED]
On 20/08/07, Predrag Punosevac <[EMAIL PROTECTED]> wrote:

> I forgot to say in my last massage. The good compromise between Gnome
> (KDE) full blown desktop and ***Box X window managers is
> Xfce. Xfce is only about 15Mb vs Gnome(KDE)~200Mb.

 ~> ls -ls /usr/local/bin/evilwm
28 -r-xr-xr-x  1 root  wheel  28088 May 29 04:36 /usr/local/bin/evilwm

Very fast, very responsive, and the "desktop" (being
essentially what you put into ~/.xinitrc) is extremely
configurable, although, to be fair, if you leave it running
for a couple of weeks it might eat up 6 or 7 seconds
of CPU time.

I suppose a post-script would be that it could not possibly
be called a compromise and likely won't be called good
by very many.

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


Re: Hello!

2007-08-21 Thread perryh
> > From a pilot's point of view:
> > FreeBSD is an F-4 Phantom.
> > Mac is a P-38 Trainer.
> > Windows is a DC-10.
>(with a hydraulic leak)

Nah, a pig.  See RFC 1925 and/or Oliver Fromme's .sig.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"