Re: Upgrade from FreeBSD 32bit to 64bit

2005-10-26 Thread Roland Smith
On Tue, Oct 25, 2005 at 11:24:43PM -0700, Warren Liddell wrote:
 As per topic ... is it possible to upgrade from the 32 bit version of 
 FreeBSD to the 64 bit version or is it better to do a new 
 installation ? If upgrade can be done .. any URL/Links to a guide on 
 how to do it ?

This has been handled multiple times on the -amd64 list. See the archives.
Upgrading is not impossible, but doing a new installation is less painfull.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpGedRqQ2lGY.pgp
Description: PGP signature


Re: FileSystem Full error in FreeBSD 5.4-Release even if the partition is not full

2005-10-26 Thread Martin Hepworth
Hi Deepak

check the inodes as others have suggested.

the /var/spool/MailScanner/incoming is should be empty (or nearly). This is
just the work area for MS and should have much in there at all apart from
the batches it's working right now..

MIght be worth check with me a JPK etc on the MS list 

--
Martin (at yet another email address)


On 10/25/05, Deepak Naidu [EMAIL PROTECTED] wrote:

 Hi,

 I dont know ? all the errors are bouncing on my
 FreeBSD mail server. A month ago I have ported my
 mail server from Linux to FreeBSD 5.4-Release.

 I get the below error in my /var/log/messages
 regarding the filesystem being full, whereas it is not
 full.

 Filesystem is not full at all, then why I am getting
 this error message, did any one faced this issue.


 Oct 25 14:58:30 kernel: pid 60077 (perl5.8.6), uid 125
 inumber 50855 on /var/spool/MailScanner/incoming:
 filesystem full

 Oct 25 14:58:30 kernel: pid 60198 (perl5.8.6), uid 125
 inumber 1051 on /var/spool/MailScanner/incoming:
 filesystem full

 Oct 25 14:58:30 kernel: pid 60151 (perl5.8.6), uid 125
 inumber 50857 on /var/spool/MailScanner/incoming:
 filesystem full

 and also /var/spool filesystem ful error.

 #df -h
 Filesystem Size Used Avail Capacity Mounted on
 /dev/da0s1a 9.7G 576M 8.3G 6% /
 devfs 1.0K 1.0K 0B 100% /dev
 /dev/da0s1g 13G 4.2G 7.7G 35% /usr
 /dev/da0s1d 9.7G 232M 8.7G 3% /var
 /dev/da0s1e 19G 1.5G 16G 9% /var/log
 /dev/da0s1f 9.7G 968M 8.0G 11% /var/spool
 /dev/md1 1.4G 175M 1.1G 13%
 /var/spool/MailScanner/incoming
 devfs 1.0K 1.0K 0B 100% /var/named/dev


 #mount
 /dev/da0s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/da0s1g on /usr (ufs, local, soft-updates)
 /dev/da0s1d on /var (ufs, local, soft-updates)
 /dev/da0s1e on /var/log (ufs, local, noatime,
 soft-updates)
 /dev/da0s1f on /var/spool (ufs, local, noatime,
 soft-updates)
 /dev/md1 on /var/spool/MailScanner/incoming (ufs,
 local, noatime, soft-updates)
 devfs on /var/named/dev (devfs, local)

 Is this a bug or anything falat.


 Cheers,
 Deepak Naidu.





 ___
 Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with
 voicemail http://uk.messenger.yahoo.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


Re: Qwest DLS MSN Premium Linksys Router FreeBSD.. Oh my

2005-10-26 Thread James Long
Tell Qwest you want to use a local ISP instead of MSN.  The local ISP will
give you better service, and you won't be guilty of sending money to M$.

You shouldn't have any problem using an run-of-the-mill Cable/DSL router/hub
to share the service with your LAN, so long as you use only one public IP.
If you need more than one public IP, there again is a great reason to go
with a local independent ISP instead of M$N.

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


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Andrew P.
On 10/26/05, Will Maier [EMAIL PROTECTED] wrote:
 On Wed, Oct 26, 2005 at 02:24:54AM +0400, Andrew P. wrote:
  How to tell? Apart from trying to launch it on different versions
  without COMPAT* in the kernel?

 file (1)


I don't mean to push it, but how file would ever help
me to know subj?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Michael C. Shultz
On Wednesday 26 October 2005 00:01, Andrew P. wrote:
 On 10/26/05, Will Maier [EMAIL PROTECTED] wrote:
  On Wed, Oct 26, 2005 at 02:24:54AM +0400, Andrew P. wrote:
   How to tell? Apart from trying to launch it on different versions
   without COMPAT* in the kernel?
 
  file (1)

 I don't mean to push it, but how file would ever help
 me to know subj?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Here is an example:

file /usr/bin/man

on my machine outputs:

/usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for 
FreeBSD 5.4-CURRENT (rev 3), dynamically linked (uses shared libs), stripped

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


Re: optical mouse problem

2005-10-26 Thread Andrew P.
On 10/25/05, Zsolt Kúti [EMAIL PROTECTED] wrote:
 Dear All,

 I've got a Samsung PS/2 (SMOP5000WX) mouse that does not work. While
 the pointer appears, it hectically wanders around the screen and
 suddenly produces false keystroke-like actions.

 Applying hint.psm.0.flags=0x0200 makes it a plain PS/2 mouse, that
 works fine (no wheel then, of course).

 Without that flag, configuration is OK with another PS/2 mouse, wheel
 working. The optical mouse is recognized (4D+ Mouse). moused.c
 contains code that in priciple handles this type, in practice not. I
 tried various moused parameters, even serial types (I know, it
 against what it is recommended in man) , NORESET as hint, none of them
 helped.


 What could I try to get it operate normally?

 Or better leave it alone and go for a new one?


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


Yup, a cheap Logitech will be your saviour.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Andrew P.
On 10/26/05, Michael C. Shultz [EMAIL PROTECTED] wrote:
 On Wednesday 26 October 2005 00:01, Andrew P. wrote:
  On 10/26/05, Will Maier [EMAIL PROTECTED] wrote:
   On Wed, Oct 26, 2005 at 02:24:54AM +0400, Andrew P. wrote:
How to tell? Apart from trying to launch it on different versions
without COMPAT* in the kernel?
  
   file (1)
 
  I don't mean to push it, but how file would ever help
  me to know subj?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 Here is an example:

 file /usr/bin/man

 on my machine outputs:

 /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for
 FreeBSD 5.4-CURRENT (rev 3), dynamically linked (uses shared libs), stripped

 -Mike


Oh, it's just that file hasn't leared anything about
FreeBSD 6 yet, so it doesn't display version info
when run against my binaries.

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


Speed question

2005-10-26 Thread Sasa Stupar

Hi!

I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux (yes 
I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN), eth2 
(DMZ).
Strange thing is that when server is on DMZ and I access it from the LAN 
with ftp client my transfer speed is 30 Mbit/s. The network itself is 100 
Mbit. BUT if I move server from LAN to DMZ I have the max speed arround 100 
Mbit/s.
BTW: server in DMZ is connected directly to the NIC on router and on the 
LAN side I have all users connected on one switch which is connected to the 
router.


Is this normall for all kinds of routers (linux, bsd, etc.) with setup like 
mine to behave like this or is it just my router setup?


Regards,
Sasa

pgpvEkuFy7waX.pgp
Description: PGP signature


Re: Crontab and GPG?

2005-10-26 Thread Kris Kennaway
On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
 On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
  On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
   On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
Hello!  I'm attempting to run GPG from cron, and it's not working.  I 
can run the script from the command line, and all works perfectly.  
When I try to run it from cron, however, it doesn't work.  The crontab 
calls this script, called pgpdecrypt with the following crontab line:

*/1*   *   *   *   root/bin/bash /etc/pgpdecrypt

The /bin/bash wasn't originally there; I added it to make sure that the 
script was using the correct shell.  Still no luck.  Here's the script 
that it calls:

echo  /etc/pgpdecrypt.logger PGP Decrypter Starting
   
   Take the /bin/bash out of your crontab. Put
 #!/bin/bash
   at the beginning of your script.
  
  What do you think that will do to help?  It's a NOP, so it can't fix
  the problem (which is because of bad assumptions about PATH, per my
  other message).
 
 Well, I don't know whether #! is a NOP or not. It does tell the script
 which executable to use in executing the script.

Yeah, which he was already doing explicitly (see above) ;-)

Kris


pgpMq3vdUma5G.pgp
Description: PGP signature


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Kris Kennaway
On Tue, Oct 25, 2005 at 08:41:33PM -0700, Rob wrote:
 
 Hi,
 
 I'm running FreeBSD 5-Stable.
 
 I only seem to encounter this problem with the
 math/graphical port 'grace', and the dlopen()
 call inthere.

I answered this question the last time you posted it.

Kris

pgpWpj2IXipZT.pgp
Description: PGP signature


Re: Speed question

2005-10-26 Thread Sasa Stupar



--On 26. oktober 2005 9:46 +0200 Sasa Stupar [EMAIL PROTECTED] 
wrote:



Hi!

I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux
(yes I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN),
eth2 (DMZ).
Strange thing is that when server is on DMZ and I access it from the LAN
with ftp client my transfer speed is 30 Mbit/s. The network itself is 100
Mbit. BUT if I move server from LAN to DMZ I have the max speed arround
100 Mbit/s.
BTW: server in DMZ is connected directly to the NIC on router and on the
LAN side I have all users connected on one switch which is connected to
the router.

Is this normall for all kinds of routers (linux, bsd, etc.) with setup
like mine to behave like this or is it just my router setup?

Regards,
Sasa


Made a mistake in the post:

BUT if I move server from LAN to DMZ...
should be
BUT if I move server from DMZ to LAN...#


Sasa

pgpd7S3W9tshi.pgp
Description: PGP signature


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Rob


--- Kris Kennaway [EMAIL PROTECTED] wrote:

 On Tue, Oct 25, 2005 at 08:41:33PM -0700, Rob wrote:
  
  I'm running FreeBSD 5-Stable.
  
  I only seem to encounter this problem with the
  math/graphical port 'grace', and the dlopen()
  call inthere.
 
 I answered this question the last time you posted
 it.

Yes, indeed. Thank you. You said:
  Sounds like the application is broken for
   requesting it, since as you found there is
   no such library on FreeBSD.

Here the application refers to what?
Grace? Or dlopen()?

If you mean grace, then I have a problem:
the grace mailinglist blames FreeBSD, and
here grace is blamed. Argh!

