Re: Best way to print photos

2006-04-04 Thread Vayu
On Monday 03 April 2006 22:17, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 Vayu [EMAIL PROTECTED] writes:
 : On Monday 03 April 2006 12:27, M. Warner Losh wrote:
 :  OK.  I got bordered photo printing working.  I haven't gotten
 :  borderless printing working, alas.
 :  
 :  The key points I learned:
 :  
 :  (1) Install print/cups.
 :  (2) Install graphics/hpijs.   This filters .ps - goo the printer 
 groks
 :  (3) Install graphics/gimp.This makes .ps files
 :  (4) Kill lpr/lpd before starting cups.
 :  (5) Make sure you configure lpr/lpd not to startup on boot
 :  (6) Remove lp* binaries
 :  (7) Setup buildworld /etc/make.conf so it doesn't build lpr with
 :  NO_LPR or WITHOUT_LPR
 :  (8) Add printer via localhost:631 web interface.
 :  (8) Set printer to draft mode via cups for testing
 :  (9) Use firefox to generate test prints.
 :  (10) To print from gimp, I have to remove the '-l' from the command
 :   line every time I print in the printer setup.  This causes the
 :   raw .ps file to go to the printer, rather than via cups'
 :   postscript filter for the printer.
 :  (11) To get photos, one must set photo quality via cups setup
 :   interface.
 :  
 : 
 : For someone who has just been struggling with CUPS this is helpful.
 : Would you mind elaborating the steps on how to accomplish 5, 6 and 7 
above?
 : I've got most everything working, now I'd like to switch to the CUPs lp 
 : commands.
 
 Sure.
 
 Step 5 is accomplished by not having a line like lpd_enable=yes in
 /etc/rc.conf.  I had one from when I was using lpd.
 
 Step 6 is just 'sudo rm -f /usr/bin/lp?*'.  /usr/bin/lp is mildly
 useful, and will be recreated.  

What do you mean will be recreated?   (If it's going to be recreated, then why 
delete it?)


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


Re: Best way to print photos

2006-04-04 Thread Norberto Meijome
On Mon, 3 Apr 2006 23:10:16 -0700
Vayu [EMAIL PROTECTED] wrote:

  
  Step 6 is just 'sudo rm -f /usr/bin/lp?*'.  /usr/bin/lp is mildly
  useful, and will be recreated.  
 
 What do you mean will be recreated?   (If it's going to be recreated,
 then why delete it?)

why not install print/cups-lpr 
[EMAIL PROTECTED] [Tue Apr  4 16:16:14 2006]
/usr/home/betom
$ less /usr/ports/print/cups-lpr/pkg-message
**
**
PLEASE NOTE:


This port will move lpr binaries located in /usr/bin and
/usr/sbin to unshade cups-lpr binaries in PATH variable

**
**

AND add the options to make.conf so when you rebuild world, you won't
over-ride the cups files.
Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba on amd64 6.0

2006-04-04 Thread Valerio daelli
 Anyone using this with LDAP backend?
 Does it work for you?

 To me it's giving severe troubles: smbd will tend to hang, hog CPU to
 99% and keep some file locked, the user was modifing.
 I'll need to kill -9 it, in order to let the user keep on working.

 If anyone is having or has had this problem, I'd welcome any information
 or experience.
 I've seen past reports on this (dating back to autumn 2005), but the
 thread does not end with anything that can help.

   bye  Thanks
 av.

We had the same problem as you, with FreeBSD 5.4,
last November.
We solved migrating to i386 (which worked stable for months).
Bye

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


Re: localhost dns

2006-04-04 Thread Andy Farkas

On Tue, 4 Apr 2006, Marlon Martin wrote:


im running localhost dns(127.0.0.1), it works fine but my question is, is
there any logs where i can check if it really caches remote ip addresses,
like the website IP address im visiting like hotmail.com cnn google
freebsd.org. thanks


Use rndc(8) to dump the cache.

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


Re: localhost dns

2006-04-04 Thread Matthew Seaman
Marlon Martin wrote:
 im running localhost dns(127.0.0.1), it works fine but my question is, is
 there any logs where i can check if it really caches remote ip addresses,
 like the website IP address im visiting like hotmail.com cnn google
 freebsd.org. thanks

Try 'rndc dumpdb' to examine the contents of the cache or 'rndc stats'.

The dumpdb command creates a file /var/named/var/dump/named_dump.db and the
stats command appends a short report to /var/named/var/stats/named.stats
by default (although these can be changed very easily by modifying named.conf)

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


file system

2006-04-04 Thread hossein ghahghaei
what is the freebsd's file system
how manage freebsd the hardware and i/o devices

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


memory management

2006-04-04 Thread hossein ghahghaei
how manage freebsd the memory ?

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


Re: file system

2006-04-04 Thread usleepless
Hi Hossein,

 what is the freebsd's file system
 how manage freebsd the hardware and i/o devices

here is all you need to know for the time being:

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

regards,

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


Re: How severe is IDNF errors in SMART log?

2006-04-04 Thread Playnet
Hello Norberto,

Monday, April 3, 2006, 7:11:24 PM, you wrote:

NM I have a laptop with a 100GB Hitachi SATA drive. the SMART log shows
NM the errors below (via 'sudo smartctl -a /dev/ad0' ). How badly damaged
NM is the disk?
Do not remap disk, if you can change this disk. Try replace by
warranty.
If not, you need low-level format (with Hitachi tool) and check cables
and controller.
OR you need full backup and monitoring SMART two weeks every day.
IDNF is a hard-bad what you can remap with Hitachi tool.
http://www.hitachigst.com/hdd/support/downloads/dft32_v406_b00.iso

-- 
Best regards,
 Playnetmailto:[EMAIL PROTECTED]

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


upgrade 5.2 - 5.5

2006-04-04 Thread Perttu Laine
Hello!

I tried to upgrade 5.2 to 5.5 and buildworld, buildkernel and installkernel
went just fine. reboot didn't. It halts on this with new kernel:

atapci0: Intel PIIX4 UDMA33 controller port 0xfff0-0x at device 2.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0

after that nothing. kernel build with same config (generic) than old one and
it boots just fine.
So what could be wrong with this?

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


Re: memory management

2006-04-04 Thread Bill Moran
On Tue, 4 Apr 2006 10:53:05 +0100 (BST)
hossein ghahghaei [EMAIL PROTECTED] wrote:

 how manage freebsd the memory ?

The answer is a bit too complex to provide via a mailing list.

I recommend you get a copy of _The_Design_and_Implementation_of_
_FreeBSD_.  It has all the details you could ever want.  That and
a copy of the source code (which comes with FreeBSD) should keep
you busy studying for some time.

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


Re: How severe is IDNF errors in SMART log?

2006-04-04 Thread Norberto Meijome
On Tue, 4 Apr 2006 15:47:35 +0400
Playnet [EMAIL PROTECTED] wrote:

 Hello Norberto,
 
 Monday, April 3, 2006, 7:11:24 PM, you wrote:
 
 NM I have a laptop with a 100GB Hitachi SATA drive. the SMART log
 NM shows the errors below (via 'sudo smartctl -a /dev/ad0' ). How
 NM badly damaged is the disk?
 Do not remap disk, if you can change this disk. Try replace by
 warranty.
 If not, you need low-level format (with Hitachi tool) and check cables
 and controller.

wasn't the controller, as it the spin-up issues were happening on a USB
dongle. same for cables (well, it's a laptop, so not sure how i'd
change them anyway )

 OR you need full backup and monitoring SMART two weeks every day.
 IDNF is a hard-bad what you can remap with Hitachi tool.
 http://www.hitachigst.com/hdd/support/downloads/dft32_v406_b00.iso
 

Thanks for the info :) IBM (AU) has issued an DOA on this laptop, so
they agree on your/mine assesment (once I read them the SMART info over
the phone they must have figured out it was cheaper to get a DOA than
keep paying someone to listen to all that ;) )

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


squid.pid owner

2006-04-04 Thread tethys ocean
Hello  All

We are running with squid proxy without ipfilter or pf.  Our squid block our
all outside connection. What am I do?  I wonder squid.pid's owner must be
root or squid user?

ie:proxy# ll /usr/local/squid/logs
total 52
-rw-r--r--  1 squid  squid  13479 Oct 17 12:10 access.log
-rw-r--r--  1 squid  squid  15482 Oct 17 12:12 cache.log
-rw-r--r--  1 root   squid  4 Oct 17 12:12 squid.pid
OR-rw-r--r--  1 squid   squid  4 Oct 17 12:12 squid.pid
-rw-r--r--  1 squid  squid  19330 Oct 17 12:10 store.log

which is true?!

I think it is related with squid.conf file since I have to define some acl
accept rule?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cvsup src-all and installworld process question

2006-04-04 Thread Bryan Curl
Hopefully this is right place for my question and not to redundant a
question.

I have a new minimalist installation for use as a file server only (FreeBSD
6.0-RELEASE) with a very small set of ports installed. Basically Samba,
Cvsup,man files, ports, all the source and their dependencies. I am
primarily interested in keeping the system up to date with security patches,
system updates, and of course, the ports I run. I want to optimize the
amount of disk space for the public shares so I don't want to arbitrarily
install a lot of programs I don't need.

My question is,
1.) If I CVSUP SRC-ALL,  'make buildworld', 'make installworld' etc, will
that install the entire source tree to my machine and eat up disk space
unnecessarily? In other words do I need to weed out all but the basic
components I want before make installworld?
2.) What branches of the source tree would I  be required to keep up to date
for my minimal installation?

I realized in testing on an older system that portupgrade will only install
ports I am using but don't know if make installworld will do the same.


---
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: file system

2006-04-04 Thread Jerry McAllister
 
 what is the freebsd's file system

Starting I think in FreeBSD 6.xxx FreeBSD uses UFS2 file systems.

 how manage freebsd the hardware and i/o devices

That is too much to explain in a simeple Email list.   You need to
study the FreeBSD handbook which is available online at www.freebsd.org

jerry

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


Re: Firefox 1.5 getting downright irritating

2006-04-04 Thread Henrik Enberg
Paul Schmehl [EMAIL PROTECTED] writes:

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User 
 modifications to the MIME database are no longer supported.
 
 I'm going to uninstall Gnome and see what happens.  I've had nothing but 
 trouble from it anyway

You can compile firefox without gnomevfs.  Just turn off support for
smb:// style URLs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw plus authentication???

2006-04-04 Thread Norberto Meijome
On Mon, 3 Apr 2006 00:34:49 -0700 (PDT)
Mark Jayson Alvarez [EMAIL PROTECTED] wrote:

  I am looking for ways to manage our LAN by having each user register
 their ipaddress, mac address, workstation os, etc. in our ldap
 directory. Now in our pcrouter, the users will first send his login
 credentials to the pcrouter, and then the pcrouter will check against
 ldap if this login is correct, and if it is, then it will now do an
 ldapsearch/compare operation to see if the source address (ip/mac) of
 the user trying to gain network access is indeed belongs to that
 user. Only then, the ipfw ruleset will be changed to allow traffic
 originating from this source address...

