How to make Windows application run under emulator wine show UNICODE characters?

2008-07-24 Thread Yuri

All UNICODE characters show as small rectangles.

Anybody knows which fonts should I install to cure this?

Yuri

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


How to compile a c file into out file?

2008-07-24 Thread EdwardKing
I compile a c file,like follows:
$gcc other1.obj other2.obj myfile.c

Then it create a a.out file.my question is how to create a file named 
myfile.out instead of name a.out?


--
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) is intended only for the use of the intended 
recipient and may be confidential and/or privileged of Neusoft Group Ltd., its 
subsidiaries and/or its affiliates. If any reader of this communication is not 
the intended recipient, unauthorized use, forwarding, printing, storing, 
disclosure or copying is strictly prohibited, and may be unlawful. If you have 
received this communication in error, please immediately notify the sender by 
return e-mail, and delete the original message and all copies from your system. 
Thank you. 
---

___
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 compile a c file into out file?

2008-07-24 Thread Paul Procacci
EdwardKing wrote:
 I compile a c file,like follows:
 $gcc other1.obj other2.obj myfile.c

 Then it create a a.out file.my question is how to create a file named 
 myfile.out instead of name a.out?


 --
 Confidentiality Notice: The information contained in this e-mail and any 
 accompanying attachment(s) is intended only for the use of the intended 
 recipient and may be confidential and/or privileged of Neusoft Group Ltd., 
 its subsidiaries and/or its affiliates. If any reader of this communication 
 is not the intended recipient, unauthorized use, forwarding, printing, 
 storing, disclosure or copying is strictly prohibited, and may be unlawful. 
 If you have received this communication in error, please immediately notify 
 the sender by return e-mail, and delete the original message and all copies 
 from your system. Thank you. 
 ---

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

use the -o flag to specify a filename of your liking.

gcc -o somefile somefile.c somefile.o anotherfile.o ... ... ...

~Paul

___
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 compile a c file into out file?

2008-07-24 Thread Martin Tournoij
On Thu, Jul 24, 2008 at 02:15:25PM +0800, EdwardKing wrote:
 I compile a c file,like follows:
 $gcc other1.obj other2.obj myfile.c
 
 Then it create a a.out file.my question is how to create a file named 
 myfile.out instead of name a.out?

Use the -o parameter, ie:
% cc -o file file.c

-- 
Martin Tournoij
[EMAIL PROTECTED]
http://www.daemonforums.org

QOTD:
Captain Penny's Law:
You can fool all of the people some of the time, and some
of the people all of the time, but you Can't Fool Mom.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD for webserver?

2008-07-24 Thread Gonzalo Nemmi
On Wednesday 23 July 2008 21:03:36 Ted Mittelstaedt wrote:
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Gonzalo Nemmi
  Sent: Wednesday, July 23, 2008 1:02 AM
  To: freebsd-questions@freebsd.org
  Subject: Re: FreeBSD for webserver?
 
  On Wednesday 23 July 2008 03:47:04 Ted Mittelstaedt wrote:
This seems to be a common misperception about ports.  Ports
aren't something
magical.  They do exactly what you would do from the commandline
(i.e. ./configure, make, make install), except they come with
 
  several bonuses.
 
1) The port maintainer has already worked out all the quirks to
make it compile
and install properly on FreeBSD.  2) The port maintainer has
already supplied
patches that allow the software to build correctly on FreeBSD.
3) All the
dependencies are already taken care of.  4) Upgrading is
 
  quite simple and
 
straightforward.  5) The software is now
architechture-independent (in most
cases), meaning you can move from Intel to AMD (for example)
without having to
worry that the software will no longer build and you'll have to
start from
scratch again.
   
For example, I decided today that I wanted to try out some
 
  software named
 
arguseye.  So I downloaded and untarred the program.  I
 
  looked at the
 
dependencies.  It requires a number of perl modules, some of
which are not in
ports.  So, I just created three new perl ports to satisfy those
dependencies
and submitted them this afternoon.
   
Once those are accepted into the tree, I'll create the arguseye
port and submit
it as well.  Then, when someone else wants to install arguseye,
all they will
have to do is type make install clean in the port directory and
everything
that they need will be installed for them.
   
Unless you're a glutton for punishment, why would you do all that
yourself?
  
   Because maybe you don't care for the porter's choice of defaults.
  
   Many programs come with hard-coded defaults that are modified
   in a config file.  For example cistron-radius.  Another example
   is the dspam port.  The porter for that insisted on using a
   default of apache vhost.  However the default apache port does
   not activate this.  I don't give a rat's ass that vhost is
   supposedly more secure.  Another one that always pisses me off
   is the porter's choice in building uw-imap to turn off plaintext
   passwords.  And the default for pine is also to turn off
   plaintext support.
  
   Another problem is that not all porters are good about maintaining
   their ports.  For example icradius.  Someone spent a lot of time
   creating the port for that.  Then just let it die.  Another is
   the open source ingres database.  Julian ported that one then
   lost interest, it died sometime around FBSD 4.X
  
   Another problem with ports is that all of them like pulling the
   original source from the author's site.  I've had a few where the
   author released the code under GPL then a few years later lost
   interest, stopped paying whatever ISP he had the main site for
   the program at, and the porter also lost interest in the project
   and never bothered obtaining the last available tarfile from
   the authors site and uploading it to freebsd, then both disappeared.
   Another one I can recall is the gated code, similar issue.
  
   The fundamental achillies heel of the ports system is it makes
   the assumption that every package in the ports system is popular
   and will be supported for the indefinite future by the original
   package developer.  The ports system counts on this insofar that
   it assumes that if the original porter loses interest and stops
   tracking the master site, that someone else will step in and
   assume responsibility for maintaining the port.
  
   The reality is that in every release of FreeBSD, some ports go
   wanting for sponsors, and nobody steps forward and so when the
   port stops building, the FreeBSD maintainers simply cut it out
   of the ports tree, plus anything dependent on it.
  
   This assumption is fine for people running vanilla apache or
   whatever systems, which is most people.  But, if your doing
   anything that isn't plain-jane middle of the road, you better
   assume that if your using a series of ports, to make detailed
   notes, and save the ports, and save the patches, and save
   the distfiles.  You may need to see how they did it in an
   older FreeBSD system when a new version of FreeBSD comes out
   that is missing one or more of the ports you depend on.
  
   Ultimately, ports isn't any different than most other things.
   When it's properly executed it's great.  But proper execution
   of the entire thing depends on every porter who has an active
   port in the system doing the right thing, and there's so many of
   them that statistically, some of them are going to be flakes.
  
   

Re: How to compile a c file into out file?

2008-07-24 Thread Wojciech Puchar

gcc -o myfile 


man cc

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


calcru went backwards on 7 stable

2008-07-24 Thread Dimitar Vasilev
Hi,
I'm having calcru went backwards issues on a machine with the following
config:

MB: MSI K8D Master-F
2xOpteron 242 2.2Ghz
BIOS - от 2005-та
7-stable
areca 1120
8 disks
HDD temperature 28-29 for 1st five,  38-39 for the last 3.

bios is as of 2005 - ami bios or something like this.

Initial time counter acpi-fast. changed it to i8245, but without success.
Problem is that I get 10-15 messages, after which machine freezes - and it's
not possible to log in via ssh.
then after some time it looses ping also and it has to be reset.

smart says disks are ok.

Could someone help on this?

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

Re: Port Management on a larger scale

2008-07-24 Thread Peter Boosten



Roland Smith wrote:

On Tue, Jul 22, 2008 at 12:41:46AM -0400, Derek Belrose wrote:
What is the recommended way of doing port management? 



Alternatively you could use one server to build packages which are then
stored on a shared filesystem to install on all others, but that sounds
like more work to me.



It would be a great feature to actually being able to build packages 
without having to install them. Or did I miss that feature in the man-pages?


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


Re: libbz2.so.3 ?

2008-07-24 Thread Kris Kennaway

Len Conrad wrote:



FreeBSD 6.3-R
amavis, spammassassin, clamav installed via ports
clamav is logging :




Jul 23 16:08:32 mx2 amavis[2626]: (02626-01-2) (!!)run_av 
(ClamAV-clamscan) FAILED - unexpected exit 1, 
output=/libexec/ld-elf.so.1: Shared object libbz2.so.3 not found, 
required by clamscan

All the system has similar is:
find / -iname *libbz2*
/usr/lib/libbz2.a
/usr/lib/libbz2.so.2
/usr/lib/libbz2.so
/usr/lib/libbz2_p.a
Really nothing on Google about libbz2.so.3


You installed a 7.x/8.x package.


ok, thanks. I see where that did happen, grabbed the wrong one from 
freshports.


deleted clamav pkg

added the 6 clamav.

Now get a different error:

/usr/local/etc/rc.d/clamav-freshclam start

Starting clamav_freshclam.

/libexec/ld-elf.so.1: Shared object libc.so.7 not found, required by 
libgmp.so.7


Same error, different port.

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


upek fingerprint on FreeBSD 7

2008-07-24 Thread Michal Kulczewski
Hi,