I am the only FreeBSD user on the Grace mailinglist.
Apparently the dlopen() call in grace works fine
on Linux and others. But not with FreeBSD.

Is there something fishy or tricky about the
dlopen() call on FreeBSD, when compared to,
for example, Linux?

Grace runs fine on FreeBSD, until I use it such
that it does the 'dlopen()' call.

I am at a total loss here

How can I further analyse this problem?

Thanks,
Rob.




__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Kris Kennaway
On Wed, Oct 26, 2005 at 01:16:46AM -0700, Rob wrote:
 
 
 --- Kris Kennaway [EMAIL PROTECTED] wrote:
 
  On Tue, Oct 25, 2005 at 08:41:33PM -0700, Rob wrote:
   
   I'm running FreeBSD 5-Stable.
   
   I only seem to encounter this problem with the
   math/graphical port 'grace', and the dlopen()
   call inthere.
  
  I answered this question the last time you posted
  it.
 
 Yes, indeed. Thank you. You said:
   Sounds like the application is broken for
requesting it, since as you found there is
no such library on FreeBSD.
 
 Here the application refers to what?
 Grace? Or dlopen()?

The former.

 If you mean grace, then I have a problem:
 the grace mailinglist blames FreeBSD, and
 here grace is blamed. Argh!

It's quite obvious that FreeBSD doesn't include the library that grace
is asking for, because *NO* FreeBSD libraries use the form
libfoo.so.x.y (they're all libfoo.so.x).

kKris

pgp4h1HLg8B8O.pgp
Description: PGP signature


Re: How to remove a Hotplug Laptop CD/DVD Drive

2005-10-26 Thread Thomas Linton
I didn't know about atacontrol. The flag stop doesn't exist (freeBSD
5.4) so I tried following things:

kingkong# atacontrol list
ATA channel 0:
Master:  ad0 HTS541080G9AT00/MB4IA5BJ ATA/ATAPI revision 6
Slave:   no device present
ATA channel 1:
Master: acd0 MATSHITADVD-RAM UJ-822S/1.03 ATA/ATAPI revision 6
Slave:   no device present
kingkong#

kingkong# atacontrol detach 1
kingkong# atacontrol list
ATA channel 0:
Master:  ad0 HTS541080G9AT00/MB4IA5BJ ATA/ATAPI revision 6
Slave:   no device present
ATA channel 1:
Master:  no device present
Slave:   no device present
kingkong#


At the same time I got following message in /var/log/messages:

Oct 26 09:41:42 kingkong kernel: acd0: WARNING - removed from
configuration
Oct 26 09:41:42 kingkong kernel: (cd0:ata1:0:0:0): lost device
Oct 26 09:41:42 kingkong kernel: (cd0:ata1:0:0:0): removing device entry


After this I removed the DVD Drive (the Power-LED of the media-slot was
still ON ?) and got following information in /var/log/messages:

Oct 26 09:44:50 kingkong kernel: stray irq15
Oct 26 09:44:50 kingkong kernel: too many stray irq 15's: not logging
anymore


I put the drive back; /var/log/messages didn't get any updates.

kingkong# atacontrol attach 1
Master: acd0 MATSHITADVD-RAM UJ-822S/1.03 ATA/ATAPI revision 6
Slave:   no device present
kingkong#


got following update in /var/log/messages:

Oct 26 09:46:20 kingkong kernel: acd0: DVDR MATSHITADVD-RAM
UJ-822S/1.03 at ata1-master UDMA33
Oct 26 09:46:20 kingkong kernel: cd0 at ata1 bus 0 target 0 lun 0
Oct 26 09:46:20 kingkong kernel: cd0: MATSHITA DVD-RAM UJ-822S 1.03
Removable CD-ROM SCSI-0 device
Oct 26 09:46:20 kingkong kernel: cd0: 33.000MB/s transfers
Oct 26 09:46:20 kingkong kernel: cd0: Attempt to query device size
failed: NOT READY, Medium not present




After the whole procedure I saw the channel with atacontrol list and
could mount a CD without any errors. I tried the same thing with WinXP
(safe remove) to see, if the Power-LED of the media-slot  is switching
off and it does. 

I was wondering, if any kind of hotpluging (e.g. PCI Adapters) is
supported by freeBSD?

Regards, Thomas.


On Mon, 2005-10-24 at 21:00 +0200, Michal F. Hanula wrote: 
 On Thu, Oct 20, 2005 at 05:27:22PM +0200, Thomas Linton wrote:
  What is the correct and safe way to remove a Hotplug CD/DVD Drive from
  a Laptop? 
 If the drive is on a separate IDE channel, try
   atacontrol stop channel
   mf
 ___
 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]


Maintaining my music collection (off topic)

2005-10-26 Thread Fafa Hafiz Krantz

Hello!

I have a rather large collection of CDs and vinyls which I have
digitized for preservation. For instance:

+/usr/home/mp3
|+-instrumentals/
|| +-fat_jon_as_maurice_galactica-humanoid_erotica-cd-2001/
|| | 
+-00-fat_jon_as_maurice_galactica-humanoid_erotica-2001-back.jpg
|| | 
+-00-fat_jon_as_maurice_galactica-humanoid_erotica-2001-cd.jpg
|| | 
+-00-fat_jon_as_maurice_galactica-humanoid_erotica-2001-front.jpg
|| | 
+-00-fat_jon_as_maurice_galactica-humanoid_erotica-cd-2001.nfo
|| | +-01-at_the_bar.mp3
|| | +-02-14_years-nbd.mp3
|| | +-03-triple_gold_daytons.mp3
|| | +-04-no.mp3
|| | +-05-tell_me.mp3
|| | +-06-the_queen_and_i.mp3
|| | +-07-backseat_anonymous-.mp3
|| | +-08-change_your_mind.mp3
|| | +-09-exact_space.mp3
|| | +-10-i_dee.mp3
|| | +-11-rain_dance_remix_instrumental.mp3
|| | +-12-pretty_pussy_kitty_kat_ft_five_deez.mp3
|| | +-13-unnamed_track.mp3

Inside mp3/ there are a lot of subfolders and subsubfolders
containing my albums. My problem is that they all lack a Simple File
Verification file as well as a M3U playlist. Generating those
manually for each album is way too much.

I was wondering if anybody could assist me in building this script
to perform these tasks:

1) Go to all directories containing an .nfo file
2) Generate an .sfv file based on the .mp3 files in each directory
3) Remove .sfv comments created by the cfv tool
4) Give the .sfv file the same name as the as the .nfo file (except extension)
5) Do an ls *.mp3 and output it to the same file name as the other two files 
(except extension)

So far a friend of mine has helped me make this:

