Re: About zh_CN-acroread7-7.0.1_1,1 port

2006-03-08 Thread Hiroki Sato
Yuan Jue [EMAIL PROTECTED] wrote
  in [EMAIL PROTECTED]:

yu On Wednesday 08 March 2006 15:04, Hiroki Sato wrote:
yu   Please run it from /usr/X11R6/bin/acroread instead.
yu
yu Thanks for your quick reply.
yu
yu when I run from there, it shows:
yu
yu YuanJue@/etc$ cd /usr/X11R6/bin/
yu YuanJue@/usr/X11R6/bin$ ./acroread
yu !fatal: acroread binary not found.
yu YuanJue@/usr/X11R6/bin$
yu
yu what is wrong?

 You need ADOBE_LANG=CHS or LANG=zh_CN.* in your environment
 variable.

--
| Hiroki SATO


pgpEHLxTItn0H.pgp
Description: PGP signature


Re: About zh_CN-acroread7-7.0.1_1,1 port

2006-03-08 Thread Yuan Jue
On Wednesday 08 March 2006 16:56, Hiroki Sato wrote:
 Yuan Jue [EMAIL PROTECTED] wrote

 yu YuanJue@/etc$ cd /usr/X11R6/bin/
 yu YuanJue@/usr/X11R6/bin$ ./acroread
 yu !fatal: acroread binary not found.
 yu YuanJue@/usr/X11R6/bin$
 yu
 yu what is wrong?

  You need ADOBE_LANG=CHS or LANG=zh_CN.* in your environment
  variable.

Thanks! it works when I add ADOBE_LANG=CHS to my environment
variable :)

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


Re: Trying to patch a beautiful desktop

2006-03-08 Thread Giorgos Keramidas
On 2006-03-08 05:34, Kristian Vaaf [EMAIL PROTECTED] wrote:

 Hello!

 I've done some research on how to make ones desktop look the best,
 without being too bloated in terms of looks and functionality but still 
 classify
 as good design and give users a smooth experience.

 I've found that if done correctly, Openbox together with Gnome can look
 pretty darn nice. I've found some nice themes for Openbox as well as GTK
 1 and 2, however the Openbox code needs some patching. There already
 is a patch, but having the obsessive compulsive disorder, I want the patch
 file to also look good.

 After I edited it, it wouldn't work. No matter what line/character coordinates
 I typed in for the @@ lines. I also assume it's unnecessary, at least it
 ought to be, including lines other than + and - unless they serve a
 purpose.

You're going backwards.  The proper way of generating a patch is not by
manually editing a file.  Extract the original source tree, copy it to a
'clean' place, make your changes and use diff(1) to generate the patch.

- Giorgos

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


Installing FreeBSD with hw SATA RAID-1

2006-03-08 Thread Erik Norgaard

Hi:

I am new on RAID, I googled a bit on how to install freebsd with RAID-1. 
But I found mostly references to software raid, and I have a CERC SATA 
RAID controler (6 channel). Is this because hardware RAID-1 Just Works 
(TM)? or how do I make sure that my raid is actually used and not just 
one of the disks?


Sorry if this is a silly question.

Thanks, 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: portmanager core dumps

2006-03-08 Thread F. Even - fbsd-questions

On Sunday 08 January 2006 18:30, Robert Marella wrote:

Good Afternoon

At times when in a hurry or not thinking as fast as my fingers, I try
to run portupgrade -s | grep OLD from a regular user account instead
of sudo portupgrade -s | grep OLD.


do you mean portmanager -s | grep OLD by any chance?


I would expect portupgrade to insult my intelligence and question my
heritage  or is that question my intelligence and insult my
heritage. Well, it doesn't do either. It core dumps. This will happen
on more than one system running 6 Stable and the updated portmanager.

[EMAIL PROTECTED] ~ pkg_info | grep portmanager
portmanager-0.4.1_4 FreeBSD installed ports status and safe update
utility

Thanks

Robert


Portmanager will only run as root, I'll make a note/bug to check error 
handling when someone attempts to run it as a normal user.


Mike,

Please don't disable the ability to run this as a non-root user.  I've 
managed to get it to run by chowning it's config, files under /var/db 
and the entire ports collection to an update user.  Now I can run 
portmanager -s and it will give me an accurate run-down of what upgrades 
are needed.  I can also then download updates as a restricted user. 
Changing to root will allow me to update as I need to, and as long as 
the src is cleaned up, no files owned by root are left behind in the 
ports tree.  This actually works quite nicely.


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


Translate Linux iptables to Freebsd pf ?

2006-03-08 Thread Frank Bonnet

Hello

Does anyone knows a tool that could translate
iptables rules to FreeBSD pf rules ?

Or if it does not exists, some examples are welcome.

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


Re: Translate Linux iptables to Freebsd pf ?

2006-03-08 Thread Erik Norgaard

Frank Bonnet wrote:


Does anyone knows a tool that could translate
iptables rules to FreeBSD pf rules ?


maybe fwbuilder would work, but I would prefer not to use it.


Or if it does not exists, some examples are welcome.


Have you tried the pf user's guide? Has samples also:

http://openbsd.org/faq/pf/index.html

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: Translate Linux iptables to Freebsd pf ?

2006-03-08 Thread Frank Bonnet

Erik Norgaard wrote:

Frank Bonnet wrote:


Does anyone knows a tool that could translate
iptables rules to FreeBSD pf rules ?



maybe fwbuilder would work, but I would prefer not to use it.


Or if it does not exists, some examples are welcome.



Have you tried the pf user's guide? Has samples also:

http://openbsd.org/faq/pf/index.html

Erik



OK thank you for your quick answer :-)

--
Frank Bonnet
- Memory fault - where am I? -
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get nForce4 SATA RAID working

2006-03-08 Thread Fluffles
Anyone can help me please?


 Original Message 

Hi guys!

I hope you can help me with this, i've been at it for hours now. I want
to use my RAID array (striping or mirroring) for FreeBSD. But the
problem is: it doesn't work properly.

My config:
Asrock K8NF4G-SATA2
- nVidia GeForce 6100 chipset
- nVidia nForce 410 MCP
- Socket 939
2 * Hitachi 160GB SATA drives

My problem:
when i boot with FreeBSD 6.0-i386 i get:
pci0: mass storage, RAID at device 14.0 (no driver attached)

when i boot with FreeBSD 6.1-beta3-i386, after seeing ad4 the system
gets locked. When i boot in Safe Mode, it succesfully boots but i do see:

ad4: 157066MB Hitachi blablabla at ata2-master SATA150
stray irq7
ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode
ar0: 157066MB nVidia Mediashield RAID1 status: DEGRADED
ar0: disk0 DOWN no device found for this subdisk
ar0: disk1 READY using ad4 at ata2-master

It's not degraded though, it just does not detect the second disk.
Instead, the message stray irq7 gets printed. I think something is
going wrong here, a small bug, which prevents from detecting BOTH drives.

According to ataraid manpage, the nForce4 MediaShield onboard RAID
driver should be supported. Could this be a bug in FreeBSD? I have
tested TWO mainboards (same type) and two different HDDs
(maxtor/hitachi) and different SATA cables. In Windows the RAID array
works fine! So this *really* must be a software issue. The only thing i
haven't tried yet is updating my BIOS.

Anyone has any suggestions?

Thanks a lot!!

- Veronica


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


Re: Can't get nForce4 SATA RAID working

2006-03-08 Thread Alex Zbyslaw

Fluffles wrote:


Anyone can help me please?

 

If you don't get any replies on questions, try the hardware mailing list 
(you might have to subscribe first) and if *that* fails, try submitting 
a PR.  I assume you've tried google?


hth,

--Alex

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


Iomega REV drive support on freebsd.

2006-03-08 Thread Alvaro Rosales
Hi guys, Have any of you successfullly set up and configured an Iomega Rev
drive on FreebSD?. Is there support for it?.
Thanks in advance for your answers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing FreeBSD with hw SATA RAID-1

2006-03-08 Thread Alex Zbyslaw

Erik Norgaard wrote:


Hi:

I am new on RAID, I googled a bit on how to install freebsd with 
RAID-1. But I found mostly references to software raid, and I have a 
CERC SATA RAID controler (6 channel). Is this because hardware RAID-1 
Just Works (TM)? or how do I make sure that my raid is actually used 
and not just one of the disks?


Sorry if this is a silly question.


*If* your RAID controller is supported by FreeBSD then when you boot you 
will see your RAID recognised as device ar0 or some other similar name, 
but not e.g. ad0.  r == raid, d == disk.  LSI MegaRaid, for example, 
show up as amrd0.  (You may see the individual disks and then some 
mention of them being RAIDed, or you may just see the RAID - it depends 
on the controller).


If the controller is supported, then it should just work, but unless 
there is a CLI which works for FreeBSD then you won't be able to do 
things like rebuild the RAID from within FreeBSD, only from its BIOS.


It looks like the controller is supported by the aac driver so check the 
manpage for that.  It answers your last question ;-)


--Alex



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


Re: Can't get nForce4 SATA RAID working

2006-03-08 Thread Enlightenment
Alex Zbyslaw wrote:
 If you don't get any replies on questions, try the hardware mailing list
 (you might have to subscribe first) and if *that* fails, try submitting
 a PR.  I assume you've tried google?

Yes, ofcourse. :)
And i thought about submitting a PR, but i wanted community feedback
first. Maybe i'm doing something wrong or FreeBSD needs some help/config
for my SATA RAID in order to work properly.

I'll try the hardware mailinglist, thanks!

- Veronica

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


Re: Installing FreeBSD with hw SATA RAID-1

2006-03-08 Thread Erik Norgaard

Alex Zbyslaw wrote:

If the controller is supported, then it should just work, but unless 
there is a CLI which works for FreeBSD then you won't be able to do 
things like rebuild the RAID from within FreeBSD, only from its BIOS.


It looks like the controller is supported by the aac driver so check the 
manpage for that.  It answers your last question ;-)


Thanks, yes, it seems like it just works :) but I can't find any CLI 
to manage it, the man-page for aac doesn't refer to one such and 
atacontrol doesn't work :( are there other CLI's?


Thanks, 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: About zh_CN-acroread7-7.0.1_1,1 port

2006-03-08 Thread Yuan Jue
On Wednesday 08 March 2006 15:04, Hiroki Sato wrote:
 Yuan Jue [EMAIL PROTECTED] wrote
   in [EMAIL PROTECTED]:

 yu Hi.
 yu
 yu The current zh_CN-acroread7-7.0.1_1,1 port in port trees cannot work
 yu on my FreeBSD 6.0. I can make it and install it, but when run it in
 yu '/usr/X11R6/Adobe/Acrobat7.0/CHS/bin/acroread', it shows:
 yu
 yu YuanJue@/usr/X11R6/Adobe/Acrobat7.0/CHS/bin$ ./acroread
 yu 操作系统  FreeBSD 版本 6.0-RELEASE 当前未安装。
 yu 尝试在已安装的平台上运行并连接到您的显示设备。
 yu 已安装的平台包括:
 yu   Intel/Linux
 yu YuanJue@/usr/X11R6/Adobe/Acrobat7.0/CHS/bin$
 yu
 yu I remember the earlier port works very well in my laptop with FreeBSD
 6.0. yu So would you please have an eye on it to find what's going on
 here?

  Please run it from /usr/X11R6/bin/acroread instead.

Thanks for your quick reply.

when I run from there, it shows:

YuanJue@/etc$ cd /usr/X11R6/bin/
YuanJue@/usr/X11R6/bin$ ./acroread
!fatal: acroread binary not found.
YuanJue@/usr/X11R6/bin$

what is wrong?

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


Re: Translate Linux iptables to Freebsd pf ?

2006-03-08 Thread Pietro Cerutti
On 3/8/06, Frank Bonnet [EMAIL PROTECTED] wrote:
 Hello

Hi Frank,


 Does anyone knows a tool that could translate
 iptables rules to FreeBSD pf rules ?


There is a port of fwbuilder under security/, a tool which abstracts
the idea of firewalling rules in a object oriented graphic
environment, and lets you generate rulesets for different firewalls.

 Thank you
 --
 Regards

Regards,

--
Pietro Cerutti
[EMAIL PROTECTED]

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

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


Network bridge with IPFW, can't get it working

2006-03-08 Thread Martin Tournoy

Here's the situation:
I work at a computer repair shop, as we all know viruses, ad-ware and  
other mal-ware is a huge problem in the windows world, and a lot of people  
come to us to have their pc's cleaned up.


Some of those programs spread themselves actively, or are used as zombie  
computers, which is somewhat of a problem for us because it can infect  
other PCs on the net, also our ISP (temporarily) shut us down some time  
ago for security reasons.


We have a firewall on our router, but it only blocks incoming traffic from  
the net, which makes life a bit easyer because we don't have to open up  
ports for all kind of programs all the time.


