RE: mfsbsd

2008-01-23 Thread Wojciech Puchar

remotely.


it is already running freebsd? no need any extra tool to reinstall it.



Are you implying to reinstall via sysinstall with new created slices
with
proper labels over ssh?


you didn't say you want repartition.
this way - not.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating older 7.0 to newer sources, local buildworld problems

2008-01-23 Thread Sten Daniel Soersdal

Jason C. Wells wrote:

Sten Daniel Soersdal wrote:
I'm having troubles updating my buildworld and i've had troubles 
narrowing it down on google.


My question is:

Is there any way i could update the system in the state it is now?
(Preferably without reinstalling the entire system from scratch.)

PS. I've heard about freebsd-update but never got it to work (see below)


I have never used freebsd-update so I can't comment there.  I think 
that's a binary update though.  You are trying to build from source.


I would use cvsup to update my source tree to 7.0-RELEASE.  Since your 
initial sources are before Sep 19, they are not 7.0-RELEASE.  Read about 
cvsup in the handbook.  Look at the example files in 
/usr/share/examples/cvsup.  The I would run 'make clean' and 'make 
buildworld' all over again.


Except for creating a newfs and tweaking files in /etc, building the 
world is pretty much installing the entire system.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

Be careful about the cvs tag that you use.  RELENG_7_0_0_RELEASE is what 
you will eventually want.  If that tag has not yet been set by releng@, 
then you will delete your sources.  I recommend '-d 20' with cvsup to 
protect yourself from accidental deletions.  RELENG_7 is probably what 
you want until 7.0 is actually released.




Thank you, i appreciate your time.
At the bottom of the (messy) mail i sent there was the error i get from 
building sources. I think it's the same error, no matter what version of 
sources i download.
Could it have any relations to any compiler version upgrades done in 7.0 
(not by me but by freebsd project)?


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


Re: lock screen does not works at 6.3 + gnome2

2008-01-23 Thread Frank Bonnet

Frank Bonnet wrote:

Hello

I've installed 6.3 on my machine with gnome2 and the lock screen
function does not work with the standard install of GNOME2, is there
some feature to install to make this available ?

Thanks a lot.
___


the screen saver does not work too ( and crash !)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB / umass / automount

2008-01-23 Thread Oliver Peter
On Tue, Jan 22, 2008 at 07:13:17PM -0500, Chris Hill wrote:
 On Tue, 22 Jan 2008, David Alanis wrote:
 Quoting Oliver Peter [EMAIL PROTECTED]:
 Hi,
 What is currently the best way to attach and detach umass-devices
 automatically?
 Bye
 Oliver
 --
 Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
 Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.
 
 Could you just edit your fstab to have:
 
 /dev/umass-device /umass /umass-type auto 0 0

 This will not make the auto-mounter daemon happen; rather, it will cause 
 the system to try to mount /dev/umass-device at boot time. If the umass 
 device is not connected at boot time, the system will need manual 
 intervention in order to boot. Probably not what the OP wants. Besides, 
 auto is the default anyway.

Thanks for your answers!

That's not exactly what I want - I thought about to plug e.g. an
usb-stick into my machine, let it mount via amd and after I detach the
device from my machine amd should umount the devices automatically.

Is this possible?

AFAIR bad things happen when a mounted usb-devices disappears...

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpLeHUZErBaY.pgp
Description: PGP signature


Re: USB / umass / automount

2008-01-23 Thread Wojciech Puchar

device from my machine amd should umount the devices automatically.

Is this possible?


no - because there is time sequence problem.

device must be FIRST unmounted, then detached
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/dev/lpt0: Device busy, lptcontrol: ioctl: Operation not supported

2008-01-23 Thread Anton Shterenlikht
Hello

My printing stopped working quite suddenly.

Until today I used FBSD-6.3-prerelease (today I updated to 6.3-stable)
on compaq armada 1700 laptop to print on a parallel HP laserjet 2100
printer in text mode and for postscript via apsfilter. All was fine.

Then I got another parallel printer, epson lq-550 24-pin dot matrix,
and played with printing on both printers by just unplugging one
and plugging the other to the laptop's parallel port. For a while
all was fine.

However, after several days, I cannot now print on either printer.
With laserjet I get

# lptest 20 20  /dev/lpt0
/dev/lpt0: Device busy.

With matrix printer I get
# lptest 20 20  /dev/lpt0
#

but nothing is printed.

If I use the spooling system with laserjet I get

# lpq
waiting for lp to become ready (offline?)
Rank   Owner  Job  Files Total Size
1stroot   9(standard input)  317 bytes

# cat /var/spool/lpd/good/log
PAGE: 1 1
INFO: Printing page 1...
#

# cat /var/spool/lpd/good/status
waiting for lp to become ready (offline?)
#

and the printer never becomes online.

With matrix printer I get

# lpq
lp is ready and printing
Rank   Owner  Job  Files Total Size
active root   8(standard input)  317 bytes
# lpq
no entries

but again nothing is printed.

I tried to play with lptcontrol, but I get the following:

# lptcontrol -i -d /dev/lpt0.ctl
lptcontrol: ioctl: Operation not supported
# lptcontrol -s -d /dev/lpt0.ctl
lptcontrol: ioctl: Operation not supported

I updated the OS and rebuilt the kernel:

FreeBSD 6.3-STABLE Wed Jan 23 10:46:54 GMT 2008

but that didn't help.

In my device.hints I have the following printer related lines:
hint.ppc.0.at=isa
#hint.ppc.0.irq=7

to enable the polling mode.

My parallel port settings:

# grep ppc /var/run/dmesg.boot
ppc0: Parallel port at port 0x378-0x37f on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
#

There is nothing in the /var/log/lpd-errs.

I did find some similar posts in various archives, but couldn't
see any suggestions.

My questions:

1.  Could I have fried my parallel chip by changing the printers with
laptop powered on? How can I check this?

2.  What does Device busy really mean, and why I cannot change
the setting with lptcontrol?

3.  Any other tests I could do to pinpoint the source of the problem?

many thanks
anton 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/lpt0: Device busy, lptcontrol: ioctl: Operation not supported

2008-01-23 Thread Wojciech Puchar

My printing stopped working quite suddenly.

Until today I used FBSD-6.3-prerelease (today I updated to 6.3-stable)
on compaq armada 1700 laptop to print on a parallel HP laserjet 2100
printer in text mode and for postscript via apsfilter. All was fine.


i use my laptop to print on my laserjet, and it works by default settings, 
but


/usr/sbin/lptcontrol -d /dev/lpt0.ctl -e

make it much faster.


but nothing like you say. check under DOS, but it may be cable problem.

ppc0: Parallel port at port 0x378-0x37f on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0


what i have (i don't disable interrupt)

ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77f irq 7 drq 1 
on acpi0

ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold



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


Re: ipfw(8) doc bug?

2008-01-23 Thread Ian Smith
On Mon, 21 Jan 2008 19:07:19 +0100 Daniel Gerzo [EMAIL PROTECTED] wrote:
  Monday, January 21, 2008, 2:42:53 PM, you wrote:
  
   I was just browsing various versions of ipfw(8) such as:
  
   http://www.freebsd.org/cgi/man.cgi?query=ipfwapropos=0sektion=0manpath=FreeBSD+6.3-stableformat=html
  
   and noticed that (and 6.3-RELEASE) manuals sport 'FreeBSD 7.0' footers,
   however the proper FreeBSD 7 manual includes the new 'ipfw nat' section,
   so is different in at least that respect.
  
  As far as I know, this isn't a bug. The reason why you see FreeBSD
  7.0 in the footer is that the machine, which is serving the online
  manuals is running 7.0, but the real content of the man page is the
  same as you will find in the 6.3-RELEASE.

Ah that explains it, thanks Daniel.  Strangely perhaps, the 4.10 online
manual did say 4.10, but various others - before and since - say 7.0 ..
they all seem to have the original dates in the footers.  Saves a PR :)

cheers, Ian

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


Re: Updating older 7.0 to newer sources, local buildworld problems

2008-01-23 Thread Jason C. Wells

Sten Daniel Soersdal wrote:


Thank you, i appreciate your time.
At the bottom of the (messy) mail i sent there was the error i get from 
building sources. I think it's the same error, no matter what version of 
sources i download.
Could it have any relations to any compiler version upgrades done in 7.0 
(not by me but by freebsd project)?


How many versions of the source code did you try?  In your case I 
recommend only 7.0-RELEASE.  The terminology in your email makes me 
skeptical that you have tried what I recommended.


Did you run cvsup?  I highly recommend using cvsup to update your 
sources.  It's slick.  It's saves bandwidth.  Plus it's the way that 
just about everyone who runs FreeBSD maintains there system.  That means 
lot's of tech support.


If you are just downloading sources using FTP, or perhaps sysinstall, 
then I recommend deleting all of /usr/src and re-FTP-ing the sources.


I have never had a problem that could not be fixed by re-supping the 
sources.  On rare occasion a breakage will be introduced by the freebsd 
project or you might cvsup most, but not all of a change that is being 
implemented.  A re-sup has always worked for me.  A re-sup has always 
been the very first thing that people on -questions have recommended.


-RELEASES are never broken.  At least not that I can recall.

Try re-posting your question with the last twenty lines or so of your 
log file.  Perhaps someone else will pick it up.  They might be able to 
suss out the exact details of your problem.


Regards,
Jason
___
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 only.....

2008-01-23 Thread Agus
2008/1/22, Lowell Gilbert [EMAIL PROTECTED]:

 Agus [EMAIL PROTECTED] writes:

  Just trying to make sendmail work locally only.And by that i mean, i
  dont want sendmail to be able to relay or send mail to any other machine
  except for localhost
 
  How can i do this? I mean is there a way on rc.conf or i need to touch
 the
  cf??

 This is a very standard thing to do.  See man 8 sendmail.conf
 (as recommended by the rc.conf(8) manual).