Something like a captured portal for wireless? (is that what they were
called? :D ) I like the idea though

btw, why you will be trying to lock down by ip/mac... you need to make
sure the users cant change this at their end...

Why do the users set their own IP? dhcp

I remember reading somewhere about authentication at the DHCP level...
from memory, with managed switches and disabling the port via snmp (for
a period) if there was something askew.

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


Odd Sharity-Light mount issue

2006-04-04 Thread Huy Ton That
Hello, I found one other person who had the same below issue with
sharity-light however I did not find a resolution after some googling.

I'm running FreeBSD 6.0 Release and have just installed sharity-light
from the ports.  When I execute:  ./shlight //192.168.0.2/directory
/usr/ntmount -U administrator -P somepassword

It kicks back the error `nfs mount /usr/ntmount: [2] No such file or directory'

/usr/ntmount does exist with absolute certainty.

I'm using version sharity-light-1.2_1 which I believe is the latest.  Any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


squid.pid owner

2006-04-04 Thread tethys ocean
Hello  All

We are running with squid proxy without ipfilter or pf.  Our squid block our
all outside connection. What am I do?  I wonder squid.pid's owner must be
root or squid user?

ie:proxy# ll /usr/local/squid/logs
total 52
-rw-r--r--  1 squid  squid  13479 Oct 17 12:10 access.log
-rw-r--r--  1 squid  squid  15482 Oct 17 12:12 cache.log
-rw-r--r--  1 root   squid  4 Oct 17 12:12 squid.pid
OR-rw-r--r--  1 squid   squid  4 Oct 17 12:12 squid.pid
-rw-r--r--  1 squid  squid  19330 Oct 17 12:10 store.log

which is true?!

I think it is related with squid.conf file since I have to define some acl
accept rule?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to examine FreeBSD source changes with CVS?

2006-04-04 Thread Pete Slagle

I seek education about FreeBSD source control spelunking.

I noticed that GENERIC was updated recently in 6-STABLE, and I would 
like to see what changed. More generally, how does one examine diffs in 
the FreeBSD source as it changes?


Could some kind soul demonstrate how to do that with CVS? Or point me to 
the right FM (as in RTFM). Or suggest a better method.



___
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 examine FreeBSD source changes with CVS?

2006-04-04 Thread Erik Norgaard
Pete Slagle wrote:
 I seek education about FreeBSD source control spelunking.
 
 I noticed that GENERIC was updated recently in 6-STABLE, and I would
 like to see what changed. More generally, how does one examine diffs in
 the FreeBSD source as it changes?
 
 Could some kind soul demonstrate how to do that with CVS? Or point me to
 the right FM (as in RTFM). Or suggest a better method.

check here, I think:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/GENERIC

-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Odd Sharity-Light mount issue

2006-04-04 Thread Zimmerman, Eric
It kicks back the error `nfs mount /usr/ntmount: [2] No such file or
directory'

/usr/ntmount does exist with absolute certainty.

I'm using version sharity-light-1.2_1 which I believe is the latest.
Any ideas?
___

Sharity light didn't work too well for me (especially with samba
installed).

Try mount_smbfs:

mount_smbfs -N //[EMAIL PROTECTED]/aShare/someFolder /mnt/point/

you can forgo entering a password by looking into /etc/nsmb.conf

I find mount_smbfs works MUCH better.  

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


Which smtp server for my needs?

2006-04-04 Thread Jonas Jacobsen

Hi Freebsd-list

Next week i am going to setup af mailserver.

The mailserver will be used for sending out newsletters, and only 
sending out newsletter


I need a reliable and fast(send as many mails as possible in the min.) 
smtp server for the purpose.


Do you have any suggestions, which smtp server there will be best for my 
needs?


--
Med venlig hilsen
Jonas Jacobsen

Lintoo I/S
Buchwaldsgade 50
5000 Odense C
Denmark

kontor: 46935556
mobil: 61656618

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


Re: Which smtp server for my needs?

2006-04-04 Thread Miguel

Jonas Jacobsen wrote:


Hi Freebsd-list

Next week i am going to setup af mailserver.

The mailserver will be used for sending out newsletters, and only 
sending out newsletter


I need a reliable and fast(send as many mails as possible in the min.) 
smtp server for the purpose.


Do you have any suggestions, which smtp server there will be best for 
my needs?


i use qmail for that very same purpose, its rock solid and has very good 
performance, take a look at postfix too, others think that its a better 
alternative,


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


Re: devfs rule: ioctl DEVFSIO_SAPPLY: No such process

2006-04-04 Thread Daniel Johansson
Thanks. That did the trick. Strange that I couldn't set it manually from 
the command line. Anyway it works perfect when I use rc.conf and start 
it with the jail rc.d script.


Daniel Johansson - [EMAIL PROTECTED]



Anish Mistry wrote:

On Monday 03 April 2006 18:18, Daniel Johansson wrote:
  

Hello..

I'm setting up a jail in FreeBSD 6.0. I've done that before in 4.x
but now it's a new box and newer version of FreeBSD. Everything
works fine except for the rules for my devfs mount. What I want to
do is to hide the devices that isn't necessary in my jail
environment like the disks etc.

I've read the man files and some other guides online for this and
my understanding is that I should use devd to manipulate the devfs
mount and tell it to use rule set 4, as devfs.rules says is
suitable for jails.

$ devfs -m /path/to/my/jail/dev/ rule -s 4 applyset
devfs rule: ioctl DEVFSIO_SAPPLY: No such process

Am I doing something wrong or why do I get that error message? Any
tips or comments about how to fix this?

If you replay please CC the mail to me as I'm not subscribed to
this mailing list.

Assuming you've got everything setup in your rc.conf the following is 
what I use for a basic jail with basic dev entries:

jail_list=myjailname
# myjailname jail
ifconfig_vr0_alias0=inet 192.168.1.60 netmask 255.255.255.255
jail_myjailname_hostname=myjailname.example.org
jail_myjailname_ip=192.168.1.32
jail_myjailname_rootdir=/path/to/my/jail
jail_myjailname_devfs_enable=YES
jail_myjailname_devfs_ruleset=devfsrules_jail

  


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Which smtp server for my needs?

2006-04-04 Thread Zimmerman, Eric

 Next week i am going to setup af mailserver.

 The mailserver will be used for sending out newsletters, and only 
 sending out newsletter

 I need a reliable and fast(send as many mails as possible in the min.)

 smtp server for the purpose.

 Do you have any suggestions, which smtp server there will be best for 
 my needs?

i use qmail for that very same purpose, its rock solid and has very good

performance, take a look at postfix too, others think that its a better 
alternative,

postfix all the way.  I used qmail for a while and found it lacking in
several ways. Postfix is updated constantly and just works.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


jls shows dead jails too?

2006-04-04 Thread Daniel Johansson
I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to 
list my jails it shows all my started jails.


The problem is that when I kill a jail with kill -TERM -1, thats what 
the man page tells me to use, it still is listed when I run jls. Why is 
that and is there any way to clear the jls list? Where does jls get the 
list of the jails?


If you replay to this please CC it to me as I am not subscribed to this 
list.


--
Daniel Johansson - [EMAIL PROTECTED]



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Which smtp server for my needs?

2006-04-04 Thread Miguel

Zimmerman, Eric wrote:


Next week i am going to setup af mailserver.

The mailserver will be used for sending out newsletters, and only 
sending out newsletter


I need a reliable and fast(send as many mails as possible in the min.)
   



 


smtp server for the purpose.

Do you have any suggestions, which smtp server there will be best for 
my needs?


   


i use qmail for that very same purpose, its rock solid and has very good

performance, take a look at postfix too, others think that its a better 
alternative,


postfix all the way.  I used qmail for a while and found it lacking in
several ways.


Umm, he told us :

for sending out newsletters, and only 
sending out newsletter



qmail is very good doing that , if you need smtp-auth, domain-keys, ospf 
, imap, etc, postfix is the way to go.you dont need a full featured smtp 
server for sending newsletterts, do you?


Miguel

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


Re: Best way to print photos

2006-04-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Vayu [EMAIL PROTECTED] writes:
: On Monday 03 April 2006 22:17, M. Warner Losh wrote:
:  In message: [EMAIL PROTECTED]
:  Vayu [EMAIL PROTECTED] writes:
:  : On Monday 03 April 2006 12:27, M. Warner Losh wrote:
:  :  OK.  I got bordered photo printing working.  I haven't gotten
:  :  borderless printing working, alas.
:  :  
:  :  The key points I learned:
:  :  
:  :  (1) Install print/cups.
:  :  (2) Install graphics/hpijs. This filters .ps - goo the printer 
groks
:  :  (3) Install graphics/gimp.  This makes .ps files
:  :  (4) Kill lpr/lpd before starting cups.
:  :  (5) Make sure you configure lpr/lpd not to startup on boot
:  :  (6) Remove lp* binaries
:  :  (7) Setup buildworld /etc/make.conf so it doesn't build lpr with
:  :  NO_LPR or WITHOUT_LPR
:  :  (8) Add printer via localhost:631 web interface.
:  :  (8) Set printer to draft mode via cups for testing
:  :  (9) Use firefox to generate test prints.
:  :  (10) To print from gimp, I have to remove the '-l' from the command
:  :   line every time I print in the printer setup.  This causes the
:  :   raw .ps file to go to the printer, rather than via cups'
:  :   postscript filter for the printer.
:  :  (11) To get photos, one must set photo quality via cups setup
:  :   interface.
:  :  
:  : 
:  : For someone who has just been struggling with CUPS this is helpful.
:  : Would you mind elaborating the steps on how to accomplish 5, 6 and 7 
: above?
:  : I've got most everything working, now I'd like to switch to the CUPs lp 
:  : commands.
:  
:  Sure.
:  
:  Step 5 is accomplished by not having a line like lpd_enable=yes in
:  /etc/rc.conf.  I had one from when I was using lpd.
:  
:  Step 6 is just 'sudo rm -f /usr/bin/lp?*'.  /usr/bin/lp is mildly
:  useful, and will be recreated.  
: 
: What do you mean will be recreated?   (If it's going to be recreated, then 
why 
: delete it?)

installworld will recreate it.

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


Re: Best way to print photos

2006-04-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Norberto Meijome [EMAIL PROTECTED] writes:
: On Mon, 3 Apr 2006 23:10:16 -0700
: Vayu [EMAIL PROTECTED] wrote:
: 
:   
:   Step 6 is just 'sudo rm -f /usr/bin/lp?*'.  /usr/bin/lp is mildly
:   useful, and will be recreated.  
:  
:  What do you mean will be recreated?   (If it's going to be recreated,
:  then why delete it?)
: 
: why not install print/cups-lpr 
: [EMAIL PROTECTED] [Tue Apr  4 16:16:14 2006]
: /usr/home/betom
: $ less /usr/ports/print/cups-lpr/pkg-message
: **
: **
: PLEASE NOTE:
: 
: 
: This port will move lpr binaries located in /usr/bin and
: /usr/sbin to unshade cups-lpr binaries in PATH variable
: 
: **
: **
: 
: AND add the options to make.conf so when you rebuild world, you won't
: over-ride the cups files.

