Re: discarded oversize frames

2005-04-19 Thread markzero
 Have you found a solution to this? I am having the same problems on a 
 machine very recently updated (cvsupped + buildworld on 4/14/2005):
 kernel.log:Feb 25 13:46:40 trinity kernel: rl0: discard oversize frame 
 (ether type 3db4 flags 3 len 8381  max 1514)
 kernel.log:Apr 10 14:27:37 trinity kernel: rl0: discard oversize frame 
 (ether type 5a84 flags 3 len 2614  max 1514)
 kernel.log:Apr 18 16:17:53 trinity kernel: rl0: discard oversize frame 
 (ether type 1867 flags 3 len 16941  max 1514)
 
 After the message, the machine becomes completely unresponsive and I 
 have to do a power-off, power-on reset.
 
 -Kyle

I recieved these messages a day before my unbranded rl0 died. It
didn't freeze my system but it did refuse to send/recieve packets...

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgpogvycHtlIX.pgp
Description: PGP signature


IGMP proxy?

2005-04-19 Thread John Pettitt
I'm being told by my ISP that I need an IGMP proxy to get my FreeBSD
firwall to handle multicast info from their network (actually BBC radio
content) - I can't find such a proxy for FreeBSD - is there one?


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


squid problem

2005-04-19 Thread Warren
On the machine i am running squid, it runs the program fine, but as soon as 
anything goes to use the proxy server the program dies.

How can i run squid so that im able to see why its crashing/closing when 
something goes to use it?

im running FreeBSD 5.4-Stable CVSUPED and updated Ports/Src/Kernel as of about 
10 hours ago.
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NATD server problem on 5.3 ?

2005-04-19 Thread faisal gillani
Well i recently installed my first natd server on
freebsd 5.3, but its not working ?

 here is wat i did ..

1. compiles kernal with the following options

options IPFIREWALL
options IPV6FIREWALL
options IPDIVERT

2. made the following entries in rc.conf

defaultrouter=10.0.0.1
gateway_enable=YES
hostname=natserver
ifconfig_fxp0=inet 192.168.0.1  netmask
255.255.255.0
ifconfig_xl0=inet 10.0.0.5  netmask 255.255.255.0
firewall_enable=yes
natd_enable=yes
natd_interface=xl0
natd_flags=-f /etc/natd.conf

3. made the following entries in rc.firewall


/sbin/ipfw -f flush
/sbin/ipfw add allow all from any to any via fxp0
/sbin/ipfw add allow icmp from  any to any out via xl0
/sbin/ipfw add allow all from any to any via lo0
/sbin/ipfw add divert natd ip from any to any via xl0
/sbin/ipfw add allow ip from any to 10.0.0.5 in recv
xl0
/sbin/ipfw add allow ip from 10.0.0.5 to any out xmit
xl0

4. configure the windows clients as follows

ipaddress = 192.168.0.3
subnet   = 255.255.255.0
gateway  = 192.168.0.1
dns server = 192.168.0.2 dns server capable of
resolving internet  local address

this is all that i have done but still interet is not
working on clients , what should i do now ?




*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
God is the Greatest




__ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't build ports on older FreeBSD machine

2005-04-19 Thread Joel
 The ports support policy is right there on www.freebsd.org/ports for
 all to read.
 
 It's not reasonable, IMHO. If a release hasn't been EOLed, ports should
 work on it.

May I recommend openbsd as a cure for what ails ye?

--
Joel Rees

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


smartmontools question

2005-04-19 Thread FreeBSD Daemon
dear list,
i just installed smartmonutils from ports on a 4.11-release box.
when i run
# /usr/local/sbin/smartctl -a ad0
I get the error message
smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
[snip]
Smartctl open device: ad0 failed: Inappropriate ioctl for device
the same with the second disk in the system (ad2).
the same if i user /dev/ad[02]+.
what might be the problem?
TIA

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


Re: smartmontools question

2005-04-19 Thread Kees Plonsz
FreeBSD Daemon wrote on Tuesday 19 April 2005 10:34 in the group 
list.freebsd.questions:

 dear list,
 
 i just installed smartmonutils from ports on a 4.11-release box.
 
 when i run
 
 # /usr/local/sbin/smartctl -a ad0
 
 I get the error message
 
 smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
 [snip]
 Smartctl open device: ad0 failed: Inappropriate ioctl for device
 
 the same with the second disk in the system (ad2).
 the same if i user /dev/ad[02]+.
 
 what might be the problem?
 
 TIA
 

S.M.A.R.T. must be supported by your hardware (disk  diskcontroller)
and be enabled through your bios setup.
smartctl must be run by root.


-- 
Key-ID = A6581435  E-mail address is valid

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


Re: smartmontools question

2005-04-19 Thread dima

On Tue, Apr 19, 2005 at 11:26:24AM +0200, Kees Plonsz wrote:

 FreeBSD Daemon wrote on Tuesday 19 April 2005 10:34 in the group 
 list.freebsd.questions:
 
  dear list,
  
  i just installed smartmonutils from ports on a 4.11-release box.
  
  when i run
  
  # /usr/local/sbin/smartctl -a ad0
  
  I get the error message
  
  smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
  [snip]
  Smartctl open device: ad0 failed: Inappropriate ioctl for device
  
  the same with the second disk in the system (ad2).
  the same if i user /dev/ad[02]+.
  
  what might be the problem?
  
  TIA
  
 
 S.M.A.R.T. must be supported by your hardware (disk  diskcontroller)
 and be enabled through your bios setup.
 smartctl must be run by root.
 
and moreover, it must be supported by ATAng which presented only in 5.x branch

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


Re: NATD server problem on 5.3 ?

2005-04-19 Thread Kees Plonsz
faisal gillani wrote on Tuesday 19 April 2005 10:08 in the group 
list.freebsd.questions:

 Well i recently installed my first natd server on
 freebsd 5.3, but its not working ?
 
  here is wat i did ..
 
 1. compiles kernal with the following options
 
 options IPFIREWALL
 options IPV6FIREWALL
 options IPDIVERT
 
 2. made the following entries in rc.conf
 
 defaultrouter=10.0.0.1
 gateway_enable=YES
 hostname=natserver
 ifconfig_fxp0=inet 192.168.0.1  netmask
 255.255.255.0
 ifconfig_xl0=inet 10.0.0.5  netmask 255.255.255.0
 firewall_enable=yes
 natd_enable=yes
 natd_interface=xl0
 natd_flags=-f /etc/natd.conf
 
 3. made the following entries in rc.firewall
 
 
 /sbin/ipfw -f flush
 /sbin/ipfw add allow all from any to any via fxp0
 /sbin/ipfw add allow icmp from  any to any out via xl0
 /sbin/ipfw add allow all from any to any via lo0
 /sbin/ipfw add divert natd ip from any to any via xl0
 /sbin/ipfw add allow ip from any to 10.0.0.5 in recv
 xl0
 /sbin/ipfw add allow ip from 10.0.0.5 to any out xmit
 xl0
 
 4. configure the windows clients as follows
 
 ipaddress = 192.168.0.3
 subnet   = 255.255.255.0
 gateway  = 192.168.0.1
 dns server = 192.168.0.2 dns server capable of
 resolving internet  local address
 
 this is all that i have done but still interet is not
 working on clients , what should i do now ?
 
It seems all quite well. You can debug this kind of problems yourself.
On the natd-server you start:
# tcpdump -i xl0
Then you start on your window client: 
( any ip address wich responds to ping will do ) 
# ping  194.109.21.3 
Then you have to see on the natd-server:

11:57:21.777620 IP natd-server  xs2.xs4all.nl: icmp 64: echo request seq 0
11:57:21.785412 IP xs2.xs4all.nl  natd-server: icmp 64: echo reply seq 0

If it doesnot show anything, you can repeat this for your
fxp0 interface ( where the window client is connected i suppose )

From the results you can conclude wich connection is (not) working




-- 
Key-ID = A6581435  E-mail address is valid

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


Re: gmirror losing drive

2005-04-19 Thread Andrea Venturoli
Danny Howard wrote:
I'm not entirely sure on this one ... you have RTFM?
Obviously. I started with the tutorial at 
http://people.freebsd.org/~rse/mirror/, but I read the whole manual 
before setting it up.


There's gmirror 
configure -a ... but that is about synchronization.
Yes, and synchronization works fine.

What does gmirror info says before you forget / insert?
Hm, I'd have to reboot.
Right now it says:
Geom name: gm0
State: COMPLETE
Components: 2
Balance: split
Slice: 2048
Flags: NONE
SyncID: 5
ID: 2253479574
Providers:
1. Name: mirror/gm0
   Mediasize: 36778544640 (34G)
   Sectorsize: 512
   Mode: r3w3e2
Consumers:
1. Name: da1
   Mediasize: 36778545152 (34G)
   Sectorsize: 512
   Mode: r3w3e3
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   SyncID: 5
   ID: 4069582681
2. Name: da0
   Mediasize: 36778545152 (34G)
   Sectorsize: 512
   Mode: r3w3e3
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   SyncID: 5
   ID: 4172309470
Geom name: gm0.sync
After a reboot I only see da1 under Consumers and State is DEGRADED 
(Componentis are still 2, though).


My hunch is that you are not rebooting cleanly, so when the system comes 
up, gmirror thinks it has to re-sync the disks
I would expect this behaviour, but:
a) I am rebooting cleanly;
b) it doesn't just need resync (that happened to me on another machine), 
it really loses one drive/Consumer!!!


but it is not configured to do so automatically?
It is, and in fact it does, as soon as I forget/reinsert da0.

What command / process did you use to set up your mirror?
Hard to remember. I more or less followed the tutorial above.
BTW: system is 5.3p9 now
 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smartmontools question

2005-04-19 Thread Andrea Venturoli
dima wrote:
and moreover, it must be supported by ATAng which presented only in 5.x branch
Would it work with SCSI on 4.11?
 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: NATD server problem on 5.3 ?

2005-04-19 Thread bob
Saying it's not working is way to vague.
You need to post more details about what is not working.
Like can the 5.3 server ping the public internet?
Can it ping PCs on the LAN?
Can a win LAN PC ping the server?
What does the firewall log contain?
Have you tested with firewall out of the way by having only single
rule to pass all packets?
/sbin/ipfw -f flush
/sbin/ipfw add allow all from any to any



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of faisal
gillani
Sent: Tuesday, April 19, 2005 4:08 AM
To: freebsd-questions@freebsd.org
Subject: NATD server problem on 5.3 ?


Well i recently installed my first natd server on
freebsd 5.3, but its not working ?

 here is wat i did ..

1. compiles kernal with the following options

options IPFIREWALL
options IPV6FIREWALL
options IPDIVERT

2. made the following entries in rc.conf

defaultrouter=10.0.0.1
gateway_enable=YES
hostname=natserver
ifconfig_fxp0=inet 192.168.0.1  netmask
255.255.255.0
ifconfig_xl0=inet 10.0.0.5  netmask 255.255.255.0
firewall_enable=yes
natd_enable=yes
natd_interface=xl0
natd_flags=-f /etc/natd.conf

3. made the following entries in rc.firewall


/sbin/ipfw -f flush
/sbin/ipfw add allow all from any to any via fxp0
/sbin/ipfw add allow icmp from  any to any out via xl0
/sbin/ipfw add allow all from any to any via lo0
/sbin/ipfw add divert natd ip from any to any via xl0
/sbin/ipfw add allow ip from any to 10.0.0.5 in recv
xl0
/sbin/ipfw add allow ip from 10.0.0.5 to any out xmit
xl0

4. configure the windows clients as follows