There is no man for sendmail.conf, nor sendmail.cf.
The rc.conf only mentions the rc.sendmail...

Giorgos, question...is it needed to put the
sendmail_submit_enable=YES
sendmail_msp_queue_enable=YES
Although they are the default ones?

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


RE: mfsbsd

2008-01-23 Thread Chris Haulmark


 
  remotely.
 
  it is already running freebsd? no need any extra tool to reinstall
 it.
 
 
  Are you implying to reinstall via sysinstall with new created slices
  with
  proper labels over ssh?
 
 you didn't say you want repartition.
 this way - not.

Sorry about this.  Anyone else got advice to do that?

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


Re: Server unreachable after quagga install from ports

2008-01-23 Thread Brian A. Seklecki

On Tue, 2008-01-22 at 23:50 -0600, Nomad wrote:
 I just setup a server running FreeBSD 6.3.  After the install I made some


Ugh... show us: 

$ netstat -rn -f inet 
$ arp -an 

Any pf.conf(5) or rc.conf(5).  Likely $defaultroute in rc.conf(5) is a
short-lived value.

~BAS

 Any information would be appreciated.
 ___
 freeb

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


Re: mfsbsd

2008-01-23 Thread John Nielsen

Quoting Chris Haulmark [EMAIL PROTECTED]:

Anyone used mfsbsd to do remote install of a dedicated server with
success?


No, but..


Summary:

A dedicated server has FreeBSD 6.x running with / as the entire
partition of the entire disk.  Hoping to find a solution to do reinstall
remotely.


That's unfortunate. Is it really the entire disk? If you even had, say, 
a swap partition you could potentially use it to bootstrap the process--

1) Comment out swap line in /etc/fstab
2) Reboot
3) re-label and newfs the swap partition
4) dump/restore some or all of your existing setup to the new fs (or do 
a manual minimal install using sysinstall, or do an installworld with 
DESTDIR set to the new fs ...)
5) Change /etc/fstab on the ORIGINAL root partition (since that's still 
what you'll be booting from for now) to mount root from the new fs

6) Reboot and cross your fingers
7) Observe that the new fs is mounted and the original one is not. Make 
your partitioning changes. Move / restore / reinstall your directories 
and mountpoints as needed.
8) Make sure the /etc/fstab on the NEW root (preferrably on partition 
a) points to the right place.
9) Re-install the boot blocks on the disk and the slice for good 
measure (using fdisk and bsdlabel respectively)

10) Reboot and cross your fingers and toes
11) Observe that your original swap area is NOT mounted and that 
everything else is. Edit /etc/fstab to use your swap area for swap 
again.

12) swapon -a


depenguinator seems incompatible with the current latest FreeBSD
releases.

Advices other than DRAC, IPKM or hire a tech are welcome.


Using mfsbsd, depenguinator, or an approach like the one above there is 
at least one point in the process where you only get one chance to get 
it right. Depending on your personality this might be an adrenaline 
rush, but in any case you should have a backup plan such as DRAC, IPKM, 
or an available tech. Or an IP KVM (Belkin makes one that will let you 
use ISO images over the network as a USB CD). Or a serial console. etc. 
etc.


JN

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


RE: mfsbsd

2008-01-23 Thread Wojciech Puchar

Are you implying to reinstall via sysinstall with new created slices
with
proper labels over ssh?


you didn't say you want repartition.
this way - not.


Sorry about this.  Anyone else got advice to do that?

i made my own liveDVD, it would be as simple as giving 3 command to 
execute remotely (ifconfig, route and /etc/rc.d/sshd forcestart) someone 
on place.


if you like - i could send it, but not today (my GPRS link isn't fast)

please tell me if you like
___
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 only.....

2008-01-23 Thread Lowell Gilbert
Agus [EMAIL PROTECTED] writes:

 2008/1/22, Lowell Gilbert [EMAIL PROTECTED]:

 Agus [EMAIL PROTECTED] writes:

  Just trying to make sendmail work locally only.And by that i mean, i
  dont want sendmail to be able to relay or send mail to any other machine
  except for localhost
 
  How can i do this? I mean is there a way on rc.conf or i need to touch
 the
  cf??

 This is a very standard thing to do.  See man 8 sendmail.conf
 (as recommended by the rc.conf(8) manual).



 There is no man for sendmail.conf, nor sendmail.cf.
 The rc.conf only mentions the rc.sendmail...

My apologies.  That is, indeed, what I meant.

 Giorgos, question...is it needed to put the
 sendmail_submit_enable=YES
 sendmail_msp_queue_enable=YES
 Although they are the default ones?

No.  These are just shell variable assignments.
___
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 only.....

2008-01-23 Thread Agus
2008/1/23, Agus [EMAIL PROTECTED]:

 2008/1/22, Lowell Gilbert [EMAIL PROTECTED]:
 
  Agus [EMAIL PROTECTED] writes:
 
   Just trying to make sendmail work locally only.And by that i mean,
  i
   dont want sendmail to be able to relay or send mail to any other
  machine
   except for localhost
  
   How can i do this? I mean is there a way on rc.conf or i need to touch
  the
   cf??
 
  This is a very standard thing to do.  See man 8 sendmail.conf
  (as recommended by the rc.conf(8) manual).
 


 There is no man for sendmail.conf, nor sendmail.cf.
 The rc.conf only mentions the rc.sendmail...

 Giorgos, question...is it needed to put the
 sendmail_submit_enable=YES
 sendmail_msp_queue_enable=YES
 Although they are the default ones?

 Cheers,
 Agustin




Maybe i wasnt clear...but with the options you gave me Giorgos i still can
send email from localhost to external servers like hotmail for instance,
through telnet.I want to disable this, so it can only send mails to
local accounts
This is because this will be an open server with ssh access, so anyone with
access will be able to send mails to everywhere, so i dont want this to
happen

Cheers and thanks for everyone that can help me...
Agustin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lock screen does not works at 6.3 + gnome2

2008-01-23 Thread Andy Greenwood

Frank Bonnet wrote:

Frank Bonnet wrote:

Hello

I've installed 6.3 on my machine with gnome2 and the lock screen
function does not work with the standard install of GNOME2, is there
some feature to install to make this available ?

Thanks a lot.
___


the screen saver does not work too ( and crash !)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
I had the same problem with my 7.0-Beta3 box. I used xscreensaver 
instead of the default gnome-screensaver.

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


Re: Latest Stable FreeBSD version and its Dell 2950 Compatiblity

2008-01-23 Thread Jerry McAllister
On Wed, Jan 23, 2008 at 10:11:04AM +0530, navneet Upadhyay wrote:

 Hi,
 I need to know which is the latest stable FreeBSD release(6.2 ?) and
 does it goes well with Dell 2950 ?

I am presuming you are using the word 'stable' in a generic sense and
not the official STABLE version sense - eg you want the version that
is considered to be in place and reliable for use.   If FreeBSD
terminology, that is the RELEASE version.   STABLE is used to reply
to a sort of beta version that is reliable but still somewhat fluid
in development.   The term CURRENT is used for snapshots of the version
that is being modified at the moment and which might not be reliable
(but often is).

So, you want FreeBSD 6.3 which just became a RELEASE version a few days
ago.The 6.3 RELEASE is the latest and is a good place to start 
installation.

If you want 7.0 features, then just wait a few days and it will also 
become RELEASE.The 7.0 branch is destined to become the new main 
branch quite soon and all work will be done on it (and, of course, head
which is now 8.0, etc)  

One nice new feature available in 7.0 is ZFS.   But, that is something
people are just learning to use.   If you look at the release notes for
each branch, you will get brief descriptions of the changes and have
an idea if those features are urgent for you.

It is expected that no new major changes will be made to the 6.xx branch 
though bug fixes may cause another RELEASE (6.4) to be made before it 
is completely at end-of-life.

jerry

 
 Thanks
  Navneet
 ___
 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: Latest Stable FreeBSD version and its Dell 2950 Compatiblity

2008-01-23 Thread Jerry McAllister
On Wed, Jan 23, 2008 at 10:11:04AM +0530, navneet Upadhyay wrote:

 Hi,
 I need to know which is the latest stable FreeBSD release(6.2 ?) and
 does it goes well with Dell 2950 ?

I forgot to mention.   
Yes, 6.3 RELEASE (or even 6.2, but why bother with that now that 6.3 is out)
will work just fine with a Dell 2950.   I have put it on several.  The
upcoming 7.0 RELEASE will work on 2950-s too.

jerry


 
 Thanks
  Navneet
 ___
 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: Sendmail local only.....

2008-01-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Agus wrote:
 
 Maybe i wasnt clear...but with the options you gave me Giorgos i still can
 send email from localhost to external servers like hotmail for instance,
 through telnet.I want to disable this, so it can only send mails to
 local accounts
 This is because this will be an open server with ssh access, so anyone with
 access will be able to send mails to everywhere, so i dont want this to
 happen

Hmm... It's actually pretty hard to stop an MTA from being able to
send e-mail, given that is what it is designed to do.

A quick fix would be to use the firewall on the box to block connection
to port 25 outgoing.  Eg. with pf(4):

   block log out on $ext_if proto tcp \
from any to any port smtp

However this will lead to outgoing messages clogging up the mail spool
typically for five days, instead of being immediately rejected.

You could try a custom sendmail configuration without the SMTP mailer
- -- just delete the line saying:

   MAILER(smtp)

at the end of `hostname`.mc and generate a sendmail .cf file in the
usual way (ie. 'make all install')  I am however not at all sure that
even works -- sendmail documentation basically says the smtp mailer
is mandatory.

Another approach worth trying would be to use a wildcard mailertable
entry that redirects any mail back to root the local machine:


   localhost  local:
   your.host.name local:
   .  local:root

or replace the last line with:

   .  error:Mail to external sites not allowed

in order to reject the message instantly.  This is all untried, so
no guarantees of success, but experimenting along one or more of those
lines should achieve what you want.

Cheers,

Matthew


- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHl3jc8Mjk52CukIwRCNBvAJ941ZEAs+RnO7r0MR4S7wYH91oMWACeM01a
pGXYxBKLwcqgybnT1l1Cb1E=
=3A0Z
-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]