I followed the instructions given on
http://www.shapeshifter.se/articles/upek_touchchip_freebsd/
to make my fingerprint sensor working on FreeBSD. However when I try to
enroll the user via 'bbdm' I'm getting an error:
'port_LoadLibrary: dlopen(/usr/local/lib/libtfmessbsp.so) failed, error
= (null)' and bbdm is simply hanging (or waiting for something).

Does anyone have a clue how to solve it ? I've alredy downloaded the
lates version of upek driver for FreeBSD 7 and libtfmessbsp.so is placed
in the accurate location.

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


Pyzor Errors

2008-07-24 Thread Robert Davison
I've set Pyzor as a cron job to update each night. All was running fine until a 
week or so ago when I started getting the following errors
   
  downloading servers from 
http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x
Traceback (most recent call last):
  File /usr/local/bin/pyzor, line 4, in module
pyzor.client.run()
  File /usr/local/lib/python2.5/site-packages/pyzor/client.py, line 991, in 
run
ExecCall().run()
  File /usr/local/lib/python2.5/site-packages/pyzor/client.py, line 185, in 
run
self.servers  = self.get_servers(servers_fn)
  File /usr/local/lib/python2.5/site-packages/pyzor/client.py, line 410, in 
get_servers
servers.read(open(servers_fn))
  File /usr/local/lib/python2.5/site-packages/pyzor/client.py, line 119, in 
read
self.append(pyzor.Address.from_str(line))
  File /usr/local/lib/python2.5/site-packages/pyzor/__init__.py, line 458, in 
from_str
fields[1] = int(fields[1])
IndexError: list index out of range

  I've seen from other posts on forums that this maight be due to the main 
Pyzor server being down and since there is only one main server then its in the 
hands of the gods !
   
  Anyone got any thoughts on this or a way to resolve.

   
-
 Not happy with your email address?
  Get the one you really want - millions of new email addresses available now 
at  Yahoo!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: calcru went backwards on 7 stable

2008-07-24 Thread Michael Powell
Dimitar Vasilev wrote:

 Hi,
 I'm having calcru went backwards issues on a machine with the following
 config:
 
 MB: MSI K8D Master-F
 2xOpteron 242 2.2Ghz
 BIOS - от 2005-та
 7-stable
 areca 1120
 8 disks
 HDD temperature 28-29 for 1st five,  38-39 for the last 3.
 
 bios is as of 2005 - ami bios or something like this.
 
 Initial time counter acpi-fast. changed it to i8245, but without success.
 Problem is that I get 10-15 messages, after which machine freezes - and
 it's not possible to log in via ssh.
 then after some time it looses ping also and it has to be reset.
 
 smart says disks are ok.
 
 Could someone help on this?
 
 Thanks in advance!.

Only two things I can think of are to try the TSC timer as well, but sort 
of doubt that will change anything. The other is if there is any CPU
frequency speed reduction when idle (PowerNow!) settings in the BIOS try
disabling that functionality. IIRC some of these had the ability for
different cores/cpus to run at slightly different frequencies to reduce
power consumption and this can really confuse the OS.

-Mike


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


Re: calcru went backwards on 7 stable

2008-07-24 Thread Kris Kennaway

Michael Powell wrote:

Dimitar Vasilev wrote:


Hi,
I'm having calcru went backwards issues on a machine with the following
config:

MB: MSI K8D Master-F
2xOpteron 242 2.2Ghz
BIOS - от 2005-та
7-stable
areca 1120
8 disks
HDD temperature 28-29 for 1st five,  38-39 for the last 3.

bios is as of 2005 - ami bios or something like this.

Initial time counter acpi-fast. changed it to i8245, but without success.
Problem is that I get 10-15 messages, after which machine freezes - and
it's not possible to log in via ssh.
then after some time it looses ping also and it has to be reset.

smart says disks are ok.

Could someone help on this?

Thanks in advance!.


Only two things I can think of are to try the TSC timer as well, but sort 
of doubt that will change anything. The other is if there is any CPU

frequency speed reduction when idle (PowerNow!) settings in the BIOS try
disabling that functionality. IIRC some of these had the ability for
different cores/cpus to run at slightly different frequencies to reduce
power consumption and this can really confuse the OS.


The calcru went backwards message can have two causes:

1) Your time counter really went backwards and is too broken to use.

2) Something caused clock interrupts to be delayed for extremely long 
periods of time.  This happens if you break to DDB for example.  It can 
also happen if there are kernel bugs, maybe in a driver etc.  Try to 
enable additional debugging (WITNESS, INVARIANTS, etc; see the 
developers handbook) and see where it gets you.


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


NWFS filesystem support in FreeBSD

2008-07-24 Thread Gavin Chappell

Hi all,
I can see that there's a mount_nwfs utility for use with the NCP suite 
of utilities to provide a network connection to a Novell Netware server 
running the traditional filesystem. Is there any way that this could be 
used to mount a Netware filesystem attached locally (via a Dell PERC 
3/DC controller and PV220S disk enclosure) for data recovery purposes?


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


RE: Upgrade 6.2-Release to 7.0-Release - stuck!

2008-07-24 Thread Marc Coyles
OK - further developments! Got to the first reboot stage after running sh
freebsd-update.sh -f freebsd-update.conf install

First point to note: If you don't want a sudden panic attack, remember to
remove the non-bootable floppy disk from the drive.

Other than that, all has gone to plan and is working fine, other than named
which is failing - at a guess because I ended up with the original file
rather than the new file. Can anyone point me to where I can get me grubby
l'il mits on a clean named.conf from 7.0-RELEASE?


Marc A Coyles
ICT Support Team (ext 730)
Mbl: 07850 518106






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


Re: Free BSD 6.3 Export Control Classification

2008-07-24 Thread Vincent Hoffman

Chocas, Connie S wrote:

 I could not find anything referencing export controls for FreeBSD.  You may 
find the following link for Apache Software Foundation products helpful.  This 
is the type is information that is needed to determine what is required to 
legally export software.  If FreeBSD has any cryptographic functions there are 
export restrictions that need to be considered.
http://www.apache.org/licenses/exports/#matrix

  

The best I could find on this wasnt very helpful, but may be of some use.
http://lists.freebsd.org/pipermail/freebsd-chat/2005-April/003269.html


Vince

Connie

-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2008 9:12 AM
To: darko gavrilovic
Cc: Chocas, Connie S; freebsd-questions@FreeBSD.org
Subject: Re: Free BSD 6.3 Export Control Classification

On Tue, Jul 22, 2008 at 06:54:39PM -0400, darko gavrilovic wrote:

  

http://www.freebsd.org/where.html



I don't see anywhere in that reference that the question is answered
or even alluded to.   It does give information on how to obtain a
copy of FreeBSD, but nothing about ECC.

jerry


  

On Tue, Jul 22, 2008 at 4:54 PM, Chocas, Connie S [EMAIL PROTECTED]wrote:



I would appreciate you assistance in providing the U.S. Commerce
Department Export Control Classification for FreeBSD 6.3.
Thank you,

Connie Chocas
Sandia National Laboratories
Classification and Export Control
Phone: (505) 844-5982; Fax: (505) 284-4927
Email:  [EMAIL PROTECTED]



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

  


--
regards,
dg

using fsdb(8) and clri(8) was like climbing Mount Everest in sandals
and shorts.
Since writing that, I've tried them more than once and discovered that
I was wrong.
You don't get the shorts. -- M.W. Lucas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




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


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


Re: NWFS filesystem support in FreeBSD

2008-07-24 Thread Wojciech Puchar
utilities to provide a network connection to a Novell Netware server running 
the traditional filesystem. Is there any way that this could be used to mount 
a Netware filesystem attached locally (via a Dell PERC 3/DC controller and 
PV220S disk enclosure) for data recovery purposes?


it would be completely different code to do this. with mount_ncpfs all fs 
handling is done by netware.


AFAIK there is no such tool

simple use qemu to run netware possibly directly from that disk and then 
use virtual network interfaces and mount_ncpfs :)

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


Re: NWFS filesystem support in FreeBSD

2008-07-24 Thread Gavin Chappell

Wojciech Puchar wrote:
utilities to provide a network connection to a Novell Netware server 
running the traditional filesystem. Is there any way that this could 
be used to mount a Netware filesystem attached locally (via a Dell 
PERC 3/DC controller and PV220S disk enclosure) for data recovery 
purposes?


it would be completely different code to do this. with mount_ncpfs all 
fs handling is done by netware.


AFAIK there is no such tool

simple use qemu to run netware possibly directly from that disk and then 
use virtual network interfaces and mount_ncpfs :)


(re-posting to the list to explain the background to why I'm asking...)

I have a working Netware 5.1 installation which will no longer recognise 
the VOL2: volume (which is on a RAID5 in the PV220S). I think this is 
the latest in a long line of problems with the 220S, there's many 
annoyed users around these parts who have had problems with them).


In short, I can't use Netware to either mount or VRepair the damaged 
volume, so I have the 4 disk RAID5 set which I can't attach to any other 
controller (this is the only PERC3/DC I have, which is based on an LSI 
Logic controller, all the other RAID controllers I have in my Dells are 
PERC3/Di, which are based on Adaptec controllers and can't recognise the 
LSI Logic array). I was hoping that maybe Linux or Unix/BSD would have 
enough NWFS code to be able to attach the volume directly and treat it 
as a local filesystem rather than being transported across the network 
via NCP.