fix() {
find ${1+:$@} -name '*.nfo' | while read file ; do
cd ${file%/*}

if [[ $(ls *.sfv) ]]; then
(( recreate ))  do=1 || do=0
else do=1
fi

(( do ))  cfv -C *.mp3 || { echo SFV creation failed. ; return 1 ; } 
; ... filename code .. ;

cfv=$( ls *.cfv )
if [[ -n $cfv ]] ; then
echo SFV already exists.
else
Data=$( awk '! /^:/' $cfv )  echo $Data $cfv || echo 
Comment removal failed.
fi
}

But it doesn't really work.

# sh fix.sh
  fix.sh: 9: Syntax error: do unexpected (expecting ))

Maybe it also can be simplified?
I don't know much coding, but to me it looks kind of messy.

Well, that's it.
Thank you so much all!

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Re: Speed question

2005-10-26 Thread Andrew P.
On 10/26/05, Sasa Stupar [EMAIL PROTECTED] wrote:


 --On 26. oktober 2005 9:46 +0200 Sasa Stupar [EMAIL PROTECTED]
 wrote:

  Hi!
 
  I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux
  (yes I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN),
  eth2 (DMZ).
  Strange thing is that when server is on DMZ and I access it from the LAN
  with ftp client my transfer speed is 30 Mbit/s. The network itself is 100
  Mbit. BUT if I move server from LAN to DMZ I have the max speed arround
  100 Mbit/s.
  BTW: server in DMZ is connected directly to the NIC on router and on the
  LAN side I have all users connected on one switch which is connected to
  the router.
 
  Is this normall for all kinds of routers (linux, bsd, etc.) with setup
  like mine to behave like this or is it just my router setup?
 
  Regards,
  Sasa

 Made a mistake in the post:

 BUT if I move server from LAN to DMZ...
 should be
 BUT if I move server from DMZ to LAN...#


 Sasa



If you mean that bandwidth between 2 boxes on
one switch is higher than that between 2 boxes
connected to different NICs on some server, then
that's absolutely normal and expected. No server
can match the speed of a Cisco, and no Cisco can
match the speed of a cheap unmanaged switch.

If you mean that ftp client and ftp server are
connected to different NICs on the router in both
cases (30Mbit and 100Mbit transfers), it is
explainable, because traffic from DMZ to
LAN usually gets a closer look than that
from LAN to LAN. You might or might not get
better performance with FreeBSD as the router.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Igor Robul

Hi,

Rob wrote:

 


Yes, indeed. Thank you. You said:
 Sounds like the application is broken for
  requesting it, since as you found there is
  no such library on FreeBSD.

Here the application refers to what?
Grace? Or dlopen()?

If you mean grace, then I have a problem:
the grace mailinglist blames FreeBSD, and
here grace is blamed. Argh!
 

What are you trying to do with xmgrace? I' asking because I have just 
installed math/grace and it

at least can be launched on my system without trouble.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba3 and win9x

2005-10-26 Thread Igor Robul

Aguiar Magalhaes wrote:


List,

I´ve installed Samba3 on a FreeBSD 5.4 server. The
shared directories are see in winXP machines and
they´ve worked correctly using the local users
(created by adduser script with nologin)

In the same network, when I use the same users in
win9x machines, I´ve received a error message:
Invalid password

My smb.conf has:

security = user
encrypt password = no
domain logons = yes

The win9x machines has in the register:

EnablePlainTextPassword = 1

What´s wrong ?
 

Why do you wish plain text passwords? Win98 can work with encrypted 
passwords.


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


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Pete French
 I am the only FreeBSD user on the Grace mailinglist.
 Apparently the dlopen() call in grace works fine
 on Linux and others. But not with FreeBSD.

This is not a problem with the dlopen call *or* freebsd - the
problem is that it is asking for a library 'libXcursor.so.1.0'
which does not exist on FreeBSD. There is a 'libXcursor.so.1'
though. You need to get the grace people to change the
application so it requests the correct library when running on
FreeBSD.

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


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Peter Jeremy
On Tue, 2005-Oct-25 20:41:33 -0700, Rob wrote:
2. Create $HOME/.grace/gracerc.user and put
   one line in this file:
 USE pow TYPE f_of_dd FROM /usr/lib/libm.so
   (this is the example from the Grace UsersGuide)

Does grace work correctly if you don't include this line?

3. Start grace like this:
   $ xmgrace
   Shared object libXcursor.so.1.0 not found,
  required by xmgrace

libXcursor.so.1.0 is not a valid FreeBSD shared library name.
The closest is /usr/X11R6/lib/libXcursor.so.1

  handle =
(void *)dlopen(/usr/lib/libm.so, RTLD_LAZY)

It doesn't make sense for an attempt to dlopen libm to complain about
an X library.

You might like to try asking the port maintainer (see the Makefile).
-- 
Peter Jeremy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Maintaining my music collection (off topic)

2005-10-26 Thread Parv
in message [EMAIL PROTECTED],
wrote Fafa Hafiz Krantz thusly...

 fix() {
   find ${1+:$@} -name '*.nfo' | while read file ; do
   cd ${file%/*}
 ^ ^
 ^ ^
Looks like this script is not going to work in FreeBSD /bin/sh.
Install one of shells/bash* (guessing) ports and run this script
under that shell (unless somebody does the conversion for you).


  - Parv

-- 

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


Re: Maintaining my music collection (off topic)

2005-10-26 Thread Fafa Hafiz Krantz

I don't know man,
the script is suppose to be valid sh.

# bash fix.sh
fix.sh: line 19: syntax error near unexpected token `}'
fix.sh: line 19: `}'

All the best,
Fafa

- Original Message -
From: Parv [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED]
Subject: Re: Maintaining my music collection (off topic)
Date: Wed, 26 Oct 2005 06:39:48 -0400

 
 in message [EMAIL PROTECTED],
 wrote Fafa Hafiz Krantz thusly...
 
  fix() {
  find ${1+:$@} -name '*.nfo' | while read file ; do
  cd ${file%/*}
   ^ ^
   ^ ^
 Looks like this script is not going to work in FreeBSD /bin/sh.
 Install one of shells/bash* (guessing) ports and run this script
 under that shell (unless somebody does the conversion for you).
 
 
- Parv
 
 --



--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


How to terminate TCP connection?

2005-10-26 Thread Artem Kuchin

Hi!

I am running several jails. Each jail runs many services includinh SMTP, 
POP,IMAP,
HTTP.
Somtimes i need to restart all jails.
So, i /etc/rc.d/jail stop

And then i wait until  jls shows nothing. 


However, it usually takes very long or unacceptably long because
FreebBSD does not delete jail until all connections to it are gone.

So, i have no processes running in a jail, but netstat -n show several
connections (usually SYN_FIN1, SYN_FIN2, LAST_ACK states) and they hang there
for a very long time. Usually, i have to reboot the server to finaly get rid of 
all jails and
connctions. But sometimes I need to restart only one jail and have the same 
problem
and have to wait for 20-30 minutes until all connections die. Clients are ready 
to kill
me at such moments.

So, the question, Is there a way to kill off stuck tcp connection (or actually 
ANY connection
which are shown by netstat) or maybe there is a way to force jail termination 
without
waiting until all connection are gone.

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


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Igor Robul

Peter Jeremy wrote:


It doesn't make sense for an attempt to dlopen libm to complain about
an X library.
 


fresh port works for me. By works I mean I can launch it and use menu :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CA0106

2005-10-26 Thread Ronny Machado C.
Hello list, 

I've been trying to make my soundcard working but with no success, my card is 
supossed to work with the emu10k1 driver, I've kldoaded it but with no results 
at all, I mean, the driver is loaded and the sound module too, but I don't have 
any sound device, (no mixer, or dsp, pcm, etc...)

Here's some info

[EMAIL PROTECTED]:12:0:class=0x040100 card=0x10061102 chip=0x00071102 
rev=0x00 hdr=0x00
vendor   = 'Creative Labs'
device   = 'CA0106-DAT Audigy LS'
class= multimedia
subclass = audio


thanks in advance




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


Re: How to terminate TCP connection?

2005-10-26 Thread Igor Robul

Artem Kuchin wrote:



So, the question, Is there a way to kill off stuck tcp connection (or 
actually ANY connection
which are shown by netstat) or maybe there is a way to force jail 
termination without

waiting until all connection are gone.


tcpdrop(8)

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


Re: Kernel boot hangs during installation

2005-10-26 Thread Lowell Gilbert
Paulino Calderon [EMAIL PROTECTED] writes:

 Ive got a Toshiba Satellite P10-EE1 with the following specifications:
 -Intel(r) Pentium(r) 4 Processor 3.20 GHz processor with Hyper Threading
 Technology, 533MHz PSB
 L1 Cache 12KB/8KB (instruction/data), L2 Cache 512KB
 -Disk drive 80 gb : TOSHIBA MK9026GAX
 -Video card: ATI MOBILITY RADEON 9700
 -TOSHIBA DVD-ROM SD-R6112
 -Atheros Wireless Network Adapter
 
 Well first I tried to install freebsd 5.4 without success, i cant get it to
 boot, my installation cd works ( ive tried on different machines ), I get
 the menu with the ASCII daemon and let the countdown time out, but then it
 hangs when it tries to boot the kernel. Ive tried the acpi off and safe mode
 and the same thing happens, so i thought this might be a incompatibility
 problem so i waited and tried the 6.0 RC1 and still no luck, any help or
 orientation you can give me would be really appreciated, thanks.

Try selecting the safe mode to boot, and you should at least be able
to get through installation.  Then you'll be able to debug the
specific problems more easily.

Yesterday I bought a new machine that wouldn't boot with the APIC
enabled.  I'll have to figure out how to fix that as soon as possible,
but for now it works fine, just a little slower than it should.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel boot hangs during installation

2005-10-26 Thread Lowell Gilbert
Paulino Calderon [EMAIL PROTECTED] writes:

 hangs when it tries to boot the kernel. Ive tried the acpi off and safe mode

Oops. Sorry about missing that the first time.

Try the verbose boot and see if you get a hint what it's choking on.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Rob


--- Igor Robul [EMAIL PROTECTED] wrote:

 Hi,
 
 Rob wrote:
 
   
 
 Yes, indeed. Thank you. You said:
   Sounds like the application is broken for
requesting it, since as you found there is
no such library on FreeBSD.
 
 Here the application refers to what?
 Grace? Or dlopen()?
 
 If you mean grace, then I have a problem:
 the grace mailinglist blames FreeBSD, and
 here grace is blamed. Argh!
   
 
 What are you trying to do with xmgrace? I' asking
 because I have just installed math/grace and it
 at least can be launched on my system without
 trouble.

As I explained at the very beginning of this thread
(note part 2, this is important!):

1. Install Grace from ports (math/grace)

2. Create $HOME/.grace/gracerc.user and put
   one line in this file:
 USE pow TYPE f_of_dd FROM /usr/lib/libm.so
   (this is the example from the Grace UsersGuide,
but a similar construct allows me to load my
own function from my own library file).
   
3. Start grace like this:
   $ xmgrace
   Shared object libXcursor.so.1.0 not found,
  required by xmgrace
   DL module load failed: USE pow TYPE F_OF_DD
  FROM /usr/lib/libm.so
   Error at line 1


Indeed, grace will start normally, but it will
not parse the USE... line from the gracerc.user,
because the dlopen() call has the error:
Shared object libXcursor.so.1.0 not found,
required by xmgrace

Do you see this too?

Thanks,
Rob.





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Rob


--- Pete French [EMAIL PROTECTED] wrote:

  I am the only FreeBSD user on the Grace
 mailinglist.
  Apparently the dlopen() call in grace works fine
  on Linux and others. But not with FreeBSD.
 
 This is not a problem with the dlopen call *or*
 freebsd - the problem is that it is asking for
 a library 'libXcursor.so.1.0' which does not
 exist on FreeBSD. There is a 'libXcursor.so.1'
 though. You need to get the grace people to change
 the application so it requests the correct
 library when running on FreeBSD.

The reason why the grace developper blames FreeBSD
is because of this:

The executable 'xmgrace' is linked to
/usr/X11R6/lib/libX11.so.6
and
'strings /usr/X11R6/lib/libX11.so.6 | grep libXcursor'
gives:
  libXcursor.so.1.0.2

So according to the grace developper, the reason
for my problem is a problem with libX11.so.6.

But I know nothing about this stuff

By the way: can someone also explain to me why
libX11.so.6 has the string libXcursor.so.1.0.2.
I will then forward this to the grace mailinglist,
and tell them that there's something wrong with Grace.

Thank so much!
Rob.





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Rob

--- Peter Jeremy [EMAIL PROTECTED] wrote:

 On Tue, 2005-Oct-25 20:41:33 -0700, Rob wrote:
 2. Create $HOME/.grace/gracerc.user and put
one line in this file:
  USE pow TYPE f_of_dd FROM /usr/lib/libm.so
(this is the example from the Grace UsersGuide)
 
 Does grace work correctly if you don't include this
 line?

Without that line, grace starts without any problem.
With that line, grace cannot perform the action
described in that line (USE pow FROM libm.so),
because the responsible dlopen() call has the
error:
  Shared object libXcursor.so.1.0 not found,
  required by xmgrace

However, despite this error, grace continues
to start up fine (but, as I said, without loading
the function from the library).


Rob.



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Igor Robul

Rob wrote:

 



Indeed, grace will start normally, but it will
not parse the USE... line from the gracerc.user,
because the dlopen() call has the error:
   Shared object libXcursor.so.1.0 not found,
   required by xmgrace

Do you see this too?
 


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


xorg.conf block my machine

2005-10-26 Thread Pablo Allietti
hi all. i have xorg loading in tty7 at startup. 
i change my mouse and i modified the file xorg.conf to mouse0 to mouse1. 

well the problem is my machine cant start again :( load all system
but when finish and try to start X system the screen blinking and i cant
do anything

i try to load freebsd in safe mode but nothing the same is possible
modified the file xorg.conf in any way?

i boot in single user too. but the filesystem is read only and i cant
find a editor too. :(
-- 

.-

Pablo Allietti
LACNIC

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


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Igor Robul

Rob wrote:


The reason why the grace developper blames FreeBSD
is because of this:

The executable 'xmgrace' is linked to
/usr/X11R6/lib/libX11.so.6
and
'strings /usr/X11R6/lib/libX11.so.6 | grep libXcursor'
gives:
 libXcursor.so.1.0.2

So according to the grace developper, the reason
for my problem is a problem with libX11.so.6.
 

I have rebuilt xmgrace/grace from sources without port Makefile, and all 
works fine.

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


Reading Startup Message Prior to Start Menu

2005-10-26 Thread Gerard Seibert
I have FreeBSD 5.4 running. When it boots up, it prints some information
onto the screen, and then prints out the start up menu.

How do I go about seeing what that information was that was printed out
prior to the startup menu presentation? I am just sort of curious as to
what it is displaying.

-- 
Gerard Seibert
[EMAIL PROTECTED]

The word spine is of course an anagram of the word penis. This
is true in almost fifty percent of the languages of the Galaxy and
many people have attempted to explain why. Usually the explanations
get bogged down in silly ones about stand erect.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need old V2.05 boot loader installation

2005-10-26 Thread Paul S. Gumerman
I am currently working on recovering data from an old Maxtor MaxAttach 
NAS4000.  This box is based on FreeBSD V2.05.


Can anyone direct me to a place where I can download a bootloader 
install that will boot that system?  The current bootloader code just 
throws up its hands and gives up when faced with the ancient kernel.


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


Re: Qwest DLS MSN Premium Linksys Router FreeBSD.. Oh my

2005-10-26 Thread Brandon Weisz
On 10/25/05, Eric F Crist [EMAIL PROTECTED] wrote:


 On Oct 25, 2005, at 8:01 AM, Brandon Weisz wrote:
  Stay away from the Actiontec GT701-WG DSL router modem device Qwest
  is pushing.
  Its running linux of some sort and absolutely pukes at high PPS
  rates. I didnt bother
  trouble shooting it, rather I turned it to bridge mode and added a
  soekris box running FreeBSD
  behind it to do the pppoe/routing etc for my /29. I didnt try the
  msn service but have been
  happy with qwest.net http://qwest.net as my isp.
 
  Brandon

 I disagree. I've been using that very router for quite some time
 (roughly a year) and I've had no problems at 7/1.

 I was able to consistently cause it to stop responding by initiating nmap
scans against a host behind it while it was in routing mode. I also
participate in pool.ntp.org http://pool.ntp.org - when my server was put
into dns and PPS rate was high, it stopped routing traffic. Telneting to the
device and disabling iptables if I remember correctly would correct it. At
any rate the general consensus I found while trying to find a solution to
the problem about the device was poor.
 My solution was to take it out of the picture. I've had no problems since
then.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?

2005-10-26 Thread Paul Hamilton
Hi,

I have FreeBSD 4.11 running nicely on a HP DL-140  (80GB Parallel ATA HD),
but is anyone running FreeBSD on a HP DL-140 *G2* (80GB SATA HD)?

It's the SATA controller I am worried about.  The Hardware notes on the 5.4
i386 page don't list the E7520 chipset.

Regards,

Paul Hamilton
Information Technology Officer
Shire of Busselton
Ph: 08 9781-0391



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


Re: Reading Startup Message Prior to Start Menu

2005-10-26 Thread albi
On Wed, 26 Oct 2005 09:18:54 -0400
Gerard Seibert [EMAIL PROTECTED] wrote:

 I have FreeBSD 5.4 running. When it boots up, it prints some information
 onto the screen, and then prints out the start up menu.
 
 How do I go about seeing what that information was that was printed out
 prior to the startup menu presentation? I am just sort of curious as to
 what it is displaying.

hit scroll lock before that startup menu appears, then you can
(afair) scroll back and forth with shift-pageup and shift-pagedown

press scroll lock again to unlock the scrolling-feature

(you can also look at /var/log/dmesg btw)

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Speed question

2005-10-26 Thread Sasa Stupar



--On 26. oktober 2005 13:11 +0400 Andrew P. [EMAIL PROTECTED] wrote:


On 10/26/05, Sasa Stupar [EMAIL PROTECTED] wrote:



--On 26. oktober 2005 9:46 +0200 Sasa Stupar [EMAIL PROTECTED]
wrote:

 Hi!

 I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux
 (yes I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN),
 eth2 (DMZ).
 Strange thing is that when server is on DMZ and I access it from the
 LAN with ftp client my transfer speed is 30 Mbit/s. The network itself
 is 100 Mbit. BUT if I move server from LAN to DMZ I have the max speed
 arround 100 Mbit/s.
 BTW: server in DMZ is connected directly to the NIC on router and on
 the LAN side I have all users connected on one switch which is
 connected to the router.

 Is this normall for all kinds of routers (linux, bsd, etc.) with setup
 like mine to behave like this or is it just my router setup?

 Regards,
 Sasa

Made a mistake in the post:

BUT if I move server from LAN to DMZ...
should be
BUT if I move server from DMZ to LAN...#


Sasa




If you mean that bandwidth between 2 boxes on
one switch is higher than that between 2 boxes
connected to different NICs on some server, then
that's absolutely normal and expected. No server
can match the speed of a Cisco, and no Cisco can
match the speed of a cheap unmanaged switch.

If you mean that ftp client and ftp server are
connected to different NICs on the router in both
cases (30Mbit and 100Mbit transfers), it is
explainable, because traffic from DMZ to
LAN usually gets a closer look than that
from LAN to LAN. You might or might not get
better performance with FreeBSD as the router.


Thank you for the explanation.

Sasa



pgp8R1Yz5L7LY.pgp
Description: PGP signature


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Igor Robul

Rob wrote:


The executable 'xmgrace' is linked to
/usr/X11R6/lib/libX11.so.6
and
'strings /usr/X11R6/lib/libX11.so.6 | grep libXcursor'
gives:
 libXcursor.so.1.0.2
 


I have made symbolic link libXcursor.so.1 - libXcursor.so.1.0.2
in /usr/X11R6/lib
and now xmgrace starts withour errors.
So really, there is some minor problem with x11/xorg-libraries port 
triggered by xmgrace

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


Re: xorg.conf block my machine

2005-10-26 Thread Andrew L. Gould
On Wed, 26 Oct 2005 11:01:01 -0300
Pablo Allietti [EMAIL PROTECTED] wrote:

 hi all. i have xorg loading in tty7 at startup. 
 i change my mouse and i modified the file xorg.conf to mouse0 to
 mouse1. 
 
 well the problem is my machine cant start again :( load all system
 but when finish and try to start X system the screen blinking and i
 cant do anything
 
 i try to load freebsd in safe mode but nothing the same is possible
 modified the file xorg.conf in any way?
 
 i boot in single user too. but the filesystem is read only and i cant
 find a editor too. :(
 -- 
 
 .-
 
 Pablo Allietti
 LACNIC

After boot up, while the screen is trying to start X, have you tried
going to a virtual terminal by pressing Alt-F1 or Alt-F2?

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


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Rob


--- Igor Robul [EMAIL PROTECTED] wrote:

 Rob wrote:
 
 The reason why the grace developper blames FreeBSD
 is because of this:
 
 The executable 'xmgrace' is linked to
 /usr/X11R6/lib/libX11.so.6
 and
 'strings /usr/X11R6/lib/libX11.so.6 | grep
 libXcursor'
 gives:
   libXcursor.so.1.0.2
 
 So according to the grace developper, the reason
 for my problem is a problem with libX11.so.6.
   
 
 I have rebuilt xmgrace/grace from sources without
 port Makefile, and all works fine.

Be sure that you do NOT start xmgrace, while
there is a gracerc.user in the 'pwd' (current
directory); because that prevents the loading
of ~/.grace/gracerc.user , which then may give
you the impression that all is OK.

For me, I still get the same error, even without
the port's Makefile.

Rob.






__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Rob


--- Igor Robul [EMAIL PROTECTED] wrote:

 Rob wrote:
 
 The executable 'xmgrace' is linked to
 /usr/X11R6/lib/libX11.so.6
 and
 'strings /usr/X11R6/lib/libX11.so.6 | grep
 libXcursor'
 gives:
   libXcursor.so.1.0.2
   
 
 I have made symbolic link libXcursor.so.1 -
 libXcursor.so.1.0.2 in /usr/X11R6/lib
 and now xmgrace starts withour errors.
 So really, there is some minor problem with
 x11/xorg-libraries port triggered by xmgrace

Do you mean the other-way-around link:
libXcursor.so.1.0.2 - libXcursor.so.1 ??

Because I don't have
/usr/X11R6/lib/libXcursor.so.1.0.2

but I do have there
libXcursor.a
libXcursor.so - libXcursor.so.1
libXcursor.so.1

Rob.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Igor Robul

Rob wrote:

--- Igor 


Do you mean the other-way-around link:
libXcursor.so.1.0.2 - libXcursor.so.1 ??

 


of course.
I mean
ln -sf libXcursor.so.1 libXcursor.so.1.0.2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg.conf block my machine

2005-10-26 Thread Micah

Pablo Allietti wrote:
hi all. i have xorg loading in tty7 at startup. 
i change my mouse and i modified the file xorg.conf to mouse0 to mouse1. 


well the problem is my machine cant start again :( load all system
but when finish and try to start X system the screen blinking and i cant
do anything

i try to load freebsd in safe mode but nothing the same is possible
modified the file xorg.conf in any way?

i boot in single user too. but the filesystem is read only and i cant
find a editor too. :(


Boot from your install disk and chose fixit from the menu.  When you 
get a shell, mount the drive that has xorg.conf and edit the file.


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


Re: jdk15 without having to install X Windows?

2005-10-26 Thread Micah

Nick Triantos wrote:

Hi,

I'm trying to install JDK15 (from ports: java/jdk15) on a server that 
does not have X Windows installed.  It appears from the Makefile that 
Java is dependent upon OpenMotif, which in turn is dependent upon a 
bunch of X client libs.


Does anyone have experience with installing Java without any X windows 
support?  I'd like the keep the number of installed packages on this 
server to a bare minimum.


thanks,
-Nick



My guess?  You probably can't install JDK without X because of Java's 
GUI libraries (swing/awt).


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


Re: last attempt to run mixxx (segfault, lalala)

2005-10-26 Thread Linnea Forslund
On 10/26/05, Bernt Hansson [EMAIL PROTECTED] wrote:
 Linnea Forslund skrev:

  With visuals at 1 I get this segfault:

 mixxx

  Debug: Starting up...
  Debug: MidiObjectOSS: No MIDI devices available.
  Xlib:  extension GLX missing on display :0.0.
  Xlib:  extension GLX missing on display :0.0.
  Xlib:  extension GLX missing on display :0.0.
  Xlib:  extension GLX missing on display :0.0.
  Xlib:  extension GLX missing on display :0.0.
  Xlib:  extension GLX missing on display :0.0.
  Debug: playlist name Default
  Debug: id 0, sr 8000, ch 2, bufsize 16, bufno 400
  Segmentation fault (core dumped)

  and with visuals at 0 i get it without those

  Xlib:  extension GLX missing on display :0.0.
  The way I got it before.

  The driver has

  Load  glx

 Remove it, and try again.

  in its configuration file.

  Any ideas?

 Do you have the GLX extension enabled in your /etc/X11R6/xorg.conf?


Yes, sorry, it was in the xorg.conf i meant.


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


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Rob
--- Igor Robul [EMAIL PROTECTED] wrote:

 Rob wrote:
 
 --- Igor 
 
 Do you mean the other-way-around link:
 libXcursor.so.1.0.2 - libXcursor.so.1 ??
 
   
 
 of course.
 I mean
 ln -sf libXcursor.so.1 libXcursor.so.1.0.2

Indeed, but with this link, I get:

$ xmgrace
Shared object nss_dns.so.1 not found,
 required by xmgrace
DL module load failed: USE pow TYPE F_OF_DD
 FROM /usr/lib/libm.so  
Error at line 1


Hmmm, what is this?
Though I do have /usr/compat/linux/lib/nss_dns.so.1

So the problem now persists with yet another
library.

Is it a coincidence that the problem-libraries
under scrutiny here are all in /usr/compat/linux :

/usr/compat/linux/usr/X11R6/lib/libXcursor.so.1.0.2
/usr/compat/linux/lib/libnss_dns.so.1

Could there be some wrong connection by grace
and/or FreeBSD to these Linux compat libraries
(and that confuses the dlopen() call) ?

Or any more ideas?

Thanks for helping me with this!

Rob.





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg.conf block my machine

2005-10-26 Thread Mike Jeays
On Wed, 2005-10-26 at 10:01, Micah wrote:
 Pablo Allietti wrote:
  hi all. i have xorg loading in tty7 at startup. 
  i change my mouse and i modified the file xorg.conf to mouse0 to mouse1. 
  
  well the problem is my machine cant start again :( load all system
  but when finish and try to start X system the screen blinking and i cant
  do anything
  
  i try to load freebsd in safe mode but nothing the same is possible
  modified the file xorg.conf in any way?
  
  i boot in single user too. but the filesystem is read only and i cant
  find a editor too. :(
 
 Boot from your install disk and chose fixit from the menu.  When you 
 get a shell, mount the drive that has xorg.conf and edit the file.
 
 HTH,
 Micah
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

As an alternative, try pressing ctrl-alt-F2, and you should get a text
login.  You should be able to log in as root and fix xorg.conf.


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


Disc space

2005-10-26 Thread zielik
I have too small /tmp partition, and i would like to make it bigger without 
reinstalling system, how to do it ?


Kinsey - film o człowieku, który rozpętał rewolucję 
seksualną! Premiera DVD - 20 października!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fkinsey.htmlsid=545


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


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Igor Robul

Rob wrote:


Indeed, but with this link, I get:

$ xmgrace
Shared object nss_dns.so.1 not found,
required by xmgrace
DL module load failed: USE pow TYPE F_OF_DD
FROM /usr/lib/libm.so  
Error at line 1


 

All works fine for me. I think this is your local problem. Check 
/etc/nsswitch.conf

Mine is bellow:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files

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


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Robert Huff

Andrew P. writes:
   file /usr/bin/man
  
   on my machine outputs:
  
   /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1
   (FreeBSD), for FreeBSD 5.4-CURRENT (rev 3), dynamically linked
   (uses shared libs), stripped 
  
  Oh, it's just that file hasn't leared anything about
  FreeBSD 6 yet, so it doesn't display version info
  when run against my binaries.

Curious.

huff@ file /usr/bin/man
/usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for 
FreeBSD 7.0 (73), dynamically linked (uses shared libs), stripped
huff@ 


Robert Huff

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


Re: Disc space

2005-10-26 Thread Igor Robul

zielik wrote:


I have too small /tmp partition, and i would like to make it bigger without 
reinstalling system, how to do it ?
 


1) you can buy another disk
2) you can buy more memory and use memory backed md (4) /tmp
3) you can make symbolic link from /tmp to some other place
4) you can check your application, which request big /tmp and tell this 
app about other location for temporary space
4a) You may consider changing your application. For example uw-imap 
needs big /tmp for big imap folders, but courier or cyrus does not.
5) if you have spare disk and time you can boot from CD and manually 
repartition your primary disk, using spare disk as backup and temporary 
space.

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


Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Rob


--- Igor Robul [EMAIL PROTECTED] wrote:

 Rob wrote:
 
 Indeed, but with this link, I get:
 
 $ xmgrace
 Shared object nss_dns.so.1 not found,
  required by xmgrace
 DL module load failed: USE pow TYPE F_OF_DD
  FROM /usr/lib/libm.so  
 Error at line 1
 
   
 
 All works fine for me. I think this is your local
 problem.

Aargh, seems I'm back where I was a few hours ago...
...me having a problem that nobody understands.

 Check 
 /etc/nsswitch.conf
 Mine is bellow:
 group: compat
 group_compat: nis
 hosts: files dns
 networks: files
 passwd: compat
 passwd_compat: nis
 shells: files

I have exactly same; I have never touched that
file! But, eh, what does this have to do with
the library stuff?

Anyway, are you sure there's no gracerc.user file
in the directory from where you start xmgrace,
since that would prevent reading the other one
in $HOME/.grace/ , and hence you wouldn't see
the library problem !!

Rob.




__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Andrew P.
On 10/26/05, Robert Huff [EMAIL PROTECTED] wrote:

 Andrew P. writes:
file /usr/bin/man
   
on my machine outputs:
   
/usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), for FreeBSD 5.4-CURRENT (rev 3), dynamically linked
(uses shared libs), stripped
 
   Oh, it's just that file hasn't leared anything about
   FreeBSD 6 yet, so it doesn't display version info
   when run against my binaries.

 Curious.

 huff@ file /usr/bin/man
 /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), 
 for FreeBSD 7.0 (73), dynamically linked (uses shared libs), stripped
 huff@


 Robert Huff

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


I tried both versions of file (base system and ports)
on 6.0 RC1, none showed any info about that
/usr/bin/man (or any other system binary I tried).

On my firewall (5.4) it works.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Crontab and GPG?

2005-10-26 Thread Bob Hall
On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
 On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
  On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
   On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
 Hello!  I'm attempting to run GPG from cron, and it's not working.  I 
 can run the script from the command line, and all works perfectly.  
 When I try to run it from cron, however, it doesn't work.  The 
 crontab calls this script, called pgpdecrypt with the following 
 crontab line:
 
 */1*   *   *   *   root/bin/bash 
 /etc/pgpdecrypt
 
 The /bin/bash wasn't originally there; I added it to make sure that 
 the script was using the correct shell.  Still no luck.  Here's the 
 script that it calls:
 
 echo  /etc/pgpdecrypt.logger PGP Decrypter Starting

Take the /bin/bash out of your crontab. Put
#!/bin/bash
at the beginning of your script.
   
   What do you think that will do to help?  It's a NOP, so it can't fix
   the problem (which is because of bad assumptions about PATH, per my
   other message).
  
  Well, I don't know whether #! is a NOP or not. It does tell the script
  which executable to use in executing the script.
 
 Yeah, which he was already doing explicitly (see above) ;-)

Which is irrelevant. The fact is that if you put the path at the
beginning of the script, the script will run the same under cron as it
does under the shell you tested it with. If the OP had put #!/bin/bash
at the beginning of the script when he tested it, he would have been
able to debug it without being confused by the fact that it ran under
his shell and not under cron. Because the script ran under his shell but
not under cron, he was deluded into thinking that the problem had to do
with cron, and so he was looking for the solution in the wrong place. 

For several different reasons, it's better to have the executable path
in the script instead of in the crontab. It's not that you can't get the
job to run that way, it's just bad practice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


remove distributions before installworld?

2005-10-26 Thread N Deepak
Hi,

  I have installed FreeBSD 5.3-RELEASE through CD-ROM.

  I used cvsup to sync my /usr/src directory to the latest STABLE tree.

  The problem is that I had installed some distributions that I no
  longer want to keep.  Also, I don't need lpr (this can be disabled
  through make.conf).  So, is there a way to remove these files, before
  I do 'make installworld'?

  I did not find any information on this in the handbook.