Perl-5.10.0 in FBSD-7.0

2008-01-23 Thread Gerard
I have not been able to find any information in regards to the latest
version of Perl, version 5.10.0, released in December.

1) When will this version be available in the ports system?

2) Will FreeBSD-7.0 use this as the default Perl version?

It seems rather silly to use the older version as the default in
FBSD-7.0 since a newer version is available.

-- 

Gerard
[EMAIL PROTECTED]

Misfortunes arrive on wings and leave on foot.



signature.asc
Description: PGP signature


make buildworld 6.x on 7.x?

2008-01-23 Thread Rakhesh Sasidharan

Hi,

Is it possible to do a ''make buildworld buildkernel'' of the FreeBSD 6.x 
series sources on a FreeBSD 7.x machine and then install them onto a 
FreeBSD 6.x machine?


I ask coz currently I have 3 FreeBSD 6.2 machines and I build the world 
and kernel on one of them and install on the others (while updating etc). 
When FreeBSD 7 releases I plan to move one of the machines to that (and 
this is the machine on which I build stuff currently) so I was wondering 
if its possible to continue with things the way they are now ...


I understand I'll have to build separate port packages for 7.x and 6.x but 
I maybe there's some workaround for the base system ...?


Thanks, 
Rakhesh


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


Perl-5.10.0 in FBSD-7.0

2008-01-23 Thread Robert Huff

Gerard writes:

  2) Will FreeBSD-7.0 use this as the default Perl version?
  
  It seems rather silly to use the older version as the default in
  FBSD-7.0 since a newer version is available.

I don't speak for the Release Engineering team, but: almost
certainly not.
Perl is used by so many things that making the change before a
.0 release is work for no necessary gain.  It's practically a Kick
Me! sign.


Robert Huff

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


suggestion

2008-01-23 Thread Pouemes
http://pouemes.free.fr

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


RE: are we CRIMINALS?

2008-01-23 Thread Paul Schmehl
--On Tuesday, January 22, 2008 21:57:22 -0800 Ted Mittelstaedt 
[EMAIL PROTECTED] wrote:






-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul Schmehl
Sent: Tuesday, January 22, 2008 10:25 AM
To: freebsd-questions@freebsd.org
Subject: Re: are we CRIMINALS?


--On Tuesday, January 22, 2008 13:03:27 +0100 Wojciech Puchar
[EMAIL PROTECTED] wrote:

 http://www.spamsuite.com/node/351

 jest first step to criminalize unix at all
 ___

We aren't criminals, but *he* is.



Paul, you do realize that Sierra is a known newsgroup spammer and
that the lawsuit in question was just filed against a spamfighter
by a spammer?



Yes.


Also, that the judgement that is in the post is actually
a prepared order, written by Plaintiff's counsel, it wasn't
written by the judge.



Yes.


This case is sitting in the appellate courts somewhere, gathering
dust.  Nobody has paid anything to anybody, except to the lawyers.
Sierra makes their money selling to morons what Google gives
out for free.

Please, unless your willing to do the research, don't waste
time commenting.



He disobeyed a court order.  That makes him a criminal.  Whether what he was 
trying to do was right or not is irrelevant.  Once the court told him to 
stop, he should have stopped.


And yes, I know full well that bad people take advantage of our courts every 
day.


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

___
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 only.....

2008-01-23 Thread Rob

Agus wrote:

Just trying to make sendmail work locally only.And by that i mean, i
dont want sendmail to be able to relay or send mail to any other machine
except for localhost


I like to avoid sendmail all together.

Install ports/mail/ssmtp

Turn off sendmail:
sendmail_enable=NONE  # Run the sendmail inbound daemon (YES/NO/NONE).
sendmail_outbound_enable=NO   # Dequeue stuck mail (YES/NO).
sendmail_submit_enable=NO # Start a localhost-only MTA for mail submission


From pkg-descr:

A secure, effective and simple way of getting mail off a system to your
mail hub. It contains no suid-binaries or other dangerous things - no mail
spool to poke around in, and no daemons running in the background. Mail is
simply forwarded to the configured mailhost. Extremely easy configuration.

WARNING: the above is all it does; it does not receive mail, expand aliases
or manage a queue. That belongs on a mail hub with a system administrator.

WWW: http://packages.debian.org/testing/mail/ssmtp.html

-rob


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


Re: X -configure fails on 6.3-Release

2008-01-23 Thread lamana

h
Manually adding Xorg package resolves the problem -- it installs everything.
 So, the problem is likely a 6.3 installation bug, but I wonder no one 
 else complained it :-(
 
 Thanks for help,
 -Jin
 

I had the same problem, manual xorg compilation with default switches worked
flawlessly.
The problem is probably in xorg package provided on 6.3 install cds.

Thanks both of you Predrag and Jin =)
-- 
View this message in context: 
http://www.nabble.com/X--configure-fails-on-6.3-Release-tp14978407p15048921.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]


VM Options

2008-01-23 Thread Jack Barnett


Are there any good VM Options for FreeBSD?

There is VMWare in ports; which I really like - but it's a few years old 
and still stuck on version 3 the last time I tried it.


Are there any other options available?

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


Re: VM Options

2008-01-23 Thread Norman Maurer

Am Mittwoch, den 23.01.2008, 13:11 -0600 schrieb Jack Barnett:
 Are there any good VM Options for FreeBSD?
 
 There is VMWare in ports; which I really like - but it's a few years old 
 and still stuck on version 3 the last time I tried it.
 
 Are there any other options available?

If you just want to run other FreeBSD's I whould try jail ( man jail ).
It's covered in the handbook too..

Cheer,
Norman

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


Re: Perl-5.10.0 in FBSD-7.0

2008-01-23 Thread Kris Kennaway

Gerard wrote:

I have not been able to find any information in regards to the latest
version of Perl, version 5.10.0, released in December.

1) When will this version be available in the ports system?


After 7.0 is released.


2) Will FreeBSD-7.0 use this as the default Perl version?


Not as it will be shipped, but users can upgrade to it later.  I was 
going to say easily upgrade, but that might turn out to be a lie :)


Historically, new versions of perl are a recipe for large amounts of 
pain because of all the old perl code that stops working.  It would be 
completely irresponsible to attempt that update prior to the release 
(and moreover, the packages are already finalized for 7.0 anyway, modulo 
security updates).


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


Re: VM Options

2008-01-23 Thread Bill Moran
In response to Jack Barnett [EMAIL PROTECTED]:
 
 Are there any good VM Options for FreeBSD?
 
 There is VMWare in ports; which I really like - but it's a few years old 
 and still stuck on version 3 the last time I tried it.

VMWare on FreeBSD is a no-op.  Someone should really remove that port.

jail is your best option.  See the handbook for details and install the
ezjail port to make it more manageable.  The drawback is that jail can
only run other FreeBSD instances in the VM.

Next up would be qemu.  I use it a lot and it works a lot like VMWare.
The disadvantage to qemu is that it's really slow.

Down the list are a number of technologies in various stages of
development, such as Xen.  I don't recommend any of them at this time
unless you want to help with development.

-- 
Bill Moran
http://www.potentialtech.com
___
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 only.....

2008-01-23 Thread Zbigniew Szalbot
Hello,

2008/1/23, Rob [EMAIL PROTECTED]:
 Agus wrote:
  Just trying to make sendmail work locally only.And by that i mean, i
  dont want sendmail to be able to relay or send mail to any other machine
  except for localhost

 I like to avoid sendmail all together.

 Install ports/mail/ssmtp

 Turn off sendmail:
 sendmail_enable=NONE  # Run the sendmail inbound daemon 
 (YES/NO/NONE).
 sendmail_outbound_enable=NO   # Dequeue stuck mail (YES/NO).
 sendmail_submit_enable=NO # Start a localhost-only MTA for mail 
 submission

 From pkg-descr:
 A secure, effective and simple way of getting mail off a system to your
 mail hub. It contains no suid-binaries or other dangerous things - no mail
 spool to poke around in, and no daemons running in the background. Mail is
 simply forwarded to the configured mailhost. Extremely easy configuration.

 WARNING: the above is all it does; it does not receive mail, expand aliases
 or manage a queue. That belongs on a mail hub with a system administrator.

 WWW: http://packages.debian.org/testing/mail/ssmtp.html

But this is not what OP has asked for!

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


Re: VM Options

2008-01-23 Thread Brian A. Seklecki

On Wed, 2008-01-23 at 13:11 -0600, Jack Barnett wrote:
 Are there any good VM Options for FreeBSD?
 
 There is VMWare in ports; which I really like - but it's a few years old 

Jails and as a Xen guest --- probably with a NetBSD or GNU/Linux host.
There's always Solaris domain. :}

 ~BAS

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


Re: Server unreachable after quagga install from ports

2008-01-23 Thread Nomad
On 1/23/08, Brian A. Seklecki [EMAIL PROTECTED] wrote:


 On Tue, 2008-01-22 at 23:50 -0600, Nomad wrote:
  I just setup a server running FreeBSD 6.3.  After the install I made
 some


 Ugh... show us:

 $ netstat -rn -f inet
 $ arp -an

 Any pf.conf(5) or rc.conf(5).  Likely $defaultroute in rc.conf(5) is a
 short-lived value.

 ~BAS

  Any information would be appreciated.