That's what I recall seeing.  Thanks for the tip.

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


RE: Which smtp server for my needs?

2006-04-04 Thread Zimmerman, Eric

Umm, he told us :

for sending out newsletters, and only 
sending out newsletter


qmail is very good doing that , if you need smtp-auth, domain-keys, ospf

, imap, etc, postfix is the way to go.you dont need a full featured smtp

server for sending newsletterts, do you?

Miguel


Yea actually I do, because some day I might want to do more.  Use
whatever you want =)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: arp -a takes 40 secs to display cached MAC addresses. Is thisnormal?

2006-04-04 Thread boink
Matt,

You're absolutely right - thank you.

Best wishes,
boink

On 04/04/06, Matt Emmerton [EMAIL PROTECTED] wrote:


 - Original Message -
 From: boink [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Monday, April 03, 2006 6:06 PM
 Subject: arp -a takes 40 secs to display cached MAC addresses. Is
 thisnormal?


 Dear FreeBSD,

 # uname -a
 FreeBSD MyFBSD.int.vir 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3
 09:36:13 UTC 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

 # /usr/bin/time -h arp -a
 MyFBSD (10.1.2.1) at 00:00:f8:10:6c:8a on dc0 permanent [ethernet]
 MyFirewall (10.1.2.254) at 00:0d:b9:11:a5:b9 on dc0 [ethernet]
 ? (10.1.2.255) at ff:ff:ff:ff:ff:ff on dc0 permanent [ethernet]
 40.22s real 0.00s user  0.00s sys
^
 ...where:

 

 arp is attempting to do a reverse-DNS lookup on 10.1.2.255.  No answer is
 received from your DNS server in the allowable time-out interval, so it
 displays the name as '?'.

 Redo the same test using 'arp -a -n' and you'll see it complete
 immediately.

 --
 Matt Emmerton


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


TCP/IP source Code

2006-04-04 Thread Chava Leviatan
Hello,

How can i get the TCP/IP source code , mainly sys/netinet.

I have been browsing the site for a while , but havn'yt managed to discover how 
can I get those
simple .c, .h files 

Any help is highly appreciated 

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


Re: TCP/IP source Code

2006-04-04 Thread Kövesdán Gábor

Chava Leviatan wrote:


Hello,

How can i get the TCP/IP source code , mainly sys/netinet.

I have been browsing the site for a while , but havn'yt managed to discover how 
can I get those
simple .c, .h files 

Any help is highly appreciated 


Chava
 


Hello,

you can see the methods in the handbook to obtain the source:

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

Cheers,

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


RE: TCP/IP source Code

2006-04-04 Thread Zimmerman, Eric
 
 How can i get the TCP/IP source code , mainly sys/netinet.
 
 I have been browsing the site for a while , but havn'yt managed to
 discover how can I get those
 simple .c, .h files
 
 Any help is highly appreciated
 

Install the source code for the parts you are interested in via
sysinstall or use cvs to get the newest version.  Check the handbook for
cvs howto.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TCP/IP source Code

2006-04-04 Thread Chava Leviatan

Hi Gabor,

thanks for the prompt reply.

What about obtaining the source into a windows machine (not FreeBSD one). 
Where Can I find those sources
( I don't care much  about the verson ) that I can just download  and put 
them iinto a regular Windows editor?


thanks,
Chava
- Original Message - 
From: Kövesdán Gábor [EMAIL PROTECTED]

To: Chava Leviatan [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, April 04, 2006 6:21 PM
Subject: Re: TCP/IP source Code



Chava Leviatan wrote:


Hello,

How can i get the TCP/IP source code , mainly sys/netinet.

I have been browsing the site for a while , but havn'yt managed to 
discover how can I get those

simple .c, .h files
Any help is highly appreciated
Chava


Hello,

you can see the methods in the handbook to obtain the source:

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

Cheers,

Gabor Kovesdan



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


RE: TCP/IP source Code

2006-04-04 Thread Zimmerman, Eric
 
 What about obtaining the source into a windows machine (not FreeBSD one).
 Where Can I find those sources
 ( I don't care much  about the verson ) that I can just download  and put
 them iinto a regular Windows editor?

Use a windows CVS client to download what you need from the CVS servers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 6.0 APCI Config PMAP

2006-04-04 Thread Don O'Neil
How do I upgrade to 6-Stable... I ran sysinstall and did an upgrade, but
that left me back with 6.0-release. Do I need to do a 'make world', or is
there another upgrade method? Any references online? I've never done an
upgrade any other way than through sysinstall. 

-Original Message-
From: Donald J. O'Neill [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 7:38 PM
To: freebsd-questions@freebsd.org
Cc: Don O'Neil
Subject: Re: 6.0 APCI Config  PMAP

On Friday 31 March 2006 18:55, Don O'Neil wrote:
 I am 'burning in' some hardware and drives before putting them into 
 production using various tools (raidtest, etc...) and have a couple of 
 questions..

 Occasionally under high load when doing the raid test, I see:

 collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

 What does this mean, and what should I change it to to correct the 
 problem? I also get the occasional error that it couldn't write to the 
 device (twed) ... Everything seems to work ok though.

 Also, my motherboards APCI is horribly broken, I can boot ok without 
 APCI if I select option 2 from the boot menu (it's a 'stock' 6.0 
 install). How do I configure the system to boot without APCI 
 automatically?

 Thanks!

 ___
Moving to 6-STABLE should fix APCI. It's about the first thing I do. 
After that, no problems with APCI.

Don


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


Re: TCP/IP source Code

2006-04-04 Thread Kövesdán Gábor

Chava Leviatan wrote:


Hi Gabor,

thanks for the prompt reply.

What about obtaining the source into a windows machine (not FreeBSD 
one). Where Can I find those sources
( I don't care much  about the verson ) that I can just download  and 
put them iinto a regular Windows editor?


thanks,
Chava



Download  enjoy:

http://tux.t-hosting.hu/netinet.tar.gz

You can extract it with e.g. Total Commander, but WinRar, WinZip, etc. 
will do.


Cheers,

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


Keyboard Issue on Dell 1850/FreeBSD

2006-04-04 Thread mike s. cojocea

Hello, folks,

I am working to install a FreeBSD 6.0 on a Dell 1850, with Dell Remote 
Access Card.


After the install is complete the keyboard no longer works.

I can access the machine over SSH to do debugging. The /var/log/messages did 
not show any error:


%Apr  4 09:10:14 APPS01 kernel: atkbd0: AT
Keyboard irq 1 on atkbdc0
Apr  4 09:10:14 APPS01 kernel: kbd0 at atkbd0

I tried it with FreeBSD 5.4 and it does the same thing. A Fedora Core 4 and 
an RHEL 3 Linux did not have similar keyboard problem.


Any help to figure this out is going to be greatly appreciated.

Thanks,
Mike


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


Re: TCP/IP source Code

2006-04-04 Thread Kevin Kinsey

Chava Leviatan wrote:


Hi Gabor,

thanks for the prompt reply.

What about obtaining the source into a windows machine (not FreeBSD 
one). Where Can I find those sources
( I don't care much  about the verson ) that I can just download  and 
put them iinto a regular Windows editor?




Well, there's nothing that says you couldn't grab the
source via CVS on Windows, either.  Or, perhaps, FTP.

For just a few files, there is a web interface to the
CVS tree available via the Project's web site --- that
could be exactly what you're looking for.

Of course, opening BSD source in a Windows editor will
corrupt your registry and reformat your boot volume...
/evil-sarcasm  ;-)

HTH,

Kevin Kinsey

--
First Law of Socio-Genetics:
Celibacy is not hereditary.


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


Re: Keyboard Issue on Dell 1850/FreeBSD

2006-04-04 Thread Bill Moran
On Tue, 04 Apr 2006 16:54:21 +
mike s. cojocea [EMAIL PROTECTED] wrote:
 
 I am working to install a FreeBSD 6.0 on a Dell 1850, with Dell Remote 
 Access Card.
 
 After the install is complete the keyboard no longer works.
 
 I can access the machine over SSH to do debugging. The /var/log/messages did 
 not show any error:
 
 %Apr  4 09:10:14 APPS01 kernel: atkbd0: AT
 Keyboard irq 1 on atkbdc0
 Apr  4 09:10:14 APPS01 kernel: kbd0 at atkbd0
 
 I tried it with FreeBSD 5.4 and it does the same thing. A Fedora Core 4 and 
 an RHEL 3 Linux did not have similar keyboard problem.
 
 Any help to figure this out is going to be greatly appreciated.

We've been there and done that.

In our case, building a custom kernel solved the problem - being sure
to have the required USB devices in the kernel (note that DRAC keyboards
are USB keyboards).  You may be able to accomplish the same thing with
some sort of modules or loader magic, but we wanted custom kernels
anyway, so it wasn't a hassle.

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


Re: Keyboard Issue on Dell 1850/FreeBSD

2006-04-04 Thread Alex Zbyslaw

mike s. cojocea wrote:


Hello, folks,

I am working to install a FreeBSD 6.0 on a Dell 1850, with Dell Remote 
Access Card.


After the install is complete the keyboard no longer works.

I can access the machine over SSH to do debugging. The 
/var/log/messages did not show any error:


%Apr  4 09:10:14 APPS01 kernel: atkbd0: AT
Keyboard irq 1 on atkbdc0
Apr  4 09:10:14 APPS01 kernel: kbd0 at atkbd0

I tried it with FreeBSD 5.4 and it does the same thing. A Fedora Core 
4 and an RHEL 3 Linux did not have similar keyboard problem.


The DRAC keyboard (USB) takes precedence over any other keyboard you 
attach.  I believe work is in progress to make FreeBSD recognise 
multiple simultaneous keyboards.


If you search for freebsd 2850 keyboard with google you should find 
other posts where this is described.  We only access our 2850s from the 
DRAC, which works for us.


--Alex

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


Re: jls shows dead jails too?

2006-04-04 Thread Kris Kennaway
On Tue, Apr 04, 2006 at 05:20:18PM +0200, Daniel Johansson wrote:
 I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to 
 list my jails it shows all my started jails.
 
 The problem is that when I kill a jail with kill -TERM -1, thats what 
 the man page tells me to use, it still is listed when I run jls. Why is 
 that and is there any way to clear the jls list? Where does jls get the 
 list of the jails?

Either a process in the jail is still running, or it leaked resources
while it was running (e.g. ptys - this is a known bug on everything
prior to 7.0).

Kris


pgpqj5Zrmtu8c.pgp
Description: PGP signature


Re: jls shows dead jails too?

2006-04-04 Thread Chad Leigh -- Shire.Net LLC


On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote:

I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls  
to list my jails it shows all my started jails.


The problem is that when I kill a jail with kill -TERM -1, thats  
what the man page tells me to use, it still is listed when I run  
jls. Why is that and is there any way to clear the jls list? Where  
does jls get the list of the jails?




The jail is not completely did in that case.  It still owns some  
resources of some sort.


Chad


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



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


Re: Keyboard Issue on Dell 1850/FreeBSD

2006-04-04 Thread Anish Mistry
On Tuesday 04 April 2006 13:45, Alex Zbyslaw wrote:
 mike s. cojocea wrote:
  Hello, folks,
 
  I am working to install a FreeBSD 6.0 on a Dell 1850, with Dell
  Remote Access Card.
 
  After the install is complete the keyboard no longer works.
 
  I can access the machine over SSH to do debugging. The
  /var/log/messages did not show any error:
 
  %Apr  4 09:10:14 APPS01 kernel: atkbd0: AT
  Keyboard irq 1 on atkbdc0
  Apr  4 09:10:14 APPS01 kernel: kbd0 at atkbd0
 
  I tried it with FreeBSD 5.4 and it does the same thing. A Fedora
  Core 4 and an RHEL 3 Linux did not have similar keyboard problem.

 The DRAC keyboard (USB) takes precedence over any other keyboard
 you attach.  I believe work is in progress to make FreeBSD
 recognise multiple simultaneous keyboards.
The RELENG_6 and CURRENT have kbdmux support for multiple keyboards.

-- 
Anish Mistry


pgpQA5lD7SEoa.pgp
Description: PGP signature


Reaplayer plugin not working after portupgrade

2006-04-04 Thread Oliver Iberien
Sorry to bring up such as stupid question, but these you do not have the 
plugin messages are driving me nuts.

On FreeBSD 6.0, I just ran portupgrade on everything except KDE. It updated 
both realplayer (linux-realplayer-10.0.7.785.20060201) and (1.5.0.1). Now 
although the realplayer plugin is still there, and I redid the link 
from /usr/X11R6/lib/linux-mozilla/plugins to /usr/X11R6/lib/firefox/plugins 
(as described here: 
http://www.ubergeek.co.uk/howtos/realplayer-firefox-freebsd-howto.html), it 
doesn't work any more. I reinstalled realplayer and linuxpluginwrapper, and 
updated the libmap.conf file as indicated. Still nothing.

I am probably missing something very simple. An ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keyboard Issue on Dell 1850/FreeBSD

2006-04-04 Thread Alex Zbyslaw

Anish Mistry wrote:




The DRAC keyboard (USB) takes precedence over any other keyboard
you attach.  I believe work is in progress to make FreeBSD
recognise multiple simultaneous keyboards.
   


The RELENG_6 and CURRENT have kbdmux support for multiple keyboards.

 

Cool.  Will those changes make it in to 6.1-RELEASE?  Or will us 
release systems only types have to wait for 6.2?


--Alex

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


Re: Keyboard Issue on Dell 1850/FreeBSD

2006-04-04 Thread Anish Mistry
On Tuesday 04 April 2006 14:13, Alex Zbyslaw wrote:
 Anish Mistry wrote:
 The DRAC keyboard (USB) takes precedence over any other keyboard
 you attach.  I believe work is in progress to make FreeBSD
 recognise multiple simultaneous keyboards.
 
 The RELENG_6 and CURRENT have kbdmux support for multiple
  keyboards.

 Cool.  Will those changes make it in to 6.1-RELEASE?  Or will us
 release systems only types have to wait for 6.2?
It will be in 6.1.  It's currently in the beta ISO images if you'd 
like to try it out.

-- 
Anish Mistry


pgpMFF1gPX57J.pgp
Description: PGP signature


Cvsup installworld process question

2006-04-04 Thread Bryan Curl
Hopefully this is right place for my question and not to redundant.

I have a new minimalist installation for use as a file server only (FreeBSD
6.0-RELEASE) with a very small set of ports installed. Basically Samba,
Cvsup,man files, ports, all the source and their dependencies. I am
primarily interested in keeping the system up to date with security patches,
system updates, and of course, the ports I run. I want to optimize the
amount of disk space for the public shares so I don't want to arbitrarily
install a lot of programs I don't need.

My question is,
1.) If I CVSUP SRC-ALL,  'make buildworld', 'make installworld' etc, will
that install the entire source tree to my machine and eat up disk space
unnecessarily? In other words do I need to weed out all but the basic
components I want before make installworld?
2.) What branches of the source tree would I  be required to keep up to date
for my minimal installation?

I realized in testing on an older system that portupgrade will only install
ports I am using but don't know if make installworld will do the same.


---
Bryan
bc3910 'at' gmail 'dot' com


--

---
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cvsup src-all and installworld process question

2006-04-04 Thread Andy Reitz
On Tue, 4 Apr 2006, Bryan Curl wrote:

 Hopefully this is right place for my question and not to redundant a
 question.

 I have a new minimalist installation for use as a file server only (FreeBSD
 6.0-RELEASE) with a very small set of ports installed. Basically Samba,
 Cvsup,man files, ports, all the source and their dependencies. I am
 primarily interested in keeping the system up to date with security patches,
 system updates, and of course, the ports I run. I want to optimize the
 amount of disk space for the public shares so I don't want to arbitrarily
 install a lot of programs I don't need.

 My question is,
 1.) If I CVSUP SRC-ALL,  'make buildworld', 'make installworld' etc, will
 that install the entire source tree to my machine and eat up disk space
 unnecessarily? In other words do I need to weed out all but the basic
 components I want before make installworld?
 2.) What branches of the source tree would I  be required to keep up to date
 for my minimal installation?

 I realized in testing on an older system that portupgrade will only install
 ports I am using but don't know if make installworld will do the same.

Hi Bryan,

I don't think that bringing down the src-all collection via CVSup will
use a lot of extraneous disk space. While you could comment-out src-all
and include only specific collections, I think the specific collections
aren't necessarily granular enough that taking one out makes sense.

For example, on my machine, the sourcecode in the 'contrib' collection is
taking up 200+ Mb of space. However, contrib includes things like gcc,
gdb, top, traceroute, telnet, etc... That I wouldn't want to be without on
a normal FreeBSD machine.

The things that you probably could cut, like 'games' and kerberos,
represent less than 10Mb of the 400+ Mb total of my /usr/src directory.

So, I would say that if you are sensitive about disk space, be sure to
clean up '/usr/obj' after doing a build/install world. That is a pretty
low-hanging fruit, in terms of cleanin up disk space.

Good luck,
-Andy Reitz.

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


Re: Cvsup installworld process question

2006-04-04 Thread Lars Cleary

Bryan Curl wrote:

Hopefully this is right place for my question and not to redundant.

I have a new minimalist installation for use as a file server only (FreeBSD
6.0-RELEASE) with a very small set of ports installed. Basically Samba,
Cvsup,man files, ports, all the source and their dependencies. I am
primarily interested in keeping the system up to date with security patches,
system updates, and of course, the ports I run. I want to optimize the
amount of disk space for the public shares so I don't want to arbitrarily
install a lot of programs I don't need.

My question is,
1.) If I CVSUP SRC-ALL,  'make buildworld', 'make installworld' etc, will
that install the entire source tree to my machine and eat up disk space
unnecessarily? In other words do I need to weed out all but the basic
components I want before make installworld?
2.) What branches of the source tree would I  be required to keep up to date
for my minimal installation?