Since we more or less need internet on infected PC's (to download  
virus-scanners, updates, etc.),  I'm trying to setup a bridge with a  
firewall (IPFW), which should separate filter any bad traffic before it  
goes to the internet.


Problem is, it doesn't work(which is secure, but not quite what I  
intended).


The bridge works fine, if I shut down IPFW (or tell IPFW to allow  
everything) I have network access, so no problems there...


If I scan for DHCP servers, It finds the server and DNS, but doesn't get  
an IP-adress (?!) for some reason, no matter what I do...


My rc.firewall is attached, I made it as simple as possible, complexity  
and spiffy features can always be added later, let's get the thing working  
first...
I would really appreciate it if someone looked over it, there are probably  
errors in there.


What the REAL problem is, is that I'm a real novice at firewalls, and some  
things really confuse me, more specifically:


- The 'bridged' keyword, does it HAVE to be added to every rule? or is it  
just recommended? or just specific rules?


- Which ports do I need to open? I think I have all I need now (DHCP, DNS,  
http, https, ping), maybe there's some hidden port I forgot?


- Should I use PF? (Is it easyer for a novice?)

- Should I just setup a separate LAN? Bridging seems simpler, but doesn't  
seem to be very common/well documented...


I don't think it matters, but just in case:
I'm using two 3Com 3C905B-TX NIC's (xl)

My uname -a is:
FreeBSD filtershit.ictwerkplaats.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE  
#0: Wed Feb 22 12:47:58 UTC 2006  
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FILTERSHIT  i387

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

Re: Installing FreeBSD with hw SATA RAID-1

2006-03-08 Thread Alex Zbyslaw

Erik Norgaard wrote:


Alex Zbyslaw wrote:

If the controller is supported, then it should just work, but 
unless there is a CLI which works for FreeBSD then you won't be able 
to do things like rebuild the RAID from within FreeBSD, only from its 
BIOS.


It looks like the controller is supported by the aac driver so check 
the manpage for that.  It answers your last question ;-)



Thanks, yes, it seems like it just works :) but I can't find any CLI 
to manage it, the man-page for aac doesn't refer to one such and 
atacontrol doesn't work :( are there other CLI's?


I thought the manpage referred to linux management utilities or some 
such.  This is from 5.4


 The /dev/aac? device nodes provide access to the management 
interface of

 the controller.  One node exists per installed card.  The aliases
 /dev/afa? and /dev/hpn? exist for compatibilty with the Dell and 
HP ver-
 sions of management tools, respectively.  If the kernel is 
compiled with

 the COMPAT_LINUX option, or the aac_linux.ko and linux.ko modules are
 loaded, the Linux-compatible ioctl(2) interface for the 
management device

 will be enabled and will allow Linux-based management applications to
 control the card.


So whatever utilities Dell(?) provide should work.  You should be able 
to find those on the manufacturer's website and maybe even in the ports.


cd /usr/ports  make search name=aac

finds this:


Port:   aaccli-1.0
Path:   /usr/ports/sysutils/aaccli
Info:   Adaptec SCSI RAID administration tool
Maint:  [EMAIL PROTECTED]
B-deps:
R-deps:
WWW:http://support.dell.com/



which looks like what you want.

--Alex


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


Re: capturing a desktop demonstration as a movie

2006-03-08 Thread guru
El día Wednesday, March 01, 2006 a las 10:17:11AM +0100, Svein Halvor Halvorsen 
escribió:

 On 2/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Is there somehow a tool (in the ports) to capture a (KDE-) desktop of
  FreeBSD while doing a presentation of some kind of software to create
  a movie of this, for example as a *.avi file?
 
 You could go via vnc. It can save vnc-sessions to special vnc-files,
 which you later could convert to an avi, mpg, swf, whatever using e.g
 transcode. Both are in ports.
 
 Svein Halvor

Hello,

Just to record this and maybe for the help of others looking for
the same in the future:

I followed the hints about 'vnc2swf' and installed from the ports:

/usr/ports/net/tightvnc
/usr/ports/net/vnc2swf

There is nearly nothing todo or to configure, just do (if you
want to have all on one system):

- launch your desktop (mine is KDE)
- create some other user which session you later want to capture
- open a xterm and 'su' to that user: 'su - joana'
- as 'joana' start now the VNC X-Server:

  $ vncserver :1

  it will ask your for a password  which is later used to connect to this
  X-Server and which is stored forever in a file;

- but for now kill the VNC X-Server again with:

  $ vncserver -kill :1

- in the HOME of 'joana' you now have the file /home/joana/.vnc/xstartup
  which was created by the 1st launch of 'vncserver' and which you want
  to modify the same way like any .xinitrc file, mine says:

  $ cat /home/joana/.vnc/xstartup
  #!/bin/sh
  exec startkde

- boot up the VNC X-Server again which now comes up with KDE desktop
  as well (per default it comes up with 'twm' and 'xterm' which does
  not look so nice :-))

- from your own KDE (or whatever) connect to 'joana' desktop with

  $ vnc2swf joana.swf :1

  type in the password stored with the VNC X-Server and you will get
  'joana' desktop in a big window on your desktop; the tool 'vnc2swf'
  acts like a normal VNC viewer, but pressing key F9 will start the
  capturing into the file 'joana.swf'

move it later over to a webspace and play it with your browser Konqueror,
Firefox or whatever...

really nice tool!

matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/~guru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


duplex printing with hpijs ???

2006-03-08 Thread P.U.Kruppa

Hi,

for quite a long time my HP Deskjet 990 Cxi worked quite 
perfectly with Cups and hpijs driver from ports.


For some weeks now duplex printing is defect, i.e.
- printer fetches a sheet
- prints out first page
- turns it round
- prints nothing on the back
- fetches a second sheet
- prints out second page.

Has anybody else seen this strange behaviour? What might have 
happened?


Duplex printing still works fine from a remote WinXP and a Debian 
Linux machine.


I am running  6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Mar 
3 20:00:30 CET 2006 .


Thanks for your answers.

Uli.



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


Re: Trying to patch a beautiful desktop

2006-03-08 Thread Kristian Vaaf

At 10:22 08.03.2006, Giorgos Keramidas wrote:

On 2006-03-08 05:34, Kristian Vaaf [EMAIL PROTECTED] wrote:

 Hello!

 I've done some research on how to make ones desktop look the best,
 without being too bloated in terms of looks and functionality but 
still classify

 as good design and give users a smooth experience.

 I've found that if done correctly, Openbox together with Gnome can look
 pretty darn nice. I've found some nice themes for Openbox as well as GTK
 1 and 2, however the Openbox code needs some patching. There already
 is a patch, but having the obsessive compulsive disorder, I want the patch
 file to also look good.

 After I edited it, it wouldn't work. No matter what 
line/character coordinates

 I typed in for the @@ lines. I also assume it's unnecessary, at least it
 ought to be, including lines other than + and - unless they serve a
 purpose.

You're going backwards.  The proper way of generating a patch is not by
manually editing a file.  Extract the original source tree, copy it to a
'clean' place, make your changes and use diff(1) to generate the patch.

- Giorgos


I know, but I need to do it this way.
How may I learn more about the .diff format?

Thanks.

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


Re: Trying to patch a beautiful desktop

2006-03-08 Thread Giorgos Keramidas
On 2006-03-08 14:41, Kristian Vaaf [EMAIL PROTECTED] wrote:
At 10:22 08.03.2006, Giorgos Keramidas wrote:
On 2006-03-08 05:34, Kristian Vaaf [EMAIL PROTECTED] wrote:

 I've done some research on how to make ones desktop look the best,
 without being too bloated in terms of looks and functionality but
 still classify as good design and give users a smooth experience.

 I've found that if done correctly, Openbox together with Gnome can
 look pretty darn nice. I've found some nice themes for Openbox as
 well as GTK 1 and 2, however the Openbox code needs some
 patching. There already is a patch, but having the obsessive
 compulsive disorder, I want the patch file to also look good.

 After I edited it, it wouldn't work. No matter what line/character
 coordinates I typed in for the @@ lines. I also assume it's
 unnecessary, at least it ought to be, including lines other than +
 and - unless they serve a purpose.

 You're going backwards.  The proper way of generating a patch is not by
 manually editing a file.  Extract the original source tree, copy it to a
 'clean' place, make your changes and use diff(1) to generate the patch.

 I know, but I need to do it this way.

No, you don't.  At least not until you have proven that this way is
easier, faster, cleaner and more productive than wasting your time and
the time of a dozen more people by struggling to do something the
hard/uphill way just because :P

Why do you think that you need to edit the patch file manually?

It's so much easier to just untar two copies of the source, i.e. with:

$ cd work
$ tar xzf foo-1.2.3.tar.gz  mv foo-1.2.3 foo.orig
$ tar xzf foo-1.2.3.tar.gz  mv foo-1.2.3 foo

then work on the files of the foo/ tree and use diff(1) when you're done
with all your changes:

$ diff -ruN foo.orig foo  ~/work/patchfile 21

I don't see why you need to do this any other way.

 How may I learn more about the .diff format?

Reading the source of diff(1) or patch(1) should be *the* authoritative
way of learning about all diff formats.

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


Newbie questions: 2 of a few.

2006-03-08 Thread Bruce M . Axtens
I've been trying to get FreeBSD 5.4 going on a friend's Celeron and 
have been doing okay ... until now.


Question 1: How do I get automounting of cdroms working? Is it possible 
in KDE or GNOME, when you put in a cd that the icon just appears on the 
desktop (like it does in another OS I could name)?


Question 2: How do I get FreeBSD to automount a USB drive? I have a 
Kingston DataTraveller 128MB usb drive.


Thanks in advance.

Regards,
Bruce.

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


Solved: Installing FreeBSD with hw SATA RAID-1

2006-03-08 Thread Erik Norgaard

Alex Zbyslaw wrote:
So whatever utilities Dell(?) provide should work.  You should be able 
to find those on the manufacturer's website and maybe even in the ports.


cd /usr/ports  make search name=aac

finds this:


Port:   aaccli-1.0
Path:   /usr/ports/sysutils/aaccli
Info:   Adaptec SCSI RAID administration tool
Maint:  [EMAIL PROTECTED]
B-deps:
R-deps:
WWW:http://support.dell.com/


which looks like what you want.


This is just SUPER! Thanks a lot.
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]


Strange memory problems

2006-03-08 Thread Eugene

Hi people,

I have a strange problem with memory.
System is FreeBSD 5.3, 4GB physical memory.
Even in very quiet load, memory allocation statistics looks like this:
last pid: 38330;  load averages:  0.67,  1.05,  1.03  up 6+06:50:14 
15:52:30

159 processes: 2 running, 156 sleeping, 1 zombie

Mem: 757M Active, 2673M Inact, 220M Wired, 107M Cache, 112M Buf, 7000K Free
Swap: 10G Total, 1884K Used, 10G Free

That is, almost 3GB of memory is Inactive while free memory is almost used 
up.
If I do 'ps axvf' and sum up the memory columns, I get RSS=1.5GB and 
VSZ=1.9GB (approximately).
With Apache stopped, it goes down to RSS=0.5GB and VSZ=0.6G -- but Inactive 
Memory remains above 2.5GB.

Is it a memory leak somewhere or what?

Thanks in advance
Eugene 


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


Re: Newbie questions: 2 of a few.

2006-03-08 Thread Pietro Cerutti
On 3/8/06, Bruce M. Axtens [EMAIL PROTECTED] wrote:
 I've been trying to get FreeBSD 5.4 going on a friend's Celeron and
 have been doing okay ... until now.

 Question 1: How do I get automounting of cdroms working? Is it possible
 in KDE or GNOME, when you put in a cd that the icon just appears on the
 desktop (like it does in another OS I could name)?

 Question 2: How do I get FreeBSD to automount a USB drive? I have a
 Kingston DataTraveller 128MB usb drive.

The Auto Mounter Daemon will do the job..

Start here:
http://www.freebsd.org/cgi/man.cgi?query=amd

Then go on here:
http://www.nber.org/amd.html



 Thanks in advance.

Hope this helps.


 Regards,
 Bruce.


--
Pietro Cerutti
[EMAIL PROTECTED]

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

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


Dump/snapshot problems

2006-03-08 Thread Eugene

Hi people,

Sometimes I have strange problems with dump -- or, rather, with snapshot it 
makes.

System is FreeBSD 5.3, default kernel configuration

Two types of problems:
1) System hangs or at least not accessible over the network and has to be 
physically reset. Last message on console

Collecting pv entries -- suggest increasing PMAP_SHPGPERPROС
maxproc limit exceeded by id(0), please see tuning(7) and login.conf(5)

Question: what exactly should I tune?

2) Dump process dies with message
mksnap_ffs: Cannot create //.snap/dump_snapshot: Resource temporarily 
unavailable

dump: Cannot create //.snap/dump_snapshot: No such file or directory