Thanks,
Deepak

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


ASP emulator?

2005-10-26 Thread Brien East

Is there some program in 'ports' that will allow me run a website using .asp
on a FreeBSD server?


Brien East
Canada's Vacation Guide Since 1996
Publicist web development  marketing.
www.TourWorld.com
www.TrueNorthTravel.com
705-812-1415 Office
705-287-1095 Residence



_ NOD32 EMON 1.1265 (20051025) information _

This message was checked by NOD32 antivirus system
http://www.eset.com

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

Re: remove distributions before installworld?

2005-10-26 Thread Giorgos Keramidas
On 2005-10-26 08:29, N Deepak [EMAIL PROTECTED] wrote:
 Hi,

 I have installed FreeBSD 5.3-RELEASE through CD-ROM.

 I used cvsup to sync my /usr/src directory to the latest STABLE tree.

 The problem is that I had installed some distributions that I no
 longer want to keep.  Also, I don't need lpr (this can be disabled
 through make.conf).  So, is there a way to remove these files, before
 I do 'make installworld'?

 I did not find any information on this in the handbook.

The ``FreeBSD From Scratch'' article has some nice tips about doing
clean installations, which you may find interesting:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/

I don't use the scripts from that article, but you don't *HAVE* to use
them either.  The last time I did this, I used a second partition as a
'temporary boot area'.  I had the following original partitions:

/
/var
/usr
/home

Doing all my builds under /home/build as the 'build' user allows me to
boot from another disk, mount my original /home and install a new
snapshot with the following rough plan:

  * Mount a spare partition with at least 200 MB of space under /mnt/new

  * Install everything with make DESTDIR=/mnt/new installworld

  * Backup user passwords and a few minor /etc configuration options
that I wanted to keep in /mnt/new/etc.tar.gz (i.e. user passwords,
network setup files, etc).

  * Boot from the /mnt/new partition

  * Restore my /etc files

  * Wipe the old /, /var and /usr partitions with newfs

  * Remount the 'original' /, /var and /usr partitions under /mnt/root

  * Remount my original /home partition under /home (of the new disk)

  * Install everything again in their final location with:

# cd /home/build/src
# env MAKEOBJDIRPREFIX=/home/build/obj \
  make DESTDIR=/mnt/root installworld

  * Run mergemaster to merge the new configuration files in /mnt/root
with:

# env MAKEOBJDIRPREFIX=/home/build/obj \
  mergemaster -m /home/build/src/etc -D /mnt/root

  * Set up the boot loader to boot from the 'original' root

That's _not_ a detailed guide and I may have forgotten some of the
details, since I'm typing this away from my notebook at home.  It
may help you make your own plan though...