I realized in testing on an older system that portupgrade will only install
ports I am using but don't know if make installworld will do the same.


Check man make.conf(5)
to set which parts of /usr/src you don't want compiled by buildworld,
see also /usr/share/examples/etc/make.conf
for more explanations.

Check man cvsup(1)
to set which parts of the /usr/src you don't want updated by cvsup,
see also /usr/share/examples/cvsup/refuse.README
for more explanations.

HTH
Lars

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


new hint to smb share problem

2006-04-04 Thread Steel City Phantom

BSD 6 with SMB mounts to win 2003 shares.

been having problems all along with error messages smb_maperror 
unmapped error 1:158, today i realized a major clue.  if i try to 
access a file thru the samba mount that has an  apostrophe in the file 
name, i get the error [file] does not seem to exist anymore.  now 
files with  apostrophe's on the local drives are no problem, just over 
the samba mounts.


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


mail not flowing

2006-04-04 Thread Joy Williams
I have 690 emails in queue and cannot get them out.

Amavisd will not start - It appears to but if I enter the stop command
it displays a message that it is not running.

 

I have rerouted my email so that it does not run through Freebsd for
now; however I need to get the emails out of the queue.

Is there a way to force them out?

 

Joy Williams

Control Systems Research

850-689-3284

 


--_=_NextPart_001_01C65818.C794351C
Content-Type: text/html;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable

html xmlns:o=urn:schemas-microsoft-com:office:office 
xmlns:w=urn:schemas-microsoft-com:office:word 
xmlns=http://www.w3.org/TR/REC-html40;

head
META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=us-ascii
meta name=Generator content=Microsoft Word 11 (filtered medium)
style
!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Times New Roman;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
--
/style

/head

body lang=EN-US link=blue vlink=purple

div class=Section1

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'I have 690 emails in queue and cannot get them 
out.o:p/o:p/span/font/p

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'Amavisd will not start #8211; It appears to but if I enter
the stop command it displays a message that it is not 
running.o:p/o:p/span/font/p

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'o:pnbsp;/o:p/span/font/p

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'I have rerouted my email so that it does not run through
Freebsd for now; however I need to get the emails out of the 
queue.o:p/o:p/span/font/p

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'Is there a way to force them 
out?o:p/o:p/span/font/p

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'o:pnbsp;/o:p/span/font/p

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'Joy Williams/span/fonto:p/o:p/p

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'Control Systems Research/span/fonto:p/o:p/p

p class=MsoNormalfont size=2 face=Arialspan style='font-size:10.0pt;
font-family:Arial'850-689-3284/span/fonto:p/o:p/p

p class=MsoNormalfont size=3 face=Times New Romanspan style='font-size:
12.0pt'o:pnbsp;/o:p/span/font/p

/div

/body

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


Re: Firefox 1.5 getting downright irritating

2006-04-04 Thread Danny Butroyd
Paul Schmehl wrote:
 --On April 3, 2006 5:48:34 PM +0100 Danny Butroyd [EMAIL PROTECTED]
 wrote:

 Maybe you're editing the wrong file? Or while Firefox is running? Too
 tight file permissions? Just some thoughts. Here's mine profiles.ini:

 Or maybe it's KDE.there are several things that, when changed in
 Xwindows do not change at all.  profiles is just one of them.

 I'll have to investigate some more..
 I use Fluxbox and am experiencing exactly the same problem.and yes
 it is very irritating.  If I get anywhere with it I will let post to the
 list.

 Or maybe it's Gnome.  I'm playing around with Firefox tonight from
 home, and each time it starts up it asks me if I want to make it the
 default browser.  When I click on Yes, I get this in the terminal
 window I launched Firefox from:


 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 I'm going to uninstall Gnome and see what happens.  I've had nothing
 but trouble from it anyway
I did this on my last upgrade of Firefox and unfortunately it has not
helped.

Danny

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


Re: mail not flowing

2006-04-04 Thread Ken Stevenson

Joy Williams wrote:

I have 690 emails in queue and cannot get them out.

Amavisd will not start - It appears to but if I enter the stop command
it displays a message that it is not running.

 