dmesg message
fsync: giving up on dirty: 0xc57b5d68: tag devfs, type VCHR, usecount 60263, 
writecount 0, refcount 960, flags (VV_OBJBUF), lock type devfs: EXCL (count 
1) by thread 0xc610f7d0 (pid 87575)

dev ad4s1a

What is wrong?

Thanks in advance
Eugene 


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


Re: suggestions for an ecomomy laser printer

2006-03-08 Thread cpghost
On Tue, Mar 07, 2006 at 11:09:06PM -0500, Parv wrote:
 in message [EMAIL PROTECTED],
 wrote Parv thusly...
 
  Lexmark Optra E320 (black  white laser; PCL  PS[23] emulation)
  or similar should be around $200
 ...
( Hmmm ... i just looked at Lexmark site which is missing above
mentioned printer but there seems to be new replacements w/
lower prices. )
  
  Then there are also HP laser printers in the same price range (i
  suppose).
 
 In case anybody is still interested, HP LaserJet 1320 seems quite
 nice -- barring any negative reports -- for the price-after-rebate
 (seems like it's going to be discontinued/replaced) as it does do
 automatic duplex printing.

HP LaserJet 1320 are very good PostScript capable printers. Using
them @work, with a rather heavy duty load; and no problems at all.
You may want to add some RAM for very complex graphics to speed
things up. For regular day-to-day use, that's not required.

   - Parv

-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: delete inactive account

2006-03-08 Thread Lowell Gilbert
Ashok Shrestha [EMAIL PROTECTED] writes:

 How can I automatically delete accounts that are not used for a
 certain period of time? Is there a simple way to do it using 'pw'? Or
 does it require a fancy script?

I've never seen a canned way to do this.  
Perhaps the reason is that there are so many ways to define whether an
account has been used...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unable to get a decent working download

2006-03-08 Thread Lowell Gilbert
electroteque [EMAIL PROTECTED] writes:

 hi , ive been trying for 2 days to get a decent woreking download. Why
 is the torrent not seeeding ? I just tried ftp and the connection
 disconnected without warning and i cant resume because the file on the
 australian mirror server changed from 6.0-RELEASE to 6.0-BETAS without
 warning 

Torrents aren't a very useful way of downloading releases except in
the short period after a release.  There are three FreeBSD FTP mirror
sites in Australia, and one of them (ftp3.au.freebsd.org) seems to be
out of date, but the others have the 6.0 release available.  None of
them seem to be carrying the betas for the 6.1 release, which is
forthcoming shortly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Out of memory during large request

2006-03-08 Thread Lowell Gilbert
Per olof Ljungmark [EMAIL PROTECTED] writes:

 FreeBSD 6-STABLE
 
 Got this when I ran a Perl script:
 Out of memory during large request for 33558528 bytes
 
 Would this be good syntax in /boot/loader.conf, the system has 2G RAM:
 vm.kmem_size_max=671088640
 to try to cure the problem? Where do I best learn more about memory tuning?

Are you sure you're not just running into process limits, as opposed
to kernel limits?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggestions for an ecomomy laser printer

2006-03-08 Thread Ross Lonstein
On Tue, Mar 07, 2006 at 02:50:45PM -0600, David Kelly wrote:
[snip]
 I bought a Brother HL-5250DN for $249.95 at Staples, wasn't even on
 sale. Has BRscript Postscript clone, ethernet, duplex, and all that
 good stuff. First page from cold in 10 or 20 seconds.
[snip]

I'll second the recommendation for the Brother HL-5xxxDN series. I have
a 5170DN that for the past year has worked well with FreeBSD, OpenBSD
and Linux (using lpr, lprng and cups, variously), OSX and Windows (98SE,
XP). Postscript and PCL. No configuration problems. Just works.

Not as over-built as the HP LaserJet 4+ it replaced but good enough for
the sub-$300 price.

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


FreeBSD user groups?

2006-03-08 Thread Bruce M . Axtens

Is there anyone using FreeBSD in Perth, WA, Australia?

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


Re: FreeBSD user groups?

2006-03-08 Thread David Stanford
Hi Bruce,

Have you checked http://www.freebsd.org/usergroups.html#australia yet?

-David

On 3/8/06, Bruce M. Axtens [EMAIL PROTECTED] wrote:

 Is there anyone using FreeBSD in Perth, WA, Australia?

 ___
 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]


Sendmail / alias issue

2006-03-08 Thread Nathan Vidican
I know there might be a better sendmail/related mailing list to send this to, 
but figured I'd drop it here and give it a shot - sorry for the cross post, but 
I subscribe to -questions so figured it'd be okay and beneficial to other users 
too. Anyhow, on with the problem:


I have an entry like this in /etc/mail/aliases:

someolduserwhoquit: 550:The user you have attempted to send mail to no \
longer exists on this system, please see\
http://www... for details or a new contact