Looks like I'm out of luck and will have to settle for the content from 
the backup tapes I've already restored, and lose the remaining days 
worth of changes :-(


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


Re: Port Management on a larger scale

2008-07-24 Thread Pieter de Goeje
On Thursday 24 July 2008, Peter Boosten wrote:
 Roland Smith wrote:
  On Tue, Jul 22, 2008 at 12:41:46AM -0400, Derek Belrose wrote:
  What is the recommended way of doing port management?
 
  Alternatively you could use one server to build packages which are then
  stored on a shared filesystem to install on all others, but that sounds
  like more work to me.

 It would be a great feature to actually being able to build packages
 without having to install them. Or did I miss that feature in the
 man-pages?

 Peter

It is technically impossible to create a package without first installing it's 
dependencies, so people usually a create chroot for that purpose.

-- 
Pieter de Goeje

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


Sendmail local LAN delivery

2008-07-24 Thread Bruno Joho
Hi folks

we have a inside the Lab (Class B Net, eg: bnet.ourdomain.com) several
workstations (eg: host1.intra015.bnet.ourdomain.com) in different
Class C Net (eg.intra015.bnet.ourdomain.com). There is a Mail Hub
outside the Class B Net which communicates with the Internet and
delivers
the mails sent by the workstations. All workstations have a
Smarthost entry in the cf file. Incoming mails are collected by the
mailhub, which
provides IMAP and POP access for all workstations. No mail coming from
the Internet will be delivered directly to the workstations.
Everything
works fine, exept one (small) problem. How can I configure the
sendmal.cf from the local workstations to send the mail addressed to a
neighbour
workstation (eg. from host1.intra015.bnet.ourdomain.com to
host2.intra016.bnet.ourdomain.com) directly. Sending it to the mailhub
and then sending
it back to the Intranet is no option due to firewall restrictions.

I apreciate any help, thanks

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


Re: The Design and Implementation of the FreeBSD Operating System

2008-07-24 Thread FreeBSD Questions
Thank you all for your input.  I'm studying up on OS design and
implementation for my own personal edification, so I started reading
my old college Tanenbaum text Modern Operating Systems.  Then I
wanted to learn specifically about FreeBSD, so The Design and
Implementation of the FreeBSD Operating System was the next logical
step.  I'll expand to other topics of interest from there.

Again, thank you for your comments!

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


Re: NWFS filesystem support in FreeBSD

2008-07-24 Thread darko
what about MARS?

http://people.freebsd.org/~bp/marsen.html

would that be of any use?

On Thu, Jul 24, 2008 at 5:56 AM, Gavin Chappell [EMAIL PROTECTED]wrote:

 Hi all,
 I can see that there's a mount_nwfs utility for use with the NCP suite of
 utilities to provide a network connection to a Novell Netware server running
 the traditional filesystem. Is there any way that this could be used to
 mount a Netware filesystem attached locally (via a Dell PERC 3/DC controller
 and PV220S disk enclosure) for data recovery purposes?

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




-- 
regards,
dg

..but the more you use clever tricks, the less support you'll get ... --
M.W.Lucas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade 6.2-Release to 7.0-Release - stuck!

2008-07-24 Thread Greg Larkin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marc Coyles wrote:
| OK - further developments! Got to the first reboot stage after running sh
| freebsd-update.sh -f freebsd-update.conf install
|
| First point to note: If you don't want a sudden panic attack, remember to
| remove the non-bootable floppy disk from the drive.
|
| Other than that, all has gone to plan and is working fine, other than
named
| which is failing - at a guess because I ended up with the original file
| rather than the new file. Can anyone point me to where I can get me grubby
| l'il mits on a clean named.conf from 7.0-RELEASE?
|
|
| Marc A Coyles
| ICT Support Team (ext 730)
| Mbl: 07850 518106
|

Hi Marc,

Very good - glad you got everything working!  You can pull the
named.conf directly from FreeBSD's CVSweb interface:

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/etc/namedb/named.conf?rev=1.26.4.1;content-type=text%2Fplain;only_with_tag=RELENG_7_0_0_RELEASE

Best regards,
Greg
- --
Greg Larkin
http://www.sourcehosting.net/
http://www.FreeBSD.org/ - The Power To Serve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIiHcg0sRouByUApARAnPVAJ94RfT7eCqvVunOO6XluavGZaEuwACgufeA
LU/116zUPixfBF0F30MWdco=
=4jJc
-END PGP SIGNATURE-

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


Prepending data to struct uio in kernel

2008-07-24 Thread Riaan Kruger
I wish to insert a small buffer into (actually in front of) a uio structure
received from userland through an ioctl call. I then want to map this uio
structure to a dma map.

Currently I am mallocing a new buffer, copying the uio data and my own data
to that buffer and then mapping the buffer to DMA.

Is it possible to insert data into a uio structure?

Are there any functions that might help me?

Is it a bad idea?

(I do hope this is not to the incorrect list)

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


Re: sleeping without queue ?

2008-07-24 Thread Robert Watson


On Tue, 22 Jul 2008, Mikhail Teterin wrote:


Kris Kennaway ???(??):

Mikhail Teterin wrote:

Kris Kennaway ???(??):

Well, I mean kernel backtrace.
Can I obtain that remotely and without restarting/panicking the box? 
Thanks,

kgdb on /dev/mem or procstat

  [EMAIL PROTECTED]:~ (107) kgdb /boot/kernel/kernel /dev/mem
  [...]
  (kgdb) bt
  #0  0x in ?? ()
  Error accessing memory address 0x0: Bad address.

Even less luck with procstat:

  [EMAIL PROTECTED]:~ (108) locate procstat
  [EMAIL PROTECTED]:~ (109) procstat
  procstat:  ???.
  [EMAIL PROTECTED]:~ (110) man procstat
  No manual entry for procstat

I'm sorry, but you'll need to be more specific. What should I type? Thanks,


Assuming you're using 7.0 or an older 7-STABLE: procstat(1) appeared after 7.0 
was released, but should be there if you slide forward on 7-STABLE.  You can 
use procstat -k pid to see kernel stack traces for kernel threads working on 
behalf of the process.  Depending on the level of detail you require, you can 
use -kk to also list function offsets inside the kernel, but the results are a 
bit harder to read.


Robert N M Watson
Computer Laboratory
University of Cambridge
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: calcru went backwards on 7 stable

2008-07-24 Thread Dimitar Vasilev

 The calcru went backwards message can have two causes:

 1) Your time counter really went backwards and is too broken to use.

 2) Something caused clock interrupts to be delayed for extremely long
 periods of time.  This happens if you break to DDB for example.  It can also
 happen if there are kernel bugs, maybe in a driver etc.  Try to enable
 additional debugging (WITNESS, INVARIANTS, etc; see the developers handbook)
 and see where it gets you.

 Kris

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

Thanks Kris,

Last time I tried to set the date there was a problem with the year  - I
could not set the date beyond 2007
Also HZ were 2000 instead of 1000, but at that time machine was a
uniprocessor one.

Best regards,

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


Re: NWFS filesystem support in FreeBSD

2008-07-24 Thread Wojciech Puchar
VOL2: volume (which is on a RAID5 in the PV220S). I think this is the latest 
in a long line of problems with the 220S, there's many annoyed users around 
these parts who have had problems with them).


