Re: Digitemp on freebsd 6.1

2006-10-20 Thread leo fante



If I understand it right, digitemp is a Linux program - don't you need
to run it under Linux emulation?


I've compiled from the sources and the compilation succeeded without errors.

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


Re: increasing transmit speeds in WAN setting?

2006-10-20 Thread Ted Mittelstaedt

- Original Message - 
From: Moses Leslie [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, October 19, 2006 1:33 AM
Subject: Re: increasing transmit speeds in WAN setting?


 Hi Ted,

 While I don't totally discount that possibility, I really don't think
 that's the case.

I told you that you wouldn't believe me.

 We have over 500 servers, most of them running FreeBSD,
 and we've seen this happen in multiple cases on different hardware.

Except all of them gigabit cards, right?  So much for different hardware

 When
 it's linux, exact same hardware, exact same cables, this doesn't happen.

 It's an intel card gbit card, using the em driver.  They're uplinked to
 Cisco 2948-getx switches, which are uplinked to 65xx's, which then go to
 12xxx borders.  There aren't any collision errors on the port at all:

 24 totalCollisionCount= 0
 25 lateCollisionCount = 0
 26 singleCollisionFrames  = 0
 27 multipleCollisionFrames= 0
 28 excessiveCollisionFrames   = 0

 and no real errors to speak of, period.

 The port is auto, since it needs to be to get gbit.  All of the non-gbit
 servers we have are forced 100/full, all cisco switches, all intel 100/pro
 (fxp) drivers, they all show this same problem.


Well right there you are doing things wrong.  You should always set
ethernet cards to auto.  The only time you ever force 100/full or force
anything, speed/duplex, is when your plugged into a hub that does NOT
autoswitch.  There's very few of them around that are 100base T, but
there are some, and there's a lot more 10baseT stuff that wasn't
autoswitching.

Any halfway decent 100baseT hub will support nway autonegotiation and
when you hard-code post speeds you will cause drops and speed loss.
But, please don't take my word for it since you seem to like disbelieving
me, just try it out yourself.

Go to your fxp servers, login to your switches, set the switch port to the
server to autonegotiation, on the server remove all the media options in
/etc/rc.conf,
shut down the server (you must power it down for the ports to switch
into autonegotiation) and bring it up and you will see both sides negotiate
to 100base T full, and a lot of your problems in throughput will disappear.

Both the switch and the servermust be set to autonegotiation.  If they
don't autonegotiate to 100baseTfull, then you have a cable problem, simple
as that.

I've been doing ethernet since the late 80's and doing it professionally
for a decade, and I've seen and use more different types of ethernet in my
life than you will ever see in the rest of your career.

The idea that your supposed to override the autonegotiation and hard
code stuff originated from network admins who plugged early 100baseT
stuff together then couldn't figure out why it didn't autonegotiate to
100baseT
full.  What they didn't realze is that the cabling they were using - CAT-3
mostly,
or CAT-5 that had been incorrectly terminated with the wrong connectors, or
wrong plugs, or wrong wiring pattern, or bad crimps because they were using
stranded plugs on solid core wire, or some other such thing, what the real
culprit, and the autonegotiation chips were in fact detecting the problem
and trying to protect the network.

Unfortunately, 90% of network admins out there don't know the first thing
about layer-1, they assume the wiring contractors handle all that.  The
wiring
contractors by contrast are mostly minimum-wage goobers who's heads
are filled with a lot of rediculous nonsense about how Ethernet really
works.

 If the server is a 4.9 server, I can get ~400KB/s.  If it's 6.1, ~300KB/s.
 Linux 2.6, ~650KB/s, which is about what I'd expect given the latency and
 the default settings.  All on the same hardware, same switches, same
 cables.


The Linux device drivers are simply different than the FreeBSD drivers.
I don't know how much more I can tell you this over and over.  The em
driver has got some problems, granted.  But, this has absolutely nothing
to do with the FreeBSD version or the TCP/IP stack.

Until you do what I told you to do and properly setup and test under
fxp0, I am just not going to waste my time on this anymore.  I will
leave you with a printout of a test run on a new mailserver I'm building up
right now, in fact, using an fxp card, to prove it's a not a stack problem.
You can choose to believe it or you can choose to continue wasting your
time chasing ghosts in the TP stack when the problem is the driver:

$ whoami
tedm
$
$ fetch ftp://ftp.freebsd.org/pub/FreeBSD/ls-lR.gz
ls-lR.gz  100% of   18 MB 1057 kBps
00m00s
$
$ ping ftp.freebsd.org
PING ftp.freebsd.org (62.243.72.50): 56 data bytes
36 bytes from ge2-16.1000M.d5.opa.tdk.net (195.41.33.70): Communication
prohibited by filter
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 5400 82f2   0   33  01 6e38 65.75.206.14  62.243.72.50

^C
--- ftp.freebsd.org ping 

Re: Small Redundant web/mail setup

2006-10-20 Thread Ted Mittelstaedt

- Original Message - 
From: Zbigniew Szalbot [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org; Ian Lord [EMAIL PROTECTED]
Sent: Thursday, October 19, 2006 12:06 AM
Subject: Re: Small Redundant web/mail setup


 Hello,

 On Wed, 18 Oct 2006, Ted Mittelstaedt wrote:

  The really big ISP's use proprietary commercial clustering solutions
  that make multiple systems appear as one single system.  We are talking
  hundreds of thousands to millions of users.  We are not talking 5000
  users or fewer.
 
  You can easily serve 5K users on a single server.  You just need to
  get good hardware.  In other words, costs start at $5000 and go up.

 Ian - not sure if it is appropriate to ask but because one day I will need
 to think about a server with solid hardware, what would you advise me to
 look at? I mean look company-wise? Or simply select from a list of a
 server-type machines that costs more than 5K?


Well, you probbaly want to start with the name brands who actually know
that FreeBSD exists!

Start here:

http://www.testdrive.hp.com

Click on the Sign Up for an Account link right under the FreeBSD logo.

Ted

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


Re: Small Redundant web/mail setup

2006-10-20 Thread Zbigniew Szalbot

Hello,

On Thu, 19 Oct 2006, Ted Mittelstaedt wrote:


Well, you probbaly want to start with the name brands who actually know
that FreeBSD exists!

Start here:

http://www.testdrive.hp.com


That's very helpful - thank you!!!

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


Re: Non English Spam

2006-10-20 Thread Ted Mittelstaedt

- Original Message - 
From: Erik Norgaard [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: Beech Rintoul [EMAIL PROTECTED];
freebsd-questions@freebsd.org
Sent: Tuesday, October 17, 2006 2:22 AM
Subject: Re: Non English Spam



 Also this means that later filtering on the first Received field is
 double work: You already accepted the mail based on that information.

 In short: Writing header filtering rules for the Received field is
 simply waste of time and proof of inefficiency.


I agree with this but unfortunately the real world often screws this up.

For example, SpamCop is one of the most effective blacklists on the
Internet because of it's high user participation.  Unfortunately, it
repeatedly blocks yahoomail, craigslist, and ebay because spammers
hate it and try to stuff it up so as to get people to stop using it.

As a result, you cannot use Spamcop to reject at the HELO.  Instead
you have to post-filter the mail and do your spamcop lookups, so
you can exempt domains like ebay that are legitimate.

 Just as Sendmail, Postfix is not designed for spam filtering. Postfix
 provides simple filtering mechanisms, keeping it simple postfix provides
 an effective and reliable MTA that doesn't suffer the track record of
 security bugs Sendmail does.

 When the native filters does not suffice you can combine with any number
 of policy services: External filtering mechanisms such as postgrey,
 spam assassin etc. This design is clean, reliable and easy to manage.


Same for Sendmail, you can use milters to add all this stuff in.  Or you
can do it in the local delivery agent.


 OP requested a way to filter away the spam in foreign character sets
 because for some reason these were not caught by Spam Assassin or
 procmail. I gave a solution that solves that problem, and I mentioned
 the problem of false negatives for this list.

 Rather than get pissed, do try to offer an alternative solution to a
 real problem.


There really is no solution.  Fundamentally, well written spam is
not distinguishable from non-spam by a computer.  What has saved our asses
so
far is that there's not a spammer alive who has been able to resist the
temptation
to use bold, colors, blinking test, hot phrases, and other attention-getting
devices in their spams.  Since you can program a computer to look for the
attention getting stuff, what has happened is a little social engineering.

Most people today have abandonded use of attention-getting devices
in their e-mails because when they use HTMLized text and such,
their mails tend to get blocked as spam by everyone and their dog.
So, the spam content filters can still distinguish spam from non-spam
by looking for these differences.

But it is only a matter of time before the spammers all wake up and
smell the coffee, and start using standard ASCII pure text for their
spams, and then all these charset filters your loving will go gurgling
down the drain.

Granted that might make their spams less effective so they might
get less respondents.

Frankly, I think there is no technical solution, I think there are only
political solutions.  We've already made spam illegal in the US, and
the CAN-SPAM act defines the advertised party in the spams
also as a spammer, in addition to the actual spammer sending the
stuff.

It would be childs play for the FBI to work with the major ISP's
to create thousands of dummy e-mail addresses and use these
to capture spam runs.  Then they just go arrest the people in the
company that is being advertised and hang a few of them high.
There's no need to even go after the actual spammers themselves.

When this happens enough times, the supply of companies that
are willing to pay spammers to send spam will dry up, and the
spammers will go find some other criminal activity to engage in.

But, the FBI isn't doing this because many of the companies that
are hiring spammers have lots of money, and that gives them lots of
political power.  So, the will to curb spam just isn' t there even though
money earned by spammers is undoubtedly going into organized
crime, feeding terror cells, and other more nasty stuff.


 I asked politely if there were any consensus or best practices etc. on
 this issue. You have the regular mail on how to get the best results
 there are recommendations on how to use this list, they are not enforced
 but only serve as guidelines.

 I don't try to force people to use particular character sets, I merely
 ask whether such recommendation exist for the best results when using
 the list, in which case filtering on charsets may be the least
 imperfect solution (until you share your perfect filter, that is).


Your continuing to try to muddy the issue by inferring that personal
filters are the same as requirements to post.

You snipped all my explanation of what the differences are and responded
with a snotty request for a perfect filter, when I never said I ever had
one.

As I already stated, what people do on their own mailserver is 

Problem Firefox amd64.

2006-10-20 Thread Klaus Friis Østergaard
Hi,

I have a problem with firefox when I try to update using both portupgrade and 
portmaster.

I have cvsup the porttree, I have run a portsdb -F, I have a clean pkgdb -F.

I have tried to remove firefox, by make deinstall, make distclean, and install 
it again with make install clean.

It seems like it is a wrong compiler directive:

/usr/bin/ld: /usr/X11R6/lib/libgnome-keyring.a(gnome-keyring.o): relocation 
R_X86_64_32 can not be used when making a shared object; recompile with -fPIC

Please see below for further info from the upgrade.

But how do I solve this, it has been irritating me now for a couple of days.

It is a 5.4 release, with gnome 2.16.

Any help apriciated.

/Klaus

gmake[4]: Entering directory 
`/usr/ports/www/firefox/work/mozilla/modules/libpr0n/decoders/icon'
nsIconURI.cpp
c++ -o nsIconURI.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\FreeBSD5\ 
-DOSARCH=\FreeBSD\ -DBUILD_ID=00 -I./gtk 
-I../../../../dist/include/xpcom -I../../../../dist/include/string 
-I../../../../dist/include/gfx -I../../../../dist/include/imglib2 
-I../../../../dist/include/necko -I../../../../dist/include/imgicon 
-I../../../../dist/include -I/usr/local/include/nspr -I/usr/local/include 
-I/usr/local/include  -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include  
-I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall 
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O -pipe -O2 
-fno-strict-aliasing -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O2  
-I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include 
-DMOZILLA_CLIENT -include ../../../../mozilla-config.h nsIconURI.cpp
nsIconModule.cpp
c++ -o nsIconModule.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\FreeBSD5\ 
-DOSARCH=\FreeBSD\ -DBUILD_ID=00 -I./gtk 
-I../../../../dist/include/xpcom -I../../../../dist/include/string 
-I../../../../dist/include/gfx -I../../../../dist/include/imglib2 
-I../../../../dist/include/necko -I../../../../dist/include/imgicon 
-I../../../../dist/include -I/usr/local/include/nspr -I/usr/local/include 
-I/usr/local/include  -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include  
-I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall 
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O -pipe -O2 
-fno-strict-aliasing -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O2  
-I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include 
-DMOZILLA_CLIENT -include ../../../../mozilla-config.h nsIconModule.cpp
nsIconProtocolHandler.cpp
c++ -o nsIconProtocolHandler.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\FreeBSD5\ 
-DOSARCH=\FreeBSD\ -DBUILD_ID=00 -I./gtk 
-I../../../../dist/include/xpcom -I../../../../dist/include/string 
-I../../../../dist/include/gfx -I../../../../dist/include/imglib2 
-I../../../../dist/include/necko -I../../../../dist/include/imgicon 
-I../../../../dist/include -I/usr/local/include/nspr -I/usr/local/include 
-I/usr/local/include  -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include  
-I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall 
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O -pipe -O2 
-fno-strict-aliasing -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O2  
-I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include 
-DMOZILLA_CLIENT -include ../../../../mozilla-config.h nsIconProtocolHandler.cpp
rm -f libimgicon.so
c++ -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti 
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-long-long -O -pipe -O2 -fno-strict-aliasing -fshort-wchar -pipe  -DNDEBUG 
-DTRIMMED -O2 -fPIC -shared -Wl,-h -Wl,libimgicon.so -o libimgicon.so  
nsIconURI.o nsIconModule.o nsIconProtocolHandler.o-L/usr/X11R6/lib 
-Wl,-rpath,/usr/local/lib/firefox   -Wl,--whole-archive 
../../../../dist/lib/libimgicongtk_s.a -Wl,--no-whole-archive -L/usr/local/lib 
-L/usr/X11R6/lib   -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lxml2 
-lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 
-lXrandr -lXi -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor 
-lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 
-lXrender -lX11 -lXext -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 
-lgobject-2.0 -lORBit-2 -lm -lgmodul!
 e-2.0 -lgthread-2.0 -lglib-2.0 -liconv-L../../../../dist/bin -lxpcom 
-lxpcom_core  -L../../../../dist/bin -L/usr/local/lib -lplds4 -lplc4 -lnspr4 
-pthread   -Wl,-Bsymbolic -lm -pthread -L/usr/local/lib -liconv
/usr/bin/ld: /usr/X11R6/lib/libgnome-keyring.a(gnome-keyring.o): relocation 
R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/X11R6/lib/libgnome-keyring.a: 

Re: FreeBSD 6.1 max sockets

2006-10-20 Thread Girish Venkatachalam
On Thu, Oct 19, 2006 at 11:24:30PM +0800, ke han wrote:
 I am writing a socket server deamon in C++ on FreeBSD 6.1 (or 6.2 if  
 this matters to your answer).  What this does is accept many sockets  
 and does a little work with each.  Each socket has low traffic but  
 stay connected for long periods.  All these sockets get accepted  
 through one public ip:port (if this matters).
 So my desire is two things:
 1 - good event handling for knowing which sockets have new data.  I  
 assume kqueue is the way to go here?
 2 - I need to know what my limits are on max number of sockets.  If  
 my system is a 64-bit install on a server with 8GB RAM, I need to  
 know how many sockets I can handle.  Also, what options do I have to  
 tune this?  socket buffer size?  Any kernel parameters needed to tune?
 
As Chuck said select(2) is a good choice. That is what I used. kqueue() is more 
powerful and certainly much better when it comes to handling large number of 
sockets since kqueue(2) is very efficient when it comes to polling sockets for 
events.

If you use select, the problem is that if you have say 2000 sockets and only 
one socket is available for read/write, then select has a stupid algo to figure 
out. Doesn't scale well.

But kqueue(2) is very good at that sort of thing. Also kqueue() has a built in 
event mechanism that can be extended for signals and files also.

If the sockets stay connected for long periods you may also want to enable TCP 
KEEPALIVE flag on the sockets.

I don't think RAM and processor will be the bottleneck for you.

Since in typical scenarios number of concurrent connected sockets don't usually 
hit such high limits.

They come and go...

HTH.

Best of luck!

regards,
Girish
___
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 max sockets

2006-10-20 Thread ke han

Thanks for the reply.
This app is intended to keep 20,000++ sockets alive at a time.  These  
sockets are very long lived.

I understand about kqueue.  I will eventually write for this.
What I need to understand are the various kernel tunings required to  
handle 20,000++ active sockets.  I would like to approach the  
theoretical max...is it 64k?  That is, is the absolute max socket  
descriptors 64k?  any thing else in the way of this maximum?

thanks, ke han

On Oct 20, 2006, at 4:05 PM, Girish Venkatachalam wrote:


On Thu, Oct 19, 2006 at 11:24:30PM +0800, ke han wrote:

I am writing a socket server deamon in C++ on FreeBSD 6.1 (or 6.2 if
this matters to your answer).  What this does is accept many sockets
and does a little work with each.  Each socket has low traffic but
stay connected for long periods.  All these sockets get accepted
through one public ip:port (if this matters).
So my desire is two things:
1 - good event handling for knowing which sockets have new data.  I
assume kqueue is the way to go here?
2 - I need to know what my limits are on max number of sockets.  If
my system is a 64-bit install on a server with 8GB RAM, I need to
know how many sockets I can handle.  Also, what options do I have to
tune this?  socket buffer size?  Any kernel parameters needed to  
tune?


As Chuck said select(2) is a good choice. That is what I used.  
kqueue() is more powerful and certainly much better when it comes  
to handling large number of sockets since kqueue(2) is very  
efficient when it comes to polling sockets for events.


If you use select, the problem is that if you have say 2000 sockets  
and only one socket is available for read/write, then select has a  
stupid algo to figure out. Doesn't scale well.


But kqueue(2) is very good at that sort of thing. Also kqueue() has  
a built in event mechanism that can be extended for signals and  
files also.


If the sockets stay connected for long periods you may also want to  
enable TCP KEEPALIVE flag on the sockets.


I don't think RAM and processor will be the bottleneck for you.

Since in typical scenarios number of concurrent connected sockets  
don't usually hit such high limits.


They come and go...

HTH.

Best of luck!

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


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


priority of make/ports options (?) -- FreeBSD Port: sysutils/portconf

2006-10-20 Thread martinko
Hello,

I'm using portconf to set ports' knobs.  Also I'm setting some general
knobs via make.conf.

Now I've run into this situation:
- i've got WITH_GECKO=seamonkey in /etc/make.conf
- yelp from new gnome 2.16 does not build with knob above. therefore in
/usr/local/etc/ports.conf i set:
x11/yelp: WITH_MAN | WITH_INFO | USE_GECKO=xulrunner
Unfortunately it does not work as I intended -- when I `portinstall
gnome2-lite` it tries to build yelp WITH_GECKO=seamonkey. :-/

How can I solve this pls ??
How can I specify a general knob and then override it for some ports ?

Cheers,

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


Re: System monitoring

2006-10-20 Thread Tom Judge

riccardo_diago wrote:

hi all,
I'm newbie w/ freebsd.
i'm trying to install freebsd 6.1 to create a server only to monitoring
the others.
Anybody has experience with cacti and nagios?
or if u can suggest me other solution would be great. :-)

thanks in advance

Rik
  
I would highly recommend Nagios,  we have 3 monitoring servers deployed 
on 3 sites monitoring around 1200 services.  Nagios comes with a large 
number of plugins that can be used to monitor most basic services and it 
is very easy to throw together new plugins to monitor anything you want.


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


Re: increasing transmit speeds in WAN setting?

2006-10-20 Thread Moses Leslie
On Thu, 19 Oct 2006, Ted Mittelstaedt wrote:

 Until you do what I told you to do and properly setup and test under
 fxp0, I am just not going to waste my time on this anymore.  I will
 leave you with a printout of a test run on a new mailserver I'm building up
 right now, in fact, using an fxp card, to prove it's a not a stack problem.
 You can choose to believe it or you can choose to continue wasting your
 time chasing ghosts in the TP stack when the problem is the driver:

I'm setting up test servers now, it's just taking time to get a good test
environment up.

I'll respond with actual numbers after testing, between autoneg and forced
100/full servers.  I admit, the forced 100/full is because of ancient
lore, particularly with cisco switches not always playing nice with
autonegotiation, we've just always done it that way (until gbit), and
never had any problems.

The servers in question all do 150-200Mbit in production, no problem,
it's just that any one flow can't do more than ~300KB/s cross country.
Given that they're over 100Mbit, what ethernet card is recommended if em
has problems?

FWIW, I am able to receive full speed on all of these servers.
freebsd.org sends at 10Mbit, kernel.org at 20+.  It's only sending speed
that I have a problem with, and only with freebsd.

Thanks,

Moses
___
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 max sockets

2006-10-20 Thread Girish Venkatachalam
On Fri, Oct 20, 2006 at 04:17:52PM +0800, ke han wrote:
 Thanks for the reply.
 This app is intended to keep 20,000++ sockets alive at a time.  These  
 sockets are very long lived.
 I understand about kqueue.  I will eventually write for this.
 What I need to understand are the various kernel tunings required to  
 handle 20,000++ active sockets.  I would like to approach the  
 theoretical max...is it 64k?  That is, is the absolute max socket  
 descriptors 64k?  any thing else in the way of this maximum?

I only have to say Sorry, I don't know for this question. :-)

I hope other more experienced folks in this list will help you. 

I can give you just a thought however. If you have such massive requirements if 
I were you I would do the socket handling inside the kernel itself.

That way you avoid the very expensive user space/kernel space context switch 
and also go in for some embedded system suited for this sort of thing.

Perhaps I am talking rubbish. If so please pardon me. :-)

Best of luck!

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


squirrelmail/sasldb2 access problem

2006-10-20 Thread Martin Schweizer
Hello 

I use cyrus (incl. sasldb2) , apache, sendmail and squirrelmail (incl. plugin 
to change the sasl password).
My problem is that /usr/local/etc/sasldb2.db needs the following right that 
squirrelmail can change the password in the db:

-rw-rw-rw-   1 root  cyrus   24576 20 Okt 11:46 sasldb2.db

This is a security hole, isn't it? Do you have any ideas?


-- 

Regards

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpcq90jzyFa8.pgp
Description: PGP signature


Disable ScrollLock key

2006-10-20 Thread Olivier Nicole
Hi,

How to disable the ScrollLock key on a FreeBSD 4.11 console?

I mean disable it for good, 100%, dead, like it was simply physacally
not there.

Best regards,

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


Re: Why csh on Root?

2006-10-20 Thread Alex Zbyslaw

Joerg Pernfuss wrote:


/bin/sh is actually an ash. Minimal POSIX sh with a few additions that
don't help it anyway near a friendly shell for interactive use.
 

With set -o emacs or set -o vi, and the existence of job control, sh 
is a perfectly adequate *root* shell, IMHO - though I'm a csh person myself.


If you do a lot of maintenance in multi-user mode then you can set 
yourself up another id 0 account with a different name, and use any 
shell you like, and even make it's home directory somewhere other that 
/root.  If you have multiple individuals needing superuser accounts each 
can have their own separate superuser account, personal setup 
preferences etc. and you get a limited amount of accountability, too.


--Alex


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


cvs

2006-10-20 Thread [EMAIL PROTECTED]

Hello,

I do not want to start any discussion - it just occurred to me that it 
seems like cvsup/csup binds FreeBSD to cvs (comparing to svn), or am I 
wrong?


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


Re: squirrelmail/sasldb2 access problem

2006-10-20 Thread [EMAIL PROTECTED]

Martin Schweizer wrote:
Hello 

I use cyrus (incl. sasldb2) , apache, sendmail and squirrelmail (incl. plugin 
to change the sasl password).
My problem is that /usr/local/etc/sasldb2.db needs the following right that 
squirrelmail can change the password in the db:


-rw-rw-rw-   1 root  cyrus   24576 20 Okt 11:46 sasldb2.db

This is a security hole, isn't it? Do you have any ideas?


Did you ask this at Squirrelmail?

I think there you will get more responses.

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


POP before SMTP with TCPSERVER

2006-10-20 Thread Don O'Neil
Hi all... I'm having problems with inet crapping out on the qmail-smtp
process, so I've started using tcpserver to launch qmail-smtpd

However, I'm getting complaints from people that the POP before SMTP
authentication patch isn't working when I do this... Here is what I'm
launching:

#!/bin/sh
/usr/local/bin/tcpserver -c 200 -v -u 1009 -g 1003 0 smtp
/var/shc/qmail/bin/qmail-smtpd 1 | /var/shc/qmail/bin/splogger smtpd 3 

Anything wrong with this, or do I need to do something else so that the POP
before SMTP authentication works correctly?

Thanks!

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


Re: tao.thought.org is back.....

2006-10-20 Thread Giorgos Keramidas
On 2006-10-19 22:10, Gary Kline [EMAIL PROTECTED] wrote:
On Fri, Oct 20, 2006 at 12:47:25AM +0300, Giorgos Keramidas wrote:
On 2006-10-19 12:38, Gary Kline [EMAIL PROTECTED] wrote:
On Wed, Oct 18, 2006 at 05:22:44PM -0700, Chuck Swiger wrote:

   [[ ... ]]

 I see an example as the equivalent of 10K words.
 
 I'll let Chuck write what he had in mind :)
 
 Is there any way of testing this after I have set up my table
 entries?  In other words, how do I re-initialize things without
 having to  (ugh) *reboot*.
 
 If you modify `mailertable' in `/etc/mail', you should be able to run:
 
 # cd /etc/mail
 # make mailertable.db
 
 to update it.  A reboot is not necessary for Sendmail changes.
 
 For unknown reasons, mail started to be refused from my mailserver
 just as I was heading out this afternoon.  It may have been a bad DHCP
 lease, ??

It's hard to guess without seeing the log file entries for the rejected
messages.  Can you _please_ show us the logs, instead of describing the
results in broad terms?

 Anyway, a make restart and other reinitializations didn't seem to
 work, so my next guess is that I didn't restart my maps, databases
 correctly.

Maps are not 'restarted'.  They are parsed to *.db files.

What does your `/etc/mail/HOSTNAME.mc' file contain?

What do the map files referenced by it contain?

How did you perform the `reinitializations' mentioned above?

 If I ever have enough courage to test these theories in the next 95
 years, I'll know.  Meanwhile, I've got to beg help from some REAL
 system admins here.

I don't like 'REAL' in the above lines, but you are free to use whatever
you are more comfortable with.

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


kern.maxfiles exceeded soon after KDE or Gnome started

2006-10-20 Thread martinko
Hello list,

I've installed KDE 3.5.4 and Gnome 2.14 on a new GENERIC installation of
6.2-PRERELEASE.
Both desktop environments syslog error about exceeding kern.maxfiles
limit soon after their started.
While with Window Maker and many open apps, and even with Xfce 4.2, I
usually have between 200 to 500 kern.openfiles, kern.maxfiles (defaults
to 1064) is obviously too low for KDE/Gnome or I'm running into an issue
or sth.
As I haven't noticed recommendation on kern.maxfiles on project pages
nor during installation of the ports, I'd like to ask the community what
are the sane recommended numbers ??

Regards,

Martin

PS: Please CC me as I'm not on the lists.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


conary vs ports

2006-10-20 Thread ke han
Does anyone have experience with the differences between conary and  
ports?
Its my understanding the rpath folks have rethought package  
management at a very high level and have something more to offer than  
gentoo's portage (which some feel is the closest thing in usability  
to FreeBSD's ports).
Does anyone have a hands-on perspective of this?  I don't mean that  
ports already has 16,000+ ready to go ports and conary has much  
fewer.  Nor am I looking for the usual FreeBSD vs Linux  
perspective.  I'm looking for a tech and architecture perspective of  
just conary vs ports.

thanks, ke han

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


Re: kern.maxfiles exceeded soon after KDE or Gnome started

2006-10-20 Thread Adi Pircalabu
On Fri, 20 Oct 2006 14:11:30 +0200 martinko wrote:

 I've installed KDE 3.5.4 and Gnome 2.14 on a new GENERIC installation
 of 6.2-PRERELEASE.
 Both desktop environments syslog error about exceeding kern.maxfiles
 limit soon after their started.
 While with Window Maker and many open apps, and even with Xfce 4.2, I
 usually have between 200 to 500 kern.openfiles, kern.maxfiles
 (defaults to 1064) is obviously too low for KDE/Gnome or I'm running
 into an issue or sth.
 As I haven't noticed recommendation on kern.maxfiles on project pages
 nor during installation of the ports, I'd like to ask the community
 what are the sane recommended numbers ??

See /usr/ports/devel/gamin/pkg-message on how to handle this.

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


--
This message was scanned for viruses by BitDefender for Linux Mail Servers.
For more information please visit http://www.bitdefender.com/

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


Re: POP before SMTP with TCPSERVER

2006-10-20 Thread DAve

Don O'Neil wrote:

Hi all... I'm having problems with inet crapping out on the qmail-smtp
process, so I've started using tcpserver to launch qmail-smtpd

However, I'm getting complaints from people that the POP before SMTP
authentication patch isn't working when I do this... Here is what I'm
launching:

#!/bin/sh
/usr/local/bin/tcpserver -c 200 -v -u 1009 -g 1003 0 smtp
/var/shc/qmail/bin/qmail-smtpd 1 | /var/shc/qmail/bin/splogger smtpd 3 

Anything wrong with this, or do I need to do something else so that the POP
before SMTP authentication works correctly?

Thanks!


While I like ports I highly recommend you reinstall qmail using the 
instructions contained in Life with qmail.


http://www.lifewithqmail.org/

I also highly recommend Dave Sill's book as well. We have run qmail for 
over 5 years here on multiple servers and Dave's book still sits on my 
desk, it is invaluable.


Follow his instructions, and any problems you are having will go away. 
qmail will be efficient, fast, stable, and secure.


DAve

--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sunbird 0.3

2006-10-20 Thread Tom Grove

Has anyone installed Sunbird 0.3 and had it seg fault?  Is the port broken?

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


Re: kern.maxfiles exceeded soon after KDE or Gnome started

2006-10-20 Thread :mato
Adi Pircalabu wrote:
 On Fri, 20 Oct 2006 14:11:30 +0200 martinko wrote:

   
 I've installed KDE 3.5.4 and Gnome 2.14 on a new GENERIC installation
 of 6.2-PRERELEASE.
 Both desktop environments syslog error about exceeding kern.maxfiles
 limit soon after their started.
 While with Window Maker and many open apps, and even with Xfce 4.2, I
 usually have between 200 to 500 kern.openfiles, kern.maxfiles
 (defaults to 1064) is obviously too low for KDE/Gnome or I'm running
 into an issue or sth.
 As I haven't noticed recommendation on kern.maxfiles on project pages
 nor during installation of the ports, I'd like to ask the community
 what are the sane recommended numbers ??
 

 See /usr/ports/devel/gamin/pkg-message on how to handle this.

   

Hi Adi,

Thanks for your pointer!

Anyway, I do not open large folders (as suggested in gamin/pkg-message)
and still run into issue already at startup.  Also I failed to notice
any warning on Gnome or KDE sites.  It  might help other users to avoid
the same issue.

Regards,

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


Howto recompile libgnome-keyring with -fPIC

2006-10-20 Thread Klaus Friis Østergaard
Hi,
 
I get this error when trying to install Firefox:
 
/usr/bin/ld: /usr/X11R6/lib/libgnome-keyring.a(gnome-keyring.o): relocation 
R_X86_64_32 can not be used when making a shared object; recompile with -fPIC

/usr/X11R6/lib/libgnome-keyring.a: could not read symbols: Bad value
How do I recompile libgnome-keyring with the -fPIC compiler flags set?
Is it possible to use the portupgrade to force a recomiplation with the right 
settings?
 
/Klaus
 
 
 
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


where to set SSL compile time cipher string ?

2006-10-20 Thread martinko
Hi,

I'm not sure I understood this correctly but at
http://www.openssl.org/docs/apps/ciphers.html I've read something
about cipher list and defaults etc.  And I would like to tell my system
to build SSL with ``high'' encryption cipher suites.  Where can I set
this preference pls ??  I've searched through make.conf and man pages
but haven't found anything.

Cheers,

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


problems with libglade2...

2006-10-20 Thread William Bulley
I am trying to run a Linux binary under FreeBSD Linux compatibility
mode (linux_base-fc-4_9) on 6.2-PRERELEASE.

The error I get is:

   error while loading shared libraries: /usr/X11R6/lib/libglade-2.0.so.0: ELF 
file OS ABI invalid

freebsd% pkg_info | grep -i glade
libglade2-2.6.0 GNOME glade library
freebsd% ldd foobah
foobah:
foobah: error while loading shared libraries: /usr/X11R6/lib/libglade-2.0.so.0: 
ELF file OS ABI invalid
foobah: exit status 127
freebsd% file foobah
foobah: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 
2.2.0, dynamically linked (uses shared libs), stripped
freebsd% file /usr/X11R6/lib/libglade-2.0.so.0
/usr/X11R6/lib/libglade-2.0.so.0: ELF 32-bit LSB shared object, Intel 80386, 
version 1 (FreeBSD), not stripped

According to the foobah README:

   Executable is tested to work with:
   OS: Fedora Core 3, Suse 9.2
   Platform: i386, Athlon, i686

What am I missing?  What steps (short of tossing the whole idea out)
should I take to successfully run the Linux binary foobah?  Thanks.

Regards,

web...

--
William Bulley Email: [EMAIL PROTECTED]

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


Re: cvs

2006-10-20 Thread Giorgos Keramidas
On 2006-10-20 13:27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hello,
 
 I do not want to start any discussion - it just occurred to me that it 
 seems like cvsup/csup binds FreeBSD to cvs (comparing to svn), or am I 
 wrong?

You're wrong.  It's the other way around:

We are *forced* to use CVSup, because CVS is centralized, without
any other good way to mirror changesets to a distributed network of
mirrors, users and developer workspaces.

On the other hand, SVN is centralized too :-)

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


Re: conary vs ports

2006-10-20 Thread Andrew Pantyukhin

On 10/20/06, ke han [EMAIL PROTECTED] wrote:

Does anyone have experience with the differences between conary and
ports?
Its my understanding the rpath folks have rethought package
management at a very high level and have something more to offer than
gentoo's portage (which some feel is the closest thing in usability
to FreeBSD's ports).
Does anyone have a hands-on perspective of this?  I don't mean that
ports already has 16,000+ ready to go ports and conary has much
fewer.  Nor am I looking for the usual FreeBSD vs Linux
perspective.  I'm looking for a tech and architecture perspective of
just conary vs ports.


I took a look at their whitepaper, which btw makes a nice
reading for porters, as part of my ongoing research. The
idea is cool, but not ground-breaking. And anyway, it's
not the ideas, but their exchange that make the wheels
turning in package management.

Should you be interested in other ideas, please look
through a list of package management related links:
http://wikitest.freebsd.org/Upak/PMS_Links

If you think you could take part in taking Conary's or
any other system's advances into ports, or into packaging
world at large, it would be my pleasure to join the effort.

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


monitoring lan-wan

2006-10-20 Thread Zbigniew Szalbot

Hello,

Is there anything you would *recommend* re monitoring internet usage (LAN 
to WAN), something that is available in ports? This would have to be 
something that would allow me to tie it with a router as my FBSD is not a 
gateway. This function is handled by our Dlink DFL router.


Many thanks in advance!

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


Re: cvs

2006-10-20 Thread [EMAIL PROTECTED]

Giorgos Keramidas wrote:

You're wrong.  It's the other way around:

We are *forced* to use CVSup, because CVS is centralized, without
any other good way to mirror changesets to a distributed network of
mirrors, users and developer workspaces.

On the other hand, SVN is centralized too :-)


What I wanted to say is that FreeBSD will remain for the time being, on 
cvs - is that correct?


May be it was a complicated way to ask.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rm command problem

2006-10-20 Thread Efren Bravo
Hi,

Accidentally I've created a file called -exclude
and now I cann't delete it.

I tried with:

rm -exclude and rm *exclude but it returns this:

rm: illegal option -- -
usage: rm [-f | -i] [-dIPRrvW] file ...
   unlink file

How can I delete it?

Thanks



Efren Bravo.
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=ZWZyZW5iYQ%3D%3D





__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Samba file server with ActiveDirectory accounts... pw usershow not working

2006-10-20 Thread Ashley Moran

Hi

I asked about this a while back and a few of you were good enough to  
give me some pointers.  I've been forced to look again at Samba  
because the single unmirrored disk not covered by the backup scripts  
that a certain sysadmin installed crashed the other day.  So I  
thought we need a better solution.  My ultimate aim is a server with  
a share for our company, which we can log into using our AD accounts  
and each have a personal folder.  I already have my server joined to  
the domain from the last time I looked at this.


Here are some diagnostics:

# net ads testjoin
Join is OK

# wbinfo -D JIGSAWHQ
Name  : JIGSAWHQ
Alt_Name  : jigsawhq.com
SID   : S-1-5-21-1085031214-1957994488-1343024091
Active Directory  : Yes
Native: No
Primary   : Yes
Sequence  : 1172959

# wbinfo -u
...list of usernames...
(not prepended by the domains, but neither is it on our Linux servers  
either)


# wbinfo -g
...list of groups...

# ntlm_auth --username=ashleymoran
password:
NT_STATUS_OK: Success (0x0)

# cat /etc/nsswitch.conf
group: files winbind
hosts: files dns winbind
networks: files
passwd: files winbind
shells: files


However this command *should* now work, but doesn't:

# pw user show PawelKaminski
pw: no such user `PawelKaminski'

The output in log.wb-JIGSAWHQ (winbindd -d3) is this below.   
Presumably this bit...

[2006/10/20 16:35:18, 3] libsmb/clikrb5.c:ads_krb5_mk_req(552)
  ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or  
directory)
is bad, but I don't know what it means or how to fix it (googling has  
left me no wiser)


[2006/10/20 16:35:17, 3] nsswitch/ 
winbindd_async.c:winbindd_dual_lookupname(709)

  [93883]: lookupname JIGSAWHQ\PawelKaminski
[2006/10/20 16:35:17, 3] nsswitch/winbindd_rpc.c:msrpc_name_to_sid(257)
  rpc: name_to_sid name=JIGSAWHQ\PawelKaminski
[2006/10/20 16:35:17, 3] nsswitch/winbindd_rpc.c:msrpc_name_to_sid(265)
  name_to_sid [rpc] JIGSAWHQ\PawelKaminski for domain JIGSAWHQ
[2006/10/20 16:35:17, 3] rpc_client/cli_pipe.c:rpc_pipe_bind(2081)
  rpc_pipe_bind: Remote machine JIGSAW-SBS02 pipe \lsarpc fnum  
0x8012 bind request returned ok.

[2006/10/20 16:35:17, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(941)
  Got challenge flags:
[2006/10/20 16:35:17, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
  Got NTLMSSP neg_flags=0x62890235
[2006/10/20 16:35:17, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(963)
  NTLMSSP: Set final flags:
[2006/10/20 16:35:17, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
  Got NTLMSSP neg_flags=0x60080235
[2006/10/20 16:35:17, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(338)
  NTLMSSP Sign/Seal - Initialising with flags:
[2006/10/20 16:35:17, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
  Got NTLMSSP neg_flags=0x60080235
[2006/10/20 16:35:17, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(224)
  lsa_io_sec_qos: length c does not match size 8
[2006/10/20 16:35:17, 3] nsswitch/ 
winbindd_user.c:winbindd_dual_userinfo(146)

  [93883]: lookupsid S-1-5-21-1085031214-1957994488-1343024091-1383
[2006/10/20 16:35:17, 3] nsswitch/winbindd_ads.c:query_user(478)
  ads: query_user
[2006/10/20 16:35:17, 3] libsmb/namequery.c:get_dc_list(1426)
  get_dc_list: preferred server list: , jigsaw-sbs02.jigsawhq.com
[2006/10/20 16:35:18, 3] libads/ldap.c:ads_connect(287)
  Connected to LDAP server 192.168.0.1
[2006/10/20 16:35:18, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
  ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2006/10/20 16:35:18, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2006/10/20 16:35:18, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2006/10/20 16:35:18, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
  ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
[2006/10/20 16:35:18, 3] libads/sasl.c:ads_sasl_spnego_bind(219)
  ads_sasl_spnego_bind: got server principal name =jigsaw-sbs02 
[EMAIL PROTECTED]

[2006/10/20 16:35:18, 3] libsmb/clikrb5.c:ads_krb5_mk_req(552)
  ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or  
directory)

[2006/10/20 16:35:18, 3] libsmb/clikrb5.c:ads_cleanup_expired_creds(488)
  ads_cleanup_expired_creds: Ticket in ccache[MEMORY:winbind_ccache]  
expiration Sat, 21 Oct 2006 02:36:48 BST

[2006/10/20 16:35:18, 3] nsswitch/winbindd_ads.c:query_user(535)
  ads query_user gave PawelKaminski


I'd be very grateful if anyone has some hints on how to get this  
working.  I've spent all day reading about Samba, Kerberos, Winbind,  
NSS and on and on...  It's still new to me so I don't know how it  
glues together.


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


Re: rm command problem

2006-10-20 Thread Bill Moran
In response to Efren Bravo [EMAIL PROTECTED]:

 Hi,
 
 Accidentally I've created a file called -exclude
 and now I cann't delete it.
 
 I tried with:
 
 rm -exclude and rm *exclude but it returns this:
 
 rm: illegal option -- -
 usage: rm [-f | -i] [-dIPRrvW] file ...
unlink file
 
 How can I delete it?

rm \-exclude or rm '-exclude'

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


disklabel question

2006-10-20 Thread James Villa

# /dev/ad6s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  122880004.2BSD 2048 16384 11272
 b:  2097152  1228800  swap
 c: 1023982470unused0 0 # raw part, don't edi
t
 d:  1228800  33259524.2BSD 2048 16384 11272
 e:  1228800  45547524.2BSD 2048 16384 11272
 f: 4096  57835524.2BSD 2048 16384 28552
 g: 55654695 467435524.2BSD 2048 16384 28552


as single user i run: disklabel -e /dev/ad6s1 and i add:

h: 53903178  0  4.2BSD 2048 16384 28552
is this correct?

from sysinstall:
unuse
size(ST): 53903178
end: 156301487
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rm command problem

2006-10-20 Thread Chuck Swiger

On Oct 20, 2006, at 9:21 AM, Efren Bravo wrote:

Accidentally I've created a file called -exclude
and now I cann't delete it.


Try:

  rm -- -exclude

--
-Chuck

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


Re: cyrus-sasl sendmail compile error

2006-10-20 Thread Greg Groth

Mike Spenard wrote:
 Following this doc on sendmail-auth...
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html

 I go to recompile sendmail after

 # cd /usr/src/usr.sbin/sendmail
 # make cleandir
 # make obj
 # make
 # make install

 and I get...
 cc: /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a:
 No such file or directory
 cc: /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsm/libsm.a: No such
 file or directory
 *** Error code 1

 Stop in /usr/src/usr.sbin/sendmail.
 /etc/make.conf is as the document specifies..
 SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
 SENDMAIL_LDFLAGS=-L/usr/local/lib
 SENDMAIL_LDADD=-lsasl
 --

 Mike Spenard

rebuild world, and the needed pieces will be installed.

Nice step by step how-to here:
http://dfwlpiki.dfwlp.org/index.php/Installing_FreeBSD_6.1

There's faster ways around this, but if you haven't already run the 
buildworld process, more than likely you have a version of sendmail that 
needs to be patched anyway.  Running the buildworld process will fix 
both issues.


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


Re: rm command problem

2006-10-20 Thread Dan Nelson
In the last episode (Oct 20), Bill Moran said:
 In response to Efren Bravo [EMAIL PROTECTED]:
  Accidentally I've created a file called -exclude and now I cann't
  delete it.
  
  I tried with:
  
  rm -exclude and rm *exclude but it returns this:
  
  rm: illegal option -- -
  usage: rm [-f | -i] [-dIPRrvW] file ...
 unlink file
  
  How can I delete it?
 
 rm \-exclude or rm '-exclude'

Actually neither of those will work :)  If '-' was a wildcard character
interpreted by the shell it would have, but rm is the problem here, not
the shell.  You need to either tell rm to ignore leading dashes as
options (using the -- option):

rm -- -exclude

, or move the dash away from the beginning of the path:

rm ./-exclude

-- 
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: rm command problem [SOLVED]

2006-10-20 Thread Efren Bravo

works with #rm -- -filename

thanks again..

 --- Bill Moran [EMAIL PROTECTED]
escribió:

 In response to Efren Bravo [EMAIL PROTECTED]:
 
  Hi,
  
  Accidentally I've created a file called
 -exclude
  and now I cann't delete it.
  
  I tried with:
  
  rm -exclude and rm *exclude but it returns
 this:
  
  rm: illegal option -- -
  usage: rm [-f | -i] [-dIPRrvW] file ...
 unlink file
  
  How can I delete it?
 
 rm \-exclude or rm '-exclude'
 
 -- 
 Bill Moran
 Collaborative Fusion Inc.
 




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Running qemu on -CURRENT with -nographic

2006-10-20 Thread Jeremie Le Hen
Hi list !

(Please Cc: me in your replies.)

I have installed qemu from ports, without kqemu (for now, at least).
I am accessing the box with ssh, and I don't have X running on it,
therefore I used the -nographic knob which is supposed to use only
the tty.

Unfortunately, here is what's happened:

% jarjarbinks:/1msdos/qemu:104# qemu -cdrom 
/mnt/msdos/isos/debian-31r3-i386-netinst.iso -hda debian.img -m 64 -boot d 
-nographic -net user
% (qemu) 
(Here, I type C-a h.)
% C-a hprint this help
% C-a xexit emulator
% C-a ssave disk data back to file (if -snapshot)
% C-a bsend break (magic sysrq)
% C-a ttoggle console timestamps
% C-a cswitch between console and monitor
% C-a C-a  send C-a
(Here I type C-a c.)
% (qemu) 
% (qemu) c
% (qemu) 
(Here I type C-a c again, in order to switch to console.)
% (qemu)

From here, qemu is stalled.  I can't even go back to monitor mode.
I'm solely able to kill qemu from another terminal, in which case
my shell gets all the keystrokes in a burst.

Does any experience the same problem ?  If so, did you find a solution
or workaround ?  Or maybe is it running flawlessly ?

Thank you.
Regards,
-- 
Jeremie Le Hen
 jeremie at le-hen dot org  ttz at chchile dot org 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rm command problem

2006-10-20 Thread Alex Zbyslaw

Bill Moran wrote:


In response to Efren Bravo [EMAIL PROTECTED]:

 


Hi,

Accidentally I've created a file called -exclude
and now I cann't delete it.

I tried with:

rm -exclude and rm *exclude but it returns this:

rm: illegal option -- -
usage: rm [-f | -i] [-dIPRrvW] file ...
  unlink file

How can I delete it?
   



rm \-exclude or rm '-exclude'

 


Or even rm ./-exclude

--Alex


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


How to get best results from FreeBSD-questions

2006-10-20 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-10-20 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: rm command problem

2006-10-20 Thread DAve

Efren Bravo wrote:

Hi,

Accidentally I've created a file called -exclude
and now I cann't delete it.

I tried with:

rm -exclude and rm *exclude but it returns this:

rm: illegal option -- -
usage: rm [-f | -i] [-dIPRrvW] file ...
   unlink file

How can I delete it?


You have probably found that anything you try errors because the shell 
thinks -e is a switch. The easiest way is to find the files inode number 
and delete the file using that.


director# ls -i
107008 .bash_history107760 .login   107759 .mail_aliases 
107764 .profile 107765 .shrc
107758 .cshrc   107761 .login_conf  107762 .mailrc 
107763 .rhosts


then use find to remove the file.

director# find . -inum 107763 -exec rm -i {} \;
remove ./.rhosts? y

This works for all manner of funky file names. I had done that many 
times before, generally from not reading man pages and passing switches 
to programs that didn't expect it, or by piping commands incorrectly.


DAve
--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cyrus-sasl sendmail compile error

2006-10-20 Thread Josh Tolbert
On Fri, Oct 20, 2006 at 11:46:20AM -0500, Greg Groth wrote:
 rebuild world, and the needed pieces will be installed.
 
 Nice step by step how-to here:
 http://dfwlpiki.dfwlp.org/index.php/Installing_FreeBSD_6.1
 
 There's faster ways around this, but if you haven't already run the 
 buildworld process, more than likely you have a version of sendmail that 
 needs to be patched anyway.  Running the buildworld process will fix 
 both issues.
 
 Greg Groth

I hate to pimp my own webpage, but...

http://www.puresimplicity.net/~hemi/freebsd/sendmail.html

Second part should cover it.

Thanks,
Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disklabel question

2006-10-20 Thread Jerry McAllister
On Sat, Oct 21, 2006 at 12:33:17AM +0800, James Villa wrote:

 # /dev/ad6s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
  a:  122880004.2BSD 2048 16384 11272
  b:  2097152  1228800  swap
  c: 1023982470unused0 0 # raw part, don't 
  edi
 t
  d:  1228800  33259524.2BSD 2048 16384 11272
  e:  1228800  45547524.2BSD 2048 16384 11272
  f: 4096  57835524.2BSD 2048 16384 28552
  g: 55654695 467435524.2BSD 2048 16384 28552
 
 
 as single user i run: disklabel -e /dev/ad6s1 and i add:
 
 h: 53903178  0  4.2BSD 2048 16384 28552
 is this correct?

Wouldn't this overlap/wipe out partitions 1, b, d, e, f and 
part of g?

What are you trying to do here?
It looks like your disk slice is all used up.  There
is no room to add an 'h' partition without deleting some of the 
existing stuff.

jerry

 from sysinstall:
 unuse
 size(ST): 53903178
 end: 156301487
 ___
 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: rm command problem

2006-10-20 Thread Michael S
rm -- -exclude
taken from man rm.

Michael
--- Efren Bravo [EMAIL PROTECTED] wrote:

 Hi,
 
 Accidentally I've created a file called -exclude
 and now I cann't delete it.
 
 I tried with:
 
 rm -exclude and rm *exclude but it returns this:
 
 rm: illegal option -- -
 usage: rm [-f | -i] [-dIPRrvW] file ...
unlink file
 
 How can I delete it?
 
 Thanks
 
 
 
 Efren Bravo.
 -
 Fight back spam! Download the Blue Frog.

http://www.bluesecurity.com/register/s?user=ZWZyZW5iYQ%3D%3D
 
 
   
   
   
 __ 
 LLama Gratis a cualquier PC del Mundo. 
 Llamadas a fijos y m�viles desde 1 c�ntimo por
 minuto. 
 http://es.voice.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]


Tunnels to Cisco through NAT?

2006-10-20 Thread Tuc at T-B-O-H.NET
Hi,

Is anyone aware of a tunnel between FreeBSD and Cisco that
can go through a NAT on the Cisco side?

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


musicpd kld sound

2006-10-20 Thread Pete C

I have an issue w/ mpd starting (trying to, anyway) before the kld for
sound loads up, which causes mpd to fail loading . . then I have to  
start mpd at the command line.


I would like to set up sound in the kernel, but I have Aureal 8810 based
sound on the MB and don't see a driver to use in the snd_drvr line
in the config file.

is there a way to specify the order in which these items load ?

any clues appreciated . .

Pete C



replace 'nospam' w/ my first name to reply directly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: monitoring lan-wan

2006-10-20 Thread Kurt Buff

On 10/20/06, Zbigniew Szalbot [EMAIL PROTECTED] wrote:

Hello,

Is there anything you would *recommend* re monitoring internet usage (LAN
to WAN), something that is available in ports? This would have to be
something that would allow me to tie it with a router as my FBSD is not a
gateway. This function is handled by our Dlink DFL router.

Many thanks in advance!

--
Zbigniew Szalbot


That really depends on the functionality of your router (and I'm not
familiar with it, so can't comment on it), the configuration of your
internal network and what you mean by 'monitoring internet usage'..

Do you only need to show aggregate traffic flow, to monitor total
usage over time? If so, and if the router is SNMP-capable, then cacti
(or mrtg, but it's not my preference) or some other some other utility
that can get and graph SNMP stats will do what you want.

If you wish to characterize the traffic to and from the Internet by
protocol and/or user, then you'll have to do something more than
simply using SNMP to monitor throughput on the router. In that case,
you'll need to have your FreeBSD box actually parse the traffic, or
get a netflow from the router (assuming that it can do that.) and ntop
is a good start for the software you want, or perhaps etherape.
Assuming that netflow isn't available from the router (and I think
that's a fairly safe bet) the trick will be making sure that your
FreeBSD box will see the traffic, and for that you'll need something
like one of the following setups:

1) Put the router and your box on a dumb hub (not a switch) so that
all of the traffic going to the router is visible to your box

or

2) Have the router (again, assuming it's a multiport router, and
capable of this, which is quite doubtful) mirror the traffic to a port
to which your box is attached,

or

3) Install two NICs in your box and have your router and your box
attached to a switch that can mirror all of the traffic to the router
- the first NIC will only receive traffic from the switch, the second
NIC will have an IP address and be available for monitoring the box,
including output from ntop or etherape.

or

4)  More tricky still, install two NICs in your box and have it act as
a transparent bridge between your network and your router. I'm not
familiar with this kind of setup, though I like the idea, and will be
playing with it in my copious free time. :)

or

5) Get a network tap cable, which is essentially a three-headed patch
cable that provides receive-only wires for the third head, and that
receive-only head is put into a second NIC on your box.

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


Re: Tunnels to Cisco through NAT?

2006-10-20 Thread Chuck Swiger

On Oct 20, 2006, at 10:42 AM, Tuc at T-B-O-H.NET wrote:

Is anyone aware of a tunnel between FreeBSD and Cisco that
can go through a NAT on the Cisco side?


If you update the Cisco firmware with the latest IOS+VPN version, you  
ought to gain proper NAT-T support which will work with most IPSEC/ 
VPN implementations.  Otherwise, if you only need to implement a  
single VPN tunnel, you can use something like OpenVPN, which only  
needs you to forward a single UDP port (1194)...


--
-Chuck

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


Re: rm command problem

2006-10-20 Thread Jonathan Arnold

DAve wrote:

Efren Bravo wrote:

Hi,

Accidentally I've created a file called -exclude
and now I cann't delete it.

I tried with:

rm -exclude and rm *exclude but it returns this:

rm: illegal option -- -
usage: rm [-f | -i] [-dIPRrvW] file ...
   unlink file

How can I delete it?


You have probably found that anything you try errors because the shell 
thinks -e is a switch. The easiest way is to find the files inode number 
and delete the file using that.


director# ls -i
107008 .bash_history107760 .login   107759 .mail_aliases 
107764 .profile 107765 .shrc
107758 .cshrc   107761 .login_conf  107762 .mailrc 107763 
.rhosts


then use find to remove the file.

director# find . -inum 107763 -exec rm -i {} \;
remove ./.rhosts? y


Well, that was fun! I was wondering just how many different ways people
could come up with deleting the file, but this one has to be crowned the
winner of the all important Most Obscure Solution :-) To delete something
based upon the inode - fantastic!   

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


Re: Tunnels to Cisco through NAT?

2006-10-20 Thread Tuc at T-B-O-H.NET
 
 On Oct 20, 2006, at 10:42 AM, Tuc at T-B-O-H.NET wrote:
  Is anyone aware of a tunnel between FreeBSD and Cisco that
  can go through a NAT on the Cisco side?
 
 If you update the Cisco firmware with the latest IOS+VPN version, you  
 ought to gain proper NAT-T support which will work with most IPSEC/ 
 VPN implementations.  Otherwise, if you only need to implement a  
 single VPN tunnel, you can use something like OpenVPN, which only  
 needs you to forward a single UDP port (1194)...
 
Hi,

Thanks for the reply. I guess my question wasn't phrased
exact enough...

The long of it is that I have a low end Cisco router
sitting at a location behind a consumer grade broadband router,
connected to a satellite connection. The satellite does not
allow direct TCP inbound connections, so anything I use has
to be OpenVPN. I have a Soekris box with FreeBSD 5.5 running
OpenVPN via UDP to a server in the datacenter, and it works
fine and good. The issue is I want to set up another tunnel
(The cisco is actually a 2509, 8 port serial. This new tunnel
is for when the Soekris is down to be able to administer
it via the serial port).

So I'm looking for an application where if you
want to think in reverse... The FreeBSD box needs to be able
to get to the Cisco through a NAT (And only via UDP).

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


Re: tao.thought.org is back.....

2006-10-20 Thread Gary Kline
On Fri, Oct 20, 2006 at 03:08:16PM +0300, Giorgos Keramidas wrote:
 On 2006-10-19 22:10, Gary Kline [EMAIL PROTECTED] wrote:
 On Fri, Oct 20, 2006 at 12:47:25AM +0300, Giorgos Keramidas wrote:
 On 2006-10-19 12:38, Gary Kline [EMAIL PROTECTED] wrote:
 On Wed, Oct 18, 2006 at 05:22:44PM -0700, Chuck Swiger wrote:
 
  [[ ... ]]
 
  I see an example as the equivalent of 10K words.
  
  I'll let Chuck write what he had in mind :)
  
  Is there any way of testing this after I have set up my table
  entries?  In other words, how do I re-initialize things without
  having to  (ugh) *reboot*.
  
  If you modify `mailertable' in `/etc/mail', you should be able to run:
  
  # cd /etc/mail
  # make mailertable.db
  
  to update it.  A reboot is not necessary for Sendmail changes.
  
  For unknown reasons, mail started to be refused from my mailserver
  just as I was heading out this afternoon.  It may have been a bad DHCP
  lease, ??
 
 It's hard to guess without seeing the log file entries for the rejected
 messages.  Can you _please_ show us the logs, instead of describing the
 results in broad terms?

See appeneded.  

 
  Anyway, a make restart and other reinitializations didn't seem to
  work, so my next guess is that I didn't restart my maps, databases
  correctly.
 
 Maps are not 'restarted'.  They are parsed to *.db files.

This is what I'd thought.  I have a script that adds to
access, then calls a script to create access.db.  Another 
script does both access and virtusertable.  No other database
or map files are touched.


 What does your `/etc/mail/HOSTNAME.mc' file contain?
 
 What do the map files referenced by it contain?

I'm surprised that these files are referenced::

 
 FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
 FEATURE(mailertable, `hash -o /etc/mail/mailertable')
 FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')


 
 How did you perform the `reinitializations' mentioned above?
 


Well, for years I have kill -9'd sendmail and then restarted 
it.  This by a csh alias.   From the /etc/mail/Makefile, it 
looks like I can do the same thing more correctly by Makefile.

  If I ever have enough courage to test these theories in the next 95
  years, I'll know.  Meanwhile, I've got to beg help from some REAL
  system admins here.
 
 I don't like 'REAL' in the above lines, but you are free to use whatever
 you are more comfortable with.
 

I was not referring to anyone on this list!  Sometimes I
credit myself as the System Admin for thought.org, but the 
truth is that I'm barely a REAL system admin; that was the
reason behind my quip.  I don't even play a sysadmin on TV 


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

/*
 * several lines of mail being rejected yesterday afternoon
 */





3929:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: makeconnection 
(tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3930:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: --- 050 [EMAIL 
PROTECTED]... Deferred: Connection refused by
tao.thought.org.
3931:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: to=[EMAIL PROTECTED], 
delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=87298, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused 
by tao.thought.org.
3944:Oct 19 13:11:29 sage sm-mta[8283]: k9JKAurL008281: makeconnection 
(tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3945:Oct 19 13:11:29 sage sm-mta[8283]: k9JKAurL008281: --- 050 [EMAIL 
PROTECTED]... Deferred: Connection refused by
tao.thought.org.
3946:Oct 19 13:11:29 sage sm-mta[8283]: k9JKAurL008281: to=[EMAIL PROTECTED], 
delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=88056, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused 
by tao.thought.org.
3959:Oct 19 13:14:50 sage sm-mta[8286]: k9JKECg4008284: makeconnection 
(tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3960:Oct 19 13:14:50 sage sm-mta[8286]: k9JKECg4008284: --- 050 [EMAIL 
PROTECTED]... Deferred: Connection refused by
tao.thought.org.
3961:Oct 19 13:14:50 sage sm-mta[8286]: k9JKECg4008284: to=[EMAIL PROTECTED], 
delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=90569, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused 
by tao.thought.org.
3974:Oct 19 13:16:02 sage sm-mta[8300]: k9JKFOTQ008298: makeconnection 
(tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3975:Oct 19 13:16:02 sage sm-mta[8300]: k9JKFOTQ008298: --- 050 [EMAIL 
PROTECTED]... Deferred: Connection refused by
tao.thought.org.
3976:Oct 19 13:16:02 sage sm-mta[8300]: k9JKFOTQ008298: to=[EMAIL PROTECTED], 
delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=88247, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection 

Re: musicpd kld sound

2006-10-20 Thread Philip Hallstrom

I have an issue w/ mpd starting (trying to, anyway) before the kld for
sound loads up, which causes mpd to fail loading . . then I have to start mpd 
at the command line.


I would like to set up sound in the kernel, but I have Aureal 8810 based
sound on the MB and don't see a driver to use in the snd_drvr line
in the config file.

is there a way to specify the order in which these items load ?

any clues appreciated . .


http://www.freebsd.org/cgi/url.cgi?ports/audio/aureal-kmod/pkg-descr

Should do it I think... been a long time since I used it, but I had a 
couple of turtle beach cards that were 88x0 somethings and it worked 
great.


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


Re: musicpd kld sound

2006-10-20 Thread Pete C




I have an issue w/ mpd starting (trying to, anyway) before the kld for
sound loads up, which causes mpd to fail loading . . then I have to  
 start mpd at the command line.


I would like to set up sound in the kernel, but I have Aureal 8810 based
sound on the MB and don't see a driver to use in the snd_drvr line
in the config file.

is there a way to specify the order in which these items load ?

any clues appreciated . .




http://www.freebsd.org/cgi/url.cgi?ports/audio/aureal-kmod/pkg-descr

Should do it I think... been a long time since I used it, but I had a
couple of turtle beach cards that were 88x0 somethings and it worked
great.



maybe I'm missing something . . I am using the aureal-kmod pkg you  
linked to, but thought it only works as a kernel module (ie: not  
compliled into the kernel) . . can I use this to compile a custom  
kernel ? how would I go about it ?


thanks


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


Re: tao.thought.org is back.....

2006-10-20 Thread Giorgos Keramidas
On 2006-10-20 11:26, Gary Kline [EMAIL PROTECTED] wrote:
 /*
  * several lines of mail being rejected yesterday afternoon
  */
 
 3929:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: makeconnection 
 (tao.thought.org. [10.0.0.247]) failed: Connection refused by
 tao.thou
 ght.org.
 3930:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: --- 050 [EMAIL 
 PROTECTED]... Deferred: Connection refused by
 tao.thought.org.
 3931:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: to=[EMAIL 
 PROTECTED], delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=87298, 
 relay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection 
 refused by tao.thought.org.
 3944:Oct 19 13:11:29 sage sm-mta[8283]: k9JKAurL008281: makeconnection 
 (tao.thought.org. [10.0.0.247]) failed: Connection refused by tao.thought.org.

Sendmail is not listening on all IP addressed of tao.thought.org.

Can you show me the following:

(a) The `/etc/rc.conf' settings related to Sendmail:

tao# grep sendmail /etc/rc.conf

(b) The listening sockets of Sendmail on `tao.thought.org':

tao# sockstat -l4 | grep sendmail

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


fstab (local) mount -- FreeBSD Port: sysutils/fusefs-curlftpfs

2006-10-20 Thread martinko
Hello,

This is from CurlFtpFS FAQ:

# *How can I make CurlFtpFS mount automatically at startup?*
You can add it to /etc/fstab. Example:

  curlftpfs#ftp.host.com /mnt/host fuse rw,uid=500,user,noauto 0 0
  

However, it does not work on FreeBSD -- mount fails with this complain:
mount: exec mount_fusefs not found in /sbin:/usr/sbin: No such file or
directory

Of course, we have it here: /usr/local/sbin/mount_fusefs

Is there any workaround or could this be fixed/amended somehow pls ??

Cheers,

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


Re: priority of make/ports options (?) -- FreeBSD Port: sysutils/portconf

2006-10-20 Thread Doug Barton

martinko wrote:

Hello,

I'm using portconf to set ports' knobs.  Also I'm setting some general
knobs via make.conf.

Now I've run into this situation:
- i've got WITH_GECKO=seamonkey in /etc/make.conf
- yelp from new gnome 2.16 does not build with knob above. therefore in
/usr/local/etc/ports.conf i set:
x11/yelp: WITH_MAN | WITH_INFO | USE_GECKO=xulrunner
Unfortunately it does not work as I intended -- when I `portinstall
gnome2-lite` it tries to build yelp WITH_GECKO=seamonkey. :-/

How can I solve this pls ??
How can I specify a general knob and then override it for some ports ?


Don't set global knobs in make.conf. Set them in ports.conf like this:

*:  WITH_GECKO=seamonkey
x11/yelp:   WITH_MAN | WITH_INFO | USE_GECKO=xulrunner

That should give you the precedence that you need.

hth,

Doug

--

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


Re: musicpd kld sound

2006-10-20 Thread Philip Hallstrom



I have an issue w/ mpd starting (trying to, anyway) before the kld for
sound loads up, which causes mpd to fail loading . . then I have to  start 
mpd at the command line.


I would like to set up sound in the kernel, but I have Aureal 8810 based
sound on the MB and don't see a driver to use in the snd_drvr line
in the config file.

is there a way to specify the order in which these items load ?

any clues appreciated . .




http://www.freebsd.org/cgi/url.cgi?ports/audio/aureal-kmod/pkg-descr

Should do it I think... been a long time since I used it, but I had a
couple of turtle beach cards that were 88x0 somethings and it worked
great.



maybe I'm missing something . . I am using the aureal-kmod pkg you linked to, 
but thought it only works as a kernel module (ie: not compliled into the 
kernel) . . can I use this to compile a custom kernel ? how would I go about 
it ?


No it's me... I read your message wrong.

You could change the startup script for mpd to parse the output of kldstat 
to determine if it's loaded and if not, sleep awhile...


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


Problems booting on a Compaq DL360 (P21 version)

2006-10-20 Thread Josh Endries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I recently got two of these old machines used. One installed and runs
fine, but the other... I've been working on it for three days now and I
can't get it to boot. I can install just fine from the CD (using 6.1-R),
but upon reboot it goes past the RAID init and gets to a blank screen
with only _ in the top-left corner, beeps twice, and sits there. The
good machine does beeps also, but continues booting. This one sits
there for a few minutes and then gives me a non-system disk error; it
doesn't seem to find anything to boot from.

I've tried resetting the dip switch for configuration and doing the
system erase and using the SmartStart CD to initialize it before
installing. It wants to know which OS when I do this and I've tried
Linux, Windows 2000 Server and Other, and none of them work... I haven't
gone through all the (dozens of) options. The RAID array seems to work,
no disk problems writing during install and nothing reported in the
SmartStart utility.

I've read threads about ACPI problems with 6.0 but I don't think I'm
even getting that far. :( I tried taking the two disks from the working
machine and putting them into the non-working one and it didn't work, I
still get the _ screen and it doesn't move on from there. I'm installing
simply by using A for auto-slices and A for auto-filesystems and
installing the standard MBR.

Has anyone seen this or successfully installed on a DL360 (g1 I think,
P21 BIOS)? If so, is there a certain setting, OS or otherwise, that I
might need to do?

Thanks,
Josh
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFOSfdV/+PyAj2L+IRApfRAKCG/sv2EHVF6/CqJ5m/qWp/N0S7hwCeLeqb
J8PyjnftvHo1dNXDwF1tBuc=
=BHT/
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rm command problem

2006-10-20 Thread DAve

DAve wrote:

Efren Bravo wrote:

Hi,

Accidentally I've created a file called -exclude
and now I cann't delete it.

I tried with:

rm -exclude and rm *exclude but it returns this:

rm: illegal option -- -
usage: rm [-f | -i] [-dIPRrvW] file ...
   unlink file

How can I delete it?


You have probably found that anything you try errors because the shell 
thinks -e is a switch. The easiest way is to find the files inode number 
and delete the file using that.


director# ls -i
107008 .bash_history107760 .login   107759 .mail_aliases 
107764 .profile 107765 .shrc
107758 .cshrc   107761 .login_conf  107762 .mailrc 107763 
.rhosts


then use find to remove the file.

director# find . -inum 107763 -exec rm -i {} \;
remove ./.rhosts? y

This works for all manner of funky file names. I had done that many 
times before, generally from not reading man pages and passing switches 
to programs that didn't expect it, or by piping commands incorrectly.


DAve


Chuck Swiger wrote:
 On Oct 20, 2006, at 9:21 AM, Efren Bravo wrote:
 Accidentally I've created a file called -exclude
 and now I cann't delete it.

 Try:

   rm -- -exclude


See, just like I said. I got into trouble a long time ago by not reading 
man pages, and discovered I could delete by inode. I've done it that way 
from habit since.


*Had I read the man pages back then* I would have known about rm -- ;^)

I read all manner of man pages, README, CHANGES, and INSTALL docs now 
before I do anything new. John Polstra from SeaBug gently chided me into 
that habit until I caught on.


DAve

--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


csup does not exist

2006-10-20 Thread [EMAIL PROTECTED]

Hello,

I have the latest csup (csup-20060318) on FreeBSD 5.4 and -L2 shows that 
it freezes after 'Shutting down connection to server'. ps shows STAT I+ 
and sometimes S+ (after the point of freeze). Neither kill nor Ctrl-C 
can interrupt it. csup exits on its own after 10-15 min. with 'Finished 
successfully'.


Could somebody help me find the reason/fix it.

Thanks,
Iv
___
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 libglade2...

2006-10-20 Thread Boris Samorodov
On Fri, 20 Oct 2006 10:15:04 -0400 William Bulley wrote:

 I am trying to run a Linux binary under FreeBSD Linux compatibility
 mode (linux_base-fc-4_9) on 6.2-PRERELEASE.

 The error I get is:

error while loading shared libraries: /usr/X11R6/lib/libglade-2.0.so.0: 
 ELF file OS ABI invalid

A FreeBSD library is found instead of a linux one.


 freebsd% pkg_info | grep -i glade
 libglade2-2.6.0 GNOME glade library

Seems that you didn't install devel/linux-libglade port.

 freebsd% ldd foobah
 foobah:
 foobah: error while loading shared libraries: 
 /usr/X11R6/lib/libglade-2.0.so.0: ELF file OS ABI invalid
 foobah: exit status 127
 freebsd% file foobah
 foobah: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
 GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped
 freebsd% file /usr/X11R6/lib/libglade-2.0.so.0
 /usr/X11R6/lib/libglade-2.0.so.0: ELF 32-bit LSB shared object, Intel 80386, 
 version 1 (FreeBSD), not stripped

 According to the foobah README:

Executable is tested to work with:
OS: Fedora Core 3, Suse 9.2
Platform: i386, Athlon, i686

 What am I missing?  What steps (short of tossing the whole idea out)
 should I take to successfully run the Linux binary foobah?  Thanks.

I didn't find foobah at the ports tree. Are you porting it? If so,
check out that all linux packages this program depends on are
installed.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: monitoring lan-wan

2006-10-20 Thread Zbigniew Szalbot

Hi all,

On Fri, 20 Oct 2006, Kurt Buff wrote:


If you wish to characterize the traffic to and from the Internet by
protocol and/or user, then you'll have to do something more than
simply using SNMP to monitor throughput on the router. In that case,
you'll need to have your FreeBSD box actually parse the traffic, or
get a netflow from the router (assuming that it can do that.) and ntop
is a good start for the software you want, or perhaps etherape.
Assuming that netflow isn't available from the router (and I think
that's a fairly safe bet) the trick will be making sure that your
FreeBSD box will see the traffic, and for that you'll need something
like one of the following setups:


All I can do with the router is to enable logging to a syslog, which means 
I can connect it to FBSD, can't I?


But I understand now that things will be a little more difficult than I 
thought :). Anyway, thanks for all the pointers!



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


Re: Non English Spam

2006-10-20 Thread Erik Norgaard

Ted Mittelstaedt wrote:


Also this means that later filtering on the first Received field is
double work: You already accepted the mail based on that information.

In short: Writing header filtering rules for the Received field is
simply waste of time and proof of inefficiency.


I agree with this but unfortunately the real world often screws this up.

For example, SpamCop is one of the most effective blacklists on the
Internet because of it's high user participation.  Unfortunately, it
repeatedly blocks yahoomail, craigslist, and ebay because spammers
hate it and try to stuff it up so as to get people to stop using it.


You can't check the white list before using RBL in Sendmail? Well, you 
can with postfix, you can even control if checks should be done when the 
entire envelope is received or when the connection is established. Maybe 
postfix isn't that crappy after all :)


Of course, maintaining white lists is only practically possible for a 
limited number of hosts.



OP requested a way to filter away the spam in foreign character sets
because for some reason these were not caught by Spam Assassin or
procmail. I gave a solution that solves that problem, and I mentioned
the problem of false negatives for this list.

Rather than get pissed, do try to offer an alternative solution to a
real problem.


There really is no solution.  Fundamentally, well written spam is
not distinguishable from non-spam by a computer.  What has saved our asses
so
far is that there's not a spammer alive who has been able to resist the
temptation
to use bold, colors, blinking test, hot phrases, and other attention-getting
devices in their spams.  Since you can program a computer to look for the
attention getting stuff, what has happened is a little social engineering.


True - or the reverse, that novice users will send their birthday
invitation with flags and colors etc so you can't naively reject html mail.


Frankly, I think there is no technical solution, I think there are only
political solutions.  We've already made spam illegal in the US, and
the CAN-SPAM act defines the advertised party in the spams
also as a spammer, in addition to the actual spammer sending the
stuff.


Actually, I do think there is a technical solution, but the problem is
that the cost of implementation is at the senders end, and the cost of
spam is at recipients end.

The political action needed is to move the cost onto the senders end - 
I'm not talking about adding a cost for sending individual mails but 
moving liability: You are responsible for what you send.


Basically, it's like for cars: You have an insurance for your car, even 
if a thief steals it your insurance covers accidents that the car may be 
involved in.


Once liability moves to the source, anyone upstream in the the mail 
delivery will make sure that they can pass on liability to someone 
further up, and if they can't, they will implement the controls to limit 
illicit mailing to reduce the risk.



I asked politely if there were any consensus or best practices etc. on
this issue. You have the regular mail on how to get the best results
there are recommendations on how to use this list, they are not enforced
but only serve as guidelines.

I don't try to force people to use particular character sets, I merely
ask whether such recommendation exist for the best results when using
the list, in which case filtering on charsets may be the least
imperfect solution (until you share your perfect filter, that is).


Your continuing to try to muddy the issue by inferring that personal
filters are the same as requirements to post.


No, my idea is that if there is consensus that subscribers should post 
in say ASCII for the best results, then one could more reasonably filter 
other character sets because these are unlikely to occur. And, since 
foreign character sets are associated with language, other subscribers 
sharing language could take care of that off list - just as if someone 
writes in a foreign language.



You snipped all my explanation of what the differences are and responded
with a snotty request for a perfect filter, when I never said I ever had
one.


I snipped, not to be rude, but because I felt you were getting emotional.


As I already stated, what people do on their own mailserver is their
business.  If they want to filter Asian charsets, then fine.  Go ahead.
But, telling people they can't use them when posting to the list is
crossing the line.

Certainly a best results when using the list document is a good thing.
But, that is a recommendation, not a requirement.  The response that
got me pissed was speculating that the list server should filter on Asian
charsets,
and we should order, not recommend, to
people that they don't use Asian charsets.  I'm glad to see your
backwatering from that.


I never intended to imply that the FreeBSD list server should filter
messages more than is done now. If you would go back to my first post I ask:

What is the recommended 

Re: monitoring lan-wan

2006-10-20 Thread Kurt Buff

On 10/20/06, Zbigniew Szalbot [EMAIL PROTECTED] wrote:

Hi all,

On Fri, 20 Oct 2006, Kurt Buff wrote:

 If you wish to characterize the traffic to and from the Internet by
 protocol and/or user, then you'll have to do something more than
 simply using SNMP to monitor throughput on the router. In that case,
 you'll need to have your FreeBSD box actually parse the traffic, or
 get a netflow from the router (assuming that it can do that.) and ntop
 is a good start for the software you want, or perhaps etherape.
 Assuming that netflow isn't available from the router (and I think
 that's a fairly safe bet) the trick will be making sure that your
 FreeBSD box will see the traffic, and for that you'll need something
 like one of the following setups:

All I can do with the router is to enable logging to a syslog, which means
I can connect it to FBSD, can't I?

But I understand now that things will be a little more difficult than I
thought :). Anyway, thanks for all the pointers!


syslog  SNMP.

Monitoring traffic by parsing syslog messages seems unlikely at best,
but you'll want to tak a look at some samplings of your syslog
messages to be sure. I'm not aware of any programs that do that, which
is not to say that they don't exist, just that I don't know about
them.

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


csup does not exit (was with typo: csup does not exist)

2006-10-20 Thread [EMAIL PROTECTED]

Hello,

I have the latest csup (csup-20060318) on FreeBSD 5.4 and -L2 shows that 
it freezes after 'Shutting down connection to server'. ps shows STAT I+ 
and sometimes S+ (after the point of freeze). Neither kill nor Ctrl-C 
can interrupt it. Ctrl-C works only after 10-15 min. The csup exits with 
'Finished successfully'.


Could somebody help me find the reason/fix it.

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


Re: Gateway problem

2006-10-20 Thread Dancho Penev
I'm moving this thread to freebsd-questions because it's the appropriate 
place for such questions.

On Friday 20 October 2006 21:42, Brian Hawk wrote:
 I'm having a strange situation for quite sometime. I have two external
 interfaces one of which is an ADSL interface tun0 and obtains IP address
 dynamically and the other is a (xl1) leased line which has a static
 global IP address, lets say 212.64.212.180. Both interfaces access
 internet without any problem.

 Recently I've configured qmail on this system to send out email thru xl1
 interface and use ADSL only for web traffic. It used to work quite good
 for a while but recently I noticed TCP packets have been going out from
 tun0 and responses coming in thru xl1. tun0 and ADSL is the default
 gateway. But the TCP packets are bound to 212.64.212.180 IP address
 which should send them out thru xl1. But it doesn't.

No, you are wrong. Packet will be forwarded to default gateway through the 
interface which is on same network with it. You need some kind of policy 
routing. I'm not very familiar with ipf but with pf you can do:

pass out on $ext_if0 route-to ($ext_if1 $ext_gw1) inet from $ext_if1 to any
pass out on $ext_if1 route-to ($ext_if0 $ext_gw0) inet from $ext_if0 to any

or with ipfw you can use fwd rule action.


 For the test, I did these

 tcpdump -nt -i xl1 tcp 
 telnet -s 212.64.212.180 smtp.tnet.com 25

 connection establishes but I can see only the TCP response packets
 coming from xl1, like the following

 x.y.z.t  212.64.212.180
 x.y.z.t  212.64.212.180

 All from external IPs to my xl1 int. No packets going out from xl1 they
 all go thru default gateway even if TCP connections are bound to xl1's
 IP address.

 I'd like to know if anybody knows why this happened and I can I turn
 things back the way they were. Any help would be much appreciated.

 My configuration is like this;

 FreeBSD 5.4-RELEASE
 ipf: IP Filter: v3.4.35 (336)
 Kernel: IP Filter: v3.4.35
 ipfw has no rules; allow ip from any to any
 there's also a transparent proxy setup for squid

 #~netstat -rn
 Routing tables

 Internet:
 DestinationGatewayFlagsRefs  Use  Netif Expire
 default88.234.8.1 UGS 0 78722302   tun0
 10/24  link#1 UC  00rl0 =
 10 10.1.1.222 UGS 026233xl0
 10.0.0.99  link#1 UHLW04rl0
 10.1.1/24  link#2 UC  00xl0
 10.1.1.13  00:50:8d:ed:88:94  UHLW0 1876xl0   1118
 10.1.1.222 00:01:02:df:c1:19  UHLW1  689lo0
 10.1.1.225 00:b0:d0:20:b7:9e  UHLW096690xl0706
 88.234.8.1 88.234.14.26   UH  10   tun0
 127.0.0.1  127.0.0.1  UH  0  2305904lo0
 192.168.0/16   link#3 UCS 00xl1
 212.64.212.176 ff:ff:ff:ff:ff:ff  UHLWb   0   15xl1 =
 212.64.212.176/29  link#3 UC  00xl1
 212.64.212.180 00:04:76:9b:3d:f8  UHLW0  125lo0

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

-- 
Dancho Penev
___
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 USB Palm sync

2006-10-20 Thread Damian Wiest
On Thu, Oct 19, 2006 at 09:25:19AM -0400, Jonathan Arnold wrote:

[snip]

 Thanks for all your help here!  When I first read this, I said to myself 
 that
 it wouldn't help, that I've tried all these various permutations.  Imagine 
 my
 surprise when it *did* work! I will post a complete followup on my blog, but
 I did have to load the 'uvisor' driver to get this process to work:
 
 # kldload uvisor
 
 Which I'm sure I played with before, but now it works.  Now I am just 
 struggling
 to get my Palm, which was recently hard-reset, back to where it was a few 
 months
 ago. I have the data on my hard drive, but I can't seem to figure out the 
 magical
 incantation to move it over to the Palm. It is in JPilot, but I haven't 
 quite
 gotten that to work smoothly.

Be extremely careful with this.  I was in the exact same situation and 
managed to wipe out my local Palm data doing a restore.  My phone 
(actually all of the Palm devices I've owned) tends to crash pretty 
frequently and require hard resets, which wipes out the username and all 
stored data.  In order for J-Pilot to sync with the device, it's going 
to want the usernames to match between the two.  Do _not_ use the 
File-Restore_Handheld command in J-Pilot to reset the username on the 
phone.  I had an older version of J-Pilot installed and when I did this 
(only selecting to restore Preferences) and watched as my local data was 
replaced, not merged, with the data from the phone.  Instead, use 
File-Install_User.

I'd recommend that you sync devices daily and also keep backups of the 
Palm files on your computer.  Also, keeping hardcopy backups is a good
idea.

 I know I shouldn't be running the apps as root, but I haven't bothered
 to configure /etc/devd.conf and /etc/devfs.rules on my laptop.
 
 I've played with this a bit and it is a little weird.  Again, I hope to 
 have a full
 report on my blog some day real soon.
 
 And thanks for your (and Anish's) help.  Learned a lot about run-time 
 devices!
 
 -- 
 Jonathan Arnold (mailto:[EMAIL PROTECTED])
 Daemon Dancing in the Dark, a FreeBSD weblog:
 http://freebsd.amazingdev.com/blog/
 
 UNIX is user-friendly. It's just a bit picky about who its friends are.

I'm glad I could be of assistance.

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


binary blobs in freebsd

2006-10-20 Thread Antonios Anastasiadis

Hello.
I am thinking about using FreeBSD in various places, however before I
do that it would be comfortable to know what binary blobs it includes
in any part of the system, be it binary daemon, binary driver etc.
Two I am aware of are the Atheros Hal and an Adaptec RAID driver.
I did not find any definitive resource of some kind anywhere, hence
the question here.
Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CD install on new Dell Dimension E521

2006-10-20 Thread Paul Root

I just got a Dimension e521 that I'm going to install FreeBSD on.
I'm having some trouble.


I've tried the 6.1-RELEASE i386 DVD,
I've downloaded the 6.1-Release CD iso for AMD64
I've downloaded the 6.2-Beta2 CD (today 10/20) for AMD64.

All give the same error:

panic: ohci_add_done: addr 0x3bef1ba0 not found

This is a AMD Athlon 64 x2, 3800, 1 gig, 160gb,
no PS/2 keyboard only USB. 6 usb ports.

The screen blanks before I can write down everything. Since
I can't stop it by hitting the keyboard.

The keyboard has the following as part of it's dag:

atkbdc0: (keyboard controller i8042) on port  0x60 0x64

Something like that.

Any words of wisdom?

Thanks,
Paul.


Paul Root
[EMAIL PROTECTED]



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


Problems with SATA 2 hard disk while installing FreeBSD 6.1 RELEASE AMD 64

2006-10-20 Thread COKYAZICI
Hi, I'm trying to install FreeBSD 6.1 RELEASE AMD 64
on a new computer I bought, it has a ECS C51GM
motherboard, with one SATA 2 hard disk, and an AMD
Athlon 64 4200+ X2 on socket AM2. When I boot with the
install CD, it crashes before starting the sysinstall,
just after it finishes showing the details about the
DVD writer, which I presume happens when it's checking
for hard disks. I managed to get sysinstall to start
when I booted it up in safe mode, but then when I
tried to install FreeBSD, it said no hard disks
detected.

I hope someone can help me to figure out how to
install FreeBSD 6.1 RELEASE AMD 64.

Here are more details about the motherboard:

Motherboard Name:
ECS C51GM

Chipset Name
NVIDIA GeForce 6100  nForce 410

CPU Socket Type
Socket AM2

Form Factor
Micro ATX

CPU Compatibility
All AMD Socket AM2

Memory FSB
DDR2 667/533

Memory Slots
2

Max Memory
16GB

PCI 16X
1

PCI 1X
1

PCI
2

Integrated Graphics
Geforce 6100 based 2d/3d engine

IDE
2 UltraDMA 133/100/66 Connectors

SATA
2

RAID Level
Raid 0,1 Support

Audio
Realtek AL655 6-channel audio

LAN
Broadcom AC131 10/100

USB
2 internal, 4 external

USB Speed
2.0






___ 
All new Yahoo! Mail The new Interface is stunning in its simplicity and ease 
of use. - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html
___
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 SATA 2 hard disk while installing FreeBSD 6.1 RELEASE AMD 64

2006-10-20 Thread Peter A. Giessel


On 2006/10/20 13:45, COKYAZICI seems to have typed:
 Chipset Name
 NVIDIA GeForce 6100  nForce 410


With FreeBSD 6.0-RELEASE AMD 64, this was reported:
*** QUOTE ***
Biostar

GeForce 6100-M9

nForce 410 + GeForce 6100 / Socket 939

Vikash

6.0-RELEASE

On-board ethernet controller is not detected. ATA controller is marked
as generic and works at ATA33 highest.
*** END QUOTE ***

See:
http://www.freebsd.org/platforms/amd64/motherboards.html

You might have to use a supported SATA card...  I don't see any more
recent reports of that chipset being used, although there are two that
report a nVidia nForce 410 / Socket 754 chipset, and both say:
*** QUOTE ***
On-board ethernet and audio chips are not supported.
*** END QUOTE ***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gateway problem

2006-10-20 Thread Brian Hawk

On Friday 20 October 2006 21:42, Brian Hawk wrote:

I'm having a strange situation for quite sometime. I have two external
interfaces one of which is an ADSL interface tun0 and obtains IP address
dynamically and the other is a (xl1) leased line which has a static
global IP address, lets say 212.64.212.180. Both interfaces access
internet without any problem.

Recently I've configured qmail on this system to send out email thru xl1
interface and use ADSL only for web traffic. It used to work quite good
for a while but recently I noticed TCP packets have been going out from
tun0 and responses coming in thru xl1. tun0 and ADSL is the default
gateway. But the TCP packets are bound to 212.64.212.180 IP address
which should send them out thru xl1. But it doesn't.

No, you are wrong. Packet will be forwarded to default gateway through the 
interface which is on same network with it. You need some kind of policy 
routing. I'm not very familiar with ipf but with pf you can do:
  
Unfortunately it doesn't go thru the interface which has Src IP address 
same as with it. But goes thru the default gateway. But since the Src IP 
address in the IP packet is 212.64.212.180, all TCP replies come from 
the right interface (xl1) which makes sense because the devices on the 
internet wouldn't make the same mistake.

pass out on $ext_if0 route-to ($ext_if1 $ext_gw1) inet from $ext_if1 to any
pass out on $ext_if1 route-to ($ext_if0 $ext_gw0) inet from $ext_if0 to any
  
or with ipfw you can use fwd rule action.
  
a fwd cannot solve my problem because it likes to forward packets to a 
certain IP addr or an IP:port, which is not what I want. I just need to 
forward (or rather route) them thru an interface. Again, I still think 
this is what FreeBSD should really be doing for packets which have 
interface's IP  as Src IP addr in the IP header.

For the test, I did these

tcpdump -nt -i xl1 tcp 
telnet -s 212.64.212.180 smtp.tnet.com 25

connection establishes but I can see only the TCP response packets
coming from xl1, like the following

x.y.z.t  212.64.212.180
x.y.z.t  212.64.212.180

All from external IPs to my xl1 int. No packets going out from xl1 they
all go thru default gateway even if TCP connections are bound to xl1's
IP address.

I'd like to know if anybody knows why this happened and I can I turn
things back the way they were. Any help would be much appreciated.

My configuration is like this;

FreeBSD 5.4-RELEASE
ipf: IP Filter: v3.4.35 (336)
Kernel: IP Filter: v3.4.35
ipfw has no rules; allow ip from any to any
there's also a transparent proxy setup for squid

#~netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default88.234.8.1 UGS 0 78722302   tun0
10/24  link#1 UC  00rl0 =
10 10.1.1.222 UGS 026233xl0
10.0.0.99  link#1 UHLW04rl0
10.1.1/24  link#2 UC  00xl0
10.1.1.13  00:50:8d:ed:88:94  UHLW0 1876xl0   1118
10.1.1.222 00:01:02:df:c1:19  UHLW1  689lo0
10.1.1.225 00:b0:d0:20:b7:9e  UHLW096690xl0706
88.234.8.1 88.234.14.26   UH  10   tun0
127.0.0.1  127.0.0.1  UH  0  2305904lo0
192.168.0/16   link#3 UCS 00xl1
212.64.212.176 ff:ff:ff:ff:ff:ff  UHLWb   0   15xl1 =
212.64.212.176/29  link#3 UC  00xl1
212.64.212.180 00:04:76:9b:3d:f8  UHLW0  125lo0

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
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: Gateway problem

2006-10-20 Thread Chuck Swiger

On Oct 20, 2006, at 3:22 PM, Brian Hawk wrote:
No, you are wrong. Packet will be forwarded to default gateway  
through the interface which is on same network with it. You need  
some kind of policy routing. I'm not very familiar with ipf but  
with pf you can do:


Unfortunately it doesn't go thru the interface which has Src IP  
address same as with it. But goes thru the default gateway. But  
since the Src IP address in the IP packet is 212.64.212.180, all  
TCP replies come from the right interface (xl1) which makes sense  
because the devices on the internet wouldn't make the same mistake.
pass out on $ext_if0 route-to ($ext_if1 $ext_gw1) inet from  
$ext_if1 to any
pass out on $ext_if1 route-to ($ext_if0 $ext_gw0) inet from  
$ext_if0 to any

  or with ipfw you can use fwd rule action.

a fwd cannot solve my problem because it likes to forward packets  
to a certain IP addr or an IP:port, which is not what I want. I  
just need to forward (or rather route) them thru an interface.  
Again, I still think this is what FreeBSD should really be doing  
for packets which have interface's IP  as Src IP addr in the IP  
header.


The source address of a packet is irrelevant to normal routing; only  
the destination matters.


Unless you set up a routing daemon which implements other policies,  
the FreeBSD TCP/IP stack uses only the destination address to do a  
lookup in the kernel's routing table, using the most precise matching  
route, or the default route if one is present and no other route is  
available.


--
-Chuck

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


Python memory allocator: Free memory (fwd)

2006-10-20 Thread Nguyen Tam Chinh

Hello,

I really don't know whether this is a good idea to forward this message to 
ports@ and [EMAIL PROTECTED] I wrote to freebsd-python@ but there's no reply so 
far.

So this is the problem description:
I noticed that the free memory function patch 
(http://sourceforge.net/tracker/index.php?func=detailaid=1123430group_id=5470atid=305470) 
was included in Python-2.5.
I built the Python-2.5 port in FreeBSD (6.2-PRELENG, latest ports tree) 
but the problem with free allocated memory still exists.
Do you have any information about this case? The feature seems to work in 
GNU/Linux and Windows.


Thank you all for your attention.
-
With best regards,  |The Power to Serve
Nguyen Tam Chinh|  http://www.FreeBSD.org
Loc: sp.cs.msu.su   |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
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: priority of make/ports options (?) -- FreeBSD Port: sysutils/portconf

2006-10-20 Thread martinko
Doug Barton wrote:
 martinko wrote:
 Hello,

 I'm using portconf to set ports' knobs.  Also I'm setting some general
 knobs via make.conf.

 Now I've run into this situation:
 - i've got WITH_GECKO=seamonkey in /etc/make.conf
 - yelp from new gnome 2.16 does not build with knob above. therefore in
 /usr/local/etc/ports.conf i set:
 x11/yelp: WITH_MAN | WITH_INFO | USE_GECKO=xulrunner
 Unfortunately it does not work as I intended -- when I `portinstall
 gnome2-lite` it tries to build yelp WITH_GECKO=seamonkey. :-/

 How can I solve this pls ??
 How can I specify a general knob and then override it for some ports ?

 Don't set global knobs in make.conf. Set them in ports.conf like this:

 *:WITH_GECKO=seamonkey
 x11/yelp:WITH_MAN | WITH_INFO | USE_GECKO=xulrunner

 That should give you the precedence that you need.

 hth,

 Doug


Doug, thank you for the idea!

Meanwhile, when I was going to check it, I found out that I mistyped
(originally) my knob -- it should be WITH_GECKO=xulrunner (not
USE_GECKO) -- and it works now, too! :-)

Anyway, I'm going to move port related knobs from make.conf to
ports.conf (which wasn't available at the time I populated my make.conf).

With regards,

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


Re: fstab (local) mount -- FreeBSD Port: sysutils/fusefs-curlftpfs

2006-10-20 Thread Jerry McAllister
On Fri, Oct 20, 2006 at 09:10:54PM +0200, martinko wrote:

 Hello,
 
 This is from CurlFtpFS FAQ:
 
 # *How can I make CurlFtpFS mount automatically at startup?*
 You can add it to /etc/fstab. Example:
 
   curlftpfs#ftp.host.com /mnt/host fuse rw,uid=500,user,noauto 0 0
   
 
 However, it does not work on FreeBSD -- mount fails with this complain:
 mount: exec mount_fusefs not found in /sbin:/usr/sbin: No such file or
 directory
 
 Of course, we have it here: /usr/local/sbin/mount_fusefs
 
 Is there any workaround or could this be fixed/amended somehow pls ??

Looks like you need to add /usr/local/sbin to your path.

jerry

 
 Cheers,
 
 Martin
 ___
 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: Recommended Hardware

2006-10-20 Thread Damian Wiest
On Thu, Oct 19, 2006 at 05:44:01PM -0500, David Kelly wrote:
 On Thu, Oct 19, 2006 at 10:44:10PM +0100, Alex Zbyslaw wrote:
  
  Those have worked for me so far, and yes, it is labour intensive.
 
 If it was easy to do right then there wouldn't be any good reason for
 your boss not to hire the kid behind the counter at MacWhopperDoodle
 with a $0.50/hr raise to give your job to him.
 
 I agree with others. Ask what you want the hardware to do. Make
 selections then research as to whether your selections work well with
 FreeBSD. Don't fill a computer room on guesswork and reading, buy
 samples and test.
 
 Of particualar areas to pay attention:
 
 Video controllers. Look for X.org support.
 
 Disk controllers. Hardware RAID and the latest SATA chipsets may be an
 issue.
 
 Network interfaces. Most seem to work.
 
 Motherboard  CPU. FreeBSD seems to run on most any x86 but if you
 expect on board power management and health status you'll have to do
 some research.
 
 -- 
 David Kelly N4HHE, [EMAIL PROTECTED]
 
 Whom computers would destroy, they must first drive mad.
 ___

Regarding system boards, make sure you also check out the support for any
on-board components like networks interfaces, RAID controllers, audio and 
video, firewire, etc.

I've got an ASUS K8N-E system board at home, but it uses the NVIDIA chipset
so virtually none of the on-board components function.

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


Wireless setup FreeBSD-6.1 and fwe0

2006-10-20 Thread Lane
Hi!

I'm running FreeBSD 6.1 on a Dell Inspiron 6400 which is configured to dual 
boot into Windows XP-Pro.

I just got this laptop today, but I've been using Freebsd since 3.4, or 
earlier.

When I boot into Windows I am able to access my Linksys wireless router.  
There is another secured wireless network nearby, and that may make a 
difference if you read between the lines at:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

My problem is that I can't get the wireless network to function in Freebsd.  

Here's ifconfig -a

bfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1
inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255
ether 00:15:c5:b8:03:9e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fwe0: flags=108902BROADCAST,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
options=8VLAN_MTU
inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2
inet 0.0.0.0 netmask 0xff000 broadcast 255.255.255.255
ether 32:4f:c0:9c:75:41
ch 1 dma -1
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00

I've googled a similar issue here:
http://groups.google.com/group/lucky.freebsd.questions/browse_frm/thread/d68ec8e94a4d45f9/c513bc5b1afe7517?lnk=stq=fwe0+needsgiantrnum=3#c513bc5b1afe7517
But didn't get a resolution.  The google post refers to ugen and to ural, but 
that looks more like an argument between different posters, rather than an 
answer to the original question.

I have NOT modified /boot/loader.conf, but I have tried the instructions in 
the handbook using kldload .. to no avail

dmesg has a peculiar entry:

fwe0: if_start running deferred for Giant

the rest of it follows.  The clue, I think, is that in ifconfig fwe0 
NEEDSGIANT and in dmesg, if_start is deferred for Giant.

Who is this giant?  How do I slay him?

Based upon the google post, I am suspicious that fwe0 may not, in fact, be the 
actual interface.  But again, that post is suspect.  So I'm not sure where to 
go next (thank the devil for [EMAIL PROTECTED])!

Thanks,

lane

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-SCANDB-2006-09-20 #0: Thu Sep 21 07:30:59 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU   T2300  @ 1.66GHz (1662.51-MHz 686-class 
CPU)
  Origin = GenuineIntel  Id = 0x6e8  Stepping = 8
  
Features=0xbfe9fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xc189SSE3,MON,EST,TM2,b14,b15
  AMD Features=0x10NX
  Cores per package: 2
real memory  = 1064120320 (1014 MB)
avail memory = 1032196096 (984 MB)
ACPI APIC Table: DELL   M07
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: DELL M07 on motherboard
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
cpu1: ACPI CPU on acpi0
acpi_throttle1: ACPI CPU Throttling on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
acpi_acad0: AC Adapter on acpi0
battery0: ACPI Control Method Battery on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: display, VGA at device 2.0 (no driver attached)
pci0: display at device 2.1 (no driver attached)
pci0: multimedia at device 27.0 (no driver attached)
pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0
pci11: ACPI PCI bus on pcib1
pci11: network at device 0.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 28.3 on pci0
pci12: ACPI PCI bus on pcib2
uhci0: UHCI (generic) USB controller port 0xbf80-0xbf9f irq 20 at device 
29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: UHCI (generic) USB controller port 0xbf60-0xbf7f irq 21 at device 
29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: UHCI (generic) USB controller port 0xbf40-0xbf5f irq 

Re: tao.thought.org is back.....

2006-10-20 Thread Gary Kline
On Fri, Oct 20, 2006 at 10:01:19PM +0300, Giorgos Keramidas wrote:
 On 2006-10-20 11:26, Gary Kline [EMAIL PROTECTED] wrote:
  /*
   * several lines of mail being rejected yesterday afternoon
   */
  
  3929:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: makeconnection 
  (tao.thought.org. [10.0.0.247]) failed: Connection refused by
  tao.thou
  ght.org.
  3930:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: --- 050 [EMAIL 
  PROTECTED]... Deferred: Connection refused by
  tao.thought.org.
  3931:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: to=[EMAIL 
  PROTECTED], delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=87298, 
  relay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection 
  refused by tao.thought.org.
  3944:Oct 19 13:11:29 sage sm-mta[8283]: k9JKAurL008281: makeconnection 
  (tao.thought.org. [10.0.0.247]) failed: Connection refused by 
  tao.thought.org.
 
 Sendmail is not listening on all IP addressed of tao.thought.org.
 
 Can you show me the following:
 
 (a) The `/etc/rc.conf' settings related to Sendmail:
 
 tao# grep sendmail /etc/rc.conf
 
 (b) The listening sockets of Sendmail on `tao.thought.org':
 
 tao# sockstat -l4 | grep sendmail
 
See appended.  I was ssh'd into sage|ns1 and did this.  On the
nameserver I have sendmail_submit_enable=NO; that's the only 
diff between the two grep'd outputs. 

If DHCP had timed out on the evening of the 18th/morning of the
19th, would|could  that have caused my prolems?  I rebooted both
servers almost simultaneously and saw on tao that DHCP  was having 
some kind of difficulty.  When tao came up I tried ssh'ing
around.  No problem. As root in /var/log I did a grep -i dhcp
but didn't see anything.  Anyway, mail started flowing across 
and I didn't notice that mail had *quit* by the afternoon of the
19th.   By then I was heading out.

gary



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

## sendmail conf
sendmail_enable=YES
### (16mar)sendmail_submit_enable=NO
### (16mar)sendmail_submit_flags=-bd -q30m -ODaemonPortOptions=Addr=localhost
sendmail_enable=YES
sendmail_submit_enable=YES
sendmail_submit_flags=-L smtpd -bd -q30m -ODaemonPortOptions=Addr=localhost

root sendmail   414   4  tcp4   *:25  *:*
root sendmail   414   6  tcp4   *:587 *:*


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


Re: Question with mouse pointer

2006-10-20 Thread Jim Stapleton

Thanks, that is what I was looking for/thinking of.

On 10/19/06, Norberto Meijome [EMAIL PROTECTED] wrote:

On Thu, 19 Oct 2006 20:16:16 -0400
Jim Stapleton [EMAIL PROTECTED] wrote:

 What's the best way to get a larger pointer on my comptuer? I'm
 running Xorg/KDE. I tried to look, but the only thing I could find was
 cursor profiles, and I'd rather not have to figure out how to create a
 new profile...

 Sorry for the lack of specifics and details, but I'm not what else to
 put here.  Lowering the resolution isn't really an option either...

Hi Jim,
usually (in my experience) this is done by changing the cursors you actually
use (rather than 'enlarge' the current by some software method).

On my 6.2-PRERELEASE system X cursors are located in /usr/X11R6/lib/X11/icons/

you can download packages and extract them in folders there, or simply install
them from ports (search for 'cursor' in the  name). To change the default
setting (so it affects your login manager too, you need to edit

/usr/X11R6/lib/X11/icons/default/index.theme

For example, I have the following cursor packages installed:

$ pkg_info | grep curso
cursor-bluecurve-theme-0.234_2 The Bluecurve X cursor themes

and my index.theme is:

[EMAIL PROTECTED] [Fri Oct 20 10:59:07 2006]
/usr/X11R6/lib/X11/icons/default
$ cat index.theme
[Icon Theme]
Inherits=Bluecurve-inverse
#Inherits=core


There may be some way for your desktop manager to modify the cursor... but
this works, and I use XFCE, so i don't know those details about KDE or GNOME. I
think Enlightment has some mouse-pointer related settings, but it's been a
while since I tried it.

HIH,
B

_
{Beto|Norberto|Numard} Meijome

Percusive Maintenance - The art of tuning or repairing equipment by hitting it.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.


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


Re: fstab (local) mount -- FreeBSD Port: sysutils/fusefs-curlftpfs

2006-10-20 Thread martinko
Jerry McAllister wrote:
 On Fri, Oct 20, 2006 at 09:10:54PM +0200, martinko wrote:

   
 Hello,

 This is from CurlFtpFS FAQ:

 # *How can I make CurlFtpFS mount automatically at startup?*
 You can add it to /etc/fstab. Example:

   curlftpfs#ftp.host.com /mnt/host fuse rw,uid=500,user,noauto 0 0
   

 However, it does not work on FreeBSD -- mount fails with this complain:
 mount: exec mount_fusefs not found in /sbin:/usr/sbin: No such file or
 directory

 Of course, we have it here: /usr/local/sbin/mount_fusefs

 Is there any workaround or could this be fixed/amended somehow pls ??
 

 Looks like you need to add /usr/local/sbin to your path.

 jerry
   

Hi,

I do not think that is the case:

$ env | grep PATH
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/mato/bin

It seems that mount(8) is hardcoded or something to look only in those
two directories, ignoring any /usr/local/sbin stuff.

So the original question remains -- what can be done about it ??

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


BTX Halted on 6.1 but not 5.4

2006-10-20 Thread Chris
I was trying to build a test machine so I could run something on 6.2  
PR and keep abreast of the changes without updating a server I've  
pushed a little further than I should have ;-). I had an old Compaq  
Presario Athlon 900 that wasn't doing anything so I attempted to  
install using the 6.1 ISO. I found I could not get past a BTX Halted  
error even after disabling everything in BIOS that can be disabled,  
disabling ACPI and removing all the cards but the video. The board is  
quite proprietary and has no configuration options whatsoever.


Researching this, I found several possibilities but none applied and  
I concluded there wasn't much that could be done to work around the  
problem. Then when I was about to give up, I noticed I still had an  
old 5.4 ISO in my stacks of disks. I popped it in and it sailed through.


My question is, is there a good probability that if I install 5.4 and  
cvsup to RELENG_6 that it will work. I didn't see anything that  
actually gave a clear definition of the BTX Halted error and am  
wondering if I put in 5 or 6 hours on this box, does the BTX Halted  
error provide any indication that it may have an issue anyway beyond  
just sysinstall? The cost of a mobo and CPU for a test system will  
end up a pretty cheap alternative if the hours start adding up.


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