UGH is right ... have you ever sent a message and then 1/2 a second after
you hit SEND you realized you're an idiot and you overlooked something
extremely obvious?  Well that's me in this case    turns out in my
quagga config I had the native interface in shutdown.

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


Re: make buildworld 6.x on 7.x?

2008-01-23 Thread Kris Kennaway

Rakhesh Sasidharan wrote:

Hi,

Is it possible to do a ''make buildworld buildkernel'' of the FreeBSD 
6.x series sources on a FreeBSD 7.x machine and then install them onto a 
FreeBSD 6.x machine?


Yes, I did this a few minutes ago in fact :)  No special procedures are 
necessary, world builds are already suitably isolated from the host 
system for this to work.


Kris

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


Re: are we CRIMINALS?

2008-01-23 Thread John Levine
 He disobeyed a court order.  That makes him a criminal.  Whether
 what he was trying to do was right or not is irrelevant.  Once the
 court told him to stop, he should have stopped.

I happen to know David Ritz, and it would be extraordinarily out of
character for him to have violated a court order.  I don't know the
exact sequence of alleged events since most of the court papers are
sealed, but I do know that for part of the time he was in a coma in
the hospital.  As others have noted, the judge accepted the
plaintiff's claims at face value, even though there are strong reasons
to doubt his veracity.

This is a travesty of justice, nothing more, nothing less.

R's,
John

PS: It doesn't have much to do with FreeBSD, either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Buildworld for slow system on faster system

2008-01-23 Thread Shawn Barnhart
My primary FreeBSD box is a Dual P3 700 Mhz, which is dandy for my 
console mode server usage but kind of blows for buildworld and kernels 
when I want them done a timely fashion.  I'd like to do it in a 
dual-proc VM on my quad core workstation, where it gets done a lot faster.


Is there any documentation for doing buildworld on a faster system for a 
slower system?  Can I just mount the slow system's /usr/src on a 
mountpoint on the faster system, do the buildworld and buildkernel, and 
then run the installworld and installkernel as per normal on the slow 
system?  It sounds too easy, so it probably is..


What about ports?  I can usually tolerate the ports build times, so its 
not a big deal, although sometimes the dependencies and larger packages 
can be toe-tappers as well.


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


samba 3.28 on 6.3 produces configure no locking error

2008-01-23 Thread Dave

Hello,
I am trying to install samba
3.28 on a freebsd 6.3 machine via ports. I've done this before many times,
on this particular machine configure is failing with the error: no locking
is available, running samba would be unsafe. I've googled and have seen this 
error, but no fixes. Any suggestions welcome. If it matters this is on a 
ufs2 filesystem with acls, and softupdates on it. It's also not mounted with 
any special mount options.

   Thanks.
Dave. 


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


Re: VM Options

2008-01-23 Thread Robert Eckardt
On Wed, 23 Jan 2008 14:23:16 -0500, Bill Moran wrote
 In response to Jack Barnett [EMAIL PROTECTED]:
  
  Are there any good VM Options for FreeBSD?
  
  There is VMWare in ports; which I really like - but it's a few years old 
  and still stuck on version 3 the last time I tried it.

It depends on what you want to do.
Do you want to run another OS (even a different FreeBSD release)?
Is it sufficient to prevent processes seeing each other? 

 VMWare on FreeBSD is a no-op.  Someone should really remove that port.

That's nonsense.
The current (very old) port is quite out-dated and it took me some time 
to get it running right e.g. with VMware 3 on FreeBSD 6.2. But it works!
In most (though not all) cases Xen is a useful alternative to VMware.
Of course Xen is driven by the Linux hype. All majors OS vendors support 
Xen.
When virtualization solutions find their way into next generation's CPUs 
Xen might take over VMware. Xen is still weak on the management side.

About a year ago rsync.net's 2007 code bounty called for a newer VMware 
port, but it's still in the state currently in progress (for half a 
year now).

 jail is your best option.  See the handbook for details and install the
 ezjail port to make it more manageable.  The drawback is that jail 
 can only run other FreeBSD instances in the VM.

Although jails are available far longer than zones in Solaris they have 
fallen behind. They lack a lot of features, e.g. no ressource management.
Even things that work in native FreeBSD don't work in jails. (ulimit)

 Next up would be qemu.  I use it a lot and it works a lot like 
 VMWare. The disadvantage to qemu is that it's really slow.

VMware burns quite a lot of CPU. QEMU is much worse.

 Down the list are a number of technologies in various stages of
 development, such as Xen.  I don't recommend any of them at this time
 unless you want to help with development.

It really depends on what you want to achieve.

Regards,
Robert

PS: People say, I sometimes tend to see things to negative.

--
Dr. Robert Eckardt---[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: Buildworld for slow system on faster system

2008-01-23 Thread Brent Jones
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Shawn Barnhart
 Sent: Thursday, 24 January 2008 10:24 a.m.
 To: FreeBSD
 Subject: Buildworld for slow system on faster system
 
 My primary FreeBSD box is a Dual P3 700 Mhz, which is dandy for my 
 console mode server usage but kind of blows for buildworld 
 and kernels 
 when I want them done a timely fashion.  I'd like to do it in a 
 dual-proc VM on my quad core workstation, where it gets done 
 a lot faster.
 

What you propose works fine, but you should have the /usr/src and
/usr/obj directories locally stored on your fast machine for the builds.
Then have your slow machine nfs mount /usr/src and /usr/obj from your
fast machine, and simply do your make installs from your slow system.

The same holds true for /usr/ports.  Install/upgrade your ports with the
-p (build packages) option on your fast machine, and then on your slow
machine install/upgrade them with the -P option (use packages) after nfs
mounting /usr/ports.

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


Re: VM Options

2008-01-23 Thread Wojciech Puchar


If you just want to run other FreeBSD's I whould try jail ( man jail ).
It's covered in the handbook too..

and it works PERFECT.
i run 14 jails on one machine, no problems.

the only (but big) disadventage are lack of IPv6 in jail. hope it will be 
fixed.

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


Re: Buildworld for slow system on faster system

2008-01-23 Thread [EMAIL PROTECTED]
On 23/01/2008, Shawn Barnhart [EMAIL PROTECTED] wrote:
 My primary FreeBSD box is a Dual P3 700 Mhz, which is dandy for my
 console mode server usage but kind of blows for buildworld and kernels
 when I want them done a timely fashion.  I'd like to do it in a
 dual-proc VM on my quad core workstation, where it gets done a lot faster.

 Is there any documentation for doing buildworld on a faster system for a
 slower system?  Can I just mount the slow system's /usr/src on a
 mountpoint on the faster system, do the buildworld and buildkernel, and
 then run the installworld and installkernel as per normal on the slow
 system?  It sounds too easy, so it probably is..


It is /usr/obj you want to mount across, though it
will work.  Assuming they're similar enough
versions.  Also assure yourself that their respective
/etc/make.conf (and/or /etc/src.conf) files are
essentially identical, or you will great sorrows
have.

If /usr/obj is nfs mounted on the _build_ machine
it will slow down your build times absurdly, unless
your network (minus overhead) is nearly as fast as
your HDD controller.


 What about ports?  I can usually tolerate the ports build times, so its
 not a big deal, although sometimes the dependencies and larger packages
 can be toe-tappers as well.


Sure, just use the package-recursive target and use
pkg_add on the install machine(1).



(1) details elided

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


Mouse_problem

2008-01-23 Thread Santa
Hello! I have an optical mouse A4tech model WOP-35 (optical). It does
not work in FreeBSD 6.2 (using x-window or moused) but being detected
while booting (irc12 as usual) and mounted on psm0. What is the reason
of such a bug? How could it be fixed?

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


Inspiron 1721 w/ FreeBSD 8-current

2008-01-23 Thread Philip M. Gollucci

Hi,

I'd like to get the following hardware can anyone recommend compatibility?

1) Sprint Card
   [a howto would be good too]

2) Wireless USB Mouse
   [I can probably rtfm for this one]

3) Sound Card
   [built in doesn't work --
http://www.freebsd.org/cgi/query-pr.cgi?pr=111767, I tried the fix,
but doesn't help]
   It doesn't have to be great, just work.

4) 2+GB USB Thumb Drive.



--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
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 only.....

2008-01-23 Thread Agus
2008/1/23, Zbigniew Szalbot [EMAIL PROTECTED]:

 Hello,

 2008/1/23, Rob [EMAIL PROTECTED]:
  Agus wrote:
   Just trying to make sendmail work locally only.And by that i mean,
 i
   dont want sendmail to be able to relay or send mail to any other
 machine
   except for localhost
 
  I like to avoid sendmail all together.
 
  Install ports/mail/ssmtp
 
  Turn off sendmail:
  sendmail_enable=NONE  # Run the sendmail inbound daemon
 (YES/NO/NONE).
  sendmail_outbound_enable=NO   # Dequeue stuck mail (YES/NO).
  sendmail_submit_enable=NO # Start a localhost-only MTA for mail
 submission
 
  From pkg-descr:
  A secure, effective and simple way of getting mail off a system to your
  mail hub. It contains no suid-binaries or other dangerous things - no
 mail
  spool to poke around in, and no daemons running in the background. Mail
 is
  simply forwarded to the configured mailhost. Extremely easy
 configuration.
 
  WARNING: the above is all it does; it does not receive mail, expand
 aliases
  or manage a queue. That belongs on a mail hub with a system
 administrator.
 
  WWW: http://packages.debian.org/testing/mail/ssmtp.html

 But this is not what OP has asked for!

 Zbigniew Szalbot



Right, this seems to be pretty cool if you want to relay mail with just four
lines...but i want to deliver locally only...
I think i will go like Mathew says...

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


sendmail config

2008-01-23 Thread Steven Friedrich
I configured KMail with SSL to send mail from a foreign network thru my 
broadband ISP.  This works fine.