In short, I can't use Netware to either mount or VRepair the damaged volume, 
so I have the 4 disk RAID5 set which I can't attach to any other controller 
(this is the only PERC3/DC I have, which is based on an LSI Logic controller, 
all the other RAID controllers I have in my Dells are PERC3/Di, which are 
based on Adaptec controllers and can't recognise the LSI Logic array). I was


you've got the punishment for using expensive proprietary software and 
hardware instead of cheap open source software without any extra 
hardware...


hoping that maybe Linux or Unix/BSD would have enough NWFS code to be able to 
attach the volume directly and treat it as a local filesystem rather than 
being transported across the network via NCP.


you have to seek for recovery software for netware volume.

if you are sure (or almost) that it's RAID problem i think i can help you 
but mail priv.

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


Firefox3 port problem

2008-07-24 Thread Robby Balona

Hi Guys

I have been tring to port firefox3 on freebsd 7 for a week now. I keep 
coming up against this error


gmake:***[libgiofam.la] Error 1

I have done a portsnap update already. Please dont flame me for not 
looking on google for the error as I have not really worried about it 
until now, when I need firefox.


Just thought I would mention it ,


Thanks

Robby

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


Switch to alternate screen buffer

2008-07-24 Thread Bertram Scharpf
Hi,

this is difficult to google for.

In a terminal window I oftenly pipe some progams output to vim or to
less:

  $ someprg | vim -

When the program fails and outputs an error message to stderr this will
be overwritten by Vim.

I know from some old Linux installations that Less and Vim are able to
switch to an alternate screen buffer. They use the escape sequences
\e[?1049h and \e[?1049l to switch back respectively.

How can I activate this in FreeBSD?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NWFS filesystem support in FreeBSD

2008-07-24 Thread Wojciech Puchar



what about MARS?

http://people.freebsd.org/~bp/marsen.html

would that be of any use?

no. because it's novell netware compatible server, not netware filesystem 
driver.


netware volumes can ONLY be read by netware.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox3 port problem

2008-07-24 Thread Roland Smith
On Thu, Jul 24, 2008 at 03:53:08PM +0200, Robby Balona wrote:
 Hi Guys
 
 I have been tring to port firefox3 on freebsd 7 for a week now. I keep 
 coming up against this error

Why are you trying to port it? It is allready in ports: www/firefox3
 
 gmake:***[libgiofam.la] Error 1
 
 I have done a portsnap update already. 

Using portsnap is not enough; it just updates the ports tree. You also
need to update your installed ports.

 Please dont flame me for not looking on google for the error as I have
 not really worried about it until now, when I need firefox.

You need to update your installed ports. You're missing gio-fam-backend,
which is now needed by the gtk+ toolkit which is needed for firefox.

Use portmaster or portupgrade to upgrade all you installed ports.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp6SPTpBzX4V.pgp
Description: PGP signature


Re: Switch to alternate screen buffer

2008-07-24 Thread Wojciech Puchar

In a terminal window I oftenly pipe some progams output to vim or to
less:

 $ someprg | vim -

When the program fails and outputs an error message to stderr this will
be overwritten by Vim.

I know from some old Linux installations that Less and Vim are able to
switch to an alternate screen buffer. They use the escape sequences
\e[?1049h and \e[?1049l to switch back respectively.

How can I activate this in FreeBSD?

no idea but do


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


Re: portupgrade policykit problem

2008-07-24 Thread Jakub Lach

Same problem here, policykit-gnome also.


Alain G. Fabry wrote:
 
 
 Hi,
 
 Hope I didn't do something stupid here
 
 Tried to 'portupgrade -R policykit' but it came back with an error. So I
 deinstalled it and now I'm trying to reinstall it, but it fails with the
 following error.
 
 
 R=\/usr/local/etc\ -DPACKAGE_DATA_DIR=\/usr/local/share\
 -DPACKAGE_BIN_DIR=\/usr/local/bin\ -DPACKAGE_LOCALSTATE_DIR=\/var\
 -DPACKAGE_LOCALE_DIR=\/usr/local/share/locale\
 -DPACKAGE_LIB_DIR=\/usr/local/lib\ -D_POSIX_PTHREAD_SEMANTICS
 -D_REENTRANT -DKIT_COMPILATION -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include-I/usr/local/include  -O2
 -fno-strict-aliasing -pipe  -Wall -Wchar-subscripts -Wmissing-declarations
 -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat
 -Wformat-security -MT kit-string.lo -MD -MP -MF .deps/kit-string.Tpo -c -o
 kit-string.lo kit-string.c
  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src
 -DPACKAGE_LIBEXEC_DIR=\/usr/local/libexec\
 -DPACKAGE_SYSCONF_DIR=\/usr/local/etc\
 -DPACKAGE_DATA_DIR=\/usr/local/share\
 -DPACKAGE_BIN_DIR=\/usr/local/bin\ -DPACKAGE_LOCALSTATE_DIR=\/var\
 -DPACKAGE_LOCALE_DIR=\/usr/local/share/locale\
 -DPACKAGE_LIB_DIR=\/usr/local/lib\ -D_POSIX_PTHREAD_SEMANTICS
 -D_REENTRANT -DKIT_COMPILATION -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -O2
 -fno-strict-aliasing -pipe -Wall -Wchar-subscripts -Wmissing-declarations
 -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat
 -Wformat-security -MT kit-string.lo -MD -MP -MF .deps/kit-string.Tpo -c
 kit-string.c  -fPIC -DPIC -o .libs/kit-string.o
 kit-string.c:141: error: redefinition of 'strndup'
 kit-string.c:119: error: previous definition of 'strndup' was here
 gmake[3]: *** [kit-string.lo] Error 1
 gmake[3]: Leaving directory
 `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/src/kit'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/sysutils/policykit/work/PolicyKit-0.9'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop in /usr/ports/sysutils/policykit.
 
 
 Also tried 'make distclean' and a new 'make install clean', but it keeps
 on failing.
 
 I hope that in case I need to reboot, it won't crash my system. But I'll
 postpone my reboot as long as possible. Maybe I can reinstall it with your
 advice.
 
 Thanks,
 
 Alain
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

-- 
View this message in context: 
http://www.nabble.com/portupgrade-policykit-problem-tp18625533p18633730.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: disk encryption; hidden containers

2008-07-24 Thread Greg Larkin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Duane Hill wrote:
| On Fri, 18 Jul 2008, Greg Larkin wrote:
|
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Chad Perrin wrote:
| | On Fri, Jul 18, 2008 at 10:01:54PM +0100, RW wrote:
| | On Fri, 18 Jul 2008 21:06:57 +0100
| | RW [EMAIL PROTECTED] wrote:
| |
| | On Fri, 18 Jul 2008 09:56:24 -0600
| | Chad Perrin [EMAIL PROTECTED] wrote:
| |
| | My preliminary searches on the subject suggest that neither GBDE nor
| | GELI encryption offers hidden volume/container capabilities.
| | Are you talking about steganography?
| | Sorry, I guess you're talking about volumes hidden in the unused space
| | on a filesystem. I don't think there's anything. I'm not sure
| | what the status of truecrypt is, I've heard some talk about it running
| | on freebsd eventually.
| |
| | It would be a start for geli to be able to encrypt its metadata.
| |
| | So, are those basically my choices -- either wait for GBDE or GELI to
| | acquire that capability, or write it myself (which is not something I'm
| | prepared to do right now)?  Bummer.
| |
| | Well . . . or wait for something else like TrueCrypt to get ported to
| | FreeBSD, I suppose.
| |
|
| Hi Chad,
|
| There is a beta version of the TrueCrypt 5.1a port out there.  See:
| http://lists.freebsd.org/pipermail/freebsd-ports/2008-May/048432.html.
|
| I tried it in a VMware virtual machine a couple of months ago and it
| hung pretty consistently when copying files into the container.  It's
| entirely possible that the problem was related to the virtual
| environment, so YMMV.
|
| What VMWare version were you using and what OS and version hosted the VM?
|
| I only ask as I have been searching for this myself.
|
| Currently, I am using a commercial product under Linux and Windoes
| called BestCrypt by Jetico (http://www.jetico.com).
|
| I have VMware installed currently under Windoes Vista. VMware version is
| 6.0.4-93057. I haven't had any issues thus far running a number of
| FreeBSD guest OSes.
|
| If your version is less than what I'm running, I would be willing to
| install and test.
|

Hi Duane,

I originally tested the TC port inside of VMware Player 1.0.5 running on
Win XP SP2.  Do you think the hang could be caused by the version of
VMware software that hosts the VM?  I've been thinking about purchasing
VMware Workstation, and if I do that, I'll test there as well.

Best regards,
Greg
- --
Greg Larkin
http://www.sourcehosting.net/
http://www.FreeBSD.org/ - The Power To Serve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIiJso0sRouByUApARAs5NAJ0bRZ8fy999dI8iNAzTJyyp/suFwQCfTb1c
o8LUGif4bOd17yrJzQLAhjU=
=bZWc
-END PGP SIGNATURE-

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


Re: calcru went backwards on 7 stable

2008-07-24 Thread Dimitar Vasilev
2008/7/24 Kris Kennaway [EMAIL PROTECTED]:

 Dimitar Vasilev wrote:

 The calcru went backwards message can have two causes:

 1) Your time counter really went backwards and is too broken to use.

 2) Something caused clock interrupts to be delayed for extremely long
 periods of time.  This happens if you break to DDB for example.  It can
 also
 happen if there are kernel bugs, maybe in a driver etc.  Try to enable
 additional debugging (WITNESS, INVARIANTS, etc; see the developers
 handbook)
 and see where it gets you.

 Kris

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

  Thanks Kris,

 Last time I tried to set the date there was a problem with the year  - I
 could not set the date beyond 2007


 That doesn't sound like a FreeBSD bug.

  Also HZ were 2000 instead of 1000, but at that time machine was a
 uniprocessor one.


 HZ=1000 by default, so are you saying you set it to 2000?

 Kris

Thanks Kris,
I appreciate your help.
I'm aware that bios bugs are not related to FreeBSD.
Machine we're speaking about is one of the official mirrors for FreeBSD in
Bulgaria.
System was running fine with HZ=2000 from 2005 to 2007 with a single CPU and
5-stable series.
After I moved back to Sofia we moved it to 7-stable, 1000 HZ by default and
added a second CPU.
I'm trying to isolate the problem with the help of all subscribers - I don't
have frequent access to the server room which leads to
delayed troubleshooting.
Will change CMOS battery and update bios as a start.
Thanks for helping.

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


Re: Firefox3 port problem

2008-07-24 Thread Robby Balona

Thanks Roland

I have much to learn.

Regards

Robby



Roland Smith wrote:

On Thu, Jul 24, 2008 at 03:53:08PM +0200, Robby Balona wrote:
  

Hi Guys

I have been tring to port firefox3 on freebsd 7 for a week now. I keep 
coming up against this error



Why are you trying to port it? It is allready in ports: www/firefox3
 
  

gmake:***[libgiofam.la] Error 1

I have done a portsnap update already. 



Using portsnap is not enough; it just updates the ports tree. You also
need to update your installed ports.

  

Please dont flame me for not looking on google for the error as I have
not really worried about it until now, when I need firefox.



You need to update your installed ports. You're missing gio-fam-backend,
which is now needed by the gtk+ toolkit which is needed for firefox.

Use portmaster or portupgrade to upgrade all you installed ports.

Roland
  


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


Re: calcru went backwards on 7 stable

2008-07-24 Thread Kris Kennaway

Dimitar Vasilev wrote:

The calcru went backwards message can have two causes:

1) Your time counter really went backwards and is too broken to use.

2) Something caused clock interrupts to be delayed for extremely long
periods of time.  This happens if you break to DDB for example.  It can also
happen if there are kernel bugs, maybe in a driver etc.  Try to enable
additional debugging (WITNESS, INVARIANTS, etc; see the developers handbook)
and see where it gets you.

Kris

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


Thanks Kris,

Last time I tried to set the date there was a problem with the year  - I
could not set the date beyond 2007


That doesn't sound like a FreeBSD bug.


Also HZ were 2000 instead of 1000, but at that time machine was a
uniprocessor one.


HZ=1000 by default, so are you saying you set it to 2000?

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


Re: disk encryption; hidden containers

2008-07-24 Thread Duane Hill

On Thu, 24 Jul 2008, Greg Larkin wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Duane Hill wrote:
| On Fri, 18 Jul 2008, Greg Larkin wrote:
|
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Chad Perrin wrote:
| | On Fri, Jul 18, 2008 at 10:01:54PM +0100, RW wrote:
| | On Fri, 18 Jul 2008 21:06:57 +0100
| | RW [EMAIL PROTECTED] wrote:
| |
| | On Fri, 18 Jul 2008 09:56:24 -0600
| | Chad Perrin [EMAIL PROTECTED] wrote:
| |
| | My preliminary searches on the subject suggest that neither GBDE nor
| | GELI encryption offers hidden volume/container capabilities.
| | Are you talking about steganography?
| | Sorry, I guess you're talking about volumes hidden in the unused space
| | on a filesystem. I don't think there's anything. I'm not sure
| | what the status of truecrypt is, I've heard some talk about it running
| | on freebsd eventually.
| |
| | It would be a start for geli to be able to encrypt its metadata.
| |
| | So, are those basically my choices -- either wait for GBDE or GELI to
| | acquire that capability, or write it myself (which is not something I'm
| | prepared to do right now)?  Bummer.
| |
| | Well . . . or wait for something else like TrueCrypt to get ported to
| | FreeBSD, I suppose.
| |
|
| Hi Chad,
|
| There is a beta version of the TrueCrypt 5.1a port out there.  See:
| http://lists.freebsd.org/pipermail/freebsd-ports/2008-May/048432.html.
|
| I tried it in a VMware virtual machine a couple of months ago and it
| hung pretty consistently when copying files into the container.  It's
| entirely possible that the problem was related to the virtual
| environment, so YMMV.
|
| What VMWare version were you using and what OS and version hosted the VM?
|
| I only ask as I have been searching for this myself.
|
| Currently, I am using a commercial product under Linux and Windoes
| called BestCrypt by Jetico (http://www.jetico.com).
|
| I have VMware installed currently under Windoes Vista. VMware version is
| 6.0.4-93057. I haven't had any issues thus far running a number of
| FreeBSD guest OSes.
|
| If your version is less than what I'm running, I would be willing to
| install and test.
|

Hi Duane,

I originally tested the TC port inside of VMware Player 1.0.5 running on
Win XP SP2.  Do you think the hang could be caused by the version of
VMware software that hosts the VM?  I've been thinking about purchasing
VMware Workstation, and if I do that, I'll test there as well.


That could be. You could download the free VMware Server and try that 
first before purchasing VMware Workstation. It runs much the same.


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


Re: portupgrade policykit problem

2008-07-24 Thread Alain G. Fabry

Works like a charm, many thanks.



On Thu, Jul 24, 2008 at 12:12:12PM -0300, Bruno Schmitt wrote:
 div dir=ltrUpdate your ports. There is a new patched version 0.9_1 that 
 will
  solve the problem. brbrbrdiv class=gmail_quoteOn Thu, Jul 24, 2008 
 at
  2:07 AM, Alain G. Fabry lt;a href=mailto:[EMAIL PROTECTED]alainfabry
 @belgacom.net/agt; wrote:br
 blockquote class=gmail_quote style=border-left: 1px solid rgb(204, 204, 
 204)
 ; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;br
 Hi,br
 br
 Hope I didn#39;t do something stupid herebr
 br
 Tried to #39;portupgrade -R policykit#39; but it came back with an error. 
 So I
  deinstalled it and now I#39;m trying to reinstall it, but it fails with the 
 fo
 llowing error.br
 br
 br
 R=\quot;quot;/usr/local/etcquot;\quot; 
 -DPACKAGE_DATA_DIR=\quot;quot;/usr/
 local/sharequot;\quot; 
 -DPACKAGE_BIN_DIR=\quot;quot;/usr/local/binquot;\qu
 ot; -DPACKAGE_LOCALSTATE_DIR=\quot;quot;/varquot;\quot; 
 -DPACKAGE_LOCALE_DIR
 =\quot;quot;/usr/local/share/localequot;\quot; 
 -DPACKAGE_LIB_DIR=\quot;quo
 t;/usr/local/libquot;\quot; -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
 -DKIT_COMP
 ILATION -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
 nbsp; 
 nbsp;-I/usr/local/include nbsp;-O2 -fno-strict-aliasing -pipe nbsp;-Wall 
 -Wcha
 r-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith 
 -Wcast-alig
 n -Wsign-compare -Wformat -Wformat-security -MT kit-string.lo -MD -MP -MF 
 .deps/
 kit-string.Tpo -c -o kit-string.lo kit-string.cbr
 
 nbsp;cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src 
 -DPACKAGE_LIBEXEC_D
 IR=\quot;/usr/local/libexec\quot; 
 -DPACKAGE_SYSCONF_DIR=\quot;/usr/local/etc\
 quot; -DPACKAGE_DATA_DIR=\quot;/usr/local/share\quot; 
 -DPACKAGE_BIN_DIR=\quo
 t;/usr/local/bin\quot; -DPACKAGE_LOCALSTATE_DIR=\quot;/var\quot; 
 -DPACKAGE_LO
 CALE_DIR=\quot;/usr/local/share/locale\quot; 
 -DPACKAGE_LIB_DIR=\quot;/usr/loc
 al/lib\quot; -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DKIT_COMPILATION 
 -I/usr/l
 ocal/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include 
 -O2
  -fno-strict-aliasing -pipe -Wall -Wchar-subscripts -Wmissing-declarations 
 -Wnes
 ted-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat 
 -Wformat-securi
 ty -MT kit-string.lo -MD -MP -MF .deps/kit-string.Tpo -c kit-string.c 
 nbsp;-fPI
 C -DPIC -o .libs/kit-string.obr
 
 kit-string.c:141: error: redefinition of #39;strndup#39;br
 kit-string.c:119: error: previous definition of #39;strndup#39; was herebr
 gmake[3]: *** [kit-string.lo] Error 1br
 gmake[3]: Leaving directory 
 `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/sr
 c/kit#39;br
 gmake[2]: *** [all-recursive] Error 1br
 gmake[2]: Leaving directory 
 `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/sr
 c#39;br
 gmake[1]: *** [all-recursive] Error 1br
 gmake[1]: Leaving directory 
 `/usr/ports/sysutils/policykit/work/PolicyKit-0.9#3
 9;br
 gmake: *** [all] Error 2br
 *** Error code 2br
 br
 Stop in /usr/ports/sysutils/policykit.br
 br
 br
 Also tried #39;make distclean#39; and a new #39;make install clean#39;, 
 but
 it keeps on failing.br
 br
 I hope that in case I need to reboot, it won#39;t crash my system. But 
 I#39;ll
  postpone my reboot as long as possible. Maybe I can reinstall it with your 
 advi
 ce.br
 br
 Thanks,br
 br
 Alainbr
 ___br
 a 
 href=mailto:freebsd-questions@freebsd.org;freebsd-questions@freebsd.org/a
  mailing listbr
 a href=http://lists.freebsd.org/mailman/listinfo/freebsd-questions; 
 target=_b
 lankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions/abr
 To unsubscribe, send any mail to quot;a 
 href=mailto:freebsd-questions-unsubsc
 [EMAIL PROTECTED][EMAIL PROTECTED]/aquot;br
 /blockquote/divbr/div
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rtorrent refuses to open bittorrent file

2008-07-24 Thread Ricardo Jesus

Norberto Meijome wrote:

On Sun, 20 Jul 2008 01:20:05 -0300
luizbcampos [EMAIL PROTECTED] wrote:

  

 As I am a new user to rtorrent I would like to know how to set it
up properly. After I had configured .rc.rtorrent when I type
--anyfile.torrent -- I got the answer that rtorrent is unable to open
such a file...




hey,
what happens if you type /the/full/path/to/anyfile.torrent  ? 


_
{Beto|Norberto|Numard} Meijome

All that is necessary for the triumph of evil is that good men do nothing.
  Edmund Burke

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
If you are using the default config and have a .torrent on your ~, load 
rtorrent:


1. $ cd ~
2. $ rtorrent
3. press ENTER
4. press TAB for list of torrent in ~

To resume a download, if using the default config and with the .torrent 
in your ~, do the same exact steps as above and the program will re-hash 
and resume the download.


Hope I've helped.

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


what do I do when a new piece of hardware doesn't even show up in dmesg?

2008-07-24 Thread Steve Franks
The only stumbling block to ditching windows on my laptop is a network
card.  I have a vanilla ath card that works fine under win32 and
fedora, as well as a lucent-branded wi card.  Neither even appears in
dmesg when I put it in pccard0/cbb0.  If I stick a compact flash card
in an adapter, however, it looks to work (haven't tried mounting it).
Anyway, how do I even start to debug this, since I have no output?  I
notice one of the lights on the card flashes when I plug it in, but
that could just be part of it's power-up process...

Eventually, I plan to hack my bios to get a unsupported network card
to run without locking up the bios boot process, but from what I've
read, that's alot of work...

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


Re: what do I do when a new piece of hardware doesn't even show up in dmesg?

2008-07-24 Thread David Gurvich
You need to make certain all the necessary modules for your card are
loaded.  Try 'kldload ath' and then put the card in and see if that
does anything.  Also, use 'pciconf -lv' to confirm what the card is
detected as.  See the handbook on wireless configuration if that works.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what do I do when a new piece of hardware doesn't even show up in dmesg?

2008-07-24 Thread Steve Franks
On Thu, Jul 24, 2008 at 10:52 AM, Steve Franks [EMAIL PROTECTED] wrote:
 On Thu, Jul 24, 2008 at 10:32 AM, David Gurvich
 [EMAIL PROTECTED] wrote:
 You need to make certain all the necessary modules for your card are
 loaded.  Try 'kldload ath' and then put the card in and see if that
 does anything.  Also, use 'pciconf -lv' to confirm what the card is
 detected as.  See the handbook on wireless configuration if that works.


 It also fails to show up in pciconf -lv, but then, the compact flash
 card doesn't show up there either and it works fine.  7.0 loads if_ath
 and ath_hal by default.

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


Re: what do I do when a new piece of hardware doesn't even show up in dmesg?

2008-07-24 Thread Steve Franks
On Thu, Jul 24, 2008 at 10:56 AM, David Gurvich
[EMAIL PROTECTED] wrote:
 Some atheros cards are not supported.  Is there any error message?
 What is the card actually called?


No error messages to speak of.  It's like it's not there.  It works
fine in all my older laptops as ath0, I should have mentioned earlier.
 Really hating having bought a compaq.

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


DNS and DHCP Management System

2008-07-24 Thread Zamri Besar
Good morning,

When network are keep growing over time, network services such as dns and
dhcp are playing an important function to any network
administrators/engineers, which for a single downtime, it will cause a chaos
to end users. By having redundancy/fail-over/etc services and proper plans,
these failures will be mitigated and reduced, and off-course, transparent to
end users.

Without proper planning, choosing suitable tools/application, and testing, I
believe that deployment and management of dns and dhcp services will become
headache and a big challenge to network administrators/engineers. So, in
this e-mail, I would like to ask and seek advices on how do you manage these
two services, and from your past experiences, which is the best
free/open-souce tools to manage a big deployment of dns and dhcp services?

From the google, I found the following options which are promising for above
jobs:

HostDB: The Best Damn host2DNS/DHCP Script Ever Written
http://www.usenix.org/event/lisa05/tech/limoncelli.html
http://everythingsysadmin.com/hostdb/

Maintain
http://maintainproject.osuosl.org/

Sauron
http://sauron.jyu.fi/

LDAP sdb back-end for BIND 9
http://bind9-ldap.bayour.com/

Have a nice day!

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


Re: Sendmail local LAN delivery

2008-07-24 Thread Derek Ragona

At 06:30 AM 7/24/2008, Bruno Joho wrote:

Hi folks

we have a inside the Lab (Class B Net, eg: bnet.ourdomain.com) several
workstations (eg: host1.intra015.bnet.ourdomain.com) in different
Class C Net (eg.intra015.bnet.ourdomain.com). There is a Mail Hub
outside the Class B Net which communicates with the Internet and
delivers
the mails sent by the workstations. All workstations have a
Smarthost entry in the cf file. Incoming mails are collected by the
mailhub, which
provides IMAP and POP access for all workstations. No mail coming from
the Internet will be delivered directly to the workstations.
Everything
works fine, exept one (small) problem. How can I configure the
sendmal.cf from the local workstations to send the mail addressed to a
neighbour
workstation (eg. from host1.intra015.bnet.ourdomain.com to
host2.intra016.bnet.ourdomain.com) directly. Sending it to the mailhub
and then sending
it back to the Intranet is no option due to firewall restrictions.

I apreciate any help, thanks

Bruno



Bruno,

If I understand your question correctly, you will need to smarthosts, one 
on the LAN side, and one on the WAN/internet side.  You will have to setup 
the LAN smarthost to forward mail to the WAN smarthost that it cannot 
deliver.  You will have to enable the LAN smarthost and WAN smarthost to be 
able to pass mail through your firewall.  Sendmail uses DNS for most host 
resolution, so you will need to setup MX records for the various LAN hosts 
to go to the LAN smarthost.


Hope this helps.

-Derek

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

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


Re: Port Management on a larger scale

2008-07-24 Thread Boris Samorodov
On Tue, 22 Jul 2008 00:41:46 -0400 Derek Belrose wrote:

 Sorry if this has been asked before, but I've inherited a fairly large
 number of FreeBSD servers.  All of them are running 6.3.

 What is the recommended way of doing port management?  Or if there
 isn't a recommended way of updating ports on 10-15 servers, what do
 people do?  How do you handle port upgrades that deal with custom
 compile configurations (such as exim with postgresql)?  Do you build a
 port on one system and install it as a package on all the others?

 I come from a Slackware background, and in the past I would compile
 the update on a test system then distribute and install to all the
 other servers.

You may take a look at ports-mgmt/tinderbox. It builds packages with
custom configuration. Those packages may be installed by a
portupgrade -PP command. We use a special 8-CURRENT tinderbox
machine to build packages for 8-x, 7-x, 6-x FreeBSD versions.


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


Re: what do I do when a new piece of hardware doesn't even show up in dmesg?

2008-07-24 Thread Sam Fourman Jr.
 No error messages to speak of.  It's like it's not there.  It works
 fine in all my older laptops as ath0, I should have mentioned earlier.
  Really hating having bought a compaq.

does your PCMICA slot even work in FreeBSD, I have a Lenovo Notebook
that it doesn;t even work.
maybe try sending a Full dmesg if you could.

Sam Fourman Jr.
___
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 make Windows application run under emulator wine show UNICODE characters?

2008-07-24 Thread Boris Samorodov
On Wed, 23 Jul 2008 22:40:49 -0700 Yuri wrote:

 All UNICODE characters show as small rectangles.

With old wine versions I just install x11-fonts/webfonts or copy
fonts form windows to ~/.fonts/...

 Anybody knows which fonts should I install to cure this?

but I had problems with recent wine and cyrillic fonts until I build
wine using russian locale. I.e.:

--- doesn't work ---
$ su
# cd /usr/ports/emulatiors/wine
# make install
--- works fine ---
$ cd /usr/ports/emulators/wine
$ sudo make install
---


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


Re: connecting to a secured Windows 2003 terminal server

2008-07-24 Thread FreeBSD

Dear Darko

Thanks for your mail.

To answer your question, no, we are on the same network and from my 
machine everything is open. Also, I tried it from my home, which has the 
basic firewall allowing me to connect to whereever I want (I tried it 
with no firewall as well), nothing worked.


Since my office lan can connect to the secured TServer using IE and 
other client from windows, and both my office lan and home can connect 
to the non-SSL TServer using rdesktop, I am suspecting I might be 
needing different client.


any other pointers / links welcome

Thanks


darko gavrilovic wrote:

Hello, is 3389 filtered in any way between you and that server?


On Tue, Jul 22, 2008 at 8:37 PM, FreeBSD [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Dear folks

my sincere apologies if this has been discussed earlier, which I
seriously doubt, since even after googling for nearly five days I
couldn't find any solution.

Recently my company has updated their server to Windows 2003. The
earlier 2000 server didn't have SSL enabled, so rdp/rdesktop
worked for me without any problem. But now, as I try to connect to
the server, it simply gives me
ERROR: recv: Connection reset by peer

I know for a fact that the server is working fine, since all IE
and remote desktop softwares are working (they have to install the
certificate at the beginning, once). But how can I connect from my
freebsd box?

any pointers/links sujjestions are highly welcome.

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




--
regards,
dg

using fsdb(8) and clri(8) was like climbing Mount Everest in sandals 
and shorts.
Since writing that, I've tried them more than once and discovered that 
I was wrong.

You don't get the shorts. -- M.W. Lucas


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


Re: what do I do when a new piece of hardware doesn't even show up in dmesg?

2008-07-24 Thread Andrew Gould
On Thu, Jul 24, 2008 at 12:05 PM, Steve Franks [EMAIL PROTECTED] wrote:

 The only stumbling block to ditching windows on my laptop is a network
 card.  I have a vanilla ath card that works fine under win32 and
 fedora, as well as a lucent-branded wi card.  Neither even appears in
 dmesg when I put it in pccard0/cbb0.  If I stick a compact flash card
 in an adapter, however, it looks to work (haven't tried mounting it).
 Anyway, how do I even start to debug this, since I have no output?  I
 notice one of the lights on the card flashes when I plug it in, but
 that could just be part of it's power-up process...

 Eventually, I plan to hack my bios to get a unsupported network card
 to run without locking up the bios boot process, but from what I've
 read, that's alot of work...

 Thanks,
 Steve


Have you checked the Hardware Notes for the version of FreeBSD that you're
running?  You can find links to the current versions' notes at:

http://www.freebsd.org/releases/

That might give you some indication of whether the item is supported and
whether there is a kernel module that you need to load.

Best of luck,

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


Re: what do I do when a new piece of hardware doesn't even show up in dmesg?

2008-07-24 Thread Steve Franks
On Thu, Jul 24, 2008 at 12:38 PM, Sam Fourman Jr. [EMAIL PROTECTED] wrote:
 No error messages to speak of.  It's like it's not there.  It works
 fine in all my older laptops as ath0, I should have mentioned earlier.
  Really hating having bought a compaq.

 does your PCMICA slot even work in FreeBSD, I have a Lenovo Notebook
 that it doesn;t even work.
 maybe try sending a Full dmesg if you could.

 Sam Fourman Jr.


Slot seems to work with a compact-flash adapter.  dmesg looks normal
if you stick in a compact flash.  There is no dmesg output whatsoever
when you put in a network card.  I would assume HP put some nifty code
in the bios to disable it, except it works under win32  fedora.
Since there's no NIC, I'm not enclosing a dmesg.

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


RE: connecting to a secured Windows 2003 terminal server

2008-07-24 Thread Tamouh H.
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of FreeBSD
 Sent: July 24, 2008 5:41 PM
 To: darko gavrilovic
 Cc: User Questions
 Subject: Re: connecting to a secured Windows 2003 terminal server
 
 Dear Darko
 
 Thanks for your mail.
 
 To answer your question, no, we are on the same network and 
 from my machine everything is open. Also, I tried it from my 
 home, which has the basic firewall allowing me to connect to 
 whereever I want (I tried it with no firewall as well), 
 nothing worked.
 
 Since my office lan can connect to the secured TServer using 
 IE and other client from windows, and both my office lan and 
 home can connect to the non-SSL TServer using rdesktop, I am 
 suspecting I might be needing different client.
 
 any other pointers / links welcome
 
 Thanks
 
 
 darko gavrilovic wrote:
  Hello, is 3389 filtered in any way between you and that server?
 
 
  On Tue, Jul 22, 2008 at 8:37 PM, FreeBSD [EMAIL PROTECTED] 
  mailto:[EMAIL PROTECTED] wrote:
 
  Dear folks
 
  my sincere apologies if this has been discussed earlier, which I
  seriously doubt, since even after googling for nearly 
 five days I
  couldn't find any solution.
 
  Recently my company has updated their server to Windows 
 2003. The
  earlier 2000 server didn't have SSL enabled, so rdp/rdesktop
  worked for me without any problem. But now, as I try to 
 connect to
  the server, it simply gives me
  ERROR: recv: Connection reset by peer
 
  I know for a fact that the server is working fine, since all IE
  and remote desktop softwares are working (they have to 
 install the
  certificate at the beginning, once). But how can I 
 connect from my
  freebsd box?
 
  any pointers/links sujjestions are highly welcome.
 
  Thanks.
  ___
  freebsd-questions@freebsd.org
  mailto:freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
 
 
 
  --
  regards,
  dg
 
  using fsdb(8) and clri(8) was like climbing Mount Everest 
 in sandals 
  and shorts.
  Since writing that, I've tried them more than once and 
 discovered that 
  I was wrong.
  You don't get the shorts. -- M.W. Lucas
 
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

So I take it the encryption level on the TS server is set to High and you're 
using a certificate, or is it just the security level is set to High ?

Which RDP version the server is running? I know there was a recent update by 
MSFT for RDP connections, but I don't know if this fixes the problem or not. 
Also, what version of rdpdesktop are you running?

Tamouh


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


Re: connecting to a secured Windows 2003 terminal server

2008-07-24 Thread darko
What ver. of rdesktop are you running? Are you running the latest?

sorry, I don't know enough about MS encryption or their TS services to
suggest any advanced rdesktop tweaks. Wonder if you can run rdesktop in
verbose mode and look at any logs it spews out.




On Thu, Jul 24, 2008 at 5:40 PM, FreeBSD [EMAIL PROTECTED] wrote:

  Dear Darko

 Thanks for your mail.

 To answer your question, no, we are on the same network and from my machine
 everything is open. Also, I tried it from my home, which has the basic
 firewall allowing me to connect to whereever I want (I tried it with no
 firewall as well), nothing worked.

 Since my office lan can connect to the secured TServer using IE and other
 client from windows, and both my office lan and home can connect to the
 non-SSL TServer using rdesktop, I am suspecting I might be needing different
 client.

 any other pointers / links welcome

 Thanks



 darko gavrilovic wrote:

 Hello, is 3389 filtered in any way between you and that server?


 On Tue, Jul 22, 2008 at 8:37 PM, FreeBSD [EMAIL PROTECTED] wrote:

 Dear folks

 my sincere apologies if this has been discussed earlier, which I seriously
 doubt, since even after googling for nearly five days I couldn't find any
 solution.

 Recently my company has updated their server to Windows 2003. The earlier
 2000 server didn't have SSL enabled, so rdp/rdesktop worked for me without
 any problem. But now, as I try to connect to the server, it simply gives me
 ERROR: recv: Connection reset by peer

 I know for a fact that the server is working fine, since all IE and remote
 desktop softwares are working (they have to install the certificate at the
 beginning, once). But how can I connect from my freebsd box?

 any pointers/links sujjestions are highly welcome.

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




 --
 regards,
 dg

 using fsdb(8) and clri(8) was like climbing Mount Everest in sandals and
 shorts.
 Since writing that, I've tried them more than once and discovered that I
 was wrong.
 You don't get the shorts. -- M.W. Lucas





-- 
regards,
dg

..but the more you use clever tricks, the less support you'll get ... --
M.W.Lucas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS and DHCP Management System

2008-07-24 Thread darko
On Thu, Jul 24, 2008 at 1:59 PM, Zamri Besar [EMAIL PROTECTED] wrote:


 ... tools to manage a big deployment of dns and dhcp services?


What do you mean by big? Or, how big is big.


-- 
regards,
dg

..but the more you use clever tricks, the less support you'll get ... --
M.W.Lucas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


new vanilla system fails to install many packages/ports

2008-07-24 Thread Steve Franks
I must be missing something obvious.  About 25% of my dependencies
fail to install with errors like:

install-info: /usr/local/info/dir: empty file
pkg-add: command 'install-info --quiet /blah.info' failed

system is 7.0/i386

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


Re: new vanilla system fails to install many packages/ports

2008-07-24 Thread Kevin Kinsey

Steve Franks wrote:

I must be missing something obvious.  About 25% of my dependencies
fail to install with errors like:

install-info: /usr/local/info/dir: empty file
pkg-add: command 'install-info --quiet /blah.info' failed

system is 7.0/i386

Steve


info is GNU-related.  Any reason that GNU-stuff, esp.
info, wouldn't have been installed/built thus far?
(I dunno, but, maybe a csup with the GNU stuff rejected
or commented out ...)

And anything these ports have in common (assuming they're
all GNU for starters).  They aren't Linuxolator stuff?

Always ready to help grasp straws,
Kevin Kinsey
--
Zero Defects, n.:
The result of shutting down a production line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[OT ? ] getting stats out of network capture

2008-07-24 Thread Norberto Meijome
hi all,
apologies for the OT (but maybe it isn't so much). 

I'm interested in knowing the application level RTT for a HTTP application -
ie, not from SYN , SYN/ACK ... FIN , FIN/ACK , but from the POST (http.request
in wireshark) by an  app on my side to the response by the server
(http.response). I have no access to either app's code.

I haven't been able how to do this in wireshark - other than resetting the time
in each http.request and matching to the returning http.response...which doesn't
scale at all :P 

Is there a tool out there that would help , or preferred method to approach this
kind of task?

TIA!
B
_
{Beto|Norberto|Numard} Meijome

It is not the strongest of the species that survive, nor the most intelligent,
but the one most responsive to change. Charles Darwin.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: new vanilla system fails to install many packages/ports

2008-07-24 Thread Steve Franks
On Thu, Jul 24, 2008 at 4:56 PM, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Steve Franks wrote:

 I must be missing something obvious.  About 25% of my dependencies
 fail to install with errors like:

 install-info: /usr/local/info/dir: empty file
 pkg-add: command 'install-info --quiet /blah.info' failed

 system is 7.0/i386

 Steve

 info is GNU-related.  Any reason that GNU-stuff, esp.
 info, wouldn't have been installed/built thus far?
 (I dunno, but, maybe a csup with the GNU stuff rejected
 or commented out ...)


All I did was a developer (not x developer) sysinstall off 7.0 disk
1.  No tweaking, hacking, or extra packages until I got a clean boot
onto the new disk.  I'm somewhere between user and power user.  I have
5 running freebsd systems under my belt, and was going to do my laptop
(I've given up on it several times already - bloody compaq).

 And anything these ports have in common (assuming they're
 all GNU for starters).  They aren't Linuxolator stuff?


Seems to me, they all use gnuinfo instead of manpages?  I don't even
know what gnuinfo is, nor linuxulator.

(!) Bison won't even install (makes fine, but install fails), and
that's pretty darn basic, no?

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


Re: [OT ? ] getting stats out of network capture

2008-07-24 Thread Chuck Swiger

Hi--

On Jul 24, 2008, at 5:12 PM, Norberto Meijome wrote:
I'm interested in knowing the application level RTT for a HTTP  
application -
ie, not from SYN , SYN/ACK ... FIN , FIN/ACK , but from the POST  
(http.request

in wireshark) by an  app on my side to the response by the server
(http.response). I have no access to either app's code.


Try something like this on the webserver or client machine:

# tcpdump -ttt -q -n -A tcp port 80
tcpdump: verbose output suppressed, use -v or -vv for full protocol  
decode

listening on fxp0, link-type EN10MB (Ethernet), capture size 96 bytes
00 IP 17.227.140.124.49729  199.103.21.227.80: tcp 488
[EMAIL PROTECTED]/.%|.g...A.P.4`...8c.
9.,GET /server-status HTTP/1.1
H
001348 IP 199.103.21.227.80  17.227.140.124.49729: tcp 1448
[EMAIL PROTECTED]@g.|.P.A..8.4b.J..
9.,HTTP/1.1 200 OK

...which indicates a delay of 1.348 ms from the HTTP GET to the HTTP  
200 response.  This is using the following delta timestamp mode;


   -ttt   Print a delta (in micro-seconds) between  current  and   
previous

  line on each dump line.)

If you use tcpdump -w to save the packets captured to a file for  
analysis, you can feed it to net/tcpflow port to reconstruct this into  
individual flows, which will make it easier to figure out if your  
traffic starts getting interleaved.


Regards,
--
-Chuck

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


Spamassasin running as root!

2008-07-24 Thread lyd mc
Hi guys,

My maillog complain like this:

Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user not 
specified with -u, not found, or set to root, falling back to nobody

Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of auto-whitelist file 
failed: locker: safe_lock: cannot create tmp lockfile 
/nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for 
/nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory

I google it and found out that i need to run spamd with '-u user' flag.

From BSD guide website spamd has a flag of  '-u qscand'. However, there is no 
detail on how the qscand user has been created.

How to create a user for spamd correctly or securely?   







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


Re: [OT ? ] getting stats out of network capture

2008-07-24 Thread Norberto Meijome
On Thu, 24 Jul 2008 17:42:04 -0700
Chuck Swiger [EMAIL PROTECTED] wrote:

 Try something like this on the webserver or client machine:
 
 # tcpdump -ttt -q -n -A tcp port 80

Excellent, thanks Chuck.
I haven't got access to the server, and the client has to run on a win32 ... so 
i'll figure out how to tcpdump on w32 or howto in wireshark gui.

thanks again!
B

_
{Beto|Norberto|Numard} Meijome

You can discover what your enemy fears most by observing the means he uses to 
frighten you.
   Eric Hoffer (1902 - 1983)

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0 amd64 FAMP Server RAM problem

2008-07-24 Thread Jason W. Morgan
On 2008.07.24 17:49:56, Benjamin Adams wrote:
 Hello everyone.  I'm running a website (http://www.FreeBSD-World.com/)  When
 the RAM is used up and moves to inactive the pages stop loading 100%.
 Pages will stop halfway and sometimes I will get a display of what is in the
 httpd.access log.

Just to clarify: the user accessing the page will get the contents of
http.access displayed to them?

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


Re: Spamassasin running as root!

2008-07-24 Thread lyd mc
Thanks guy!

Regards,

alydmc

From: [EMAIL PROTECTED]

man (8) pw
pw useradd qscand -s /sbin/nologin

From: [EMAIL PROTECTED]

What do you have in /etc/rc.conf, I have
spamd_enable=YES
spamd_flags=-u spamd -H /var/spool/spamd

In my case, the spamd user got created automagically.





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


Re: Spamassasin running as root!

2008-07-24 Thread lyd mc
Thnx chuck.
 
I use ports to install p5-Mail-SpamAssassin, and I have also spamd user. I will 
try Brian config.  

Regards,

alydmc


From [EMAIL PROTECTED]: 

What do you have in /etc/rc.conf, I have
spamd_enable=YES
spamd_flags=-u spamd -H /var/spool/spamd

In my case, the spamd user got created automagically.


--- On Fri, 7/25/08, Chuck Swiger [EMAIL PROTECTED] wrote:
From: Chuck Swiger [EMAIL PROTECTED]
Subject: Re: Spamassasin running as root!
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Date: Friday, July 25, 2008, 10:37 AM

On Jul 24, 2008, at 7:26 PM, lyd mc wrote:
 How to create a user for spamd correctly or securely?

You should have had a spamd user  group created automatically from / 
usr/ports/mail/p5-Mail-SpamAssassin/pkg-install.  If you aren't using  
ports, well, you should start doing so.

Regards,
-- 
-Chuck



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


Re: Spamassasin running as root!

2008-07-24 Thread Chuck Swiger

On Jul 24, 2008, at 7:26 PM, lyd mc wrote:

How to create a user for spamd correctly or securely?


You should have had a spamd user  group created automatically from / 
usr/ports/mail/p5-Mail-SpamAssassin/pkg-install.  If you aren't using  
ports, well, you should start doing so.


Regards,
--
-Chuck

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


Re: Spamassasin running as root!

2008-07-24 Thread Brian

lyd mc wrote:

Hi guys,

My maillog complain like this:

Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user not 
specified with -u, not found, or set to root, falling back to nobody

Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of auto-whitelist file 
failed: locker: safe_lock: cannot create tmp lockfile 
/nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for 
/nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory

I google it and found out that i need to run spamd with '-u user' flag.

From BSD guide website spamd has a flag of  '-u qscand'. However, there is no 
detail on how the qscand user has been created.

How to create a user for spamd correctly or securely?   







  
___

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

What do you have in /etc/rc.conf, I have
spamd_enable=YES
spamd_flags=-u spamd -H /var/spool/spamd

In my case, the spamd user got created automagically.

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


Re: Spamassasin running as root!

2008-07-24 Thread Paul Schmehl

--On July 24, 2008 7:26:06 PM -0700 lyd mc [EMAIL PROTECTED] wrote:


Hi guys,

My maillog complain like this:

Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user
not specified with -u, not found, or set to root, falling back to nobody

Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of
auto-whitelist file failed: locker: safe_lock: cannot create tmp
lockfile /nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for
/nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory

I google it and found out that i need to run spamd with '-u user' flag.


From BSD guide website spamd has a flag of  '-u qscand'. However,
there is no detail on how the qscand user has been created.


How to create a user for spamd correctly or securely? 



man (8) pw

pw useradd qscand -s /sbin/nologin

Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.


spamassasin root file permission

2008-07-24 Thread lyd mc
Hi guys,

I still have this kind of error:

Jul 25 11:08:25 MAIL spamd[78027]: spamd: connection from localhost [127.0.0.1] 
at port 63402
Jul 25 11:08:25 MAIL spamd[78027]: spamd: processing message [EMAIL 
PROTECTED] for root:58
Jul 25 11:08:31 MAIL spamd[78027]: auto-whitelist: open of auto-whitelist file 
failed: locker: safe_lock: cannot create tmp lockfile 
/root/.spamassassin/auto-whitelist.lock.MAIL.78027 for 
/root/.spamassassin/auto-whitelist.lock: Permission denied
Jul 25 11:08:31 MAIL spamd[78027]: spamd: identified spam (11.4/5.0) for 
root:58 in 6.0 seconds, 4966 bytes.
Jul 25 11:08:31 MAIL spamd[78027]: spamd: result: Y 11 - 
HTML_MESSAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RCVD_IN_XBL,RDNS_NONE,URIBL_AB_SURBL,URIBL_RED
 
scantime=6.0,size=4966,user=root,uid=58,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=63402,mid=[EMAIL
 PROTECTED],autolearn=no


my spamd ran like this:

 /usr/local/bin/spamd -u spamd -H /var/spool/spamd -d -r -m 20 --round-robin\ 
/var/run/spamd/spamd.pid

/usr/local/sbin/spamass-milter -f -p /var/run/spamass-milter.sock

Should I also run spamass-milter as '-u spamd -H /var/spool/smapd'?

Thanks,

alydmc




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