Regards,
Giorgos


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


Re: Crontab and GPG?

2005-10-26 Thread Kris Kennaway
On Wed, Oct 26, 2005 at 11:23:29AM -0400, Bob Hall wrote:
 On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
  On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
   On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
 On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
  Hello!  I'm attempting to run GPG from cron, and it's not working.  
  I can run the script from the command line, and all works 
  perfectly.  When I try to run it from cron, however, it doesn't 
  work.  The crontab calls this script, called pgpdecrypt with the 
  following crontab line:
  
  */1*   *   *   *   root/bin/bash 
  /etc/pgpdecrypt
  
  The /bin/bash wasn't originally there; I added it to make sure that 
  the script was using the correct shell.  Still no luck.  Here's the 
  script that it calls:
  
  echo  /etc/pgpdecrypt.logger PGP Decrypter Starting
 
 Take the /bin/bash out of your crontab. Put
   #!/bin/bash
 at the beginning of your script.

What do you think that will do to help?  It's a NOP, so it can't fix
the problem (which is because of bad assumptions about PATH, per my
other message).
   
   Well, I don't know whether #! is a NOP or not. It does tell the script
   which executable to use in executing the script.
  
  Yeah, which he was already doing explicitly (see above) ;-)
 
 Which is irrelevant. The fact is that if you put the path at the
 beginning of the script, the script will run the same under cron as it
 does under the shell you tested it with. If the OP had put #!/bin/bash
 at the beginning of the script when he tested it, he would have been
 able to debug it without being confused by the fact that it ran under
 his shell and not under cron.

No, this was because his environment was not as he expected it to be
when run from cron, as I've explained to you twice.  Just making the
NOP change of adding #!/bin/bash when the script is already being run
by /bin/bash will not affect the environment.

Kris


pgpUi5ioIFg4a.pgp
Description: PGP signature


Re: Maintaining my music collection (off topic)

2005-10-26 Thread Will Maier
On Wed, Oct 26, 2005 at 06:39:48AM -0400, Parv wrote:
 Looks like this script is not going to work in FreeBSD /bin/sh.
 Install one of shells/bash* (guessing) ports and run this script
 under that shell (unless somebody does the conversion for you).

FreeBSD sh (1) supports parameter expansion, including expansions used
in the referenced function.

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

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


RE: Hardware selection for comment.

2005-10-26 Thread Murray Taylor
 
Thanks to those who commented
 - the PSU is uprated to 600 W now
 
and I have one (hopefully last) question re the video card

The supplier has suggested the X800 GT graphics card (a ATI Radeon based
card)
instead of the nVidia card mentioned below.

Comments welcome

cheers
mjt



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Murray Taylor
Sent: Tuesday, October 18, 2005 10:43 PM
To: freebsd-questions@freebsd.org
Subject: Hardware selection for comment.

Comments requested from people who may have used / broken the 
following components.
I'm looking for items like unwanted interactions, driver probs, etc.

From looking at the 5.4 hardware page 
http://www.freebsd.org/releases/5.4R/hardware-i386.html 
the general selection seems to be
supported, but I have mental question marks against the graphics card
and the response time of the monitor (I intend to use KDE and Xorg, am
not
interested in flashy games / video, but do want sharp, full colour
resolution)
There seem to be grumbles from some linux forums re the 6600 locking up 
occasionally...?


Case   CoolerMaster Centurion ATX Tower Black/Silver
380Watt TruPower

CPUIntel Pentium 4 640 3.2Ghz 2MB 775
M/B Asus P5WD2 -  Premium M/B

http://au.asus.com/products4.aspx?modelmenu=2model=493l1=3l2=11l3=18
4

Ram   2.048GB (2x-1.024GB) CL3.0 DDR2 533

HDDSeagate 300GB 7200RPM 8MB
Optical Drive   Pioneer 110-D 16 x DVD/RW Black w/NERO
FDD  1.44MB Floppy Drive Black

Graphics NVidia Sparkle GF 6600GT 128MB PCIE

TapeCertance DDS5 Tape Drive
SCSI CardAdaptec  19160 SCSI Card
SCSI Cable   LVD SCSI Cable

K/B, Mouse   Microsoft Multimedia Desktop K/B 
 Optical Mouse Black 

MonitorSONY 17 SDMX75KB DVI-D 12MS Black LCD
 



thanks all
mjt
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
***This Email has been scanned for Viruses by MailMarshal.***
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Crontab and GPG?

2005-10-26 Thread Bob Hall
On Wed, Oct 26, 2005 at 12:31:44PM -0400, Kris Kennaway wrote:
 On Wed, Oct 26, 2005 at 11:23:29AM -0400, Bob Hall wrote:
  On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
   On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
 On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
  On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
   Hello!  I'm attempting to run GPG from cron, and it's not 
   working.  I can run the script from the command line, and all 
   works perfectly.  When I try to run it from cron, however, it 
   doesn't work.  The crontab calls this script, called pgpdecrypt 
   with the following crontab line:
   
   */1*   *   *   *   root/bin/bash 
   /etc/pgpdecrypt
   
   The /bin/bash wasn't originally there; I added it to make sure 
   that the script was using the correct shell.  Still no luck.  
   Here's the script that it calls:
   
   echo  /etc/pgpdecrypt.logger PGP Decrypter Starting
  
  Take the /bin/bash out of your crontab. Put
  #!/bin/bash
  at the beginning of your script.
 
 What do you think that will do to help?  It's a NOP, so it can't fix
 the problem (which is because of bad assumptions about PATH, per my
 other message).

Well, I don't know whether #! is a NOP or not. It does tell the script
which executable to use in executing the script.
   
   Yeah, which he was already doing explicitly (see above) ;-)
  
  Which is irrelevant. The fact is that if you put the path at the
  beginning of the script, the script will run the same under cron as it
  does under the shell you tested it with. If the OP had put #!/bin/bash
  at the beginning of the script when he tested it, he would have been
  able to debug it without being confused by the fact that it ran under
  his shell and not under cron.
 
 No, this was because his environment was not as he expected it to be
 when run from cron, as I've explained to you twice.  Just making the
 NOP change of adding #!/bin/bash when the script is already being run
 by /bin/bash will not affect the environment.

I doubt very much that putting the wrong path into the environmental
variables is going to help anything. As I explained in a section that you
deleted, you need to run whereis bash and get the correct path,
instead of /bin/bash. Had he put #!/bin/bash at the beginning of
the script when he was testing it in his account shell, he probably
would have realized sooner than he was using the wrong path. Because he
was using bad practice, he didn't discover that there was a problem
until he switched to cron, at which point he thought the problem had
something to do with cron. Using bad practice didn't cause the error,
but it made it harder to diagnose the error.

Proper procedure:
1) Put #!/usr/local/bin/bash at the head of the script file (or whatever
the correct path to bash is on your system). If it will work,
#!/bin/sh is more portable.
2) Make your script executable by the user that cron will run as.
(Otherwise, you'll get a permission error.)
3) Put the path to your script in the crontab.

This is currently working for me, without changing cron's environment,
or mine.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


process path

2005-10-26 Thread Daniel Molina Wegener

Hello,

   ¿Exists some way to know which is the route to the program
that has a certain process in C?

Regards.
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Crontab and GPG?

2005-10-26 Thread Kris Kennaway
On Wed, Oct 26, 2005 at 07:51:03PM -0400, Bob Hall wrote:
 On Wed, Oct 26, 2005 at 12:31:44PM -0400, Kris Kennaway wrote:
  On Wed, Oct 26, 2005 at 11:23:29AM -0400, Bob Hall wrote:
   On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
 On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
  On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
   On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
Hello!  I'm attempting to run GPG from cron, and it's not 
working.  I can run the script from the command line, and all 
works perfectly.  When I try to run it from cron, however, it 
doesn't work.  The crontab calls this script, called 
pgpdecrypt with the following crontab line:

*/1*   *   *   *   root/bin/bash 
/etc/pgpdecrypt

The /bin/bash wasn't originally there; I added it to make sure 
that the script was using the correct shell.  Still no luck.  
Here's the script that it calls:

echo  /etc/pgpdecrypt.logger PGP Decrypter Starting
   
   Take the /bin/bash out of your crontab. Put
 #!/bin/bash
   at the beginning of your script.
  
  What do you think that will do to help?  It's a NOP, so it can't fix
  the problem (which is because of bad assumptions about PATH, per my
  other message).
 
 Well, I don't know whether #! is a NOP or not. It does tell the 
 script
 which executable to use in executing the script.

Yeah, which he was already doing explicitly (see above) ;-)
   
   Which is irrelevant. The fact is that if you put the path at the
   beginning of the script, the script will run the same under cron as it
   does under the shell you tested it with. If the OP had put #!/bin/bash
   at the beginning of the script when he tested it, he would have been
   able to debug it without being confused by the fact that it ran under
   his shell and not under cron.
  
  No, this was because his environment was not as he expected it to be
  when run from cron, as I've explained to you twice.  Just making the
  NOP change of adding #!/bin/bash when the script is already being run
  by /bin/bash will not affect the environment.
 
 I doubt very much that putting the wrong path into the environmental
 variables is going to help anything.

PATH does not include /usr/local when run from cron, and his script
assumes that it does (it calls gpg not /usr/local/bin/gpg).

kKris

pgpqeDCS8peXS.pgp
Description: PGP signature


Re: Hardware selection for comment.

2005-10-26 Thread Micah

Murray Taylor wrote:
 
Thanks to those who commented

 - the PSU is uprated to 600 W now
 
and I have one (hopefully last) question re the video card


The supplier has suggested the X800 GT graphics card (a ATI Radeon based
card)
instead of the nVidia card mentioned below.

Comments welcome

cheers
mjt



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Murray Taylor
Sent: Tuesday, October 18, 2005 10:43 PM
To: freebsd-questions@freebsd.org
Subject: Hardware selection for comment.

Comments requested from people who may have used / broken the 
following components.

I'm looking for items like unwanted interactions, driver probs, etc.