I have rerouted my email so that it does not run through Freebsd for
now; however I need to get the emails out of the queue.

Is there a way to force them out?

 


Joy Williams

Control Systems Research

850-689-3284

After running the amavisd startup script (/etc/rc.d/amavisd start in 
my case), what do you see in /var/log/maillog?


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


RE: mail not flowing

2006-04-04 Thread Zimmerman, Eric
 
 I have 690 emails in queue and cannot get them out.
 
 Amavisd will not start - It appears to but if I enter the stop command
 it displays a message that it is not running.
 
 
 
 I have rerouted my email so that it does not run through Freebsd for
 now; however I need to get the emails out of the queue.
 
 Is there a way to force them out?
 

Take amavisd out of the picture and let postfix deliver them? Check
postfix master file for how things are getting routed.  Use 'postqueue
-f' to flush postfix queue once you make the changes.


Why not just get amavisd working? Turn up your logging level to max,
tail -f maillog and see why its puking
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jls shows dead jails too?

2006-04-04 Thread Marc G. Fournier

On Tue, 4 Apr 2006, Chad Leigh -- Shire.Net LLC wrote:



On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote:

I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to list 
my jails it shows all my started jails.


The problem is that when I kill a jail with kill -TERM -1, thats what the 
man page tells me to use, it still is listed when I run jls. Why is that 
and is there any way to clear the jls list? Where does jls get the list of 
the jails?




The jail is not completely did in that case.  It still owns some resources 
of some sort.


Is there some way of finding out what resources?  Right now, on one of my 
boxes:


# jls
   JID  IP Address  Hostname  Path
 4  200.46.204.254  mx2.hub.org   /vm/1/mx2.hub.org
 2  200.46.204.254  mx2.hub.org   /vm/1/mx2.hub.org
 1  200.46.204.254  mx2.hub.org   /vm/1/mx2.hub.org

It doesn't bother me too much, as 1/2 doesn't appear to be affecting 4, 
but still ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TCP/IP source Code

2006-04-04 Thread Chava Leviatan

Hi Gabor,

Thanks alot ! This did help me !

Chava
- Original Message - 
From: Kövesdán Gábor [EMAIL PROTECTED]

To: Chava Leviatan [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, April 04, 2006 6:46 PM
Subject: Re: TCP/IP source Code



Chava Leviatan wrote:


Hi Gabor,

thanks for the prompt reply.

What about obtaining the source into a windows machine (not FreeBSD one). 
Where Can I find those sources
( I don't care much  about the verson ) that I can just download  and put 
them iinto a regular Windows editor?


thanks,
Chava



Download  enjoy:

http://tux.t-hosting.hu/netinet.tar.gz

You can extract it with e.g. Total Commander, but WinRar, WinZip, etc. 
will do.


Cheers,

Gabor



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


Re: TCP/IP source Code

2006-04-04 Thread Erik Nørgaard
Chava Leviatan wrote:
 Hello,
 
 How can i get the TCP/IP source code , mainly sys/netinet.
 
 I have been browsing the site for a while , but havn'yt managed to discover 
 how can I get those
 simple .c, .h files 
 
 Any help is highly appreciated 

While you're at it, you might want to get a copy of TCP/IP illustrated,
I think it's vol 2 that goes in detail with the BSD implementaion.

Cheers, Erik

-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jls shows dead jails too?

2006-04-04 Thread Kris Kennaway
On Tue, Apr 04, 2006 at 04:21:39PM -0300, Marc G. Fournier wrote:
 On Tue, 4 Apr 2006, Chad Leigh -- Shire.Net LLC wrote:
 
 
 On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote:
 
 I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to 
 list my jails it shows all my started jails.
 
 The problem is that when I kill a jail with kill -TERM -1, thats what the 
 man page tells me to use, it still is listed when I run jls. Why is that 
 and is there any way to clear the jls list? Where does jls get the list 
 of the jails?
 
 
 The jail is not completely did in that case.  It still owns some 
 resources of some sort.
 
 Is there some way of finding out what resources?  Right now, on one of my 
 boxes:
 
 # jls
JID  IP Address  Hostname  Path
  4  200.46.204.254  mx2.hub.org   /vm/1/mx2.hub.org
  2  200.46.204.254  mx2.hub.org   /vm/1/mx2.hub.org
  1  200.46.204.254  mx2.hub.org   /vm/1/mx2.hub.org
 
 It doesn't bother me too much, as 1/2 doesn't appear to be affecting 4, 
 but still ...

See my reply.

Kris


pgpuJBEOJ5cop.pgp
Description: PGP signature


Re: jls shows dead jails too?

2006-04-04 Thread Chad Leigh -- Shire.Net LLC


On Apr 4, 2006, at 2:03 PM, Kris Kennaway wrote:


On Tue, Apr 04, 2006 at 04:21:39PM -0300, Marc G. Fournier wrote:

On Tue, 4 Apr 2006, Chad Leigh -- Shire.Net LLC wrote:



On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote:

I'm setting up a few jails on my FreeBSD 6.0 box and when I run  
jls to

list my jails it shows all my started jails.

The problem is that when I kill a jail with kill -TERM -1, thats  
what the
man page tells me to use, it still is listed when I run jls. Why  
is that
and is there any way to clear the jls list? Where does jls get  
the list

of the jails?



The jail is not completely did in that case.  It still owns some
resources of some sort.


Is there some way of finding out what resources?  Right now, on  
one of my

boxes:

# jls
   JID  IP Address  Hostname  Path
 4  200.46.204.254  mx2.hub.org   /vm/1/ 
mx2.hub.org
 2  200.46.204.254  mx2.hub.org   /vm/1/ 
mx2.hub.org
 1  200.46.204.254  mx2.hub.org   /vm/1/ 
mx2.hub.org


It doesn't bother me too much, as 1/2 doesn't appear to be  
affecting 4,

but still ...


See my reply.


Other things that I have seen are if you have a FS mounted inside  
your jail and that did not umount completely or appropriately, for  
example.


For example, I use file backed md devices as jail file systems and I  
mount various pieces of a master jail inside my jail.  If I do not  
umount everything cleanly before shutting the jail down it remains  
listed in the jls list


Chad

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



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


Questions regarding RAID support

2006-04-04 Thread paul
Hey everyone, I'm currently working on setting up a server with RAID1. The 
servers motherboard has an on board Intel MatrixRAID controller. FreeBSD6.0 
currently has partial support for this controller, given my circumstances I 
can wait awhile before the server goes live and was curious if anyone had any 
ideas as to the ETA for full support for this controller?

Thanks in advance 


Paul


pgprT20i9jWvU.pgp
Description: PGP signature


ISO 9001 Certified Multilingual Solutions - Translation and Localization of Technical Documentation, Software, Websites, CRM ERP Applications

2006-04-04 Thread ALPHATRAD

 DOCUMENTATION AND SOFTWARE LOCALIZATION - TERMINOLOGY DATABASES -
   TECHNICAL TRANSLATIONS - INTERPRETING 


   Any language  -  Any subject  
   ALPHATRAD [Rhythmic_Siennas_Newsletter_i02.gif]
Dear Product Manager,

   [LOGO.jpg]
   ALPHATRAD is among the leading suppliers of multilingual translation
   services and business technology solutions. The wide range of complete
   and integrated solutions in-cludes managing multilingual contents,
   real-time transla-tion technologies and a wide choice of
   internationaliza-tion and localization services. Since its founding
   year, Alphatrad has dedicated itself to outlining and implemen-ting
   strategies for the global business communication with a number of Blue
   Chip companies, among which Microsoft, Hewlett-Packard, Sony, Exxon
   Mobil, Peugeout, Konica, MBDA, Kodak, Komori, Siemens, Mita, Nec,
   Seagate, Siebel and Visto Corporation.
   In our industry, globalization is the process of adapting and
   translating products and services of global businesses and
   international organizations in order to meet the demands of local
   cultures. Localization allows to launch and publish simultaneously
   material and contents on all markets.
   Our objective is to carry out translation, localization and
   globalization projects meeting the deadlines, the budget and the
   quality levels requested, as well as working anywhere and unceasingly
   in order to satisfy our customers demands. Because of an approach
   characterized by a detailed attention to projects management, we are
   able to offer that combination of quality and professionalism which
   makes it possible to satisfy and even exceed our customers
   expectations.
   Our translators and interpreters are language graduates, have a solid
   professional qualification, a thorough vocational training and a
   multiannual experience in their subject matter. They translate
   exclusively into their native languages. Where appropriate, we use the
   best Computer Aided Translation (CAT) software available and guarantee
   consistency in both terminology and formulation. We offer fast
   turnaround and reasonable rates (from 0.11 euro to 0.19 euro per word
   depending on the language combination requested, including
   proofreading/editing).

   We have a sound international reputation based on superior
   quality, service and reliability.  To this end, we have an in-house
   quality check department which runs the final quality check on the
   translated work. Our quality check lays great emphasis on language
   accuracy, formats and layouts and other client instructions. We also
   lay great stress on the turnaround time, which is critical for any
   translation and localization job.
   To request a free quote, please do not hesitate to contact us via
   e-mail and/or phone. For further information about our company, please
   feel free to visit our Website at the following
   address: [1]http://www.alphatrad.it.
   We are looking forward to hearing from you in the near future.
   Kind regards

   ALPHATRAD
   via S. Tramontano, 2
   Nocera Inf. , 84014 - Italy
   Tel.: +39 081-9211 091
   Fax: +39 081-9211 091
   [EMAIL PROTECTED]
   [3]http://www.alphatrad.it
   [4]For further information about ALPHATRAD, click here to visit our
   Website   [Rhythmic_Siennas_Newsletter_i03.gif]
   [Rhythmic_Siennas_Newsletter_i04.gif]
   UNI EN ISO 9001:2000 Quality System
   [BVQI_9001.jpg]

   Major worldwide companies definitively recognize ISO 9000
   certi-fication and frequently use it as a qualifier of potential
   suppliers. Although improving quality can be a challenge for both
   large and small firms, the benefits outweigh the expenditures to reach
   these goals. The growth of small and medium sized companies can often
   be catalyzed by ISO 9001:2000 acquisition by opening the door to
   multi-national firms. In general, the ISO standards make the
   develop-ment, manufacturing and supply of products safer and more
   efficient. A highlight of the standards Alphatrad was required to meet
   include: management involvement, defined and documented quality
   systems, and a thorough training program. Numerous months of
   preparation and training were required to meet these rigorous
   standards. Service companies do not typically seek certification,
   which is typically sought by manufacturing firms for the purpose of
   meeting both international process and environmental
   standards. However, the benefits implied by the certification include:
   increased productivity and efficiency, and improved
   communications. For more information on the International Standards
   organization, visit [5]www.iso.org[6].
   To display our[7] UNI EN ISO 9001[8] quality certificate, click here
   [Rhythmic_Siennas_Newsletter_i05.gif]
  [Rhythmic_Siennas_Newsletter_i06.gif]
   
   Other services
   Managed Services
   Most of our turnover comes 

Re: TCP/IP source Code

2006-04-04 Thread Daan Vreeken [PA4DAN]
On Tuesday 04 April 2006 19:11, Chava Leviatan wrote:
 Hello,

 How can i get the TCP/IP source code , mainly sys/netinet.

 I have been browsing the site for a while , but havn'yt managed to discover
 how can I get those simple .c, .h files

 Any help is highly appreciated

The following link will take you to the cvsweb-interface. Click on any file 
you desire and follow the download link of the latest version of the file.

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


Re: C Program to execute programs in same console

2006-04-04 Thread Jonathan Herriott
Thanks for the suggestion.  I haven't tried it yet, but I'll post if I
get it working.

Thanks,
Jon

On 4/3/06, cpghost [EMAIL PROTECTED] wrote:
 On Mon, Apr 03, 2006 at 05:45:19PM -0400, Bill Moran wrote:
  On Mon, 3 Apr 2006 21:39:11 +
  Jonathan Herriott [EMAIL PROTECTED] wrote:
   So, my question is how can I get it to execute a cd in the current
   shell using c code.  You don't have to give me the code, just give me
   a term to search for or a function to look up.  I'm sure someone knows
   how to do it here!
 
  Unless I'm misunderstanding your question, man 2 chdir should help out.

 Hmmm... chdir(2) would not change the parent process' (the shell's
 process) current working directory, only the current working directory
 of the process running the C program.

 Perhaps connecting to the shell via a pty, and then sending it a 'cd'
 command could work? Of look at how expect(1) (/usr/ports/lang/expect)
 implements this kind of stuff...

 Regards,
 -cpghost.

 --
 Cordula's Web. http://www.cordula.ws/

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


Re: TCP/IP source Code

2006-04-04 Thread Daan Vreeken [PA4DAN]
On Tuesday 04 April 2006 23:01, Daan Vreeken [PA4DAN] wrote:
 On Tuesday 04 April 2006 19:11, Chava Leviatan wrote:
  Hello,
 
  How can i get the TCP/IP source code , mainly sys/netinet.
 
  I have been browsing the site for a while , but havn'yt managed to
  discover how can I get those simple .c, .h files
 
  Any help is highly appreciated

 The following link will take you to the cvsweb-interface. Click on any file
 you desire and follow the download link of the latest version of the
 file.

Will someone please kick me? :)
Here's the URL I promised you :
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/


 grtz,
 Daan
 ___
 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]