ipaddress = 192.168.0.3
subnet   = 255.255.255.0
gateway  = 192.168.0.1
dns server = 192.168.0.2 dns server capable of
resolving internet  local address

this is all that i have done but still interet is not
working on clients , what should i do now ?




*:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$
God is the Greatest




__
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
___
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: smartmontools question

2005-04-19 Thread Kees Plonsz
Andrea Venturoli wrote on Tuesday 19 April 2005 14:39 in the group 
list.freebsd.questions:

 dima wrote:
 
 and moreover, it must be supported by ATAng which presented only in 5.x
 branch
 
 Would it work with SCSI on 4.11?
 

I heard there are troubles with several scsi disk-drives,
even on FreeBSD 5.3

see msg-id:
[EMAIL PROTECTED]

-- 
Key-ID = A6581435  E-mail address is valid

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


Re: smartmontools question

2005-04-19 Thread FreeBSD Daemon
Andrea Venturoli wrote:
dima wrote:
and moreover, it must be supported by ATAng which presented only in 
5.x branch

Would it work with SCSI on 4.11?
 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


No, both ATA (Seagate ST3120026A), see /var/run/dmesg.boot:
[...]
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: ST3120026A/3.54 ATA-6 disk at ata0-master
ad0: 114473MB (234441648 sectors), 232581 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, BIOSDMA
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
Creating DISK ad2
ar: FreeBSD check1 failed
ad2: ST3120026A/3.06 ATA-6 disk at ata1-master
ad2: 114473MB (234441648 sectors), 232581 C, 16 H, 63 S, 512 B
ad2: 16 secs/int, 1 depth queue, BIOSDMA
ad2: piomode=4 dmamode=2 udmamode=5 cblid=1
[...]
The M/B is a Supermicro P4SCT:
http://www.supermicro.com/products/motherboard/P4/875/P4SCT.cfm
Zheyu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.3 and forcible unmounts

2005-04-19 Thread Elifarley Callado Coelho Cruz
Plug a USB mass-storage-type still camera, mount it, unplug it, and
try to forcibly unmount it using 'umount -f'. The whole system hangs
right away.

Is it a known bug ?

-- 
There are 10 types of people in the world:
Those who understand binary and those who don't
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dual processor

2005-04-19 Thread William Biggs
I have a dual processor  server Will freebsd use them both is so When I install 
it how do I get it to use it ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


what kind of BBS software on freebsd work well

2005-04-19 Thread liu jiachang
Hi, everyone.

There are some excellen bbs software, e.g vbb, phpbb,
FUDforum, but do I have another choice? 

I just want to install a BBS software on my personal
web, build on php and mysql database, and it should be
a free software (GPL lisence?), and should support
mulity lanuage. What about Simplified Chinese?

_
Do You Yahoo!?
150MP3
http://music.yisou.com/

http://image.yisou.com
1G1000
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup-mirror

2005-04-19 Thread Vyacheslav Druzhinin
Hello all,

I have installed ports/cvsup-mirror at defaults settings and it
downloads over 3GB files on my hard drive (I guess it dowloads all
releases and all ports collections). Does anyone knows how to
reduce traffic if I need only fresh ports and RELENG_5_3 cvs tag
available for cvsup ???

With best regards,  [MCP, MCSD]
Vyacheslav  mailto:[EMAIL PROTECTED]
Origin: --= DVG_Lab =--   

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


Re: what kind of BBS software on freebsd work well

2005-04-19 Thread Brian McCann
I would just use phpbb...it's a snap to setup, and doesn't take much to manage.

--Brian

On 4/19/05, liu jiachang [EMAIL PROTECTED] wrote:
 Hi, everyone.
 
 There are some excellen bbs software, e.g vbb, phpbb,
 FUDforum, but do I have another choice?
 
 I just want to install a BBS software on my personal
 web, build on php and mysql database, and it should be
 a free software (GPL lisence?), and should support
 mulity lanuage. What about Simplified Chinese?
 
 _
 Do You Yahoo!?
 150MP3
 http://music.yisou.com/
 
 http://image.yisou.com
 1G1000
 http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann
Systems  Network Administrator, K12USA

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dual processor

2005-04-19 Thread Brian McCann
By default, no...I don't think it will use both processors.  You have
to make a custom kernel and enable SMP.  Look here
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
for how to do it.  In 5.x, I believe all you need is options SMP,
but I could be wrong.  If you build the sample LINT kernel config,
it will show you in there.

Good luck,
--Brian

On 4/19/05, William Biggs [EMAIL PROTECTED] wrote:
 I have a dual processor  server Will freebsd use them both is so When I 
 install it how do I get it to use it ?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann
Systems  Network Administrator, K12USA

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error compiling HandBrake 0.6.2_2: core/X264Enc.c, function `HBX264EncInit'

2005-04-19 Thread Elifarley Callado Coelho Cruz
How can I fix it, please ?

Info / log:

 uname -a
FreeBSD dexter.lab 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5
04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

 cc --version
cc (GCC) 3.4.2 [FreeBSD] 20040728

 sudo portinstall handbrake
---  Installing 'handbrake-0.6.2_2' from a port (multimedia/handbrake)
---  Building '/usr/ports/multimedia/handbrake'
===  Cleaning for atk-1.9.1
===  Cleaning for unzip-5.52_1
===  Cleaning for arts-1.4.0,1
===  Cleaning for esound-0.2.35_1
===  Cleaning for faac-1.24_4
===  Cleaning for faad2-2.0_5,1
===  Cleaning for jackit-0.99.0
===  Cleaning for lame-3.96.1
===  Cleaning for liba52-0.7.4_1
===  Cleaning for libaudiofile-0.2.6
===  Cleaning for libmad-0.15.1b_1
===  Cleaning for libogg-1.1.2_1,3
===  Cleaning for libsamplerate-0.1.2
===  Cleaning for libsndfile-1.0.11
===  Cleaning for libvorbis-1.1.0_1,3
===  Cleaning for nas-1.7
===  Cleaning for portaudio-18.1_2
===  Cleaning for libiconv-1.9.2_1
===  Cleaning for autoconf-2.53_3
===  Cleaning for autoconf-2.59_2
===  Cleaning for automake-1.5_2,1
===  Cleaning for bison-1.75_2
===  Cleaning for doxygen-1.4.1
===  Cleaning for gettext-0.14.1
===  Cleaning for glib-2.6.4
===  Cleaning for gmake-3.80_2
===  Cleaning for imake-6.8.2
===  Cleaning for jam-2.5_2
===  Cleaning for libltdl-1.5.10
===  Cleaning for libtool-1.3.5_2
===  Cleaning for libtool-1.5.10_1
===  Cleaning for m4-1.4.3
===  Cleaning for nasm-0.98.39,1
===  Cleaning for p5-gettext-1.03
===  Cleaning for pkgconfig-0.17.2
===  Cleaning for qmake-3.3.4
===  Cleaning for sdl-1.2.8,2
===  Cleaning for t1lib-5.0.1,1
===  Cleaning for aalib-1.4.r5_1
===  Cleaning for gd-2.0.33_1,1
===  Cleaning for graphviz-2.2
===  Cleaning for imlib2-1.2.0_2
===  Cleaning for jpeg-6b_3
===  Cleaning for lcms-1.14,1
===  Cleaning for libmng-1.0.8
===  Cleaning for libungif-4.1.3
===  Cleaning for png-1.2.8_1
===  Cleaning for svgalib-1.4.3_4
===  Cleaning for tiff-3.7.1_2
===  Cleaning for perl-5.8.6_2
===  Cleaning for python-2.4.1
===  Cleaning for tcl-8.4.7,1
===  Cleaning for djbfft-0.76_2
===  Cleaning for fftw3-3.0.1_4
===  Cleaning for help2man-1.35.1
===  Cleaning for hicolor-icon-theme-0.5
===  Cleaning for shared-mime-info-0.16_1
===  Cleaning for ffmpeg-0.4.9.p1_2
===  Cleaning for libdvdcss-1.2.8_1
===  Cleaning for libdvdread-0.9.4_1
===  Cleaning for libmpeg2-0.4.0b_1
===  Cleaning for mpeg4ip-libmp4v2-1.1_1
===  Cleaning for xvid-1.0.3,1
===  Cleaning for amspsfnt-1.0_3
===  Cleaning for cmpsfont-1.0_4
===  Cleaning for cups-base-1.1.23.0_3
===  Cleaning for dvipsk-tetex-5.95a_1
===  Cleaning for freetype2-2.1.9
===  Cleaning for ghostscript-gnu-7.07_12
===  Cleaning for gsfonts-8.11_2
===  Cleaning for teTeX-base-3.0_3
===  Cleaning for teTeX-texmf-3.0_3
===  Cleaning for tex-texmflocal-1.9
===  Cleaning for gnutls-1.0.24_1
===  Cleaning for libgcrypt-1.2.1
===  Cleaning for libgpg-error-1.0_1
===  Cleaning for expat-1.95.8
===  Cleaning for intltool-0.33
===  Cleaning for libxml2-2.6.19
===  Cleaning for p5-XML-Parser-2.34_1
===  Cleaning for texi2html-1.76_1,1
===  Cleaning for libwww-5.4.0_1
===  Cleaning for bitstream-vera-1.10_1
===  Cleaning for fontconfig-2.2.3,1
===  Cleaning for libXft-2.1.6_1
===  Cleaning for p5-type1inst-0.6.1_2
===  Cleaning for xorg-fonts-encodings-6.8.2
===  Cleaning for xorg-fonts-truetype-6.8.2
===  Cleaning for gtk-2.6.7
===  Cleaning for pango-1.8.1
===  Cleaning for qt-3.3.4
===  Cleaning for tk-8.4.7,2
===  Cleaning for xorg-clients-6.8.2
===  Cleaning for xorg-libraries-6.8.2
===  Cleaning for xterm-200_2
===  Cleaning for handbrake-0.6.2_2
===  Vulnerability check disabled, database not found
===  Extracting for handbrake-0.6.2_2
= Checksum OK for HandBrake-0.6.2-src.tar.gz.
===  Patching for handbrake-0.6.2_2
===  Applying FreeBSD patches for handbrake-0.6.2_2
===   handbrake-0.6.2_2 depends on executable: jam - found
===   handbrake-0.6.2_2 depends on executable: nasm - found
===   handbrake-0.6.2_2 depends on file:
/usr/local/bin/intltool-extract - found
===   handbrake-0.6.2_2 depends on executable: pkg-config - found
===   handbrake-0.6.2_2 depends on shared library: a52.0 - found
===   handbrake-0.6.2_2 depends on shared library: avcodec.1 - found
===   handbrake-0.6.2_2 depends on shared library: dvdcss.2 - found
===   handbrake-0.6.2_2 depends on shared library: dvdread.3 - found
===   handbrake-0.6.2_2 depends on shared library: faac.0 - found
===   handbrake-0.6.2_2 depends on shared library: mp3lame.0 - found
===   handbrake-0.6.2_2 depends on shared library: mp4v2.0 - found
===   handbrake-0.6.2_2 depends on shared library: mpeg2.0 - found
===   handbrake-0.6.2_2 depends on shared library: ogg.5 - found
===   handbrake-0.6.2_2 depends on shared library: samplerate.1 - found
===   handbrake-0.6.2_2 depends on shared library: vorbis.3 - found
===   handbrake-0.6.2_2 depends on shared library: xvidcore.4 - found
===   handbrake-0.6.2_2 depends on shared library: atk-1.0.901 - 

Re: ELF type 3 not known

2005-04-19 Thread Steven Friedrich
On Sun, 17 Apr 2005 05:37:42 -0700, Loren M. Lang wrote:

On Wed, Apr 13, 2005 at 01:28:27PM -0400, Steven Friedrich wrote:
 I got this error on one of two 4.11 boxes.

is linux.ko loaded?  That's the module responsible for reconizing elf
type 3 if I'm not mistaken.


That was it.

I shot myself in the foot and you had the first aid.

Thanks


Steven Friedrich
5112 Mount Holyoke Drive
Louisville, KY  40216
502-447-7730



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


Re: FreeBSD 5.3 and forcible unmounts

2005-04-19 Thread markzero
 Plug a USB mass-storage-type still camera, mount it, unplug it, and
 try to forcibly unmount it using 'umount -f'. The whole system hangs
 right away.
 
 Is it a known bug ?

I can confirm this. FreeBSD-5.3-RELEASE-p9.

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgp1AMPSiYpvp.pgp
Description: PGP signature


Ports collection problems...help???

2005-04-19 Thread Brian McCann
Hi all.  I'm having problems with my ports collection on a 4.10
server.  I need to keep the versions of the ports the same on these
two boxes (for dev reasons), so I rsync'd /usr/ports...and on the
target machine, I get the following error when I try to build
something:

Makefile error: There is a COMMENTFILE in this port.
COMMENTFILEs have been deprecated in
favor of COMMENT variables.
Please, rectify this.
*** Error code 1


But...there are no files with COMMENTFILE in their name on the system!  Help?!?!

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


vmware alternative for freebsd?

2005-04-19 Thread Didier Wiroth
Hi,

 

Unfortunately vmware workstation 4.5.x (linux version) is not supported in
the ports tree. I was wondering if there are any alternatives to vmware,
commercial or freeware. I'm talking about a host version (I'm not talking
about guest OSes).

 

Or may be someone has a tutorial about how to install and run the vmware 4.5
host installation on freebsd 5.4.

 

Thanks a lot

didier

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


RE: vmware alternative for freebsd?

2005-04-19 Thread Grant

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Didier Wiroth
 Sent: 19 April 2005 14:35
 To: freebsd-questions@freebsd.org
 Subject: vmware alternative for freebsd?


 the ports tree. I was wondering if there are any alternatives to vmware,
 commercial or freeware. I'm talking about a host version (I'm not talking
 about guest OSes).

Hey,

There is a few out there for fbsd.. but the only one I have used with
success is qemu.

http://www.freebsd.org/cgi/url.cgi?ports/emulators/qemu/pkg-descr

Its quite quick, but I feel it isn't as quick as vmware is/was.

But it is something to look at, if its just simple things you need from it
it will be fine, but anything CPU heavy I find its not great on.

Another one that you might want to look at is bochs
http://www.freebsd.org/cgi/url.cgi?ports/emulators/bochs/pkg-descr

I cant really say much about this one, I've tried it before but never got
anywhere, so it might be good for what you need. Or it might be rubbish :)

Anyways gotta do some work :)
Bye. 
Grant.

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


RE: vmware alternative for freebsd?

2005-04-19 Thread Didier Wiroth
Hey, 
Thank you for your answer!
I will have a look a qemu. But I don't think it is as professional as I need
it.

Actually I'm working witn xp and windows vmware. I use it for testing
unattended installation CDs, service packs etc..., new windows netware
client testing, software testing etc... and use a lot the vmware snapshot
functionality.

I would like to switch my personal OS to freebsd but I can't as I really
need a descent vmware-like simulator.

Imprisoned in Windows ;-((

Thank you
Regards
Didier

--
Hey,

There is a few out there for fbsd.. but the only one I have used with
success is qemu.

http://www.freebsd.org/cgi/url.cgi?ports/emulators/qemu/pkg-descr

Its quite quick, but I feel it isn't as quick as vmware is/was.

But it is something to look at, if its just simple things you need from it
it will be fine, but anything CPU heavy I find its not great on.

Another one that you might want to look at is bochs
http://www.freebsd.org/cgi/url.cgi?ports/emulators/bochs/pkg-descr

I cant really say much about this one, I've tried it before but never got
anywhere, so it might be good for what you need. Or it might be rubbish :)

Anyways gotta do some work :)
Bye. 
Grant.


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


gmirror on local + nfs volume

2005-04-19 Thread Feczak Szabolcs
I have read about this some months ago on the list, but I can not find
it now. Can someone explain how to make a Geom mirror with one local
and one remote component ? (so basicly syncronize two volumes between
machines automagically)

Thanks


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


error with cvsup/ezm3-1.2 ?

2005-04-19 Thread M. Parsons
Trying to install cvsup via ports, I cd into /usr/ports/net/cvsup and it 
wants to install ezm3, which is fine, but during the ezm3 install, this 
happens:

Any ideas on how to fix it?
missing version stamps - compiling ../src/C/FreeBSD4/Csignal.i3
missing version stamps - compiling ../src/C/FreeBSD4/Cstring.i3
missing version stamps - compiling ../src/C/FreeBSD4/Cstdio.i3
new source - compiling ../src/float/IEEE/Real.i3
***
*** runtime error:
***Segmentation violation - possible attempt to dereference NIL
***pc = 0x8157d8c
***
 use option @M3stackdump to get a stack trace
m3build: quake error: quake error: runtime error: m3build failed with
error code: 34304
--procedure--  -line-  -file---
error  --  builtin
BuildChunk164  /usr/ports/lang/ezm3/work/ezm3-1.2/src/m3makefile
PkgInfo   240  /usr/ports/lang/ezm3/work/ezm3-1.2/src/m3makefile
  38  /usr/ports/lang/ezm3/work/ezm3-1.2/src/PACKAGES
gmake: *** [packages] Error 1
*** Error code 2
Stop in /usr/ports/lang/ezm3.
*** Error code 1
Stop in /usr/ports/net/cvsup.
attached is also my dmesg if anyone wants a look at it? (bad paste job 
as well)

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Sun Apr 17 09:22:09 EDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/POLLINGSMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (333.06-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x650  Stepping = 0
 
Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO
V,PAT,PSE36,MMX,FXSR
real memory  = 268435456 (256 MB)
avail memory = 253046784 (241 MB)
MPTable: INTEL440LX   
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443LX (440 LX) host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443LX (440 LX) host to PCI bridge mem 
0xf000-0xf7ff at de
vice 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3
f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: serial bus, USB at device 7.2 (no driver attached)
piix0: PIIX Timecounter port 0xfcb0-0xfcbf at device 7.3 on pci0
Timecounter PIIX frequency 3579545 Hz quality 0
ed0: NE2000 PCI Ethernet (RealTek 8029) port 0xef40-0xef5f irq 11 at 
device 12.
0 on pci0
ed0: [GIANT-LOCKED]
ed0: Ethernet address: 00:80:c8:dd:2d:a2
ed0: if_start running deferred for Giant
type NE2000 (16 bit)
de0: Digital 21140A Fast Ethernet port 0xec80-0xecff mem 
0xfebfff80-0xfebf
irq 10 at device 13.0 on pci0
de0: [GIANT-LOCKED]
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de0: Ethernet address: 00:e0:29:00:df:0d
de0: if_start running deferred for Giant
cpu0 on motherboard
cpu1 on motherboard
orm0: ISA Option ROM at iomem 0xc-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ep0: 3Com 3C509-TPO EtherLink III at port 0x350-0x35f irq 5 on isa0
ep0: Ethernet address: 00:50:04:a3:35:62
unknown: PNP0303 can't assign resources (port)
unknown: PNP0c02 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
Timecounters tick every 1.000 msec
ad0: 3093MB FUJITSU MPB3032ATU E/4010 [6704/15/63] at ata0-master UDMA33
ad2: 4125MB FUJITSU MPC3043AT/6018 [8940/15/63] at ata1-master UDMA33
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s1a
de0: enabling Full Duplex 100baseTX port
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = enabled
de0: enabling 100baseTX port

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


Re: error with cvsup/ezm3-1.2 ?

2005-04-19 Thread M. Parsons
Never mind, found results on google, I was trying to compile with -O2, 
using just -O works. :-)

Mark
M. Parsons wrote:
Trying to install cvsup via ports, I cd into /usr/ports/net/cvsup and 
it wants to install ezm3, which is fine, but during the ezm3 install, 
this happens:

Any ideas on how to fix it?
missing version stamps - compiling ../src/C/FreeBSD4/Csignal.i3
missing version stamps - compiling ../src/C/FreeBSD4/Cstring.i3
missing version stamps - compiling ../src/C/FreeBSD4/Cstdio.i3
new source - compiling ../src/float/IEEE/Real.i3
***
*** runtime error:
***Segmentation violation - possible attempt to dereference NIL
***pc = 0x8157d8c
***
 use option @M3stackdump to get a stack trace
m3build: quake error: quake error: runtime error: m3build failed with
error code: 34304
--procedure--  -line-  -file---
error  --  builtin
BuildChunk164  /usr/ports/lang/ezm3/work/ezm3-1.2/src/m3makefile
PkgInfo   240  /usr/ports/lang/ezm3/work/ezm3-1.2/src/m3makefile
  38  /usr/ports/lang/ezm3/work/ezm3-1.2/src/PACKAGES
gmake: *** [packages] Error 1
*** Error code 2
Stop in /usr/ports/lang/ezm3.
*** Error code 1
Stop in /usr/ports/net/cvsup.
attached is also my dmesg if anyone wants a look at it? (bad paste job 
as well)

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Sun Apr 17 09:22:09 EDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/POLLINGSMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (333.06-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x650  Stepping = 0
 
Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO 

V,PAT,PSE36,MMX,FXSR
real memory  = 268435456 (256 MB)
avail memory = 253046784 (241 MB)
MPTable: INTEL440LX   
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443LX (440 LX) host to PCI bridge pcibus 0 on 
motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443LX (440 LX) host to PCI bridge mem 
0xf000-0xf7ff at de
vice 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3
f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: serial bus, USB at device 7.2 (no driver attached)
piix0: PIIX Timecounter port 0xfcb0-0xfcbf at device 7.3 on pci0
Timecounter PIIX frequency 3579545 Hz quality 0
ed0: NE2000 PCI Ethernet (RealTek 8029) port 0xef40-0xef5f irq 11 at 
device 12.
0 on pci0
ed0: [GIANT-LOCKED]
ed0: Ethernet address: 00:80:c8:dd:2d:a2
ed0: if_start running deferred for Giant
type NE2000 (16 bit)
de0: Digital 21140A Fast Ethernet port 0xec80-0xecff mem 
0xfebfff80-0xfebf
irq 10 at device 13.0 on pci0
de0: [GIANT-LOCKED]
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de0: Ethernet address: 00:e0:29:00:df:0d
de0: if_start running deferred for Giant
cpu0 on motherboard
cpu1 on motherboard
orm0: ISA Option ROM at iomem 0xc-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on 
isa0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ep0: 3Com 3C509-TPO EtherLink III at port 0x350-0x35f irq 5 on isa0
ep0: Ethernet address: 00:50:04:a3:35:62
unknown: PNP0303 can't assign resources (port)
unknown: PNP0c02 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
Timecounters tick every 1.000 msec
ad0: 3093MB FUJITSU MPB3032ATU E/4010 [6704/15/63] at ata0-master 
UDMA33
ad2: 4125MB FUJITSU MPC3043AT/6018 [8940/15/63] at ata1-master UDMA33
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s1a
de0: enabling Full Duplex 100baseTX port
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = enabled
de0: enabling 100baseTX port


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

Re: Ports collection problems...help???

2005-04-19 Thread Lowell Gilbert
Brian McCann [EMAIL PROTECTED] writes:

 Hi all.  I'm having problems with my ports collection on a 4.10
 server.  I need to keep the versions of the ports the same on these
 two boxes (for dev reasons), so I rsync'd /usr/ports...and on the
 target machine, I get the following error when I try to build
 something:
 
 Makefile error: There is a COMMENTFILE in this port.
 COMMENTFILEs have been deprecated in
 favor of COMMENT variables.
 Please, rectify this.
 *** Error code 1
 
 
 But...there are no files with COMMENTFILE in their name on the system!  
 Help?!?!

If I recall correctly, pkg-comment is the filename you should look for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


squid + antivirus plugin

2005-04-19 Thread Vyacheslav Druzhinin
Hello freebsd-questions,

  I have a problem to scan all http proxy traffic for a viruses. Does
  exist some open source antivirus plugin for squid? I have been
  checked the ports collection and I can't find any solution.

With best regards,  [MCP, MCSD]
Vyacheslav  mailto:[EMAIL PROTECTED]
Origin: --= DVG_Lab =--   

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


Re: Ports collection problems...help???

2005-04-19 Thread Brian McCann
Thanks!

On 19 Apr 2005 10:41:16 -0400, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Brian McCann [EMAIL PROTECTED] writes:
 
  Hi all.  I'm having problems with my ports collection on a 4.10
  server.  I need to keep the versions of the ports the same on these
  two boxes (for dev reasons), so I rsync'd /usr/ports...and on the
  target machine, I get the following error when I try to build
  something:
 
  Makefile error: There is a COMMENTFILE in this port.
  COMMENTFILEs have been deprecated in
  favor of COMMENT variables.
  Please, rectify this.
  *** Error code 1
 
 
  But...there are no files with COMMENTFILE in their name on the system!  
  Help?!?!
 
 If I recall correctly, pkg-comment is the filename you should look for.
 


-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann
Systems  Network Administrator, K12USA

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: squid + antivirus plugin

2005-04-19 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 19 Apr 2005, Vyacheslav Druzhinin wrote:
Hello freebsd-questions,
 I have a problem to scan all http proxy traffic for a viruses. Does
 exist some open source antivirus plugin for squid? I have been
 checked the ports collection and I can't find any solution.
Hi,
you should take a look at
squid-vscan http://www.openantivirus.org/projects.php
SquidFilter http://sites.inka.de/~bigred/devel/squid-filter.html
I haven't tried any of these patchsets and they are not up to date with 
the current squid versions.

Joerg
- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCZSEaSPOsGF+KA+MRAscxAJ46PhokJuKIOKaDL9nbmvzv96sEbACfS8Du
kWGDkojrxb56FxbiXnQU4yw=
=L2Jl
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: which interface: mountd,rpcbind

2005-04-19 Thread cpghost
On Mon, Apr 18, 2005 at 09:09:36AM -0400, Lowell Gilbert wrote:
 Florian Hengstberger [EMAIL PROTECTED] writes:
 
  Hi!
  I really worry about that it seems (man mountd, man rpcbind)
  impossible to specifiy the interface these daemons bind to.

I've had exactly the same problem a while ago! The important thing
here, is that nfsd doesn't bind to INADDR_ANY. The other daemons
are still potentially vulnerable to other kinds of attacks though,
but it would be extremely difficult to inject NFS RPCs into this
system from an external interface.

I wished rpcbind and mountd (and rpc.lockd and rpc.statd!) could be
configured to listen on a specific interface. As long as that is not
implemented, you should really use pf or another packet filter on your
external interface, to protect NFS.

 You can't, as far as I can see.  Looks like it would be an afternoon's
 work to add it in, but I wouldn't think it's worth worrying about it.

Yes please, it would be really nice to have this in the source.
If I knew more sockets API, I would have already submitted a PR
for this, but I don't :(. It's just a matter of adding calls to bind(2)
at the right places.

 Since you bind to an address already, a packet filter firewall will
 protect you from access on the wrong interface.

Hmmm, rpcbind, mountd, rpc.lockd and rpc.statd bind to INADDR_ANY, not to
a specific interface. rpcbind has even a documented -h flag, that it
doesn't seem to respect fully. That's exactly the problem.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Startup scripts question

2005-04-19 Thread Paul Schmehl
--On Monday, April 18, 2005 08:05:37 PM -0700 Joshua Lewis 
[EMAIL PROTECTED] wrote:

How do startup scripts work?
I added:
mysql_enable=²YES²
But I don¹t think it is working. I had rebooted my system the other day
and my mail server stopped working (postfix reading from mysql tables)
and I tried looking at my running processes:
ps ­ax |grep sql
Did you look in /var/log/messages for any errors?  Did you look in 
dmesg.boot?

and nothing was returned. So I guessed mysql was not running.
I tried:
mysql start
That won't work.  Look at the startup script and you'll see why.
and I got a socket error. I usually get this error when SQL was not
started properly. So I ran
/usr/local/etc/rc.d/mysql-server.sh start
And low and behold it was all working.
Sounds like something is preventing it from starting properly during the 
boot process.

So how do startup scripts work.
Did I add the wrong value to my /etc/rc.conf file?
Or did I miss something somewhere?
Does the entry in /etc/rc.conf correlate to the startup script. Should I
change my rc.conf file to read
mysql-server_enable=²YES²
No.  mysql_enable=YES is the correct value.
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't build ports on older FreeBSD machine

2005-04-19 Thread Paul Schmehl
--On Monday, April 18, 2005 10:22:13 PM -0600 Brett Glass 
[EMAIL PROTECTED] wrote:

At 10:16 PM 4/18/2005, Kris Kennaway wrote:
The ports support policy is right there on www.freebsd.org/ports for
all to read.
It's not reasonable, IMHO. If a release hasn't been EOLed, ports should
work on it.
That's kind of silly, don't you think?  As new software is developed and 
added to ports, why would there be *any* expectation that it would work on 
older releases?  Do you honestly think a developer is going to test - say - 
usb drivers on a FBSD release that never had usb?

You can keep old versions around forever if all you want to do is run 
what's on them, but if you want the latest and greatest of everything, the 
*OS* has to be new as well.

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


Re: what kind of BBS software on freebsd work well

2005-04-19 Thread Paul Schmehl
--On Tuesday, April 19, 2005 08:39:46 AM -0400 Brian McCann 
[EMAIL PROTECTED] wrote:

I would just use phpbb...it's a snap to setup, and doesn't take much to
manage.
And has more security problems than Carter has liver pills
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror losing drive

2005-04-19 Thread Paul Mather
On Tue, 19 Apr 2005 14:38:33 +0200, Andrea Venturoli
[EMAIL PROTECTED] wrote:

 Danny Howard wrote:
 
  I'm not entirely sure on this one ... you have RTFM?
 
 Obviously. I started with the tutorial at 
 http://people.freebsd.org/~rse/mirror/, but I read the whole manual 
 before setting it up.
 
 
 
  There's gmirror 
  configure -a ... but that is about synchronization.
 
 Yes, and synchronization works fine.
 
 
 
  What does gmirror info says before you forget / insert?
 
 Hm, I'd have to reboot.
 
 Right now it says:
 
 Geom name: gm0
 State: COMPLETE
 Components: 2
 Balance: split
 Slice: 2048
 Flags: NONE
 SyncID: 5
 ID: 2253479574
 Providers:
 1. Name: mirror/gm0
 Mediasize: 36778544640 (34G)
 Sectorsize: 512
 Mode: r3w3e2
 Consumers:
 1. Name: da1
 Mediasize: 36778545152 (34G)
 Sectorsize: 512
 Mode: r3w3e3
 State: ACTIVE
 Priority: 0
 Flags: DIRTY
 SyncID: 5
 ID: 4069582681
 2. Name: da0
 Mediasize: 36778545152 (34G)
 Sectorsize: 512
 Mode: r3w3e3
 State: ACTIVE
 Priority: 0
 Flags: DIRTY
 SyncID: 5
 ID: 4172309470
 
 Geom name: gm0.sync
 
 
 After a reboot I only see da1 under Consumers and State is DEGRADED 
 (Componentis are still 2, though).
 
 
 
  My hunch is that you are not rebooting cleanly, so when the system
 comes 
  up, gmirror thinks it has to re-sync the disks
 
 I would expect this behaviour, but:
 a) I am rebooting cleanly;
 b) it doesn't just need resync (that happened to me on another
 machine), 
 it really loses one drive/Consumer!!!

 BTW: system is 5.3p9 now

I've been using geom_mirror for quite a while.  I currently use it on
6-CURRENT and 5.4-STABLE systems.  The implementation has evolved since
first I used it, and some kinks have been worked out.  You may be
experiencing some of these kinks.

Do you have swap on your geom_mirror?  In earlier versions of
geom_mirror, even a clean shutdown would cause a mirror to be marked
degraded if swap was still active.  The fix at the time was to amend the
stop_cmd in /etc/rc.d/swap1 to do an explicit swapoff -a (or similar).
Later modifications rendered this explicit step unnecessary.

I also remember a short window in which I experienced the same problem
of losing a drive/consumer at reboot when a mirror would become degraded
(in my case, due to the TIMEOUT - WRITE_DMA problems I was having with
5.x/6.x).  This seemed to go away with a subsequent upgrade.

So, if you are planning to upgrade when 5.4-RELEASE rolls around, you
might find that these problems disappear.  Otherwise, you may be stuck
with at least one of them.

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gateway troubles

2005-04-19 Thread Alex
hi !
i have fbsd 5.3 router with gateway_enable=YES /etc/rc.conf
and 3 interfaces:
1. xl0 (mynet)
2. rl0
3. tun0 (internet) cuaa0
i need to get work router from mynet to  rl0 net and internet . i want 
to do that without natd but net.inet.ip.forwarding=1 work only on one 
psihical interface :)  i need to get work gateway between 3 interfaces . 
what i need to do ?

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


exif.10 libexif-0.6.12_1

2005-04-19 Thread Drew Tomlinson
I'm trying to install an unofficial port of MythTV Gallery.  It looks 
for exif.10 library but doesn't find it even after installing 
libexif-0.6.12_1.  Does the port makefile need to updated or do I need 
to install something else to get exif.10?

Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!
http://www.alchemistswarehouse.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gateway troubles

2005-04-19 Thread Ash
Alex wrote:
hi !
i have fbsd 5.3 router with gateway_enable=YES /etc/rc.conf
and 3 interfaces:
1. xl0 (mynet)
2. rl0
3. tun0 (internet) cuaa0
i need to get work router from mynet to  rl0 net and internet . i want 
to do that without natd but net.inet.ip.forwarding=1 work only on one 
psihical interface :)  i need to get work gateway between 3 interfaces . 
what i need to do ?

In order to route traffic between your local network and the Internet 
WITHOUT using NAT, then your ISP needs to assign a routeable public 
subnet to you as well as at least one address on a segment shared with 
one of their routers. Somehow, I get the feeling that this isn't the 
case so probably will need to use NAT.

FreeBSD gives you a few choices when it comes to building a 
router/firewall box. As always the handbook is the best place to start:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
Incidentally, the handbook is available in multiple languages:
http://www.freebsd.org/doc/
Good luck,
-Ash
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Where is sysinstall prog on the ISO image of 5.3?

2005-04-19 Thread Chris Huff
Hi:
I've recompiled sysinstall b/c i want it to automatically get 
install.cfg ( for an autoinstall ) from the cd its on instead of a 
floppy. Now, I cant find out where sysinstall is on the 5.3 cd so I can 
replace and reburn it. Can someone help me or let me know where 
sysinstall is hidden on the cd? Thanks

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


df question

2005-04-19 Thread Osmany Guirola Cruz
Hi people

I do df -h on my machine and got this RARE ouput

%df -h

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a7.7G2.2G4.9G31%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1d 65G9.5G 50G16%/usr/home

%df
Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a   8122126 2328406  514395031%/
devfs   1   10   100%/dev
/dev/ad0s1d  68372608 9940308 5296249216%/usr/home



50G+9.5G=60.5G   but the partition size is 65G ... where are my ~5G,?
What can i do?
Thanks
Osmany




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


Re: cvsup-mirror

2005-04-19 Thread Scott Mitchell
On Tue, Apr 19, 2005 at 04:38:10PM +0400, Vyacheslav Druzhinin wrote:
 Hello all,
 
 I have installed ports/cvsup-mirror at defaults settings and it
 downloads over 3GB files on my hard drive (I guess it dowloads all
 releases and all ports collections). Does anyone knows how to
 reduce traffic if I need only fresh ports and RELENG_5_3 cvs tag
 available for cvsup ???

Hi,

cvsup-mirror is for running your own cvsup server to distribute FreeBSD
files to others.  You probably just want to use cvsup with an appropriate
supfile - usually based on one of the samples in /usr/share/examples/cvsup.
Also see Ch 19 of the handbook for lots of details on setting this up:
http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: df question

2005-04-19 Thread Philip Hallstrom
Hi people
I do df -h on my machine and got this RARE ouput
%df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a7.7G2.2G4.9G31%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1d 65G9.5G 50G16%/usr/home
%df
Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a   8122126 2328406  514395031%/
devfs   1   10   100%/dev
/dev/ad0s1d  68372608 9940308 5296249216%/usr/home
50G+9.5G=60.5G   but the partition size is 65G ... where are my ~5G,?
What can i do?
Accept it :-)  Or change the minimum free space on the drive.  Here's the 
relevant part of the tunefs manpage:

-m minfree
 Specify the percentage of space held back from normal users; the
minimum free space threshold.  The default value used is 8%.  This value
can be set to zero, however up to a factor of three in throughput will
be lost over the performance obtained at a 10% threshold.  Settings of
5% and less force space optimization to always be used which will
greatly increase the overhead for file writes.  Note that if the value
is raised above the current usage level, users will be unable to
allocate files until enough files have been deleted to get under the
higher threshold.
I haven't checked, but I suspect the FAQ and Handbook at www.freebsd.org 
have more information on this...

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


RE: df question

2005-04-19 Thread Andrew Heyn


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Osmany Guirola
Cruz
Sent: Tuesday, April 19, 2005 5:37 AM
To: freebsd-questions@freebsd.org
Subject: df question


Hi people

I do df -h on my machine and got this RARE ouput

%df -h

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a7.7G2.2G4.9G31%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1d 65G9.5G 50G16%/usr/home

%df
Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a   8122126 2328406  514395031%/
devfs   1   10   100%/dev
/dev/ad0s1d  68372608 9940308 5296249216%/usr/home



50G+9.5G=60.5G   but the partition size is 65G ... where are my ~5G,?
What can i do?
Thanks
Osmany



-

Hi,

That output is far from rare!

Type man tunefs and type /-m without the quotes, and then hit n without
the quotes.
Read that section carefully.  Also, some space is used in any file system
for storage of
data about the data (metadata).  Inodes, superblocks, etc all take up space.
Reading man tuning may also shed some light on this supposedly lost space.

Thanks,
Andrew

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


Re: df question

2005-04-19 Thread Peter Giessel
On Tuesday, April 19, 2005, at 08:36AM, Osmany Guirola Cruz [EMAIL PROTECTED] 
wrote:

50G+9.5G=60.5G   but the partition size is 65G ... where are my ~5G,?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MANUFACTURER-DISK-SIZE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what kind of BBS software on freebsd work well

2005-04-19 Thread Andrew P.
Paul Schmehl wrote:
--On Tuesday, April 19, 2005 08:39:46 AM -0400 Brian McCann 
[EMAIL PROTECTED] wrote:

I would just use phpbb...it's a snap to setup, and doesn't take much to
manage.
And has more security problems than Carter has liver pills
Hmm, what would a FreeBSDer advise as a
forum engine? IPB for $55?
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [freebsd-questions] Turn off monitor

2005-04-19 Thread Ivan Voras
Lowell Gilbert wrote:
On the (syscons(4)) console, you can enable screen blanking as a
screensaver in its own right.  You would load either the green or
apm screen saver (available as kernel modules) and enable it with
vidcontrol(1).  I don't think you can trigger it by hand.
I tried both (before posting the question) - green_saver just blanks the 
screen (doesn't turn it off), and apm_server misbehaves - just 'freezes' 
the screen without any other effect. I know turning it off works 
because, well, it works ok in Windows...

Under X, of course, doing what you want it easy.
Turn the monitor off? How?

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


Re: df question

2005-04-19 Thread Jerry McAllister
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Osmany Guirola
 Cruz
 Sent: Tuesday, April 19, 2005 5:37 AM
 To: freebsd-questions@freebsd.org
 Subject: df question
 
 
 Hi people
 
 I do df -h on my machine and got this RARE ouput
 
 %df -h
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a7.7G2.2G4.9G31%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ad0s1d 65G9.5G 50G16%/usr/home
 
 %df
 Filesystem  1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad0s1a   8122126 2328406  514395031%/
 devfs   1   10   100%/dev
 /dev/ad0s1d  68372608 9940308 5296249216%/usr/home
 
 
 
 50G+9.5G=60.5G   but the partition size is 65G ... where are my ~5G,?
 What can i do?

This is well documented and has all been covered numerous and numerous
times in the list.   Basically, a percentage of the disk is held out
for the system (root).   The default is 8% but it can be configured.
Some searching will get you more detailed explanations.

jerry

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


Re: [freebsd-questions] Turn off monitor

2005-04-19 Thread Kevin Kinsey
Ivan Voras wrote:
Lowell Gilbert wrote:
On the (syscons(4)) console, you can enable screen blanking as a
screensaver in its own right.  You would load either the green or
apm screen saver (available as kernel modules) and enable it with
vidcontrol(1).  I don't think you can trigger it by hand.

I tried both (before posting the question) - green_saver just blanks 
the screen
(doesn't turn it off), and apm_server misbehaves - just 'freezes' the 
screen without
any other effect. I know turning it off works because, well, it works 
ok in Windows...

Under X, of course, doing what you want it easy.

Turn the monitor off? How?

Hmm, from XF86Config(5):
  Options
 Some Option flags that may be useful to include in 
Monitor  sec-
 tions (when needed) include DPMS, and SyncOnGreen.

Now, I have:
   Option   DPMS
 in /etc/X11/XF86Config, and my monitor does what I call sleeping
after a period of inactivity, but I can't say how this really coincides with
the current discussion, as I'm jumping in mid-stream and can't even seem
to find Lowell's reply to you anywhere (other than what you quoted).
Hmm, what about acpi(4) ?
HTH,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gateway troubles

2005-04-19 Thread Kevin Kinsey
Ash wrote:
Alex wrote:
hi !
i have fbsd 5.3 router with gateway_enable=YES /etc/rc.conf
and 3 interfaces:
1. xl0 (mynet)
2. rl0
3. tun0 (internet) cuaa0
i need to get work router from mynet to  rl0 net and internet .
i want to do that without natd but net.inet.ip.forwarding=1 work
only on one psihical interface :)  i need to get work gateway
between 3 interfaces . what i need to do ?

In order to route traffic between your local network and the Internet
WITHOUT using NAT, then your ISP needs to assign a routeable public
subnet to you as well as at least one address on a segment shared
with one of their routers. Somehow, I get the feeling that this isn't
the case so probably will need to use NAT.
FreeBSD gives you a few choices when it comes to building a 
router/firewall
box. As always the handbook is the best place to start:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
Incidentally, the handbook is available in multiple languages:
http://www.freebsd.org/doc/
I've left Ash's info in, since a pointer to the handbook is always a Good
Thing(tm) in the best of FreeBSD's traditions...
I notice your WAN link is tun0 ... are you using userland ppp(8)?  Because
ppp has a -nat switch and, AFAIK, it doesn't care where else on the box
your packets are coming from.
I use ppp -nat -background myisp to call ppp and everybody gets
along fine ... except for the low bandwidth... :-(
HTH,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Exabyte 221L Auto Loader

2005-04-19 Thread Micheal Patterson
Is there anyone using this device with FreeBSD 4.x or 5.x? I'm new to the
world of auto-loaders and am curious if FreeBSD's tar / dump utilities can
support it properly for backing up of 3tb of data from various partitions.
If so, are there any specifics that I should be aware of when using this
device? Any recommendations on using other software other than tar or dump
to do this that are available in the ports tree?

Thanks.

--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.


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


Re: Exabyte 221L Auto Loader

2005-04-19 Thread Olivier Gautherot
Hi Michael!

 Is there anyone using this device with FreeBSD 4.x or 5.x? I'm new to the
 world of auto-loaders and am curious if FreeBSD's tar / dump utilities can
 support it properly for backing up of 3tb of data from various partitions.
 If so, are there any specifics that I should be aware of when using this
 device? Any recommendations on using other software other than tar or dump
 to do this that are available in the ports tree?

rsync and rsnapshot are alternatives - I particularly like the second one as 
it provides a kind of incremental backup (you can have several snapshots of 
the same file, what can be handy to retrieve an old version of a file after a 
deadly edit without having the sysadmin fiddle with tapes...)

Regarding tar, make sure you don't save a huge file on an ext2fs file system. 
I did this mistake once on a machine that was shared between FreeBSD and 
Linux and I've lost a significant amount of data: ext2fs does not support 
files of more than 4GB (compressing the archive does not shift the threshold 
- data will be lost before this). UFS2 is the way to go: the inodes 
management is not quite as efficient from a disk usage point of view but for 
huge disks, it will bring you peace of mind, which is priceless.

Hope it helps
-- 
Olivier Gautherot
[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: Ports collection problems...help???

2005-04-19 Thread Kris Kennaway
On Tue, Apr 19, 2005 at 10:41:16AM -0400, Lowell Gilbert wrote:
 Brian McCann [EMAIL PROTECTED] writes:
 
  Hi all.  I'm having problems with my ports collection on a 4.10
  server.  I need to keep the versions of the ports the same on these
  two boxes (for dev reasons), so I rsync'd /usr/ports...and on the
  target machine, I get the following error when I try to build
  something:
  
  Makefile error: There is a COMMENTFILE in this port.
  COMMENTFILEs have been deprecated in
  favor of COMMENT variables.
  Please, rectify this.
  *** Error code 1
  
  
  But...there are no files with COMMENTFILE in their name on the system!  
  Help?!?!
 
 If I recall correctly, pkg-comment is the filename you should look for.

This means that you're not syncing the ports properly, e.g. you're not
using rsync --delete.

Kris


pgpucfAouI6sP.pgp
Description: PGP signature


Re: gmirror losing drive

2005-04-19 Thread Danny Howard
Andrea, I have no idea, sorry, but I do notice that your gmirror list
looks somewhat different from mine, so I'll include that output, in case
we might learn something.  I wish you all the best in cracking this nut
... :/

On Tue, Apr 19, 2005 at 02:38:33PM +0200, Andrea Venturoli wrote:
 Geom name: gm0
 State: COMPLETE
 Components: 2
 Balance: split
 Slice: 2048
 Flags: NONE
 SyncID: 5
 ID: 2253479574
 Providers:
 1. Name: mirror/gm0
Mediasize: 36778544640 (34G)
Sectorsize: 512
Mode: r3w3e2
 Consumers:
 1. Name: da1
Mediasize: 36778545152 (34G)
Sectorsize: 512
Mode: r3w3e3
State: ACTIVE
Priority: 0
Flags: DIRTY
SyncID: 5
ID: 4069582681
 2. Name: da0
Mediasize: 36778545152 (34G)
Sectorsize: 512
Mode: r3w3e3
State: ACTIVE
Priority: 0
Flags: DIRTY
SyncID: 5
ID: 4172309470
 
 Geom name: gm0.sync

Geom name: gm0
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
SyncID: 2
ID: 21500713
Providers:
1. Name: mirror/gm0
   Mediasize: 250059349504 (233G)
   Sectorsize: 512
   Mode: r7w7e2
Consumers:
1. Name: ad4
   Mediasize: 250059350016 (233G)
   Sectorsize: 512
   Mode: r7w7e3
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   SyncID: 2
   ID: 107796709
2. Name: ad6
   Mediasize: 250059350016 (233G)
   Sectorsize: 512
   Mode: r7w7e3
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   SyncID: 2
   ID: 3458394720

Geom name: gm0.sync

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


Re: gmirror on local + nfs volume

2005-04-19 Thread Danny Howard
Feczak Szabolcs wrote:
I have read about this some months ago on the list, but I can not find
it now. Can someone explain how to make a Geom mirror with one local
and one remote component ? (so basicly syncronize two volumes between
machines automagically)
Feczak,
I saw that too ... my searching turns up:
man -k ggate
Good luckl making it go.
Sincerely,
-danny
--
http://dannyman.toldme.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error starting opera 8.00

2005-04-19 Thread Frank Staals
Hey,
I downloaded opera 8.00, extracted the .tar.gz and ran the install.sh 
script, all the files were copied to the right places. When I tried to 
run opera I first had to symlink 2 libs ( libm.so.2 and libc_r.so.4 ) 
that wasn't much of a problem but when I try to run it now I get this 
error:

[EMAIL PROTECTED] opera
/usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libX11.so.6: Undefined symbol 
__stderrp

I am running FreeBSD 5.3.
Anyone an Idea what I am doing wrong ?
Thanks Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: which interface: mountd,rpcbind

2005-04-19 Thread Sandy Rutherford
 On Tue, 19 Apr 2005 17:35:56 +0200, 
 [EMAIL PROTECTED] said:

  On Mon, Apr 18, 2005 at 09:09:36AM -0400, Lowell Gilbert wrote:
  Florian Hengstberger [EMAIL PROTECTED] writes:
  
   Hi!
   I really worry about that it seems (man mountd, man rpcbind)
   impossible to specifiy the interface these daemons bind to.

  I've had exactly the same problem a while ago! The important thing
  here, is that nfsd doesn't bind to INADDR_ANY. The other daemons
  are still potentially vulnerable to other kinds of attacks though,
  but it would be extremely difficult to inject NFS RPCs into this
  system from an external interface.

  I wished rpcbind and mountd (and rpc.lockd and rpc.statd!) could be
  configured to listen on a specific interface. As long as that is not
  implemented, you should really use pf or another packet filter on your
  external interface, to protect NFS.

In addition, tcpwrappers can be used to further protect NFS.

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


Cvsup problems

2005-04-19 Thread Cody Holland
I'm having cvsup update issues right now.  When I try to update I get:
Cannot connect to cvsupxx.us.freebsd.org: Connection refused
Will retry at xx:xx:xx
No matter which server I try.

Also when I try to run fastest_cvsup -c us I get timeouts on
everyserver.  Any ideas?

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


Re: Cvsup problems

2005-04-19 Thread Kris Kennaway
On Tue, Apr 19, 2005 at 02:03:46PM -0500, Cody Holland wrote:
 I'm having cvsup update issues right now.  When I try to update I get:
 Cannot connect to cvsupxx.us.freebsd.org: Connection refused
 Will retry at xx:xx:xx
 No matter which server I try.
 
 Also when I try to run fastest_cvsup -c us I get timeouts on
 everyserver.  Any ideas?

You have a firewall in the way?

Kris


pgp6WHEkBaOkU.pgp
Description: PGP signature


Re: IRQ problems b/n USB and PCI modem... help! (SOLVED)

2005-04-19 Thread Philip Hallstrom
So, after getting some pointers from folks (thanks!) I started from 
scratch this morning twiddling one BIOS setting at a time.

Turns out that it's *NOT* the USB controller.  Well, maybe it is, I don't 
really know I guess.  By turning off Power Management in the BIOS, I can 
access all three modems just fine.

Strange, but I'm glad it's working :)
Thanks all!
On Mon, 18 Apr 2005, Philip Hallstrom wrote:
Hi all -
	I am in IRQ h*ll.  I'm trying to setup an box to use as an inbound 
modem server...

Here's what's happening...
FreeBSD 4.9
Dell Dimension XPS T450 (ie. several year old dell).
Default BIOS settings (switching the PnP OS has no effect).
One NIC recognized as fxp0.  One IDE drive, one cdrom, one floppy.
Three USR 5610B PCI modems (which work fine individually).
I can access the first two modems via tip, but tipping to the last one locks 
up the entire system (network, console, everything).  Here's the relevant 
parts from /var/run/dmesg.boot:

pci1: 3Dfx Voodoo 3 graphics accelerator at 0.0 irq 11
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 9
fxp0: Intel 82559 Pro/100 Ethernet port 0x1000-0x103f mem 
0xf400-0xf40f,0xf410-0xf4100fff irq 11 at device 13.0 on pci0
sio0: 3COM PCI FaxModem port 0x1070-0x1077 irq 10 at device 14.0 on pci0
sio0: moving to sio4
sio4: type 16550A
sio0: 3COM PCI FaxModem port 0x1078-0x107f irq 7 at device 15.0 on pci0
sio0: moving to sio5
sio5: type 16550A
sio0: 3COM PCI FaxModem port 0x1080-0x1087 irq 9 at device 16.0 on pci0
sio0: moving to sio6
sio6: type 16550A
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A

I am pretty sure my problem is that the USB controller and the third modem 
are both using IRQ 9, but I can't think of any way to resolve that.

I don't have USB compiled into my kernel and there aren't any settings in the 
BIOS to shut USB off completely.

I've also tried killing off sio0/IRQ4 in hopes the modem would take that IRQ, 
but no luck there either.


Anyone have any ideas on how I can get this to work?  Should I try FreeBSD 
5.x?

Thanks all!
-philip
___
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]


matrox parhelia and hauppauge pvr350 questions

2005-04-19 Thread Didier Wiroth
Hi,

I would like to migrate my main workstation from windowsxp to freebsd 
5.4-stable (I run a few free- and openbsd machines on a few servers and a 
laptop)

I use a matrox parhelia 128mb (dual DVI) agp card which is connected to 2 LCD 
screens. 
I also run a Hauppauge PVR350 TV card to watch TV on my PC.

I've a few questions:
1) Does someone run a matrox parhelia in Xorg 6.8.2 with freebsd5.x, what's 
your comment on it?
2) Is multi-screen (Xinerama) working with this card?
3) Is someone using hauppauge pvr350 TV card to watch tv in freebsd?
4) Is tv watching with the pvr somewhat user-friendly?

Many many thanks for taking the time to respond
Didier

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


dual-dvi graphic adapter, which one

2005-04-19 Thread Didier Wiroth
Hi,

I'm planning to buy a new graphic adapter, which should fulfill a few 
conditions.

a) dual-dvi output
b) no fan (well yes, it needs to be silent)
c) fast 3d acceleration NOT required
d) tv-out not required
e) cheap ;-))
f)  tending to a NVIDIA adapter because of their freebsd support

Is someone using such a card, if so, which one?

Many thx
Didier


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


Re: [freebsd-questions] Turn off monitor

2005-04-19 Thread Ivan Voras
Kevin Kinsey wrote:
   Option   DPMS
Ok, this works! Also, with command xset dpms force off I can turn it 
off at will.

Now only to find something for the (text) console...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Audigy Sound Card -- SOLVED

2005-04-19 Thread Drew Tomlinson
On 4/18/2005 4:31 PM Drew Tomlinson wrote:
I'm trying to get my Audigy sound card working.  I've followed the 
instructions in the Handbook and used 'kldload snd_emu10k1'.  My card 
is detected but something isn't right:

pcm0: Creative Audigy (EMU10K2) irq 9 at device 9.0 on pci0
pcm0: 0x20 bytes of rid 0x10 res 4 failed.
pcm0: unable to map register space
device_attach: pcm0 attach returned 6
Also, there is no /dev/dsp and /dev/sndstat shows no installed 
devices.  Can anyone tell me if I'm on the right track and what pcm0: 
0x20 bytes of rid 0x10 res 4 failed means?  This is a FreeBSD 
5.4-STABLE #2: Sat Apr 16 15:53:56 PDT 2005 system.
I resolved this issue by opening up the case and re-seating the card.  
Seems when I screwed the bracket in, it pulled the card out of the 
slot.  A pair of pliers and a slight modification to the case fixed this 
problem.  Sound card works much better now that it's properly installed.  :)

Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!
http://www.alchemistswarehouse.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


msdosfs fat32 disk size limit in FreeBSD?

2005-04-19 Thread Brian M. Kincaid
Hello,
Is there an upper limit to the size of a FAT32 file system in the 
FreeBSD msdosfs code?
I put in an 80GB drive recently and there have been problems. There is 
no problem with small FAT32 file systems on floppies or flash memory 
cards. Any useful comments before I go back to the (working) 60GB drive 
configuration?

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


Reasons not being able to FXP?

2005-04-19 Thread Fafa Diliha Romanova
Hey!

I'm on a FreeBSD 4.11-RELEASE jail.
I've setup ftpd on port 21 from /etc/inetd.conf.
Its portrange according to the firewall is in the clear.

People can connect, but they cannot FXP using FlashFXP in Windows.
Does anyone know why they can't? I'm all out of ideas.

Thank you,
Fafa

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


another newbie question

2005-04-19 Thread [EMAIL PROTECTED]

  Hi all,
  Been playing around with FreeBSD for a couple of months. Just configured my 
.muttrc, and I'm able to send messages but not to receive. I read the man pages 
and followed the instructions but still it's not working. Am I missing 
something here?
Any help will be greatly appreciated. Thx

P.S. Kinda embarrased of asking such a question in this mailing list...:-)

-- 
Ricardo Ricardo  
[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: gmirror on local + nfs volume

2005-04-19 Thread Paul Mather
On Tue, 19 Apr 2005 16:07:29 +0200, Feczak Szabolcs [EMAIL PROTECTED]
wrote:

 I have read about this some months ago on the list, but I can not find
 it now. Can someone explain how to make a Geom mirror with one local
 and one remote component ? (so basicly syncronize two volumes between
 machines automagically)

I don't know about NFS, but I remember someone doing something similar
to what you describe using geom_gate for the remote component.  See
ggated(8) and ggatec(8) for how to set up an use a geom_gate provider.

Geom_mirror works with GEOM providers, and I don't believe NFS fulfills
this requirement.  So, it's unlikely that geom_mirror with a NFS
component would be possible.

Note that the geom_mirror + geom_gate synchronisation would be one-way.

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: msdosfs fat32 disk size limit in FreeBSD?

2005-04-19 Thread Kevin Kinsey
Brian M. Kincaid wrote:
Hello,
Is there an upper limit to the size of a FAT32 file system in the 
FreeBSD msdosfs code?
I put in an 80GB drive recently and there have been problems. There is 
no problem with small FAT32 file systems on floppies or flash memory 
cards. Any useful comments before I go back to the (working) 60GB 
drive configuration?

Thanks,
Brian
IANAE, but I think there is; IIRC, though, it's 128 GB unless you have
compiled MSDOSFS_LARGE* into your custom kernel, so I can't address
your problem with an 80GB disk
What system are you on (`uname -a`)?
Kevin Kinsey
*Or something like that ... check release notes on 5.3,
again, that's if I recall correctly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: squid + antivirus plugin

2005-04-19 Thread Ed Stover
Hi, 
On Tue, 2005-04-19 at 19:01 +0400, Vyacheslav Druzhinin wrote:
 Hello freebsd-questions,
 
   I have a problem to scan all http proxy traffic for a viruses. Does
   exist some open source antivirus plugin for squid? I have been
   checked the ports collection and I can't find any solution.
 
 With best regards,  [MCP, MCSD]
 Vyacheslav  mailto:[EMAIL PROTECTED]
 Origin: --= DVG_Lab =--   
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
Check out http://www.clamav.net/3rdparty.html  and find Web/FTP Proxy +
ClamAV on the pages and it will list several of the type of programs
that you are  looking for.

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


RE: NATD server problem on 5.3 ?

2005-04-19 Thread Ed Stover
And I would like to add these questions to
On Tue, 2005-04-19 at 07:44 -0400, [EMAIL PROTECTED] wrote:
 Saying it's not working is way to vague.
 You need to post more details about what is not working.
 Like can the 5.3 server ping the public internet?
 Can it ping PCs on the LAN?
 Can a win LAN PC ping the server?
 What does the firewall log contain?
Does nat start up? do a ps -ax |grep nat
Are you sure your natd.conf is correctly formatted?
 Have you tested with firewall out of the way by having only single
 rule to pass all packets?
 /sbin/ipfw -f flush
 /sbin/ipfw add allow all from any to any
Generally if it is your first firewall try the rc.conf option of 
firewall_type=OPEN 
and here is what my /etc/natd.cf looks like.
##/etc/natd.cf
log yes
deny_incoming   no
use_sockets yes
same_ports  yes
verbose no
port8668
interface   ep0
unregistered_only   yes
##EOF
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of faisal
 gillani
 Sent: Tuesday, April 19, 2005 4:08 AM
 To: freebsd-questions@freebsd.org
 Subject: NATD server problem on 5.3 ?
 
 
 Well i recently installed my first natd server on
 freebsd 5.3, but its not working ?
 
  here is wat i did ..
 
 1. compiles kernal with the following options
 
 options IPFIREWALL
 options IPV6FIREWALL
 options IPDIVERT
 
 2. made the following entries in rc.conf
 
 defaultrouter=10.0.0.1
 gateway_enable=YES
 hostname=natserver
 ifconfig_fxp0=inet 192.168.0.1  netmask
 255.255.255.0
 ifconfig_xl0=inet 10.0.0.5  netmask 255.255.255.0
 firewall_enable=yes
 natd_enable=yes
 natd_interface=xl0
 natd_flags=-f /etc/natd.conf
 
 3. made the following entries in rc.firewall
 
 
 /sbin/ipfw -f flush
 /sbin/ipfw add allow all from any to any via fxp0
 /sbin/ipfw add allow icmp from  any to any out via xl0
 /sbin/ipfw add allow all from any to any via lo0
 /sbin/ipfw add divert natd ip from any to any via xl0
 /sbin/ipfw add allow ip from any to 10.0.0.5 in recv
 xl0
 /sbin/ipfw add allow ip from 10.0.0.5 to any out xmit
 xl0
 
 4. configure the windows clients as follows
 
 ipaddress = 192.168.0.3
 subnet   = 255.255.255.0
 gateway  = 192.168.0.1
 dns server = 192.168.0.2 dns server capable of
 resolving internet  local address
 
 this is all that i have done but still interet is not
 working on clients , what should i do now ?
 
 
 
 
 *:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$
 God is the Greatest
 
 
 
 
 __
 Do you Yahoo!?
 Make Yahoo! your home page
 http://www.yahoo.com/r/hs
 ___
 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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: msdosfs fat32 disk size limit in FreeBSD?

2005-04-19 Thread Brian M. Kincaid
Yeah, I already had MSDOSFS_LARGE turned on, and I realize that it's 
supposed to be an issue if you have bigger than 128GB drives.

I'm running 6.0-CURRENT.
I'll keep looking...
Brian
Kevin Kinsey wrote:
Brian M. Kincaid wrote:
Hello,
Is there an upper limit to the size of a FAT32 file system in the 
FreeBSD msdosfs code?
I put in an 80GB drive recently and there have been problems. There is 
no problem with small FAT32 file systems on floppies or flash memory 
cards. Any useful comments before I go back to the (working) 60GB 
drive configuration?

Thanks,
Brian
IANAE, but I think there is; IIRC, though, it's 128 GB unless you have
compiled MSDOSFS_LARGE* into your custom kernel, so I can't address
your problem with an 80GB disk
What system are you on (`uname -a`)?
Kevin Kinsey
*Or something like that ... check release notes on 5.3,
again, that's if I recall correctly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: msdosfs fat32 disk size limit in FreeBSD?

2005-04-19 Thread Brian M. Kincaid
Maybe I should turn MSDOSFS_LARGE  **OFF** ? I'll keep you posted.
Brian
Kevin Kinsey wrote:
Brian M. Kincaid wrote:
Hello,
Is there an upper limit to the size of a FAT32 file system in the 
FreeBSD msdosfs code?
I put in an 80GB drive recently and there have been problems. There is 
no problem with small FAT32 file systems on floppies or flash memory 
cards. Any useful comments before I go back to the (working) 60GB 
drive configuration?

Thanks,
Brian
IANAE, but I think there is; IIRC, though, it's 128 GB unless you have
compiled MSDOSFS_LARGE* into your custom kernel, so I can't address
your problem with an 80GB disk
What system are you on (`uname -a`)?
Kevin Kinsey
*Or something like that ... check release notes on 5.3,
again, that's if I recall correctly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror losing drive

2005-04-19 Thread Andrea Venturoli
Paul Mather wrote:
Do you have swap on your geom_mirror?
Yes.

 In earlier versions of
geom_mirror, even a clean shutdown would cause a mirror to be marked
degraded if swap was still active.  The fix at the time was to amend the
stop_cmd in /etc/rc.d/swap1 to do an explicit swapoff -a (or similar).
Later modifications rendered this explicit step unnecessary.
Yes, that hit me too (on another machine), but it would render a disk 
stale, it would not become lost.


I also remember a short window in which I experienced the same problem
of losing a drive/consumer at reboot when a mirror would become degraded
(in my case, due to the TIMEOUT - WRITE_DMA problems I was having with
5.x/6.x).  This seemed to go away with a subsequent upgrade.
Hmm, this might be it, altough I'm usinc SCIS, so no DMA stuff...

So, if you are planning to upgrade when 5.4-RELEASE rolls around, you
might find that these problems disappear.
I am planning to do that as soon as it's released. I hope it will help.

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


Problem linking MySQL 4.1.11 via FreeBSD 4.10 ports

2005-04-19 Thread Clifton Royston
  I am having a problem building from ports, which is a fairly rare
experience for me.

  When I try to make the current port of the MySQL 4.1 server under
FreeBSD 4.10, I get a huge stream of undefined reference errors at
the link step for mysqld.  It would seem it can't find any
thread-related library references, e.g. `mutex_enter_func', regardless
of which thread library I request.  I started out trying to build with
the default pthreads library, then switched to the Linuxthreads library
as it's supposed to have better performance under 4.x anyway.

  I've checked my environment for a messed up LD_CONFIG_PATH, have