From looking at the 5.4 hardware page 
http://www.freebsd.org/releases/5.4R/hardware-i386.html 
the general selection seems to be

supported, but I have mental question marks against the graphics card
and the response time of the monitor (I intend to use KDE and Xorg, am
not
interested in flashy games / video, but do want sharp, full colour
resolution)
There seem to be grumbles from some linux forums re the 6600 locking up 
occasionally...?



Case   CoolerMaster Centurion ATX Tower Black/Silver
380Watt TruPower

CPUIntel Pentium 4 640 3.2Ghz 2MB 775
M/B Asus P5WD2 -  Premium M/B

http://au.asus.com/products4.aspx?modelmenu=2model=493l1=3l2=11l3=18
4

Ram   2.048GB (2x-1.024GB) CL3.0 DDR2 533

HDDSeagate 300GB 7200RPM 8MB
Optical Drive   Pioneer 110-D 16 x DVD/RW Black w/NERO
FDD  1.44MB Floppy Drive Black

Graphics NVidia Sparkle GF 6600GT 128MB PCIE

TapeCertance DDS5 Tape Drive
SCSI CardAdaptec  19160 SCSI Card
SCSI Cable   LVD SCSI Cable

K/B, Mouse   Microsoft Multimedia Desktop K/B 
 Optical Mouse Black 


MonitorSONY 17 SDMX75KB DVI-D 12MS Black LCD
 




thanks all
mjt


I'd stay away from ATI unless you are sure FreeBSD/Xorg/DRI supports it. 
 I have a cheap ATI based card and the performance on this machine, 
even 2D stuff, sucks because the card is only barely supported.


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


RE: Hardware selection for comment.

2005-10-26 Thread Murray Taylor
 

---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
-Original Message-
From: Micah [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 27, 2005 10:09 AM
To: Murray Taylor
Cc: freebsd-questions@freebsd.org
Subject: Re: Hardware selection for comment.

Murray Taylor wrote:
  
 Thanks to those who commented
  - the PSU is uprated to 600 W now
  
 and I have one (hopefully last) question re the video card
 
 The supplier has suggested the X800 GT graphics card (a ATI Radeon
based
 card)
 instead of the nVidia card mentioned below.
 
 Comments welcome
 
 cheers
 mjt
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Murray
Taylor
 Sent: Tuesday, October 18, 2005 10:43 PM
 To: freebsd-questions@freebsd.org
 Subject: Hardware selection for comment.
 
 Comments requested from people who may have used / broken the 
 following components.
 I'm looking for items like unwanted interactions, driver probs, etc.
 
From looking at the 5.4 hardware page 
 http://www.freebsd.org/releases/5.4R/hardware-i386.html 
 the general selection seems to be
 supported, but I have mental question marks against the graphics card
 and the response time of the monitor (I intend to use KDE and Xorg, am
 not
 interested in flashy games / video, but do want sharp, full colour
 resolution)
 There seem to be grumbles from some linux forums re the 6600 locking
up 
 occasionally...?
 
 
 Case   CoolerMaster Centurion ATX Tower
Black/Silver
 380Watt TruPower
 
 CPUIntel Pentium 4 640 3.2Ghz 2MB 775
 M/B Asus P5WD2 -  Premium M/B
   

http://au.asus.com/products4.aspx?modelmenu=2model=493l1=3l2=11l3=18
 4
 
 Ram   2.048GB (2x-1.024GB) CL3.0 DDR2 533
 
 HDDSeagate 300GB 7200RPM 8MB
 Optical Drive   Pioneer 110-D 16 x DVD/RW Black w/NERO
 FDD  1.44MB Floppy Drive Black
 
 Graphics NVidia Sparkle GF 6600GT 128MB PCIE
 
 TapeCertance DDS5 Tape Drive
 SCSI CardAdaptec  19160 SCSI Card
 SCSI Cable   LVD SCSI Cable
 
 K/B, Mouse   Microsoft Multimedia Desktop K/B 
  Optical Mouse Black 
 
 MonitorSONY 17 SDMX75KB DVI-D 12MS Black LCD
  
 
 
 
 thanks all
 mjt

I'd stay away from ATI unless you are sure FreeBSD/Xorg/DRI supports it.

  I have a cheap ATI based card and the performance on this machine, 
even 2D stuff, sucks because the card is only barely supported.

HTH,
Micah


Thanks Micah,

Gawd... 
Instead of saying what the supplier is suggesting, maybe I should 
turn it about and ask for suggestions re graphics cards that people
are using that have proven support and capabilities under my proposed 
os/hardware platform choice .

So --- 
What are you using ??

mjt

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Murray Taylor
Bytecraft Systems
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: [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: Disc space

2005-10-26 Thread RW
On Wednesday 26 October 2005 16:08, Igor Robul wrote:

 2) you can buy more memory and use memory backed md (4) /tmp

And you can create a 100 MB memory-backed /tmp simply by adding the following 
to rc.conf

tmpmfs=YES 
tmpsize=100m 
tmpmfs_flags=-SM

If you omit the tmpmfs_flags line, it will default to swap-backed /tmp, which 
may be more useful.

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


ext2fs and NFS

2005-10-26 Thread Bob Hepple
Hello,

Google and the search screen at www.FreeBSD.org tell me that this
question has been asked before but I can't find an answer ...

I need to export an ext2fs file system mounted at /mnt/guest - it's a
removable IDE disc that I carry to  from my linux system at work...

mount shows:

/dev/ad2s1 on /mnt/guest (ext2fs, local)

So, I put an entry into /etc/exports:

/mnt/guest -alldirs -network 192.168.254.0 -mask 255.255.255.0

and then:

kill -s HUP `cat /var/run/mountd.pid`

showmount localhost shows nothing and in /var/log/messages I have:

Oct 27 11:36:01 raita kernel: ext2fs doesn't support the old mount syscall
Oct 27 11:36:01 raita mountd[417]: can't export /mnt/guest
Oct 27 11:36:01 raita mountd[417]: bad exports list line /mnt/guest -network 
192.168.254.0 -mask 255.255.255.0

... so there's really no way to NFS export an ext2fs file system???


Yow!




Thanks


Bob


-- 
Bob Hepple
mailto:[EMAIL PROTECTED] http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error installing php5.0.4 in freebsd 5.4 Stable

2005-10-26 Thread RdBSD
Dear All,
 I Have a Problem when installing php5.0.4 from source or from ports.
 Here's the detail of errors :
 www:make
gcc -Iext/libxml/
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/
-DPHP_ATOM_INC 
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/include
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/main
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4-I/usr/local/include/libxml2
-I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/mysql/include
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/TSRM
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/Zend -g -O2 -c
/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/libxml.c
-o ext/libxml/libxml.o  echo  ext/libxml/libxml.lo
In file included from /usr/local/include/libxml2/libxml/parser.h:781,
from /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4
/ext/libxml/libxml.c:38:
/usr/local/include/libxml2/libxml/encoding.h:136: error: syntax error before
iconv_t
*** Error code 1

Stop in /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4.

 Can anybody help me ?

 My System :

FreeBSD 5.4 Stable

Apache 1.3.1

PHP 5.0.4

Mysql 5

And other modules for Apache

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


Console size

2005-10-26 Thread Jared Feider
I am new to bsd.  When I boot my dell Latitude C610 the console much smaller
than the full screen would allow.  When I start X it does go full screen.  I
know in Linux I could run lilo to change the console settings.  What would
be the parallel in FreeBSD 5.4?

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


Re: Hardware selection for comment.

2005-10-26 Thread Joshua Tinnin
On Wed 26 Oct 05 18:17, Murray Taylor [EMAIL PROTECTED] 
wrote:
 I'd stay away from ATI unless you are sure FreeBSD/Xorg/DRI supports
 it.

   I have a cheap ATI based card and the performance on this machine,
 even 2D stuff, sucks because the card is only barely supported.

 HTH,
 Micah


 Thanks Micah,

 Gawd...
 Instead of saying what the supplier is suggesting, maybe I should
 turn it about and ask for suggestions re graphics cards that people
 are using that have proven support and capabilities under my proposed
 os/hardware platform choice .

 So ---
 What are you using ??

Actually, I'm using an ATI Radeon 9600XT. It's supported, but just in 
the basic sense. I don't have hardware acceleration or 3D at all, but I 
don't necessarily need it for FreeBSD. The main reason I got the card 
in the first place is to play games on Windoze, which is the only 
reason I use that OS anymore. As a dual boot it works fine, if a bit 
sluggish on the FreeBSD desktop side (a gig of RAM helps). Having said 
that, my next plan is to separate the two so that I have a game machine 
and a workstation running FreeBSD, along with a dedicated server for 
DNS/mail/spam filtering. When I do that, I'll probably get a halfway 
decent NVidia card for the workstation and keep the ATI for Windoze. 
Then to upgrade the game machine ... but I get ahead of myself ...

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


Re: ASP emulator?

2005-10-26 Thread Eric Schuele

Brien East wrote:

Is there some program in 'ports' that will allow me run a website using .asp
on a FreeBSD server?



Never used it myself but try...

  http://www.apache-asp.org/

Might be what your looking for.



Brien East
Canada's Vacation Guide Since 1996
Publicist web development  marketing.
www.TourWorld.com
www.TrueNorthTravel.com
705-812-1415 Office
705-287-1095 Residence



_ NOD32 EMON 1.1265 (20051025) information _

This message was checked by NOD32 antivirus system
http://www.eset.com





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



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


Linksys Wireless 802.11ag compatability with FreeBSD RELENG_6 ??

2005-10-26 Thread Kelly Hays
Has anyone tried to use a Linksys WPC55AG PCMCIA wireless card with FreeBSD?
Any input would be welcome. I did a search and found one thread from early
Aug. where Sam found a bug and indicated that it would be fixed.

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


Re: Error installing php5.0.4 in freebsd 5.4 Stable

2005-10-26 Thread Michael C. Shultz
On Wednesday 26 October 2005 18:57, RdBSD wrote:
 Dear All,
  I Have a Problem when installing php5.0.4 from source or from ports.
  Here's the detail of errors :
  www:make
 gcc -Iext/libxml/
 -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/
 -DPHP_ATOM_INC
 -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/include
 -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/main
 -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4-I/usr/local/incl
ude/libxml2 -I/usr/local/include
 -I/usr/local/include/freetype2 -I/usr/local/mysql/include
 -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/TSRM
 -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/Zend -g -O2 -c
 /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/libxml.
c -o ext/libxml/libxml.o  echo  ext/libxml/libxml.lo
 In file included from /usr/local/include/libxml2/libxml/parser.h:781,
 from /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4
 /ext/libxml/libxml.c:38:
 /usr/local/include/libxml2/libxml/encoding.h:136: error: syntax error
 before iconv_t
 *** Error code 1

 Stop in /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4.

  Can anybody help me ?

  My System :

 FreeBSD 5.4 Stable

 Apache 1.3.1

 PHP 5.0.4

 Mysql 5

 And other modules for Apache

  Thanks.



The current version seems to be php5-5.0.5_1, is your ports tree up to date?

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


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Joshua Tinnin
On Wed 26 Oct 05 09:18, Andrew P. [EMAIL PROTECTED] wrote:
 On 10/26/05, Robert Huff [EMAIL PROTECTED] wrote:
  Andrew P. writes:
 file /usr/bin/man

 on my machine outputs:

 /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version
 1 (FreeBSD), for FreeBSD 5.4-CURRENT (rev 3), dynamically
 linked (uses shared libs), stripped
  
Oh, it's just that file hasn't leared anything about
FreeBSD 6 yet, so it doesn't display version info
when run against my binaries.
 
  Curious.
 
  huff@ file /usr/bin/man
  /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1
  (FreeBSD), for FreeBSD 7.0 (73), dynamically linked (uses
  shared libs), stripped huff@

 I tried both versions of file (base system and ports)
 on 6.0 RC1, none showed any info about that
 /usr/bin/man (or any other system binary I tried).

 On my firewall (5.4) it works.

That's odd. Am on 6.0-RC1:

# uname -a
FreeBSD smogmonster.local 6.0-RC1 FreeBSD 6.0-RC1 #0: Thu Oct 20 
14:41:23 MDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL60  i386

% file /usr/bin/xargs
/usr/bin/xargs: ELF 32-bit LSB executable, Intel 80386, version 1 
(FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared 
libs), stripped

% file /usr/bin/man
/usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 
(FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared 
libs), stripped

% file /bin/echo 
/bin/echo: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), 
for FreeBSD 6.0 (600034), dynamically linked (uses shared libs), 
stripped