I want to be able to use send-pr, and thought I might me able to configure 
sendmail as outgoing only. I have sendmail_enable=NO in /etc/rc.conf.

local mail works fine.  I don't want incoming from the Internet.

I copied /etc/mail/freebsd.mc to laptop.mc and set SMART_HOST to  
mail.insightbb.com and moved sendmail.cf to sendmailcf.sav.  I compiled 
laptop.mc with m4 /usr/share/sendmail/cf/m4/cf.m4 laptop.mc

I then copied laptop.cf to sendmail.cf and rebooted.

Now, the response is Service not available, but I think it's because I don't 
have sendmail configured to use SSL, like KMail.

Is it possible?
I have read the Handbook and an old version of Unix System Administration 
Handbook, and the README in /usr/share/sendmail/cf, and in /etc/mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Buildworld for slow system on faster system

2008-01-23 Thread Shawn Barnhart

[EMAIL PROTECTED] wrote:

It is /usr/obj you want to mount across, though it
will work.  Assuming they're similar enough
versions.  Also assure yourself that their respective
/etc/make.conf (and/or /etc/src.conf) files are
essentially identical, or you will great sorrows
have.

  
I'm not that much of a system hacker, so I doubt either will get 
edited.  I don't even have a src.conf on my 6_STABLE system, but 
regardless, it won't be an issue to keep them in sync.



If /usr/obj is nfs mounted on the _build_ machine
it will slow down your build times absurdly, unless
your network (minus overhead) is nearly as fast as
your HDD controller.
  


It's gigabit, so it'd be about as good as it can get.  It sounds like 
the thing to do is just do the builds on the fast machine, and then 
mount THAT machine's /usr/src and /usr/obj on the slow machine when it 
comes time to installworld.


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


Re: sendmail config

2008-01-23 Thread Giorgos Keramidas
On 2008-01-23 19:54, Steven Friedrich [EMAIL PROTECTED] wrote:
 I configured KMail with SSL to send mail from a foreign network thru my 
 broadband ISP.  This works fine.
 
 I want to be able to use send-pr, and thought I might me able to configure 
 sendmail as outgoing only. I have sendmail_enable=NO in /etc/rc.conf.
 
 local mail works fine.  I don't want incoming from the Internet.
 
 I copied /etc/mail/freebsd.mc to laptop.mc and set SMART_HOST to  
 mail.insightbb.com and moved sendmail.cf to sendmailcf.sav.  I compiled 
 laptop.mc with m4 /usr/share/sendmail/cf/m4/cf.m4 laptop.mc
 
 I then copied laptop.cf to sendmail.cf and rebooted.

There's a much easier way to generate `sendmail.cf' and `submit.cf' on
FreeBSD.  After reading the comments in `/etc/mail/Makefile', especially
the part shown below:

  # 
  # This Makefile uses `HOSTNAME.mc' as the default MTA .mc file.  This
  # can be changed by defining SENDMAIL_MC in /etc/make.conf, e.g.:
  #
  #   SENDMAIL_MC=/etc/mail/myconfig.mc
  #
  # If 'HOSTNAME.mc' does not exist, it is created using 'freebsd.mc'
  # as a template.
  #
  # It also uses 'HOSTNAME.submit.mc' as the default mail submission .mc
  # file.  This can be changed by defining SENDMAIL_SUBMIT_MC in
  # /etc/make.conf, e.g.:
  #
  #   SENDMAIL_SUBMIT_MC=/etc/mail/mysubmit.mc
  #
  # If 'HOSTNAME.submit.mc' does not exist, it is created using
  # 'freebsd.submit.mc' as a template.
  # 

You can set up a `sendmail.cf' and `submit.cf' file by:

  0. Set up the `rc.conf' options for local delivery only, and to
 forward all other messages to the SMART_HOST relay.

sendmail_enable=NO
sendmail_outbound_enable=NO
sendmail_submit_enable=YES
sendmail_msp_queue_enable=YES

  1. Editing `/etc/make.conf' and setting SENDMAIL_MC and
 SENDMAIL_SUBMIT_MC to:

SENDMAIL_MC?= /etc/mail/laptop.mc
SENDMAIL_SUBMIT_MC?= /etc/mail/laptop.submit.mc

  2. Backup your current `laptop.mc' and `laptop.submit.mc' if any.

  3. Copy the original `freebsd.mc' to `laptop.mc' and the original
 `submit.mc' to `freebsd.submit.mc' in `/etc/mail':

# cd /etc/mail
# cp freebsd.mc laptop.mc
# cp freebsd.submit.mc laptop.submit.mc

  4. Edit the new `laptop.mc' file and set SMART_HOST.

  5. Use the standard `Makefile' to build and install the new *.cf files:

# cd /etc/mail
# make all  make install

Now you should be able to start Sendmail with:

# /etc/rc.d/sendmail stop
# /etc/rc.d/sendmail start

 Now, the response is Service not available, but I think it's because
 I don't have sendmail configured to use SSL, like KMail.

The standard `freebsd.mc' distributed with FreeBSD sources doesn't force
the use of SSL or TLS.  You should be able to use it without SSL.

If you have made modifications to the original `freebsd.mc' file, you
can restore it by copying a fresh version of the same file from their
pristine copies included in the source tree of FreeBSD:

/usr/src/etc/sendmail/freebsd.mc
/usr/src/etc/sendmail/freebsd.submit.mc

HTH,
Giorgos

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


Re: Buildworld for slow system on faster system

2008-01-23 Thread Shawn Barnhart

Brent Jones wrote:

What you propose works fine, but you should have the /usr/src and
/usr/obj directories locally stored on your fast machine for the builds.
Then have your slow machine nfs mount /usr/src and /usr/obj from your
fast machine, and simply do your make installs from your slow system.
  
Thanks.   I'm assuming on the slow install system I have to keep 
/usr/src and /usr/obj mounted from the fast build box on their correct 
directories (ie, over the local system's /usr/src and /usr/obj) 
otherwise I'll have problems.


As the other person who replied pointed out, nfs mounting /usr/src and 
/usr/obj from the slow system to the fast system would nullify a lot of 
the speed advantage (although it is 100% GigE), but would let me keep 
the working /usr/src and /usr/obj on the slow machine, which is the one 
that is actually getting used.


On a somewhat related question, which FreeBSD install choice gives me 
enough development tools to make installworld if I have /usr/src and 
/usr/obj nfs mounted from a full source system but doesn't actually 
burden the system in question with unnecessary components?





___
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 only.....

2008-01-23 Thread Giorgos Keramidas
On 2008-01-23 13:44, Agus [EMAIL PROTECTED] wrote:
 Giorgos, question...is it needed to put the
 sendmail_submit_enable=YES
 sendmail_msp_queue_enable=YES
 Although they are the default ones?
 
 Maybe i wasnt clear...but with the options you gave me Giorgos i still
 can send email from localhost to external servers like hotmail for
 instance, through telnet.I want to disable this, so it can only
 send mails to local accounts

Ah, I misunderstood the original question.  My apologies.

On 2008-01-23 17:26, Matthew Seaman [EMAIL PROTECTED] wrote:
 Hmm... It's actually pretty hard to stop an MTA from being able to
 send e-mail, given that is what it is designed to do.

Hehe, indeed :)

 Another approach worth trying would be to use a wildcard mailertable
 entry that redirects any mail back to root the local machine:
 
 
localhost  local:
your.host.name local:
.  local:root

That should work fine :)

 or replace the last line with:
 
.  error:Mail to external sites not allowed

That's a great idea to build upon.

From the limited testing I did just now, bounces still go through, so
someone may abuse this to post email by setting the sender address to
the intended recipient, and posting to random outside mailboxes.

The following works too (after setting up a local dev-null alias):

localhost   local:
my.hostname local:
.   local:dev-null

This silently drops email messages, but at least it logs the delivery to
the dev-null alias, so there's a trace of the email message even though
it won't really get delivered to any user's mailbox and there's no error
responce sent to anyone.

Jan 24 03:57:09 kobe sendmail[9255]: m0O1ura8009255: [EMAIL PROTECTED], \
  size=83, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], \
  [EMAIL PROTECTED]
Jan 24 03:57:09 kobe sendmail[9255]: m0O1ura8009255: [EMAIL PROTECTED], \
  [EMAIL PROTECTED] (1000/1000), delay=00:00:16, xdelay=00:00:00, mailer=relay, 
\
  pri=30083, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, \
  stat=Sent (m0O1v94R009303 Message accepted for delivery)
Jan 24 03:57:09 kobe smtpd[9303]: m0O1v94R009303: from=[EMAIL PROTECTED], \
  size=374, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], \
  proto=ESMTP, daemon=Daemon0, relay=kobe.laptop [127.0.0.1]
Jan 24 03:57:09 kobe smtpd[9307]: m0O1v94R009303: to=/dev/null, \
  ctladdr=bit-bucket (26/0), delay=00:00:00, xdelay=00:00:00, mailer=*file*, \
  pri=30629, dsn=2.0.0, stat=Sent