rerun ldconfig (numerous times) and have checked the threads libraries
created using ldd.  I can see the lthread library being referenced on
the command line.

Factoids:

 * Running FreeBSD 4.10 on a development-only server (thank goodness.)

 * The ports tree was CVSupped late last week (4/14/2005)

 * Trying to build MySQL version 4.1.11 from 
/usr/ports/databases/mysql41-server/

 * linuxthreads-2.2.3_16 built and installed yesterday, did not resolve
the problem

 * Problem seen (with different variable names) both with and without
the WITH_LINUXTHREADS=yes parameter to make.

 * gcc 2.95.4 (system version), libtool-1.5.10_1 (from ports)

 * I've built about 10 other packages from ports into binary packages
in the last few days, with no similar problems.

 * I've tried switching to a regular root shell via su, to make sure
it's not a sudo environment problem, even though my other port makes
work from sudo.

 * I've repeatedly done a make clean to make sure that I don't have
configuration cruft.

$ cc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

$ head -4 /var/run/dmesg.boot | tail -1
FreeBSD 4.10-RELEASE #0: Tue Jun 22 17:01:51 HST 2004

$ head Makefile
# New ports collection makefile for:MySQL-server
# Date created: Fri Apr 11 10:06:26 CET 2003
# Whom: Alex Dupre [EMAIL PROTECTED]
#
# $FreeBSD: ports/databases/mysql41-server/Makefile,v 1.206 2005/04/12 03:25:02 
obrien Exp $
#

PORTNAME?=  mysql
PORTVERSION=4.1.11
PORTREVISION?=  1

$ sudo make FORCE_PKG_REGISTER=yes WITH_LINUXTHREADS=yes 
...
Making all in share
/usr/local/bin/libtool15 --preserve-dup-deps --mode=link cc  -DDBUG_OFF  -DNEWSA
LT  -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linu
xthreads -DNEWSALT  -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/incl
ude/pthread/linuxthreads -felide-constructors -fno-rtti -fno-exceptions   -fno-i
mplicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100
-o mysqld  sql_lex.o sql_handler.o  item.o item_sum.o item_buff.o  item_func.o i
tem_cmpfunc.o  item_strfunc.o item_timefunc.o  thr_malloc.o item_create.o  item_
subselect.o item_row.o  item_geofunc.o field.o strfunc.o  key.o sql_class.o sql_
list.o  net_serv.o protocol.o sql_state.o  lock.o my_lock.o sql_string.o  sql_ma
nager.o sql_map.o mysqld.o  password.o hash_filo.o hostname.o  set_var.o sql_par
se.o sql_yacc.o  sql_base.o table.o sql_select.o  sql_insert.o sql_prepare.o sql
_error.o  sql_update.o sql_delete.o uniques.o  sql_do.o procedure.o item_uniq.o
 sql_test.o log.o log_event.o  init.o derror.o sql_acl.o  unireg.o des_key_file.
o discover.o  time.o opt_range.o opt_sum.o  records.o filesort.o handler.o  ha_h
eap.o ha_myisam.o ha_myisammrg.o  ha_berkeley.o ha_innodb.o ha_isam.o  ha_isammr
g.o ha_ndbcluster.o sql_db.o  sql_table.o sql_rename.o sql_crypt.o  sql_load.o m
f_iocache.o field_conv.o  sql_show.o sql_udf.o sql_analyse.o  sql_cache.o slave.
o sql_repl.o  sql_union.o sql_derived.o client.o  sql_client.o mini_client_error
s.o  pack.o stacktrace.o repl_failsafe.o  gstream.o spatial.o sql_help.o  protoc
ol_cursor.o tztime.o my_time.o  ha_example.o ha_archive.o ha_tina.o  ha_blackhol
e.o -L../bdb/build_unix -ldb  ../innobase/usr/libusr.a ../innobase/srv/libsrv.a
../innobase/dict/libdict.a ../innobase/que/libque.a ../innobase/srv/libsrv.a ../
innobase/ibuf/libibuf.a ../innobase/row/librow.a ../innobase/pars/libpars.a ../i
nnobase/btr/libbtr.a ../innobase/trx/libtrx.a ../innobase/read/libread.a ../inno
base/usr/libusr.a ../innobase/buf/libbuf.a ../innobase/ibuf/libibuf.a ../innobas
e/eval/libeval.a ../innobase/log/liblog.a ../innobase/fsp/libfsp.a ../innobase/f
ut/libfut.a ../innobase/fil/libfil.a ../innobase/lock/liblock.a ../innobase/mtr/
libmtr.a ../innobase/page/libpage.a ../innobase/rem/librem.a ../innobase/thr/lib
thr.a ../innobase/sync/libsync.a ../innobase/data/libdata.a ../innobase/mach/lib
mach.a ../innobase/ha/libha.a ../innobase/dyn/libdyn.a ../innobase/mem/libmem.a
../innobase/sync/libsync.a ../innobase/ut/libut.a ../innobase/os/libos.a ../inno
base/ut/libut.a ../myisam/libmyisam.a  ../myisammrg/libmyisammrg.a  ../heap/
libheap.a  ../vio/libvio.a  ../mysys/libmysys.a  ../dbug/libdbug.a  ../regex/lib
regex.a  ../strings/libmystrings.a -lz   -lwrap 