I know I built valgrind just a few days ago:

% file /usr/local/bin/valgrind
/usr/local/bin/valgrind: ELF 32-bit LSB executable, Intel 80386, version 
1 (FreeBSD), for FreeBSD 6.0 (600034), statically linked, stripped

vim, too:

% file /usr/local/bin/vim 
/usr/local/bin/vim: ELF 32-bit LSB executable, Intel 80386, version 1 
(FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared 
libs), stripped


I'm not sure what it means when this information isn't accessible, but 
I'd say it's symptomatic of another issue, and most likely it's not 
good. If you built from source, did you follow the procedure described 
in the handbook? 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Not sure, but are you installing kernel after building world, and then 
installing world in single user? I've seen strange things happen if you 
don't do this procedure the right way. Of course, I'm just guessing, as 
I'm not at all sure what could be causing this problem or what your 
exact circumstances are.

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


Re: Cellular Modem, PPP, and FreeBSD

2005-10-26 Thread Ian Smith
Hi Jordon,

This was posted to -net, but I suspect -questions is more appropriate.

On Wed, 26 Oct 2005, Jordon Hofer wrote:

  Greetings.  I am running a stripped down version of FreeBSD 4.11 on an
  embedded x86 board.  I have an embedded cellular modem module (from
  MultiTech) that is attached to the serial port (going through the necessary
  RS232-TTL chip).  I am using PPP to connect to the Internet through verizon.
  Everything works well until the connection gets interrupted.  I am using
  ddial mode, so if the connection drops, it will redial.  From the logs, I
  can see that PPP tries to redial, but after the initial connection, the
  modem does not respond to any at commands.  If I power-cycle the modem, it
  will connect just fine the next time PPP tries to reconnect.

Sounds like your modem isn't setup to automatically reset (ie, run ATZ) 
on a disconnect.  Some Multitechs have had weird command sequences over
the years, so I don't know the extent to which it it runs 'standard'
Hayes-type AT commands, but D2 is most likely what you need.

D2 causes a reset (ATZ) on lowering of the DTR line.  For this to work
properly your serial port must be driving DTR correctly, ie be setup
for 'hardware handshaking'.  You might want to test DTR with a meter?

Failing DTR reset working properly, if the modem is stuck in data mode,
you can have your initialisation send a pause '+++' pause sequence
to get the modem back into command mode (returning 'OK'), then send ATZ
plus whatever init string you need, but this is last resort measure. 
mgetty, for example, does this if lowering DTR has failed to evoke an
'OK' modem response, after a call on inbound modems. 

  I realize that there is a good chance that the problem is in the modem.  I
  am just wondering if there are any cases where you need a special chat
  script to handle disconnects to return the modem to a clean state.

If the modem is configured correctly, and your serial port control lines
are working as they should, it should go.  Perhaps play around with the
modem using tip(1); see also modems(5), or use another terminal program.

Then if you're still in trouble, maybe post your modem init string from
ppp.conf, and perhaps a dump of your modem settings after an ATZ .. ATV
will do this for most modems, but check your particular modem's manual.

Cheers, Ian 

  Also, if there is a better group for this, please let me know.
  
  Thanks.
  
  
  Jordon Hofer
  Dir. Software Engineering
  AgSense LLC

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


problem running cvsup-mirror on FreeBSd 6.X

2005-10-26 Thread NMH
Hi
 I am trying out the cvsup mirror program and thought
I would laso give 6.X a whirl but I seem to have run
into a bug? 

CVSup update begins at 2005-10-26 19:48:40
Updating from cvsup-master.freebsd.org
Connected to cvsup-master.freebsd.org
Authentication required, but could not open
/home/cvsupin/.cvsup/auth
CVSup update ends at 2005-10-26 19:48:40

 If I create that file I get:

  CVSup update begins at 2005-10-26 20:33:07
Updating from cvsup-master.freebsd.org
Connected to cvsup-master.freebsd.org
/home/cvsupin/.cvsup/auth:1: Missing client name
CVSup update ends at 2005-10-26 20:33:07

 After much searching I found that I need something in
  the order of
serverName:clientName:Password:comment

 I tried freefall.freebsd.org as that was what was
setup for other things.. But that fails with:
 Server Error: Authentication Fails.

 Any tips much appreciatted. I just want to setup my
own CVS site so I can stop downloading multiple times
from the nice mirror sites.



  Thanks!

  NMH



The Large Print Giveth And The Small Print Taketh Away
 -- Anon



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem running cvsup-mirror on FreeBSd 6.X

2005-10-26 Thread Dimitar Vasilev
  Server Error: Authentication Fails.

  Any tips much appreciatted. I just want to setup my
 own CVS site so I can stop downloading multiple times
 from the nice mirror sites.
Freefal is for public CVSUP servers that you are currently using.
You cannot have access to it, unless running public CVSUP repository.
See
http://people.freebsd.org/~jdp/cvpasswd/
http://people.freebsd.org/~jdp/mirror/
Just change your supfile to the nearest mirror and sync from it.
--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Crontab and GPG?

2005-10-26 Thread Bob Hall
On Wed, Oct 26, 2005 at 08:06:28PM -0400, Kris Kennaway wrote:
 On Wed, Oct 26, 2005 at 07:51:03PM -0400, Bob Hall wrote:
  On Wed, Oct 26, 2005 at 12:31:44PM -0400, Kris Kennaway wrote:
   On Wed, Oct 26, 2005 at 11:23:29AM -0400, Bob Hall wrote:
On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
 On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
  On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
   On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
 Hello!  I'm attempting to run GPG from cron, and it's not 
 working.  I can run the script from the command line, and all 
 works perfectly.  When I try to run it from cron, however, it 
 doesn't work.  The crontab calls this script, called 
 pgpdecrypt with the following crontab line:
 
 */1*   *   *   *   root/bin/bash 
 /etc/pgpdecrypt
 
 The /bin/bash wasn't originally there; I added it to make 
 sure that the script was using the correct shell.  Still no 
 luck.  Here's the script that it calls:
 
 echo  /etc/pgpdecrypt.logger PGP Decrypter Starting

Take the /bin/bash out of your crontab. Put
#!/bin/bash
at the beginning of your script.
   
   What do you think that will do to help?  It's a NOP, so it can't 
   fix
   the problem (which is because of bad assumptions about PATH, per 
   my
   other message).
  
  Well, I don't know whether #! is a NOP or not. It does tell the 
  script
  which executable to use in executing the script.
 
 Yeah, which he was already doing explicitly (see above) ;-)

Which is irrelevant. The fact is that if you put the path at the
beginning of the script, the script will run the same under cron as it
does under the shell you tested it with. If the OP had put #!/bin/bash
at the beginning of the script when he tested it, he would have been
able to debug it without being confused by the fact that it ran under
his shell and not under cron.
   
   No, this was because his environment was not as he expected it to be
   when run from cron, as I've explained to you twice.  Just making the
   NOP change of adding #!/bin/bash when the script is already being run
   by /bin/bash will not affect the environment.
  
  I doubt very much that putting the wrong path into the environmental
  variables is going to help anything.
 
 PATH does not include /usr/local when run from cron, and his script
 assumes that it does (it calls gpg not /usr/local/bin/gpg).

Then he can include it in his script. That's superior to creating a
potential security problem by giving cron more information than it
needs, particularly when cron is running as root. It's the script that
needs to know the location of gpg, not cron.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lost in nowhere land on 5.2.1

2005-10-26 Thread Brian Howick
I set up a copy of 5.2.1 RELEASE a few years back and I am trying to upgrade
it.
 
The problem is I set it up over the net and not from a CD.. so when I try to
upgrade I am told that whatever FTP server I connect to does not have the
files...
 
What can I do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: math/grace port: libXcursor.so.1.0 not found ??

2005-10-26 Thread Igor Robul

Rob wrote:

 


Aargh, seems I'm back where I was a few hours ago...
...me having a problem that nobody understands.

 

Check 
/etc/nsswitch.conf

Mine is bellow:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
   



I have exactly same; I have never touched that
file! But, eh, what does this have to do with
the library stuff?

Anyway, are you sure there's no gracerc.user file
in the directory from where you start xmgrace,
since that would prevent reading the other one
in $HOME/.grace/ , and hence you wouldn't see
the library problem !!
 


%mkdir 
%cd /
%cat ~/.grace/gracerc.user
USE pow TYPE f_of_dd FROM /usr/lib/libm.so
%ls
%xmgrace
%



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