Setting up a `mail-sink' alias, which traps all outgoing messages this
way, may be an easier way to recover the undelivered messages.  It
fringes on privacy violation, though, so I'm now going to pick one or
the other :)

- Giorgos

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


mail questions: mutt and KDE

2008-01-23 Thread Gary Kline


People,

Here's hopping that I'm still subscribed to the kde list, and that 
somebody can 
answer these general mail-type questions.  Once I have Kmail working on 
my own
domain, I'll be able to use that as a lifeline.  Also, I would like 
some clues
of how to if IF I  can use mutt *with* IMAP.

Since my network re-org, THOUGHT.ORG is now behind a stand-alone 
firewall.
AFAIK, nothing/nobody, not even me, can crack my f'wall.  My 
server/desktop 
is not running 3 servers within one jail: DNS, web, and email.  Still 
using
sendmail as my MTA, the rest of it is evolution and/or kmail.  USing 
IMAP
from my two desktops to the mailserver.   I Do not understand much of 
this yet, 
do Please bear with me.

I want to get mutt functional since most of my mailis ASCII or 8859-15. 
 For 
friends who mail me URL's of pics, I use the GUI mail user agents.   Is 
there 
a way me me, on desktops (FBSD and Ubuntu) to send/receive via the 
mailserver?

The Kmail question is a bit on the strange side.  When I hit the 
reply icon,
a composer window pops up, but I cannot type in it!  There is no echo 
to stdout.
But the scroll-bar moves up so I'm guessing that **something** is being 
stuffed 
into the the composer buffer.  Have any of you guys seen this before?

(I recently learned most of the other one, evo, and it does build, but 
I'm 
missing its icons...   I see tiny squares with red X's inside.  But 
this is
another issue. For now, I'd be happy with some clues about the Kmail 
strangeness
and the mutt+IMAP stuff.)

tia, guys,

gary


-- 
Gary Kline  Seattle BSD Users' Group (seabug)  | [EMAIL PROTECTED]
Thought Unlimited Org's Alternate Email Site
http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant

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


RE: are we CRIMINALS?

2008-01-23 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Paul Schmehl
 Sent: Wednesday, January 23, 2008 10:08 AM
 To: freebsd-questions@freebsd.org
 Subject: RE: are we CRIMINALS?
 
 
 --On Tuesday, January 22, 2008 21:57:22 -0800 Ted Mittelstaedt 
 [EMAIL PROTECTED] wrote:
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Paul Schmehl
  Sent: Tuesday, January 22, 2008 10:25 AM
  To: freebsd-questions@freebsd.org
  Subject: Re: are we CRIMINALS?
 
 
  --On Tuesday, January 22, 2008 13:03:27 +0100 Wojciech Puchar
  [EMAIL PROTECTED] wrote:
 
   http://www.spamsuite.com/node/351
  
   jest first step to criminalize unix at all
   ___
 
  We aren't criminals, but *he* is.
 
 
  Paul, you do realize that Sierra is a known newsgroup spammer and
  that the lawsuit in question was just filed against a spamfighter
  by a spammer?
 
 
 Yes.
 
  Also, that the judgement that is in the post is actually
  a prepared order, written by Plaintiff's counsel, it wasn't
  written by the judge.
 
 
 Yes.
 
  This case is sitting in the appellate courts somewhere, gathering
  dust.  Nobody has paid anything to anybody, except to the lawyers.
  Sierra makes their money selling to morons what Google gives
  out for free.
 
  Please, unless your willing to do the research, don't waste
  time commenting.
 
 
 He disobeyed a court order.  That makes him a criminal.

Only if the court in question has jurisdiction over him.  The US
courts found in favor of an anti-trust lawsuit against DeBeers
around 20 years ago I think it was and the DeBeers family finally
decided it was too much of a nuisance to avoid travelling into the US
so they settled for some paltry 300 million this year (if you have
ever bought a diamond and you still have the receipt you can
get some settlement money)

Did the US court have jurisdiction over a corporation that has no
footprint in the US?  They thought they did.  DeBeers didn't.  What
do you think?

How would you like it if some kangaroo court in Iran issued a judgement
against you?  Would you consider yourself a criminal?

  Whether 
 what he was 
 trying to do was right or not is irrelevant.

Absolutely untrue.  It is at the heart of the issue.

  Once the court 
 told him to 
 stop, he should have stopped.
 

No.  Once ALL AVENUES of appeal are exhausted AND a judgement was
found against him, only then if he disobeys the final court order
then can he be considered a criminal.  As such happened with Microsoft
during the anti-trust trial, etc.  Until then, this is nothing more
than a civil dispute between a spamfighter and a spammer.  And as
the spamfigher in question undoubtedly has no assets to his name,
what is really going on here is a complicated political dance whereby
the spammer is manipulating the courts in an attempt to bluster
a threat against the spamfighter, and the spamfighter is manipulating
the courts in an attempt to cost the spammer money in lawyer fees.

A great many of these suits disappear when one or the other of the
parties gets tired of paying the court costs and lawyers fees.

 And yes, I know full well that bad people take advantage of our 
 courts every 
 day.


And good people often forget that courts are nothing more than another
arm of the government, and quite often the solutions that come out
of them are a result of political negotiation and compromise - exactly
the same way that the legislative arm solves problems.

You should read some history, there's been a lot of bad law that
has been overturned.  It never would have happened if people like
Rosa Parks hadn't committed criminal acts from your viewpoint,
and ignored court-supported orders and laws.

You cannot sit there and say that just because someone is a
criminal they are bad.  Nor can you say that just because someone
is not a criminal that they are good.  Look no further than the
current occupant of the White House for that.  What is criminal
in a good society is defined by what is wrong  Sadly, that
does not always happen.

If you buy a DVD and make a copy for your own use according to
DMCA you are a criminal. However if you buy a videotape of the
same movie and make a copy for your own use you are not a criminal.
Clearly, both actions are morally right  They are almost the same
action in fact.  But one is illegal the other isn't.  Can't you
see here that the problem isn't the action but the law?

In this lawsuit, the worst you can say is that both parties,
the spammer and the spamfighter, are in the wrong.  But I fail to
see how the spammer can be right and the spamfighter is wrong

You can, if you wish, argue the spammer is legal and the
spamfigher is illegal  But, this simply illustrates that the
law is bad - and for many people it is a moral duty to violate
bad law.  And I for one, am very glad that they feel this way.

Ted
___

Using mutt to access imap folders (was: mail questions: mutt and KDE)

2008-01-23 Thread Giorgos Keramidas
freebsd-kde stripped from the recipient list.

Gary it's probably better to post *two* messages if you have two
unrelated questions.  This way the traffic in freebsd-kde will not get
'polluted' with all the replies about mutt, which isn't really related
to KDE on FreeBSD.

On 2008-01-23 18:24, Gary Kline [EMAIL PROTECTED] wrote:
 Here's hopping that I'm still subscribed to the kde list, and that
 somebody can answer these general mail-type questions.

You don't have to be subscribed to freebsd-kde to post.

 Also, I would like some clues of how to if IF I can use mutt *with*
 IMAP.

You can set ${MAIL} in your environment to an imap folder.  Then firing
up mutt will select the imap folder by default, and you will be prompted
for a password.

Try for example the following:

$ MAIL='imap://[EMAIL PROTECTED]/INBOX'

You can store the IMAP username and password in ~/.muttrc too, but then
you should pay careful attention to the permissions of the file (even in
an internal network, it never hurts to be a bit cautious).  The
following in your ~/.muttrc should do the trick:

set imap_user='gkeramidas'
set imap_pass='achmed!the!terrorist'

Then fire up mutt, and enjoy your new IMAP session.

One word of caution though.  Setting $MAIL to an IMAP folder path in
your default environment may upset programs which don't really speak
IMAP the way mutt does, i.e. the command-line mail(1) utility.

The manual of mutt, which is accessible by hitting F1 while inside
mutt, is also a valuable resource for this sort of questions.
Specifically, the following section includes a very good example of how
you can handle multiple IMAP accounts in a single mutt session:

| 13. Managing multiple IMAP/POP accounts (OPTIONAL)
|
| If you happen to have accounts on multiple IMAP and/or POP
| servers, you may find managing all the authentication settings
| inconvenient and error-prone. The account-hook command may
| help. This hook works like folder-hook but is invoked whenever
| you access a remote mailbox (including inside the folder
| browser), not just when you open the mailbox.
|
| Some examples:
|
| account-hook . 'unset imap_user; unset imap_pass; unset tunnel'
| account-hook imap://host1/ 'set imap_user=me1 imap_pass=foo'
| account-hook imap://host2/ 'set tunnel=ssh host2 /usr/libexec/imapd'

There are *many* other details in the manual about using mutt to access
IMAP folders.  You should definitely skim through the text at least
once in case you find some interesting option.

A text version of the full manual is available in /usr/local too:

/usr/local/share/doc/mutt/manual.txt

This is, actually, the file that you get to read when you hit F1
inside mutt.

- Giorgos

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


Out of range IP address in /var/log/messages

2008-01-23 Thread Anjang Aki
Hello,

i have never added IP 213.112.194.33 in my rc.conf and the log keep
generated the error every hours

fyi, my network start from 213.112.194.34 to 213.112.194.62
it causes my cpu utilization turning upside down from 90% idle to 0%
easily and making the logfile getting its size bigger

other than /etc/rc.conf, where else should i checked if there's any
entry of this IP address?

i'm using FreeBSD 6.2-RELEASE
what could be the possibilities and how can I fix this issue?
any advice and solution are highly appreciated

thank you in advanced


messages log:
[EMAIL PROTECTED] /var/log]# cat messages
Jan 20 16:59:50 freebsdsrv kernel: arplookup 213.112.194.33 failed:
host is not on local network
Jan 20 17:00:50 freebsdsrv kernel: arplookup 213.112.194.33 failed:
host is not on local network
Jan 20 17:00:50 freebsdsrv last message repeated 27 times
Jan 20 17:15:50 freebsdsrv kernel: arplookup 213.112.194.33 failed:
host is not on local network
Jan 20 17:16:50 freebsdsrv kernel: arplookup 213.112.194.33 failed:
host is not on local network
Jan 20 17:16:50 freebsdsrv last message repeated 27 times
Jan 20 17:31:50 freebsdsrv kernel: arplookup 213.112.194.33 failed:
host is not on local network
Jan 20 17:32:50 freebsdsrv last message repeated 28 times
Jan 20 17:40:31 freebsdsrv kernel: Limiting closed port RST response
from 208 to 200 packets/sec
Jan 20 17:40:40 freebsdsrv kernel: Limiting closed port RST response
from 202 to 200 packets/sec
Jan 20 17:47:50 freebsdsrv kernel: arplookup 213.112.194.33 failed:
host is not on local network
Jan 20 17:48:50 freebsdsrv kernel: arplookup 213.112.194.33 failed:
host is not on local network
Jan 20 17:48:50 freebsdsrv last message repeated 27 times
Jan 20 18:03:50 freebsdsrv kernel: arplookup 213.112.194.33 failed:
host is not on local network
Jan 20 18:04:50 freebsdsrv last message repeated 28 times
[EMAIL PROTECTED] /var/log]#


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


Re: Out of range IP address in /var/log/messages

2008-01-23 Thread Giorgos Keramidas
On 2008-01-24 11:32, Anjang Aki [EMAIL PROTECTED] wrote:
 Hello,
 i have never added IP 213.112.194.33 in my rc.conf and the log keep
 generated the error every hours

 fyi, my network start from 213.112.194.34 to 213.112.194.62
 it causes my cpu utilization turning upside down from 90% idle to 0%
 easily and making the logfile getting its size bigger

 other than /etc/rc.conf, where else should i checked if there's any
 entry of this IP address?

 messages log:
 [EMAIL PROTECTED] /var/log]# cat messages
 Jan 20 16:59:50 freebsdsrv kernel: arplookup 213.112.194.33 failed: host is 
 not on local network
 Jan 20 17:00:50 freebsdsrv kernel: arplookup 213.112.194.33 failed: host is 
 not on local network
 Jan 20 17:00:50 freebsdsrv last message repeated 27 times

It would help if you could show us your `ifconfig -a' output.  This way
we will know what IP address *and* netmask you are using.

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


