The FreeBSD Diary: 2006-09-03 - 2006-09-23

2006-09-24 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

4-Sep : 
Monitor your 3Ware battery backup unit (BBU)
 Why not monitor your battery? 
 http://freebsddiary.org/3ware-netsaint-plugin-addenda.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Openbgpd TCP-MD5

2006-09-24 Thread Mihai Tanasescu

Hello,


Does anyone know if TCP-MD5 is working with OpenBGP on Freebsd ?


I've got a Freebsd 6.1 system (6.1-RELEASE-p5) on which I've tried both 
openbgpd and openbgpd-devel.

The system has a test session now with a Cisco 3750 equipment.


On the OpenBGPD machine I have setup the Cisco neighbor with the  tcp 
md5sig password option.
On the Cisco machine I have setup the OpenBGPD neighbor with the 
password option.


Upon starting the session the OpenBGPD machine reported pfkey setup failed.

I used setkey to add the following (after adding FAST_IPSEC and TCP-MD5 in the 
kernel):

add ip-openbgpd ip-cisco-bgp tcp 0x1000 -A tcp-md5 password I used;

On the Cisco device if I issue a show logg I can see:

%TCP-6-BADAUTH: No MD5 digest from ip-openbgpd(179) to ip-cisco(15581) (RST)

Also the OpenBGPD FreeBSD system displays:

kernel: tcp_signature_compute: SADB lookup failed for ip-cisco


Help wanted:) if possible


Thanks,
Mihai


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


Re: pf + ipv6 + keep state - any known issues?

2006-09-24 Thread Matthew Seaman
Peter Schuller wrote:
 Hello,
 
 I am using pf on a 6.1 machine. I have a tunneling interface (gif0) for my 
 IPv6 feed. The problem I am having is connecting to myself in spite of 
 firewalling.
 
 I am allowing traffic on port 22 to my public ipv6 address. I am also 
 allowing 
 all outgoing traffic on the tunneling interface, with 'keep state'.
 
 ping6:ing myself works, but connecting to port 22 does not. The intial SYN 
 gets through and is responded to by an ACK, but that ACK is seemingly 
 dropped. This inspite of the fact that 'pfctl -s state' shows a tracked 
 connection for the relevant port pair.
 
 I can work around it by allowing all packets from my own IP on the tunneling 
 interface, but as far as I know this should not be required. That is, 
 connection tracking should be working even for local connections on a 
 particular interface - correct?
 
 Note that connecting to port 22 works perfectly from outside IP:s (I had 
 someone external verify this) without any special casing of the rules. That 
 is, I only have the usual rules for allowing the incoming packets to port 22, 
 and the rule allowing outgoing packets with 'keep state'. The fact that this 
 allows successful establishment to port 22 by an external party suggests to 
 me that I have not made some trivial misstake in the rule - yet connections 
 to myself do not work.
 
 My question is whether there are any known issues that this sounds like - or 
 of course if there is some reason why this is not supposed to work by design.

Are you using antispoofing rules on your external interface?  If you've got
something like this in your ruleset:

   antispoof log quick for $ext_if

Then it will expand into a series of rules containing the following when you 
load
them:

block drop in log quick on ! em0 inet from 12.34.56.72/29 to any

Where 12.34.56.72/29 is the address of the network your external interface
(em0) is attached to.  (Although the example I show is for IPv4, exactly the
same applies for IPv6) End result is that you cannot connect to a service
listening on your external IP from the box itself, because that does not
result in inbound packets traversing the em0 interface.  And it's a 'quick'
rule, so you can't override it by adding a more specific rule later in the
ruleset.

In general, use antispoof for the loopback as a standard part of any ruleset
you write.  Antispoof on other interfaces should be considered carefully and
only applied where necessary.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


question: How to use SERIAL PORT

2006-09-24 Thread m.shenven
[EMAIL PROTECTED]
 serial and UART Tutorial, by Frank Durda 
Sirs,
Where on the Internet can I details of:  How to program a 
WINDOWS XP computer so that in will input/output to an external device through 
its SERIAL PORT? 

ANY information you can supply, would bew greatly appreciated !
m.shenven
[EMAIL PROTECTED]



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


Re: question: How to use SERIAL PORT

2006-09-24 Thread Mike Fern

On 9/24/06, m.shenven [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED]
 serial and UART Tutorial, by Frank Durda 
Sirs,
Where on the Internet can I details of:  How to program a
WINDOWS XP computer so that in will input/output to an external device through 
its SERIAL PORT?

ANY information you can supply, would bew greatly appreciated !
m.shenven
[EMAIL PROTECTED]


afaik,
there should be plenty of.
in visual basic you can use mscomm object to utilize the serial port.
in general, you can query how to communicate with windows COM port.

by the way, i think this is a freebsd list, not window$ :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Thin Terminals

2006-09-24 Thread Ansar Mohammed
 Does it dance the Sun Ray dance, or are we back to rolling our own?
 
 Ceri


Huh?
Clearly, its not as attractive as a Sun Ray. But I dunno about dancing and
rolling..

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


Re: Radeon R300 3d support

2006-09-24 Thread Andrew Pantyukhin

On 9/23/06, Steve Roome [EMAIL PROTECTED] wrote:

Hi, I've noticed a lot of people trying to get radeons with R300 and
newer cores working with FreeBSD and 3D acceleration. At least there's
been a fair few unanswered requests for it for a while now.

So, does anyone know when the newer ati drivers will be put in the x.org
port, or when that will be updated.


xorg 7.x will hit the ports tree any time now. 6.9 already has some
basic support, e.g. my 9550 works, very slowly though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dual Monitor problems

2006-09-24 Thread Jonathan Arnold
I'm using FreeBSD 6.1 (by way of PC-BSD 1.2) and I'm trying to
get my ATI x850 card to work with dual monitors.  I have the
xorg.conf set up correctly (see my blog post on the long hard
battle to get that beachhead secured here:

http://freebsd.amazingdev.com/blog/archives/000744.html

)

but now I've run into further resistance and I can't seem to
work around it.  Soon after I get running using the dual monitors,
the whole machine just freezes.  This always happens, and usually
while KDE is putting up its tip dialog box.  I've tried using a
different window manager (like fluxbox) but that didn't seem to
help.  Soon after logging in, the whole machine freezes solid.

Anything else I can try? What sorts of things can I tweak? I
run just fine if I don't do that dual monitor thing.  You can
see more or less what my xorg.conf file looks like on my blog
post.  I don't see any errors anywhere, including Xorg.0.log or
.xsession-errors, or anything else in /var/log. The whole machine
just freezes up.

--
Jonathan Arnold
Daemon Dancing in the Dark, a FreeBSD blog:  http://freebsd.amazingdev.com/blog

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


NFS configuration

2006-09-24 Thread David Bila
Dear All,

Im triyng to get NFS installed in one of my FreeBSD server so I can share 
some folders on it and be able to save documents on the shared folders 
remotely. I did all the configuration both in the server and the client. 
When I try to mount the exported folders I get a message saying Permission 
Dined. I did check the export file under /etc, the client I was trying to 
mount from is listed. What I might be missing? 

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


Re: freebsd 6.1 floppy installation problem - boot loader finds only 16MB, but I have 256 MB - and it hangs

2006-09-24 Thread backyard


--- Vo¹tenák Vladimír  [EMAIL PROTECTED] wrote:

 Hi
 
 I have an old HP NETSERVER PRO 2xpentium pro, 256 MB
 ram, 
 and I tried to install the actual FREEBSD 6.1 there.
 I made 3 
 floppies: boot, kernel1 and kernel2. When it starts
 booting from 
 the boot floppy, the loader show I only have 16 MB
 of RAM 
 (instead 256MB I have there). Then it asks for
 kernel1 and 2 
 disk, and boot disk again. It gives me also the
 entry FREEBSD 
 display with countdown - to choose boot type -
 default, no 
 acpi, secure etc. I tried it all, but it alwaysl
 hangs after about 5 
 second after any choice. So I must just reboot. I
 think it is just 
 because the lack of RAM, because, I think it
 requirets at least 24 
 MB of RAM.
 I have found something about this on the web, that
 it is 
 necessary options MAXMEM=n to use all the RAM,
 because old 
 BIOSes shows just first 16 MB or so, but I am just
 doing the 
 installation. So how can I modify the kernel on the
 floppies to 
 use such option during the installation from
 floppies? Or should I 
 install from other media???Please can you help me
 with 
 this??How can I make the installation boot
 floppy see all the 
 RAM I have?
 Thank you very much for your reply.
 
 Greetings
 
 Vladimír Vo¹tenák
 

make sure you don't have OS/2 compatability mode in
your BIOS turned on. That will limit a system to 16
megs of RAM. I haven't played with an HP Netserver but
I have several Kayaks that run things fine with about
the same aged bios.


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


Re: NFS configuration

2006-09-24 Thread Armin Pirkovitsch
David Bila wrote:
 Dear All,
 
 Im triyng to get NFS installed in one of my FreeBSD server so I can share 
 some folders on it and be able to save documents on the shared folders 
 remotely. I did all the configuration both in the server and the client. 
 When I try to mount the exported folders I get a message saying Permission 
 Dined. I did check the export file under /etc, the client I was trying to 
 mount from is listed. What I might be missing? 

Have you restarted mountd and nfsd after you added the hosts and mount
points?
(are you aware that you can only share whole mountpoints?)
When you type mount, does it say NFS exported for the partitions
you've made available?

-- 
Armin Pirkovitsch
[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: Thin Terminals

2006-09-24 Thread Ceri Davies
On 24/9/06 13:52, Ansar Mohammed [EMAIL PROTECTED] wrote:

 Does it dance the Sun Ray dance, or are we back to rolling our own?
 
 Ceri
 
 
 Huh?
 Clearly, its not as attractive as a Sun Ray. But I dunno about dancing and
 rolling..

Does it work with Sun Ray server?

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere



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


Re: question: How to use SERIAL PORT

2006-09-24 Thread David Kelly


On Sep 24, 2006, at 5:26 AM, m.shenven wrote:


[EMAIL PROTECTED]
 serial and UART Tutorial, by Frank Durda 
Sirs,
Where on the Internet can I details of:  How to program a
WINDOWS XP computer so that in will input/output to an external  
device through its SERIAL PORT?


ANY information you can supply, would bew greatly appreciated !
m.shenven
[EMAIL PROTECTED]


First download and install the serial port driver CDs found here:
ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.1/

The above driver is much simpler to use than the serial port routines  
that come in Windows. Additional benefit is that code written to the  
FreeBSD driver works almost unchanged in MacOS X.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: FreeBSD locale and sympa

2006-09-24 Thread Atom Powers

On 9/22/06, RJ45 [EMAIL PROTECTED] wrote:


Hello,
I installed sympa5 from the FreeBSD ports collection.
I am running FreeSBD 6.1

The problem is that the main sympa web interface does not show me the
language options, so I cannot choose a language, and also the language
menu is filled of spaces, empty spaces.
Also I can't even set a default language, only en_US works.
IS there any problem related to FreeBSD gettext ?

anyone had this problem using sympa 5.2.1 on FreeBSD ?



I see the  same behavior, but it's not a reqired feature for me so I
haven't bothered trying to fix it.

But IIR, there is an error in my sympa log that looks relevant; I
don't remember the error but check your logs.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB based webcam

2006-09-24 Thread Erik Norgaard

Hi:

I have a laptop with a built in webcam:

  ugen0: Vimicro Corp. USB2.0 Web Camera, rev 2.00/1.00, addr 2

Since this goes on the generic usb device, I guess there is no driver.

Is this supported? Do I need to download a driver somewhere or will 
webcam software provide it?


Secondly, what software is recommended to make this useful?

Thansk, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel: calcru: negative runtime of -604787 usec for pid 16 (yarrow) messages..

2006-09-24 Thread Rob Gabaree
I see that in /var/log/messages I am getting messages like the  
following...


Sep 24 13:08:36 tx kernel: calcru: negative runtime of -604849 usec  
for pid 16 (yarrow)
Sep 24 13:08:36 tx kernel: calcru: negative runtime of -604842 usec  
for pid 16 (yarrow)
Sep 24 13:08:38 tx kernel: calcru: negative runtime of -604787 usec  
for pid 16 (yarrow)
Sep 24 13:08:38 tx kernel: calcru: negative runtime of -604787 usec  
for pid 16 (yarrow)
Sep 24 13:08:40 tx kernel: calcru: negative runtime of -604719 usec  
for pid 16 (yarrow)
Sep 24 13:08:40 tx kernel: calcru: negative runtime of -604719 usec  
for pid 16 (yarrow)
Sep 24 13:08:42 tx kernel: calcru: negative runtime of -604665 usec  
for pid 16 (yarrow)
Sep 24 13:08:42 tx kernel: calcru: negative runtime of -604665 usec  
for pid 16 (yarrow)


It always happens to pid 16 (yarrow).  I tried reinstalling the  
system as well and it still shows up.  It doesn't always appear  
however; I just went two days without the message.  I don't really  
know what is causing it?


Anyone have any opinions?  It is a SuperMicro PDSMi motherboard,  
Intel Pentium D 930 CPU.


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


Problems with X mouse pointer

2006-09-24 Thread Ivan \Rambius\ Ivanov

Hello,

After an year of successful using of FreeBSD, a friend of mine asked
me to install it on her laptop. The laptop is Pestigio Visconte 120
with Intel 855 chipset.

I installed FreeBSD 6.1 and run X with only one problem. The mouse
pointer in X is not a normal arrow, but a white big square. I can use
the mouse - the pointer, although a square, responds to moves and
clicks. I googled and I found some threads about redglass and
whiteglass themes and I have them in /usr/X11R6/lib/X11/icons. Could
you please help me in adjusting the pointer in the X environment?

I also enabled the mouse in the text terminals and it works fine - the
pointer is an arrow.

I am attaching /etc/X11/xorg.conf and /etc/rc.conf (with network
information masked) for completeness and uname -a gives:
FreeBSD . 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7
04:42:56 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

Thank you very much for your help in advance.

Regards
Ivan

--
Tangra Mega Rock: http://www.radiotangra.com


xorg.conf
Description: Binary data


rc.conf
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: Making simple colorful block diagrams for presentations

2006-09-24 Thread Alberto Rizzi
ajm ha scritto:
 On Sat, Sep 16, 2006 at 11:57:35AM +0200, Erik Trulsson wrote:
 On Sat, Sep 16, 2006 at 03:20:00PM +0530, Girish Venkatachalam wrote:
 Hello,

 I want a simple tool that can be used for preparing block diagrams and
 arrows, that is all. I want to be able to use few colors, that is all.

 Please don't suggest openoffice or kde. I want something simple.

 graphics/xfig  might be worth looking at.


 -- 
 Insert your favourite quote here.
 Erik Trulsson
 [EMAIL PROTECTED]
 
 
 try alsographics/tgif
 
or graphics/dia
-- 

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


Restricting access to home directory

2006-09-24 Thread Matt Juszczak

Hi all,

I would like to give a user access to my box via some kind of FTP but 
restrict him to his home directory.


I have seen scponlyc, which supposedly can do this, but can't seem to get 
it working.


I have also read up on protftpd + ssl, and configuring it to lock users 
into their home directories.


What would all of you recommend as a viable secure solution to this?

Thanks!

-Matt
___
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 X mouse pointer

2006-09-24 Thread Ivan \Rambius\ Ivanov

On 9/24/06, Ivan Rambius Ivanov [EMAIL PROTECTED] wrote:

Hello,

After an year of successful using of FreeBSD, a friend of mine asked
me to install it on her laptop. The laptop is Pestigio Visconte 120
with Intel 855 chipset.

I installed FreeBSD 6.1 and run X with only one problem. The mouse
pointer in X is not a normal arrow, but a white big square. I can use
the mouse - the pointer, although a square, responds to moves and
clicks. I googled and I found some threads about redglass and
whiteglass themes and I have them in /usr/X11R6/lib/X11/icons. Could
you please help me in adjusting the pointer in the X environment?

I also enabled the mouse in the text terminals and it works fine - the
pointer is an arrow.

I am attaching /etc/X11/xorg.conf and /etc/rc.conf (with network
information masked) for completeness and uname -a gives:
FreeBSD . 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7
04:42:56 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

Thank you very much for your help in advance.

Regards
Ivan



Hello,

I found the solution by accident.

I enabled the following option

Option SWcursor True

in Section Device in xorg.conf, then I restarted X and the mouse
pointer was fine.

Regards
Ivan

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


Re: Restricting access to home directory

2006-09-24 Thread Martin Hudec

Hello Matt,

Matt Juszczak wrote:

Hi all,

I would like to give a user access to my box via some kind of FTP but 
restrict him to his home directory.


I have seen scponlyc, which supposedly can do this, but can't seem to 
get it working.


I have also read up on protftpd + ssl, and configuring it to lock users 
into their home directories.


What would all of you recommend as a viable secure solution to this?


First of all, scp (scponly) is not a FTP service. Nevertheless both 
options are just fine. Proftpd is able to jail users inside their dirs.


Settings required in proftpd.conf:

DefaultRoot ~ [group]

where ~ are their specified homedirs and group is optional (members of 
that group will be jailed to their homedirs, others will be able to 
browse everywhere, if group is not used, everybody using proftpd will be 
jailed).


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


Re: Restricting access to home directory

2006-09-24 Thread albi
On Sun, 24 Sep 2006 15:09:23 -0400 (EDT)
Matt Juszczak [EMAIL PROTECTED] wrote:

 I would like to give a user access to my box via some kind of FTP but 
 restrict him to his home directory.
 
 I have seen scponlyc, which supposedly can do this, but can't seem to
 get it working.

and what do you mean can't seem to get it working ?

with scponly you also have a chroot-option, if your user is the only
scponly user, then the top-dir in the chroot-scponly setup could be his
home-dir (disclaimer, i've successfully used scponly, but only read
documentation about chroot-scponly, not used that yet)

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


swap

2006-09-24 Thread Pietro Cerutti

Hi list,
512 MB of Ram, 1024 MB of swap, 6.1-STABLE

After some time my system begins swapping, which is normal.
The weird thing is that swapping goes on even after closing the memory
consuming programs.

here's the output of top(1):

Mem: 103M Active, 37M Inact, 107M Wired, 6656K Cache, 60M Buf, 240M Free
Swap: 1024M Total, 106M Used, 918M Free, 10% Inuse

Why the swapped pages don't get recalled back to main mamory (which
has sufficient free space for them), freeing the swap device and thus
speeding the system up?

Thanx for any explanation,

Regards,

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: swap

2006-09-24 Thread Dan Nelson
In the last episode (Sep 24), Pietro Cerutti said:
 512 MB of Ram, 1024 MB of swap, 6.1-STABLE
 
 After some time my system begins swapping, which is normal.
 The weird thing is that swapping goes on even after closing the memory
 consuming programs.
 
 here's the output of top(1):
 
 Mem: 103M Active, 37M Inact, 107M Wired, 6656K Cache, 60M Buf, 240M Free
 Swap: 1024M Total, 106M Used, 918M Free, 10% Inuse

I se no swapping here (that would show up as ###K In, ###K Out on the
swap line).  You have swap space in use but not actively used.
 
 Why the swapped pages don't get recalled back to main mamory (which
 has sufficient free space for them), freeing the swap device and thus
 speeding the system up?

Once the kernel decides to swap a page, that area of swap is reserved
until the process exits, even if the kernel pulls the data back from
swap.  That way if memory gets low again, the kernel knows it can
quickly discard the in-RAM copy of the data (since there's already a
copy in swap).

Processes likely to have pages swapped out are gettylogin proceses for
unused ttys, lpd, sshd and other long-running daemons, etc.  There's no
reason to pull those pages back into RAM because you're more likely to
need that RAM for something else.

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


GAIM not capable of sending files, but can receive

2006-09-24 Thread O. Hartmann

Sorry, maybe a little bit off-topic here.

I tried using GAIM as IM, but ran into trouble. Receiving documents is 
working, but with or without any kind of firewall sending files is not 
possible.


The GAIM installation is as is taken from the ports collection, firewall 
disabled ... Tried ICQ/MSN/Yahoo and IRC, always the same, no sending, 
but receiving ...


Any help appreciated,

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


Re: GAIM not capable of sending files, but can receive

2006-09-24 Thread Armin Pirkovitsch
O. Hartmann wrote:
 Sorry, maybe a little bit off-topic here.
 
 I tried using GAIM as IM, but ran into trouble. Receiving documents is
 working, but with or without any kind of firewall sending files is not
 possible.
 
 The GAIM installation is as is taken from the ports collection, firewall
 disabled ... Tried ICQ/MSN/Yahoo and IRC, always the same, no sending,
 but receiving ...
 
 Any help appreciated,

Are you connceted directly to the net or over a router / server with nat?
If it's not directly you have to forward ports to the client pc for
direct connections (like  file sending)

-- 
Armin Pirkovitsch
[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: swap

2006-09-24 Thread Pietro Cerutti

On 9/24/06, Dan Nelson [EMAIL PROTECTED] wrote:

Once the kernel decides to swap a page, that area of swap is reserved
until the process exits, even if the kernel pulls the data back from
swap.  That way if memory gets low again, the kernel knows it can
quickly discard the in-RAM copy of the data (since there's already a
copy in swap).


Thanx for the insight...


--
Dan Nelson
[EMAIL PROTECTED]




--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hitachi disk performance

2006-09-24 Thread ajmm
  
  
Hi!  
  
I saw your posts with title Performance issue amd64. I don't know if this  
could help, but I'm having the same problem with ICH5 SATA controller and the  
same Hitachi drives on linux. I cannot activate DMA, and bandwidth is lesser 
than 10MB/s. I could not solve the problem, until now. BTW, with any other 
drives, the problem does not exist.  
  
Antonio Marques  
__
Continua a preferir gastar mais?
Compare o preço da sua ligação à Internet
http://acesso.portugalmail.pt/compare
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


some apps very slow under Gnome

2006-09-24 Thread Gary Kline
Guys,

This may/may not prove the superiority of BSD over the Linux 
kernel, dunno.   Maybe you can help me figure out what I
need to tune; or (*sob*) lighten  my load on ethos.  

I've got three of the 4 default workspaces full of apps.
Mostly xterms or gnome-terminals.  I have 1G RAM, a huge 
disk, a 2800 AMD chip, yet realplay is *very* slow to respond.
It's time-counter changes only ever 8 seconds and when I 
cover part or all, it takes several seconds to fill back in.

Is this a bug in xorg or in realplay or what?  Last night I
closed realplay and began having similar problems with one of the
terminals.  I have run CTWM for years so am used to a lightweight
wm.  I haven't checked to see if gnome/kde-LITE are available.
That may be the problem.

I am reluctant to post this to the ubuntuforums because I've 
already asked enough idiot questions ...  (Sure, I do the
same here, but I know you guys:-)

I could close all my xterms and see, but it took hours to get 
things configured just the way I  want!

tia, you'n's,

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Want to install RELEASE-6.1, have 5.3 disks

2006-09-24 Thread Jason Artz


--- Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED]
wrote:

 
 On Sep 23, 2006, at 2:34 PM, Jason Artz wrote:
 
  Hello,
 
  I want to install FreeBSD 6.1 on my system, but I
 only
  have a version 5.3 CD.  I can tell sysinstall to
 get
  6.1 instead of 5.3 via FTP (under Options,
 Release
  name), but I read that using an old sysinstall to
  install a new version is a bad idea.  I cannot
 figure
  out how to obtain a new sysinstall without making
 boot
  floppies (I have no floppy drive nor a CDRW).  Can
 I
  install 5.3 and then somehow upgrade via FTP to
 6.1?
  Or download the new sysinstall to my 5.3
 installation,
  run it, and install 6.1 instead?  What's the best
  method?
 
 Can you just download the 6.1 iso disks and make new
 installer disks?
 
 Otherwise, you can install 5.3 and use cvsup to
 upgrade to 6.1  
 through a source upgrade.  Just follow the
 instructions carefully.

Is there a way to do a binary install instead of
downloading all the new sources and compiling them as
an upgrade?  I don't have a floppy or CDRW drive so I
cannot burn new installer disks.  I am stuck with 5.3
installer disks.  It seems that there should be a way
for me to do a fresh, binary install of 6.1 from 5.3. 


What if someone sent me a copy of 6.1s sysinstall and
I ran it from the 5.3 environment?  Would that allow
me to do a proper, fresh 6.1 install via FTP?  I have
tried installing 6.1 with my sysinstall and it will
not boot.

Anyone have any ideas?  

Thanks,
Jason

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


Do I need to completely disable sendmail?

2006-09-24 Thread Rob Gabaree

Hi,

I have a remote server that I don't plan on using for email as I have  
another server to handle that.  My question is.. is it a bad idea to  
_completely_ disable sendmail on that machine?  Right now /etc/ 
rc.conf has:


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

But I checked /var/log/maillog and saw about 5 archives of messages  
that looked like this:


Sep 24 03:01:09 ny sendmail[63140]: k8I719YD078452: k8O71858063140:  
return to sender: Cannot send message for 5 days
Sep 24 03:01:09 ny sendmail[63140]: k8O71858063140: to=postmaster,  
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=49386, relay= 
[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]


So what should I do?  Should I just have sendmail_enable=NO in / 
etc/rc.conf, so only the incoming mail service is disabled?  That way  
messages could be sent without the above errors?  Or what?


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


Re: Want to install RELEASE-6.1, have 5.3 disks

2006-09-24 Thread Kris Kennaway
On Sun, Sep 24, 2006 at 02:12:24PM -0700, Jason Artz wrote:

 Is there a way to do a binary install instead of
 downloading all the new sources and compiling them as
 an upgrade?

Sort of.  You can do it by hand if you're careful (the install files
-- base.aa, etc -- are just .tar.bz2 files cut up into chunks which
you can recombine and extract with cat | tar), but you'll need to take
care to avoid overwriting things like /etc that you may care about.

Kris


pgpC8bWVQRoiN.pgp
Description: PGP signature


Re: Hitachi disk performance

2006-09-24 Thread O. Hartmann

[EMAIL PROTECTED] wrote:
  
  
Hi!  
  
I saw your posts with title Performance issue amd64. I don't know if this  
could help, but I'm having the same problem with ICH5 SATA controller and the  
same Hitachi drives on linux. I cannot activate DMA, and bandwidth is lesser 
than 10MB/s. I could not solve the problem, until now. BTW, with any other 
drives, the problem does not exist.  
  
Antonio Marques  
__

Continua a preferir gastar mais?
Compare o preço da sua ligação à Internet
http://acesso.portugalmail.pt/compare
  
I did not dig deeper into that problem - due to the lack of suitable 
hardware. Bonnie shows about 55 MB/s sustained performance, sometimes 
higher, burst reaches 117 MB/s. With the old disks, both values were 
about 25 MB/s higher. I doubt this is only a partition layout related 
issue. The average performance droped remarkable, especially while 
compiling world.


At the Hitachi website I did not find any hint about issues with several 
controllers or especially with SATA PseudoRAID like nForce4 offers, hope 
this can be fixed anyway and it's a simple firmware issue.


Checking the disks via the Hitachi brewn drive fitness tool gives no 
suspicious data, mode is SATA II/300, no accoustic or energy management 
and so on ...


I would appreciate any solvage, if you have one!

Well, in your case, I would check whether your drive is in SATA 150 mode 
(factory setting) or SATA 300, as I know the ICH5 is only SATA 150 and 
drives with problems switching to SATA 150 while in SATA 300 could cause 
problems.


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


Re: GAIM not capable of sending files, but can receive

2006-09-24 Thread O. Hartmann

Armin Pirkovitsch wrote:

O. Hartmann wrote:
  

Sorry, maybe a little bit off-topic here.

I tried using GAIM as IM, but ran into trouble. Receiving documents is
working, but with or without any kind of firewall sending files is not
possible.

The GAIM installation is as is taken from the ports collection, firewall
disabled ... Tried ICQ/MSN/Yahoo and IRC, always the same, no sending,
but receiving ...

Any help appreciated,



Are you connceted directly to the net or over a router / server with nat?
If it's not directly you have to forward ports to the client pc for
direct connections (like  file sending)

  
My box at home is connected to the net via a DSL router. The box has a 
192.168.xxx.xxx Ip, and therefore, I think you sketched the problem the 
right way. Is there a way to do this automatically via pf(1)? It would 
be weird to forward each connection, most of them DHCP obtained IPs, by 
hand. Sorry, I'm not very familiar with that stuff ...


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


Re: Patches for jail support of multiple IPs?

2006-09-24 Thread Michael Eubanks
On Sat, 2006-09-23 at 12:51 -0700, Chris wrote:
 Are there any official patches to support multiple IPs in jails or  
 would I be limited to taking a chance with the few 6.1 patch files  
 I've found on the net. I searched the UPDATING on HEAD and for  
 anything that might be related but found nothing. Everything I could  
 google on the subject led me to sources that didn't appear to be  
 related to the project. I'm suspicious of using patches being  
 developed outside of the freebsd community yet I'd really hoped to  
 move to a completely jailed OS for our servers. Is it just too soon  
 to be looking for this capability in a production capacity?

I suppose you could alias your primary network interface, then use a
simple firewall with multiple divert sockets for address translation,
thereby forwarding packets to a single jail IP (possible with multiple
jail ports open).

-Michael S. Eubanks
 [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: Do I need to completely disable sendmail?

2006-09-24 Thread Michael S
I have the same four lines in rc.conf, but that is
because I installed postfix.
If you want to disable it completely, you'd use
sendmail_enable=NONE, but you wouldn't be able
receive messages sent by crontab, syslogd, etc.

Michael

--- Rob Gabaree [EMAIL PROTECTED] wrote:

 Hi,
 
 I have a remote server that I don't plan on using
 for email as I have  
 another server to handle that.  My question is.. is
 it a bad idea to  
 _completely_ disable sendmail on that machine? 
 Right now /etc/ 
 rc.conf has:
 
 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 
 But I checked /var/log/maillog and saw about 5
 archives of messages  
 that looked like this:
 
 Sep 24 03:01:09 ny sendmail[63140]: k8I719YD078452:
 k8O71858063140:  
 return to sender: Cannot send message for 5 days
 Sep 24 03:01:09 ny sendmail[63140]: k8O71858063140:
 to=postmaster,  
 delay=00:00:00, xdelay=00:00:00, mailer=relay,
 pri=49386, relay= 
 [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
 refused by [127.0.0.1]
 
 So what should I do?  Should I just have
 sendmail_enable=NO in / 
 etc/rc.conf, so only the incoming mail service is
 disabled?  That way  
 messages could be sent without the above errors?  Or
 what?
 
 Thanks for any help.
 ___
 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: Do I need to completely disable sendmail?

2006-09-24 Thread Darrin Chandler
On Sun, Sep 24, 2006 at 05:18:27PM -0400, Rob Gabaree wrote:
 
 So what should I do?  Should I just have sendmail_enable=NO in / 
 etc/rc.conf, so only the incoming mail service is disabled?  That way  
 messages could be sent without the above errors?  Or what?

You should allow the system to send out it's mail. And it should go
somewhere meaningful (i.e., to you). And you should read it.

All my systems send me mail every day, and I scan through it to make
sure everything is okay. That's what those messages are for. :)

So, yes. You should disabled incoming, but allow submit, etc. You can
also firewall off incoming instead or in addition.

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GAIM not capable of sending files, but can receive

2006-09-24 Thread Armin Pirkovitsch
O. Hartmann wrote:
 Armin Pirkovitsch wrote:
 O. Hartmann wrote:
  
 Sorry, maybe a little bit off-topic here.

 I tried using GAIM as IM, but ran into trouble. Receiving documents is
 working, but with or without any kind of firewall sending files is not
 possible.

 The GAIM installation is as is taken from the ports collection, firewall
 disabled ... Tried ICQ/MSN/Yahoo and IRC, always the same, no sending,
 but receiving ...

 Any help appreciated,
 

 Are you connceted directly to the net or over a router / server with nat?
 If it's not directly you have to forward ports to the client pc for
 direct connections (like  file sending)

   
 My box at home is connected to the net via a DSL router. The box has a
 192.168.xxx.xxx Ip, and therefore, I think you sketched the problem the
 right way. Is there a way to do this automatically via pf(1)? It would
 be weird to forward each connection, most of them DHCP obtained IPs, by
 hand. Sorry, I'm not very familiar with that stuff ...

Well the portforward has to be done on the router, and the clients need
to know which ports they own on the inet ip. It's part of the file
sending protocol (at least icq and irc work that way)
So a portforward table which defines which ports are forwarded to which
ip is imho the only option.

-- 
Armin Pirkovitsch
[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: Restricting access to home directory

2006-09-24 Thread Marwan Sultan

Hi Matt!

 If you are talking about givin FTP access only, then
 the easiest way to do it is just adding the user to the file 
/etc/ftpchroot

 and thats all!!
 if the file does not exist. then create it.

 add to /etc/ftpchroot all users that you want them to ftp but never see 
any upper level of shell.


 have fun,
 Marwan Sultan
 System Administrator.


On Sun, 24 Sep 2006 15:09:23 -0400 (EDT)
Matt Juszczak [EMAIL PROTECTED] wrote:

 I would like to give a user access to my box via some kind of FTP but
 restrict him to his home directory.

 I have seen scponlyc, which supposedly can do this, but can't seem to
 get it working.


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Patches for jail support of multiple IPs?

2006-09-24 Thread Michael Eubanks
On Sat, 2006-09-23 at 12:51 -0700, Chris wrote:
 Are there any official patches to support multiple IPs in jails or  
 would I be limited to taking a chance with the few 6.1 patch files  
 I've found on the net. I searched the UPDATING on HEAD and for  
 anything that might be related but found nothing. Everything I could  
 google on the subject led me to sources that didn't appear to be  
 related to the project. I'm suspicious of using patches being  
 developed outside of the freebsd community yet I'd really hoped to  
 move to a completely jailed OS for our servers. Is it just too soon  
 to be looking for this capability in a production capacity?
 

Just a quick addition.  I don't think you'd even need multiple divert
sockets unless you have multiple interfaces on the external and/or
internal sides.  Depends on what your setup looks like and what you're
trying to accomplish.

-Michael S. Eubanks
 [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: Do I need to completely disable sendmail?

2006-09-24 Thread Pete Slagle
Rob Gabaree wrote:

 I have a remote server that I don't plan on using for email as I have  
 another server to handle that.  My question is.. is it a bad idea to  
 _completely_ disable sendmail on that machine? 

Yes.

You probably want to allow the server to send you administrative mail
that it generates itself, but not let it receive any from outside.

To do that:

(1) Use the default settings for sendmail by not specifying any . Delete
all lines containing sendmail from /etc/rc.conf. This will allow
outgoing mail only.

(2) Put a line in /etc/aliases that defines who receives root's e-mail
for the server. Point it to your actual e-mail address. For example,

  root: [EMAIL PROTECTED]

(3) Reboot.

That's it. Now the box can send you it's status information, but it
won't listen for any incoming mail.


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


Re: Patches for jail support of multiple IPs?

2006-09-24 Thread Chris

On Sep 24, 2006, at 2:38 PM, Michael Eubanks wrote:


On Sat, 2006-09-23 at 12:51 -0700, Chris wrote:

Are there any official patches to support multiple IPs in jails or
would I be limited to taking a chance with the few 6.1 patch files

I suppose you could alias your primary network interface, then use a
simple firewall with multiple divert sockets for address translation,
thereby forwarding packets to a single jail IP (possible with multiple
jail ports open).



Thank you, that does sound like an interesting approach. The  
application is maintain the multiple IP Addresses for the sites  
though the sites actually share much code and data. I also attempted  
using multiple jails all pointing to the same file system but was  
naturally discouraged by the jail configuration to do so as this  
seems to violate the concept. Seems wasteful of memory too. I will  
try the divert method next using a single jail.


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


Re: Do I need to completely disable sendmail?

2006-09-24 Thread Rob Gabaree

Thanks.

What I did was remove all lines except `sendmail_enable=NO` and in / 
etc/mail/aliases, I setup the root alias to goto my real email address:


root [EMAIL PROTECTED]

I setup my firewall to block incoming/outgoing email on ports 21/25  
as well, so no one on the outside can access mail services.


It seems to be working correctly, as I received mail as it was ran to  
my @mydomain.com email.


Does this seem ok?  Did I do anything wrong?

Thanks,
rob

On Sep 24, 2006, at 5:42 PM, Darrin Chandler wrote:


On Sun, Sep 24, 2006 at 05:18:27PM -0400, Rob Gabaree wrote:


So what should I do?  Should I just have sendmail_enable=NO in /
etc/rc.conf, so only the incoming mail service is disabled?  That way
messages could be sent without the above errors?  Or what?


You should allow the system to send out it's mail. And it should go
somewhere meaningful (i.e., to you). And you should read it.

All my systems send me mail every day, and I scan through it to make
sure everything is okay. That's what those messages are for. :)

So, yes. You should disabled incoming, but allow submit, etc. You can
also firewall off incoming instead or in addition.

--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |


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


make behavior with obj directory

2006-09-24 Thread Matthieu Michaud
i was noticed this behavior using make on freebsd and netbsd :

[EMAIL PROTECTED] cat Makefile
all:
pwd
[EMAIL PROTECTED] make
pwd
/usr/home/ohmer
[EMAIL PROTECTED] mkdir obj
[EMAIL PROTECTED] make
pwd
/usr/home/ohmer/obj

it seems a hard coded make behavior so it rather looks like a feature
than a bug. why is that ?

-- 
Matthieu Michaud [EMAIL PROTECTED]
EPITA SRS 2007 - Adaptive Hacking

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


Problem w/ py-ldap Installation

2006-09-24 Thread Ted Johnson
Hi;
I've installed the py-ldap from the ports doing the make install clean dance. 
Everything seemed to proceed smoothly. However, when I fired up my python 
interpreter and entered import ldap it didn't recognize the module. So 
something went wrong and I don't know what :( I did get this from the 
installation. Is it a problem? 

===   Registering installation for py24-ldap2-2.2.0
cyrus-sasl-2.1.22: /usr/ports/1 non-existent -- dependency list incomplete
openldap-sasl-client-2.3.27: /usr/ports/1 non-existent -- dependency list 
incomplete
py24-ldap2-2.2.0: /usr/ports/1 non-existent -- dependency list incomplete

If not, what is the problem?
TIA,
Ted2

-
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Recompiling base sendmail with another DB

2006-09-24 Thread Jack Stone
I've wanted to test the use of some of snertsoft's milters, but they require 
a Berkley DB-4.1+ I believe instead of the 1.85 used by the base system's 
sendmail.


Somewhere I read about recompiling sendmail, which then would allow me to 
comile with a different DB choice. The steps are below.


Where would I add the option for a different DB...???

# cd /usr/src/lib/libsm
# make obj  make depend  make
# cd /usr/src/lib/libsmutil
# make obj  make depend  make
# cd /usr/src/usr.sbin/sendmail/
# make obj  make depend  make  make install
# cd /etc/mail
# make all install restart

Thanks,
Jack

_
Share your special moments by uploading 500 photos per month to Windows Live 
Spaces  
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://www.get.live.com/spaces/features


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


Re: Do I need to completely disable sendmail?

2006-09-24 Thread Robert C Wittig

Rob Gabaree wrote:

Thanks.

What I did was remove all lines except `sendmail_enable=NO` and in 
/etc/mail/aliases, I setup the root alias to goto my real email address:


root [EMAIL PROTECTED]

I setup my firewall to block incoming/outgoing email on ports 21/25 as 
well, so no one on the outside can access mail services.


It seems to be working correctly, as I received mail as it was ran to my 
@mydomain.com email.


Does this seem ok?  Did I do anything wrong?


I run OpenBSD on my mailservers, but I expect that the sendmail works 
basically the same.


In /etc/rc.conf or its FreeBSD equivalent, check the sendmail line to 
see if it references localhost.cf or sendmail.cf


localhost.cf will permit internal mail on the machine, so that root can 
send messages to your everyday UID, etc., but will not permit mail to be 
sent to or received from, the Internet, or other machines in you LAN.


sendmail.cf will permit full Internet email, but even this will not 
permit Internet email, unless your machine has a fully Qualified Domain 
Name, which is registered with your domain registrar, and has the 
Registrar's MX setting configured properly.




--
-wittig http://www.robertwittig.com/
.   http://robertwittig.net/

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


lpd hewlett packard

2006-09-24 Thread justin


Hello,

I`m trying to configure my hp deskjet 520 and i`m running into some 
trouble.
The handbook says it all has to do with the interupt driven 
configuration, it does not work with some new hp printers.

I have to switch to the polled mode.

If you want polled mode, remove in your /boot/device.hints file, the 
following line: hint.ppc.0.irq=N.

Then they say i have to rebuild my kernel.

Now i ask myself what the /boot/device.hints file has to do with my 
kernel.
What sort of file is /boot/device.hints and why do i have to rebuild my 
kernel.


Thanks inadvance,
Justin.




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


Re: Want to install RELEASE-6.1, have 5.3 disks

2006-09-24 Thread backyard


--- Jason Artz [EMAIL PROTECTED] wrote:

 
 
 --- Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED]
 wrote:
 
  
  On Sep 23, 2006, at 2:34 PM, Jason Artz wrote:
  
   Hello,
  
   I want to install FreeBSD 6.1 on my system, but
 I
  only
   have a version 5.3 CD.  I can tell sysinstall to
  get
   6.1 instead of 5.3 via FTP (under Options,
  Release
   name), but I read that using an old sysinstall
 to
   install a new version is a bad idea.  I cannot
  figure
   out how to obtain a new sysinstall without
 making
  boot
   floppies (I have no floppy drive nor a CDRW). 
 Can
  I
   install 5.3 and then somehow upgrade via FTP to
  6.1?
   Or download the new sysinstall to my 5.3
  installation,
   run it, and install 6.1 instead?  What's the
 best
   method?
  
  Can you just download the 6.1 iso disks and make
 new
  installer disks?
  
  Otherwise, you can install 5.3 and use cvsup to
  upgrade to 6.1  
  through a source upgrade.  Just follow the
  instructions carefully.
 
 Is there a way to do a binary install instead of
 downloading all the new sources and compiling them
 as
 an upgrade?  I don't have a floppy or CDRW drive so
 I
 cannot burn new installer disks.  I am stuck with
 5.3
 installer disks.  It seems that there should be a
 way
 for me to do a fresh, binary install of 6.1 from
 5.3. 
 
 
 What if someone sent me a copy of 6.1s sysinstall
 and
 I ran it from the 5.3 environment?  Would that allow
 me to do a proper, fresh 6.1 install via FTP?  I
 have
 tried installing 6.1 with my sysinstall and it will
 not boot.
 
 Anyone have any ideas?  
 
 Thanks,
 Jason
 
 ___


I thought if you went to the options in sysinstall and
go to the part that says Release Name and it likely is
going to say 5.3-RELEASE change that to 6.1-RELEASE
and then do an ftp install. You should get the newer
version of the system. I have used this to install
5.4-CURRENT in th past from 5.4 bootdisks. I would
have to assume it should work for a newer release as
the distribution is packed the same.

I know this is how one would have sysinstall choose an
arbirtrary custom built installation of FreeBSD from
say an NFS mount.

-brian


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


RE: Recompiling base sendmail with another DB

2006-09-24 Thread Jack Stone

From: Jack Stone [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: Recompiling base sendmail with another DB
Date: Sun, 24 Sep 2006 17:59:54 -0500

I've wanted to test the use of some of snertsoft's milters, but they 
require a Berkley DB-4.1+ I believe instead of the 1.85 used by the base 
system's sendmail.




Nevermind, I found my answer... no easy way.

Thanks  sorry for the premature question.

Jack

_
Search—Your way, your world, right now!  
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-usFORM=WLMTAG


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


Re: Want to install RELEASE-6.1, have 5.3 disks

2006-09-24 Thread Kris Kennaway
On Sun, Sep 24, 2006 at 05:49:59PM -0700, backyard wrote:

 I thought if you went to the options in sysinstall and
 go to the part that says Release Name and it likely is
 going to say 5.3-RELEASE change that to 6.1-RELEASE
 and then do an ftp install. You should get the newer
 version of the system. I have used this to install
 5.4-CURRENT in th past from 5.4 bootdisks. I would
 have to assume it should work for a newer release as
 the distribution is packed the same.

Nope, as the OP correctly states this will often not work.  Your old
release can't know all the special steps required to update to a newer
release (files to not overwrite, etc).

Kris


pgpGPx9XtbrMl.pgp
Description: PGP signature


Re: Do I need to completely disable sendmail?

2006-09-24 Thread Jerry McAllister
On Sun, Sep 24, 2006 at 05:18:27PM -0400, Rob Gabaree wrote:

 Hi,
 
 I have a remote server that I don't plan on using for email as I have  
 another server to handle that.  My question is.. is it a bad idea to  
 _completely_ disable sendmail on that machine?  Right now /etc/ 
 rc.conf has:
 
 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 

What you have disables incoming Email, but sstill lets the system
send out Email.   That is good, because the system sends notices
about various things and you might want to send something from it
sometimes - such as sending a file to yourself or whatever but without 
receiving anything.

So, unless there is a very compelling reason, leave it the way it is.

jerry

 But I checked /var/log/maillog and saw about 5 archives of messages  
 that looked like this:
 
 Sep 24 03:01:09 ny sendmail[63140]: k8I719YD078452: k8O71858063140:  
 return to sender: Cannot send message for 5 days
 Sep 24 03:01:09 ny sendmail[63140]: k8O71858063140: to=postmaster,  
 delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=49386, relay= 
 [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
 
 So what should I do?  Should I just have sendmail_enable=NO in / 
 etc/rc.conf, so only the incoming mail service is disabled?  That way  
 messages could be sent without the above errors?  Or what?
 
 Thanks for any help.
 ___
 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]