software recommendation

2006-04-04 Thread fbsd_user
I am looking for am application that will simulate a browser and
allow me to program responses to filling in forms from the internet
application the browser is accessing.

I have read about this type of thing before and even seen it
mentioned on this list but at the time I had no interest in it. I
don't even know what this type of function is called so I can not do
a successful web search or ports search. I tried the words scraping,
session capture, and browser session simulation all with no luck.

Does anyone know what this is called or the port name if there is
one?


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


Re: C Program to execute programs in same console

2006-04-04 Thread usleepless
Jon,

i believe you are mixing up some concepts.

1. if i read your title C Program to execute programs in same
console. i think this is easy, just use system(ls *.txt) and you
are done. i believe you can choose wat to do with the output, i am not
sure.

2. but you come up with the cd-command, which you want to change the
context of your parent shell.  changing the home-dir of the current
process ( your program ) can be done with chdir. altering the context
of your parent-shell-process can not be done, except for setting
environment variables ( through the proper C calls )

but if you are running your program, your shell (interpreter) is
temporarily not there:  your program is running the show. every
system,execvp or whatever call will give you a child-process with a
new shell, not the parent-shell-process. i believe you may set
environment variables in your parent shell with the appropiate library
calls, but not through a system/execvp call.

so, maybe you should define what you really want to achieve. for
example, qdvd-author runs alls kinds of external programs to generate
thumbnails and slideshows for example.

anybody please correct me if i am wrong.

regards,

usleep


On 4/4/06, Jonathan Herriott [EMAIL PROTECTED] wrote:
 Thanks for the suggestion.  I haven't tried it yet, but I'll post if I
 get it working.

 Thanks,
 Jon

 On 4/3/06, cpghost [EMAIL PROTECTED] wrote:
  On Mon, Apr 03, 2006 at 05:45:19PM -0400, Bill Moran wrote:
   On Mon, 3 Apr 2006 21:39:11 +
   Jonathan Herriott [EMAIL PROTECTED] wrote:
So, my question is how can I get it to execute a cd in the current
shell using c code.  You don't have to give me the code, just give me
a term to search for or a function to look up.  I'm sure someone knows
how to do it here!
  
   Unless I'm misunderstanding your question, man 2 chdir should help
 out.
 
  Hmmm... chdir(2) would not change the parent process' (the shell's
  process) current working directory, only the current working directory
  of the process running the C program.
 
  Perhaps connecting to the shell via a pty, and then sending it a 'cd'
  command could work? Of look at how expect(1) (/usr/ports/lang/expect)
  implements this kind of stuff...
 
  Regards,
  -cpghost.
 
  --
  Cordula's Web. http://www.cordula.ws/
 
 ___
 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: software recommendation

2006-04-04 Thread Greg Barniskis

fbsd_user wrote:

I am looking for am application that will simulate a browser and
allow me to program responses to filling in forms from the internet
application the browser is accessing.

I have read about this type of thing before and even seen it
mentioned on this list but at the time I had no interest in it. I
don't even know what this type of function is called so I can not do
a successful web search or ports search. I tried the words scraping,
session capture, and browser session simulation all with no luck.

Does anyone know what this is called or the port name if there is
one?


If you like Perl at all, take a look at WWW::Mechanize and its 
companion modules, e.g.:


./devel/p5-Test-WWW-Mechanize
./devel/p5-Test-WWW-Mechanize-Catalyst
./www/p5-WWW-Mechanize
./www/p5-WWW-Mechanize-FormFiller
./www/p5-WWW-Mechanize-Shell

There are probably (many) other Perl modules that would be of 
tremendous usefulness, but WWW-Mechanize is specifically designed 
for what you are asking.


http://search.cpan.org/~PETDANCE/WWW-Mechanize-1.18/lib/WWW/Mechanize.pm

--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FIXED Realplayer plugin not working after portupgrade

2006-04-04 Thread Oliver Iberien
Portdowngrade to linux-realplayer-10.0.6.776, and it works again.


On Tuesday 04 April 2006 11:11, Oliver Iberien wrote:
 Sorry to bring up such as stupid question, but these you do not have the
 plugin messages are driving me nuts.

 On FreeBSD 6.0, I just ran portupgrade on everything except KDE. It updated
 both realplayer (linux-realplayer-10.0.7.785.20060201) and (1.5.0.1). Now
 although the realplayer plugin is still there, and I redid the link
 from /usr/X11R6/lib/linux-mozilla/plugins to /usr/X11R6/lib/firefox/plugins
 (as described here:
 http://www.ubergeek.co.uk/howtos/realplayer-firefox-freebsd-howto.html), it
 doesn't work any more. I reinstalled realplayer and linuxpluginwrapper, and
 updated the libmap.conf file as indicated. Still nothing.

 I am probably missing something very simple. An ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: software recommendation

2006-04-04 Thread Duane Whitty

fbsd_user wrote:

I am looking for am application that will simulate a browser and
allow me to program responses to filling in forms from the internet
application the browser is accessing.

I have read about this type of thing before and even seen it
mentioned on this list but at the time I had no interest in it. I
don't even know what this type of function is called so I can not do
a successful web search or ports search. I tried the words scraping,
session capture, and browser session simulation all with no luck.

Does anyone know what this is called or the port name if there is
one?


___
  


Try googling (can this really be a word :) ) browser automation name_of 
browser.
I also tried automated website interaction tools but the results didn't 
seem as

promising.  YMMV

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


cron question

2006-04-04 Thread Marlon Martin
i created a simple shell script:

filename: rn

#!/bin/sh
rndc dumpdb

what it does, is just dump the hostname and IP addresses in /var/dump
i set the time in 2 minutes but when i checked the logs, it doesnt work any
idea what did i missed here?

==

SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   root/usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11*   *   *   *   operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0   *   *   *   *   rootnewsyslog
#
# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic monthly
/2 *   *   *   * root   /home/ken/rn
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,310-5 *   *   *   rootadjkerntz -a
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rpcbind: connect from 127.0.0.1 to dump() ??

2006-04-04 Thread Andrew Reilly
Hi there,

I'm running an NFS server on one of my FreeBSD-6-STABLE systems,
and it keeps putting that message into my /var/log/auth.log
file.  When I say keeps, there are thousands of such logs per
day, sometimes separated by seconds, sometimes by many minutes
or hours.  I can't find anything on the subject in the man pages
for rpcbind.

Presumably it's whinging because I'm not running some service
that it expects to be there?

The relevant (?) part of my rc.conf file is just:

nfs_server_enable=YES
rpcbind_enable=YES
syslogd_flags=-a 10.0.0.0/16:*
rpcbind_enable=YES
rpcbind_flags=-l
mountd_flags=-2rl

The primary NFS client is a diskless NetBSD box, if that
matters.  (That's why mountd has -r set: I used to NFS mount a
swap partition, but now I just run that box without swap, so
that flag is redundant.)

This has been happening for a long time, and doesn't seem to be
causing any actual problem, I just wanted to know what's going
on, and perhaps to stop it from complaining.

Any help greatly appreciated.

Cheers,

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


Question bout migrating from 4.X tree to 5.x or even 6.x

2006-04-04 Thread Robert Yoon
I am planning on upgrading from the 4.x tree to the 6.x tree.
I have been reading online and have found little or no reference
information.
I would like to actually do this without a make world scenario, and have
read some info bout booting off a usb device with 6.0 on it and copying
stuff over.
Anyone know of or heard bout this by any chance?

Also what recommendations would you make if you were to upgrade from 4.x
tree to 5 or 6?
I know most of you will say start from scratch, but I dont have that
luxury.   Please help





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


Re: cron question

2006-04-04 Thread Chuck Swiger
Marlon Martin wrote:
 i created a simple shell script:
 
 filename: rn
 
 #!/bin/sh
 rndc dumpdb
 
 what it does, is just dump the hostname and IP addresses in /var/dump
 i set the time in 2 minutes but when i checked the logs, it doesnt work any
 idea what did i missed here?

You forgot to use the full path to rndc in your shell script.  You should not
assume that the $PATH cron passes you is going to have that command available.

-- 
-Chuck

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


Re: Update from Ports removes dependency data

2006-04-04 Thread Luke Dean



On Mon, 3 Apr 2006, [EMAIL PROTECTED] wrote:

I recently noticed if I update a package from ports, the package manager 
looses the dependency data for the package.  eg:  updating old version of 
gettext


# pkg_info -R gett*
Information for gettext-0.14.5_1:
Required by:
libgpg-error-1.1
libgcrypt-1.2.2
gnutls-1.2.9
p5-gettext-1.03
gmake-3.80_2

[[[ update from ports - make ; make deinstall ; make reinstall ]]]

# pkg_info -R gett*
Information for gettext-0.14.5_2:

Is my procedure incorrect, or is this normal behavior?

 -Thanks,  Wayne


This is normal.  It's what makes upgrading those ports that are required 
by lots of other ports so difficult.

Dependency information is version-specific.

If you run pkg_info -r libgpg-error-1.1 you'll find that it still 
depends on gettext-0.14.5_1 until you rebuild libgpg-error.


Last weekend I wrote some scripts to help me deal with stale dependencies 
like this.  My code is such an ugly perl hack that I'm ashamed to post it, 
and my algorithm isn't really airtight, but I'll give you the algorithm 
I'm using.  The script just uses pkg_info, pkg_version, and grep.


1) I build a dependency hash by parsing the output of pkg_info -ra.  The 
keys to the hash are the names of the installed ports with the versions 
stripped off.  The right-hand-side of the hash are the lists 
of dependencies with the version numbers stripped off.


2) I build what I call a full dependency hash from the dependency hash I 
built in step 1.  I do this by recursively getting the dependencies for 
every dependency in the hash from step 1.  The result is a hash just like 
the one from step one, only with the list of dependencies expanded to show 
all of the dependencies' dependencies, etc. all the way down the the ports 
that don't require anything.
As I'm building this, I also count how many levels down I have to recurse 
to build each entry and remember this number for each port.  I call this 
number the degree for the port.  To avoid rebuilding the same ports over 
and over again, ports with high degrees should be built after ports with 
low degrees.


3) I get a list of everything I want to upgrade by parsing the output of 
pkg_version -qL =.  That shows me which of my installed ports are not 
the same version as the port in the ports tree.  Usually I'll want to 
upgrade those ports.


4) I add to that list all of the ports that have outdated dependencies.  I 
get that list by parsing pkg_info -ra for each port and checking 
pkg_info -e  for each dependency to see if it exists.  If it doesn't 
exist, then I assume I need to upgrade the requiring port.  Many times the 
only thing I gain by doing this is an update to the dependency information 
in the ports database, but sometimes (like with the recent libiconv 
upgrade) it's truly necessary.  I don't know of any way to 
programmatically gauge the importance of an upgrade - all I can tell is 
whether the version of the port listed as a dependency still exists.


5) I take the list of ports that I built in step 3 and 4, look them up in 
the degrees hash I built at the end of step 2, sort the output by the 
degree I determined in step 2 and then print the list.


Then I use that list to tell me which ports that I should consider 
rebuilding and in what order.


I used this script to help me upgrade all the ports on a system that 
hadn't been upgraded in about six months.  It worked pretty well.  It's 
not always perfect, though.  Dependencies can change dramatically between 
versions sometimes, and sometimes a port will depend on a port that 
doesn't exist in the database (like linux_base) but this approach is far 
far better than me trying to do a big upgrade of several ports by hand 
when I can't immediately see the dependencies.  It also gives me the 
freedom/power to choose to build the ports I want to build, and to build 
them with the options I want to use.

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


Re: Question bout migrating from 4.X tree to 5.x or even 6.x

2006-04-04 Thread Chuck Swiger
Robert Yoon wrote:
 I am planning on upgrading from the 4.x tree to the 6.x tree.
 I have been reading online and have found little or no reference
 information.

Presumably reading /usr/src/UPDATING and the FreeBSD handbook would prove 
useful.

 I would like to actually do this without a make world scenario, and have
 read some info bout booting off a usb device with 6.0 on it and copying
 stuff over.  Anyone know of or heard bout this by any chance?

Have fun.

However, it's unclear why you'd bother with USB when simply performing a binary
upgrade installation from a 6.0 or 6.1beta ISO image on a CD would achieve the
same end result

 Also what recommendations would you make if you were to upgrade from 4.x
 tree to 5 or 6?

Read the fine documentation.  Follow instructions carefully.  Have good backups.

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


RE: TCP/IP source Code

2006-04-04 Thread Murray Taylor
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Daan Vreeken [PA4DAN]
 Sent: Wednesday, April 05, 2006 7:08 AM
 To: [EMAIL PROTECTED]
 Cc: Chava Leviatan; freebsd-questions@freebsd.org
 Subject: Re: TCP/IP source Code
 
 On Tuesday 04 April 2006 23:01, Daan Vreeken [PA4DAN] wrote:
  On Tuesday 04 April 2006 19:11, Chava Leviatan wrote:
   Hello,
  
   How can i get the TCP/IP source code , mainly sys/netinet.
  
   I have been browsing the site for a while , but havn'yt managed to
   discover how can I get those simple .c, .h files
  
   Any help is highly appreciated
 
  The following link will take you to the cvsweb-interface. 
 Click on any file
  you desire and follow the download link of the latest 
 version of the
  file.
 
 Will someone please kick me? :)
 Here's the URL I promised you :
 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/
 
 
  grtz,
  Daan

And if you are on your freebsd box _and_ have the source code installed

/usr/src/sys/netinet

is the directory 

After all, one of the benefits of FreeBSD and the Open Source community
is that the source code _IS_ available.

cheers
mjt

Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction.
--Albert Einstein 

Murray Taylor
Bytecraft Systems
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: [EMAIL PROTECTED]
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

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

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


[OT] Re: software recommendation

2006-04-04 Thread Daniel Bye
On Tue, Apr 04, 2006 at 07:26:07PM -0300, Duane Whitty wrote:
 Try googling (can this really be a word :) ) browser automation name_of 
 browser.

According to Dictionary.com, yes.  It gives three definitions, two of
which are listed as verbs.  Therefore, the present participle googling
is an acceptable word in English.  Good enough for me!

I wonder - do other languages have similar neologisms?

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Project

2006-04-04 Thread Kyle J. Farmer

Greetings,

I was wondering if you would like to participate in the computer 
gathering project?  For 25 dollars I will host your logo on the project 
website for 3 years.  My goal?  I plan on gathering all the computer 
related businesses and or organizations out there to construct a memory 
quilt.


Let me know if your interested,

Take it easy

--Kyle J. Farmer

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


Re: Update from Ports removes dependency data

2006-04-04 Thread Kris Kennaway
On Tue, Apr 04, 2006 at 04:36:11PM -0700, Luke Dean wrote:
 
 
 On Mon, 3 Apr 2006, [EMAIL PROTECTED] wrote:
 
 I recently noticed if I update a package from ports, the package manager 
 looses the dependency data for the package.  eg:  updating old version of 
 gettext
 
 # pkg_info -R gett*
 Information for gettext-0.14.5_1:
 Required by:
 libgpg-error-1.1
 libgcrypt-1.2.2
 gnutls-1.2.9
 p5-gettext-1.03
 gmake-3.80_2
 
 [[[ update from ports - make ; make deinstall ; make reinstall ]]]
 
 # pkg_info -R gett*
 Information for gettext-0.14.5_2:
 
 Is my procedure incorrect, or is this normal behavior?
 
  -Thanks,  Wayne
 
 This is normal.  It's what makes upgrading those ports that are required 
 by lots of other ports so difficult.
 Dependency information is version-specific.
 
 If you run pkg_info -r libgpg-error-1.1 you'll find that it still 
 depends on gettext-0.14.5_1 until you rebuild libgpg-error.
 
 Last weekend I wrote some scripts to help me deal with stale dependencies 
 like this.  My code is such an ugly perl hack that I'm ashamed to post it, 
 and my algorithm isn't really airtight, but I'll give you the algorithm 
 I'm using.  The script just uses pkg_info, pkg_version, and grep.

Sounds like you're reinventing the wheel..portupgrade does all this
and more.

Kris


pgpSH3HDjSMEi.pgp
Description: PGP signature


Re: cron question

2006-04-04 Thread Kevin Kinsey

Chuck Swiger wrote:


Marlon Martin wrote:
 


i created a simple shell script:

filename: rn

#!/bin/sh
rndc dumpdb

what it does, is just dump the hostname and IP addresses in /var/dump
i set the time in 2 minutes but when i checked the logs, it doesnt work any
idea what did i missed here?
   



You forgot to use the full path to rndc in your shell script.  You should not
assume that the $PATH cron passes you is going to have that command available.
 



And furthermore, you edited /etc/crontab or something similar
instead of using crontab(1) to edit /var/cron/tabs/root.  Nitpicky,
to be sure, but the cause of many a heartache:

http://www.freebsd.org/doc/en/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS

... not sure if this one's affected you or not, but I'm wondering

Kevin Kinsey

--
Acid absorbs 47 times its own weight in excess Reality.


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


How to handle 'local' ports/packages?

2006-04-04 Thread freebsd-questions
Hi,

Can anyone give me a tip on how to properly integrate a local package so
that I don't get:

pkg_delete: package x has no origin recorded

errors?

I've tried adding a line like:

@comment ORIGIN:local/

to the +CONTENTS file for the package, but then portmanager complains that
it is nonexistent and won't complete 'portmanager -s'. To make matters
more awkward, this package is built from a closed-source binary
distribution and thus can't be properly ported, so I can't set it up
properly. What I'd like is for management tools to acknowledge its
existence, yet ignore it entirely for the purposes of maintenance. For
instance, I have already made it a held package under pkgtools.conf, which
seems to satisfy portupgrade ok.

I'm happy with the package I've made, as it enables me to check what
version is installed with pkg_info, I just want it to play nicely with
other real ports!

joel
-- Joel Hatton --
Infrastructure Manager  | Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
The University of Queensland| WWW: www.auscert.org.au
Qld 4072 Australia  | 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]


Re: Question bout migrating from 4.X tree to 5.x or even 6.x

2006-04-04 Thread Kevin Kinsey

Chuck Swiger wrote:


Robert Yoon wrote:
 


I am planning on upgrading from the 4.x tree to the 6.x tree.
I have been reading online and have found little or no reference
information.
   



Presumably reading /usr/src/UPDATING and the FreeBSD handbook would prove 
useful.

 


I would like to actually do this without a make world scenario, and have
read some info bout booting off a usb device with 6.0 on it and copying
stuff over.  Anyone know of or heard bout this by any chance?
   



Have fun.

However, it's unclear why you'd bother with USB when simply performing a binary
upgrade installation from a 6.0 or 6.1beta ISO image on a CD would achieve the
same end result

 


Also what recommendations would you make if you were to upgrade from 4.x
tree to 5 or 6?
   



Read the fine documentation.  Follow instructions carefully.  Have good backups.
 



In particular, there is some *very fine* documentation at:

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

I'd recommend looking at the early adopter's guide for 5.0 or 5.1, and
a migration guide from a later release such as 5.3.  The 4.X -5.X jump
tends to be the tricky one, but Bruce Mah has spelled it out quite well. 

If you can hit 5.X successfully, jumping to 6 should be quite pain-free. 


YMMV, of course.

Kevin Kinsey

--
Asking a working writer what he thinks about critics is like asking a
lamp-post how it feels about dogs.
-- Christopher Hampton


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


Re: software recommendation

2006-04-04 Thread Malcolm Fitzgerald


On 05/04/2006, at 7:17 AM, fbsd_user wrote:


I am looking for am application that will simulate a browser and
allow me to program responses to filling in forms from the internet
application the browser is accessing.


cURL does this


malcolm

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