mkisofs and timestamps in ISO-9660 filesystems

2008-01-23 Thread Bob Johnson
I posted this a few days ago and got only marginally helpful responses, so 
here it is again with more detail:

1) I'm using reasonably recent versions of things:

# uname -a
FreeBSD acer.wb4jcm.org 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 10:10:07 UTC 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

# mkisofs -version
mkisofs 2.01.01a37 (amd64-unknown-freebsd7.0) Copyright (C) 1993-1997 Eric 
Youngdale (C) 1997-2007 Jörg Schilling

# pkg_info | grep cdrtools
cdrtools-devel-2.01.01a37,1 CD/DVD and ISO-9660 image creation and extraction 
tools

2) My system is set to US Eastern Standard Time:

# date
Wed Jan 23 21:45:27 EST 2008
# date -u
Thu Jan 24 02:45:49 UTC 2008
# TZ=EST date
Wed Jan 23 21:46:53 EST 2008
# TZ=GMT date
Thu Jan 24 02:46:58 GMT 2008
# echo $TZ

# 

This is a dual boot system (with MS Vista), so the hardware clock is set to 
local time, not to GMT. I suspect this is significant.


3) I have a test file (just a bunch of zeroes). It's big because I wanted to 
see how quickly this system could write out a GB of data, but I get the same 
results with small files). The time stamp displayed by ls is correct for 
local time, and shows correct GMT time if I ask for it:
# ls -l
total 1049104
-rw-r--r--  1 root  bobj  1073741824 Jan 23 21:28 test.file --CORRECT
# TZ=GMT ls -l
total 1049104
-rw-r--r--  1 root  bobj  1073741824 Jan 24 02:28 test.file --CORRECT
#  


4) I use mkisofs to create an ISO filesystem with this test file in it:

# mkisofs -R -J -o test.iso test.file
  0.95% done, estimate finish Wed Jan 23 21:55:59 2008
[...]
 99.15% done, estimate finish Wed Jan 23 21:54:46 2008
Total translation table size: 0
Total rockridge attributes bytes: 274
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
524469 extents written (1024 MB)

5) I use mdconfig to mount the ISO filesystem (I get the same results if I use 
burncd to burn a CD and then mount the CD):

# mdconfig -a -t vnode -f test.iso -u 4
# mount_cd9660 /dev/md4 /mnt
#

6) Now when I look at the dates on the ISO filesystem, they are wrong. They 
look like the correction for offset from GMT has been applied twice. Note 
that the correct local timestamp for the file on the ISO filesystem is  Jan 
23 21:28 and the correct GMT timestamp is Jan 24 02:28.

# ls -l /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:28 test.file -- WRONG!
# TZ=EST ls -l /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:28 test.file -- WRONG!
# TZ=GMT ls -l /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 21:28 test.file -- WRONG!
#
# ls -lc /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:28 test.file -- WRONG!
# ls -lt /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:28 test.file -- WRONG!
# ls -lu /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:37 test.file -- WRONG!
#   

So what is going on here? Is this a bug, or a misconfiguration, or a 
misunderstanding? 

And as a side issue, why is the incorrect last access time 16:37, rather than 
16:54, since I built the ISO filesystem at 21:54?

I have not yet tried moving a CD to a Windows system to see what the file 
timestamp shows there. I have tried this on two different FreeBSD systems 
(7.0-RC1 amd64, and 6.2-RELEASE-p9 i386) with both cdrtools and 
cdrtools-devel from ports, and get the same results.

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


Re: Out of range IP address in /var/log/messages

2008-01-23 Thread Anjang Aki
Thank you for your reply.
Here is ifconfig -a output:

[EMAIL PROTECTED] ~ $ ifconfig -a
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=bRXCSUM,TXCSUM,VLAN_MTU
inet 213.112.195.98 netmask 0xffe0 broadcast 213.112.195.127
inet 213.112.194.34 netmask 0x broadcast 213.112.194.255
inet 213.112.194.35 netmask 0x broadcast 213.112.194.255
inet 213.112.194.36 netmask 0x broadcast 213.112.194.255
inet 213.112.194.37 netmask 0x broadcast 213.112.194.255
inet 213.112.194.38 netmask 0x broadcast 213.112.194.255
inet 213.112.194.39 netmask 0x broadcast 213.112.194.255
inet 213.112.194.40 netmask 0x broadcast 213.112.194.255
inet 213.112.194.41 netmask 0x broadcast 213.112.194.255
inet 213.112.194.42 netmask 0x broadcast 213.112.194.255
inet 213.112.194.43 netmask 0x broadcast 213.112.194.255
inet 213.112.194.44 netmask 0x broadcast 213.112.194.255
inet 213.112.194.45 netmask 0x broadcast 213.112.194.255
inet 213.112.194.46 netmask 0x broadcast 213.112.194.255
inet 213.112.194.47 netmask 0x broadcast 213.112.194.255
inet 213.112.194.48 netmask 0x broadcast 213.112.194.255
inet 213.112.194.49 netmask 0x broadcast 213.112.194.255
inet 213.112.194.50 netmask 0x broadcast 213.112.194.255
inet 213.112.194.51 netmask 0x broadcast 213.112.194.255
inet 213.112.194.52 netmask 0x broadcast 213.112.194.255
inet 213.112.194.53 netmask 0x broadcast 213.112.194.255
inet 213.112.194.54 netmask 0x broadcast 213.112.194.255
inet 213.112.194.55 netmask 0x broadcast 213.112.194.255
inet 213.112.194.56 netmask 0x broadcast 213.112.194.255
inet 213.112.194.57 netmask 0x broadcast 213.112.194.255
inet 213.112.194.58 netmask 0x broadcast 213.112.194.255
inet 213.112.194.59 netmask 0x broadcast 213.112.194.255
inet 213.112.194.60 netmask 0x broadcast 213.112.194.255
inet 213.112.194.61 netmask 0x broadcast 213.112.194.255
inet 213.112.194.62 netmask 0x broadcast 213.112.194.255
inet 213.112.195.99 netmask 0x broadcast 213.112.195.255
inet 213.112.195.100 netmask 0x broadcast 213.112.195.255
inet 213.112.195.101 netmask 0x broadcast 213.112.195.255
inet 213.112.195.102 netmask 0x broadcast 213.112.195.255
inet 213.112.195.103 netmask 0x broadcast 213.112.195.255
inet 213.112.195.104 netmask 0x broadcast 213.112.195.255
inet 213.112.195.105 netmask 0x broadcast 213.112.195.255
inet 213.112.195.106 netmask 0x broadcast 213.112.195.255
inet 213.112.195.107 netmask 0x broadcast 213.112.195.255
inet 213.112.195.108 netmask 0x broadcast 213.112.195.255
inet 213.112.195.109 netmask 0x broadcast 213.112.195.255
inet 213.112.195.110 netmask 0x broadcast 213.112.195.255
inet 213.112.195.111 netmask 0x broadcast 213.112.195.255
inet 213.112.195.112 netmask 0x broadcast 213.112.195.255
inet 213.112.195.113 netmask 0x broadcast 213.112.195.255
inet 213.112.195.114 netmask 0x broadcast 213.112.195.255
inet 213.112.195.115 netmask 0x broadcast 213.112.195.255
inet 213.112.195.116 netmask 0x broadcast 213.112.195.255
inet 213.112.195.117 netmask 0x broadcast 213.112.195.255
inet 213.112.195.118 netmask 0x broadcast 213.112.195.255
inet 213.112.195.119 netmask 0x broadcast 213.112.195.255
inet 213.112.195.120 netmask 0x broadcast 213.112.195.255
inet 213.112.195.121 netmask 0x broadcast 213.112.195.255
inet 213.112.195.122 netmask 0x broadcast 213.112.195.255
inet 213.112.195.123 netmask 0x broadcast 213.112.195.255
inet 213.112.195.124 netmask 0x broadcast 213.112.195.255
inet 213.112.195.125 netmask 0x broadcast 213.112.195.255
inet 213.112.195.126 netmask 0x broadcast 213.112.195.255
ether 00:15:e9:b5:25:d6
media: Ethernet autoselect (100baseTX full-duplex)
status: active
pfsync0: flags=0 mtu 2020
syncpeer: 224.0.0.240 maxupd: 128
pflog0: flags=0 mtu 33208
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
[EMAIL PROTECTED] ~ $