(not exact; in alias file it's all on one line with no \ )

alias works exactly as expected; when someone sends a message to 
[EMAIL PROTECTED], it bounces their message back with the error 
string I quoted. The problem then, becomes SPAM (lol - when is SPAM NOT a 
problem eh?).


example:
 - (faked) from: [EMAIL PROTECTED]
 - sends a message to [EMAIL PROTECTED]
 - tries to bounce message back, in-turn getting message bounced back to
   our postmaster saying 'no valid user here for [EMAIL PROTECTED]'

So, to the question part... how can I setup an alias to either ignore the 
bounce-back it gets, (ie to blindly send the bounce itself), or is it possible 
to specify a different from address on our server's end so when/if the other 
receiving server doesn't have a valid from address it just drops the reply on 
our end, like so:


 - our server gets mail faked from '[EMAIL PROTECTED]' to 
[EMAIL PROTECTED]
 - our server bounces said message back to [EMAIL PROTECTED] with 
notification that '[EMAIL PROTECTED]' points to an old/invalid address, 
our server sends from '[EMAIL PROTECTED]'
- their server (this case hotmail), bounces back saying 'hey - don't have a 
joeblow@ here' to [EMAIL PROTECTED]

- [EMAIL PROTECTED] just drops any incoming message (/dev/null kinda deal)

Is this possible? Or should I perhaps be seeking a better way to do this all 
together? I'm getting some 30+ Postmaster reply errors a day and it's getting 
really annoying, however I do need to send some sort of error/notification to 
valid (real) emails sent to the wrong address. In some cases an employee has 
moved, transferred, quit, or retired and a different person has taken their 
place - as such I need like a grace period and a better way to do this. Any 
ideas/thoughts/suggestions welcomed.



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sending large amount of data securely

2006-03-08 Thread Dave

Hello,
   I've got two freebsd6 boxes on one i have a large collection of files, 
like about 3.5 gb worth, that i want to send securely to the other box. I've 
tried:


scp -24Cpr

to do it, it transfered 1gb of data then quit. I'm suspecting it didn't get 
the sym links if any in this data. Any suggestions appreciated.

Thanks.
Dave.

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


Signal 17 to Fluxbox - system lockup

2006-03-08 Thread Daniela
Hi list!

Over the years I got into the habit of suspending processes with signal 17 
(SIGSTOP). And everything ran fine until yesterday: I suspended Fluxbox and 
after switching to it's VTY I couldn't switch back, the system didn't respond 
any more to my keyboard input.

How can I prevent these lockups (besides the obvious), i.e. how do I prevent 
Fluxbox from intercepting certain key combinations (Control + Alt + F[n])?

Thanks in advance.

Daniela

-- 
Hope is the worst of all evils, for it prolongs the torments of man.

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


Re: no cd* devices appear in /dev [was Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE]

2006-03-08 Thread David J Brooks
On Monday 06 March 2006 14:11, Duane Whitty wrote:
  On Monday March 6 2006 16:09
  David J Brooks [EMAIL PROTECTED]
 wrote
 
  This reminds me to ask: I have
  ATAPICAM enable in my kernal,
  specifically so that k3b can find my
  dvd+rw ... but no cd* devives appear
  in /dev, and k3b cannot find anything
  no matter where I tell it to look ..
  I must be overlooking something, but
  what?

 Hi,

 look at man 4 atapicam.  The examples
 section lists the other devices you
 need configured in the kernel.

 Hope this helps,

 --Duane

Thanks. That and the 'make showinfo' in sysutils/k3b that I somehow missed the 
first trip 'round have it all working smoothly.

-- 
Sure God created the world in only six days,
but He didn't have an established userbase.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail / alias issue

2006-03-08 Thread Giorgos Keramidas
On 2006-03-08 11:15, Nathan Vidican [EMAIL PROTECTED] wrote:
 I know there might be a better sendmail/related mailing list to send this
 to, but figured I'd drop it here and give it a shot - sorry for the cross
 post, but I subscribe to -questions so figured it'd be okay and beneficial
 to other users too. Anyhow, on with the problem:

 I have an entry like this in /etc/mail/aliases:

 someolduserwhoquit:   550:The user you have attempted to send mail to no \
   longer exists on this system, please see\
   http://www... for details or a new contact

 (not exact; in alias file it's all on one line with no \ )

 alias works exactly as expected; when someone sends a message to
 [EMAIL PROTECTED], it bounces their message back with the error
 string I quoted. The problem then, becomes SPAM (lol - when is SPAM NOT a
 problem eh?).

 example:
  - (faked) from: [EMAIL PROTECTED]
  - sends a message to [EMAIL PROTECTED]
  - tries to bounce message back, in-turn getting message bounced back to
our postmaster saying 'no valid user here for [EMAIL PROTECTED]'

 So, to the question part... how can I setup an alias to either ignore the
 bounce-back it gets, (ie to blindly send the bounce itself), or is it
 possible to specify a different from address on our server's end so when/if
 the other receiving server doesn't have a valid from address it just drops
 the reply on our end, like so:

I prefer using a different error code that is not a permanent error.

A transient error forces the SMTP relay of the spammers to keep the
message for some period in their queue and try again later.  There's no
need for you to keep the message in your own mail queue :)

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


Re: sending large amount of data securely

2006-03-08 Thread DAve

Dave wrote:

Hello,
   I've got two freebsd6 boxes on one i have a large collection of 
files, like about 3.5 gb worth, that i want to send securely to the 
other box. I've tried:


scp -24Cpr

to do it, it transfered 1gb of data then quit. I'm suspecting it didn't 
get the sym links if any in this data. Any suggestions appreciated.

Thanks.
Dave.



dump/restore and rsync all work over ssh. I've used dump/restore over 
ssh to mirror a server from one piece of hardware to another.


DAve


--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Re: sending large amount of data securely

2006-03-08 Thread Micah

Dave wrote:

Hello,
   I've got two freebsd6 boxes on one i have a large collection of 
files, like about 3.5 gb worth, that i want to send securely to the 
other box. I've tried:


scp -24Cpr

to do it, it transfered 1gb of data then quit. I'm suspecting it didn't 
get the sym links if any in this data. Any suggestions appreciated.

Thanks.
Dave.



Some options are to tar then scp, or to use rsync+ssh.  I've transfered 
6gb tar backups via scp in the past with no problems.


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


Finding a file with wrong permissions

2006-03-08 Thread Josh Paetzel
I managed to install a pkg that I created and somehow the file 
+COMMENT wasn't created in /var/db/pkg/portname.  I touched +COMMENT 
in the correct directory because pkg_info was complaining about a 
missing +COMMENT.  Some time has gone by and I have forgotten which 
port it is.  Now pkg_info complains:

pkg_info: show_file: can't open '+COMMENT' for reading

I'm looking for a way to locate this file.

#find /var/db/pkg -perm 644 -name +COMMENT | wc -l
 378

#pkg_info | wc -l
pkg_info: show_file: can't open '+COMMENT' for reading
 379

I've looked through the manpage for find and can't find a 'not' 
modifier.  Is there an easy way to find a file that doesn't have a 
specific permission.  ie something like: 

#find /var/db/pkg -perm !644 -name +COMMENT

-- 
Thanks,

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


Re: Strange memory problems

2006-03-08 Thread Daniela
On Wednesday 08 March 2006 14:16, Eugene wrote:
 Hi people,

 I have a strange problem with memory.
 System is FreeBSD 5.3, 4GB physical memory.
 Even in very quiet load, memory allocation statistics looks like this:
 last pid: 38330;  load averages:  0.67,  1.05,  1.03  up 6+06:50:14
 15:52:30
 159 processes: 2 running, 156 sleeping, 1 zombie

 Mem: 757M Active, 2673M Inact, 220M Wired, 107M Cache, 112M Buf, 7000K Free
 Swap: 10G Total, 1884K Used, 10G Free

 That is, almost 3GB of memory is Inactive while free memory is almost used
 up.
 If I do 'ps axvf' and sum up the memory columns, I get RSS=1.5GB and
 VSZ=1.9GB (approximately).
 With Apache stopped, it goes down to RSS=0.5GB and VSZ=0.6G -- but Inactive
 Memory remains above 2.5GB.
 Is it a memory leak somewhere or what?

That looks quite normal to me, apart from the zombie process. FreeBSD always 
attempts to occupy most of the RAM, because it's a very fast way of saving 
information, and after all a lot of RAM is of no use if there's nothing in 
it. So long as no other program needs it for more important information, 
there's nothing wrong with keeping a lot of unimportant stuff around in 
case it is needed again quickly.

-- 
Hope is the worst of all evils, for it prolongs the torments of man.

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


Re: Finding a file with wrong permissions

2006-03-08 Thread Daniela
On Wednesday 08 March 2006 16:58, Josh Paetzel wrote:
 I managed to install a pkg that I created and somehow the file
 +COMMENT wasn't created in /var/db/pkg/portname.  I touched +COMMENT
 in the correct directory because pkg_info was complaining about a
 missing +COMMENT.  Some time has gone by and I have forgotten which
 port it is.  Now pkg_info complains:

 pkg_info: show_file: can't open '+COMMENT' for reading

 I'm looking for a way to locate this file.

 #find /var/db/pkg -perm 644 -name +COMMENT | wc -l
  378

 #pkg_info | wc -l
 pkg_info: show_file: can't open '+COMMENT' for reading
  379

 I've looked through the manpage for find and can't find a 'not'
 modifier.  Is there an easy way to find a file that doesn't have a
 specific permission.  ie something like:

 #find /var/db/pkg -perm !644 -name +COMMENT

Or you could look for a file with zero size.

-- 
Hope is the worst of all evils, for it prolongs the torments of man.

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


packaging foreign tarballs

2006-03-08 Thread Michael P. Soulier
My apologies if this is covered in the FAQ, I didn't see it. 

If I build a foreign tarball that is either not in the ports, or not the
version that I want, is there a way to then integrate that build as a package,
registered with the FreeBSD packaging system?

I don't like just installing to /usr/local without a way to uninstall cleanly
later. 

Thanks,
Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
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


pgpGzYSZaE8bg.pgp
Description: PGP signature


Re: Sendmail / alias issue

2006-03-08 Thread Nathan Vidican

Giorgos Keramidas wrote:

On 2006-03-08 11:15, Nathan Vidican [EMAIL PROTECTED] wrote:


I know there might be a better sendmail/related mailing list to send this
to, but figured I'd drop it here and give it a shot - sorry for the cross
post, but I subscribe to -questions so figured it'd be okay and beneficial
to other users too. Anyhow, on with the problem:

I have an entry like this in /etc/mail/aliases:

someolduserwhoquit: 550:The user you have attempted to send mail to no \
longer exists on this system, please see\
http://www... for details or a new contact

(not exact; in alias file it's all on one line with no \ )

alias works exactly as expected; when someone sends a message to
[EMAIL PROTECTED], it bounces their message back with the error
string I quoted. The problem then, becomes SPAM (lol - when is SPAM NOT a
problem eh?).

example:
- (faked) from: [EMAIL PROTECTED]
- sends a message to [EMAIL PROTECTED]
- tries to bounce message back, in-turn getting message bounced back to
  our postmaster saying 'no valid user here for [EMAIL PROTECTED]'

So, to the question part... how can I setup an alias to either ignore the
bounce-back it gets, (ie to blindly send the bounce itself), or is it
possible to specify a different from address on our server's end so when/if
the other receiving server doesn't have a valid from address it just drops
the reply on our end, like so:



I prefer using a different error code that is not a permanent error.

A transient error forces the SMTP relay of the spammers to keep the
message for some period in their queue and try again later.  There's no
need for you to keep the message in your own mail queue :)

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




True, but eventually it will fail from their queue as well and return the 
message - the key question there I guess then is if the message returns to us or 
to their postmaster then?


Also, any suggestions as to the 'proper' transient error code? A 451 will force 
a retry/wait condition will it not?


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Finding a file with wrong permissions

2006-03-08 Thread Josh Paetzel
On Wednesday 08 March 2006 11:59, Daniela wrote:
 On Wednesday 08 March 2006 16:58, Josh Paetzel wrote:
  I managed to install a pkg that I created and somehow the file
  +COMMENT wasn't created in /var/db/pkg/portname.  I touched
  +COMMENT in the correct directory because pkg_info was
  complaining about a missing +COMMENT.  Some time has gone by and
  I have forgotten which port it is.  Now pkg_info complains:
 
  pkg_info: show_file: can't open '+COMMENT' for reading
 
  I'm looking for a way to locate this file.
 
  #find /var/db/pkg -perm 644 -name +COMMENT | wc -l
   378
 
  #pkg_info | wc -l
  pkg_info: show_file: can't open '+COMMENT' for reading
   379
 
  I've looked through the manpage for find and can't find a 'not'
  modifier.  Is there an easy way to find a file that doesn't have
  a specific permission.  ie something like:
 
  #find /var/db/pkg -perm !644 -name +COMMENT

 Or you could look for a file with zero size.

Forgot to mention that I tried that.  I may have put something in the 
filedamn my memory. :(

-- 
Thanks,

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


Re: Finding a file with wrong permissions

2006-03-08 Thread Daniela
On Wednesday 08 March 2006 17:04, Josh Paetzel wrote:
 On Wednesday 08 March 2006 11:59, Daniela wrote:
  On Wednesday 08 March 2006 16:58, Josh Paetzel wrote:
   I managed to install a pkg that I created and somehow the file
   +COMMENT wasn't created in /var/db/pkg/portname.  I touched
   +COMMENT in the correct directory because pkg_info was
   complaining about a missing +COMMENT.  Some time has gone by and
   I have forgotten which port it is.  Now pkg_info complains:
  
   pkg_info: show_file: can't open '+COMMENT' for reading
  
   I'm looking for a way to locate this file.
  
   #find /var/db/pkg -perm 644 -name +COMMENT | wc -l
378
  
   #pkg_info | wc -l
   pkg_info: show_file: can't open '+COMMENT' for reading
379
  
   I've looked through the manpage for find and can't find a 'not'
   modifier.  Is there an easy way to find a file that doesn't have
   a specific permission.  ie something like:
  
   #find /var/db/pkg -perm !644 -name +COMMENT
 
  Or you could look for a file with zero size.

 Forgot to mention that I tried that.  I may have put something in the
 filedamn my memory. :(

What is (or was) your file creation mask (umask) set to?

-- 
Hope is the worst of all evils, for it prolongs the torments of man.

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


Re: Finding a file with wrong permissions

2006-03-08 Thread Josh Paetzel
On Wednesday 08 March 2006 12:06, Daniela wrote:
 On Wednesday 08 March 2006 17:04, Josh Paetzel wrote:
  On Wednesday 08 March 2006 11:59, Daniela wrote:
   On Wednesday 08 March 2006 16:58, Josh Paetzel wrote:
I managed to install a pkg that I created and somehow the
file +COMMENT wasn't created in /var/db/pkg/portname.  I
touched +COMMENT in the correct directory because pkg_info
was complaining about a missing +COMMENT.  Some time has gone
by and I have forgotten which port it is.  Now pkg_info
complains:
   
pkg_info: show_file: can't open '+COMMENT' for reading
   
I'm looking for a way to locate this file.
   
#find /var/db/pkg -perm 644 -name +COMMENT | wc -l
 378
   
#pkg_info | wc -l
pkg_info: show_file: can't open '+COMMENT' for reading
 379
   
I've looked through the manpage for find and can't find a
'not' modifier.  Is there an easy way to find a file that
doesn't have a specific permission.  ie something like:
   
#find /var/db/pkg -perm !644 -name +COMMENT
  
   Or you could look for a file with zero size.
 
  Forgot to mention that I tried that.  I may have put something in
  the filedamn my memory. :(

 What is (or was) your file creation mask (umask) set to?

022.but I found the solution.  pkg_info -c -a

-- 
Thanks,

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


Re: Sendmail / alias issue

2006-03-08 Thread Giorgos Keramidas
On 2006-03-08 12:04, Nathan Vidican [EMAIL PROTECTED] wrote:
Giorgos Keramidas wrote:
 So, to the question part... how can I setup an alias to either
 ignore the bounce-back it gets, (ie to blindly send the bounce
 itself), or is it possible to specify a different from address on
 our server's end so when/if the other receiving server doesn't have
 a valid from address it just drops the reply on our end, like so:


I prefer using a different error code that is not a permanent error.

A transient error forces the SMTP relay of the spammers to keep the
message for some period in their queue and try again later.  There's no
need for you to keep the message in your own mail queue :)

 True, but eventually it will fail from their queue as well and return the
 message - the key question there I guess then is if the message returns to
 us or to their postmaster then?

Their postmaster, AFAIK.

 Also, any suggestions as to the 'proper' transient error code? A 451 will
 force a retry/wait condition will it not?

Well,  4.2.2 and 4.4.5 are also nice:

[ http://www.ietf.org/rfc/rfc1893.txt ]

X.2.2   Mailbox full

The mailbox is full because the user has exceeded a per-mailbox
administrative quota or physical capacity.  The general semantics
implies that the recipient can delete messages to make more space
available.  This code should be used as a persistent transient
failure.

X.4.5   Mail system congestion

The mail system was unable to deliver the message because the mail
system was congested. This is useful only as a persistent transient
error.

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


NFS with ipfw

2006-03-08 Thread Albert Shih
Hi all


I've a NFS server running FreeBSD 6-Stable. Two classes of clients : Linux
and FreeBSD (5.x)

I using NFS over UDP because all server are in same room. 

On every server I've install ipfw (FreeBSD) and iptable (Linux).

But the problem with my NFS server (running ipfw too) is I don't known how
can I configure ipfw, because I have many connection with no determinist
ports. I using 

mountd_flags=-l -p 700

on NFS serveur but that's not enough. I always have many connection with
port 111, 700, sometime 715, sometime other...

How can I known all port he want to use ?

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Wed Mar 8 18:20:12 CET 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange memory problems

2006-03-08 Thread Eugene


With Apache stopped, it goes down to RSS=0.5GB and VSZ=0.6G -- but 
Inactive

Memory remains above 2.5GB.
Is it a memory leak somewhere or what?


That looks quite normal to me, apart from the zombie process. FreeBSD 
always

attempts to occupy most of the RAM, because it's a very fast way of saving
information, and after all a lot of RAM is of no use if there's nothing in
it. So long as no other program needs it for more important information,
there's nothing wrong with keeping a lot of unimportant stuff around in
case it is needed again quickly.


Ok, that's nice. However, I was concerned not so much with low Free memory 
as with Act+Inact being 1.5-4 times greater than size of running processes. 
What data is there, exactly? I don't think it has more than 1GB of unsynced 
disk writes?


Also, a more general question: how do I estimate 'real' memory load? 
Sum(RSS) + 0.5*DiskCache  ?
For example, I would like to know (in advance) e.g. how many Apache 
processes we can handle before memory becomes a problem.
Do you think it would be nice if top(1) could give some consolidated 
measure -- probably taking into account usage statistics and/or response 
time?
Or at least two measures -- e.g. How much memory can be allocated off-hand 
without any disk I/O and How much memory can be allocated so that swapped 
data would not have to be re-read again in reasonable time?


Thanks a lot
Eugene 


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


Re: Portupgrade Operation

2006-03-08 Thread Chris Maness



On Wed, 8 Mar 2006, Andrew Pantyukhin wrote:


On 3/8/06, Chris Maness [EMAIL PROTECTED] wrote:

If I manually rm -rf a port, manually untar (ie glib.tar.gz), and do a
portupgrade -rR glib, will packages that have a specific dependency on
the old glib version get rebuilt?  Or if not will they break (I am just
using glib as an example and looking for a very general answer)?  I
would like to figure out how portupgrade works without CVSUPing the
whole port tree.  Like in the case of  a security problem on a
production server.  I don't necessarily want to rebuild every port that
has been installed on the box.  Doing this has worked so-far, but I want
to make sure that this is the best approach, so that I don't end up
having the mess I had a while back with dependencies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Keeping your apps up-to-date is kinda proactively secure.

Anyway, we always have the latest ports tree (it's actually
mounted read-only via NFS on every FreeBSD machine
at our site) and if you don't want to update all at once -
just don't use portupgrade -a. And yes, in case your whole
ports tree is fresh, portupgrade -rR glib will upgrade all
dependencies and dependants (recursively).




I have been told that tracking the whole port tree on a production server 
is a bad idea.  I kind of agree thinking about the old addage if it aint 
broke don't fix it.


But, if a security issue becomes known with a port 
that I have installed, I definately want to fix the issue.  Your answere 
definately confirmed for me how port upgrade works.


It seems that other dependant ports would not have to be current on the tree if
they were re-compiled allowing autoconf to establish the location of depended
files.  However, it seems that portupgrade does not uninstall and re-compile if 
the dependant ports have not changed (ie the folder containing the ports 
make file and patches), it only recompiles parts of the tree 
that have been upgraded, and are linked via portupgrade -rR.


It would be nice if portupgrade had a flag to do that (that is if my logic 
is correct).


It would be nice if ports forked the way src does.  Then I could just 
track bugfixes and security issues.


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


To track or not to track

2006-03-08 Thread Chris Maness
I just wanted to get pros and cons for tracking the whole port tree on a 
production server.


Any opinions?

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


Re: Strange memory problems

2006-03-08 Thread Charles Swiger

On Mar 8, 2006, at 12:52 PM, Eugene wrote:
With Apache stopped, it goes down to RSS=0.5GB and VSZ=0.6G --  
but Inactive

Memory remains above 2.5GB.
Is it a memory leak somewhere or what?


That looks quite normal to me, apart from the zombie process.  
FreeBSD always
attempts to occupy most of the RAM, because it's a very fast way  
of saving
information, and after all a lot of RAM is of no use if there's  
nothing in
it. So long as no other program needs it for more important  
information,
there's nothing wrong with keeping a lot of unimportant stuff  
around in

case it is needed again quickly.


Ok, that's nice. However, I was concerned not so much with low Free  
memory as with Act+Inact being 1.5-4 times greater than size of  
running processes. What data is there, exactly? I don't think it  
has more than 1GB of unsynced disk writes?


No.  It's caching all of the pages used by processes which have not  
needed to be paged out yet.  The syncer process will regularly flush  
dirty pages to disk, so the amount of unsynced disk writes is going  
to be much smaller.


Also, a more general question: how do I estimate 'real' memory  
load? Sum(RSS) + 0.5*DiskCache  ?
For example, I would like to know (in advance) e.g. how many Apache  
processes we can handle before memory becomes a problem.


The instantaneous 'real' memory load is the Active column, plus the  
KVA (wired down memory) and the disk cache.  You can divide the  
amount of (inactive + free) by the size of each apache httpd, and get  
an upper bound on the number of extra httpd's you can probably run.


Paying attention to your page fault rate is a better way of tuning,  
however.


Do you think it would be nice if top(1) could give some  
consolidated measure -- probably taking into account usage  
statistics and/or response time?


Top already attempts to give useful measurements.

Or at least two measures -- e.g. How much memory can be allocated  
off-hand without any disk I/O


You can allocate an almost unlimited amount of memory, so long as you  
don't actually write to it; FreeBSD uses VM overcommit extensively.


and How much memory can be allocated so that swapped data would  
not have to be re-read again in reasonable time?


That's the inactive entry in top, more or less.

--
-Chuck

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


Getting EBUSY upon unmount ATA disk...

2006-03-08 Thread Paul Marciano
(originally sent to freebsd-fs, but that looks like a
developer list).

I am running FreeBSD-5.4 with root on md0.

I am seeing the following problem:

# df
Filesystem 1K-blocks  Used Avail Capacity  Mounted
on
/dev/md0   17370 15810   17299%/
devfs  1 1 0   100%/dev
/dev/md1369416  3384 0%/var
/dev/md2   31470 8 28946 0%/tmp
/dev/md3.uzipc 20808 18890   25499%/usr

# mount /dev/ad0s1a /flash
# :  /flash/foobar
# umount /flash
umount: unmount of /flash failed: Device busy


Waiting doesn't help.  I can repeat the unmount
command after a time and it still reports EBUSY.

ad0 is a SanDisk Compact Flash card.

So far I've traced the unmount op to

ffs_flushfiles() in ffs_vfsops.c:

/*
 * Flush all the files.
 */
if ((error = vflush(mp, 0, flags, td)) != 0)
return (error);


Still trying to track it down, but I'm not an fs guy
and so I'm asking for a little help.



Some more background:

My system uses a Compact Flash card to store
configuration information.  It's seldom accessed and
it would be nice to support controlled
removing/replacing during operation.

It looks like it is possible using atacontrol to
detach the channel and then reattach when the card is
inserted.

I can: insert, attach, mount, read, umount, remove all
day long without problems.  But now as soon as I do
one write the drive doesn't want to unmount.


No processes are camping on the mount point.
manually typing sync doesn't help.

unmount -f succeeds.


I hope someone can advise me.

Thanks,
Paul.


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


Re: To track or not to track

2006-03-08 Thread Greg Barniskis

Chris Maness wrote:
I just wanted to get pros and cons for tracking the whole port tree on a 
production server.


Any opinions?


If by track you mean regularly download, compile and install all
available updates, the big con is that you can sometimes break your
box. More frequently you won't break anything but may need to spend
considerable time babysitting the process, often needlessly since
many updates are for features you'll never use.

Tracking updates aggressively is a job for a dedicated build/test
server that makes packages and dishes them out on demand, as needed
(via NFS, rsync or your favorite sync method) first to other test
servers and then to production servers.This way production boxes 
only get tested updates, on your schedule, for your reasons.


You can best follow the not broke, don't fix credo by regularly
doing cvsup (in case an upgrade is suddenly required), but only
doing updates on production servers when:

* there is an official FreeBSD security alert

* portaudit throws a fit based on one or more of your installed port
versions

* some business requirement of yours creates a definitive need to 
have the latest version of something



--
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]


Re: To track or not to track

2006-03-08 Thread Philip Hallstrom
I just wanted to get pros and cons for tracking the whole port tree on a 
production server.


Any opinions?


Tracking it isn't going to take a lot of space.  Although if it's a 
serious production server (as opposed to my home production server :-) I 
don't know if I'd install ports on it before I'd done it somewhere else 
first.


For me... I've found having a jail 'sandbox' setup is a great way to 
install ports, test, make packages, then install those packages on my 
production box.


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


Re: Setting fbsd up as a router?

2006-03-08 Thread Wayne Cox

At 04:28 PM 3/6/2006, Huy Ton That wrote:
Would anyone happen to know where I may find tutorials on setting up 
my FBSD 6.0 Release box as a router with the intention to add 
firewall services?


It is not 'BSD based [wish it was]  but rather than reinvent the 
wheel, I would strongly recommend you try out  IP-Cop 
http://ipcop.org/A mere 20MB download gets you a CD ISO image 
that installs the whole Linux based firewall on a PC.  Up to 4 
interfaces, web configuration, traffic statistics, snort, transparent 
squid proxy, DHCP, VPN,  just about anything you would probably want.


   -Wayne

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


Re: Setting fbsd up as a router?

2006-03-08 Thread wc_fbsd

At 04:28 PM 3/6/2006, Huy Ton That wrote:
Would anyone happen to know where I may find tutorials on setting up 
my FBSD 6.0 Release box as a router with the intention to add 
firewall services?


It is not 'BSD based [wish it was]  but rather than reinvent the 
wheel, I would strongly recommend you try out  IP-Cop 
http://ipcop.org/   A mere 20MB download gets you a CD ISO image that 
installs the whole Linux based firewall on a PC.  Up to 4 interfaces, 
web configuration, traffic statistics, snort, transparent squid 
proxy, DHCP, VPN,  just about anything you would probably want.


   -Wayne

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


Re: Getting EBUSY upon unmount ATA disk...

2006-03-08 Thread Paul Marciano

I said:

 # mount /dev/ad0s1a /flash
 # :  /flash/foobar
 # umount /flash
 umount: unmount of /flash failed: Device busy

Then I said:

 No processes are camping on the mount point.


I didn't realize /bin/sh doesn't close the fd.


Man, I feel so dumb.

Paul.


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


Re: Setting fbsd up as a router?

2006-03-08 Thread Martin Hudec

Hello,

[EMAIL PROTECTED] wrote:
It is not 'BSD based [wish it was]  but rather than reinvent the wheel, 
I would strongly recommend you try out  IP-Cop http://ipcop.org/   A 
mere 20MB download gets you a CD ISO image that installs the whole Linux 
based firewall on a PC.  Up to 4 interfaces, web configuration, traffic 
statistics, snort, transparent squid proxy, DHCP, VPN,  just about 
anything you would probably want.


From FreeBSD area of specialized firewalls:
Based on 4.x/ipf,ipfw etc. there is m0n0wall (http://www.m0n0.ch/wall/).
Based on 6.x/pf etc. there is pfSense (http://www.pfsense.com).

From Linux area of specialized firewalls there is also Shurdix 
available (http://www.shurdix.org/).



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


Re: packaging foreign tarballs

2006-03-08 Thread Kris Kennaway
On Wed, Mar 08, 2006 at 12:02:29PM -0500, Michael P. Soulier wrote:
 My apologies if this is covered in the FAQ, I didn't see it. 
 
 If I build a foreign tarball that is either not in the ports, or not the
 version that I want, is there a way to then integrate that build as a package,
 registered with the FreeBSD packaging system?

No.  There are utilities in ports that claim to help you track your
manual tarball installs, but I've never used them (nor do I remember
their names, so you'll have to search).

Kris


pgpXbwquiKfd6.pgp
Description: PGP signature


Re: Portupgrade Operation

2006-03-08 Thread Andrew Pantyukhin
On 3/8/06, Chris Maness [EMAIL PROTECTED] wrote:
 I have been told that tracking the whole port tree on a production server
 is a bad idea.  I kind of agree thinking about the old addage if it aint
 broke don't fix it.

Arguably the best strategy for the base system. Arguably
a bad idea in case of 3d party software. In most cases
untested updates do not enter the ports tree. Just use the
-b flag when portupgrading and go back if you meet a
show-stopper. Lately we've been experiencing trouble
with something as critical as quagga. That only caused
a half an hour late night outage on a single server. We
haven't had any trouble apart from that in a year. With
hundreds of ports in production, we find it delicious to
have them all so easily and seamlessly updated.

 But, if a security issue becomes known with a port
 that I have installed, I definately want to fix the issue.  Your answere
 definately confirmed for me how port upgrade works.

 It seems that other dependant ports would not have to be current on the tree 
 if
 they were re-compiled allowing autoconf to establish the location of depended
 files.  However, it seems that portupgrade does not uninstall and re-compile 
 if
 the dependant ports have not changed (ie the folder containing the ports
 make file and patches), it only recompiles parts of the tree
 that have been upgraded, and are linked via portupgrade -rR.

 It would be nice if portupgrade had a flag to do that (that is if my logic
 is correct).

-f

 It would be nice if ports forked the way src does.  Then I could just
 track bugfixes and security issues.

I'd say that you can hardly find an update which is neither.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: per-user ftp traffic accounting ... possible ?

2006-03-08 Thread wc_fbsd

At 03:49 PM 3/6/2006, Ensel Sharon wrote:

I am using the standard, stock FreeBSD ftpd, running out of inetd.
Is there any way to keep track of how much ftp traffic is generated 
by each individual user ?


See man ftpd for the -l option.  You can bump up the log level to 
record file details.  However, I don't know of any scripts to report 
from it, and the format is not too parser-friendly.  Have you 
searched ports?  Might be a reporting utility there.


  -Wayne

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


/usr/local/etc/rc.d not running for jail

2006-03-08 Thread Francisco Reyes
I have a jail, running in FreeBSD 6, which starts sshd and syslogd, but 
doesn't start any of the programs from /usr/local/etc/rc.d


All the appropriate variables are in /etc/rc.conf for the various programs 
(postfix, spamd, clamsmtp, freshclam). I am able to run the programs 
manually by going to /usr/local/rc.d and doing ./script start


Any clues/suggestions?

** My rc.conf for the real machine is:
hostname=hostname
defaultrouter=valid router IP
ifconfig_em0=inet IP netmask 255.255.255.0
ifconfig_fxp0=inet Public IP netmask 255.255.255.0
sshd_enable=YES
usbd_enable=YES
sendmail_enable=NONE

ntpdate_enable=YES
ntpdate_flags=-b sundial.columbia.edu #-b Option needed when calling 
ntpdate at bootup

openntpd_enable=YES

syslogd_flags=-s -s -a IP

jail_enable=YES# Set to NO to disable starting of any jails
jail_list=mx14 # list of jails. space separated name
jail_set_hostname_allow=NO # Allow root user in jail to change hostname

#jail specific settings for jail mx14 
jail_mx14_rootdir=jail path 
jail_mx14_hostname=mx14.mydomain
jail_mx14_ip=valid external IP 
jail_mx14_exec_start=/bin/sh /etc/rc 
jail_mx14_devfs_enable=YES



** The rc.conf for the jail is:
defaultrouter=valid router IP# Set to default gateway (or NO).
clear_tmp_enable=YES  # Clear /tmp at startup.
sshd_enable=YES

sendmail_pidfile=/data/queue/pid/master.pid
sendmail_procname=/usr/local/libexec/postfix/master
sendmail_enable=NO
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO
postfix_enable=YES

clamsmtpd_enable=YES
clamsmtpd_conf=/usr/local/etc/clamsmtpd.conf
clamsmtpd_pid=/var/run/clamav/clamsmtpd.pid

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


ftpd traffic accounting ... _per user_ - please help

2006-03-08 Thread Joe Schmoe

I really need to track ftp traffic on a per user
basis.

Is this possible with the freebsd built-in ftpd ?  If
not, what is a good ftpd to use instead that has this
feature ?

Thanks a lot.

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


Re: Accesing BSD disk under windows

2006-03-08 Thread pete

not as direct as you might want, but . . .

install it, boot it, install  config SAMBA

Pete C

I love my country, but fear my government.

Quoting Nicolas BOUTIER [EMAIL PROTECTED]:


Hello,

thank you again for your answers. I will try with cygwin and I'm 
downloading a

Linux LiveCD (oops)... I used to be under Linux more time than BSD...

Best regards,

Nicolas




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


Newbie FreeBSD/Linux Question

2006-03-08 Thread Lawrence Petrykanyn

Hi!

I am a newbie trying to compile the program JACK that is required for 
the midi sequencer Rosegarden.  This program (JACK) is not available 
through the ports collection and is intended for a Linux system.  I am 
running FreeBSD 5.4 with linux compatibility supported.  Below is is the 
readme file for JACK and I have chosen to follow the second option.  I 
have created the /mnt/ramfs directory and edited my /etc/stab file as 
directed.  What I don't understand is the last instruction of the second 
option listed below, the line that says,


add --with-default-tmpdir=/mnt/ramfs to the JACK configure line when 
you build it.


I tried make --with-default-tmpdir=/mnt/ramfs and received a message 
informing me that this is not correct Make syntax.


Am I supposed to edit the config file(s) that accompany the source 
code?  If so, which one(s), config.h.in, configure, configure.ac or one 
of the files in the config directory of this package?


This is probably a very simple matter, but I have googled around and 
cannot find an answer.  Any comments, suggestions or advice would be 
greatly appreciated.


Thanks,
Lawrence

JACK README

Welcome to JACK, the Jack Audio Connection Kit.

Please see the website (http://jackit.sf.net/) for more information.

NOTE: If you are using reiserfs or ext3fs or anything except ext2fs
for the directory where JACK puts its temporary files (/tmp by
default), then the JACK team recommends that you do *one* of the
following:



Mount a tmpfs on /tmp.  You should have a lot of swap space available
in case some programs try to write very large files there.
In your /etc/fstab add a line:

  none/tmptmpfs   defaults0   0

You'll probably want to reboot here, or kill X then 'mount /tmp'.

 OR 

Alternatively, you can do this without affecting your /tmp:

# mkdir /mnt/ramfs

[edit /etc/fstab and add the following line]
none   /mnt/ramfs  tmpfs  defaults  0 0

Then add --with-default-tmpdir=/mnt/ramfs to the JACK configure
line when you build it.  No clients need to be recompiled.

--

Failure to do one of these could lead to extremely poor performance from 
JACK,

since its normal operation will cause bursts of disk I/O that are
completely unnecessary. This suggestion can also be used by ext2fs
users if they wish.

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


Re: /usr/local/etc/rc.d not running for jail

2006-03-08 Thread Philip Hallstrom


I have a jail, running in FreeBSD 6, which starts sshd and syslogd, but 
doesn't start any of the programs from /usr/local/etc/rc.d


All the appropriate variables are in /etc/rc.conf for the various programs 
(postfix, spamd, clamsmtp, freshclam). I am able to run the programs manually 
by going to /usr/local/rc.d and doing ./script start


Any clues/suggestions?


Put the following into the jail's /etc/rc.conf:

early_late_divider=NETWORKING

That worked for me.  My memory is this isn't a *real* solution, but that 
it does the trick (going off some posts I found on the issue when this 
happened to me)

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


tomcat on freebsd

2006-03-08 Thread eoghan

Hi
I have installed tomcat 5.5 from ports without problems and consulted 
the freebsd docs on it:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/x159.html
It seems to start fine, at least it deosnt show any errors... but when i 
try to go to:

http://127.0.0.1:8080 i am unable to connect.
I checked the logs in /usr/local/tomcat5.5/logs at both catalina and 
localhost but I cant really make out what I am meant to be seeing as a 
problem. Its the first time I have used tomcat. I have pasted the 
contents of the catalina log below, could anyone let me know where I am 
going wrong?

Thanks

Mar 8, 2006 8:45:49 PM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: The Apache Portable Runtime which allows optimal performance in 
production environments was not found on the java.library.path: 
/usr/local/jdk1.4.2/jre/lib/i386/client:/usr/local/jdk1.4.2/jre/lib/i386:/usr/local/jdk1.4.2/jre/../lib/i386:/usr/lib:/usr/local/lib

Mar 8, 2006 8:45:50 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Mar 8, 2006 8:45:50 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2770 ms
Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 8, 2006 8:45:56 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Mar 8, 2006 8:45:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 8, 2006 8:45:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/451  config=null
Mar 8, 2006 8:45:57 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 8, 2006 8:45:57 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7739 ms
Mar 8, 2006 8:45:57 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Can't assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.init(ServerSocket.java:185)
at 
org.apache.catalina.core.StandardServer.await(StandardServer.java:343)
at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Mar 8, 2006 8:45:57 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Mar 8, 2006 8:45:57 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.NoRouteToHostException: Can't assign requested address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.init(Socket.java:309)
at java.net.Socket.init(Socket.java:153)
at 
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:463)
at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:270)
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:162)
at org.apache.catalina.connector.Connector.pause(Connector.java:1031)
at 
org.apache.catalina.core.StandardService.stop(StandardService.java:491)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:714)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
	at 
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:629)

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


Re: 6.1-BETA2 AMD64 boot only CD freezes at module_register_init: MOD_LOAD (amr_linux, 0xffffffff805ebcc0, 0) error 6

2006-03-08 Thread Joseph Turian
Strange.

I tried booting the 6.1-BETA2 i386 bootonly CD, and it worked just fine.
I still have no idea why the 6.1-BETA2 AMD64 bootonly CD freezes.
The sanity check of booting a Linux AMD64 liveCD works just fine.

Any ideas why I can't boot ther AMD64 bootonly CD?

What is the disadvantage of doing an i386 install on an AMD64 machine?
Will it run slower?

   Joseph


On 3/3/06, Joseph Turian [EMAIL PROTECTED] wrote:
 I flubbed that error message slightly, since I have to copy it by hand. :P
 Sorry about that, here's the correct version:


 Here is the 6.1-BETA2 AMD64 boot freeze message:

 Timecounter TSC frequency 2009156527 Hz quality 800
 Timecounters tick every 1.000 msec
 module_register_init: MOD_LOAD (amr_linux, 0x805ebcc0, 0) error 6



 Here is the 6.0 AMD64 boot freeze message:

 Timecounter TSC frequency 2009156417 Hz quality 800
 Timecounters tick every 1.000 msec

Joseph


 
  This is slightly modified version of the error I get if I try to 6.0 boot 
  disc.
 
  Here is some prior evidence I collected in an earlier version of this
  question on list.freebsd.questions. No one seems to know the answer,
  so I'm following up here with more information, in the hopes someone
  can help me out. (Sorry if anyone minds.) I need to install this
  system RSN and I'd prefer to use FreeBSD but the Linux install works
  fine in a pinch and FreeBSD won't even boot. Please help!
 
  Thanks,
 
 Joseph
 
  =
 
  From: Joseph Turian [EMAIL PROTECTED]
  Newsgroups: list.freebsd.questions
  Subject: 6.0 install CD boot freezes at Timecounters tick every 1.000 msec
  Date: 2 Mar 2006 14:08:30 -0800
 
  I'm having difficulty booting FreeBSD from the 6.0 install disc 1 for
  AMD64.
  I've also tried the boot disk, with the same problem.
 
  Basically, I'm trying to install on a clean system. Boot with ACPI
  *disabled* freezes with:
 
  Timecounter TSC frequency 2009156417 Hz quality 800
  Timecounters tick every 1.000 msec
 
 
  I've googled this message and the recommendation is boot with ACPI.
  But I disabled ACPI in  the BIOS *and* I boot with option 2 (no ACPI),
  so that doesn't resolve the issue.
 
  Please help! I'd really like to install FreeBSD and give it a spin. I'd
  hate to be forced to install Linux just because it works no problem.
 
  Thanks,
 Joseph
 
  P.S. If you're interested in my hardware, here's the dmesg output from
  the gentoo livecd i686 2006.0 installer cd. I have a SATA disk and an
  IDE disk, maybe that's the issue?
 
  Linux version 2.6.15-gentoo-r5 ([EMAIL PROTECTED]) (gcc version 3.4.4
  (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP Mon Feb 13 20:23:47
  UTC 2006
  BIOS-provided physical RAM map:
   BIOS-e820:  - 0009fc00 (usable)
   BIOS-e820: 0009fc00 - 000a (reserved)
   BIOS-e820: 000e5000 - 0010 (reserved)
   BIOS-e820: 0010 - 7bfc (usable)
   BIOS-e820: 7bfc - 7bfce000 (ACPI data)
   BIOS-e820: 7bfce000 - 7bff (ACPI NVS)
   BIOS-e820: 7bff - 7c00 (reserved)
   BIOS-e820: fec0 - fec01000 (reserved)
   BIOS-e820: fee0 - fef0 (reserved)
   BIOS-e820: ff78 - 0001 (reserved)
  1087MB HIGHMEM available.
  896MB LOWMEM available.
  found SMP MP-table at 000ff780
  On node 0 totalpages: 507840
DMA zone: 4096 pages, LIFO batch:0
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 225280 pages, LIFO batch:31
HighMem zone: 278464 pages, LIFO batch:31
  DMI 2.3 present.
  ACPI: RSDP (v000 ACPIAM) @ 0x000fb870
  ACPI: RSDT (v001 A M I  OEMRSDT  0x1505 MSFT 0x0097) @
  0x7bfc
  ACPI: FADT (v002 A M I  OEMFACP  0x1505 MSFT 0x0097) @
  0x7bfc0200
  ACPI: MCFG (v001 A M I  OEMMCFG  0x1505 MSFT 0x0097) @
  0x7bfc0400
  ACPI: OEMB (v001 A M I  AMI_OEM  0x1505 MSFT 0x0097) @
  0x7bfce040
  ACPI: DSDT (v001  A0368 A0368001 0x0001 INTL 0x02002026) @
  0x
  Intel MultiProcessor Specification v1.4
  Virtual Wire compatibility mode.
  OEM ID: TEMPLATE Product ID: CSM  APIC at: 0xFEE0
  Processor #0 15:15 APIC version 16
  I/O APIC #1 Version 17 at 0xFEC0.
  Enabling APIC mode:  Flat.  Using 1 I/O APICs
  Processors: 1
  Allocating PCI resources starting at 8000 (gap: 7c00:82c0)
  Built 1 zonelists
  Kernel command line: root=/dev/ram0 init=/linuxrc dokeymap
  looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz vga=791
  splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet
  BOOT_IMAGE=gentoo
  mapped APIC to d000 (fee0)
  mapped IOAPIC to c000 (fec0)
  Initializing CPU#0
  CPU 0 irqstacks, hard=c0427000 soft=c041f000
  PID hash table entries: 4096 (order: 12, 65536 bytes)
  Detected 2009.214 MHz processor.
  Using tsc for high-res timesource
  Speakup v-2.00 CVS: Wed Dec 21 14:36:03 EST 2005 : 

Re: Newbie FreeBSD/Linux Question

2006-03-08 Thread Glenn Dawson

At 12:46 PM 3/8/2006, Lawrence Petrykanyn wrote:

Hi!

I am a newbie trying to compile the program JACK that is required 
for the midi sequencer Rosegarden.  This program (JACK) is not 
available through the ports collection and is intended for a Linux 
system.  I am running FreeBSD 5.4 with linux compatibility 
supported.  Below is is the readme file for JACK and I have chosen 
to follow the second option.  I have created the /mnt/ramfs 
directory and edited my /etc/stab file as directed.  What I don't 
understand is the last instruction of the second option listed 
below, the line that says,


add --with-default-tmpdir=/mnt/ramfs to the JACK configure line 
when you build it.


I tried make --with-default-tmpdir=/mnt/ramfs and received a 
message informing me that this is not correct Make syntax.


Am I supposed to edit the config file(s) that accompany the source 
code?  If so, which one(s), config.h.in, configure, configure.ac or 
one of the files in the config directory of this package?


This is probably a very simple matter, but I have googled around and 
cannot find an answer.  Any comments, suggestions or advice would be 
greatly appreciated.


Assuming you're building from source, and following their directions
found here: http://jackit.sourceforge.net/docs/faq.php#a7
you would supply that option to the configure script that you run 
before doing a make.


-Glenn



Thanks,
Lawrence

JACK README

Welcome to JACK, the Jack Audio Connection Kit.

Please see the website (http://jackit.sf.net/) for more information.

NOTE: If you are using reiserfs or ext3fs or anything except ext2fs
for the directory where JACK puts its temporary files (/tmp by
default), then the JACK team recommends that you do *one* of the
following:



Mount a tmpfs on /tmp.  You should have a lot of swap space available
in case some programs try to write very large files there.
In your /etc/fstab add a line:

  none/tmptmpfs   defaults0   0

You'll probably want to reboot here, or kill X then 'mount /tmp'.

 OR 

Alternatively, you can do this without affecting your /tmp:

# mkdir /mnt/ramfs

[edit /etc/fstab and add the following line]
none   /mnt/ramfs  tmpfs  defaults  0 0

Then add --with-default-tmpdir=/mnt/ramfs to the JACK configure
line when you build it.  No clients need to be recompiled.

--

Failure to do one of these could lead to extremely poor performance from JACK,
since its normal operation will cause bursts of disk I/O that are
completely unnecessary. This suggestion can also be used by ext2fs
users if they wish.

___
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: Newbie FreeBSD/Linux Question

2006-03-08 Thread Bob Johnson
On 3/8/06, Lawrence Petrykanyn [EMAIL PROTECTED] wrote:
[...]
 directed.  What I don't understand is the last instruction of the second
 option listed below, the line that says,

 add --with-default-tmpdir=/mnt/ramfs to the JACK configure line when
 you build it.

 I tried make --with-default-tmpdir=/mnt/ramfs and received a message
 informing me that this is not correct Make syntax.

If you just use make, you are probably using BSD make.  The Linux
instructions probably expect you to use GNU make, which is called
gmake on FreeBSD.

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


Re: Newbie FreeBSD/Linux Question

2006-03-08 Thread Kevin Kinsey

Lawrence Petrykanyn wrote:


Hi!

I am a newbie trying to compile the program JACK that is
required for the midi sequencer Rosegarden.  This program
(JACK) is not available through the ports collection and is
intended for a Linux system.  I am running FreeBSD 5.4 with
linux compatibility supported.  Below is is the readme file for
JACK and I have chosen to follow the second option.  I have
created the /mnt/ramfs directory and edited my /etc/stab file
as directed.  What I don't understand is the last instruction
of the second option listed below, the line that says,

add --with-default-tmpdir=/mnt/ramfs to the JACK configure
line when you build it.

I tried make --with-default-tmpdir=/mnt/ramfs and received
a message informing me that this is not correct Make syntax.

Am I supposed to edit the config file(s) that accompany the
source code?  If so, which one(s), config.h.in, configure,
configure.ac or one of the files in the config directory of
this package?

This is probably a very simple matter, but I have googled
around and cannot find an answer.  Any comments,
suggestions or advice would be greatly appreciated.

Thanks,
Lawrence




Just a wild guess; is it bad English?  Have you tried
this string when doing configure instead of make?
Perhaps that is what is meant.

   ./configure --with-default-tmpdir=/mnt/ramfs

HTH, but not holding my breath,

Kevin Kinsey

--
Fanaticism consists of redoubling your effort when you have
forgotten your aim.
-- George Santayana


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


coming back up after power failure (UPS)

2006-03-08 Thread Peter
On an updated 5.4 box I am using Network UPS Tools (NUT) with an APC
Smart-UPS.

All is going very well but I cannot bring my box back up after
simulating a power failure.  At the end of the shutdown the screen
shows:

Press any key to reboot

Obviously this is not the desired outcome.

How can I get my system to go down completely?  Beyond this I
understand there may be some BIOS adjustments to be made.

I thought ACPI might have something to do with this.  The next time
around I booted with this disabled but this lead to another problem. 
My network could not be initialized.  I got this message a few times
during startup and then the boot sequence continued with networking
disabled:

sk0: watchdog timeout

I rebooted again, this time with ACPI enabled, and all was well again.

--
Peter

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


Re: tomcat on freebsd

2006-03-08 Thread eoghan

Bosch Rogier wrote:

I think its port 8180 (by default).

Goodluck,

TC


Ok, 8180 worked. But when i run ./startup.sh (as root) it seems to work, 
once only. If i run it again, it works again, once. I can view the 
tomcat default page, but have to keep running the startup script.


# ./startup.sh
Using CATALINA_BASE: /usr/local/tomvat5.5
Using CATALINA_HOME: /usr/local/tomvat5.5
Using CATALINA_TMPDIR: /usr/local/tomvat5.5/temp
Using JRE_HOME: /usr/local/jdk1.4.2
#

So is there some way I can keep it running? Seems very strange I have to 
keep running the startup script... Can anyone help?

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


Re: coming back up after power failure (UPS)

2006-03-08 Thread Philip Hallstrom

On an updated 5.4 box I am using Network UPS Tools (NUT) with an APC
Smart-UPS.

All is going very well but I cannot bring my box back up after
simulating a power failure.  At the end of the shutdown the screen
shows:

Press any key to reboot

Obviously this is not the desired outcome.

How can I get my system to go down completely?  Beyond this I
understand there may be some BIOS adjustments to be made.


man shutdown...

 -p  The system is halted and the power is turned off (hardware
 support required) at the specified time.

for starters... but yeah, you might need some BIOS changes...



I thought ACPI might have something to do with this.  The next time
around I booted with this disabled but this lead to another problem.
My network could not be initialized.  I got this message a few times
during startup and then the boot sequence continued with networking
disabled:

sk0: watchdog timeout

I rebooted again, this time with ACPI enabled, and all was well again.

--
Peter

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


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


Re: /usr/local/etc/rc.d not running for jail

2006-03-08 Thread Francisco Reyes

Philip Hallstrom writes:


Put the following into the jail's /etc/rc.conf:
early_late_divider=NETWORKING


Thanks!
That worked.


That worked for me.  My memory is this isn't a *real* solution, but that 
it does the trick (going off some posts I found on the issue when this 
happened to me)


It seems there is some transition going on right now (or recently).
In particular I found this thread:
http://tinyurl.com/nnpwy

Or the long URL.
http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/8 
6d957ae29383cea/5cef8e6ce113963a?lnk=stq=early_late_divider%3D%22NETWORKING 
%22rnum=1hl=en#5cef8e6ce113963a


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


Re: Out of memory during large request

2006-03-08 Thread Per olof Ljungmark

Lowell Gilbert wrote:

Per olof Ljungmark [EMAIL PROTECTED] writes:


FreeBSD 6-STABLE

Got this when I ran a Perl script:
Out of memory during large request for 33558528 bytes

Would this be good syntax in /boot/loader.conf, the system has 2G RAM:
vm.kmem_size_max=671088640
to try to cure the problem? Where do I best learn more about memory tuning?


Are you sure you're not just running into process limits, as opposed
to kernel limits?


Honestly, no. But on a 5.4 system I did cure the same problem with the 
line kern.maxdsiz=768M in loader.conf and I thought vm.kmem_size 
would be the corresponding parameter in 6?

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


Re: Newbie FreeBSD/Linux Question

2006-03-08 Thread Per olof Ljungmark

Lawrence Petrykanyn wrote:

Hi!

I am a newbie trying to compile the program JACK that is required for 
the midi sequencer Rosegarden.  This program (JACK) is not available 
through the ports collection and is intended for a Linux system.  I am 


I have jackd(1) installed (from ports) but maybe it is not the one 
you're looking for:

/usr/ports/audio/jack

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


How to install gnucash?

2006-03-08 Thread Tom Munro Glass
I'm trying to install gnucash, but this depends on g-wrap which in turn 
depends on slib-guile, and slib-guile-3a1 is marked as broken: Does not 
install.

Is there a solution to this problem?

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


Re: coming back up after power failure (UPS)

2006-03-08 Thread Ion-Mihai Tetcu
On Wed, 8 Mar 2006 16:39:02 -0500 (EST)
Peter [EMAIL PROTECTED] wrote:

 On an updated 5.4 box I am using Network UPS Tools (NUT) with an APC
 Smart-UPS.
 
 All is going very well but I cannot bring my box back up after
 simulating a power failure.  At the end of the shutdown the screen
 shows:
 
 Press any key to reboot
 
 Obviously this is not the desired outcome.
 
 How can I get my system to go down completely?  Beyond this I
 understand there may be some BIOS adjustments to be made.

You should set up your UPS (via NUT) to kill power when you reach this
stage (and batteries are exhausted), and to restore power to the
computer when the line power is back again. And set you BIOS to always
on or last state or what ever you BIOS is calling it.

I can't say how to achieve this with NUT or if it's possible, but I'm
sure that sysutils/apcupsd can do it since I use (and maintain) that
port.

-- 
IOnut - Unregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect

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


Re: coming back up after power failure (UPS)

2006-03-08 Thread Peter

--- Philip Hallstrom [EMAIL PROTECTED] wrote:

  On an updated 5.4 box I am using Network UPS Tools (NUT) with an
 APC
  Smart-UPS.
 
  All is going very well but I cannot bring my box back up after
  simulating a power failure.  At the end of the shutdown the screen
  shows:
 
  Press any key to reboot
 
  Obviously this is not the desired outcome.
 
  How can I get my system to go down completely?  Beyond this I
  understand there may be some BIOS adjustments to be made.
 
 man shutdown...
 
   -p  The system is halted and the power is turned off
 (hardware
   support required) at the specified time.
 
 for starters... but yeah, you might need some BIOS changes...
 

Well I tried the -p switch and, indeed, the system came down
completely.  But now it just
sits there.  This is after I enabled this setting in my BIOS:

PME Event Wake UP

I figured that would do the trick but evidently not.  Anything else I
should be looking at?  How long should the system wait before coming
back up?  I waited only a minute.

--
Peter

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


Re: How to install gnucash?

2006-03-08 Thread Kris Kennaway
On Thu, Mar 09, 2006 at 12:28:14PM +1300, Tom Munro Glass wrote:
 I'm trying to install gnucash, but this depends on g-wrap which in turn 
 depends on slib-guile, and slib-guile-3a1 is marked as broken: Does not 
 install.
 
 Is there a solution to this problem?

Talk to whoever broke slib-guile and get them to fix it :-)

Kris


pgpTvGvQAEOSV.pgp
Description: PGP signature


make buildkernel fails

2006-03-08 Thread Luke Bartley
I'm attempting to build a custom kernel, but when it comes time to build, it
fails with this error:

  /usr/src/sys/dev/re/if_re.c:151:23: miibus_if.h: No such file or directory

/usr/src/sys/pci/if_rl.c:125:23: miibus_if.h: No such file or directory

mkdep: compile failed

*** Error code 1

It may be a simple problem, but I'm lost.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildkernel fails

2006-03-08 Thread Kris Kennaway
On Wed, Mar 08, 2006 at 06:41:41PM -0500, Luke Bartley wrote:
 I'm attempting to build a custom kernel, but when it comes time to build, it
 fails with this error:
 
   /usr/src/sys/dev/re/if_re.c:151:23: miibus_if.h: No such file or directory
 
 /usr/src/sys/pci/if_rl.c:125:23: miibus_if.h: No such file or directory
 
 mkdep: compile failed
 
 *** Error code 1
 
 It may be a simple problem, but I'm lost.

Per the comments in the kernel file you modified, if_re requires
miibus support.  Did you remove it?

Kris



pgpHuSLrDiS7O.pgp
Description: PGP signature


Problems with gnome

2006-03-08 Thread Paul Schmehl
I upgraded gnome on my 5.4 workstation (ran gnome-upgrade212.sh), and now 
the system locks up shortly after I login.  If I don't login I can open a 
tty and do whatever I want from the cli, but if I login, the system locks 
up and I can't even open a tty (or restart X.)  Mouse and keyboard inputs 
are ignored, and the only option is a hard reboot.


What can I do to troubleshoot this problem?  I'm pretty sure it has 
something to do with gnome, since that's what's killing the system.


FreeBSD 5.4 SECURITY, X Window System Version 6.9.0, gnome2-2.12.3.

:0.log has the following error in it: error opening security policy file 
/usr/X11R6/lib/X11/server/SecurityPolicy, and that file does not exist on 
the hard drive.


There's nothing out of the ordinary in /var/log/messages or 
/var/log/dmesg.today (that I can see.)


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


Re: coming back up after power failure (UPS)

2006-03-08 Thread Derek Ragona

Peter,

Look in the bios in the power management section, for something like after 
loss of power, there set the action to power on, as opposed to stay off, or 
anything else.


You can test this just power on the unit and pull the plug during the bios 
post.  If it comes back on when you plug it back in, you have it right.


I have NUT set to power down on low battery, so if you need help, let me know.

-Derek


At 05:39 PM 3/8/2006, Peter wrote:


--- Philip Hallstrom [EMAIL PROTECTED] wrote:

  On an updated 5.4 box I am using Network UPS Tools (NUT) with an
 APC
  Smart-UPS.
 
  All is going very well but I cannot bring my box back up after
  simulating a power failure.  At the end of the shutdown the screen
  shows:
 
  Press any key to reboot
 
  Obviously this is not the desired outcome.
 
  How can I get my system to go down completely?  Beyond this I
  understand there may be some BIOS adjustments to be made.

 man shutdown...

   -p  The system is halted and the power is turned off
 (hardware
   support required) at the specified time.

 for starters... but yeah, you might need some BIOS changes...


Well I tried the -p switch and, indeed, the system came down
completely.  But now it just
sits there.  This is after I enabled this setting in my BIOS:

PME Event Wake UP

I figured that would do the trick but evidently not.  Anything else I
should be looking at?  How long should the system wait before coming
back up?  I waited only a minute.

--
Peter

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

___
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 install gnucash?

2006-03-08 Thread Erik Greenwald
On Wed, Mar 08, 2006 at 06:40:51PM -0500, Kris Kennaway wrote:
 On Thu, Mar 09, 2006 at 12:28:14PM +1300, Tom Munro Glass wrote:
  I'm trying to install gnucash, but this depends on g-wrap which in turn 
  depends on slib-guile, and slib-guile-3a1 is marked as broken: Does not 
  install.
  
  Is there a solution to this problem?

my workaround is to get an old version of slib (3a1) installed and be
careful not to update it...

 Talk to whoever broke slib-guile and get them to fix it :-)

the breakage seems to be in guile, with a partial slib implementation in
guile impeding functionality in the real slib... other scheme
implementations are perfectly happy with the upgraded slib. :)

 Kris

-- 
-Erik [EMAIL PROTECTED] [http://math.smsu.edu/~erik]

The opinions expressed by me are not necessarily opinions. In all probability,
they are random rambling, and to be ignored. Failure to ignore may result in
severe boredom or confusion. Shake well before opening. Keep Refrigerated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is Marvell 88E8001 ethernet card working fine on -stable?

2006-03-08 Thread Pierre-Luc Drouin

Hi,

I would like to buy a new motherboard (Asus P5WD2) that has a Marvell 
88E8001 ethernet card and I would like to know if this card works fine 
now on -stable. I have seen reported problems related to this card on 5.3...


Thanks!

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


Re: Problems with gnome

2006-03-08 Thread Paul Schmehl

--On March 8, 2006 5:57:02 PM -0600 Paul Schmehl [EMAIL PROTECTED] wrote:


I upgraded gnome on my 5.4 workstation (ran gnome-upgrade212.sh), and now
the system locks up shortly after I login.  If I don't login I can open a
tty and do whatever I want from the cli, but if I login, the system locks
up and I can't even open a tty (or restart X.)  Mouse and keyboard inputs
are ignored, and the only option is a hard reboot.

What can I do to troubleshoot this problem?  I'm pretty sure it has
something to do with gnome, since that's what's killing the system.

FreeBSD 5.4 SECURITY, X Window System Version 6.9.0, gnome2-2.12.3.

:0.log has the following error in it: error opening security policy file
/usr/X11R6/lib/X11/server/SecurityPolicy, and that file does not exist
on the hard drive.

There's nothing out of the ordinary in /var/log/messages or
/var/log/dmesg.today (that I can see.)


Addendum: I'm not having any problems with a remote X session.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/
___
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 install gnucash?

2006-03-08 Thread Tom Munro Glass
On Thursday 09 March 2006 13:43, Erik Greenwald wrote:
 On Wed, Mar 08, 2006 at 06:40:51PM -0500, Kris Kennaway wrote:
  On Thu, Mar 09, 2006 at 12:28:14PM +1300, Tom Munro Glass wrote:
   I'm trying to install gnucash, but this depends on g-wrap which in turn
   depends on slib-guile, and slib-guile-3a1 is marked as broken: Does
   not install.
  
   Is there a solution to this problem?

 my workaround is to get an old version of slib (3a1) installed and be
 careful not to update it...

  Talk to whoever broke slib-guile and get them to fix it :-)

 the breakage seems to be in guile, with a partial slib implementation in
 guile impeding functionality in the real slib... other scheme
 implementations are perfectly happy with the upgraded slib. :)


I've used pkg_add -r to install slib-3a1_2 and slib-guile-3a1 and then tried 
to portinstall g-wrap, but that failed. So I used pkg_add to install 
g-wrap-1.3.4_7 and then I was able to portinstall gnucash.

However, when I try and run gnucash it fails with the following messages:

ERROR: In procedure dynamic-link:
ERROR: file: libgw-glib, message: Shared object \libglib12.so.3\ not 
found, required by \libgw-glib.so\

I've a feeling that libgw-glib was also mentioned in the error when I tried to 
portinstall g-wrap.

Any ideas what I can do now?

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


Re: dhclient in 6.0

2006-03-08 Thread doug
I had the same problem. Mine was with a wireless card, so my exact fix is 
probably not yours but this may point the way. I had to load a driver not 
autoloaded in 6.0 (wlan_wep.ko) and add an extra parm to the ifconfig:


   old: ifconfig wi0  wep wepkey key string
   new: ifconfig wi0 wep wepkey key string deftxkey 1

From reading of the ifconfig man page I thought that was the default. Many 
thanks to Robert Watson for the right answer. I did not have a dhclient.conf in 
5.3 or 6.0.


In general - it may not be dhclient, you may need an addition module or some 
additional setting on the ifconfig for your card. In my case I think I got an 
error about the missing module. I hope this helps.



DougD

On Thu, 2 Feb 2006, make stuff up wrote:



 hi all..

 this is new - just installed 6 and here:
 # dhclient fxp0
 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 5
 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 8
..
and a few other intervals...

 so if the fxp0 is up and the dhcp server is up then whats wrong with
dhclient?...
 i'm actually writing from a machine on the same dhcp server...

 thanks...


___
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: Newbie FreeBSD/Linux Question

2006-03-08 Thread wc_fbsd

At 05:30 PM 3/8/2006, you wrote:
I am a newbie trying to compile the program JACK that is required 
for the midi sequencer Rosegarden.  This program (JACK) is not 
available through the ports collection and is intended for a Linux 
system.  I am


Perhaps I'm not understanding the whole scenario, but are you trying 
to compile it BSD native, or compile and run it in Linux compatibility mode?


If you're trying to use Linux compatibility mode, you need to make 
sure your session is really running in that mode.  It's been a year+ 
since I tried it, but it wasn't real obvious in the handbook 
IIRC.  You need to get a shell running in Linux mode first;  that 
gets the union file system going, so the stuff in /compat/linux is 
overlayed on the root filesystem.  The uname command is probably 
the most simple confirmation, eg:


$ uname -a
FreeBSD meddle.xxiii.com 5.4-STABLE FreeBSD 5.4-STABLE #8: Tue Jul 26 
13:28:17 EDT 2005

$ ls /compat/linux/bin
basenamedateksh pwd stty
bashdd  ln  rm  sync
bash2   echols  rmdir   touch
chgrp   egrep   mkdir   rpm true
chmod   false   mknod   setserial   uname
chown   fgrep   mv  sh
cp  grepnicesleep
$ /compat/linux/bin/bash
bash-2.04$ uname -a
Linux meddle.xxiii.com 2.4.2 FreeBSD 5.4-STABLE #8: Tue Jul 26 
13:28:17 EDT 2005


Once you have an executable running in compatibility mode (the shell 
in this case), it will search the directory in /compat/linux first, 
and failing that look in the real root system.  So if you type make 
and the first directory in your path is /usr/bin, it really looks in 
/compat/linux/usr/bin first, then the real /usr/bin.  I doubt the 
standard Linux mode on FBSD has all the stuff to compile  link 
native Linux code, however.


Hope I'm not re-stating the obvious, but once I figured this out, the 
compatibility mode made a BUNCH more sense.


  -Wayne
___
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 install gnucash?

2006-03-08 Thread Kris Kennaway
On Thu, Mar 09, 2006 at 02:45:48PM +1300, Tom Munro Glass wrote:
 On Thursday 09 March 2006 13:43, Erik Greenwald wrote:
  On Wed, Mar 08, 2006 at 06:40:51PM -0500, Kris Kennaway wrote:
   On Thu, Mar 09, 2006 at 12:28:14PM +1300, Tom Munro Glass wrote:
I'm trying to install gnucash, but this depends on g-wrap which in turn
depends on slib-guile, and slib-guile-3a1 is marked as broken: Does
not install.
   
Is there a solution to this problem?
 
  my workaround is to get an old version of slib (3a1) installed and be
  careful not to update it...
 
   Talk to whoever broke slib-guile and get them to fix it :-)
 
  the breakage seems to be in guile, with a partial slib implementation in
  guile impeding functionality in the real slib... other scheme
  implementations are perfectly happy with the upgraded slib. :)
 
 
 I've used pkg_add -r to install slib-3a1_2 and slib-guile-3a1 and then tried 
 to portinstall g-wrap, but that failed. So I used pkg_add to install 
 g-wrap-1.3.4_7 and then I was able to portinstall gnucash.
 
 However, when I try and run gnucash it fails with the following messages:
 
 ERROR: In procedure dynamic-link:
 ERROR: file: libgw-glib, message: Shared object \libglib12.so.3\ not 
 found, required by \libgw-glib.so\
 
 I've a feeling that libgw-glib was also mentioned in the error when I tried 
 to 
 portinstall g-wrap.
 
 Any ideas what I can do now?

