install vmware 3 on freebsd 5.3

2006-01-26 Thread dima
installing vmware well, but in the end - problem:

...
Do you accept? (yes/no) yes
Thank you.
You are not running Linux.  This version of the product only runs on Linux.
Execution aborted.

>> what to do, that pass this problem and run vmware?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox 1.5

2006-01-26 Thread Jonathan Chen
On Fri, Jan 27, 2006 at 12:54:25AM -0600, Ben Siemon wrote:
> Thank you I failed to make the distinction between the release port tree and
> the current one I think.
> I take it that portsnap retrieces a snap shot of the current ports?

Yup.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Jesus saves.
   Allah forgives.
 Cthulu thinks you'd make a nice sandwich.

> On 1/27/06, Jonathan Chen <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, Jan 27, 2006 at 12:06:39AM -0600, Ben Siemon wrote:
> > > So I install firefox from /usr/ports/www/firefox on freebsd 6.0 and I
> > > assumed that it was 1.5. The info on the web said that 1.5 was in the
> > ports
> > > collection but the source ball in the ports dir was for 1.0.7 and I have
> > > seen people with questions about firefox 1.5. I have used each of the
> > > methods suggested in the handbook for upgrading the ports tree but the
> > > source has stayed for 1.0.7.
> >
> > What did you do to update your ports-tree? The easiest way on
> > FreeBSD-6.0 is with portsnap:
> >
> > # portsnap fetch
> > # portsnap extact
> >
> > And that'll have your ports tree up-to-date ready to build firefox.
> > --
> > Jonathan Chen <[EMAIL PROTECTED]>
> > --
> >   "Opportunity does not knock,
> >it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


spamassassin problem and question

2006-01-26 Thread David Banning
While spamassassin is executing I am getting this error;

Can't locate Razor2/Client/Agent.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.8.7 ../lib /usr/local/lib/perl5/5.8.7/BSDPAN 
/usr/local/lib/perl5/site_perl/5.8.7/mach /usr/local/lib/perl5/site_perl/5.8.6 
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7) at 
/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Plugin/Razor2.pm line 
70. 

So I look for the file;

# locate Agent.pm
/usr/local/lib/perl5/site_perl/5.005/Sitescooper/UserAgent.pm
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Razor2/Client/Agent.pm
/usr/local/lib/perl5/site_perl/5.8.7/LWP/UserAgent.pm

In my simplistic way of attempting resolution, I am thinking 
of just adding /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
to @INC - but here is where my knowledge runs out. Where are the
references to directories referred to as @INC stored? 
@INC does not appear to be a file.

I may even be attempting to solve this incorrectly. Any pointers
would be useful -
-- 

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


Re: Firefox 1.5

2006-01-26 Thread Kris Kennaway
On Fri, Jan 27, 2006 at 12:06:39AM -0600, Ben Siemon wrote:
> So I install firefox from /usr/ports/www/firefox on freebsd 6.0 and I
> assumed that it was 1.5. The info on the web said that 1.5 was in the ports
> collection but the source ball in the ports dir was for 1.0.7 and I have
> seen people with questions about firefox 1.5. I have used each of the
> methods suggested in the handbook for upgrading the ports tree but the
> source has stayed for 1.0.7. Is this a case of have to install it from the
> source on the mozilla web site? Is there any easy way to install firefox 1.5?
> I have a feeling that I am missing some glaring fact that will solve this
> but I have been unable to find it for a week. So I figured I would go crying
> for help.

Presumably you didn't manage to update your ports tree yet (or you're
updating to an old version, e.g. the 6.0-RELEASE ports tree).  If
you're using cvsup, please post your supfile so we can check what is
wrong with it.

Kris


pgpBlpJJ8CZy1.pgp
Description: PGP signature


Re: Firefox 1.5

2006-01-26 Thread Mick Beaver
Ben,

Do the following:
cat /usr/ports/www/firefox/distinfo

It should have info about the firefox source download for version 1.5.
If it does not, you will have to look next into upgrading your ports.

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


Re: Firefox 1.5

2006-01-26 Thread Jonathan Chen
On Fri, Jan 27, 2006 at 12:06:39AM -0600, Ben Siemon wrote:
> So I install firefox from /usr/ports/www/firefox on freebsd 6.0 and I
> assumed that it was 1.5. The info on the web said that 1.5 was in the ports
> collection but the source ball in the ports dir was for 1.0.7 and I have
> seen people with questions about firefox 1.5. I have used each of the
> methods suggested in the handbook for upgrading the ports tree but the
> source has stayed for 1.0.7.

What did you do to update your ports-tree? The easiest way on
FreeBSD-6.0 is with portsnap:

# portsnap fetch
# portsnap extact

And that'll have your ports tree up-to-date ready to build firefox.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Setting up Sound Blaster Pro card

2006-01-26 Thread Mick Beaver
Ivan,

SoundBlaster compatible does not mean that it requires the SoundBlaster drivers.

Here is how I figure out the audio system with FreeBSD. I am certain
the others will be able to correct me.

I just reinstalled my computer, queen-supreme, last night. Here is what I do:

queen-supreme# kldload snd_driver
queen-supreme# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0xe000 irq 22 kld snd_via8233 (5p/1r/0v
channels duplex default)

You see the driver name after "kld". This is what you will load or
compile into your kernel.

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


Firefox 1.5

2006-01-26 Thread Ben Siemon
So I install firefox from /usr/ports/www/firefox on freebsd 6.0 and I
assumed that it was 1.5. The info on the web said that 1.5 was in the ports
collection but the source ball in the ports dir was for 1.0.7 and I have
seen people with questions about firefox 1.5. I have used each of the
methods suggested in the handbook for upgrading the ports tree but the
source has stayed for 1.0.7. Is this a case of have to install it from the
source on the mozilla web site? Is there any easy way to install firefox 1.5?
I have a feeling that I am missing some glaring fact that will solve this
but I have been unable to find it for a week. So I figured I would go crying
for help.

--
cheers

Ben Siemon

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


mpd and eap support

2006-01-26 Thread gahn
Hi:

Looks like mpd 4.02b support eap, but I am running mpd
3.18.2.  Anyway to fix this? Or I have to install mpd
4.02b? what difference between ecp and eap?

Thanks for your help.

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


Setting up Sound Blaster Pro card

2006-01-26 Thread Ivan \"Rambius\" Ivanov
Dear Colleagues,

I am trying to set up my sound card and I am finding some difficulties.

First, here is the description of the hardware. I use Acer TravelMate
4060 laptop with 512 MB RAM with Intel Chipset 915GM. The Audio
Section taken directly from the laptop's user guide is:
Audio system with two built-in speakers
Built-in microphone
Sound Blaster Pro and MS Sound compatible.

Second, the FreeBSD version is
$ uname -a
FreeBSD petya.myhome.westell.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0:
Fri Jan 27 03:08:18 EET 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM20060127 
i386

The only difference of my custom kernel and the generic one is that I added
device atapicam
to configure my CD burner.

Next, here are my attempts of configuring the sound card. I read [1] 
and I checked /usr/src/sys/conf/NOTES to find some clues which driver
should be loaded. I also googled about "Sound Blaster Pro" + FreeBSD
and found [2] and I concluded that I have to use snd_sbc, snd_sb8 and
possibly snd_sb16. I added the following three lines to
/boot/loader.conf
snd_sbc_load="YES"
snd_sb8_load="YES"
snd_sb16_load="YES"

I then rebooted my machine and when it started I ran dmesg:
$ dmesg | grep sound
Preloaded elf module "/boot/kernel/sound.ko" at 0xc0ab82d8.
$ dmesg | grep snd
Preloaded elf module "/boot/kernel/snd_sb16.ko" at 0xc0ab8228.
Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc0ab8384.
Preloaded elf module "/boot/kernel/snd_sb8.ko" at 0xc0ab8430.

kldstat shows
Id Refs AddressSize Name
 1   13 0xc040 632618   kernel
 21 0xc0a33000 4fc0 snd_sb16.ko
 34 0xc0a38000 1d408sound.ko
 43 0xc0a56000 4934 snd_sbc.ko
 51 0xc0a5b000 49ec snd_sb8.ko
 6   16 0xc0a6 568dcacpi.ko
 71 0xc1e7a000 2000 blank_saver.ko
 81 0xc1e9 15000linux.ko

I also started pciconv -lv and the relevant section about audio is:
[EMAIL PROTECTED]:27:0:class=0x040300 card=0x008f1025 chip=0x26688086
rev=0x04 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller'
class= multimedia

This makes me think that no driver is attached to the sound card.

cat /dev/sndstat shows
FreeBSD Audio Driver (newpcm)
Installed devices:


Also when I enter kde, it says that device /dev/dsp cannot be found
and when I try to play an mp3 file with xmms, it shows a dialog titled
"Cannot open video".

I also tried with no success to build a custom kernel with by adding
device sound
device "snd_sb8"
device "snd_sb16"


Could you please help in finding the right configuration? If you need
more information I will be happy to provide it.

Thank you very much in advance

Regards
Ivan

[1]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
[2]http://lists.freebsd.org/pipermail/freebsd-mobile/2005-February/005866.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Mikhail Goriachev
gahn wrote:
> Hi all:
> 
> I have strange probelm with rc.conf. I set up ipfw
> (compiled into kernel) on freebsd-5.4 and it doesn't
> seem to load ipfw rulesets (it uses default ruleset
> 65335 locking out everything). I have to do "sh
> /etc/ipfw.rules" in order to load the rulesets, once I
> did that, I can access the box from remote locations
> 
> [...]


> ipfilter_rules="/etc/ipf.rules"   

Hi,

Your rc.conf looks for ipf.rules instead of ipfw.rules files. Adding the
missing "w" may solve your problem.

Mikhail.

-- 
Mikhail Goriachev
Systems Administrator
Naval Radio

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.navalradio.cl

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B



signature.asc
Description: OpenPGP digital signature


Re: strange problem with ipfw and rc.conf

2006-01-26 Thread gahn
arne:

Thanks. I did and it worked. You are right; the kernel
options don't change the fact that the statement of
"firewall_enable" must be in the rc.conf.

Best 

--- Arne Woerner <[EMAIL PROTECTED]> wrote:

> --- gahn <[EMAIL PROTECTED]> wrote:
> > Thanks for the comments.
> > 
> > My real problem is thta the rc.conf just won load
> the
> > rulesets when the system reboots. I have to do
> this
> > every time the system reboots: "sh
> /etc/ipfw.rules"
> > 
> Could you just try
>   firewall_enable=YES
> in your
>   /etc/rc.conf
> please?
> 
> Remember: The kernel options do not change
> /etc/default/rc.conf...
> 
> -Arne
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


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


Re: Elegant delete of word ~tmp files in all sub / dirs

2006-01-26 Thread Olivier Nicole
> > > removing all the word ~tmp files on our Samba
> > > server
> >
> >find /your/file-system -type f -name '*~tmp*' -print0 | xargs -0 rm -f
> >
> > or something like that.
> >
> 
> find /your/file-system -type f -name '*~tmp*' -delete

Or, Graham wanted something with {}

find /your/file-system -type f -name '*~tmp*' -exec /bin/rm -rf {} \;

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


RE: strange problem with ipfw and rc.conf

2006-01-26 Thread fbsd_user
Your problem is you have rc.conf loading 2 different firewalls
at same time.
IPFW which is compiled into your kernel as firewall and
ipfilter which you have rc.conf starting. You don't need to
compile either one of the firewalls into the kernel to work.

You need to read the firewall section of the handbook.
It contains a very complete usage description of the 3 firewalls
that come with FreeBSD.

I would recommend you use ipfilter as your firewall.
IPFW is for the experienced firewall user who has FW
requirements needing functions not provided by one of the
other FW's delivered with the base FreeBSD install.

And since it looks like you have 3 private circuits on your
LAN you will need NAT function and nat in ipfilter is so much
easier to set up than ipfw when using the keep state function
in your rules file.

The handbook ipfilter sample rules sets work as is.
Just copy and past into your own rules file and your pretty
much good to go after following the comments.


And another thing, its not acceptable behavior to cross post
to 2 lists with same question.
This question does not belong in [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of gahn
Sent: Thursday, January 26, 2006 6:35 PM
To: freebsd security; freebsd general questions
Subject: strange problem with ipfw and rc.conf


Hi all:

I have strange probelm with rc.conf. I set up ipfw
(compiled into kernel) on freebsd-5.4 and it doesn't
seem to load ipfw rulesets (it uses default ruleset
65335 locking out everything). I have to do "sh
/etc/ipfw.rules" in order to load the rulesets, once I
did that, I can access the box from remote locations

here is my rc.conf:

host# more /etc/rc.conf

network_interfaces="lo0 em0 dc0 rl0 plip0"
kern_securelevel="2"
kern_securelevel_enable="YES"
linux_enable="YES"
named_enable="YES"
nisdomainname="NO"
sshd_enable="YES"
usbd_enable="YES"
hostname="sis"
tcp_keepalive="YES"
tcp_extensions="YES"
ifconfig_em0="inet 192.168.128.222/24"
ifconfig_dc0="inet 192.168.1.4/24"
ifconfig_rl0="inet 10.10.75.126/24"
defaultrouter="192.168.128.1"
static_routes="net1 net2"
route_net1="-net 192.168.0.0/22 192.168.1.1"
route_net2="-net 10.10.0.0/16 10.10.128.1"
firewall_script="/etc/ipfw.rules"
firewall_type="simple"
firewall_quiet="YES"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Ds"
mpd_enable="YES"

also my customized kernel (partial):

options IPFIREWALL
#firewall
options IPFIREWALL_VERBOSE
#enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=10 #limit
verbosity
#optionsIPFIREWALL_DEFAULT_TO_ACCEPT#allow
everything by default
options IPFIREWALL_FORWARD
#packet destination changes
options IPFIREWALL_FORWARD_EXTENDED #all
packet dest changes
options IPDIVERT
#divert sockets

TIA


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

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


Re: Easy way to activate KQEMU for QEMU?

2006-01-26 Thread Chris Hill

On Thu, 26 Jan 2006, Xn Nooby wrote:


I de-installed qemu and kqemu, then I reinstalled qemu with the WITH_QEMU
option.  Before I could get KQEMU to work, I had to enter this command:

  kldload kqemu.ko

I've read that I can put this command in my /boot/loader.conf file


Correct. The line to add to /boot/loader.conf is

kqemu_load="YES"

That will do the same thing as 'kldload kqemu.ko', except it happens 
automatically at boot.



So far, I cannot really tell if it is faster, but I am assuming it is.


Subjectively, it is for me. My guest OS boots and runs apparently *much* 
faster with kqemu than without. Of course, I have no measurements.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bridging Firewall Machine Questions

2006-01-26 Thread Olivier Nicole
> I've also had problems with the bridge running out of dynamic rules. I've
> raised them to silly figures however I'm always wary that if a machine had a
> Trojan or some other form of malware that attempted a DoS attack, the bridge
> would probably fall over after exhausting its dynamic rule count and cause

I beleive other firewall solution (iptable or ipchain whatever is the
newest) have rate limiting for specific kind of traffic, so this
should prevent DoS, but as far as I remember ipfw has no such feature.

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


Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Arne Woerner
--- gahn <[EMAIL PROTECTED]> wrote:
> Thanks for the comments.
> 
> My real problem is thta the rc.conf just won load the
> rulesets when the system reboots. I have to do this
> every time the system reboots: "sh /etc/ipfw.rules"
> 
Could you just try
  firewall_enable=YES
in your
  /etc/rc.conf
please?

Remember: The kernel options do not change /etc/default/rc.conf...

-Arne


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


Re: Easy way to activate KQEMU for QEMU?

2006-01-26 Thread Xn Nooby
I de-installed qemu and kqemu, then I reinstalled qemu with the WITH_QEMU
option.  Before I could get KQEMU to work, I had to enter this command:

   kldload kqemu.ko

I've read that I can put this command in my /boot/loader.conf file

Now when I do a "info kqemu", it says KQEMU is enabled - so I think it is
working!

So far, I cannot really tell if it is faster, but I am assuming it is.  I
will do some benchmarks and check it out.

thanks!



On 1/26/06, Felix 'buebo' Kakrow <[EMAIL PROTECTED]> wrote:
>
> On Thu, 26 Jan 2006 14:29:26 -0500
> Xn Nooby <[EMAIL PROTECTED]> wrote:
>
> > Awesome, so I could either deinstall both and re-install kqemu, or
> > just rebuild qemu with the knob set?  (I don't know what a knob is,
> > but I think I can find out.)
> >
> > thanks!
> >
>
> Deinstall both and then cd to /usr/ports/emulators/qemu and 'make
> -DWITH_KQEMU install clean'.
>
> Cheers
> Felix
>
> --
> "If you want to realize what a ridiculous word 'lifestyle' is,
> consider the fact that technically speaking, Attila the Hun had an
> active, outdoor lifestyle."
> --George Carlin
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Dan O'Connor

Besides, I recompiled the customized kernel and there
is no need for "firewall_enable="YES"" statement in
rc.conf.


Yes, there is.

Just because it's compiled in, doesn't mean it's turned on. And since 
/etc/defaults/rc.conf has 'firewall_enable="NO" ' in it, it specifically 
is turned off.


~Dan

--
FreeBSD Cheat Sheets
  http://www.mostgraveconcern.com/freebsd/ 



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


Odd Partition/Newfs Question

2006-01-26 Thread John Hoover
I don't think I've done any harm, but I wanted another opinion or two.

Added an additional hard drive to an existing setup.
Then gave the following commands:

bsdlabel -w /dev/ad2
newfs -U -O 2 /dev/ad2
mount /dev/ad2 /mnt/ad2

then went about the business of moving and rearranging for having the new disk.
After the machine was back in production, I saw the odd mount point.

My question is, have I just ended up ignoring the bsdlabel command and I'm
using the entire disk as a "raw disk" or is there some set of reasons I should
re-bsdlabel and newfs /dev/ad2a this time.

John.
--
-
John F Hoover
[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: Problem with fsck

2006-01-26 Thread RW
On Thursday 26 January 2006 19:39, manish jain wrote:
> I recently persuaded my organisation to shift our main
> server from Linux to FreeBSD 6.0. We are now facing a
> problem with fsck. After improper shutdown, we need
> fsck to run automatically and non-interactively in the
> foreground upon restart. Enabling background fsck lets
> the system come up but fails to properly start a few
> network services. 

When you say you enabled it, do you simply mean you did nothing at all, or did 
you add an extra fsck -B somewhere.

Background fsck is enabled by default, and it runs 60 seconds after all other 
initialization. Partitions can only be deferred for background checking if 
they support it, and are in a mountable state.  These partitions are simply 
skipped in the pre-mount fsck check. 

All it does is recover lost space. It shouldn't have any impact other than a 
general slowdown.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RAM check

2006-01-26 Thread Philip Juels
Thanks...I downloaded the iso and memtest confirmed that the system has 
memory problems.


PJ

Noel Jones wrote:


On 1/26/06, Philip Juels <[EMAIL PROTECTED]> wrote:
 


I'm running into random seg faults during KDE and Gnome compilation, and
I and others on the list suspect faulty RAM.  Are there any utils out
there that can test/diagnose RAM (aside from the laughable BIOS POST).

   



http://www.memtest86.com/
http://www.memtest.org/

--
Noel Jones
___
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: Log file analyzer

2006-01-26 Thread Dan O'Connor
Does anyone know of a good free log file analyzer that can show where 
a

visitors entering via a search term browsed?

Ex. User xxx.xxx.xxx.xxx entered via a search for "puppies"
visited /lab.html
visited /care/fleas.html
visited /beagle.html
ended visit

All of the free ones I know of only show a list of search terms - not
any type of tracking.



Boy, wouldn't the Government LOVE to subpoena Google for that info!!!

Generally speaking, there's no way to track what links a user actually 
clicks on in search results. Once a page has been delivered to the end 
user, clicking on


   http://www.some_web_site_listed_in_search_results.com

won't notify the search engine that it's been clicked.


HOWEVER, if your search engine has a CGI script that redirects links, 
you can track it. An  tag such as:


   href="http://www.search_engine.com/track_my_ass.cgi?http://www.some_web_site_listed_in_search_results.com";> 
some_web_site_listed_in_search_results


will return to the search engine server (or wherever you want) where it 
can be logged and then forwarded to the actual destination.



So, it *is* possible, but the system needs to be set up ahead of time...

~Dan

--
FreeBSD Cheat Sheets
  http://www.mostgraveconcern.com/freebsd/ 



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


Re: strange problem with ipfw and rc.conf

2006-01-26 Thread gahn
Thanks for the comments.

My real problem is thta the rc.conf just won load the
rulesets when the system reboots. I have to do this
every time the system reboots: "sh /etc/ipfw.rules"


--- Oxygenshell <[EMAIL PROTECTED]> wrote:

> ipfw rules automatically default to deny
> You have to explicitly tell it to allow by default.
> (kernel setting)
> 
> 
> - Original Message - 
> From: "Arne Woerner" <[EMAIL PROTECTED]>
> To: "gahn" <[EMAIL PROTECTED]>; "freebsd security" 
> ; "freebsd general
> questions" 
> 
> Sent: Thursday, January 26, 2006 7:03 PM
> Subject: Re: strange problem with ipfw and rc.conf
> 
> 
> > --- gahn <[EMAIL PROTECTED]> wrote:
> >> 65335 locking out everything). I have to do "sh
> >> /etc/ipfw.rules" in order to load the rulesets,
> once I
> >> did that, I can access the box from remote
> locations
> >>
> > Hmm...
> >
> > It helped me, to look at /etc/rc.firewall... There
> are some
> > comments, that might give u the right hints...
> >
> > Maybe firewall_enable should be YES?
> >
> > E. g. my /etc/rc.firewall.bartely file cannot be
> executed with
> > sh... But maybe I still did not understand ipfw...
> >
> > My /etc/rc.firewall.bartely contains rules like:
> > add pass log all from any to 47.11.42.42
> > add deny log all from any to any
> >
> > And in rc.conf my
> firewall_type=/etc/rc.firewall.bartleby
> >
> > And I use default firewall_script=/etc/rc.firewall
> >
> > -Arne
> >
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > ___
> > freebsd-security@freebsd.org mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-security
> > To unsubscribe, send any mail to 
> > "[EMAIL PROTECTED]"
> >
> > 
> 
> 
> 


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


Re: strange problem with ipfw and rc.conf

2006-01-26 Thread gahn
Thanks.

I don't think it was the problem of ipfw rulesets. In
fact once I did "sh /etc/ipfw.rules" and things are
fine. I just cant figure out why the rc.conf won't
load the rulesets.

Besides, I recompiled the customized kernel and there
is no need for "firewall_enable="YES"" statement in
rc.conf. 



--- Arne Woerner <[EMAIL PROTECTED]> wrote:

> --- gahn <[EMAIL PROTECTED]> wrote:
> > 65335 locking out everything). I have to do "sh
> > /etc/ipfw.rules" in order to load the rulesets,
> once I
> > did that, I can access the box from remote
> locations
> > 
> Hmm...
> 
> It helped me, to look at /etc/rc.firewall... There
> are some
> comments, that might give u the right hints...
> 
> Maybe firewall_enable should be YES?
> 
> E. g. my /etc/rc.firewall.bartely file cannot be
> executed with
> sh... But maybe I still did not understand ipfw...
> 
> My /etc/rc.firewall.bartely contains rules like:
> add pass log all from any to 47.11.42.42
> add deny log all from any to any
> 
> And in rc.conf my
> firewall_type=/etc/rc.firewall.bartleby
> 
> And I use default firewall_script=/etc/rc.firewall
> 
> -Arne
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


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


Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Logan
On 1/26/06, gahn <[EMAIL PROTECTED]> wrote:
>
>
> I have strange probelm with rc.conf. I set up ipfw
> (compiled into kernel) on freebsd-5.4 and it doesn't
> seem to load ipfw rulesets (it uses default ruleset
> 65335 locking out everything). I have to do "sh
> /etc/ipfw.rules" in order to load the rulesets, once I
> did that, I can access the box from remote locations
> ...
> firewall_script="/etc/ipfw.rules"
> firewall_type="simple"
>

firewall_enable="YES"
firewall_type="/etc/ipfw.rules"

delete firewal_script=/etc/ipfw.rules", the default rc.conf already has the
correct value for what you're trying to do.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Arne Woerner
--- gahn <[EMAIL PROTECTED]> wrote:
> 65335 locking out everything). I have to do "sh
> /etc/ipfw.rules" in order to load the rulesets, once I
> did that, I can access the box from remote locations
> 
Hmm...

It helped me, to look at /etc/rc.firewall... There are some
comments, that might give u the right hints...

Maybe firewall_enable should be YES?

E. g. my /etc/rc.firewall.bartely file cannot be executed with
sh... But maybe I still did not understand ipfw...

My /etc/rc.firewall.bartely contains rules like:
add pass log all from any to 47.11.42.42
add deny log all from any to any

And in rc.conf my firewall_type=/etc/rc.firewall.bartleby

And I use default firewall_script=/etc/rc.firewall

-Arne


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


Re: "screen" alternative

2006-01-26 Thread Kris Kennaway
On Thu, Jan 26, 2006 at 05:46:52PM -0600, Will Maier wrote:
> On Thu, Jan 26, 2006 at 09:25:51PM +0100, Grzegorz Danecki wrote:
> > I'm running 5.4 Stable and I'm looking for something, that can let
> > me detach my session leaving my software running. First thought -
> > "screen", but hey, there is no screen package in ports collection
> > :( Google says something that it was removed due to high cpu
> > utilization few releases ago. Is this true?
> 
> FreeBSD does not distribute a compiled binary package for screen,
> but you are welcome to compile your own. If you have the ports
> system installed (as you probably do), just do the following:
> 
> cd /usr/ports/misc/screen
> sudo make install
> 
> That should install screen. If you have questions about the ports
> system, read the manpage or the FreeBSD handbook.
> 
> > Are there any alternatives? Because as I can remember screen was
> > frequently used and highly appreciated application.
> 
> screen works fine on FreeBSD -- the package building process just
> doesn't make it possible for FreeBSD to provide a pre-compiled
> version. As I said, you're welcome to compile your own. It's the
> first thing I do when I set up a new system.

To be clear, there's some kind of bug in screen that causes the
package build to fail under certain circumstances that are not well
understood.

Kris


pgpXascCElRfH.pgp
Description: PGP signature


Re: "screen" alternative

2006-01-26 Thread Will Maier
On Thu, Jan 26, 2006 at 09:25:51PM +0100, Grzegorz Danecki wrote:
> I'm running 5.4 Stable and I'm looking for something, that can let
> me detach my session leaving my software running. First thought -
> "screen", but hey, there is no screen package in ports collection
> :( Google says something that it was removed due to high cpu
> utilization few releases ago. Is this true?

FreeBSD does not distribute a compiled binary package for screen,
but you are welcome to compile your own. If you have the ports
system installed (as you probably do), just do the following:

cd /usr/ports/misc/screen
sudo make install

That should install screen. If you have questions about the ports
system, read the manpage or the FreeBSD handbook.

> Are there any alternatives? Because as I can remember screen was
> frequently used and highly appreciated application.

screen works fine on FreeBSD -- the package building process just
doesn't make it possible for FreeBSD to provide a pre-compiled
version. As I said, you're welcome to compile your own. It's the
first thing I do when I set up a new system.

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


strange problem with ipfw and rc.conf

2006-01-26 Thread gahn
Hi all:

I have strange probelm with rc.conf. I set up ipfw
(compiled into kernel) on freebsd-5.4 and it doesn't
seem to load ipfw rulesets (it uses default ruleset
65335 locking out everything). I have to do "sh
/etc/ipfw.rules" in order to load the rulesets, once I
did that, I can access the box from remote locations

here is my rc.conf:

host# more /etc/rc.conf

network_interfaces="lo0 em0 dc0 rl0 plip0"
kern_securelevel="2"
kern_securelevel_enable="YES"
linux_enable="YES"
named_enable="YES"
nisdomainname="NO"
sshd_enable="YES"
usbd_enable="YES"
hostname="sis"
tcp_keepalive="YES"
tcp_extensions="YES"
ifconfig_em0="inet 192.168.128.222/24"
ifconfig_dc0="inet 192.168.1.4/24"
ifconfig_rl0="inet 10.10.75.126/24"
defaultrouter="192.168.128.1"
static_routes="net1 net2"
route_net1="-net 192.168.0.0/22 192.168.1.1"
route_net2="-net 10.10.0.0/16 10.10.128.1"
firewall_script="/etc/ipfw.rules" 
firewall_type="simple"
firewall_quiet="YES"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"   
ipmon_enable="YES"  
ipmon_flags="-Ds"  
mpd_enable="YES"

also my customized kernel (partial):

options IPFIREWALL 
#firewall
options IPFIREWALL_VERBOSE 
#enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=10 #limit
verbosity
#optionsIPFIREWALL_DEFAULT_TO_ACCEPT#allow
everything by default
options IPFIREWALL_FORWARD 
#packet destination changes
options IPFIREWALL_FORWARD_EXTENDED #all
packet dest changes
options IPDIVERT   
#divert sockets

TIA


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


Re: Elegant delete of word ~tmp files in all sub / dirs

2006-01-26 Thread [EMAIL PROTECTED]
On 1/26/06, Matthew Seaman <[EMAIL PROTECTED]> wrote:
> Graham Bentley wrote:
> > removing all the word ~tmp files on our Samba
> > server
>
>find /your/file-system -type f -name '*~tmp*' -print0 | xargs -0 rm -f
>
> or something like that.
>

find /your/file-system -type f -name '*~tmp*' -delete

I would think.

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


Re: Is this Handbook the Handbook?

2006-01-26 Thread Xn Nooby
I also prefer printed books, so I will probably get them.

thanks!

On 1/26/06, Mick Charles Beaver <[EMAIL PROTECTED]> wrote:
>
> To the best of my knowledge, they are. I purchased the user book and
> read it cover to cover because it was more convenient that staring at
> web pages.
>
> The online docs are more current.
>
> -Mick Charles Beaver
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Log file analyzer

2006-01-26 Thread Bret Walker
Does anyone know of a good free log file analyzer that can show where a
visitors entering via a search term browsed?

Ex. User xxx.xxx.xxx.xxx entered via a search for "puppies"
visited /lab.html
visited /care/fleas.html
visited /beagle.html
ended visit

All of the free ones I know of only show a list of search terms - not
any type of tracking.

Thanks,
Bret



smime.p7s
Description: S/MIME Cryptographic Signature


Re: truss and procfs strange problem.

2006-01-26 Thread Dan Nelson
In the last episode (Jan 26), Proniewski Patrick said:
> I have some new details :
> 
> >>$ truss ls
> >>truss: cannot open /proc/4509/mem: No such file or directory
> 
> in that case, the command issued as a truss argument (ls, ...) is
> stuck in state "D". `man ps` says it "Marks a process in disk (or
> other short term, uninterruptible) wait."

I think that's this case:

parentchild
---
call fork()
fork() returns
  (being created)
open /proc/%d/mem (fails)
  (still being created)
  creation complete, waiting
  for parent to trace


> these process wont be killed, I'll have to reboot. (procctl won't
> clear the processes...)

You can continue tracing these processes if you run "truss -p ",
since that's pretty much what they're waiting for :)

-- 
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: X.org 6.9 doesn't work with NVidia 7800 GTX (fwd)

2006-01-26 Thread Kevin Oberman
> Date: Thu, 26 Jan 2006 13:35:55 -0800
> From: Mike O'Brien <[EMAIL PROTECTED]>
> 
> Kevin Oberman wrote:
> 
> >>From: [EMAIL PROTECTED] (Mike O'Brien)
> >>Date: Thu, 26 Jan 2006 07:44:43 -0800
> >>Sender: [EMAIL PROTECTED]
> >>If I run X -probeonly,
> >>I get a message that "module fbdev cannot be found".
> >>
> >I installed nvidia-driver and nvidia-xconfig. It worked
> >immediately. nvidia-xconfig modifies the existing xorg.conf (or
> >XF85Config) to work with the nvidia driver.
> >  
> >
> Do I need to worry about "module 'fbdev' not found"?
> That doesn't sound good and makes me wonder if X.org
> might be misconfigured out of the box.

fbdev is not used. You should not have it listed in the "Modules"
section. Several other modules are gone as their functionality has been
rolled into the base system. I suspect fbdev is such a obsolete.

If in doubt, use Xorg -configure and let nvidia-xconfig put in the nVidia
specific config into the output.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Questions on SMP and 64 bit

2006-01-26 Thread Joseph Vella
I'm buying a new computer, and am thinking of the new dual core AMD X2.  
I'm not sure I want to run 64 bit kernel yet, because of driver support and 
things like flash, and video, etc..

Will this processor still be as fast as a 32 bit if I use i386 kernel?  
Do I have to use a SMP kernel?  
Is there one available for i386?

Should I just get a 32 bit single core, if that's the kernel I'm going to run?

The main things I want that I don't think are easy to set up would be flash, 
mplayer and nVidia 3D driver.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "screen" alternative

2006-01-26 Thread Erik Trulsson
On Thu, Jan 26, 2006 at 09:25:51PM +0100, Grzegorz Danecki wrote:
> Hi List!
> 
> I'm running 5.4 Stable and I'm looking for something, that can let me detach
> my session leaving my software running. First thought - "screen", but hey,
> there is no screen package in ports collection :( Google says something that
> it was removed due to high cpu utilization few releases ago. Is this true?
> Are there any alternatives? Because as I can remember screen was frequently
> used and highly appreciated application.

"screen" *is* in the ports collection (sysutils/screen (or misc/screen if
you are using an older copy of the ports collection)).

It is not available as a binary package because when built as a package it
misbehaves for some (unknown) reason and uses a lot of CPU.




-- 

Erik Trulsson
[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: truss and procfs strange problem.

2006-01-26 Thread Proniewski Patrick

I have some new details :


$ truss ls
truss: cannot open /proc/4509/mem: No such file or directory



in that case, the command issued as a truss argument (ls, ...) is  
stuck in state "D".
`man ps` says it "Marks a process in disk (or other short term,  
uninterruptible) wait."


these process wont be killed, I'll have to reboot. (procctl won't  
clear the processes...)


Patrick PRONIEWSKI
--
Administrateur Système - SENTIER - Université Lumière Lyon 2

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


Re: Is this Handbook the Handbook?

2006-01-26 Thread Mick Charles Beaver
To the best of my knowledge, they are. I purchased the user book and
read it cover to cover because it was more convenient that staring at
web pages.

The online docs are more current.

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


Re: "screen" alternative

2006-01-26 Thread Dan Nelson
In the last episode (Jan 26), Grzegorz Danecki said:
> I'm running 5.4 Stable and I'm looking for something, that can let me
> detach my session leaving my software running. First thought -
> "screen", but hey, there is no screen package in ports collection :(
> Google says something that it was removed due to high cpu utilization
> few releases ago. Is this true? Are there any alternatives? Because
> as I can remember screen was frequently used and highly appreciated
> application.

Still is.  The port has always built fine; it's just the precompiled
package that people had problems with.

-- 
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: "screen" alternative

2006-01-26 Thread Doug Poland

Grzegorz Danecki wrote:

Hi List!

I'm running 5.4 Stable and I'm looking for something, that can let me detach
my session leaving my software running. First thought - "screen", but hey,
there is no screen package in ports collection :( Google says something that
it was removed due to high cpu utilization few releases ago. Is this true?
Are there any alternatives? Because as I can remember screen was frequently
used and highly appreciated application.


I use screen everyday on 6.0-STABLE with no issues.


Or should I rather look for some sources instead of package? Any problems
with that?


build it from ports...
# cd /usr/ports/sysutils/screen
# make install clean
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is this Handbook the Handbook?

2006-01-26 Thread Lowell Gilbert
Xn Nooby <[EMAIL PROTECTED]> writes:

> Are these 2 books for sale here:
> 
> 
> http://www.freebsdmall.com/cgi-bin/fm/bsdhandbk3.set?id=7kmQYrZG&mv_pc=284
> 
> the same as the online Handbook here:
> 
>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
> 
> ?

Sure looks like it.

Or, rather, they are the FreeBSD Handbook as of some particular date...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X.org 6.9 doesn't work with NVidia 7800 GTX (fwd)

2006-01-26 Thread Mike O'Brien

Kevin Oberman wrote:


From: [EMAIL PROTECTED] (Mike O'Brien)
Date: Thu, 26 Jan 2006 07:44:43 -0800
Sender: [EMAIL PROTECTED]
If I run X -probeonly,
I get a message that "module fbdev cannot be found".


I installed nvidia-driver and nvidia-xconfig. It worked
immediately. nvidia-xconfig modifies the existing xorg.conf (or
XF85Config) to work with the nvidia driver.
 


   Do I need to worry about "module 'fbdev' not found"?
That doesn't sound good and makes me wonder if X.org
might be misconfigured out of the box.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cannot find -ldl

2006-01-26 Thread Paul Schmehl
--On Thursday, January 26, 2006 15:14:59 -0600 Dan Nelson 
<[EMAIL PROTECTED]> wrote:


I put AC_SEARCH_LIBS(dlopen,dl) at the end of configure.in, just before
AC_OUTPUT(Makefile).  There was no mention of ldl in Makefile.in.


src/sssh/Makefile.in, line 38:

  [EMAIL PROTECTED]@ -ldl

Remove the -ldl and you should be set.


Yep, that did it.  Thanks.

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


Unknown service addr 0xffff:0xf0000234 RREQQ(4) / WREQQ(0)

2006-01-26 Thread George Fazio
During boot up with freebsd 6.0-stable, I receive "Unknown service addr"
from the firewire driver. After the machine is finished booting the errors
do not reoccur, and everything appears to work fine. Any ideas on this? The
full text from boot until the end of the errors is at the bottom of the
email, along with my kernel config file. My primary question is do I need to
be worried about it? And, is there a fairly straight forward way to get rid
it? I'm using it as a link to a Windows XP box, but I have alternate methods
I can use.
...
Jan 25 19:16:48 gf-duron kernel: fwohci0: 
mem 0xea004000-0xea0047ff,0xea00-0xea003fff irq 3 at device 9.0 on pci0
Jan 25 19:16:48 gf-duron kernel: fwohci0: OHCI version 1.10 (ROM=1)
Jan 25 19:16:48 gf-duron kernel: fwohci0: No. of Isochronous channels is 4.
Jan 25 19:16:48 gf-duron kernel: fwohci0: EUI64 00:00:00:00:00:04:32:38
Jan 25 19:16:48 gf-duron kernel: fwohci0: Phy 1394a available S400, 2 ports.
Jan 25 19:16:48 gf-duron kernel: fwohci0: Link S400, max_rec 2048 bytes.
Jan 25 19:16:48 gf-duron kernel: firewire0:  on
fwohci0
Jan 25 19:16:48 gf-duron kernel: fwip0:  on firewire0
Jan 25 19:16:48 gf-duron kernel: fwip0: Firewire address:
00:00:00:00:00:04:32:38 @ 0xfffe, S400, maxrec 2048
Jan 25 19:16:48 gf-duron kernel: sbp0:  on
firewire0
Jan 25 19:16:48 gf-duron kernel: fwohci0: Initiate bus reset
Jan 25 19:16:48 gf-duron kernel: fwohci0: node_id=0xc800ffc1, gen=1,
CYCLEMASTER mode
Jan 25 19:16:48 gf-duron kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM
= 1 (me)
Jan 25 19:16:48 gf-duron kernel: firewire0: bus manager 1 (me)
...
Jan 25 19:16:48 gf-duron kernel: Unknown service addr 0x:0xf234
RREQQ(4) src=0xffc0 data=bb465284
Jan 25 19:16:48 gf-duron kernel: Unknown service addr 0x:0xf234
RREQQ(4) src=0xffc0 data=feac5284
Jan 25 19:16:48 gf-duron kernel: Unknown service addr 0x:0xf234
RREQQ(4) src=0xffc0 data=41335284
...
Jan 25 19:16:48 gf-duron kernel: firewire0: New S400 device
ID:000d615cecf7
Jan 25 19:16:48 gf-duron kernel: Unknown service addr 0x:0xf234
RREQQ(4) src=0xffc0 data=85f95284
...
Jan 25 19:16:49 gf-duron kernel: Unknown service addr 0x:0xf234
RREQQ(4) src=0xffc0 data=89f95284
...
Jan 25 19:17:05 gf-duron kernel: fwohci0: BUS reset
Jan 25 19:17:05 gf-duron kernel: fwohci0: node_id=0x8800ffc0, gen=2, non
CYCLEMASTER mode
Jan 25 19:17:05 gf-duron kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM
= 1
Jan 25 19:17:05 gf-duron kernel: firewire0: bus manager 1
Jan 25 19:17:06 gf-duron kernel: Unknown service addr 0x:0xf234
WREQQ(0) src=0xffc1 data=c01f

Here is the ifconfig output in case it helps with anything...

fwip0: flags=108843 mtu
1500
inet6 fe80::200:0:4:3238%fwip0 prefixlen 64 scopeid 0x1
inet 192.168.0.2 netmask 0xfffc broadcast 192.168.0.3
lladdr 0.0.0.0.0.4.32.38.a.2.ff.fe.0.0.0.0
vr0: flags=8843 mtu 1500
inet6 fe80::20d:87ff:fea9:7b03%vr0 prefixlen 64 scopeid 0x2
inet 10.42.69.31 netmask 0xff00 broadcast 10.42.69.255
ether 00:0d:87:a9:7b:03
media: Ethernet autoselect (100baseTX )
status: active
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
pflog0: flags=141 mtu 33208

Thanks for any help,

George

Full text from /var/log/messages...
Jan 25 19:16:48 gf-duron syslogd: kernel boot file is /boot/kernel/kernel
Jan 25 19:16:48 gf-duron kernel: Copyright (c) 1992-2005 The FreeBSD
Project.
Jan 25 19:16:48 gf-duron kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Jan 25 19:16:48 gf-duron kernel: The Regents of the University of
California. All rights reserved.
Jan 25 19:16:48 gf-duron kernel: FreeBSD 6.0-STABLE #10: Wed Jan 25 18:52:03
EST 2006
Jan 25 19:16:48 gf-duron kernel: [EMAIL PROTECTED]
:/usr/obj/usr/src/sys/MYKERNEL
Jan 25 19:16:48 gf-duron kernel: Timecounter "i8254" frequency 1193182 Hz
quality 0
Jan 25 19:16:48 gf-duron kernel: CPU: AMD Duron(tm) processor
(1794.90-MHz686-class CPU)
Jan 25 19:16:48 gf-duron kernel: Origin = "AuthenticAMD"  Id = 0x681
Stepping = 1
Jan 25 19:16:48 gf-duron kernel:
Features=0x383f9ff
Jan 25 19:16:48 gf-duron kernel: AMD
Features=0xc0400800
Jan 25 19:16:48 gf-duron kernel: real memory  = 1073676288 (1023 MB)
Jan 25 19:16:48 gf-duron kernel: avail memory = 1041735680 (993 MB)
Jan 25 19:16:48 gf-duron kernel: npx0: [FAST]
Jan 25 19:16:48 gf-duron kernel: npx0:  on motherboard
Jan 25 19:16:48 gf-duron kernel: npx0: INT 16 interface
Jan 25 19:16:48 gf-duron kernel: acpi0:  on motherboard
Jan 25 19:16:48 gf-duron kernel: acpi0: Power Button (fixed)
Jan 25 19:16:48 gf-duron kernel: Timecounter "ACPI-fast" frequency 3579545
Hz quality 1000
Jan 25 19:16:48 gf-duron kernel: acpi_timer0: <24-bit timer at 3.579545MHz>
port 0x4008-0x400b on acpi0
Jan 25 19:16:48 gf-duron kernel: cpu0:  on acpi0
Jan 25 19:16:48 gf-duron kernel: acpi_button0:  on acpi0
J

Re: "screen" alternative

2006-01-26 Thread Lowell Gilbert
Grzegorz Danecki <[EMAIL PROTECTED]> writes:

> I'm running 5.4 Stable and I'm looking for something, that can let me detach
> my session leaving my software running. First thought - "screen", but hey,
> there is no screen package in ports collection :( Google says something that
> it was removed due to high cpu utilization few releases ago. Is this true?

# grep PACKAGE /usr/ports/sysutils/screen/*
/usr/ports/sysutils/screen/Makefile:NO_PACKAGE= Tends to loop using 100% CPU 
when used from package - perhaps it hard-codes information about the build host
#

> Are there any alternatives? Because as I can remember screen was frequently
> used and highly appreciated application.

No alternatives, but screen is *still* a frequently used application.

> Or should I rather look for some sources instead of package? Any problems
> with that?

# cd /usr/ports/sysutils/screen; make install clean

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


Re: "screen" alternative

2006-01-26 Thread Ken Stevenson
On Thursday 26 January 2006 03:25 pm, Grzegorz Danecki wrote:
> Hi List!
>
> I'm running 5.4 Stable and I'm looking for something, that can let me
> detach my session leaving my software running. First thought - "screen",
> but hey, there is no screen package in ports collection :( Google says
> something that it was removed due to high cpu utilization few releases ago.
> Is this true? Are there any alternatives? Because as I can remember screen
> was frequently used and highly appreciated application.

If you're running a utility from a shell prompt, look at:

man nohup

If you want a detached remote X session look at /usr/ports/net/tightvnc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "screen" alternative

2006-01-26 Thread Alan Gerber

Greg,

According to Freshports, the screen package is the problem.  You should 
be able to compile from source within ports with no problems (that's 
what I am currently doing).


/# cd /usr/ports/sysutils/screen
/usr/ports/sysutils/screen# make install clean


Freshports link: http://www.freshports.org/sysutils/screen/

--
Alan Gerber

Grzegorz Danecki wrote:

Hi List!

I'm running 5.4 Stable and I'm looking for something, that can let me detach
my session leaving my software running. First thought - "screen", but hey,
there is no screen package in ports collection :( Google says something that
it was removed due to high cpu utilization few releases ago. Is this true?
Are there any alternatives? Because as I can remember screen was frequently
used and highly appreciated application.

Or should I rather look for some sources instead of package? Any problems
with that?

Many thanks in advance, You are doing great work here!

Greg Danecki
___
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: "screen" alternative

2006-01-26 Thread Philippe Pegon

Grzegorz Danecki wrote:

Hi List!

I'm running 5.4 Stable and I'm looking for something, that can let me detach
my session leaving my software running. First thought - "screen", but hey,
there is no screen package in ports collection :( Google says something that
it was removed due to high cpu utilization few releases ago. Is this true?
Are there any alternatives? Because as I can remember screen was frequently
used and highly appreciated application.

Or should I rather look for some sources instead of package? Any problems
with that?


screen is in the ports collection, but there is no binary package. You 
can install it from sources with the port :


# cd /usr/ports/sysutils/screen/
# make install

or if you use portupgrade :

portinstall screen


Many thanks in advance, You are doing great work here!

Greg Danecki


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


Re: cannot find -ldl

2006-01-26 Thread Dan Nelson
In the last episode (Jan 26), Paul Schmehl said:
> --On Thursday, January 26, 2006 14:12:49 -0600 Dan Nelson 
> <[EMAIL PROTECTED]> wrote:
> >>>
> >>> It's not needed on FreeBSD.  The dlopen family of functions is in
> >>> libc. The configure script should probably have something like this
> >>> in it so it only uses libdl if it can't find dlopen with its current
> >>> set of libs::
> >>>
> >>> AC_SEARCH_LIBS(dlopen, dl)
> >>
> >>Dan, you're referring to configure.in, right?  There's no AC_SEARCH
> >>in that at all.  Do I just need to add a line?  If so, does it matter
> >>where I add it?
> >
> >Ya, configure.{in,ac}.  It doesn't matter much where it goes; at the
> >bottom is probably safest.  You will also need to remove any hardcoded
> >"-ldl" strings from Makefile.{in,am}.  Configure will add "-ldl" to
> >$LIBS if it turns out to be required.
> >
> I followed your instructions, but make still fails:
> 
> gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o 
> sshconnect1.o sshconnect2.o readpass.o -L. -Lopenbsd-compat/ -L/usr/ssl 
> -lssh -lopenbsd-compat -lcrypto -lutil -lz  -lcrypt -ldl
> /usr/bin/ld: cannot find -ldl
> *** Error code 1
> 
> Stop in /usr/home/pauls/Downloads/sara-6.0.7d/src/sssh.
> *** Error code 1
> 
> I put AC_SEARCH_LIBS(dlopen,dl) at the end of configure.in, just before 
> AC_OUTPUT(Makefile).  There was no mention of ldl in Makefile.in.

src/sssh/Makefile.in, line 38:

  [EMAIL PROTECTED]@ -ldl

Remove the -ldl and you should be set.


-- 
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: Easy way to activate KQEMU for QEMU?

2006-01-26 Thread Felix 'buebo' Kakrow
On Thu, 26 Jan 2006 14:29:26 -0500
Xn Nooby <[EMAIL PROTECTED]> wrote:

> Awesome, so I could either deinstall both and re-install kqemu, or
> just rebuild qemu with the knob set?  (I don't know what a knob is,
> but I think I can find out.)
> 
> thanks!
> 

Deinstall both and then cd to /usr/ports/emulators/qemu and 'make
-DWITH_KQEMU install clean'.

Cheers
Felix

-- 
 "If you want to realize what a ridiculous word 'lifestyle' is,
consider the fact that technically speaking, Attila the Hun had an
active, outdoor lifestyle."
--George Carlin


pgpVaMMwSqx8H.pgp
Description: PGP signature


Re: Easy way to activate KQEMU for QEMU?

2006-01-26 Thread Lowell Gilbert
Please don't top-post.

Xn Nooby <[EMAIL PROTECTED]> writes:

> Awesome, so I could either deinstall both and re-install kqemu, or just
> rebuild qemu with the knob set?  (I don't know what a knob is, but I think I
> can find out.)

By "knob" I just meant "something you can adjust to modify how it
works."  In this case, it's a makefile variable called "WITH_KQEMU".
So you could use it by:

cd /usr/ports/emulators/qemu; make -DWITH_KQEMU

If you use portupgrade, you could put the variable setting
into pkgtools.conf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


"screen" alternative

2006-01-26 Thread Grzegorz Danecki
Hi List!

I'm running 5.4 Stable and I'm looking for something, that can let me detach
my session leaving my software running. First thought - "screen", but hey,
there is no screen package in ports collection :( Google says something that
it was removed due to high cpu utilization few releases ago. Is this true?
Are there any alternatives? Because as I can remember screen was frequently
used and highly appreciated application.

Or should I rather look for some sources instead of package? Any problems
with that?

Many thanks in advance, You are doing great work here!

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


Re: FreeBSD using Dell systems

2006-01-26 Thread Ken Stevenson
On Thursday 26 January 2006 02:38 pm, Bob Johnson wrote:
>
> I have neither of those, but I've been running FreeBSD 5.4 on a pair
> of PowerEdge 1800 systems.  It can't access all 4 GB of installed RAM
> (it sees 3327 MB).  I looked up the reason for that once, but now I
> forget what it is (PCI bus mapping, maybe, or PAE, or both?).  It is
> not specific to Dell, though, and may be solved in 6.0 (speculation).
>
> I tried to set aside a small partition for Windows XP in case I needed
> to run some Windows-only management or repair software.  It didn't
> work.  The Windows XP install program bluescreens on these systems.  I
> believe Dell only supports Windows 2003 Server on them.
>
Windows 2000 Professional runs fine on PowerEdge 2650's. I'm not sure about 
XP.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cannot find -ldl

2006-01-26 Thread Paul Schmehl
--On Thursday, January 26, 2006 14:12:49 -0600 Dan Nelson 
<[EMAIL PROTECTED]> wrote:

>
> It's not needed on FreeBSD.  The dlopen family of functions is in
> libc. The configure script should probably have something like this
> in it so it only uses libdl if it can't find dlopen with its current
> set of libs::
>
> AC_SEARCH_LIBS(dlopen, dl)

Dan, you're referring to configure.in, right?  There's no AC_SEARCH
in that at all.  Do I just need to add a line?  If so, does it matter
where I add it?


Ya, configure.{in,ac}.  It doesn't matter much where it goes; at the
bottom is probably safest.  You will also need to remove any hardcoded
"-ldl" strings from Makefile.{in,am}.  Configure will add "-ldl" to
$LIBS if it turns out to be required.


I followed your instructions, but make still fails:

gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o 
sshconnect1.o sshconnect2.o readpass.o -L. -Lopenbsd-compat/ -L/usr/ssl 
-lssh -lopenbsd-compat -lcrypto -lutil -lz  -lcrypt -ldl

/usr/bin/ld: cannot find -ldl
*** Error code 1

Stop in /usr/home/pauls/Downloads/sara-6.0.7d/src/sssh.
*** Error code 1

I put AC_SEARCH_LIBS(dlopen,dl) at the end of configure.in, just before 
AC_OUTPUT(Makefile).  There was no mention of ldl in Makefile.in.


Any suggestions?

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


Re: Elegant delete of word ~tmp files in all sub / dirs

2006-01-26 Thread Matthew Seaman
Graham Bentley wrote:
> Hi All,
> 
> I once found a very elegant method of recursively
> removing all the word ~tmp files on our Samba
> server (many hundereds of subs)
> 
> It involved find rm xargs and some {}
> 
> It worked very quickly indeed. I have tried to
> find this again but cant and have used alternatives
> that are alot slower.
> 
> Any CLI Gurus point me in the path of enlightenment ?

   find /your/file-system -type f -name '*~tmp*' -print0 | xargs -0 rm -f

or something like that.

Cheers,

Matthew


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



signature.asc
Description: OpenPGP digital signature


Re: cannot find -ldl

2006-01-26 Thread Dan Nelson
In the last episode (Jan 26), Paul Schmehl said:
> --On Thursday, January 26, 2006 11:18:54 -0600 Dan Nelson  <[EMAIL 
> PROTECTED]> wrote:
> >In the last episode (Jan 26), Paul Schmehl said:
> >>I'm fiddling with an app that was probably written for/on Linux. 
> >>It configures fine, but when I make, I get the error "cannot find
> >>-ldl". Is there a FreeBSD equivalent for libldl?  A workaround?  A
> >>library that I'm missing?
> >
> >It's not needed on FreeBSD.  The dlopen family of functions is in
> >libc. The configure script should probably have something like this
> >in it so it only uses libdl if it can't find dlopen with its current
> >set of libs::
> >
> >AC_SEARCH_LIBS(dlopen, dl)
> 
> Dan, you're referring to configure.in, right?  There's no AC_SEARCH
> in that at all.  Do I just need to add a line?  If so, does it matter
> where I add it?

Ya, configure.{in,ac}.  It doesn't matter much where it goes; at the
bottom is probably safest.  You will also need to remove any hardcoded
"-ldl" strings from Makefile.{in,am}.  Configure will add "-ldl" to
$LIBS if it turns out to be required.

-- 
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: Problem with fsck

2006-01-26 Thread Matthew Seaman
manish jain wrote:

> I recently persuaded my organisation to shift our main
> server from Linux to FreeBSD 6.0. We are now facing a
> problem with fsck. After improper shutdown, we need
> fsck to run automatically and non-interactively in the
> foreground upon restart. Enabling background fsck lets
> the system come up but fails to properly start a few
> network services. With background fsck disabled, what
> would be the best way to automatically run 'fsck -fy'
> for each of the partitions upon restart after an
> improper shutdown ? Would it be okay to add the
> corresponding fsck lines somewhere at the top of
> /etc/rc ?

Simply put:

background_fsck="NO"

into /etc/rc.conf.  That will cause the box to run 'fsck -p'
in the foreground on each reboot.

Alternatively, if this is a one-off, just hit '4' on the boot-up
menu screen, boot into single user mode and run fsck manually.
First, run 'fsck -p' to automatically repair any filesystems marked
as unclean when shutdown.  If fsck flails and requests human
interaction then run

 fsck /dev/adXsYz

adjusting X, Y and z to suit your local partitioning, and changing
ad to whatever is appropriate if you aren't running on bog-standard
IDE or SATA drives.

Note that it can be quite dangerous to run 'fsck -y' blindly: that
gives fsck permission to destroy otherwise recoverable data if it
needs to in order to get the filesystem back into shape.  

Once fsck shows all your partitions as clean, just hit ^D to let the
system come the rest of the way up.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Is this Handbook the Handbook?

2006-01-26 Thread Xn Nooby
Are these 2 books for sale here:


http://www.freebsdmall.com/cgi-bin/fm/bsdhandbk3.set?id=7kmQYrZG&mv_pc=284

the same as the online Handbook here:

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

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


Re: Easy way to activate KQEMU for QEMU?

2006-01-26 Thread Xn Nooby
Awesome, so I could either deinstall both and re-install kqemu, or just
rebuild qemu with the knob set?  (I don't know what a knob is, but I think I
can find out.)

thanks!



On 26 Jan 2006 14:17:55 -0500, Lowell Gilbert <
[EMAIL PROTECTED]> wrote:
>
> Xn Nooby <[EMAIL PROTECTED]> writes:
>
> > I installed QEMU from /usr/ports/emulation/qemu on my FreeBSD 6.0box.  Next
> > I installed /usr/ports/emulation/kqemu-qmod.  When I run QEMU, I enter
> "info
> > kqemu" in the monitor, and it says "kqemu support is not compiled".
> >
> > Is there an easy way to activate kqemu?
>
> Build kqemu-qmod *before* building qemu.
> There is a knob in the qemu Makefile to set kqemu as a dependency.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problem with pango port

2006-01-26 Thread Kris Kennaway
On Thu, Jan 26, 2006 at 03:44:47PM -0400, Peter Marshall wrote:
> 
> I tried the pkg_delete pango-*  This is the output.

No you didn't, you tried your own (wrong) version of this command.
Also be careful that your shell doesn't try to expand the *
(e.g. quote it).

> marshallbsd# pkg_delete pango
> pkg_delete: no such package 'pango' installed

Kris


pgpWm6sIUQVTX.pgp
Description: PGP signature


Elegant delete of word ~tmp files in all sub / dirs

2006-01-26 Thread Graham Bentley
Hi All,

I once found a very elegant method of recursively
removing all the word ~tmp files on our Samba
server (many hundereds of subs)

It involved find rm xargs and some {}

It worked very quickly indeed. I have tried to
find this again but cant and have used alternatives
that are alot slower.

Any CLI Gurus point me in the path of enlightenment ?

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


Re: cannot find -ldl

2006-01-26 Thread Paul Schmehl
--On Thursday, January 26, 2006 11:18:54 -0600 Dan Nelson 
<[EMAIL PROTECTED]> wrote:



In the last episode (Jan 26), Paul Schmehl said:

I'm fiddling with an app that was probably written for/on Linux.  It
configures fine, but when I make, I get the error "cannot find -ldl".
Is  there a FreeBSD equivalent for libldl?  A workaround?  A library
that I'm  missing?


It's not needed on FreeBSD.  The dlopen family of functions is in libc.
The configure script should probably have something like this in it so
it only uses libdl if it can't find dlopen with its current set of
libs::

AC_SEARCH_LIBS(dlopen, dl)

Dan, you're referring to configure.in, right?  There's no AC_SEARCH in that 
at all.  Do I just need to add a line?  If so, does it matter where I add 
it?


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


Re: problem with pango port

2006-01-26 Thread Peter Marshall


I tried the pkg_delete pango-*  This is the output.
marshallbsd# pkg_delete pango
pkg_delete: no such package 'pango' installed

I then tried
pkgdb -Fvu

It came up to the line with pango and it asked me if I wanted to 
unregister it. I said yes, and then it finished.


I get this when I run make deinstall in the pango directory now

marshallbsd# make deinstall
===>  Deinstalling for x11-toolkits/pango
===>   pango-1.10.2 has a different PREFIX: , skipping

I get the same error as before when I try to do a make install clean.


ANy other suggestions.  Than you for the ones already given

Peter

Quoting Lowell Gilbert <[EMAIL PROTECTED]>:


Peter Marshall <[EMAIL PROTECTED]> writes:


Hi,

I was trying to install a different port that needed a newer version 
of pango.


I went into the pango ports directory, and did a make deinstall.  I thne
downloaded pango version 1.10.2, put it in /usr/ports/distfiles, 
went into the

pango ports directory, and did a make install clean.

The install failed.  I went to uninstall it, and I got the error at 
the bottom


I then removed the download from the distfiles directory, did another make
deinstall (which gave an error) and then a make install clean, and I got the
error below again.

===>  Checking if x11-toolkits/pango already installed
pkg_info: package pango-1.10.2 has no origin recorded
===>   pango-1.10.2 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of x11-toolkits/pango
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/x11-toolkits/pango.

Oh .. and now gaim does not work .. grunt.  Anyway ... Can someone 
help me get

rid of pango, and then get it installed again.


"pkg_delete pango-*".





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


Problem with fsck

2006-01-26 Thread manish jain
Hi,

I recently persuaded my organisation to shift our main
server from Linux to FreeBSD 6.0. We are now facing a
problem with fsck. After improper shutdown, we need
fsck to run automatically and non-interactively in the
foreground upon restart. Enabling background fsck lets
the system come up but fails to properly start a few
network services. With background fsck disabled, what
would be the best way to automatically run 'fsck -fy'
for each of the partitions upon restart after an
improper shutdown ? Would it be okay to add the
corresponding fsck lines somewhere at the top of
/etc/rc ?

Thanks for any help.

Manish Jain
[EMAIL PROTECTED]


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


Re: FreeBSD using Dell systems

2006-01-26 Thread Bob Johnson
On 1/26/06, Jennifer Gold <[EMAIL PROTECTED]> wrote:
> Would you have any information on using and loading FreeBSD on a Dell
> PowerEdge 2850 or 850?
>
> Any information would be of great help.  Thank you for your time.

I have neither of those, but I've been running FreeBSD 5.4 on a pair
of PowerEdge 1800 systems.  It can't access all 4 GB of installed RAM
(it sees 3327 MB).  I looked up the reason for that once, but now I
forget what it is (PCI bus mapping, maybe, or PAE, or both?).  It is
not specific to Dell, though, and may be solved in 6.0 (speculation).

I tried to set aside a small partition for Windows XP in case I needed
to run some Windows-only management or repair software.  It didn't
work.  The Windows XP install program bluescreens on these systems.  I
believe Dell only supports Windows 2003 Server on them.

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


Re: X.org 6.9 doesn't work with NVidia 7800 GTX (fwd)

2006-01-26 Thread Kevin Oberman
> From: [EMAIL PROTECTED] (Mike O'Brien)
> Date: Thu, 26 Jan 2006 07:44:43 -0800
> Sender: [EMAIL PROTECTED]
> 
> I sent this to "freebsd-x11" and didn't hear a peep back,
> so I'm widening the net.
> 
> I'm running FreeBSD 6-STABLE, cvsupped as of last night.  I upgraded
> the ports collection to X.org 6.9 at the same time.  Under the X
> that ships with 6-RELEASE, in the ISO image, and under X.org 6.9,
> the symptoms are the same.
> 
> The hardware is an Athlon 4400+ CPU on an Asus motherboard and an
> NVIDIA 7800 GTX video card.
> 
> I'm not running the NVidia FreeBSD driver (yet), preferring to see
> the VESA work first before stirring the pot.  If I run X -probeonly,
> I get a message that "module fbdev cannot be found".  This message
> is, however, almost unreadable because the probing of the video
> card causes the console contrast to drop almost to zero.  The room
> has to be almost pitch-black before the remaining dim text can be
> read.  I have to reboot the machine to make the console brightness
> and contrast normal again.

I have the same chipset and CPU on an MSI mobo and had exactly the same
problem. Right down to the very low contrast video. I think VESA is
broken with this chipset.

I installed nvidia-driver and nvidia-xconfig. It worked
immediately. nvidia-xconfig modifies the existing xorg.conf (or
XF85Config) to work with the nvidia driver.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problem with pango port

2006-01-26 Thread Lowell Gilbert
Peter Marshall <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I was trying to install a different port that needed a newer version of pango.
> 
> I went into the pango ports directory, and did a make deinstall.  I thne
> downloaded pango version 1.10.2, put it in /usr/ports/distfiles, went into the
> pango ports directory, and did a make install clean.
> 
> The install failed.  I went to uninstall it, and I got the error at the bottom
> 
> I then removed the download from the distfiles directory, did another make
> deinstall (which gave an error) and then a make install clean, and I got the
> error below again.
> 
> ===>  Checking if x11-toolkits/pango already installed
> pkg_info: package pango-1.10.2 has no origin recorded
> ===>   pango-1.10.2 is already installed
>   You may wish to ``make deinstall'' and install this port again
>   by ``make reinstall'' to upgrade it properly.
>   If you really wish to overwrite the old port of x11-toolkits/pango
>   without deleting it first, set the variable "FORCE_PKG_REGISTER"
>   in your environment or the "make install" command line.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/pango.
> 
> Oh .. and now gaim does not work .. grunt.  Anyway ... Can someone help me get
> rid of pango, and then get it installed again.

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


Re: Easy way to activate KQEMU for QEMU?

2006-01-26 Thread Lowell Gilbert
Xn Nooby <[EMAIL PROTECTED]> writes:

> I installed QEMU from /usr/ports/emulation/qemu on my FreeBSD 6.0 box.  Next
> I installed /usr/ports/emulation/kqemu-qmod.  When I run QEMU, I enter "info
> kqemu" in the monitor, and it says "kqemu support is not compiled".
> 
> Is there an easy way to activate kqemu?

Build kqemu-qmod *before* building qemu.
There is a knob in the qemu Makefile to set kqemu as a dependency.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X.org 6.9 doesn't work with NVidia 7800 GTX (fwd)

2006-01-26 Thread Garrett Cooper


On Jan 26, 2006, at 7:50 AM, Stephen Montgomery-Smith wrote:


Mike O'Brien wrote:

I sent this to "freebsd-x11" and didn't hear a peep back,
so I'm widening the net.
I'm running FreeBSD 6-STABLE, cvsupped as of last night.  I  
upgraded

the ports collection to X.org 6.9 at the same time.  Under the X
that ships with 6-RELEASE, in the ISO image, and under X.org 6.9,
the symptoms are the same.
The hardware is an Athlon 4400+ CPU on an Asus motherboard and an
NVIDIA 7800 GTX video card.
I'm not running the NVidia FreeBSD driver (yet), preferring to  
see

the VESA work first before stirring the pot.  If I run X -probeonly,
I get a message that "module fbdev cannot be found".  This message
is, however, almost unreadable because the probing of the video
card causes the console contrast to drop almost to zero.  The room
has to be almost pitch-black before the remaining dim text can be
read.  I have to reboot the machine to make the console brightness
and contrast normal again.
Any takers on either of these problems?
Mike O'Brien


It might be worth trying the nvidia drivers even if VESA isn't  
working.  My personal experience with the very recent FreeBSD  
nvidia drivers is that they are awesome.


	He should use the official drivers since they allow the end user to  
experience the chipset (graphics accelleration, rendering,  
compositing) much better than the non-official drivers do.
	As for the problems with the drivers... investigate getting a new  
monitor or returning the existing card via RMA if this problem  
continues.

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


Re: FreeBSD using Dell systems

2006-01-26 Thread Ken Stevenson
On Thursday 26 January 2006 12:53 pm, Jennifer Gold wrote:
> Would you have any information on using and loading FreeBSD on a Dell
> PowerEdge 2850 or 850?
>
> Any information would be of great help.  Thank you for your time.

I recently setup 2 Poweredge 2650 systems with FreeBSD 6.0/Stable without any 
problems. I just followed the instructions in the handbook.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Easy way to activate KQEMU for QEMU?

2006-01-26 Thread Xn Nooby
Hi,

I installed QEMU from /usr/ports/emulation/qemu on my FreeBSD 6.0 box.  Next
I installed /usr/ports/emulation/kqemu-qmod.  When I run QEMU, I enter "info
kqemu" in the monitor, and it says "kqemu support is not compiled".

Is there an easy way to activate kqemu?

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


Re: FreeBSD using Dell systems

2006-01-26 Thread Jerry McAllister
> 
> Would you have any information on using and loading FreeBSD on a Dell
> PowerEdge 2850 or 850?  

We have run FreeBSD on various Dell Poweredge including an 850
models with no problems.  1550, 2300 2450 4600   Those have had SCSI 
controllers and disks, but IDE CDs in some.They have had pretty 
plain video cards because they were being used as network servers and 
not desktops.

jerry
> 
> Any information would be of great help.  Thank you for your time.
> 
>  
> 
> Jennifer Gold
> 
>  
> 
> ___
> 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: FreeBSD using Dell systems

2006-01-26 Thread Stephen D. Spencer
I've run FreeBSD 5 and 6 on PowerEdge systems for the last 2 years without
any difficulty whatsoever.  Are there particular problems you're having, or
is it just a matter of choosing systems to purchase?

--
Stephen D. Spencer
Lawrence, KS


On 1/26/06, Jennifer Gold <[EMAIL PROTECTED]> wrote:
>
> Would you have any information on using and loading FreeBSD on a Dell
> PowerEdge 2850 or 850?
>
> Any information would be of great help.  Thank you for your time.
>
>
>
> Jennifer Gold
>
>
>
> ___
> 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]"


FreeBSD using Dell systems

2006-01-26 Thread Jennifer Gold
Would you have any information on using and loading FreeBSD on a Dell
PowerEdge 2850 or 850?  

Any information would be of great help.  Thank you for your time.

 

Jennifer Gold

 

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


Re: truss and procfs strange problem.

2006-01-26 Thread Proniewski Patrick

Hi,

On 26 janv. 06, at 18:13, Dan Nelson wrote:


$ truss ls
truss: cannot open /proc/4509/mem: No such file or directory
$ truss ls
truss: PIOCWAIT: Input/output error


The child process probably hasn't been fully started by the time the
parent tries to attach to it.  Adding a sleep(1) inside
setup_and_wait() in setup.c just before it tries to open /proc/%d/mem
is a quick hack that works.  A better solution would be to retry the
open and ioctl calls if they fail, after a short wait (but only doing
so for a couple seconds in case there was a problem starting the child
process).


hmmm I see. In fact, I have the "cannot open" error for a normal  
truss usage, and if I repeat the truss command very fast, I got the  
second error (PIOCWAIT: Input/output error). Slowing down the process  
is an interesting workaround :


truss ls -> fails 100% of the time
ktrace truss ls -> fail most of the time
truss `which ls` -> works great.



I have no idea why the PIOCWAIT ioctl would fail like that


neither have I... In fact, the 128 items limitation of my procfs  
puzzles me even more.


thanks

Patrick PRONIEWSKI
--
Administrateur Système - SENTIER - Université Lumière Lyon 2

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


Re: cannot find -ldl

2006-01-26 Thread Dan Nelson
In the last episode (Jan 26), Paul Schmehl said:
> I'm fiddling with an app that was probably written for/on Linux.  It 
> configures fine, but when I make, I get the error "cannot find -ldl".  Is 
> there a FreeBSD equivalent for libldl?  A workaround?  A library that I'm 
> missing?

It's not needed on FreeBSD.  The dlopen family of functions is in libc. 
The configure script should probably have something like this in it so
it only uses libdl if it can't find dlopen with its current set of
libs::

AC_SEARCH_LIBS(dlopen, dl)

-- 
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: cannot find -ldl

2006-01-26 Thread Paul Schmehl
--On Thursday, January 26, 2006 17:05:52 + Alex Zbyslaw 
<[EMAIL PROTECTED]> wrote:



Paul Schmehl wrote:


I'm fiddling with an app that was probably written for/on Linux.  It
configures fine, but when I make, I get the error "cannot find -ldl".
Is there a FreeBSD equivalent for libldl?  A workaround?  A library
that I'm missing?


No direct answer for you, but the library you want is libdl not libldl,
that might help you with googling.

That doesn't help with googling for the error message, however it solves my 
problem.


locate libdl
/usr/X11R6/lib/plugins/designer/libdlgplugin.so
/usr/compat/linux/lib/libdl-2.3.2.so
/usr/compat/linux/lib/libdl.so.2

So I need to use linux compatibility mode.  Thanks.

--Alex





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


Re: truss and procfs strange problem.

2006-01-26 Thread Dan Nelson
In the last episode (Jan 26), Proniewski Patrick said:
> I experience a strange problem with truss on FreeBSD 5.4 p8 :
> 
>   $ truss ls
>   truss: cannot open /proc/4509/mem: No such file or directory
>   $ truss ls
>   truss: PIOCWAIT: Input/output error

The child process probably hasn't been fully started by the time the
parent tries to attach to it.  Adding a sleep(1) inside
setup_and_wait() in setup.c just before it tries to open /proc/%d/mem
is a quick hack that works.  A better solution would be to retry the
open and ioctl calls if they fail, after a short wait (but only doing
so for a couple seconds in case there was a problem starting the child
process).

I have no idea why the PIOCWAIT ioctl would fail like that; the code
path doesn't look like it's even able to return EIO.

-- 
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: cannot find -ldl

2006-01-26 Thread Alex Zbyslaw

Paul Schmehl wrote:

I'm fiddling with an app that was probably written for/on Linux.  It 
configures fine, but when I make, I get the error "cannot find -ldl".  
Is there a FreeBSD equivalent for libldl?  A workaround?  A library 
that I'm missing?


No direct answer for you, but the library you want is libdl not libldl, 
that might help you with googling.


--Alex

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


did something change in SMP scheduling from 5.4 to 6.0?

2006-01-26 Thread Randy Schultz
Hey all,

I am curious if something changed in the way extra cpus are utilized in 6.0
vs. 5.4 in a SMP kernel.

My system is a dual-proc Xeon box.  When I was using 5.4 top would show
both procs being used roughly the same, e.g. the "C" column usually had
almost as many processes running on the second cpu as on the first.  On
Jan 23 I did a cvsup and compiled a new 6.0-STABLE SMP kernel.  Now 
watching top I rarely see the second proc being used, even though 
roundrobin is enabled.  FWIW, here's some possibly relevant config bits:
Dude ? sysctl -a|egrep smp
kern.timecounter.smp_tsc: 0
kern.smp.forward_roundrobin_enabled: 1
kern.smp.forward_signal_enabled: 1
kern.smp.cpus: 4
kern.smp.disabled: 0
kern.smp.active: 1
kern.smp.maxcpus: 16
Dude ? 
Dude ? sysctl -a|egrep hyperth
machdep.hyperthreading_allowed: 0

I've attached the output of a typical top with some builds running.  
Unfortunately I don't have any saved data from 5.4.

I do see the second processor being used but those times are rare.  When it 
does happen it seems almost exclusively when I'm seriously hammering the 
system.  This makes me think something has changed with 6.0 behind-the-scenes
such that if the system doesn't need the extra power then it sticks to cpu 0.  
I poked around the release notes and handbook but failed to find anything
on this topic.  Am I all wet and simply have something misconfigured or 
indeed all is well with 6.x doing it's thing hugging cpu 0?

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."
last pid: 86336;  load averages:  0.37,  0.31,  0.22 up 2+22:34:02  10:21:42
148 processes: 2 running, 146 sleeping
CPU states: 14.9% user,  0.0% nice, 10.2% system,  0.0% interrupt, 74.8% idle
Mem: 312M Active, 963M Inact, 187M Wired, 11M Cache, 112M Buf, 529M Free
Swap: 4096M Total, 4096M Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
86122 root1   80  1612K  1500K wait   0   0:00 16.50% make
86335 root1 1390   584K   476K RUN0   0:00 16.50% make
86288 root1  -80  1648K  1184K piperd 0   0:00 16.50% sh
85738 root1  -80 21276K 20924K piperd 0   0:02 14.99% ruby18
86121 root1   80  1636K  1172K wait   0   0:00 14.99% sh
  655 schultz 1  760 30148K 29220K select 0  15:43  0.00% Xorg
11160 schultz 1  760  2644K  1924K select 0   2:20  0.00% top
80862 schultz 7  200   203M   190M kserel 0   2:06  0.00% firefox-bin
  667 schultz 1  760 14136K 10276K select 0   0:32  0.00% xchat
 4023 schultz 1  760  6924K  5948K select 0   0:31  0.00% xterm-static
 3013 schultz 8  200 55640K 41624K kserel 0   0:29  0.00% evolution-2.2
 4006 schultz 1  760  5468K  4492K select 0   0:25  0.00% xterm-static
  801 schultz 1  760  5472K  4496K select 0   0:20  0.00% xterm-static
  592 root1  760  1216K   676K select 0   0:19  0.00% moused
41670 schultz 1  760  8672K  6968K select 0   0:15  0.00% pine
  692 schultz 1  760  5484K  4424K select 0   0:11  0.00% xterm-static
10846 schultz 1  760  5452K  4460K select 0   0:10  0.00% xterm-static
  708 schultz 1  760  5500K  4524K select 0   0:09  0.00% xterm-static
 1172 schultz 1  760  5452K  4476K select 0   0:09  0.00% xterm-static
80886 schultz 1  760  2632K  1912K CPU0   0   0:08  0.00% top
  494 root1  760  2924K  1760K select 0   0:08  0.00% ntpd
  888 schultz 1  760  5452K  4448K select 0   0:07  0.00% xterm-static
  660 schultz 1  760  5400K  3548K select 0   0:06  0.00% fvwm
12259 schultz 1  760  5472K  4496K select 0   0:05  0.00% xterm-static
81573 schultz 1  760  5468K  4492K select 0   0:05  0.00% xterm-static
20918 schultz 1  760  5500K  4524K select 0   0:05  0.00% xterm-static
32772 schultz 1  760  5452K  4448K select 0   0:05  0.00% xterm-static
  385 root1  760  1300K   828K select 0   0:04  0.00% syslogd
 9622 schultz 1  760  5468K  4504K select 0   0:03  0.00% xterm-static
 9287 schultz 1  760  5468K  4504K select 0   0:03  0.00% xterm-static
14583 schultz 1  760  5500K  4536K select 0   0:02  0.00% xterm-static
20866 schultz 1  760  5480K  4512K select 0   0:02  0.00% xterm-static
20907 schultz 1  760  5468K  4504K select 0   0:02  0.00% xterm-static
  688 schultz 1  760  4888K  3680K select 0   0:02  0.00% gconfd-2
  664 schultz 1  760  4664K  3040K select 0   0:02  0.00% FvwmPager
 3018 schultz 7  200 32768K 18764K kserel 0   0:02  0.00% evolution-alar
45374 schultz 1 1390  3336K  2780K select 0   0:01  0.00% ssh
  662 schultz 1  760  4844K  3992K select 0   0:01  0.00% xclock
 3015 schultz 8  200 19500K 13188K kserel 0   0:01  0.00% evolution-data
  533 

cannot find -ldl

2006-01-26 Thread Paul Schmehl
I'm fiddling with an app that was probably written for/on Linux.  It 
configures fine, but when I make, I get the error "cannot find -ldl".  Is 
there a FreeBSD equivalent for libldl?  A workaround?  A library that I'm 
missing?


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


Re: shared library's directory

2006-01-26 Thread Chuck Swiger
Mohsen Pahlevanzadeh wrote:
> Dear all,
> I wanna develop shared library in FreeBSD,
> What's that's directory?

People normally put their own and third-party shared libraries under 
/usr/local/lib.

> I wrote a shared library & then used
> ldconfig /usr/lib
> after above command,my gedit wasn'r ran.It report a library problem.
> Please guide me..

Running ldd on whatever it is may be informative.  Perhaps you need to pass the
right linker flags when building the program, if you're compiling it yourself?

You might also find using /usr/ports/editors/gedit easier...

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


Re: ntpd problem in release 6.0

2006-01-26 Thread Chuck Swiger
Vincent Chen wrote:
[ ... ]
> Why I have to restart ntpd to get connected? I don't have this problem with
> release 4.7.

I've seen this once and gotten the impression that ntpd had fired up before DNS
was working, because the ntpd was able to connect with local peers listed in the
/etc/hosts file.  Maybe updating and running mergemaster to make sure the
dependencies in the /etc/rc.d/ntpd startup script are OK would be a thought...?

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


Re: Compaq Pressario 700 (laptop): X totally unconfigurable

2006-01-26 Thread Lorin Lund

[EMAIL PROTECTED] wrote:


Hello,

I just received FreeBSD 6.0. It installed flawlessly on a Compaq Pressario 700 Athlonbased laptop until I rebooted and saw that the viewable portion of the screen was in the upper left quarter of the screen. The resolution appears to be set alright based on the icon size in KDE (which works well), it's just the viewable portion of the desktop. As a visual: if you divided your screen now into quarters and got rid of all the right side and lower left corner, what you have left is what I see: makes viewing a mess. 


The pcmcia card works fine - no connection problems, just this viewable screen 
issue. I tried to go into XF86config, but was spit back to the shell prompt: I 
can't go any further. I have installed more than five times trying to change 
this, but it doesn't allow me access to the config file. Other than continuing 
to play with installations, are there any methods you suggest I use to access 
the config file?

Caveat: I have RTFM, docs, mans, etc, but I haven't seen this problem 
documented anywhere. I am Linux convert and am familiar with much of this, 
however I wonder if it isn't a matter of semantics when I was searching 
information - I have no idea.

Any assistance is greatly appreciated.

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

 

Configuring X for notebook PCs is a puzzle.  I just installed on a 
Toshiba Satelite Pro.  The
default configuration listed the wrong driver.  Once I found out the 
right driver all I had to do
was to add the extra resolutions to the config file.  You mentioned 
Xfree86.  So it sounds
like you aren't going with Xorg.  I would think it makes little 
difference at this point.  They
are still quite similar.   I have mine set up as dual boot with Windows 
XP.  That gave me

info about the "video card" and the available resolutions.

Even after you get the video resolved you may have some work to get the 
keyboard to not
give occasional repeated keystroks (seems to be related to key-up event). 


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


Re: Bridging Firewall Machine Questions

2006-01-26 Thread Chuck Swiger
Ian Kaney wrote:
> Hi there. I wonder if somebody could help me with an issue I'm experiencing.

You've asked an interesting question, but there's a lack of data ("vmstat -i",
dmesg, "sysctl net").  You might obtain better results by putting together some
details, maybe as files in a directory being served by HTTP, and sending a link.

> I've put together a bridging firewall using FreeBSD 5.X. The traffic routes
> through fine and presently I'm using IPFW, default policy is set to deny,
> with certain rules/ports allowed to pass through. The three interfaces that
> are being bridged are all gigabit speed. The server is using Intel/Broadcom
> gigabit network cards. The machine that is performing the bridging is a Dual
> Opteron 246 with 2GB memory.
> 
> The issue that I'm finding is that the CPU runs out of power when the links
> are being hit hard. The em0 (fibre) device in particular runs at about 6%
> consistently with normal traffic (~40Mbits/s) being pushed through the
> bridge. This means the machine would run out of CPU power when the link was
> being utilised at around ~650Mbits/s. Is this unavoidable or is this a
> symptom of more CPU power being required?

Are the CPU's busy handling interrupts, in which case enabling interrupt
coalescing (-link0 flag, depending on the NIC) or maybe using device polling
might help?

Have you tried enabling fast-forwarding sysctl?

Or are you busy processing the traffic in your IPFW ruleset, in which case
changing and optimizing your ruleset will likely remove the bottleneck you see.

It's also possible that running the system in single-processor mode might
actually behave better for this kind of workload, because you avoid all the SMP
locking...

> I've also had problems with the bridge running out of dynamic rules. I've
> raised them to silly figures however I'm always wary that if a machine had a
> Trojan or some other form of malware that attempted a DoS attack, the bridge
> would probably fall over after exhausting its dynamic rule count and cause
> more issues. Could this be fixed perhaps by setting the default policy of
> IPFW to accept, or do the dynamic rules get created anyway when bridging?

Dynamic rules shouldn't get created unless your ruleset tells IPFW to make them,
or unless something like natd generates rules dynamicly for active FTP traffic.

It's entirely possible to replace dynamic rules with appropriate static rules
for your most common types of traffic, which may be faster and avoid filling up
the dynamic session table.  For example, instead of doing "pass tcp from me to
any smtp keep-state":

# outside SMTP to pi
add pass tcp from any HIPORTS to PI 25 setup
add pass tcp from PI 25 to any HIPORTS established

# permit SMTP exchange between pi and pong
add pass tcp from PI HIPORTS to PONG 25 setup
add pass tcp from PONG 25 to PI HIPORTS established

add pass tcp from PONG HIPORTS to PI 25 setup
add pass tcp from PI 25 to PONG HIPORTS established

# track SMTP from inside to outside and block SMTP from outside
add pass log logamount 20 tcp from INET HIPORTS to any 25 setup
add pass tcp from INET HIPORTS to any 25 established
add unreach filter-prohib log tcp from any to INET 25

[ Where PI and PONG are macros which expand to the IP addresses of my external
MX relay and the internal reader box, respectively, HIPORTS means 1024-65535,
and INET refers to the internal network. ]

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


Re: RAM check

2006-01-26 Thread Mike Jeays
On Thu, 2006-01-26 at 10:49 -0500, Philip Juels wrote:
> I'm running into random seg faults during KDE and Gnome compilation, and 
> I and others on the list suspect faulty RAM.  Are there any utils out 
> there that can test/diagnose RAM (aside from the laughable BIOS POST).
> 
> THX
> 
> PJ
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Google for "memtest"

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


Re: RAM check

2006-01-26 Thread Noel Jones
On 1/26/06, Philip Juels <[EMAIL PROTECTED]> wrote:
> I'm running into random seg faults during KDE and Gnome compilation, and
> I and others on the list suspect faulty RAM.  Are there any utils out
> there that can test/diagnose RAM (aside from the laughable BIOS POST).
>

http://www.memtest86.com/
http://www.memtest.org/

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


Re: X.org 6.9 doesn't work with NVidia 7800 GTX (fwd)

2006-01-26 Thread Stephen Montgomery-Smith

Mike O'Brien wrote:

I sent this to "freebsd-x11" and didn't hear a peep back,
so I'm widening the net.

I'm running FreeBSD 6-STABLE, cvsupped as of last night.  I upgraded
the ports collection to X.org 6.9 at the same time.  Under the X
that ships with 6-RELEASE, in the ISO image, and under X.org 6.9,
the symptoms are the same.

The hardware is an Athlon 4400+ CPU on an Asus motherboard and an
NVIDIA 7800 GTX video card.

I'm not running the NVidia FreeBSD driver (yet), preferring to see
the VESA work first before stirring the pot.  If I run X -probeonly,
I get a message that "module fbdev cannot be found".  This message
is, however, almost unreadable because the probing of the video
card causes the console contrast to drop almost to zero.  The room
has to be almost pitch-black before the remaining dim text can be
read.  I have to reboot the machine to make the console brightness
and contrast normal again.

Any takers on either of these problems?

Mike O'Brien


It might be worth trying the nvidia drivers even if VESA isn't working. 
 My personal experience with the very recent FreeBSD nvidia drivers is 
that they are awesome.


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


RAM check

2006-01-26 Thread Philip Juels
I'm running into random seg faults during KDE and Gnome compilation, and 
I and others on the list suspect faulty RAM.  Are there any utils out 
there that can test/diagnose RAM (aside from the laughable BIOS POST).


THX

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


X.org 6.9 doesn't work with NVidia 7800 GTX (fwd)

2006-01-26 Thread Mike O'Brien
I sent this to "freebsd-x11" and didn't hear a peep back,
so I'm widening the net.

I'm running FreeBSD 6-STABLE, cvsupped as of last night.  I upgraded
the ports collection to X.org 6.9 at the same time.  Under the X
that ships with 6-RELEASE, in the ISO image, and under X.org 6.9,
the symptoms are the same.

The hardware is an Athlon 4400+ CPU on an Asus motherboard and an
NVIDIA 7800 GTX video card.

I'm not running the NVidia FreeBSD driver (yet), preferring to see
the VESA work first before stirring the pot.  If I run X -probeonly,
I get a message that "module fbdev cannot be found".  This message
is, however, almost unreadable because the probing of the video
card causes the console contrast to drop almost to zero.  The room
has to be almost pitch-black before the remaining dim text can be
read.  I have to reboot the machine to make the console brightness
and contrast normal again.

Any takers on either of these problems?

Mike O'Brien


--- End of Forwarded Message



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


problem with pango port

2006-01-26 Thread Peter Marshall
Hi,

I was trying to install a different port that needed a newer version of pango.

I went into the pango ports directory, and did a make deinstall.  I thne
downloaded pango version 1.10.2, put it in /usr/ports/distfiles, went into the
pango ports directory, and did a make install clean.

The install failed.  I went to uninstall it, and I got the error at the bottom

I then removed the download from the distfiles directory, did another make
deinstall (which gave an error) and then a make install clean, and I got the
error below again.

===>  Checking if x11-toolkits/pango already installed
pkg_info: package pango-1.10.2 has no origin recorded
===>   pango-1.10.2 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of x11-toolkits/pango
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/x11-toolkits/pango.

Oh .. and now gaim does not work .. grunt.  Anyway ... Can someone help me get
rid of pango, and then get it installed again.

Thanks
Peter

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


RE: auth.log & intruder prevention

2006-01-26 Thread fbsd_user
What is happening to you is not unique.
There are 4 common solutions to this problem.

1. The simplest is to add a deny rule to your firewall for the
offending ip address.
2. Use the "routed blackhole" command.

Example:

To Add use  route add -host attacker_ip 127.0.0.1 -blackhole

To Delete use   route delete -host attacker_ip 127.0.0.1 -blackhole

To List use netstat -nr|grep 127

This is executed in the IP stack and is faster than in the firewall
when you have over 20 of those special "deny this IP address" rules
in the firewall. The "attacker_ip" in found in the log records in
/var/log/auth.log file.

You can create a script (route_blackholed_ip.sh) containing route
commands for all the IP address that have attacked you in the past
and save it to /usr/local/etc/rc.d/ so it will be run at boot time.

*** note **

The problem using either of the above methods is the attacker may
just use a different ip address in the same range. Depending on
where your authorized traffic is coming from you can deny or
blackhole the complete subnet. Even the whole xxx..0.0.0 by coding
the ip address with /xx after it.

*** note end **

3. If you know the ip address of your authorized ssh users then add
rules to your file wall to pass just those authorized ip address to
port 22 and deny all else.

4. All of the about solutions will not stop the flow of traffic to
port 22 driving up your bandwidth usage, just stop it from getting
to ssh which is all ready doing a fine job of stopping it now. The
only way to reduce the unauthorized traffic to your port 22 is not
to have port 22 open. In the ssh logon command you can enter the
port number you have ssh using. So change the port ssh uses and the
scrip kiddies will not be able to find your ssh access port. You can
change the port ssh is listening on by editing the ssh entry in
/etc/services to some high number port of your choosing and then
have all your ssh users include that port number in there remote
login command. Allow that port number to pass in your firewall and
deny port 22.  This way the attackers will not see ssh port open and
not waist time on you any longer.

**  to get revenge on your attackers
*
Attackers who beat on ssh/telnet/ftp are looking to break into your
box so they have to be using there real ip address to receive the
response when they succeed. (ie not using spoofed ip address)  If
you use the ipfilter firewall you can use the FreeBSD port ppars-1.0
to read the log file and auto generate an email to the isp owner of
the ip address range the attacker is using. Most ISP's around the
world have usage user agreements that this attacking behavior is not
allowed. In most cases the ISP will terminate the attackers account.
In time your ip address will become know as place not to probe and
your bandwidth usage will decline.

The install guide at www.a1poweruser.com  (section 6.13 Defending
Against Attacks) has a more detailed explanation.





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Hamilton
Sent: Wednesday, January 25, 2006 10:05 PM
To: 'Daniel Gerzo'; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: auth.log & intruder prevention


Hi Daniel,

On your web site, you show how easy it is to convert to IPTABLES.  I
presume
then it would be quite easy to reconfigure to use IPFW as well?

Cheers,

Paul

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Gerzo
> Sent: Wednesday, 25 January 2006 7:58 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: auth.log & intruder prevention
>
>
> On Tue, Jan 24, 2006 at 10:02:26PM +0100, Ilias Sachpazidis wrote:
> > Hi Everyone,
>
> hello,
>
> >
> > In auth.log of my FreeBSD boxes I got many requests to port
> 22, as you
> > can see below. begin of snippet
> > Jan 22 11:21:50 zeus sshd[92900]: Failed password for
> illegal user cracking
> > from 65.208.188.105 port 58344 ssh2
> > Jan 22 11:21:53 zeus sshd[92902]: Failed password for
> illegal user hacking
> > from 65.208.188.105 port 58443 ssh2
> > end of snippet
> >
> > I am wondering if any script is available to prevent hundreds of
> > attempts on port 22 from external IPs that constantly
> checking user &
> > passwords on my FreeBSD PCs.
> >
> > What I am looking for is a deamon application/script that
> receives the
> > recorded data from auth.log and detects if any remote client (IP
> > address) is checking user and passwords (Detection pattern:
> 5 missing
> > attempts in 1 min). On a successful detection, the script
> should add
> > an ipfw rule rejecting further IP packets from the specific
remote
> > address.
> >
> > Is any script or something similar available so far?
>
> I've written a BruteForceBlocer, you can install it from
> ports as well, check security/bruteforceblocker.
>
> Hope you will like it.
>
> --
> Sincerely,
>Daniel Gerzo
> ___

Re: freebsd hosting

2006-01-26 Thread Aaron Peterson
I have leased a dedicated host for several years with mikro-data.net
who is located in Kentucky and been very happy with their pricing,
service and responsiveness.  Basically, I just told them what version
of FreeBSD I wanted on the server and they loaded it.  They sent me
the root password and they haven't touched it again except at my
request.  It's worked out great for me.  They are very friendly to
open-source communities, so if you tell them you heard about them from
me on the freebsd-questions mailing list, they might even give you a
discounted rate.  I recieved a discounted rate when I heard about them
through the local LUG anyway...  I don't get any perks for any of
this, in case you're wondering.

I would send questions about rates to [EMAIL PROTECTED] if you're
interested.

Aaron

On 1/26/06, Nathan Vidican <[EMAIL PROTECTED]> wrote:
> Robin Becker wrote:
> > I'm sure this must be a FAQ, but couldn't find much about it. My company
> > has a need to do some dedicated hosting for a client application.
> > Googling provides many adverts, but how is one to make sense of all the
> > competing offers.
> >
> > For whatever reason my boss seems to think we should do some kind of
> > linux hosting. I disagree because I'm old and tired and don't want to
> > struggle with rpms or debs or whatever.
> >
> > I need recommendations for good reliable freeBSD hosting. The brief
> > calls for two geographically separated machines. Probably we require
> > modern python cgi, but perhaps not root access.
>
> Check:
> http://www.freebsd.org/commercial/
>
> --
> Nathan Vidican
> [EMAIL PROTECTED]
> Windsor Match Plate & Tool Ltd.
> http://www.wmptl.com/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Compaq Pressario 700 (laptop): X totally unconfigurable

2006-01-26 Thread f . gibbs
Hello,

I just received FreeBSD 6.0. It installed flawlessly on a Compaq Pressario 700 
Athlonbased laptop until I rebooted and saw that the viewable portion of the 
screen was in the upper left quarter of the screen. The resolution appears to 
be set alright based on the icon size in KDE (which works well), it's just the 
viewable portion of the desktop. As a visual: if you divided your screen now 
into quarters and got rid of all the right side and lower left corner, what you 
have left is what I see: makes viewing a mess. 

The pcmcia card works fine - no connection problems, just this viewable screen 
issue. I tried to go into XF86config, but was spit back to the shell prompt: I 
can't go any further. I have installed more than five times trying to change 
this, but it doesn't allow me access to the config file. Other than continuing 
to play with installations, are there any methods you suggest I use to access 
the config file?

Caveat: I have RTFM, docs, mans, etc, but I haven't seen this problem 
documented anywhere. I am Linux convert and am familiar with much of this, 
however I wonder if it isn't a matter of semantics when I was searching 
information - I have no idea.

Any assistance is greatly appreciated.

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


Re: freebsd hosting

2006-01-26 Thread Nathan Vidican

Robin Becker wrote:
I'm sure this must be a FAQ, but couldn't find much about it. My company 
has a need to do some dedicated hosting for a client application. 
Googling provides many adverts, but how is one to make sense of all the 
competing offers.


For whatever reason my boss seems to think we should do some kind of 
linux hosting. I disagree because I'm old and tired and don't want to 
struggle with rpms or debs or whatever.


I need recommendations for good reliable freeBSD hosting. The brief 
calls for two geographically separated machines. Probably we require 
modern python cgi, but perhaps not root access.


Check:
http://www.freebsd.org/commercial/

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


Re: VPN / Bridge

2006-01-26 Thread Bob Kersten

Hi,

On 26-jan-2006, at 13:54, Fabian Keil wrote:


gif0 was created with 'ifconfig gif0 create', I just forgot to copy
and paste it.

I get the "Operation not permitted" error only when I haven't
enough privileges:

[EMAIL PROTECTED] ~ $ifconfig bridge0 addm gif0
ifconfig: BRDGADD gif0: Operation not permitted

Does your user bob have root privileges and did you try
it as root?


My mistake; I was trying to reproduce the error too quickly. The  
actual error message was:


ifconfig: BRDGADD gif0: Invalid argument

... when trying to add gif0 to the bridge as root.

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


Re: VPN / Bridge

2006-01-26 Thread Fabian Keil
Bob Kersten <[EMAIL PROTECTED]> wrote:
 
> > ATM I don't use a VPN therefore I can't give you a known to work
> > step-by-step solution. However I couldn't reproduce your problem
> > on 6.0 with the following commands:
> >
> > [EMAIL PROTECTED] ~ #ifconfig gif0 tunnel 1.2.3.4 5.6.7.8 up
> > [EMAIL PROTECTED] ~ #ifconfig bridge0 create
> > [EMAIL PROTECTED] ~ #ifconfig bridge0 addm ndis0 addm gif0 up
> > [EMAIL PROTECTED] ~ #ifconfig bridge0
> > bridge0: flags=8043 mtu 1500
> > ether ac:de:48:f4:4e:9c
> > priority 32768 hellotime 2 fwddelay 15 maxage 20
> > member: gif0 flags=3
> > member: ndis0 flags=3
> 
> Where did your gif0 interface come from? I've added it using  
> 'ifconfig gif0 create', but when I try to add it to the bridge I'm  
> getting the following response:
> 
> [~] [EMAIL PROTECTED]> ifconfig bridge0 addm gif0
> ifconfig: BRDGADD gif0: Operation not permitted
> 
> I've noticed that in /var/log/messages it said that the mtu didn't  
> match, so I've solved that an put both mtu's to 1500. However, the  
> message still pops up when trying to add gif0 to the bridge.

gif0 was created with 'ifconfig gif0 create', I just forgot to copy
and paste it.

I get the "Operation not permitted" error only when I haven't
enough privileges:

[EMAIL PROTECTED] ~ $ifconfig bridge0 addm gif0
ifconfig: BRDGADD gif0: Operation not permitted

Does your user bob have root privileges and did you try
it as root?

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: VPN / Bridge

2006-01-26 Thread Bob Kersten

Hi,


ATM I don't use a VPN therefore I can't give you a known to work
step-by-step solution. However I couldn't reproduce your problem
on 6.0 with the following commands:

[EMAIL PROTECTED] ~ #ifconfig gif0 tunnel 1.2.3.4 5.6.7.8 up
[EMAIL PROTECTED] ~ #ifconfig bridge0 create
[EMAIL PROTECTED] ~ #ifconfig bridge0 addm ndis0 addm gif0 up
[EMAIL PROTECTED] ~ #ifconfig bridge0
bridge0: flags=8043 mtu 1500
ether ac:de:48:f4:4e:9c
priority 32768 hellotime 2 fwddelay 15 maxage 20
member: gif0 flags=3
member: ndis0 flags=3


Where did your gif0 interface come from? I've added it using  
'ifconfig gif0 create', but when I try to add it to the bridge I'm  
getting the following response:


[~] [EMAIL PROTECTED]> ifconfig bridge0 addm gif0
ifconfig: BRDGADD gif0: Operation not permitted

I've noticed that in /var/log/messages it said that the mtu didn't  
match, so I've solved that an put both mtu's to 1500. However, the  
message still pops up when trying to add gif0 to the bridge.


Does anyone have clues as to how this can be done?

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


Re: inetd and security

2006-01-26 Thread Ceri Davies


On 25 Jan 2006, at 01:09, Playnet wrote:


Hello freebsd-questions,

  What better for security reasons?
Inetd, xinetd, standalone? As sample -- vsftpd.
As i know, inetd insecure and deprecated. But what better, xinetd or
standalone?


There's nothing inherently insecure about inetd, and I think that
our implementation is just fine.

As for {x,}inetd vs standalone, that depends entirely on your kind
of load.

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





PGP.sig
Description: This is a digitally signed message part


  1   2   >