Usable IP range: 213.112.195.98 - 213.112.195.126 and 213.112.194.34 -
213.112.194.62

Regards,

On Jan 24, 2008 11:37 AM, Giorgos 

RE: are we CRIMINALS?

2008-01-23 Thread Paul Schmehl
--On Wednesday, January 23, 2008 6:29 PM -0800 Ted Mittelstaedt 
[EMAIL PROTECTED] wrote:



He disobeyed a court order.  That makes him a criminal.


Only if the court in question has jurisdiction over him.  The US
courts found in favor of an anti-trust lawsuit against DeBeers
around 20 years ago I think it was and the DeBeers family finally
decided it was too much of a nuisance to avoid travelling into the US
so they settled for some paltry 300 million this year (if you have
ever bought a diamond and you still have the receipt you can
get some settlement money)

Did the US court have jurisdiction over a corporation that has no
footprint in the US?  They thought they did.  DeBeers didn't.  What
do you think?



Doesn't matter.  In the US, they were in violation of the law.


How would you like it if some kangaroo court in Iran issued a judgement
against you?  Would you consider yourself a criminal?



In Iran?  Yes.


 Whether
what he was
trying to do was right or not is irrelevant.


Absolutely untrue.  It is at the heart of the issue.



Absolutely not.  Right or wrong is irrelevant in a court of law.


  Once the court

told him to
stop, he should have stopped.



No.  Once ALL AVENUES of appeal are exhausted AND a judgement was
found against him, only then if he disobeys the final court order
then can he be considered a criminal.


If you get a TRO *during* a trial, and you violate the terms of the TRO, 
then you are a criminal by definition.  The outcome of the case is 
irrelevant.


And good people often forget that courts are nothing more than another
arm of the government, and quite often the solutions that come out
of them are a result of political negotiation and compromise - exactly
the same way that the legislative arm solves problems.



They *should* never be.


You should read some history, there's been a lot of bad law that
has been overturned.  It never would have happened if people like
Rosa Parks hadn't committed criminal acts from your viewpoint,
and ignored court-supported orders and laws.



I totally agree, however, Rosa Parks *did* violate the law and *was* a 
criminal by definition.



You cannot sit there and say that just because someone is a
criminal they are bad.


I never said anything about bad.  It isn't a moral judgement.  It's a legal 
one.


 Nor can you say that just because someone

is not a criminal that they are good.  Look no further than the
current occupant of the White House for that.  What is criminal
in a good society is defined by what is wrong


No, what is criminal in a good society is when you violate the law. 
Whether or not the law is good is irrelevant.



 Sadly, that

does not always happen.

If you buy a DVD and make a copy for your own use according to
DMCA you are a criminal. However if you buy a videotape of the
same movie and make a copy for your own use you are not a criminal.
Clearly, both actions are morally right  They are almost the same
action in fact.  But one is illegal the other isn't.  Can't you
see here that the problem isn't the action but the law?



Of course, however, if you copy the DVD you have violated the law and by 
definition you are a criminal.  Now, you may decide your actions are right, 
but you need to do that with the full knowledge that you *could* be found 
in violation of the law and you *could* go to jail.  To violate the law and 
then whine that it's unfair is childish.



In this lawsuit, the worst you can say is that both parties,
the spammer and the spamfighter, are in the wrong.  But I fail to
see how the spammer can be right and the spamfighter is wrong



Didn't say he was wrong.  Just in violation of the law.


You can, if you wish, argue the spammer is legal and the
spamfigher is illegal  But, this simply illustrates that the
law is bad - and for many people it is a moral duty to violate
bad law.  And I for one, am very glad that they feel this way.



Again, there's absolutely nothing wrong with that *so long as* you are 
fully willing to suffer the consequences.  As with Rosa Parks, you may 
succeed in illustrating how unfair the law is and getting it changed, but 
you won't do it without paying a personal price.  Ignorance of the law is 
no excuse.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Doubled files or directories on samba.

2008-01-23 Thread Cristian Salan
Hello,

I have some strange behavior with some files and some directories
being doubled on samba. When checking on freebsd file system all is
OK. Mounting partitions on windows clients or connecting with
smbclient would show some doubled files or directories. I mean the
same file appear twice. When deleting one from windows both disappear
but copying back the file from backup, again I have 2 files with the
same name.

smb: \ ls DATA\RON\E*
  EURO.XG0A 4096  Wed Jan 23 14:58:44 2008
  EURO.XG0A 4096  Wed Jan 23 14:58:44 2008

First I've upgraded samba to the latest port version (samba-3.0.28,1) - no joy.

I've made a jail (maybe the ports are messed?) only with samba. Same result.

I've source upgraded to 6.3-RELEASE. Nice but didn't solve the problem.

The system was stable and I cannot relate any software maintenance
with the beginning of this behavior.

Any pointers would be appreciated.

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


Re: make buildworld 6.x on 7.x?

2008-01-23 Thread Rakhesh Sasidharan

Kris Kennaway wrote:


Rakhesh Sasidharan wrote:

Hi,

Is it possible to do a ''make buildworld buildkernel'' of the FreeBSD 6.x 
series sources on a FreeBSD 7.x machine and then install them onto a 
FreeBSD 6.x machine?


Yes, I did this a few minutes ago in fact :)  No special procedures are 
necessary, world builds are already suitably isolated from the host system 
for this to work.


Awesome! Infact, I didn't think it would be possible. Like you have 
separate port packages for the 6.x and 7.x trees, I thought FreeBSD 6.x 
compiled on a FreeBSD 7.x system won't run. But I was obviously wrong. 
Guess its different for the base OS eh ...?


Going by the same logic, is it possible that tomm I can download the 
sources for an OS like say, NetBSD, buildworld for it on my FreeBSD 
machine, and then install on a NetBSD machine?


Thanks,
Rakhesh

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


Unspecified IPv6 Address

2008-01-23 Thread Prabhu Hariharan
Hi,

Why certain hosts of freebsd can be configurable with unspecified (::)
(all-zero) IPv6 addresses in its interfaces?  RFC 4291 clearly mentions
this address must never be assigned to any node.  Is there is any use-case
or motivation behind accepting this address in an interface?

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


Re: Out of range IP address in /var/log/messages

2008-01-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Anjang Aki wrote:
 Thank you for your reply.
 Here is ifconfig -a output:
 
 [EMAIL PROTECTED] ~ $ ifconfig -a
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=bRXCSUM,TXCSUM,VLAN_MTU
 inet 213.112.195.98 netmask 0xffe0 broadcast 213.112.195.127
 inet 213.112.194.34 netmask 0x broadcast 213.112.194.255
  ^^ Here's the problem
 inet 213.112.194.35 netmask 0x broadcast 213.112.194.255
 inet 213.112.194.36 netmask 0x broadcast 213.112.194.255

[...]
 
 Usable IP range: 213.112.195.98 - 213.112.195.126 and 213.112.194.34 -
 213.112.194.62

You've actually got two disjoint network ranges here:

% ipcalc 213.112.194.34/27
Address:   213.112.194.34   11010101.0111.1110.001 00010
Netmask:   255.255.255.224 = 27 ...111 0
Wildcard:  0.0.0.31 ...000 1
=
Network:   213.112.194.32/2711010101.0111.1110.001 0
HostMin:   213.112.194.33   11010101.0111.1110.001 1
HostMax:   213.112.194.62   11010101.0111.1110.001 0
Broadcast: 213.112.194.63   11010101.0111.1110.001 1
Hosts/Net: 30Class C

% ipcalc 213.112.195.98/27
Address:   213.112.195.98   11010101.0111.1111.011 00010
Netmask:   255.255.255.224 = 27 ...111 0
Wildcard:  0.0.0.31 ...000 1
=
Network:   213.112.195.96/2711010101.0111.1111.011 0
HostMin:   213.112.195.97   11010101.0111.1111.011 1
HostMax:   213.112.195.126  11010101.0111.1111.011 0
Broadcast: 213.112.195.127  11010101.0111.1111.011 1
Hosts/Net: 30Class C

The rule with setting up aliases on FreeBSD is that the first address
used from any netblock must have the correct netmask for the whole block.
Subsequent alias IPs from the same block typically use 0x as the
netmask -- this certainly used to be mandatory but I think that requirement
was actually dropped fairly recently. 

Anyhow, in order to fix your problem, change the netmask for the 194.34
address in your /etc/rc.conf:

   ifconfig_fxp0_alias0=inet 213.112.194.34 netmask 0xffe0

Note: you don't actually need to supply both netmask and broadcast --
broadcast will be calculated for you automatically. You can also give
the netmask in 'slash notation' like so:

   ifconfig fxp0 inet 213.112.194.34/27 alias 

If this is configured correctly, then you should see routes for both 
213.112.194.34/27 and 213.112.195.98/27 in the output of 'netstat -rn'

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmDPe8Mjk52CukIwRCMe4AJsH64LMk3H3HCXCi4xXbo7gUIBuCACbBGbm
I+qdHOSXJcNVHtq4OAbfg0M=
=NiOh
-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: VM Options

2008-01-23 Thread Matthias Apitz
El día Wednesday, January 23, 2008 a las 10:53:31PM +0100, Robert Eckardt 
escribió:

  VMWare on FreeBSD is a no-op.  Someone should really remove that port.
 
 That's nonsense.
 The current (very old) port is quite out-dated and it took me some time 
 to get it running right e.g. with VMware 3 on FreeBSD 6.2. But it works!

Maybe you could write a small 'howTo' about getting this old
port to work with VMware 3 on FreeBSD 6.2? Thx 

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]