Re: ipfw plus authentication (authpf is cool but....)

2006-04-04 Thread Mark Jayson Alvarez
Hi Nikos

Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Monday 03 April 2006 10:34, 
Mark Jayson Alvarez wrote:
 Hi

  I am looking for ways to manage our LAN by having each user register their
 ipaddress, mac address, workstation os, etc. in our ldap directory. Now in
 our pcrouter, the users will first send his login credentials to the
 pcrouter, and then the pcrouter will check against ldap if this login is
 correct, and if it is, then it will now do an ldapsearch/compare operation
 to see if the source address (ip/mac) of the user trying to gain network
 access is indeed belongs to that user. Only then, the ipfw ruleset will be
 changed to allow traffic originating from this source address...


 snip
 Does it have to be LDAP and ipfw?
there is authpf which..
   
 Ofcourse this does not cover the IP|MAC address checking you mentioned,
but I don't see how this enhances security. It will be easy for a user to 
change his IP|MAC address.
 /snip
 
 Our main problem is that in our company, each user has his own workstation(no 
one else uses it).. However, due to poor implementation of ip allocation 
strategy, any user can change his ip to whatever ip address he wants, thus it 
would be hard for us to really monitor who is doing this and who is doing that 
(because it would be useless to see the ip address of the one who's eating up 
or bandwidth or doing p2p when we cannot determine who is this user this ip 
belongs to. This leads us to our decision to have every user assigned a static 
ip address and have him register his mac address, all stored in ldap directory, 
and have him authenticate to the pc router first before being allowed to access 
any server. Authpf is somewhat close to this idea but perhaps it was designed 
for environment wherein users have no permanent workstation, or user can come 
from any location, even outside the company(at home)
 
 I have created a draft of my proposed solution:
 
 First, user will authenticate to a web based login form which is tied up 
against the ip[f|fw|tables] ruleset. 
 
 When the user submits the form, the cgi will then verify if the user is really 
who he claims to be by doing an ldapbind using the credentials provided. Also, 
the script will check if the request is coming from an ip address that is 
assigned to that user, by comparing it to his ldap attributes (somewhat 
prevents users from using other user's ip address).
 
 If everything goes well, the script will happily change the router's firewall 
ruleset to allow the user to pass thru. (note that in our setup, we have 
allocated a single class C ip block for all the staffs(120) (no need to have 
separate blocks since all policies applies to all). Also, we have placed all 
the servers (mail, proxy, file, printer, im etc) in a different block to make 
sure that authentication will happen first before a user is allowed to access 
any of those servers.
 
 Next, we will also provide a logout form(the same as logging out from ssh 
session in authpf) so that the ruleset can be reverted back when the user does 
not want to access any network server anymore. The problem with this is that 
users may be too lazy to logout to the network authentication.. In authpf, even 
the user did not logout from his ssh session, when he turns off his computer, 
the ssh session will automatically be terminated. I'm thinking perhaps I can 
have a nagios server constantly monitoring each user's network connectivity and 
then changing the firewall ruleset once the user's machine is unreacheable... 
 
 Another problem I am thinking is that, when a user has already authenticated 
to the router and have his ip address verified and has been allowed in the 
firewall, another smart user might immediately change his ip/mac address to 
that of the authenticated user, and thus making it hard to track his network 
activity again.. I'm still going to investigate if arpwatch can fill this 
need
 
 
 What do you think???
 
 
 
 
 
 
 
 HTH, Nikos

  Anyone have gone with this solution before??

  Thanks


 -
 Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo!
 Messenger with Voice. ___
 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]
 


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
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 examine FreeBSD source changes with CVS? - SOLVED

2006-04-04 Thread Pete Slagle

Erik Norgaard wrote:


Pete Slagle wrote:

I seek education about FreeBSD source control spelunking.

I noticed that GENERIC was updated recently in 6-STABLE, and I would
like to see what changed. More generally, how does one examine diffs in
the FreeBSD source as it changes?

Could some kind soul demonstrate how to do that with CVS? Or point me to
the right FM (as in RTFM). Or suggest a better method.


check here, I think:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/GENERIC


Thanks Erik, that's exactly what I needed.

For anyone else interested:

In the general case, going to http://www.freebsd.org/cgi/cvsweb.cgi and 
following the tree to the source file of interest shows a list of all 
versions since primordial releases.  Diffs (in color no less) are only a 
click away.


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


memory slot info

2006-04-04 Thread Simon Gray

Hi guys,

I have a freebsd server co-located (twin p3 1ghz) running fbsd 5.3, it
runs fine. I'm looking to add an extra gig of ram to it taking it to
2gig. The motherboard is a Tyan LE (S2510) 

http://www.tyan.com/products/html/thunderle.html

My question is - Without opening up the box, does anybody know of any
tools or anyway to find out what dimm slots are in use? E.g. if would be
helpful to know whether the box is using 2 out of the the 4 dimm slots
or 3 out of the 4 slots. (Basically I need to find out if I can get away
with buying 2x 512meg dims or a single 1024 meg dimm.)

I don't have physical access to the box either - otherwise I could
reboot and run memtestx86 or something similar

Any ideas/suggestions?

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


Re: ipfw plus authentication (authpf is cool but....)

2006-04-04 Thread Mark Jayson Alvarez


Norberto Meijome [EMAIL PROTECTED] wrote: On Tue, 4 Apr 2006 18:22:42 -0700 
(PDT)
Mark Jayson Alvarez  wrote:

 Hi Nikos
 
 Nikos Vassiliadis  wrote: On Monday 03 April


hi there,
I mentioned DHCP registration - i found the link :
http://www.netreg.org/ it may do what you need.

 I have already looked into it, as well as the CMU version of netreg which is 
far more feature rich and matured. http://www.net.cmu.edu/netreg/
 However, we are on the process of having a centralized LDAP directory of each 
equipment (including ip, mac address, os, owner, property number etc.) Both 
implementations uses a separate backend to store each machine's mac addresses. 
We don't want to have redundant data. Also, during our discussion:
 
 Another problem I am seeing with this kind of setup is that it doesn't 
prevent 
 someone from using other user's network information. There's not that much of 
 authentication happening in the process of dhcp. The server only looks if the 
 mac address is already registered(in my case, a simple ifconfig will allow me 
 to change my mac address to that of a registered user). There are a couple of 
 suggestions and workarounds to this however, and with these at hand, were're 
 only left with that redundancy issue..
 
 
 
  
  Our main problem is that in our company, each user has his own
 workstation(no one else uses it).. However, due to poor
 implementation of ip allocation strategy, any user can change his ip
 to whatever ip address he wants, thus it would be hard for us to
 really monitor who is doing this and who is doing that (because it
 would be useless to see the ip address of the one who's eating up or
 bandwidth or doing p2p when we cannot determine who is this user this
 ip belongs to. 

have you considered changing the policy in this regards? do users need
that much control over their own workstation?
 
 According to the policy, the NMG is the only responsible for software 
installation, removal, patching etc of each workstation.. However, the MIS has 
very few manpower, they cannot have full control over all of the user's 
workstation. That's why we have proposed another policy that the user will be 
held responsible for every outcome that will be originating from his machine... 
be it p2p, or worm flooding.
 
   This leads us to our decision to have every user
 assigned a static ip address and have him register his mac address,
 all stored in ldap directory, and have him authenticate to the pc
 router first before being allowed to access any server. Authpf is
 somewhat close to this idea but perhaps it was designed for
 environment wherein users have no permanent workstation, or user can
 come from any location, even outside the company(at home) I have
 created a draft of my proposed solution: 

 First, user will
 authenticate to a web based login form which is tied up against the
 ip[f|fw|tables] ruleset.

can you run iptables on BSD? 
   |  When the user submits the form, the cgi will
  then verify if the user is really who he claims to be by doing an
 ldapbind using the credentials provided. Also, the script will check
 if the request is coming from an ip address that is assigned to that
 user, by comparing it to his ldap attributes (somewhat prevents users
 from using other user's ip address). 
If everything goes well, the
 script will happily change the router's firewall ruleset to allow the
 user to pass thru. (note that in our setup, we have allocated a
 single class C ip block for all the staffs(120) (no need to have
 separate blocks since all policies applies to all).



 Also, we have
 placed all the servers (mail, proxy, file, printer, im etc) in a
 different block to make sure that authentication will happen first
 before a user is allowed to access any of those servers.


and your pcrouter is the gateway between the users and the servers,
right? and different physical segment too
   

 
 
 Yup.. just to make sure that they will have to get authenticated first before 
using any network services.. If they are known, that is the time when 
monitoring and accounting will make sense (since it is useless to know the ip 
address of the one doing p2p when we can't find out the user whom this ip is 
registered to.:-)
 
 
 
   Next, we
 will also provide a logout form(the same as logging out from ssh
 session in authpf) so that the ruleset can be reverted back when the
 user does not want to access any network server anymore. The problem
 with this is that users may be too lazy to logout to the network
 authentication.. In authpf, even the user did not logout from his ssh
 session, when he turns off his computer, the ssh session will
 automatically be terminated. I'm thinking perhaps I can have a nagios
 server constantly monitoring each user's network connectivity and
 then changing the firewall ruleset once the user's machine is
 unreacheable...

what if they leave their PC on overnight downloading / uploading files?
what if they leave their PC on , but 

Build Binary Packages from Installed Ports

2006-04-04 Thread Jason C. Wells
The new (to me) ports tools are pretty slick.  Is there a way to build a 
binary package for each installed port without upgrading or rebuilding 
each installed port?


As I read the man pages the only thing close to this is 'portupgrade 
-afp' which will give me the full set of packages, but insists on 
rebuilding everything first.


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


Re: Network traffic Monitor

2006-04-04 Thread Jason C. Wells

Eric Schuele wrote:

Rodrigo G. Tavares de Souza wrote:

Hi,

   I getting a problem with a DSL connection, and I need a way to 
monitor the network traffic.

   I found a program called Netsaint, could I do it with this one?


It depends on what your monitoring focus is.  If you just want to do 
some quick troubleshooting, ping and traceroute are probably all you need.


If you are looking for intrusion monitoring snort is the leading tool 
for that. (last time I checked)


If you are looking for traffic graphing you might look at RRDTool/MRTG.

It depends on what your specific problem is.

Surf through ports/net and ports/sysutils for all kinds of good tools.

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


cdrom not found after booting was ok-ver 6.0

2006-04-04 Thread uid0

IBM Netfinity 5000 with 2 SCSI HDs, SCSI Tape Drive and ATAPI CDrom.

was able to boot from the cdrom, but was not able to install as
sysinstall says cdrom not found.

Any idea what I should be looking for?

Thanks in advance.

dzul


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


Re: Build Binary Packages from Installed Ports

2006-04-04 Thread Kris Kennaway
On Tue, Apr 04, 2006 at 08:40:02PM -0700, Jason C. Wells wrote:
 The new (to me) ports tools are pretty slick.  Is there a way to build a 
 binary package for each installed port without upgrading or rebuilding 
 each installed port?

pkg_create -b

Kris


pgpp6mZi0Y3DX.pgp
Description: PGP signature