re: shell problem

2005-04-19 Thread Darrel
- restart and pressed 4 at boot menu:  single user
mount -aw
chpass and changed both shells to /usr/local/bin/bash
bash-3.00$ would not read .bashrc, so i switched root to /bin/csh and my 
User to /bin/tcsh.  seems to be okay.

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


Re: Can't build ports on older FreeBSD machine

2005-04-19 Thread Brett Glass
At 10:33 PM 4/18/2005, Kris Kennaway wrote:

OK, but I don't care about your HO on this matter.

You may not, but users of FreeBSD do. At the very least,
ports should be tagged as to the versions of the OS
with which they will work, and it should be possible
to retrieve the most recent version of the port that
works with the version of the OS you are running.
Having users update in the standard (and prescribed)
way and finding out that a major function (the entire
ports system) is no longer working is certainly not
something one would expect from professionally crafted
software.

Note that under Linux, the maintainers of distributions
do exactly this. However, FreeBSD is essentially its own
distro, so the job of doing this falls to the FreeBSD
developers and the maintainers of the ports. If it is
not done, FreeBSD users will enjoy an inferior experience
to the one they get with Linux or even Windows.

--Brett Glass

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


Re: Can't build ports on older FreeBSD machine

2005-04-19 Thread Kris Kennaway
On Tue, Apr 19, 2005 at 08:37:43PM -0600, Brett Glass wrote:
 At 10:33 PM 4/18/2005, Kris Kennaway wrote:
 
 OK, but I don't care about your HO on this matter.
 
 You may not, but users of FreeBSD do.

Those users of FreeBSD who care about supporting the ports collection
in a given configuration, do so.  They don't just send mails
complaining that someone else should do it for them.  But of course
you know this, because it's pointed out to you each time you make such
complaints.

Kris

P.S. You've ignored my Reply-To for a second time.  Are you trying to
be deliberately aggravating, or does it just come naturally to you?


pgpJRUah4Svcs.pgp
Description: PGP signature


Non Network cvsup?

2005-04-19 Thread Daniel Bass
So my IT department won't open port 5999 so I can't access the servers 
with cvsup.
Is there some manual method to synchronize my installation?  Can I just 
ftp a recent
copy of  ports.tar.gz and replace my installed /usr/ports directory? In 
particular, I just
installed 5.3-Release from cdrom, and it installs Xorg 6.7 rather than 
6.8.2; and I
don't know what else is already out of date.

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


Re: Can't build ports on older FreeBSD machine

2005-04-19 Thread Brett Glass
At 08:58 PM 4/19/2005, Kris Kennaway wrote:

Those users of FreeBSD who care about supporting the ports collection
in a given configuration, do so.  They don't just send mails
complaining that someone else should do it for them.  

What are you talking about? The maintainer of each port DOES support 
it for everyone else. That's the point of having port maintainers.
However, the conventions for maintenance of ports should include
support for all non-EOLed versions of FreeBSD.

P.S. You've ignored my Reply-To for a second time.  Are you trying to
be deliberately aggravating, or does it just come naturally to you?

My e-mail client has been honoring your Reply-to field correctly.
You'll note that the To: fields on my replies all point to the
list.

--Brett Glass

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


Re: Can't build ports on older FreeBSD machine

2005-04-19 Thread Joel
 OK, but I don't care about your HO on this matter.
(B 
(B You may not, but users of FreeBSD do.
(B
(Bmmm . . .
(B
(B At the very least,
(B ports should be tagged as to the versions of the OS
(B with which they will work, and it should be possible
(B to retrieve the most recent version of the port that
(B works with the version of the OS you are running.
(B
(BIt sounds like a wonderful idea. 
(B
(BWho's going to pay for it?
(B
(B Having users update in the standard (and prescribed)
(B way and finding out that a major function (the entire
(B ports system) is no longer working is certainly not
(B something one would expect from professionally crafted
(B software.
(B
(BOh? Well, okay, MSWxp sp2 is not what I would call professionally
(Bcrafted software. 
(B
(BYou do realize how they got their list of what is known to work and what
(Bis known not to work, don't you?
(B
(B Note that under Linux, the maintainers of distributions
(B do exactly this.
(B
(BOh? 
(B
(BWell, yeah, some do. Some don't. Depends on interest level and, in some
(Bcases, whether RH has the budget.
(B
(B However, FreeBSD is essentially its own
(B "distro," so the job of doing this falls to the FreeBSD
(B developers and the maintainers of the ports. If it is
(B not done, FreeBSD users will enjoy an inferior experience
(B to the one they get with Linux or even Windows.
(B
(BI'm not going to lie. If it were possible to fund each of the BSDs
(Benough to maintain professional backporting services for every release,
(BI'll admit it would sure be nice. 
(B
(BBut I'm not sure I want to pay for it.
(B
(BI'll make you a deal. You pay me a hundred bucks an hour to backport
(Byour favorite apps and I'll do it. Just be aware that I'll be learning
(Bas I go (takes a lot of time!), and I'm the kind of guy who'll then just
(Bput the backport up for anyone to download, too.
(B
(BI think you'll discover it will most likely be cheaper for you to pay
(Byourself to upgrade your OS and bring your apps and data up. That
(Bapproach has some additional advantages, in that it helps you organize
(Band put realistic values on your data and apps. Then, for instance, if
(Byou end up paying someone a thousand bucks to bring an abandoned app up
(Bon the new OS, or even to backport, or if you spent a week doing it
(Byourself, you know why.
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

Re: Problem linking MySQL 4.1.11 via FreeBSD 4.10 ports

2005-04-19 Thread Clifton Royston
On Tue, Apr 19, 2005 at 02:02:39PM -1000, Clifton Royston wrote:
   When I try to make the current port of the MySQL 4.1 server under
 FreeBSD 4.10, I get a huge stream of undefined reference errors at
 the link step for mysqld. 

More factoids - the same error continues to happen:

  * After rebuilding libtool 1.5.10 to make sure it's OK, as suggested
to me offlist.

  * After rebuilding the linuxthreads port to make sure the library is
OK.

  * After trying the same with MySQL 4.0 (mysql40-server) to make sure
it's not a ports problem specific to 4.1.

  I started doing a bunch of find ... | xargs grep 'mutex_enter_func'
and the like for the undefined symbols, and it appears that at least
some of the problematic functions I'm looking at are defined internal
to MySQL's libraries, and are intended to be inlined.  However clearly
they can't be succeeding, or they wouldn't be showing up as external
references to the link phase.

  The function mutex_enter_func and some similar ones, for instance,
are defined in files with a .ic extension - C files with heavy
inlining of assembler - and they are defined with type UNIV_INLINE. 
In innobase/include/univ.i this shows up thus:

#if (!defined(UNIV_DEBUG)  !defined(INSIDE_HA_INNOBASE_CC)  
!defined(UNIV_MUST_NOT_INLINE))
/* Definition for inline version */

#ifdef __WIN__
#define UNIV_INLINE __inline
#else
/* config.h contains the right def for 'inline' for the current compiler */
#if (__GNUC__ == 2)
#define UNIV_INLINE  extern inline
#else
/* extern inline doesn't work with gcc 3.0.2 */
#define UNIV_INLINE static inline
#endif
#endif

#else
/* If we want to compile a noninlined version we use the following macro
definitions: */

#define UNIV_NONINL
#define UNIV_INLINE

#endif  /* UNIV_DEBUG */
 
  ... so I can see that gcc 2.95 and gcc 3.3 would be handled quite
differently by these conditional defines.  I am starting to think this
might be a toolchain issue, where the ports have gotten out of sync
with what the default build environment is for 4.1.

  Can anyone please verify for me that the mysql40-server and/or
mysql41-server ports actually *do* build under gcc 2.95.4 as installed
on a fresh-out-of-box 4.x system?

  I'd really rather not have to upgrade the compiler toolchain just to
build this port.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem linking MySQL 4.1.11 via FreeBSD 4.10 ports

2005-04-19 Thread Clifton Royston
On Tue, Apr 19, 2005 at 05:22:29PM -1000, Clifton Royston wrote:
   ... so I can see that gcc 2.95 and gcc 3.3 would be handled quite
 differently by these conditional defines.  I am starting to think this
 might be a toolchain issue, where the ports have gotten out of sync
 with what the default build environment is for 4.1.
 
   Can anyone please verify for me that the mysql40-server and/or
 mysql41-server ports actually *do* build under gcc 2.95.4 as installed
 on a fresh-out-of-box 4.x system?
 
   I'd really rather not have to upgrade the compiler toolchain just to
 build this port.
...

  Oops, I hate to follow up to myself, but there were a couple rather 
confusing typos and wording problems in the last few paragraphs.  

  What I meant to say first, is that it seems to me this might be a
toolchain problem, in that the ports may not be specifying the *extra*
build requirements needed to build them starting from the default build
environment for FreeBSD 4.x? ( Not for 4.1!)

  And last, I meant to say I'd rather not upgrade the compiler unless
*necessary* to get MySQL running - I will if I have to.

  I have seen a number of people post about running MySQL on FreeBSD,
though, and I haven't seen any mention that it's now necessary to
upgrade GCC first, so I am still puzzled why I seem to be the only one
running into this.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


slow Ethernet

2005-04-19 Thread Robert Storey
Dear All,

I've noticed that transferring files (using the scp command) between a
laptop and a desktop is very slow when using FreeBSD. The laptop is
running Linux (Debian). The desktop is dual-boot (Debian and FreeBSD).
When I boot FreeBSD and scp files to the laptop, transfer times are very
slow. If I reboot the desktop to Debian and transfer files, transfer
times are at twice as fast. It can't be hardware problems, since the
hardware is identical, it's simply the OS.

So my question(s): first, has anybody else seen this? Secondly, does
anyone know the actual cause? And finally, is there a fix for it?

Any help and suggestions are greatly appreciated.

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


Re: slow Ethernet

2005-04-19 Thread Kris Kennaway
On Wed, Apr 20, 2005 at 11:46:12AM +0800, Robert Storey wrote:
 Dear All,
 
 I've noticed that transferring files (using the scp command) between a
 laptop and a desktop is very slow when using FreeBSD. The laptop is
 running Linux (Debian). The desktop is dual-boot (Debian and FreeBSD).
 When I boot FreeBSD and scp files to the laptop, transfer times are very
 slow. If I reboot the desktop to Debian and transfer files, transfer
 times are at twice as fast. It can't be hardware problems, since the
 hardware is identical, it's simply the OS.
 
 So my question(s): first, has anybody else seen this? Secondly, does
 anyone know the actual cause? And finally, is there a fix for it?
 
 Any help and suggestions are greatly appreciated.

This is typically because of duplex or speed mismatch between the two
endpoints.  e.g. some less capable NICs autodetect badly, so try
specifying the settings exactly.

Kris


pgpLnE5WQUW5N.pgp
Description: PGP signature