Talk to the software developers (e.g. slib) and get the responsible
person to fix it.

Kris


pgpXHqE7SPCNm.pgp
Description: PGP signature


making a vfat file system?

2006-03-08 Thread Andrew Spott
I'd like to make a vfat filesystem out of a external hdd I just
bought.  However, I can't seem to figure out how to do it.

I odn't know what port to install to get the mkfs.vfat program.

any ideas?

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


Re: making a vfat file system?

2006-03-08 Thread Dan Nelson
In the last episode (Mar 08), Andrew Spott said:
 I'd like to make a vfat filesystem out of a external hdd I just
 bought.  However, I can't seem to figure out how to do it.
 
 I odn't know what port to install to get the mkfs.vfat program.

I think you want /sbin/newfs_msdos

-- 
Dan Nelson
[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: portmanager core dumps

2006-03-08 Thread Michael C. Shultz

F. Even - fbsd-questions wrote:

On Sunday 08 January 2006 18:30, Robert Marella wrote:

Good Afternoon

At times when in a hurry or not thinking as fast as my fingers, I try
to run portupgrade -s | grep OLD from a regular user account instead
of sudo portupgrade -s | grep OLD.


do you mean portmanager -s | grep OLD by any chance?


I would expect portupgrade to insult my intelligence and question my
heritage  or is that question my intelligence and insult my
heritage. Well, it doesn't do either. It core dumps. This will happen
on more than one system running 6 Stable and the updated portmanager.

[EMAIL PROTECTED] ~ pkg_info | grep portmanager
portmanager-0.4.1_4 FreeBSD installed ports status and safe update
utility

Thanks

Robert


Portmanager will only run as root, I'll make a note/bug to check 
error handling when someone attempts to run it as a normal user.


Mike,

Please don't disable the ability to run this as a non-root user.  I've 
managed to get it to run by chowning it's config, files under /var/db 
and the entire ports collection to an update user.  Now I can run 
portmanager -s and it will give me an accurate run-down of what 
upgrades are needed.  I can also then download updates as a restricted 
user. Changing to root will allow me to update as I need to, and as 
long as the src is cleaned up, no files owned by root are left behind 
in the ports tree.  This actually works quite nicely.


Thanks,
Frank


For the next few months I have no access to a FreeBSD system so won't be 
changing anything.  Portmanager has no internal mechanisms for checking 
ownership, I think
that so long as whoever has write access to everything in 
/usr/local/share/portmanager should be able to run it no problem.  So if 
you want to change who can run it besides
root just change the permisions of the files in that directory.   I do 
have a change at home that moves the data bases to /var/db/portmanager 
so if that ever gets posted things
will change slightly, it may never be posted though if no one takes over 
maintainership before I return.


-Mike



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


/dev/cuaa gone in 6.0?? /dev/console doesn't work...

2006-03-08 Thread Mark Jayson Alvarez
Hi,
 I'm trying to secure our cisco router by hooking its console to a freebsd 6.0 
box. I was reading this document: 
http://www.onlamp.com/pub/a/bsd/2001/10/11/FreeBSD_Basics.html
 
 
  It seems like /dev/cuaaN has been replaced by /dev/console. On my 6.0 box, I 
can't seem to find /dev/cuaaN... I tried using /dev/console instead and I got 
the same response Connected but it hangs... I can't do anything. 
 The command I used was cu -l /dev/console -s 9600.
 
  On an older box (4.11) I used cu -l /dev/cuaa0 -s 9600 and it worked. I got 
the login prompt of our router. 
 
 If ever I would make everything work... does this mean that only one user can 
connect to our router or does freebsd have some sort of pseudo consoles???
 
 
 Thanks..
 
 

-
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >