Re: Simple file count question

2004-03-16 Thread Joshua Lokken
* Dave Carrera [EMAIL PROTECTED] [2004-03-15 23:02]:
 Hi List,
 
 I know this is going to be simple but I cant find a suitable answer by
 trawling the web so I ask how do I count the number of certain files in a
 directory?
 
 So I am in my dir and want to count how many files begin with db and show me
 the number.
 
 I hope you can help me and thank you in advance for any help you may give
 
 Dave C
 

I don't know if this is the most elegant way, but

ls | grep ^db | wc -l

will do it.

-- 
Joshua

I thought my people would grow tired of killing.  But you were right,
they see it is easier than trading.  And it has its pleasures.  I feel
it myself.  Like the hunt, but with richer rewards.
-- Apella, A Private Little War, stardate 4211.8
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Permission problem

2004-03-16 Thread Frank Mueller
The Prob is that your devices are rebuild by devfs at boot time.
So set the following in file /etc/devfs.conf (create if necessary):

perm fd0 0660

and your permissions will be kept after reboot.

Frank


 Hi folks,

 FreeBSD 5.2

 # chmod 660 /dev/fd0

 then user can use floppy drive.

 But rebooting PC will cancel user's permission.  Kindly advise how to create a
 permanent permission

 TIA

 B.R.
 Stephen Liu

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


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


USB mouse trouble

2004-03-16 Thread Yuriy Gerasimov
I've got FreeBSD 5.2
motherboard: GIGABYTE GA-7VA, mouse: reless IntellyMouse Explorer 1.0A
And its not working at all.
When I try to unplug and plug it in I recieve:
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
ums0: Microsoft Microsoft Wireless Intellimouse Explorer 1.0A, rev 
1.10/0.0e, a
ddr 2, iclass 3/1
ums0: 5 buttons and Z dir.

My rc.conf:
usbd_enable=YES
moused_enable=NO
My usbd.conf:
device Mouse
devname ums[0-9]+
attach /usr/sbin/moused -p /dev/${DEVNAME} -I 
/var/run/moused.${DEVNAME}.pid -t auto; /usr/sbin/vidcontrol -m on

My XF86Config:
Section InputDevice
Identifier  Mouse1
Driver  mouse
Option ProtocolAuto
Option Device  /dev/sysmouse
Option ZAxisMapping 4 5
EndSection
I have no problems in WinXP.
Have any ideas?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: IPv6 Tunnel

2004-03-16 Thread Dukemaster
I haven't checked out freenet6, but, I have been using the HE.net tunnel
broker (ipv6tb.he.net), they give you a /64 with reverse dns and
everything, after using it for a while, I decided to get the commercial
solution from them, but I don't want to have to buy it for each one of
my boxes

-Original Message-
From: Robert Huff [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 16, 2004 12:36 AM
To: Dukemaster
Subject: IPv6 Tunnel



Hello:
  At my first co-location my FreeBSD server has a native IPv6
  onnection and a /64 subnet
  I have a second co-location with a different isp, that doesn't
  have IPv6.
  
  Is it possible to have my first FreeBSD box act as a tunnel to my
  second box, and get it on IPv6 over the existing IPv4 connection?

Probably.  Before you do so, check out the net/frennet6 port.


Robert Huff






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


Question posting information

2004-03-16 Thread Ruben Muradyan
Hi there!
I have some troubles with Gigabit NIC installation on SMP motherboard. 
IMHO the main trouble is interrupt management through APIC.
As far as I know there are specially created mailing lists for APIC/ACPI
discussion and SMP discussion.
Can you help me with information about APIC/ACPI mailing list address
and format for posting the problem (AFAIK I must include dmesg from
normal boot and boot -v).
And please, when replying, put my address in CC because I'm not on the
list.

Thanks in advance
-- 
Ruben Muradyan [EMAIL PROTECTED]
PanARMENIAN Network

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


Re: migrate system to new HD question

2004-03-16 Thread anubis
On Tue, 16 Mar 2004 2:11 pm, Terrac Skiens wrote:
  Hello All,

   I have been running a FreeBSD system for fun  semi-pro uses for
 about 4 years. In all that time I only upgraded the Hard Disk once.
 That upgrade came at the same time as an OS upgrade, and at that
 time the server was used for much less. Now the applications,
 configuration, and data are all very important to me.

   So now it's time to upgrade again. and I want to migrate all the
 data from one disk (20gb) to another (80gb). Does anyone know of a
 way of imaging one drive onto the other? Idealy I would like to
 increase some of the slices as well, but that may not be possible.

   If anyone knows of a way, please let me know.

There is the ever popular dump and restore method also.  This allows 
you to modify the slice and partition sizes.
Do something like this.
drop in new disk
format up with the sysinstall tools
mount the new partitions somewhere
restore the data to them
edit files like fstab to change the disk names in there or just swap 
the drives around in the box so the new one is logically where the 
old one was.
reboot

look at man dump and man restore
If you really want to do it this way I can supply a better dummy 
sheet.



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


Re: good things to say

2004-03-16 Thread Bernard El-Hagin
j. wrote:

my dear open sourcerers,

i am writing this letter to ask for your assistance in advocating
open source and in particular freebsd for the enterprise.


[...]


There's a freebsd advocacy list for this kind of stuff, you know.


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


good things to say

2004-03-16 Thread jsha

my dear open sourcerers,

i am writing this letter to ask for your assistance in advocating
open source and in particular freebsd for the enterprise.

today i've assembled some information relating to the ever-increasing
benefits of our community, and i was hoping for input from you all
juniors and seniors out there -- again i have a case here where some
microsoft fans is in need of enlightenment -- and along with advanced
visualization (lightwave + flash) i tend to make _the_ open source
advocation which i'll distribute freely to anyone who is or ever will
be in the same situation as me.

please note, i tried making this document as simple as possible.

thank you.


 [begin]

|
|
| WHERE WE ARE

Disadvantages:

- Having a slow network
- Using Microsoft Windows
- Paying for Closed Source software
- Viruses/worms/trojans

Advantages:

- Having a number of computers
- Having access to the Internet
- Being open to new ideas

|
|
| FREEBSD

Disadvantages:

- Might reduce your staff

Advantages:

- Free to anyone
- Created the Internet
- Worldwide development
- Reliable and secure
- Sophisticated

* Contains over 9000 free softwares.

* Easily install any of the services that is critical to
  the Internet: Apache (websites), MySQL (databases), Postfix
  (e-mail), OpenSSL (encryption)

* Comes with powerful and free ERP/CRM solutions, office and
  multimedia tools.

* Because of it's unique architecture, no virus has ever
  successfully penetrated its shields.

* Easily emulate, or impersonate Windows, so software
  native to Windows can run in a virtual environment.

* Designed and implemented with remote management in mind.

* Its open source ensures that these development efforts will
  be continued well into the future.

|
|
| COMPARISON

Reliability, FreeBSD:
- Extremely robust
- Servers remain active for years
- Filesystem optimized for high performance
- Excellent memory management

Reliability, Windows:
- The infamous Blue Screen
- Uses a lot of system resources
- Servers remain active only for a few months
- Filesystem gets fragmented
- Memory gets corrupt

Performance, FreeBSD:
- Choice for high performance network applications
- Outperforms ANY operating system on equivalent hardware
- The largest server on the Internet runs FreeBSD,
  including Yahoo, Qwest and even Hotmail!

Performance, Windows:
- Adequate for routine desktop apps
- But, it is unable to handle heavy network loads.

Security, FreeBSD:
- Subject to massive auditing
- Completely deny access with kernel security levels
- Packet filtering firewall system
- Network intrusion detection tools
- Extensive other built-in security modules
- Rarely reported on CERT

Security, Windows:
- No guarantee
- Being closed source, there is no way to fix or diagnose
  any of the security compromises regularly published
  about Microsoft systems

Compatibility, FreeBSD:
- Run both BSD and Linux binaries
- Supports network connection with Windows machines
- Emulates virtual Windows environments or Windows binaries

Compatibility, Windows:
- Excellent hardware support

|
|
| WHERE WE WANT TO BE

In a position where information is managed and organized
into powerful databases. Open Source provides the database
MySQL -- a free alternative with equal performance to
the Windows database Oracle, whose drawback is its high
price.

Based on the right database you need the right ERP+CRM
solution. You'd pretty much want to choose Compiere, to
fully integrate the front office with the back office.
Compiere all areas of customer relationship management
and enterprise resource management.

For anything else, members of the Terrabionic consortium
will apply their advanced programming skills (C/C++, Perl
and Python) to make our request come true.

General management:
   Customers Database
   AffiliatesDatabase
   Tickets   Database
   Schedules Database
   Website   Database
   Forum Database

ERP/CRM management:
   Order process Database
   Point of salesDatabase
   AccountingDatabase
   

Inform Sender

2004-03-16 Thread EDCpostmaster
Your mail message entitled Yep sent to [EMAIL PROTECTED]
 has been blocked

For further information, please contact [EMAIL PROTECTED]

Scenarios/Detect VBS extensions: A filename matching the file mask was detected: 
'pic.exe'.
Scenarios/Command Interceptor: Information 0x42060311,  W32/[EMAIL PROTECTED]
Scenarios/Incoming/Detect Video Audio Exe: 'ItemLength.GE.0'.


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


Re: migrate system to new HD question

2004-03-16 Thread Jud
On Tue, 16 Mar 2004 20:33:34 +1000, anubis [EMAIL PROTECTED]  
wrote:

On Tue, 16 Mar 2004 2:11 pm, Terrac Skiens wrote:
 Hello All,

  I have been running a FreeBSD system for fun  semi-pro uses for
about 4 years. In all that time I only upgraded the Hard Disk once.
That upgrade came at the same time as an OS upgrade, and at that
time the server was used for much less. Now the applications,
configuration, and data are all very important to me.
  So now it's time to upgrade again. and I want to migrate all the
data from one disk (20gb) to another (80gb). Does anyone know of a
way of imaging one drive onto the other? Idealy I would like to
increase some of the slices as well, but that may not be possible.
  If anyone knows of a way, please let me know.
There is the ever popular dump and restore method also.  This allows
you to modify the slice and partition sizes.
Do something like this.
drop in new disk
format up with the sysinstall tools
mount the new partitions somewhere
restore the data to them
edit files like fstab to change the disk names in there or just swap
the drives around in the box so the new one is logically where the
old one was.
reboot
look at man dump and man restore
If you really want to do it this way I can supply a better dummy
sheet.
My apologies for coming in late to the discussion.  Someone has probably  
already suggested the following link from the FreeBSD FAQ:

URL:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

It's simple, it's easy, it works, and it works as fast as or faster than  
any other method.

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


FreeBSD 4.9 Install hangs

2004-03-16 Thread Loren M. Lang
I'm having a problem installing FreeBSD 4.9 on an old ibm system.  It
hangs during boot while probing certain hardware.  Both the cd install
and the floppy disk have the same exact problem.  The last message shown
is it detecting ati mach64 pci video card, and just sits there.  I've
tried disabling and non-essential drivers in the kernel config screen,
but nothing helped.  5.2.1 installed fine, but is too unstable for
practical purposes (it just randomly resets in the middle of using it.)
I've done a little searching, but couldn't find any good solutions as I
can't just remove the video card to test it.
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


Question posting information

2004-03-16 Thread Ruben Muradyan
Hi there!
I have some troubles with Gigabit NIC installation on SMP motherboard. 
IMHO the main trouble is interrupt management through APIC.
As far as I know there are specially created mailing lists for APIC/ACPI
discussion and SMP discussion.
Can you help me with information about APIC/ACPI mailing list address
and format for posting the problem (AFAIK I must include dmesg from
normal boot and boot -v).
And please, when replying, put my address in CC because I'm not on the
list.

Thanks in advance
-- 
++
|Software is like sex: It's better when it's free|
++

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


Re: Vinum, replaced disk -- fsck error.

2004-03-16 Thread Greg Lehey
On Tuesday, 16 March 2004 at  2:00:00 +, Lewis Thompson wrote:
 Hi,

 I had a failed disk in my RAID-0 Vinum array.  This was a physical disk
 problem and in an attempt to recover as much data as possible I dd'ed it
 to another disk (dd if=ad3 of=ad1 bs=8192 conv=noerror).

This may or may not work, depending on details you haven't reported.

   This has mostly gone fine (bar the I/O errors that were to be
 expected) and I can actually start vinum and mount the RAID-0 array
 with no trouble (Vinum reports no errors I can see).

I suppose that depends on where you look :-)  Read on.

 I don't really know how I can test the integrity of files from the
 replaced disk...

A good start would be to read the documentation at
http://www.vinumvm.org/.

   I attempted to fsck the volume before I mounted it but I first had to
 restore the superblock for the volume (tunefs -A /dev/vinum/data), which
 worked fine.  However (and this is my real problem), fsck_ufs
 /dev/vinum/data gives the following message:

 ** /dev/vinum/data
 cannot alloc 4316869296 bytes for inphead

 * FILE SYSTEM STILL DIRTY *

Possibly there are log messages that go with this message.  It
indicates to me that there's something seriously wrong in some data
structure, and that fsck is asking for a ridiculous amount of memory
as a result.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bsd mirror

2004-03-16 Thread Peter Hollaubek
On Mar 16, 2004, Tim Connolly wrote:
 I am setting up an internal mirror of FreeBSD and would like to
 know what should be the best source/protocol for mirroring ? Also, if I
 would like to stick my mirror on your list of mirrors, what do I need to do
 ? This mirror will be used internally for www.theplanet.com.
 
  
 
 Thanks
 
 Tim
 
  
 
  
 
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Hi,

Check out the net/cvsup-mirror and sysutils/fastest_cvsup ports.

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


Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-16 Thread Matthew Seaman
On Mon, Mar 15, 2004 at 07:07:46PM -0800, Chris Pressey wrote:

 That wouldn't explain why 'rm -i *' returned 'no match', though.

Just to eliminate the obvious: did these weird filenames begin with a
'.'?  Shell globbing treats file names with a leading period
specially. You'ld have to do:

% ls -d .*

to get a listing of those files, and:

% rm -ri .[^.]* 

to delete them.  Note the extra effort taken to avoid matching the
special names '.' and '..' -- doing a recursive delete of '..' is a
real foot-shooting exercise.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


CUPS on 5.2 HELP...

2004-03-16 Thread Ana Velasco

Hi,

I am about 3 weeks now trying to get Cups to work with no luck.
First, I am sorry about my Enghish writing but I am from brazil.
Well, I did an upgrade from 5.1 to 5.2, and the Cups sceme thet they had
working here I cant make it work now.

I have cups runnig in a application server (agata) and a HP OfficeJet R45 on
another machine (opala), all the clients mount agata's /usr/local and
/var/db/pkg and all have cups started.

After setting in printers.conf opala as the server, I added a printer on
agata. In the /printers dir of the web interface of each machine, I see all
the printers detected and poiting the themselves.

I can print a test page from agata's web interface but not from the other clients.

I don't know what else to do, please sombody help me or just give me an idea
of what can I try next.
If you guys need more info, please let me know.
Thanks in advance.


--
Open WebMail Project (http://openwebmail.org)



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


Re: IPv6 Tunnel

2004-03-16 Thread Matthew Seaman
On Tue, Mar 16, 2004 at 12:13:26AM -0500, Dukemaster wrote:
 At my first co-location my FreeBSD server has a native IPv6 connection
 and a /64 subnet
 I have a second co-location with a different isp, that doesn't have
 IPv6.
 
 Is it possible to have my first FreeBSD box act as a tunnel to my second
 box, and get it on IPv6 over the existing IPv4 connection?

Yes -- that's possible, but perhaps not ideal as all of the IPv6
packets from the net for co-lo2 will first have to go to co-lo1 and
back again.

The way I'd configure this is to set up a gif(4) IPv6 over IPv4 tunnel
(as per RFC 2893) between the machine at co-lo1 and the machine at
co-lo2.  You can do that entirely by fiddling with entries in
/etc/rc.conf:

gif_interfaces=gif0
gifconfig_gif0=${thisIP4} ${thatIP4}
ipv6_enable=YES
ifconfig_gif0_alias0=inet6 ${thisIP6}/64

where ${thisIP4} is the IPv4 network interface address on the local
machine, ${thatIP4} is the address of the machine in the other co-lo
and ${thisIP6} is the IPv6 address you assign to the the local
system. Do the same deal on the other system, where obviously, which
addresses are local and which are remote will be the other way round.

On the machine without the IPv6 connectivity, you'll additionally
need:

ipv6_defaultrouter=-interface gif0

and on the co-lo1 machine you may need to add a static route telling
it how to reach the machine at co-lo2 -- see the section on
'ipv6_static_routes' in /etc/default/rc.conf.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: bsd mirror

2004-03-16 Thread Matthew Seaman
On Tue, Mar 16, 2004 at 12:32:06AM -0600, Tim Connolly wrote:
 I am setting up an internal mirror of FreeBSD and would like to
 know what should be the best source/protocol for mirroring ? Also, if I
 would like to stick my mirror on your list of mirrors, what do I need to do
 ? This mirror will be used internally for www.theplanet.com.

The answers to all of your questions should be found in

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html

You probably don't want to put your system onto the list of mirrors
unless you're willing to provide public access to it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Permission problem

2004-03-16 Thread Stephen Liu
On Tuesday 16 March 2004 17:04, Frank Mueller wrote:
 The Prob is that your devices are rebuild by devfs at boot time.
 So set the following in file /etc/devfs.conf (create if necessary):

 perm fd0 0660

 and your permissions will be kept after reboot.

Hi Frank,

Tks for your advice.  Problem solved now.

B.R.
Stephen

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


Ask about software package system issue.

2004-03-16 Thread Supote Leelasupphakorn
To... All

   How I know which software package is for
freebsd-5 or freebsd-4 ?

TIA,
Pote


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What does this error message mean? (cvsupd)

2004-03-16 Thread stan

One of my cvsup mirro machines (the one at work, naturaly) continues to
have indegestion. I'm getting thsi in. cvsupd.log

Mar 15 09:00:00 cvsup cvsupd[87665]: Error in /usr/local/etc/cvsup/sup.client/c
vs-all/checkouts.cvs: 224883: File is truncated
Mar 15 09:00:31 cvsup last message repeated 118212 times


I tried delting this file this morning, in the hpes it would be rebuilt,
but I'm still getting these errors.

What do I need to do to correct this?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: good things to say

2004-03-16 Thread DeadZen
That's a nice list if not a bit over enthusiastic, some of the things that 
you listed as being easy
aren't necessarily easy... postfix, erp, crm, apache... software like that 
needs much configuration.

FreeBSD is a foundation and framework for allowing trusted tools to work 
cooperatively in a stable,
secure fashion and is generally open source. Excluding of course some GPL 
utilities which we
BSD people tolerate mainly since we tend to need them. One of the points I 
agreed with the most
is that it may reduce your staff, but it's a multipart point.
You're
1. going to have trouble finding people who aren't saturated by linux ideology.
2. going to have trouble finding people capable of administering large 
networks.
3. going to have trouble finding people who can maintain work by previous 
maintainers.

that's probably 3 of the most common problems. This is a world where 
software engineer,
point  click happy child and gui dependent tinkerer tend to be classified 
into the same category.

I think the best comparison would be

 FreeBSD x 1000 computers = Cheap
 Windows x 1000 computers = Hahahahah oh ahahah... or how about 1000 
computer virus infection HAHAH whew

Thank You.



At 09:37 AM 3/16/2004 +0100, jsha wrote:

my dear open sourcerers,

i am writing this letter to ask for your assistance in advocating
open source and in particular freebsd for the enterprise.
today i've assembled some information relating to the ever-increasing
benefits of our community, and i was hoping for input from you all
juniors and seniors out there -- again i have a case here where some
microsoft fans is in need of enlightenment -- and along with advanced
visualization (lightwave + flash) i tend to make _the_ open source
advocation which i'll distribute freely to anyone who is or ever will
be in the same situation as me.
please note, i tried making this document as simple as possible.

thank you.

 [begin]

|
|
| WHERE WE ARE
Disadvantages:

- Having a slow network
- Using Microsoft Windows
- Paying for Closed Source software
- Viruses/worms/trojans
Advantages:

- Having a number of computers
- Having access to the Internet
- Being open to new ideas
|
|
| FREEBSD
Disadvantages:

- Might reduce your staff

Advantages:

- Free to anyone
- Created the Internet
- Worldwide development
- Reliable and secure
- Sophisticated
* Contains over 9000 free softwares.

* Easily install any of the services that is critical to
  the Internet: Apache (websites), MySQL (databases), Postfix
  (e-mail), OpenSSL (encryption)
* Comes with powerful and free ERP/CRM solutions, office and
  multimedia tools.
* Because of it's unique architecture, no virus has ever
  successfully penetrated its shields.
* Easily emulate, or impersonate Windows, so software
  native to Windows can run in a virtual environment.
* Designed and implemented with remote management in mind.

* Its open source ensures that these development efforts will
  be continued well into the future.
|
|
| COMPARISON
Reliability, FreeBSD:
- Extremely robust
- Servers remain active for years
- Filesystem optimized for high performance
- Excellent memory management
Reliability, Windows:
- The infamous Blue Screen
- Uses a lot of system resources
- Servers remain active only for a few months
- Filesystem gets fragmented
- Memory gets corrupt
Performance, FreeBSD:
- Choice for high performance network applications
- Outperforms ANY operating system on equivalent hardware
- The largest server on the Internet runs FreeBSD,
  including Yahoo, Qwest and even Hotmail!
Performance, Windows:
- Adequate for routine desktop apps
- But, it is unable to handle heavy network loads.
Security, FreeBSD:
- Subject to massive auditing
- Completely deny access with kernel security levels
- Packet filtering firewall system
- Network intrusion detection tools
- Extensive other built-in security modules
- Rarely reported on CERT
Security, Windows:
- No guarantee
- Being closed source, there is no way to fix or diagnose
  any of the security compromises regularly published
  about Microsoft systems
Compatibility, FreeBSD:
- Run both BSD and Linux binaries
- Supports network connection with Windows machines
- Emulates virtual Windows environments or Windows binaries
Compatibility, Windows:
- Excellent hardware support
|
|
| WHERE WE 

BSD Install

2004-03-16 Thread Barron Williams
Trying to install from cdrom on IBM server and always receive can't
load kernel message.  I have downloaded several times with no luck.
Please help.

 

Barron Williams

Help Desk Supervisor 

310.665.6915  tel

310.665.6919  fax

Otis College of Art and Design http://www.otis.edu/ 

E-mail mailto:[EMAIL PROTECTED] 

 

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


Want complete list of freebsd commands in freebsd 5.2

2004-03-16 Thread Asghar Ali

Hi
Anyone have the complete list of freebsd 5.2 commands. I need it so
please send to me on my mail address [EMAIL PROTECTED]

thanx

-
Asghar Ali
Assistant System Manager (UCP ISP)
Email: [EMAIL PROTECTED]
PH: 5755314 ext 133
-


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


FreeBSD mirror in Bulgaria

2004-03-16 Thread Lyubomir Russev
Dear Sirs,

What criterias should be met and what should be done in order to establish
FreeBSD mirror site in Bulgaria?

Best Regards,
Lyubomir Russev, FreeBSD enthusiast,
Telecom Partners Network Ltd.
Sofia, Bulgaria

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


Re: Cron job without emailing errors to root?

2004-03-16 Thread Toomas Aas
Hi!

 What I am wondering is, is if there is a way to still have the entries in
 me /etc/crontab to run MRTG at 5 minute intervals without having any
 output emailed out. 

You can set up MRTG to run as daemon using the RunAsDaemon keyword in 
the .cfg file. This way you don't need to run it from the crontab, 
which works around the problem.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I used to be indecisive but now I'm not sure.

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


Re: Ask about software package system issue.

2004-03-16 Thread Matthew Seaman
On Tue, Mar 16, 2004 at 01:22:36PM +, Supote Leelasupphakorn wrote:
 To... All
 
How I know which software package is for
 freebsd-5 or freebsd-4 ?

Packages for FreeBSD-4 have a '.tgz' extension.  FreeBSD-5 uses
'.tbz'.  However, that may change in the future permitting both
compression scheemes to be used with one or both of those system
versions, so don't necessarily rely on the distinction.

Generally the way you tell which OS version a package is for is by the
directory heirarchy on the FTP servers.  eg:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable

will get packages suitable for FreeBSD 4.x.  See the blurb that gets
preinted out when you go to:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Want complete list of freebsd commands in freebsd 5.2

2004-03-16 Thread Matthew Seaman
On Tue, Mar 16, 2004 at 09:39:07AM +0500, Asghar Ali wrote:

 Anyone have the complete list of freebsd 5.2 commands. I need it so
 please send to me on my mail address [EMAIL PROTECTED]

What you ask for is not feasible to provide in an e-mail.  There are
as many commands as there are programs available to run on
FreeBSD-5.2, which is at least of the order of tens of thousands.
Then there are a huge number of command line switches and options to
modify the behaviour of those.  You can find everything on your system
that might be run as a command by:

# find -H  / -type f -perm +0111 -print

But you'll have to go through that list carefully and eliminate
various shared-objects and shared libraries which aren't actually
possible to run stand-alone.

If you mean just what is part of the base system, then:

# find -H /bin /sbin /boot /usr/bin /usr/sbin /usr/libexec \
-type f -perm +0111 -print 

You'll probably need to add a few more directories to that list to
get everything.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: FreeBSD mirror in Bulgaria

2004-03-16 Thread Matthew Seaman
On Tue, Mar 16, 2004 at 11:20:14AM +0200, Lyubomir Russev wrote:

 What criterias should be met and what should be done in order to establish
 FreeBSD mirror site in Bulgaria?

Give this document a read through:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html

which should answer most of your questions.  Anything else, try asking
on the [EMAIL PROTECTED] mailing list.  But basically it boils
down to providing a sufficiently powerful machine with good network
bandwidth and plenty of free space and agreeing to certain conditions
on how you configure and manage the thing.

Always good to see a new mirror in previously uncharted territory.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: BSD Install

2004-03-16 Thread Jorn Argelo

On 3/16/2004, Barron Williams [EMAIL PROTECTED] wrote:

Trying to install from cdrom on IBM server and always receive can't
load kernel message.  I have downloaded several times with no luck.
Please help.

 

Barron Williams

Help Desk Supervisor 

310.665.6915  tel

310.665.6919  fax

Otis College of Art and Design http://www.otis.edu/ 

E-mail mailto:[EMAIL PROTECTED] 

 

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


Options for make

2004-03-16 Thread Arek Czereszewski
Hi

I am sorry about my Enghish is awful.

Where i can find info about options for make in 
/usr/ports/some_category/port  ?
Especially if i want build package, no install.
If exist some page in net just show my where, please.

Thank you

--
Arek Czereszewski   | jid: aro(at)chrome.pl
arek(at)wup-katowice.pl |  gg: 1349941
*nix is like a wigwam:
no windows, no gates, apache inside.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Options for make

2004-03-16 Thread jan . muenther
 Where i can find info about options for make in 
 /usr/ports/some_category/port  ?
 Especially if i want build package, no install.
 If exist some page in net just show my where, please.

Erm... just look at the Makefile... 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Options for make

2004-03-16 Thread Arek Czereszewski
[EMAIL PROTECTED] wrote:

Erm... just look at the Makefile... 
Is this a only way?

Arek

--
Arek Czereszewski   | jid: aro(at)chrome.pl
arek(at)wup-katowice.pl |  gg: 1349941
*nix is like a wigwam:
no windows, no gates, apache inside.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Server automatically Shuts down.

2004-03-16 Thread samy lancher

My system does not auto reboot. It just crashes as if some one has pressed the power 
off button. I think it is surely some thing to do with power supply. I will  open the 
case and leave for a day. I will also remove one of the CDROM and see what happens. 

Thanks, 

Mike Jackson [EMAIL PROTECTED] wrote:
samy lancher ([EMAIL PROTECTED]) wrote:
 
 The system just crashes. After nightly event, when i start the system I see a 
 message Warning: / was not mounted properly . It does not happen at the same time 
 every night. This box does not have anonymous FTP. 
 

Hi,
I once had a similar situation, and it was caused by an overloaded
power supply. The box would auto-reboot quite regularly. I removed two
cd drives from it and it has not happened since.

I can't say if this is your problem or not, but it's worth considering.

--
Mike 

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


JRE sources

2004-03-16 Thread Tadimeti Keshav
Hi
I use a dial-up modem to connect to the net, hence I
am looking for sources to compile JRE/JDK to
eventually install oracle.

Can someone pls give me the URL?
Thanks
Tk





___
Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


family photos

2004-03-16 Thread Brian Henning
Greetings:
I am would like to take some family photos  (jpegs) from my digital camera and
create a mpeg-1 out of it. with it I would like to add music. What software can
I use to produce a video like this? I would like the images to delay about 1 sec
apart. Is there software in the ports directory to do this? I have looked at
ffmpeg and transcode and ImageMagick. I have had no luck with them.

Thanks,

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


Re: Options for make

2004-03-16 Thread Lowell Gilbert
Arek Czereszewski [EMAIL PROTECTED] writes:

 I am sorry about my Enghish is awful.
 
 Where i can find info about options for make in
 /usr/ports/some_category/port  ?

man ports?

 Especially if i want build package, no install.

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


Re: Want complete list of freebsd commands in freebsd 5.2

2004-03-16 Thread Lars Eighner
On Tue, 16 Mar 2004, Asghar Ali wrote:


 Hi
 Anyone have the complete list of freebsd 5.2 commands. I need it so
 please send to me on my mail address [EMAIL PROTECTED]

It is difficult to know what you mean by commands, or complete
for that matter.

ls /bin

will yield a list of basic commands.

ls /sbin

gives the basic system utilities.

All of the shells have builtins (see man builtin) but they
vary according to shell.  Completeness would certainly include
the builtin for sh (the default shell) and csh.

In theory,

ls /usr/bin

gives a list of applications, but some of them are really
essential to any real-world installation.


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Mathematic 5.0.x on FreeBSD 5.2 ?

2004-03-16 Thread Alan Freed
Hi,

In the handbook - both hardcopy an online versions - there is a 
procedure by which
one can install a linux version of Mathematica 4.X onto FreeBSD and make 
it work.

I have the linux versions of Mathematica 5.0.0 and 5.0.1.  The procedure 
outlined
in your handbook doesn't appear to apply to these releases.  Has anyone 
figured out
how to accomplish this?  

Thank you for your assistance in this matter,

Al Freed

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


Booting Compaq 1850R WasRe: 5.2.1 miniinst cd panic during 3rd phase boot (kernel start).

2004-03-16 Thread scion+fbsdq
From: [EMAIL PROTECTED]
Date: Fri, 12 Mar 2004 13:29:51 -0500

Date: Thu, 11 Mar 2004 15:47:32 +0100
From: kybu [EMAIL PROTECTED]

SCN I haven't seen anything in the PR list or -questions just like this.

SCN My Compaq 1850 (2x PII-450, 1GByte Ram) boots up the 5.2.1-release
SCN miniinst cdrom just fine, loads the kenel, and just after waiting
SCN for SCSI devices to settle, panics.

SCN It does this with or without devices on the scsi bus.

SCN Anyone else have one of these critters working with 5.x?  Otherwise,
SCN anyone else have the same/a similar symptom?

Yeah, I got similar problem on Compaq 1650. I just change the OS
system type with SmartStart CD to Linux and then it works fine.


Thanks, it almost worked...At least I got past discovering disks.
Now, when booting, it goes past discovering disks, and indicates
/stand/sysinstall is starting on vty0.

After that no joy.  I'm thinking that the vga or keyboard isn't
jiving with the vty system, and that it is running fine, but not
where I can see it.

Well, the config utility was indeed the key.  Turned out that after
I booted from the utility partition, which is created with the config
utility http://h18023.www1.hp.com/support/files/server/us/download/13227.html,
and selected the install OS - other the system stopped, then the
freebsd install completed without a hitch.

-sam

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


apple talk

2004-03-16 Thread Brian Henning
is there software in the ports tree to read text files and speak the audio
similar to apple talk?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-16 Thread Walter
Chris Pressey wrote:

Walter, out of curiousity, what FTP server were you running, and (if you
remember) what was the exact output of ls -aB ?
I'm running, at the moment, the default ftpd in FBSD 4.6.2.
(Yeah, I know, it's way old.)
I don't remember the exact output, but contained mostly odd
characters, \216, \235, \237, and \377 with a few printable
letters.  I don't remember even if there were leading dots
on the names.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apple talk

2004-03-16 Thread jan . muenther
 is there software in the ports tree to read text files and speak the audio
 similar to apple talk?

Port:   festival-1.4.1_2
Path:   /usr/ports/audio/festival
Info:   Multi-lingual speech synthesis system

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


Re: deleting directories with ??? in name

2004-03-16 Thread Walter
Parv wrote:

in message [EMAIL PROTECTED],
wrote Parv thusly...
   # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \
   # | xargs -0 rm -fv


Oh, don't forget the '-r', for recursion, option for rm(1) as i did.
Use this instead...
  # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \
  # | xargs -0 rm -rfv
  - Parv
Thanks, but when I did:
ls -i
and then typed in the inode in the command (saved in
an old List e-mail):
find . -inum inode -delete
it didn't delete them.  Do you think your way would work
where manual command wouldn't?  But, they are gone now,
so I can't try it anyway.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Fwd: Re: deleting directories with ??? in name]

2004-03-16 Thread Walter
Matthew Seaman wrote:

On Mon, Mar 15, 2004 at 07:07:46PM -0800, Chris Pressey wrote:


That wouldn't explain why 'rm -i *' returned 'no match', though.


Just to eliminate the obvious: did these weird filenames begin with a
'.'?  Shell globbing treats file names with a leading period
specially. You'ld have to do:
% ls -d .*

to get a listing of those files, and:

% rm -ri .[^.]* 

to delete them.  Note the extra effort taken to avoid matching the
special names '.' and '..' -- doing a recursive delete of '..' is a
real foot-shooting exercise.
	Cheers,

	Matthew

I don't remember whether the files had leading dots or not.  Sorry.
But I'll keep this method in mind if it happens again.  Thanks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple file count question

2004-03-16 Thread Jonathan Arnold
Dave Carrera wrote:
I know this is going to be simple but I cant find a suitable answer by
trawling the web so I ask how do I count the number of certain files in a
directory?
So I am in my dir and want to count how many files begin with db and show me
the number.
I hope you can help me and thank you in advance for any help you may give
As you can see, the key command is 'wc'. It's a nice, simple little command
that does one thing and one thing well - it counts words. If you don't
give it any flags, it tells you the number of lines, words, and bytes. Using
-l will count the number of lines. So you pipe the output of a command to
it and it will count stuff for you. Thus:
$ ls db* |wc -l

will give you a single number telling you the number of lines in its input;
in this case, the input is the output of 'ls db*', which is a simple listing
of all the files in the current directory beginning with 'db'. Thus, you
get a count of the number of files in the directory that begin with db.
A very typical Un*x way of doing things - string together building block
commands to get your output. Flexbile if arcane.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Format floppy problem

2004-03-16 Thread Stephen Liu
Hi folks,

FreeBSD 5.2
==

Floppies formatted on M$Win can be mounted, copied files to and read, etc.

But floppies formatted on FreeBSD with

$ fdformat /dev/fd0
Format 1440K floppy `/dev/fd0'? (y/n): y
Processing  done.

they could not be mounted

$ mount -t msdos /dev/fd0 /usr/home/user/floppy
msdosfs: /dev/fd0: Invalid argument

I tested 3 floppies with the same result.  Kindly advise how to fix this 
problem.  Is there a special format floppy command for FreeBSD.

TIA

Stephen Liu

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


store freebsd accounts in mysql ???

2004-03-16 Thread zhengyibiao
 
Hi: 
I am using freebsd5.2, because i have a large number of users counted by ten thousand, 
use the passwd file to store user accounts and password lead to unbearable delay. I 
want to know if freebsd support store accounts in places other than '/etc/passwd' 
file, best support mysql database for passwd database backend. 
any hints is welcome. 
regards billy 
Naisa Systems,Inc http://www.naisa.net 

- Done. 

Naisa Systems,Inc http://www.naisa.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD Install

2004-03-16 Thread Ion-Mihai Tetcu
On Mon, 15 Mar 2004 12:22:08 -0800
Barron Williams [EMAIL PROTECTED] wrote:

 Trying to install from cdrom on IBM server and always receive can't
 load kernel message.  I have downloaded several times with no luck.
 Please help.

Please provide more info.

Please read http://www.lemis.com/questions.html to help us help you.

-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Format floppy problem

2004-03-16 Thread Terry L. Tyson Jr.
On Wed, Mar 17, 2004 at 09:21:34AM +0800, Stephen Liu wrote:
 Hi folks,
 
 FreeBSD 5.2
 ==
 
 Floppies formatted on M$Win can be mounted, copied files to and read, etc.
 
 But floppies formatted on FreeBSD with
 
 $ fdformat /dev/fd0
 Format 1440K floppy `/dev/fd0'? (y/n): y
 Processing  done.
 
 they could not be mounted
 
 $ mount -t msdos /dev/fd0 /usr/home/user/floppy
 msdosfs: /dev/fd0: Invalid argument
 
 I tested 3 floppies with the same result.  Kindly advise how to fix this 
 problem.  Is there a special format floppy command for FreeBSD.
 
 TIA
 
 Stephen Liu

Try your mount command again without the -t msdos since it isn't a
dos formatted disk.

--
Terry L. Tyson Jr.
Baytown, Texas USA
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Format floppy problem

2004-03-16 Thread Prodigy
When u formated your floppy, u have to use disklabel to label floppy disc:
disklabel -w -r /dev/fd0 fd1440

and then u have to make new file system on that floppy:
newfs /dev/fd0

That's all, now u can mount your floppy disc.

 Hi folks,

 FreeBSD 5.2
 ==

 Floppies formatted on M$Win can be mounted, copied files to and read, etc.

 But floppies formatted on FreeBSD with

 $ fdformat /dev/fd0
 Format 1440K floppy `/dev/fd0'? (y/n): y
 Processing  done.

 they could not be mounted

 $ mount -t msdos /dev/fd0 /usr/home/user/floppy
 msdosfs: /dev/fd0: Invalid argument

 I tested 3 floppies with the same result.  Kindly advise how to fix this
 problem.  Is there a special format floppy command for FreeBSD.

 TIA

 Stephen Liu

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

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


VIRUS IN YOUR MAIL

2004-03-16 Thread virus
V I R U S  A L E R T

Il controllo antivirus ha rilevato il virus:



nella mail inviata ai seguenti destinatari:

- [EMAIL PROTECTED]

La consegna del messaggio e' stata bloccata !
Seguono in coda gli header della mail come
riferimento.



   V I R U S  A L E R T

Our viruschecker found the



virus(es) in your email to the following recipient(s):

- [EMAIL PROTECTED]

Please check your system for viruses, or ask your system administrator
to do so.
For your reference, here are the headers from your email:

- BEGIN HEADERS -
Return-Path: [EMAIL PROTECTED]
Received: from fataautomation.it (host138-88.pool8174.interbusiness.it [81.74.88.138])
by mail.fataautomation.it (8.12.3/8.12.3/Debian -4) with SMTP id i2GGjq30025917
for [EMAIL PROTECTED]; Tue, 16 Mar 2004 17:45:53 +0100
Message-Id: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: unknown
Date: Tue, 16 Mar 2004 17:46:07 +0100
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=03010558
-- END HEADERS --

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


du

2004-03-16 Thread Brian Henning
does du return the size in KB by default?
thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: du

2004-03-16 Thread Chris
On Tuesday 16 March 2004 10:51 am, Brian Henning wrote:
 does du return the size in KB by default?
 thanks

You can try du -h
That's listed in man du


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


Re: Format floppy problem

2004-03-16 Thread Cordula's Web
 Floppies formatted on M$Win can be mounted, copied files to and read, etc.
 
 But floppies formatted on FreeBSD with
 
 $ fdformat /dev/fd0
 Format 1440K floppy `/dev/fd0'? (y/n): y
 Processing  done.
 
 they could not be mounted
 
 $ mount -t msdos /dev/fd0 /usr/home/user/floppy
 msdosfs: /dev/fd0: Invalid argument

Did you forget to write a filesystem on the floppy, e.g. with
newfs_msdos(8)? fdformat is only for low-level formatting...

 I tested 3 floppies with the same result.  Kindly advise how to fix this 
 problem.  Is there a special format floppy command for FreeBSD.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: du

2004-03-16 Thread Chris
On Tuesday 16 March 2004 10:53 am, Chris wrote:
 On Tuesday 16 March 2004 10:51 am, Brian Henning wrote:
  does du return the size in KB by default?
  thanks

 You can try du -h
 That's listed in man du

Sorry - I forgot to answer - Yes
-- 
Best regards,
Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Format floppy problem

2004-03-16 Thread Stephen Liu
On Wednesday 17 March 2004 00:40, Terry L. Tyson Jr. wrote:
 On Wed, Mar 17, 2004 at 09:21:34AM +0800, Stephen Liu wrote:
 
  FreeBSD 5.2
  ==
 
  Floppies formatted on M$Win can be mounted, copied files to and read,
  etc.
 
  But floppies formatted on FreeBSD with
 
  $ fdformat /dev/fd0
  Format 1440K floppy `/dev/fd0'? (y/n): y
  Processing  done.
 
  they could not be mounted
 
  $ mount -t msdos /dev/fd0 /usr/home/user/floppy
  msdosfs: /dev/fd0: Invalid argument
 
  I tested 3 floppies with the same result.  Kindly advise how to fix this
  problem.  Is there a special format floppy command for FreeBSD.
 

 Try your mount command again without the -t msdos since it isn't a
 dos formatted disk.

Hi Terry,

$ mount /dev/fd0 /usr/home/user/floppy
mount: /dev/fd0 on /usr/home/user/floppy: incorrect super block
$ mount -t vfat /dev/fd0 /usr/home/user/floppy
mount: exec mount_vfat not found in /sbin:/usr/sbin: No such file or directory
$ mount -t msdos /dev/fd0 /usr/home/user/floppy
msdosfs: /dev/fd0: Invalid argument

Stephen

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


Re: Format floppy problem

2004-03-16 Thread Terry L. Tyson Jr.
On Wed, Mar 17, 2004 at 10:22:29AM +0800, Stephen Liu wrote:
 On Wednesday 17 March 2004 00:40, Terry L. Tyson Jr. wrote:
  On Wed, Mar 17, 2004 at 09:21:34AM +0800, Stephen Liu wrote:
  
   FreeBSD 5.2
   ==
  
   Floppies formatted on M$Win can be mounted, copied files to and read,
   etc.
  
   But floppies formatted on FreeBSD with
  
   $ fdformat /dev/fd0
   Format 1440K floppy `/dev/fd0'? (y/n): y
   Processing  done.
  
   they could not be mounted
  
   $ mount -t msdos /dev/fd0 /usr/home/user/floppy
   msdosfs: /dev/fd0: Invalid argument
  
   I tested 3 floppies with the same result.  Kindly advise how to fix this
   problem.  Is there a special format floppy command for FreeBSD.
  
 
  Try your mount command again without the -t msdos since it isn't a
  dos formatted disk.
 
 Hi Terry,
 
 $ mount /dev/fd0 /usr/home/user/floppy
 mount: /dev/fd0 on /usr/home/user/floppy: incorrect super block
 $ mount -t vfat /dev/fd0 /usr/home/user/floppy
 mount: exec mount_vfat not found in /sbin:/usr/sbin: No such file or directory
 $ mount -t msdos /dev/fd0 /usr/home/user/floppy
 msdosfs: /dev/fd0: Invalid argument
 
 Stephen

Oops. See first the explainations of formatting by Prodigy and
Cordula's Web. Then try the command. ;-)

--
Terry L. Tyson Jr.
Baytown, Texas USA
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: store freebsd accounts in mysql ???

2004-03-16 Thread Mike Jackson
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
  
 Hi: 
 I am using freebsd5.2, because i have a large number of users counted by ten 
 thousand, use the passwd file to store user accounts and password lead to unbearable 
 delay. I want to know if freebsd support store accounts in places other than 
 '/etc/passwd' file, best support mysql database for passwd database backend. 
 any hints is welcome. 
 regards billy 

Hi,
 Newest versions of FreeBSD support PAM authentication, which can
abstract the authentication database to anything which there is a PAM
module available.

 I would advise against storing user accounts in MySQL, but rather store
them in OpenLDAP (or your LDAP server software of choice). To perform
user lookup you need nss_ldap, and to perform authentication you need
pam_ldap.

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


Re: du

2004-03-16 Thread Matthew Seaman
On Tue, Mar 16, 2004 at 10:55:33AM -0600, Chris wrote:
 On Tuesday 16 March 2004 10:53 am, Chris wrote:
  On Tuesday 16 March 2004 10:51 am, Brian Henning wrote:
   does du return the size in KB by default?
   thanks
 
  You can try du -h
  That's listed in man du
 
 Sorry - I forgot to answer - Yes

Actually the answer is 'no, but...' -- by default du tells you the
size in disk blocks, ie. multiples of 512b.  However, the standard
/etc/login.conf on FreeBSD causes the environment setting:

BLOCKSIZE=K

to be made, causing all the numbers du outputs (unless told otherwise
on the command line) to appear in kilobytes.  This is all quite
clearly explained in the du(1) man page.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Vinum, replaced disk -- fsck error.

2004-03-16 Thread Lewis Thompson
On Tue, Mar 16, 2004 at 07:13:25PM +0800, Greg Lehey wrote:
 On Tuesday, 16 March 2004 at  2:00:00 +, Lewis Thompson wrote:
  I had a failed disk in my RAID-0 Vinum array.  This was a physical disk
  problem and in an attempt to recover as much data as possible I dd'ed it
  to another disk (dd if=ad3 of=ad1 bs=8192 conv=noerror).
 
 This may or may not work, depending on details you haven't reported.

I can't think of anything else.  Originally I ran dd without the
conv=noerror and it stopped at around 25GB (the disk is a 100GB).  The
destination disk is 123GB but to my knowledge that is acceptable for dd.

  During the process a number (maybe eight to ten) I/O errors were
reported.  Previously I believe reading data from these areas on the
disk caused Vinum to lose the disk (under 4-STABLE), I presume this was
by design, or unavoidable.  Under 5.2.1-p1 GEOM removed the disk
totally.  The dd was done using the rescue disk from 4.9-RELEASE (to
avoid GEOM).

  I can actually start vinum and mount the RAID-0 array with no
  trouble (Vinum reports no errors I can see).

Since I wrote this I posted a reply stating that whatever files I try
and open (mostly my personal video collection), gstat reports no
activity from ad3 -- the replaced disk.  A lot of the indexes from the
AVIs are dead.

  I don't really know how I can test the integrity of files from the
  replaced disk...
 
 A good start would be to read the documentation at
 http://www.vinumvm.org/.

Unresolved bugs, 27 Feb 2000. -- this doesn't seem to have applied.
When I started vinum (I previously ran dumpconfig) with create -f
myconfig my data plex (comprised 2*120GB and the replaced 100GB) was
listed as up.

  At this point I tried the fsck with an error about invalid
superblocks, so I restored those on /dev/vinum/data with tunefs -A.
fsck then failed with the ``cannot alloc 4316869296 bytes for inphead''
error.

  I've read the replacing a failed Vinum drive a couple of times now but
I still don't quite understand it.  Does this apply to RAID-0?  Surely I
can't revive a concatenated array?  I assume this must only apply to
RAID-1 and RAID-5 (and maybe some of the others in between I know
nothing about).

  Reading more about debugging vinum I found this oddity (maybe it
isn't, since it's actually before the config):

[EMAIL PROTECTED] root state upvinumdrive0: -- ad1.config
---
[EMAIL PROTECTED] root state upvinumdrive1: -- ad2.config

  diff on ad2.config and ad3.config instead gives:

[EMAIL PROTECTED] root state upvinumdrive1: -- ad2.config
---
 IN VINOpurple.lewiz.orgvinumdrive2?;[EMAIL PROTECTED] root state up
^-- ad3.config

  There are a few extra chars different after the vinumdrive line, from
those in ad1 and ad2.  This probably isn't anything?

  I've stopped short of compiling vinum with debugging options (this was
under kernel panics, which I'm not having).  I'll go ahead and do this
though if it can provide any more info.

  There is nothing of any value in /var/log/vinum_history (but I've
cp'd it to http://www2.cs.man.ac.uk/~thompsl3/vinum_history just in
case).  If you look at this file you can see I messed with create -f a
lot.  This was because the old disk didn't seem to like storing the
on-disk configuration.  The new disk seems to do this.

  worked fine.  However (and this is my real problem), fsck_ufs
  /dev/vinum/data gives the following message:
 
  ** /dev/vinum/data
  cannot alloc 4316869296 bytes for inphead
 
  * FILE SYSTEM STILL DIRTY *
 
 Possibly there are log messages that go with this message.  It
 indicates to me that there's something seriously wrong in some data
 structure, and that fsck is asking for a ridiculous amount of memory
 as a result.

No errors appear in any of the files in /var/log (I checked them all,
just in case).

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: store freebsd accounts in mysql ???

2004-03-16 Thread Antoine Jacoutot
On Tuesday 16 March 2004 17:38, [EMAIL PROTECTED] wrote:
 I am using freebsd5.2, because i have a large number of users counted by
 ten thousand, use the passwd file to store user accounts and password lead
 to unbearable delay. I want to know if freebsd support store accounts in
 places other than '/etc/passwd' file, best support mysql database for
 passwd database backend. any hints is welcome.
 regards billy
 Naisa Systems,Inc http://www.naisa.net

I think it should works under  5.1-RELEASE using pam-mysql and libnss-mysql.
I never tested it though, I'm using ldap for authentication.

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


How to test my own netgraph node ?

2004-03-16 Thread manish gautam
Hi sir...

I have modified ng_tee.c to design my own netgraph
node. But i dont know how to test that it is working.

1.Tell me the right procedure to test it.

2.How can i pass incoming packet through it ?

3.How can i print incoming packet info on prompt ?

reply as soon as possible

Best regards 
Manish Gautam


Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: du

2004-03-16 Thread Henning, Brian
The only reason why I question it is when I lookup the size in windows
(the directory is shared with samba) I see it as less.
From bsd: 390 /home/henninb/jpg
From windows: 372KB windows

Is it because of the share or the change in platform?

thanks

-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 16, 2004 11:33 AM
To: Chris
Cc: [EMAIL PROTECTED]
Subject: Re: du


On Tue, Mar 16, 2004 at 10:55:33AM -0600, Chris wrote:
 On Tuesday 16 March 2004 10:53 am, Chris wrote:
  On Tuesday 16 March 2004 10:51 am, Brian Henning wrote:
   does du return the size in KB by default?
   thanks
 
  You can try du -h
  That's listed in man du
 
 Sorry - I forgot to answer - Yes

Actually the answer is 'no, but...' -- by default du tells you the size
in disk blocks, ie. multiples of 512b.  However, the standard
/etc/login.conf on FreeBSD causes the environment setting:

BLOCKSIZE=K

to be made, causing all the numbers du outputs (unless told otherwise on
the command line) to appear in kilobytes.  This is all quite clearly
explained in the du(1) man page.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dating a ports tree

2004-03-16 Thread Scott K. Benolkin
For CVSuping a ports tree (e.g., the ports distribution from a release CD)
for the first time (i.e., no preexisting checkouts file), section 4.3 of
Salvo Bartolotta's CVSup Advanced Points article
(http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvsup-advanced/article
.html)
recommends, you should specify a date as close as possible to that of
`shipping' of your ports tree.  It's easy enough to do this roughly, but
I'm curious if anyone knows an official (or at least surefire) way to
easily and precisely determine the shipping date of a ports tree
(realizing that the date keyword will specify a time down to the second).
 I'm not trying to say this is essential, but if there's a best practice,
I'd like to know.

Please CC to my address.  Thank you for your time and knowledge/cleverness.

Scott

-- 
Frederick, is God dead? --Sojourner Truth

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


Re: du

2004-03-16 Thread Matthew Seaman
[ du(1) accuracy ]

On Tue, Mar 16, 2004 at 12:17:12PM -0600, Henning, Brian wrote:
 The only reason why I question it is when I lookup the size in windows
 (the directory is shared with samba) I see it as less.
 From bsd: 390 /home/henninb/jpg
 From windows: 372KB windows
 
 Is it because of the share or the change in platform?

Hmmm.. that's only a 5% difference: unlikely to be due to differences
in blocksize.  I'd guess that both OSes will manage the trivial task
of adding up the size of all the files under that directory without
making silly errors.  I guess there's something which either isn't
included in the share as produced by Samba, or that Windows assumes it
can ignore, validly on a native Windows filesystem but not on a Samba
share.  On the whole though I wouldn't worry about it too much -- it's
good enough for Government work.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


looking for usb printer/scanner combo

2004-03-16 Thread Tobias Roth
hi

i am looking for a color inkjet printer/scanner/copier combo.

it should be cheap, supported under 5.2.1, rather small, have separate,
cheaply available ink cartridges. it doesn't need to be fast or have any
fancy features. price comes first, then quality.

can someone recommend a model that won't give me any trouble?

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


Re: FreeBSD mirror in Bulgaria

2004-03-16 Thread Dancho Penev
On Tue, Mar 16, 2004 at 02:06:57PM +, Matthew Seaman wrote:
Date: Tue, 16 Mar 2004 14:06:57 +
From: Matthew Seaman [EMAIL PROTECTED]
To: Lyubomir Russev [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: FreeBSD mirror in Bulgaria
On Tue, Mar 16, 2004 at 11:20:14AM +0200, Lyubomir Russev wrote:

What criterias should be met and what should be done in order to establish
FreeBSD mirror site in Bulgaria?
Give this document a read through:

   http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html

which should answer most of your questions.  Anything else, try asking
on the [EMAIL PROTECTED] mailing list.  But basically it boils
down to providing a sufficiently powerful machine with good network
bandwidth and plenty of free space and agreeing to certain conditions
on how you configure and manage the thing.
Always good to see a new mirror in previously uncharted territory.
Well, it's not quite right. There was one ({www|ftp}.bg.freebsd.org),
but I can't see it these days, so I suppose that it's down (may be
forever). It seems that I must change MASTER_SITE_BACKUP...
	Cheers,

	Matthew

--
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
 Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


--
Dancho Penev
GnuGP public key: http://www.mnet.bg/~dpenev/gnupg.key
Key fingerprint: E88D 8B7B 3EF6 E9C8 C5D2  7554 2AA8 C347 71A1 4277


pgp0.pgp
Description: PGP signature


problem with linux emul on diskless nfs root

2004-03-16 Thread mark

Hey all, I'm running 5.2.1-p1 on trying to do PXEBOOT, nfs root, mfs tmp
and var.

It all works great, but when I try to execute a linux binary, I get a
panic double fault. Sometimes it shows nfs_getpages: error: 70.
That's the error for stale file.

I'm guessing linux emul is trying to do something in the read-only root
mount, but I haven't figured out where. ld.so.cache maybe?

thanks,
mark

  [EMAIL PROTECTED]  http://node.to/~mark   7123 3F7B 10EC 7122 2F8B
  http://node.to/keys/mark.asc B474 B09D 6ED7 3FB0 09E8

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


/var/log/messages question

2004-03-16 Thread Darryl Hoar
Greetings,
I have a 4.4-stable box configured as my firewall
running IPFilter and doing nat and routing to
the internet.

I keep getting:

Mar 16 13:10:09 darryl /kernel: arplookup 10.2.2.2 failed: host is not on
local network

in my /var/log/messages file.  It is coming from my DSL facing interface.  I
used ethereal
to capture packets and determine the MAC address.  Turns out to be a vendor
testpoint
on some OSI gear the ISP is using.  They cannot correct this problem.

ARP comes way before IPFilter, therefore I do not believe it can be
filtered.

Is there anything I can do to prevent these warnings/errors from clogging up
my
log files ?

thanks,
Darryl

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


Re: /var/log/messages question

2004-03-16 Thread Kevin D. Kinsey, DaleCo, S.P.
Darryl Hoar wrote:

Greetings,
I have a 4.4-stable box configured as my firewall
running IPFilter and doing nat and routing to
the internet.
I keep getting:

Mar 16 13:10:09 darryl /kernel: arplookup 10.2.2.2 failed: host is not on
local network
in my /var/log/messages file.  It is coming from my DSL facing interface.  I
used ethereal
to capture packets and determine the MAC address.  Turns out to be a vendor
testpoint
on some OSI gear the ISP is using.  They cannot correct this problem.
ARP comes way before IPFilter, therefore I do not believe it can be
filtered.
Is there anything I can do to prevent these warnings/errors from clogging up
my
log files ?
thanks,
Darryl
 



I think you could change /etc/syslog.conf
and -HUP the syslog daemon.
However, I can't tell you what level
of message that is; and therefore can't
tell you exactly what to change in that
file.  I imagine that its kern.debug ...
but I'm not sure.  Not to mention, losing
kern.debug might take away something
you'll need next time you have a problem.
I guess you could experiment, if you're
not too afraid of losing other log messages;
or you could script something to strip that
line and run it via cron
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var/log/messages question

2004-03-16 Thread Mike Jackson
Darryl Hoar ([EMAIL PROTECTED]) wrote:
 Greetings,
 I have a 4.4-stable box configured as my firewall
 running IPFilter and doing nat and routing to
 the internet.
 
 I keep getting:
 
 Mar 16 13:10:09 darryl /kernel: arplookup 10.2.2.2 failed: host is not on
 local network
 
 in my /var/log/messages file.  It is coming from my DSL facing interface.  I
 used ethereal
 to capture packets and determine the MAC address.  Turns out to be a vendor
 testpoint
 on some OSI gear the ISP is using.  They cannot correct this problem.
 
 ARP comes way before IPFilter, therefore I do not believe it can be
 filtered.
 
 Is there anything I can do to prevent these warnings/errors from clogging up
 my
 log files ?

This will happen if you have a public static ip address on your freebsd
box, connected to an adsl router but the adsl router's lan interface is
on a different network. This situation primarily occurs when you turn
an adsl router into an adsl modem, e.g.  you enable ppp half-bridge mode.

 I pipe those, and other messages to a virtual terminal, like this:

syslog.conf
--
*.err;kern.debug;auth.notice/dev/ttyv3

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


MySQL 3 server problems: mysqlclient.10 not found?

2004-03-16 Thread paul beard
I have been trying to complete a portupgrade and something seems to be 
wrong: mysql323-server won't build. It seems to have a dependency on a 
file -- mysqlclient.10 -- that's part of mysql323-client but isn't 
found.

===   Compressing manual pages for mysql-client-3.23.58_2
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib/mysql
===   Registering installation for mysql-client-3.23.58_2
===   Returning to build of mysql-server-3.23.58_2
Error: shared library mysqlclient.10 does not exist
*** Error code 1
Stop in /opt/ports/databases/mysql323-server.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

Re: du

2004-03-16 Thread Lowell Gilbert
Please don't top-post.

Henning, Brian [EMAIL PROTECTED] writes:

 The only reason why I question it is when I lookup the size in windows
 (the directory is shared with samba) I see it as less.
 From bsd: 390 /home/henninb/jpg
 From windows: 372KB windows
 
 Is it because of the share or the change in platform?

How did you measure it on Windows?  I suspect what's happening is that
Windows gave you the actual sum of the sizes of all the files, whereas
du(1) counts the space *used* by all the files.  In other words, the
Windows tool is giving a count in bytes, whereas du(1) is giving a
count in disk blocks (rounded up to the nearest block, because that
space is unavailable for other files to use).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sound problem with short sounds (aureal 8830)

2004-03-16 Thread Wayne Sierke
FreeBSD-5.2-RELEASE w/aureal 8830 (Xitel Storm Platinum)

I appear to be having the problem with playback of short sound (.wav)
files which I found a discussion about in the freebsd-multimedia
archives (from about June of last year - albeit for a different card).
That thread appeared to culminate in a patch being presented for testing
but I could find no further reference to the issue. Anyone happen to
know the status of this problem and whether there's any solution
available?

While I'm on the topic of sound cards, any happen to know why my sound
cuts out if I drop the master volume below 8?


Thanks,

Wayne


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


Re: dating a ports tree

2004-03-16 Thread Kris Kennaway
On Tue, Mar 16, 2004 at 01:25:33PM -0600, Scott K. Benolkin wrote:
 For CVSuping a ports tree (e.g., the ports distribution from a release CD)
 for the first time (i.e., no preexisting checkouts file), section 4.3 of
 Salvo Bartolotta's CVSup Advanced Points article
 (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvsup-advanced/article
 .html)
 recommends, you should specify a date as close as possible to that of
 `shipping' of your ports tree.  It's easy enough to do this roughly, but
 I'm curious if anyone knows an official (or at least surefire) way to
 easily and precisely determine the shipping date of a ports tree
 (realizing that the date keyword will specify a time down to the second).
  I'm not trying to say this is essential, but if there's a best practice,
 I'd like to know.

cvsup to the tag of the release you are installing.  See the handbook
for information about cvsup tags.

Kris



pgp0.pgp
Description: PGP signature


Re: Wireless driver

2004-03-16 Thread Teilhard Knight
 On Thursday 11 March 2004 19:44, Teilhard Knight wrote:
  I am writing my kernel config, and I do not know what wireless driver to
  pick for an  SMC SMC2662W USB adapter.
 
  If you could also help me configure my wireless Internet reception, I
will
  be grateful. I know the Handbook is there, but I have never succeeded
doing
  what it says.

 Have a look at :
 http://vitsch.net/bsd/atuwi

 It's a driver for FreeBSD 5.1-RELEASE for these USB WLAN adapters that
I've
 written. It's not yet part of FreeBSD, but that's just a matter of time
since
 the FreeBSD team eagerly wants to have this driver into the main source
tree.
 If you can't get it to work with the step-by-step manual on the site
please
 contact me and I will try to help you.

 grtz,
 Daan

This is really cool, Daan. However, I am running FreeBSD 4.9. Do you think
it will work? I am not optimistic after reading a little of the web page. If
it doesn't work, do you know of a driver I can benefit from?

Thank you for taking the time to reply.

Teilhard



30MB  250MB Web based, POP3  IMAP4 e-mail.

Sign up now: http://www.ghostmailbox.com


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


USB generic driver problems

2004-03-16 Thread admin2

Repost...

As a followup, I modified the /usr/src/sys/dev/usb/ugen.c source to
provide some additional debugging output in the ugen_set_config() function
(relevant code at bottom). This is the code responsible for creating the
device structure for the USB device endpoints after retrieving the
endpoint addresses from the USB device (i.e. /dev/ugen0.EE). The
make_dev(9) call fails (see log entries below) with a non zero status.
Given the endpoints returned by the device were valid, I'm at a loss as to
why. The device works correctly under Windows 2000 (fyi). Is this a
problem with the my device, a bug, or ???

Chris

Mar 12 14:09:46 cosmo /kernel: usbd_reset_port: port 2 reset done, 
error=NORMAL_COMPLETION
Mar 12 14:09:46 cosmo /kernel: usbd_new_device bus=0xc0d2e800 port=2 depth=1 
lowspeed=512
Mar 12 14:09:46 cosmo /kernel: usbd_setup_pipe: dev=0xc0ec3f80 iface=0 ep=0xc0ec3f9c 
pipe=0xc0ec3f84
Mar 12 14:09:46 cosmo /kernel: usbd_new_device: adding unit addr=2, rev=110, class=0, 
subclass=0, protocol=0, maxpacket=8, len=18, ls=1
Mar 12 14:09:46 cosmo /kernel: usbd_new_device: new dev (addr 2), dev=0xc0ec3f80, 
parent=0xc0d30c80
Mar 12 14:09:46 cosmo /kernel: usbd_probe_and_attach: trying device specific drivers
Mar 12 14:09:46 cosmo /kernel: usbd_probe_and_attach: no device specific driver found
Mar 12 14:09:46 cosmo /kernel: usbd_probe_and_attach: looping over 1 configurations
Mar 12 14:09:46 cosmo /kernel: usbd_probe_and_attach: trying config idx=0
Mar 12 14:09:46 cosmo /kernel: usbd_set_config_index: (addr 2) attr=0x80, 
selfpowered=0, power=100
Mar 12 14:09:46 cosmo /kernel: usbd_set_config_index: set config 1
Mar 12 14:09:46 cosmo /kernel: usbd_probe_and_attach: no interface drivers found
Mar 12 14:09:46 cosmo /kernel: ugen0: LabJack Labjack U12, rev 1.10/5.f6, addr 2
Mar 12 14:09:46 cosmo /kernel: usbd_set_config_index: free old config
Mar 12 14:09:46 cosmo /kernel: usbd_set_config_index: (addr 2) attr=0x80, 
selfpowered=0, power=100
Mar 12 14:09:46 cosmo /kernel: usbd_set_config_index: set config 1
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: ugen0 to configno 1, sc=0xc0ebf000
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: ifaceno 0
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: endptno 0, endpt=0x01(1,1), 
sce=0xc0ebf264
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: endptno 1, endpt=0x02(2,0), 
sce=0xc0ebf328
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: Configuring Additional Endpoints
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: Calling make_dev for ugen0.1
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: make_dev returned -1058926464
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: Calling make_dev for ugen0.2
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: make_dev returned -1058926592
Mar 12 14:09:46 cosmo /kernel: ugen_set_config: Endpoint -1058796112 is null, can't 
call make_dev

#if defined(__FreeBSD__)
/* the main device, ctrl endpoint */
make_dev(ugen_cdevsw, UGENMINOR(USBDEVUNIT(sc-sc_dev), 0),
UID_ROOT, GID_OPERATOR, 0644, %s, USBDEVNAME(sc-sc_dev));

DPRINTFN(1,(ugen_set_config: Configuring Additional Endpoints\n));

for (endptno = 1; endptno  USB_MAX_ENDPOINTS; endptno++) {
if (sc-sc_endpoints[endptno][IN].sc != NULL ||
sc-sc_endpoints[endptno][OUT].sc != NULL ) {
/* endpt can be 0x81 and 0x01, representing
 * endpoint address 0x01 and IN/OUT directions.
 * We map both endpts to the same device,
 * IN is reading from it, OUT is writing to it.
 *
 * In the if clause above we check whether one
 * of the structs is populated.
 */
DPRINTFN(1,(ugen_set_config: Calling make_dev for 
%s.%d\n,USBDEVNAME(sc-sc_dev), endptno));
myerr = make_dev(ugen_cdevsw,
UGENMINOR(USBDEVUNIT(sc-sc_dev), endptno),
UID_ROOT, GID_OPERATOR, 0644,
%s.%d,
USBDEVNAME(sc-sc_dev), endptno);
DPRINTFN(1,(ugen_set_config: make_dev returned %d\n, myerr) 
);
} else {
DPRINTFN(1,(ugen_set_config: Endpoint %d is null, can't call 
make_dev\n, USBDEVNAME(sc-sc_dev), endptno))
;
}
}
#endif

On Thu, 11 Mar 2004 [EMAIL PROTECTED] wrote:


 I'm attempting to interface with a usb based data acquisition device
 called a Labjack (http://labjack.com) under FreeBSD 4.9. The Labjack is a
 USB1.1 compliant HID device with a single configuration and two
 interrupt endpoints (in/out) not including the control endpoint.

 Initially I tried to use the uhid driver, but due to lack of functionality
 needed in this case I removed the uhid driver from the kernel in favor of
 the ugen driver. The ugen driver 

Re: ClamAV Log Rotation (WAS: Antivirus suggestion...)

2004-03-16 Thread Wayne Sierke
On Tue, 2004-03-16 at 08:45, Jonathan T. Sage wrote:
 Hope this is of some use:
 
snip
 
 Clamd log rotation:
 
 first and foremost, make sure that clamav is gonna drop a pidfile.  in 
 /usr/local/etc/clamav.conf, uncomment:
 
 # This option allows you to save the process identifier of the listening
 # daemon (main thread).
 PidFile /var/run/clamd.pid
 
 then, add the following (one line) to /etc/newsyslog.conf
 
 /var/log/clamd.log644  3 *$W0D1 BJ \
  /var/run/clamd.pid  1
 
 this will rotate the log once a week, keep 3 of them (current log +3 
 weeks).  it will also compress the old one with bzip2 and SIGHUP the 
 clamd process.  seems to work just fine for me, running clamav-devel on 
 -current (Mar 3 or so right now)
 
Here's what I got:

# ls -lrt /var/log/clamd*
-rw-r-  1 clamav  clamav  0 Mar 17 06:00 /var/log/clamd.log
-rw-r-  1 clamav  clamav  35873 Mar 17 09:00 /var/log/clamd.log.0

# tail -n 6 /var/log/clamd.log.0
Wed Mar 17 05:58:54 2004 - SelfCheck: Database status OK.
Wed Mar 17 06:00:00 2004 - SIGHUP catched: log file re-opened.
Wed Mar 17 06:00:00 2004 - ERROR: accept() failed.
Wed Mar 17 06:59:32 2004 - SelfCheck: Database status OK.
Wed Mar 17 08:00:10 2004 - SelfCheck: Database status OK.
Wed Mar 17 09:00:48 2004 - SelfCheck: Database status OK.

# portversion -v clamav*
 clamav-0.67.1   =  up-to-date with port


Hmm, just saw a submission to -ports for an update to 0.70-rc, looks
like that version is needed to have the SIGHUP handling (according to
its NEWS file).


Wayne


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


Make index fails with errors

2004-03-16 Thread Stacey Roberts
Hello,
 After a fresh cvsup and port upgrade of a few ports, make index fails with the 
following errors:

# make index
Generating INDEX - please wait..=== arabic/openoffice-1.1 failed:
ar-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== chinese/fcitx failed:
zh-fcitx-2.0.1_1: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== chinese/openoffice-1.1-zh_CN failed:
zh-openoffice-CN-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== chinese/openoffice-1.1-zh_TW failed:
zh-openoffice-TW-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== devel/qt-designer failed:
qt-designer-2.3.1_3: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/elvis failed:
elvis-2.2.0: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== editors/openoffice-1.1 failed:
openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete=== editors/openoffice-1.1-ca failed:
ca-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-cs failed:
cs-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-dk failed:
dk-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-es failed:
es-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-fi failed:
fi-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-gr failed:
gr-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-it failed:
it-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-nl failed:
nl-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-se failed:
se-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-sk failed:
sk-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== editors/openoffice-1.1-tr failed:
tr-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== french/openoffice-1.1 failed:
fr-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== german/openoffice-1.1 failed:
de-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== japanese/openoffice-1.1 failed:
ja-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== japanese/qt23 failed:
ja-qt-2.3.1_4: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== korean/openoffice-1.1 failed:
ko-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== mail/thunderbird failed:
thunderbird-0.5: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== net/ayttm failed:
ayttm-0.4.6_1: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== polish/openoffice-1.1 failed:
pl-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== portuguese/openoffice-1.1-pt_BR failed:
pt_BR-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== portuguese/openoffice-1.1-pt_PT failed:
pt-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== russian/openoffice-1.1 failed:
ru-openoffice-1.1.1.RC1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== www/firefox failed:
firefox-0.8_4: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== www/mozilla failed:
mozilla-1.6_3,2: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== www/mozilla-devel failed:
mozilla-1.7.a_2,2: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== www/mozilla-devel-gtk1 failed:
mozilla-gtk1-1.7.a_1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete=== www/mozilla-gtk1 failed:
mozilla-gtk1-1.6_1: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== x11/XFree86-4-clients failed:
XFree86-clients-4.3.0_6: /usr/ports/x11-fonts/Xft non-existent -- dependency list 
incomplete
=== x11/fspanel failed:
fspanel-0.8.b1: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== x11/gdkxft failed:
gdkxft-1.5_2: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== x11/idesk failed:
idesk-0.5.6_1: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== x11/mlterm failed:
mlterm-2.8.0_1: /usr/ports/x11-fonts/Xft non-existent -- dependency list incomplete
=== 

Re: Make index fails with errors

2004-03-16 Thread Kris Kennaway
On Tue, Mar 16, 2004 at 11:43:50PM +, Stacey Roberts wrote:
 Hello,
  After a fresh cvsup and port upgrade of a few ports, make index fails with the 
 following errors:

Read the ports list before reporting these; the INDEX test build was
reporting failure there, and it was fixed.

Kris


pgp0.pgp
Description: PGP signature


Re: JRE sources

2004-03-16 Thread Palle Girgensohn
Did you check the port? /usr/ports/java/jdk14.

/Palle

--On tisdag, mars 16, 2004 14.34.26 + Tadimeti Keshav 
[EMAIL PROTECTED] wrote:

Hi
I use a dial-up modem to connect to the net, hence I
am looking for sources to compile JRE/JDK to
eventually install oracle.
Can someone pls give me the URL?
Thanks
Tk



___
Yahoo! Messenger - Communicate instantly...Ping
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]




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


Re: NAT PPPoE (detailed email) --FIXED

2004-03-16 Thread Mohsin Rahman
To all that helped.. the NAT  Verizon PPPoE setup is working great.
Firewall rules are in.. and now working on squid. 

Thank you all. I knew this list is great!

This is how things are setup:

/etc/rc.conf

defaultrouter=
hostname=fw.somehost.com
ppp_enable=YES
ppp_mode=auto
ppp_nat=YES
ppp_profile=papchap
ppp_user=root
ifconfig_fxp0=UP
ifconfig_fxp1=inet 192.168.1.1  netmask 255.255.255.0
ifconfig_tun0=DHCP
gateway_enable=YES
firewall_enable=YES
firewall_script=/etc/rc.firewall
firewall_type=OPEN
firewall_quiet=YES

/etc/ppp/ppp.conf

default:
 #PPPoE: PPP over Ethernet
 set device PPPoE:fxp0
 set speed sync
 set mru 1492
 set mtu 1492
 set ctsrts off
 enable lqr
 set log phase tun local
 set ifaddr 10.0.0.1/0 192.168.1.1/0
 add default HISADDR
 enable dns
 nat enable yes
 nat same_ports yes
papchap:
 set authname {username}
 set authkey {password}

ifconfig:

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::280:5fff:fed7:8892%fxp0 prefixlen 64 scopeid 0x1
ether 00:80:5f:d7:88:92
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::2a0:c9ff:feaa:d54c%fxp1 prefixlen 64 scopeid 0x2
ether 00:a0:c9:aa:d5:4c
media: Ethernet autoselect (100baseTX full-duplex)
status: active
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 10.0.0.1 -- 192.168.1.1 netmask 0x
inet 141.149.140.76 -- 10.15.1.1 netmask 0x
Opened by PID 56

I also took out options NETGRAPH from the kernel and rebuilt it. Works
just fine. Eventually I'll post it on my website someday. Thanks.

--
Mohsin AbdulRahman
[EMAIL PROTECTED]


On Fri, 12 Mar 2004, Chuck Swiger wrote:

 Mohsin Rahman wrote:
  Thank you. I will try tun0 as my nat interface. However, if lets say, the
  modem drops the connection and the next attempt to access the internet,
  wouldn't FreeBSD assign the new ip address to tun1 and basically render
  tun0 nat useless? A better solution might be to let do ppp -nat perhaps. I
  will test and post my results. Thanks.
 
 You should have ppp do the NAT, yes.  If you use ppp with the -auto or -ddial, 
 you can have on-demand dialing where ppp will attempt to bring up the link if 
 it drops.  That means NAT should handle the link drop better (since ppp knows 
 to use the new connection's IP), and it also means that your firewall rules 
 can simply use tun0.
 
 /etc/ppp/ppp.conf should contain something like:
 
 default:
   set log local connect ipcp lcp lqm chat
 # set log all
   ident user-ppp VERSION (built COMPILATIONDATE)
   enable lqr
   set server 3000 x
   set timeout 1200   # 20 minute idle timer
 # enable dns# request DNS info (for resolv.conf)
   set device PPPoE:fxp0:verizon
   set login
   set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
 \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
   set urgent udp +53
   set urgent tcp +53
   set urgent udp +123
   set urgent tcp +123
   set ifaddr 162.84.171.0/0 10.3.23.0/0 255.255.255.255 0.0.0.0
   add! default HISADDR   # Add a (sticky) default route
   nat enable yes
   nat use_sockets yes
   nat same_ports yes
   nat port tcp 192.168.1.3:6667 6667
 
 verizon:
   set authname x
   set authkey x
 
 [ ... ]
 -- 
 -Chuck
 
 


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


Re: problem with linux emul on diskless nfs root

2004-03-16 Thread mark

More info: when running with the debugger on, it panics in function
Xpage.

I tried adding swap, in case that was it.
Also, I union mounted /compat/linux/etc with a memory device mount so it
would be writeable (solving ld.so.cache problem).

btw the diskless booted nfs root and usr systems are read only

-mark

  [EMAIL PROTECTED]  http://node.to/~mark   7123 3F7B 10EC 7122 2F8B
  http://node.to/keys/mark.asc B474 B09D 6ED7 3FB0 09E8


On Tue, 16 Mar 2004, mark wrote:


 Hey all, I'm running 5.2.1-p1 on trying to do PXEBOOT, nfs root, mfs tmp
 and var.

 It all works great, but when I try to execute a linux binary, I get a
 panic double fault. Sometimes it shows nfs_getpages: error: 70.
 That's the error for stale file.

 I'm guessing linux emul is trying to do something in the read-only root
 mount, but I haven't figured out where. ld.so.cache maybe?

 thanks,
 mark

   [EMAIL PROTECTED]  http://node.to/~mark   7123 3F7B 10EC 7122 2F8B
   http://node.to/keys/mark.asc B474 B09D 6ED7 3FB0 09E8

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

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


4.9 installation woes (on thinkpad 560X)

2004-03-16 Thread David Gerard
I was advised by a few people (including the laptop's previous owner) that
FreeBSD 5.x would be quite difficult to get working with sound, and that
it would be a better idea to try with 4.9.
I have just spent a few hours carefully reinstalling the laptop with FreeBSD 
4.9. Restart for its first boot ... and it won't. It sits there at

F1  DOS
F2  FreeBSD
Default: F2 _

and seems to consider the keyboard beneath its notice. Odd, since the caps 
lock light goes on and off as expected. But nothing will get it off this screen.

The DOS partition is a 20 meg partition for IBM system tools, as yet not 
installed. It's also before the FreeBSD partition on the disk, if that's
relevant.

Is there anything I can do apart from starting over? (And how to make sure
it doesn't do this again?)
- d.

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


Re: ClamAV Log Rotation (WAS: Antivirus suggestion...)

2004-03-16 Thread Jonathan T. Sage
Wayne Sierke wrote:

snip

Clamd log rotation:

first and foremost, make sure that clamav is gonna drop a pidfile.  in 
/usr/local/etc/clamav.conf, uncomment:

# This option allows you to save the process identifier of the listening
# daemon (main thread).
PidFile /var/run/clamd.pid
then, add the following (one line) to /etc/newsyslog.conf

/var/log/clamd.log  644  3 *$W0D1 BJ \
/var/run/clamd.pid  1
this will rotate the log once a week, keep 3 of them (current log +3 
weeks).  it will also compress the old one with bzip2 and SIGHUP the 
clamd process.  seems to work just fine for me, running clamav-devel on 
-current (Mar 3 or so right now)

Here's what I got:

# ls -lrt /var/log/clamd*
-rw-r-  1 clamav  clamav  0 Mar 17 06:00 /var/log/clamd.log
-rw-r-  1 clamav  clamav  35873 Mar 17 09:00 /var/log/clamd.log.0
# tail -n 6 /var/log/clamd.log.0
Wed Mar 17 05:58:54 2004 - SelfCheck: Database status OK.
Wed Mar 17 06:00:00 2004 - SIGHUP catched: log file re-opened.
Wed Mar 17 06:00:00 2004 - ERROR: accept() failed.
Wed Mar 17 06:59:32 2004 - SelfCheck: Database status OK.
Wed Mar 17 08:00:10 2004 - SelfCheck: Database status OK.
Wed Mar 17 09:00:48 2004 - SelfCheck: Database status OK.
# portversion -v clamav*
 clamav-0.67.1   =  up-to-date with port
Hmm, just saw a submission to -ports for an update to 0.70-rc, looks
like that version is needed to have the SIGHUP handling (according to
its NEWS file).


Ah.  yes, When I wrote this, i was using clamav-devel, and the SIGHUP 
handling works fine there.  thanks for the info though.

~j

--
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design
[HTTP://www.JTSage.com]
[EMAIL PROTECTED]
[See Headers for Contact Info]


signature.asc
Description: OpenPGP digital signature


5.2 question...

2004-03-16 Thread Gary Kline

Folks,

Please forgive my ignorance, but I can't get linux-mozilla-1.5
to work on 5.2-RELEASE.  I have the linux_compatibility
entry set in /etc/rc.conf; I've run ldconfig against /usr/X11R6/lib
--and more--but the port fails.  Straight FBSD mozilla-1.6*
works fine.  So do most other ports.  Has anybody else run into
any linux* problems?  Any inights?   ...It's time to ask the 
list!

tia, guys,

gary

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

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


Re: using Firefox Thunderbird already, I can I delete Mozilla Suite.

2004-03-16 Thread Rommel B. IKEDA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|I am presently using Mozilla Firefox as my Internet Browser and Mozilla
|Thunderbird as my Email Client...
|I used to be using Mozilla Internet Client Suite and it is still
|installed...
|I was wondering, should I desire to pkg_delete Mozilla 1.6 will it not
|affect my Firefox and Thunderbird?
|
|
| I've got both Mozilla 1.6 and the latest Firefox installed -- they
| don't seem to tread on each other's toes at all.  Never had a problem
| when updating one in the presence of the other either, so I think you
| can pkg_delete with impunity.
Thank you very much for your response...I got your response 2 days ago
but unfortunately I downloaded my Emails in my other notebook pc that I
was testing for FreeBSD in my home...I am trying to promote FreeBSD to
my fiance and she was using the notebook lately...thus I was not able to
respond immediately to extend my thanks to you sir.
|If it does, can I reinstall Mozilla without the Mail, Composer, and
|other arguments available?
|Thank you for any advice, answers, or anything...
|
|
| Sure:
|
| % grep mozilla-devel /usr/local/etc/pkgtools.conf
| 'www/mozilla-devel'= 'WITHOUT_MAILNEWS=yes
WITHOUT_COMPOSER=yes WITHOUT_LDAP=yes WITHOUT_CHATZILLA=yes',
|
| That's from the MAKE_ARGS[] array used by portupgrade(1) -- you can
| supply the same arguments on the make(1) command line if you prefer
| not to use portupgrade.
|
| There's a few othe WITH_FOO or WITHOUT_BAR options that have crept
| into the port which you can see by reading
| /usr/ports/www/mozilla-devel/Makefile or by:
|
| % cd /usr/ports/www/mozilla-devel
| % make pre-everything
I have already written down your advice in my notes as I have been
doing..lately...
Again my apologies for my late response, you had to re-post your email,
it is so kind of you...and thank you again for your advice, help, and
clearing things for me...
Forgive me if it is not related in this topic...just to inform you that
I was able to install jdk14 port and other 2 more plugins for
Mozilla...if you can still remember that you once adviced me on the
problems that I encountered regarding the latter.
By the way, I used to try pkg_version just to make myself feel quite
good in FreeBSD but I found portupgrade much easy, understandable for my
slow mind, and kind...
Have a nice day

- --
Rommel B. IKEDA
|-==Powered by FreeBSD=-|
| Mozilla Thunderbird   |
| Signature  Encrytion - GnuPG |
| GNOME 2  Window Manager   |
|---|
FreeBSD
HP: http://www.freebsd.org/
~  FREEDOM  POWER because we don't settle for anything LESS.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAV5p6X3UlWWOhkAoRAi7qAJ9skbs/AzITv3ZanVwCKy7mG6UVFACfQerV
RF4jLp9vgc52UsKSY2jg0Os=
=GQ2f
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Format floppy problem

2004-03-16 Thread Mike Jeays
On Tue, 2004-03-16 at 11:39, Prodigy wrote:
 When u formated your floppy, u have to use disklabel to label floppy disc:
 disklabel -w -r /dev/fd0 fd1440
 
 and then u have to make new file system on that floppy:
 newfs /dev/fd0
 
 That's all, now u can mount your floppy disc.
 
  Hi folks,
 
  FreeBSD 5.2
  ==
 
  Floppies formatted on M$Win can be mounted, copied files to and read, etc.
 
  But floppies formatted on FreeBSD with
 
  $ fdformat /dev/fd0
  Format 1440K floppy `/dev/fd0'? (y/n): y
  Processing  done.
 
  they could not be mounted
 
  $ mount -t msdos /dev/fd0 /usr/home/user/floppy
  msdosfs: /dev/fd0: Invalid argument
 
  I tested 3 floppies with the same result.  Kindly advise how to fix this
  problem.  Is there a special format floppy command for FreeBSD.
 
  TIA
 
  Stephen Liu
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

If you want to format a floppy with the FAT format for use in a Windows
system, try:

#!/bin/sh
# Format a DOS floppy  TMJ 1999-05-15
fdformat -f 1440 fd0
newfs_msdos -f 1440 fd0

You can then mount it as
mount -t msdos /dev/fd0 /mnt

The other method is to format it with the UFS filesystem, by:

#!/bin/sh
# Floppy formats:
#
# To make a filesystem on a floppy:
#   fdformat [-f size] fddrive[.size]
#   disklabel -B -r -w fddrive[.size] fdsize
#   newfs opts fddrive[.size]
fdformat -q fd0.1440
disklabel -B -r -w fd0.1440 fd1440
newfs -c 1 fd0.1440

These can be mounted by
mount /dev/fd0 /mnt
but cannot be used on a Windows system.




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


Re: Make index fails with errors

2004-03-16 Thread Stacey Roberts
Hi,

- Original Message -
From: Kris Kennaway [EMAIL PROTECTED]
To: To Stacey Roberts
Date: Tue, 16 Mar, 2004 23:52 GMT
Subject: Re: Make index fails with errors

 On Tue, Mar 16, 2004 at 11:43:50PM +, Stacey Roberts wrote:
  Hello,
   After a fresh cvsup and port upgrade of a few ports, make index fails with 
  the following errors:
 
 Read the ports list before reporting these; the INDEX test build was
 reporting failure there, and it was fixed.

Thanks for the info

Regards,

Stacey

 
 Kris



-- 
Stacey Roberts
B. Sc (HONS) Computer Science

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


Re: Why does `df` lie about free space

2004-03-16 Thread Matthew Hunt
On Tue, Mar 16, 2004 at 02:31:11AM +0200, Kyryll A Mirnenko wrote:

   So whats wrong with `df` (e.g. statfs/fstatfs)?

It's not a bug, any more than it was when you asked on Friday.

-- 
Matthew Hunt [EMAIL PROTECTED] * Salvage, like other forms of virtue, is
http://www.pobox.com/~mph/   * its own reward.  -George Reamerstaff
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: After xwindow is up.

2004-03-16 Thread Danny Pansters
[ should I have CC'd this to ports@ instead?]


On Monday 15 March 2004 22:41, you wrote:
 hello everyone, Thanks for answers,

 Danny Wrote:
  For Flash you'll probably want to install www/linux-flashplugin6 and
  the www/linuxpluginwrapper ports.

 flashplugin6 has been installed fine,, but when i try to install
 /linuxpluginwrapper It says I didnot enable libmap.conf! but this file
 doesnot exist in my box.

You have to create it in /etc/libmap.conf. Safest bet is to copy the 
example shown in the port's message. Maybe you need to change 
the path for flash.

Mine looks like this (ignore the first two lines, it's temporary and 
with 5.1 it doesn't concern you -- you might need it if updating 
from 5.1 to 5.3 later though when rebuilding ports):

libc_r.so.5 libpthread.so.1 # Everything that uses 'libc_r'
libc_r.so   libpthread.so   # now uses 'libpthread'

# Flash6 with Opera is not avilable.

# Flash6 with Konqueror (temporary setting)
[/usr/local/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 liblthread.so.3
libdl.so.2  pluginwrapper/flash6.so
libz.so.1   libz.so.2
libstdc++-libc6.2-2.so.3liblstdc++.so.4
libm.so.6   libm.so.2
libc.so.6   pluginwrapper/flash6.so

# Flash6 with Mozilla/Firebird/Galeon/Epiphany
[/usr/local/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 liblthread.so.3
libdl.so.2  pluginwrapper/flash6.so
libz.so.1   libz.so.2
libstdc++-libc6.2-2.so.3liblstdc++.so.4
libm.so.6   libm.so.2
libc.so.6   pluginwrapper/flash6.so

# Acrobat with Opera
#[/usr/X11R6/lib/browser_plugins/nppdf.so]
#libc.so.6  pluginwrapper/acrobat.so

# Acrobat with Mozilla/Firebird/Galeon/Epiphany
#[/usr/local/Acrobat5/Browsers/intellinux/nppdf.so]
#libc.so.6  pluginwrapper/acrobat.so

Acrobat always freezes -- this might be solved by now -- but I always 
use the KDE plugin for PDFs and it works fine and looks better.

 After linux-flashplugin6 I found the file libflashplayer.so and I added as
 a path in konqueror browser (Configure - Plugins) and I click on scan, but
 it doesnot scan and says nspluginscan excutable cannot be found - netscape
 plugin cant be scaned

Mmmm. Could you try running 'whereis nspluginscan'. If it shows nothing than 
apparently the package you used doesn't include motif/nsplugin support in 
kdebase. That would be quite bad! Standard port build does include it as far 
as I know, or it may depend on whether you already have motif/lesstiff 
libraries. If this is indeed the problem, you can build kdebase from ports 
and you should also report to [EMAIL PROTECTED] that plugin support is missing 
in the package. It should be in there. I remember having an email exange with 
a gentleman who had the same problem, but he was building from ports. Perhaps 
a motif dependency on kdebase is needed to ensure nsplugin support. 

As much as we all hate them ;-), plugins are important if only for flash which 
only works as a plugin. Java with konqueror works through a KPart and not 
through the nsplugin method.

For what it's worth I have:

% pkg_info | grep motif
open-motif-2.2.2_2  Motif X11 Toolkit (industry standard GUI (IEEE 1295))

I don't know if I got that when building KDE or if I had it before. It is 
needed for rendering Linux plugins that use motif.

 Path I added is /usr/local/lib/linux-flashplugin6/libflashplayer.so

I have just /usr/local/lib/linux-flashplugin6/

 Shall I install netscape? If i do so, does it work fine with this stuff? or
 same?

 In File associations I cannot see anything called netscape plugin.
 I would appreciate if you help me more in this issue,

OK, taking into account the above, the nsplugins appear as a choice for 
embedded playing, that is the second tab in the right side pane in Konq's 
config dialog. So you click the mime type and then embedding on the right. 
In that tab, if you click add you get a list of KParts and some other 
embedded things perhaps, one of them is Netscape plugin viewer (nsplugin).

If you don't see this at all, that might be another hint that your package may 
not have nsplugin support at all.

 And i thanks your previous help

You're welcome. Would be better if it would work though :)

I'm currently rebuilding all of KDE to update to 3.2.1 and get over the libc_r 
- libpthread name change on -CURRENT as of a week ago, I can't provide you 
with working packages for 5.1. 

I'd like to add that KDE 3.2+ is /very/ fast on -CURRENT or basically 5.2+ULE 
(self built 2001 single processor desktop box, 1.5GHz Intel IV, Asus P4B 
mobo, 512 MB RAM, Via 

qmail-scanner.pl and perl 5.8?

2004-03-16 Thread whizkid
This is probably a stupid question.  I have been having problems correctly
installing qmail-scanner-1.21 on my test webmail servers.  I get this
error:

Testing suid nature of /usr/bin/perl...
Whoa - broken perl install found.
Cannot even run a simple script setuid

Installation of Qmail-Scanner FAILED

Error was:
Checking for setuid nature of perl install

What follows should be the UID of the qscand acount...

uid=1013

See FAQ for further details


if I look in /usr/bin I see:

lrwxr-xr-x   1 root  wheel23 Nov  6 11:49 suidperl -
/usr/local/bin/suidperl

if I do a ls -l /usr/local/bin | grep suidperl I get nothing.  So the
SymLink is pointing to nothing?

I did:
cd /usr/ports/lang/perl5.8
make install clean
use.perl port

Should I not use perl 5.8?  did they remove the suidperl in 5.8?  If you
are wondering yes I cvsup my ports to the current.

uname -a:
FreeBSD [HIDDEN] 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun  5 02:55:42
GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


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


SiS 5513 ATA Controller

2004-03-16 Thread seank
Hello,
 
I have an SiS 5513 ATA Controller on an ASUS P4S333 motherboard and I'm
trying to get it to do UDMA5 for me, but for some reason it only goes
to UDMA2.  The command I used to try to set it to UDMA5 was: atacontrol
0 UDMA5 UDMA5, but that just returned UDMA33 for both IDE channels. 
Does anyone know if FreeBSD (5.2.1) supports this ATA controller at that
setting? If so, how do I accomplish it?
 
Thank you,
Sean



Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messengerl=434

Promote security and make money with the Hushmail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliatel=427
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.4-RELEASE as a NAT/gateway

2004-03-16 Thread Matt Coe, CCNA
Hey, I'm having some issues convincing my old Pentium 90 to behave as a 
basic NAT box and gateway.. I've been a CCNA for nearly three years now 
and I still haven't had a chance to properly play with other people's 
networks, so I'm trying to make my own... but to no avail. I downloaded 
the 5.x manual to help me set up the config files and install the 
appropriate ports, but the machine doesn't seem to want to forward 
packets. ipfw kicks in fine, natd seems to kick in fine.. I can 
hand-boot routed and that seems to behave properly.. but nothing goes 
from dc0 to rl0, for some reason beyond me. Here's a snippet of my 
rc.conf if it helps:

ifconfig_rl0=DHCP
ifconfig_dc0=inet 192.168.0.1 netmask 255.255.255.0
gateway_enable=YES
natd_enable=YES
natd_interface=rl0
natd_flags=
firewall_enable=YES
firewall_type=OPEN
Is there any thing wrong with those lines? I could type out my entire 
rc.conf if it's necessary... Anyone else have similar problems?

--
Matt Coe, CCNA
Member-At-Large, Dalhousie University CS Society Fall 2003
'Ford! There's an infinite number of monkeys outside who want to talk
to us about this script for Hamlet they've worked out.'
 -- DNA, 'The Hitch Hiker's Guide to the Galaxy', Arthur Philip Dent
Sick of long-distance bills? Get Skype! www.skype.com

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


Re: du

2004-03-16 Thread Steve Ireland

- Original Message -
From: Lowell Gilbert [EMAIL PROTECTED]
To: Henning, Brian [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 16:15
Subject: Re: du


 Please don't top-post.

 Henning, Brian [EMAIL PROTECTED] writes:

  The only reason why I question it is when I lookup the size in
windows
  (the directory is shared with samba) I see it as less.
  From bsd: 390 /home/henninb/jpg
  From windows: 372KB windows
 
  Is it because of the share or the change in platform?

 How did you measure it on Windows?  I suspect what's happening is that
 Windows gave you the actual sum of the sizes of all the files, whereas
 du(1) counts the space *used* by all the files.  In other words, the
 Windows tool is giving a count in bytes, whereas du(1) is giving a
 count in disk blocks (rounded up to the nearest block, because that
 space is unavailable for other files to use).
It may have. Starting with W2K, if you right click a file and select
properties, you are given two file sizes: Size and Size on disk.
Size on disk is the total size - file size and the so-called slack
space. Using any other method (such as Explorer or the dir command)
gives only the file size. Always be careful to compare apples to apples
;)
To get tangential for a moment, an interesting exercise is to discover
how many different methods Windows has for reporting total harddrive
size and how many different values are returned. An additional exercise
for the advanced student is to find out why different methods report
values. (Hint: Sometimes Windows sucks)

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


scsi tape errors

2004-03-16 Thread David Bear
I am getting error messages that don't make much sense. They would
lead me to beleive that the tape is bad... I guess. Yet, I have a hard
time beleiving that the two out of four tapes is bad.

issuing an 'mt erase' it get an input/output error.

below are the kernel messages.

could two tapes suddenly just become 'bad'?

Since these are ait tapes and have a 64k ram buffer, I'm wondering if
there may be some bad data there and if there is a way to clear it...

The tape unit is a sony sdx300c.  I've updated it to the latest
firmware. Its attached to an adaptec 2940wide.

Any advice would be greatly appreciated.
== dmesg ==
 
... lots of stuff deleted ...

Disconnected Queue entries: 0:0 
QOUTFIFO entries: 
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 
24 25 26 27 28 29 30 31 
Sequencer SCB Info: 0(c 0x44, s 0xa7, l 0, t 0x0) 1(c 0x0, s 0xff, l 255, t 0xff) 2(c 
0x0, s 0xff, l 255, t 0xff) 3(c 0x0, s 0xff, l 255, t 0xff) 4(c 0x0, s 0xff, l 255, t 
0xff) 5(c 0x0, s 0xff, l 255, t 0xff) 6(c 0x0, s 0xff, l 255, t 0xff) 7(c 0x0, s 0xff, 
l 255, t 0xff) 8(c 0x0, s 0xff, l 255, t 0xff) 9(c 0x0, s 0xff, l 255, t 0xff) 10(c 
0x0, s 0xff, l 255, t 0xff) 11(c 0x0, s 0xff, l 255, t 0xff) 12(c 0x0, s 0xff, l 255, 
t 0xff) 13(c 0x0, s 0xff, l 255, t 0xff) 14(c 0x0, s 0xff, l 255, t 0xff) 15(c 0x0, s 
0xff, l 255, t 0xff) 16(c 0x0, s 0xff, l 255, t 0xff) 17(c 0x0, s 0xff, l 255, t 0xff) 
18(c 0x0, s 0xff, l 255, t 0xff) 19(c 0x0, s 0xff, l 255, t 0xff) 20(c 0x0, s 0xff, l 
255, t 0xff) 21(c 0x0, s 0xff, l 255, t 0xff) 22(c 0x0, s 0xff, l 255, t 0xff) 23(c 
0x0, s 0xff, l 255, t 0xff) 24(c 0x0, s 0xff, l 255, t 0xff) 25(c 0x0, s 0xff, l 255, 
t 0xff) 26(c 0x0, s 0xff, l 255, t 0xff) 27(c 0x0, s 0xff, l 255, t 0xff) 28(c 0x0, s 
0xff, l 255, t 0xff) 29(c 0x0, s 0xff, l 255, 
 t 0xff) 30(c 0x0, s 0xff, l 255, t 0xff) 31(c 0x0, s 0xff, l 255, t 0xff) 
Pending list: 0(c 0x40, s 0xa7, l 0)
Kernel Free SCB list: 15 16 17 18 19 1 2 3 4 5 6 7 8 9 13 12 11 10 
Untagged Q(10): 0 
sg[0] - Addr 0x4366000 : Length 4096
sg[1] - Addr 0x3c27000 : Length 4096
(sa0:ahc1:0:10:0): Queuing a BDR SCB
(sa0:ahc1:0:10:0): Bus Device Reset Message Sent
(sa0:ahc1:0:10:0): no longer in timeout, status = 34b
ahc1: Bus Device Reset on A:10. 1 SCBs aborted
(sa0:ahc1:0:10:0): unable to rewind after test read



-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.4-RELEASE as a NAT/gateway

2004-03-16 Thread Chris Hill
On Tue, 16 Mar 2004, Matt Coe, CCNA wrote:

 [snip] ... but nothing goes from dc0 to rl0, for some reason beyond
 me. Here's a snippet of my rc.conf if it helps:

 ifconfig_rl0=DHCP
 ifconfig_dc0=inet 192.168.0.1 netmask 255.255.255.0
 gateway_enable=YES
 natd_enable=YES
 natd_interface=rl0
 natd_flags=
 firewall_enable=YES
 firewall_type=OPEN

 Is there any thing wrong with those lines? I could type out my entire
 rc.conf if it's necessary... Anyone else have similar problems?

You may need to add a natd.conf file in /etc, and change one of your
rc.conf lines to point to it:

natd_flags=-f /etc/natd.conf  # Additional flags for natd.

My /etc/natd.conf looks like this, in its entirety:

use_sockets yes
same_ports yes
unregistered_only yes

...but it's on an ancient machine and things may have changed by now.
man natd for more info.

HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]

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


remote restart of natd

2004-03-16 Thread RYAN vAN GINNEKEN
Is there a way to restart natd remotely without disconnecting myself 
using freebsd 4.9 stable.  Have been playing around with the natd.conf 
file and would like to see if it works or not and do not want to reboot 
EVER.!! or be disconnected



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


Re: qmail-scanner.pl and perl 5.8?

2004-03-16 Thread Steve Ireland

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 20:54
Subject: qmail-scanner.pl and perl 5.8?


snip
 if I look in /usr/bin I see:

 lrwxr-xr-x   1 root  wheel23 Nov  6 11:49 suidperl -
 /usr/local/bin/suidperl

 if I do a ls -l /usr/local/bin | grep suidperl I get nothing.  So the
 SymLink is pointing to nothing?

 I did:
 cd /usr/ports/lang/perl5.8
 make install clean
 use.perl port

 Should I not use perl 5.8?  did they remove the suidperl in 5.8?  If
you
 are wondering yes I cvsup my ports to the current.
snip

Did you uncomment ENABLE_SUIDPERL=   true in your make.conf?


Regards,

Steve

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


  1   2   >