RE: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Xu Qiang
Vizion wrote:
 I will try and find out for you if someone else with a better memory
 than I gets there first

After some research, I found that i need to install ports/misc/compat4x, either 
through ports, or pkg_add -r. The problem is: my FreeBSD machine cannot 
connect to outside. 

In this case, is there a compiled libc.so.4 file in any FreeBSD repository that 
can be visited by web browser?

thanks, 

Regards,
Xu Qiang


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


syslogd and pipe to email

2005-05-30 Thread Jim Pazarena

I would like to email some kernel.warning messages
to myself via the pipe action in syslog.conf, but I'm
getting hung up on the fact that the pipe stays open
(unless I HUP syslogd).

The man page suggests that a script wrapper can be
written to capture one line output and exit, but I wonder
if there is any other method, such as an option/flag
I am missing to terminate the pipe after, say, 30 seconds?
I would rather have a script which waits at least 30 seconds
before terminating rather than after one line, because some
of the records I am looking for are multi-line, and I'm not
sure if a script can be made to timeout.

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


web protection

2005-05-30 Thread Mad Unix
I have the internal web sitehttp://10.5.5.5 which monitor the internet
usage of my employee I want to implemet web-based user authentication
using HTAcess with valid username and password.

How can I implement this mechanisms?

squid# uname -a
FreeBSD squid  5.1-RELEASE FreeBSD 5.1-RELEASE #3

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


How to achive Raid5 encryption

2005-05-30 Thread prasadam kumar

 hai to all,
 
 I am working Raid5 storage device, i want to encrypt
my Raid5 device for security purpose. To achive this
feature file system independent i wrote my encryption
algorithm in raid5 device driver(in target side), but
it is producing junck data in my device. The problem 
here i am encountring is that i don't have any file
system in target side and i am unable to differentatie
super block and data block in the target side, even
though i tryed in low level block
drivers also but the same problem is comming. plz is
there any another solution to achive this feature.

 

regards
ppk
 

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


Re: Online Capacity Expansion, RAID, Etc.

2005-05-30 Thread Chad Leigh -- Shire.Net LLC


On May 29, 2005, at 5:24 PM, Nikolas Britton wrote:


Wojciech Puchar wrote:


to be starting the array in a RAID 1 config using 2 drives, I  
will then migrate, and grow, the array to RAID 5 using the ORLM  
and OCE features of the board when more space is required.  
FreeBSD, RELENG_5_4, will NOT be install on this array, it will  
be on a separate RAID 1 array using the motherboard's on-board  
SATA RAID controller.





how about buying two 4-port SATA PCI board to your server and use  
software RAID.




2x PROMISE TX4 PCI-X SATA Controller ($65) $130
PROMISE SX8-O PCI-X SATA Controller Card $164:
8 SATA Ports
PCI-X

HighPoint RocketRAID 2220 PCI-X SATA-II RAID Controller $249:
8 SATA Ports.
PCI-X.
XOR Engine.
64bit LBA.
HotSwap.
HotSpare.
Online Capacity Expansion.
Online RAID Level Migration.
Can connect two of them together with a jumper cable for a 16 Port  
RAID card.
RAID Management Program, Will email me if RAID is degraded, auto  
rebuild of RAID, etc.
The company supports FreeBSD and provides* drivers for FreeBSD,  
Also I'm happy with a past product I bought from them.


*Read the author section of the hptmv man page and go here:
http://www.highpoint-tech.com/USA/bios_rr1820a.htm



If you are using a REAL HW raid card (and this seems to be one from  
your description) I would use it any day over a software raid.  I  
like all that stuff to be done before the OS sees the disk.  I have  
not used the HighPoint Rocket Raid 2220 (I have a RR 1820a but only  
use it as a fancy SATA card) but have used Adaptec u160 and u320 and  
SATA cards.  Much easier to deal with setting up and getting things  
to work.


Software Raid can be useful, but I prefer true HW raid for anything  
important and heavily used.


Think about RAID 10 instead of 5 for performance reasons (so I have  
heard).


Chad

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


Re: web protection

2005-05-30 Thread Robert Slade
On Mon, 2005-05-30 at 08:03, Mad Unix wrote:
 I have the internal web sitehttp://10.5.5.5 which monitor the internet
 usage of my employee I want to implemet web-based user authentication
 using HTAcess with valid username and password.
 
 How can I implement this mechanisms?
 
 squid# uname -a
 FreeBSD squid  5.1-RELEASE FreeBSD 5.1-RELEASE #3
 
 Thanks

This is well documented on the Apache site

Rob 

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


web protection

2005-05-30 Thread Mad Unix
I used this link http://faq.web2010.com/htaccess.htm
but still cant see the effect of protection

squid# pwd
/var/www/html/squid-reports
squid# ls -al
total 646
drwxr-xr-x  25 root  wheel   1024 May 30 12:56 .
drwxr-xr-x   3 root  wheel512 Jan 28  2004 ..
-rw-r--r--   1 root  wheel125 May 30 13:13 .htaccess
-rw-r--r--   1 root  wheel 20 May 30 13:28 .htpasswd
drwxr-xr-x   2 root  wheel  24576 Oct  3  2004 2004Oct03-2004Oct03
drwxr-xr-x   2 root  wheel  36864 Sep 16  2004 2004Sep15-2004Sep15
-rw-r--r--   1 root  wheel   9893 May 29 17:20 index.html


I created the .htpasswd via
htpasswd -c .htpasswd proxy
and vi.htaccess is
AuthUserFile /var/www/html/squid-reports/.htpasswd
AuthGroupFile /dev/null/
AuthName proxy
AuthType Basic
Require valid-user

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


Re: epoch-calendar date(1) wizardry

2005-05-30 Thread Giorgos Keramidas
On 2005-05-30 03:35, markzero [EMAIL PROTECTED] wrote:
 Hello,
 How may one pretty print an epoch timestamp using date(1)? The date
 manual page gives me a headache.

 Essentially, I have the timestamp in a file:

 $ cat t
 1117417465

$ date -j -f '%s' 1117417465 '+%Y/%m/%d %T %z'
2005/05/30 04:44:25 +0300

The -j and -f options, when combined together, can help you convert
practically any format that strptime(3) can read and parse to any time
strftime(3) can print.

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


Re: epoch-calendar date(1) wizardry

2005-05-30 Thread markzero
On Mon, May 30, 2005 at 01:32:37PM +0300, Giorgos Keramidas wrote:
 On 2005-05-30 03:35, markzero [EMAIL PROTECTED] wrote:
  Hello,
  How may one pretty print an epoch timestamp using date(1)? The date
  manual page gives me a headache.
 
  Essentially, I have the timestamp in a file:
 
  $ cat t
  1117417465
 
   $ date -j -f '%s' 1117417465 '+%Y/%m/%d %T %z'
   2005/05/30 04:44:25 +0300
 
 The -j and -f options, when combined together, can help you convert
 practically any format that strptime(3) can read and parse to any time
 strftime(3) can print.

Sounds good.

I think the main problem was the fact that I had everything upside
down and back to front.

Cheers!
Mark

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


pgpHkApMQIvWX.pgp
Description: PGP signature


Re: FreeBSD 5.x forgetting passwords.

2005-05-30 Thread Eugene M. Minkovskii
On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote:
 Hi,
 I am running a FreeBSD 5.1 system and some time ago it startet to 
 forget some user passwords.
 As the system is now running for over 2 years I cannot imagine any 
 reason why this shound be.
 Any ideas.

root# su user
user$ passwd
newpasswd
newpasswd
user$ exit



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

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


Using serial port as non-root user

2005-05-30 Thread Iain Dooley

hello, i'm running:

[EMAIL PROTECTED] uname -a
FreeBSD piper.iaindooley.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Mon May 30 
19:43:26 GMT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PIPER  i386

ls -la /dev | grep cuaa0 gives:

crw-rw   1 uucp  dialer 28, 128 May 30 21:49 cuaa0

i want to access cuaa0 using cutecom as a non-root user. so i tried:

pw groupmod dialer -m iain

now a groupshow gives me:

[EMAIL PROTECTED] pw groupshow dialer
dialer:*:68:iain

but i still can't successfully open this file when i run cutecom as user 
'iain'. if i run as user 'root' it works fine.

what am i missing??

cheers

iain

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


Testing a DHCP server without jeopardizing my IP configuration?

2005-05-30 Thread Rob

Hi,

I have remote root-access to a FreeBSD 4.11 PC
inside a private network. The IP of this PC is fixed,
but all other Windows PCs on the network obtain their
IP number via DHCP from another gateway/router.

I have no access to the gateway/router.

There is possibly a problem with the DHCP server.
Although the gateway still functions as a gateway,
the DHCP server might not be handing out IP numbers
anymore (I suspect that the dhclients of the Windows
PCs are desperately hanging on to their old IP
numbers, although already expired).

I want to communicate with the DHCP server from my
FreeBSD system and find out whether it is or is not
handing out IP numbers anymore. However, I want to
do this without jeopardizing the FreeBSD's IP
configuration.

Is there a way to test the DHCP server, without
running dhclient and thus without losing my FreeBSD
system's IP configuration?

Thank you,
Rob.

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


Re: web protection

2005-05-30 Thread albi
On Mon, 30 May 2005 14:28:47 +0400
Mad Unix [EMAIL PROTECTED] wrote:

 I used this link http://faq.web2010.com/htaccess.htm
 but still cant see the effect of protection
--- cut ---
 I created the .htpasswd via
 htpasswd -c .htpasswd proxy
 and vi.htaccess is
 AuthUserFile /var/www/html/squid-reports/.htpasswd

it's recommended to place the passwd-file outside the www-tree

 AuthGroupFile /dev/null/
 AuthName proxy
 AuthType Basic
 Require valid-user

user proxy does exist ?
did you load the auth-module in apache ?

the following might be useful :
http://httpd.apache.org/docs/howto/auth.html
http://httpd.apache.org/docs-2.0/howto/auth.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD burners and the Adaptec 2200S RAID controller...

2005-05-30 Thread Olaf Greve

Hi,

Tnx again for your answer!


Most of what you need is already in the GENERIC kernel. The rest is a
available as modules. IIRC, you have to load the cam.ko module.

Just use the ATAPI DVD burner via CAM. AFAICT it's very stable. I
haven't burnt a coaster yet. An SCSI DVD burner is bound to be more
expensive. 


Tnx, I'll go for an ATAPI IDE DVD burner then. Sounds like a good option 
and less troublesome than using a SCSI one.


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


Re: Seagate HD not detected by FreeBSD

2005-05-30 Thread Svein Halvor Halvorsen

* Erik Trulsson [2005-05-29 14:09 +0200]
  Although it is theoretically fine to have just a slave device on an IDE
  channel without a master device, that configuration fails to work in
  many cases.  If it fails to work it is probably a bug in some component
  of the system, but that doesn't help the person having the problem.
  
  If you have just a single IDE device on an IDE channel it should be
  configured as master, not as slave.  Having it configured as slave is
  supposed to work, but often does not work and is therefore not
  recommended.


It seems you are right!
However, there should be no need for a slave-only setup anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Seagate HD not detected by FreeBSD

2005-05-30 Thread Svein Halvor Halvorsen

* Ted Mittelstaedt [2005-05-29 10:28 -0700]
  According to the UDMA/66/100/133 standard [...]
:
  So yes, there is something wrong with a primary master and a secondary 
  slave.  Just because it works on a lot of motherboards, and just 
  because it worked in the past on old incorrectly manufactured IDE 
  cables, running in PIO mode, doesen't make it per-standard, and 
  definitely doesen't make it right electrically if using CS, as per the 
  standard.  As I said already, motherboards take a lot of shortcuts and 
  do a lot of non-standard things.


You are right, it's not a UDMA standard per se! And I was wrong to say 
that there was *nothing* wrong with that setup. However, it was not 
*entirely* wrong, either (allthough a peculiar setup). It's just that it's 
always worked for me, but it seems I was lucky.


Btw, do you have any pointers to that standard?
And also; could you try to fix your line lenght problem?


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


Obese mail messages (was: Re: drivers)

2005-05-30 Thread Jerry Dunham
On 30 May 2005 at 10:03, Greg 'groggy' Lehey wrote:

 On Monday, 30 May 2005 at  9:39:04 +0930, Tim Aslat wrote:
  On Mon, 30 May 2005 08:42:26 +0930
  Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 
  Nowhere is a good place to send 10 MB of illegible log output.  Please
  don't.
 
  I agree.
 
  Do you really expect people to read this?  It's incorrectly coded, and
  it's far too long.  Many people pay for their mail; you have cost me
  personally $2.00 to download this message.
 
  Knowing what kind of setup you have Greg, I can believe that.
 
  Although it has opened up a rather large can of worms.  Can the list
  maintainers restrict message sizes to less than a meg?  I honestly
  can't imagine any possible reason for sending an attachment larger than
  500K (shar files, etc) to a public mailing list.
 
  Is it worth looking into doing this, or am I barking up the wrong
  metaphor?
 
 I suppose it's reasonable.  On the other hand, in my recollection this
 is the first time this has happened.

If this is the first time it's happened, then setting a 1 MB (or 2 MB) 
limit won't affect many people, nor will it affect anyone you don't want 
to affect.  I think a limit is quite reasonable.

If someone on the list has something really large to send, he or she can 
always offer it first, and then only those truly interested will reply 
and can get it directly, off list, saving the rest of the list membership 
the time and expense.


--
Jerry Dunham
[EMAIL PROTECTED]

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


Cannot enable ACLs

2005-05-30 Thread Heinrich Rebehn

Hi list,

I have no luck trying to enable ACLs on my UFS2 filesystem:

#

[EMAIL PROTECTED] [~] # mount -u -o ro /export/linux/root
[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, read-only, 
soft-updates)


[EMAIL PROTECTED] [~] # tunefs -a enable /export/linux/root
tunefs: ACLs set
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) enabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

[EMAIL PROTECTED] [~] # mount -u -o rw /export/linux/root
[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
[EMAIL PROTECTED] [~] #

##

As you can see, if i mount the fs r/o, i can enable ACLs, but as soon as 
i remount r/w again, ACLs are disabled again.

According to the handbook, this should work.
What am i missing?

[EMAIL PROTECTED] [~] # uname -a
FreeBSD antsrv1.ant.uni-bremen.de 5.3-RELEASE-p15 FreeBSD 
5.3-RELEASE-p15 #13: Fri May 13 09:35:22 CEST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ANTSRV1  i386


Regards,

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.11-RELEASE install error

2005-05-30 Thread Steven Friedrich
On Sunday 29 May 2005 09:35 pm, Ted Mittelstaedt wrote:
 Scratch the entire thing and start over.  Next time, do the minimal
 install, and do NOT do an x-user install.  Do not install ports.

 Once the system is running, cvsup a current ports collection then
 make install on x, gnome,  kde.

 What is supplied with 4.11-release is old and a number of utilities -
 like firefox - will not build on it anymore.

 Ted

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Steven
  Friedrich
  Sent: Sunday, May 29, 2005 2:37 PM
  To: freebsd-questions@freebsd.org
  Subject: 4.11-RELEASE install error
 
 
  I'm installing via ftp from one of my own servers where I
  copied disc1-gnome,
  disc2.
 
  I did a minimal install and a x-user install, selecting gnome.
  These two installs worked fine.
 
  Then I copied disc1-kde into the same directory that the
  previous two discs
  went into.
 
  This time I elected x-user install and I elected to install
  linux compat
  (which I had done during the gnome install as well).
 
  It aborted with:
  Add of package linux_base-8-8.0_4 aborted, error code 1 -
  Please check the
  debug screen for more info.
 
  The debug screen says:
  snip
  ./share/perl/man/cat3 missing (created)
  /usr/bin/tar: Skipping to next header
  /usr/bin/tar: Archive contains obsolescent base-64 headers
 
  gzip: stdin: invalid compressed data--crc error
  /usr/bin/tar: Child returned status 1
  /usr/bin/tar: Error exit delayed from previous errors
  pkg_add: tar extract of - failed!
  pkg_add: unable to extract table of contents file from '-' -
  not a package?
 
 
  --
  i386 FreeBSD 4.11-STABLE
  There are 10 types of people in this world. Ones that
  understand binary and
  then, the others.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

I don't want to offend anyone, but is this the official FreeBSD.org position?

I had hoped that 4.11 would be the crown jewel of the 4.x series and would be 
worth buying on CD or DVD.  I know that what Ted says is the unpolished 
truth. I've went thru various installs, selecting different configs each time 
and I noticed that KDE 3.4 wasn't in 4.11-RELEASE.

I wish the core team saw each release as a milestone captured in posterity.

Anyway, I performed a couple installs last night directly from CD rather than 
the ftp directory that I created with cp -R /cdrom/* .

I notice that during a CD install, the progress bar sometimes appears to back 
up, perhaps indicating a read that has to be performed again.  Perhaps when I 
use cp, there isn't anything detecting these read errors and I get corrupt 
data?

So to check out this theory, I downloaded the ISOs again and I'm going to 
mount them and cp into the directory again.

I love Unix in general and FreeBSD in particular.  I wish the core team 
wouldn't turn their back on the 4.x series so quickly.  Please, please, 
please schedule a 4.12 release that's as pristine as possible.

-- 
i386 FreeBSD 4.11-STABLE
There are 10 types of people in this world. Ones that understand binary and 
then, the others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Vizion
On Sunday 29 May 2005 23:17,  the author Xu Qiang contributed to the dialogue 
on-
 RE: jdk 1.3.1 in FreeBSD: 

Vizion wrote:
 I will try and find out for you if someone else with a better memory
 than I gets there first

After some research, I found that i need to install ports/misc/compat4x,
 either through ports, or pkg_add -r. The problem is: my FreeBSD machine
 cannot connect to outside.

In this case, is there a compiled libc.so.4 file in any FreeBSD repository
 that can be visited by web browser?

thanks,

Regards,
Xu Qiang

I have the sources - I could email then to you

David

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.11-RELEASE install error

2005-05-30 Thread Dick Hoogendijk
On 29 May Ted Mittelstaedt wrote:
 
 What is supplied with 4.11-release is old and a number of utilities -
 like firefox - will not build on it anymore.

I run two 4.11-stable machines here and both compile firefox from ports
very fine still.
I did not come across packages (yet) that did not compile on 4.11
I *know* they exist but they're not the 'popular' ones.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can I mount an ISO image directly with mount?

2005-05-30 Thread Steven Friedrich
I believe I read a posting over a year ago, that stated that you could mount 
an ISO file directly with mount.

I searched the archives but couldn't find it.
I searched the FAQ and handbook as well.

I do see a section in the handbook about doing it with vn, but I want to know 
if it's possible with mount alone.

-- 
i386 FreeBSD 4.11-STABLE
There are 10 types of people in this world. Ones that understand binary and 
then, the others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone had any luck getting Lexmark Z32 to work?

2005-05-30 Thread Roland Smith
On Mon, May 30, 2005 at 11:12:02AM +0200, Andreas Davour wrote:
 
 I have looked at apsfilter, and did some half-hearted attempts at 
 understand the www.linuxprinting.com site.

According to
http://www.linuxprinting.org/show_printer.cgi?recnum=Lexmark-Z32
it works partially, and requires a binary-only linux driver to work
properly. Maybe you could use it with linux emulation?

 Are there anyone here who have used a Lexmark Z32 successfully with 
 FreeBSD?

I'd advise you to sell this printer and buy another one. Check
linuxprinting.org before you buy, or buy a postscript printer.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpzdhriRUM7s.pgp
Description: PGP signature


Re: Can I mount an ISO image directly with mount?

2005-05-30 Thread Bjoern Koenig

Steven Friedrich wrote:

I believe I read a posting over a year ago, that stated that you could mount 
an ISO file directly with mount.


Indirectly.

# mdconfig -a -f filename.iso
md3
# mount_cd9660 /dev/md3 /cdrom


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


Re: Can I mount an ISO image directly with mount?

2005-05-30 Thread Bjoern Koenig

If you use 4.x then see

http://www.freebsddiary.org/iso-mount.php

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


AE_NO_ACPI_TABLES: Is BIOS Update the First Step?

2005-05-30 Thread David Marshall
Hi,

My boss just put a new server in our colo.  It has a Tyan Thunder K8SR
motherboard with 2 Opterons.  When I boot an SMP kernel, dmesg.boot
includes the following:

CPU: AMD Opteron(tm) Processor 246 (1991.88-MHz K8-class CPU)
 Origin = AuthenticAMD  Id = 0xf58  Stepping = 8
 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow
real memory  = 2147483648 (2048 MB)
avail memory = 2061676544 (1966 MB)
   ACPI-0159: *** Error: AcpiLoadTables: Could not get RSDP, AE_NO_ACPI_TABLES
   ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NO_ACPI_TABL
ES
ACPI: table load failed: AE_NO_ACPI_TABLES

My searches have indicated that the most prevalent causes of this are
ACPI not being enabled or an out-of-date BIOS.  The motherboard manual
indicates that ACPI is enabled by default, so should our next step be
just to update the BIOS and hope for the best?

Is there a clever way to determine our BIOS version without physically
accessing the server?

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


Re: SB Awe 64 ISA PNP Problem Model CT4500

2005-05-30 Thread Alex Zbyslaw

Richard Heldmann wrote:

I am a newbie and have installed the 5.4 Release.  I've configured the 
wireless network, nvidia-driver, and xorg.  I've also recompiled the kernel 
to include the sound driver and snd_sbc for my sound card.  Thanks to the 
developers of FreeBSD, contributors to the handbook, the book, The Complete 
FreeBSD and Google for making it possible.


Unfortunately, the sound card is not working.  Please see the attached dmesg 
log, and let me know if you have any ideas on how I can fix it.
 


In 5.X it is better *not* to compile the sound card (and many other) drivers 
directly into the kernel, but to load them as modules when the machine boots.  
This makes it easier e.g. to change drivers when you change sound cards.

I have no idea if your sound card is supported or not.  To found out, do
cd /boot/kernel
ls snd_*

then one at a time

kldload snd_{next driver}

until you load one which produces some messages on the console about 
recognising your hardware.

Then put a line in /boot/loader.conf like

snd_{your driver}_load=YES

e.g.

snd_driver_load=YES

which catches my AC97 on-board sound hardware.

--Alex


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


Re: Can I mount an ISO image directly with mount?

2005-05-30 Thread Can Berk Guder
OK, here's how you do it on Linux:

# mount -o loop -t iso9660 ISO filename mount destination

eg.: # mount -o loop -t iso9660 /home/steven/5.4-RELEASE-i386-disc1.iso
/var/ftp/pub/freebsd-5.4/

Apparently, however this doesn't work on FreeBSD. AFAIK, this should work:

# mdconfig -a -t vnode -f ISO filename -u 0
# mount -t cd9660 /dev/md0 mount destination

eg.:

# mdconfig -a -t vnode -f /home/steven/5.4-RELEASE-i386-disc1.iso -u 0
# mount -t cd9660 /dev/md0 /var/ftp/pub/freebsd-5.4/

Regards,
-- 
Can Berk Guder
Sabanci University
Istanbul, Turkey

Quoting Steven Friedrich [EMAIL PROTECTED]:

 I believe I read a posting over a year ago, that stated that you could mount
 
 an ISO file directly with mount.
 
 I searched the archives but couldn't find it.
 I searched the FAQ and handbook as well.
 
 I do see a section in the handbook about doing it with vn, but I want to know
 
 if it's possible with mount alone.
 
 -- 
 i386 FreeBSD 4.11-STABLE
 There are 10 types of people in this world. Ones that understand binary and
 
 then, the others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Testing a DHCP server without jeopardizing my IP configuration?

2005-05-30 Thread Tomas Quintero
On 5/30/05, Rob [EMAIL PROTECTED] wrote:
 Is there a way to test the DHCP server, without
 running dhclient and thus without losing my FreeBSD
 system's IP configuration?

I'm just throwing a random idea out here, I have no clue if it'd
actually work, but what about putting an alias in your rc.conf and
setting it to pull its IP from DHCP?

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


Re: 4.11-RELEASE install error

2005-05-30 Thread Dmitry Mityugov
On 5/30/05, Steven Friedrich [EMAIL PROTECTED] wrote:
...
 I notice that during a CD install, the progress bar sometimes appears to back
 up, perhaps indicating a read that has to be performed again.  Perhaps when I
 use cp, there isn't anything detecting these read errors and I get corrupt
 data?
...

No, that's just wrong code. You can see it with 5.4 as well, you'll
just need to pay a bit more attention.

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


[Almost solved] Cannot enable ACLs

2005-05-30 Thread Heinrich Rebehn

Heinrich Rebehn wrote:

Hi list,

I have no luck trying to enable ACLs on my UFS2 filesystem:

#

[EMAIL PROTECTED] [~] # mount -u -o ro /export/linux/root
[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, read-only, 
soft-updates)


[EMAIL PROTECTED] [~] # tunefs -a enable /export/linux/root
tunefs: ACLs set
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) enabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

[EMAIL PROTECTED] [~] # mount -u -o rw /export/linux/root
[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
[EMAIL PROTECTED] [~] #

##

As you can see, if i mount the fs r/o, i can enable ACLs, but as soon as 
i remount r/w again, ACLs are disabled again.

According to the handbook, this should work.
What am i missing?

[EMAIL PROTECTED] [~] # uname -a
FreeBSD antsrv1.ant.uni-bremen.de 5.3-RELEASE-p15 FreeBSD 
5.3-RELEASE-p15 #13: Fri May 13 09:35:22 CEST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ANTSRV1  i386



I found out what i was missing:
kernel: WARNING: /export/linux/root was not properly dismounted

After doing an fsck which found and corrected some errors, i tried again.
Now tunefs reports:
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

Yet mount says:

  [EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, 
soft-updates, acls)


And ACLs *do* work:

[EMAIL PROTECTED] [/export/linux/root/debian/usr/local/share] # ls -ld 
wallpaper/
drwxrwxr-x+ 2 root  wheel  512 May 30 16:05 wallpaper/
[EMAIL PROTECTED] [/export/linux/root/debian/usr/local/share] # getfacl 
wallpaper
#file:wallpaper
#owner:0
#group:0
user::rwx
user:rebehn:rwx
group::r-x
mask::rwx
other::r-x

User rebehn is able to write to the directory wallpaper.

Strange, that tunefs still reports that acls are disabled.


--Heinrich

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


RE: HP LC II Netserver PNP BIOS

2005-05-30 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Spent several sleepless nights searching
hp's site before asking my question. Guess
I refused to accept the obvious, that you
could only reserve resources for non pnp
devices that fbsd couldn't probe. I also
tried acpi, since the docs say it has a
different method of probing. See, I did
read it. I just hoped someone else might
know something I'd missed or didn't under-
stand. Always try to do my research before
posting on here. Don't always understand
what I read, but I keep reading. And I don't
post questions like Help, or I can't
install FreeBSD, what'll I do? But hey,
thanks for being there, old sport.


On Sun, 29 May 2005, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Denny White
Sent: Sunday, May 29, 2005 3:40 PM
To: freebsd-questions@freebsd.org
Subject: HP LC II Netserver PNP BIOS


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Okay, the following definitely shows the
BIOS in this old Netserver is PNP. I ran
biosdecode on it and got this:

Slot Entry 10: ID 00:0d, on-board

Can anyone tell me how to disable PNP in this
particular computer? I have no manual on it.


http://h2.www2.hp.com/bizsupport/TechSupport/Resource.jsp?locale=en_U
StaskId=115prodSeriesId=50440prodTypeId=15351


RTFM first, then come here.

Ted

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




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCm0gqy0Ty5RZE55oRArjVAJ0Zo4ZnLeP3pS6j0wg86qNnQMG0uQCgw8RI
7J/Uipixx4KIAcfoMLAZFAM=
=pYax
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tape record bigger than supplied buffer

2005-05-30 Thread Damian Sobieralski

  I realize that I posted this earlier this weekend but with the
American holiday weekend, I am worried some people didn't see it.  I
really could use any opinion on this as tape backups are really new to
me.

 I'm test piloting bacula on a FreeBSD 5.4-REL system.  All seemed to
work well in monitored tests. So last night I set up a job to run at
night.  When I came in this morning, all seemed to go well...the
backup happened but I noticed 3 messages on the console:
 
(sa0:ahc0:0:6:0): 65536-byte tape record bigger than supplied buffer
(sa0:ahc0:0:6:0): 65536-byte tape record bigger than supplied buffer
(sa0:ahc0:0:6:0): 65536-byte tape record bigger than supplied buffer

  The backup seemed to go okay as I restored several files off of that
tape with no problems.  Realizing the console messages mean what it
does at face value, was any data lost(should i take this as a warning
or as an error) ?
 
  Thnak you for any experience that you can share with me on tape
backups.

- Damian

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


Re: Error installing FreeBSd 5.3 AMD 64 bit-Highpoint 1820A

2005-05-30 Thread Amandeep

Steven Hartland wrote:


Sounds like u have followed the install guide with the drivers.
I couldn't get that to work ( without ACPI ) I had to install with
ACPI but this was 5.4-RELEASE but using the 5.3 driver from
highpoints site as there wasn't a 5.4 driver available.
1. Boot from cd
2. got to boot prompt, load the driver from floppy
3. unplug the floppy ( must to this as floppy under amd64 is
broken )
4. boot the kernel and install.

Notes:
1. I was using a RAID 5 array 5 disks * 400Gb.
2. Create the array using 16 k stripe or the performance will be
poor.

- Original Message - From: Amandeep [EMAIL PROTECTED]

I am instalaling FreeBSD 5.3 AMD 64 bit with  6- 200GB drives. Using 
Higpoint 1820A controller and doing RAID 10. I am using drivers for 
the card from Highpoint Web.


The problem is when I make the partitions and the machine tries to 
format the partitions it says:


unable to find device node for /dev/da0s1b under /dev!

and then it comes out.

Any ideas what is going on. Also tried making two slices no luck.






This e.mail is private and confidential between Multiplay (UK) Ltd. 
and the person or entity to whom it is addressed. In the event of 
misdirection, the recipient is prohibited from using, copying, 
printing or otherwise disseminating it or any information contained in 
it.
In the event of misdirection, illegible or incomplete transmission 
please telephone (023) 8024 3137

or return the E.mail to [EMAIL PROTECTED]

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



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



Hi all,

Ok, The 3ware and Highpoint works fine with 4GB of RAM. But I can hook 
another 4GB wiht 3ware and it works fine wiht 8GB but thats not the case 
for Highpoint.

Highpoint dont work with installation of 4GB and then inserting 4GB.
And it works fine wiht ACPi disables and floppy is present.

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


Clients receive only first 4k (issue with pf.conf) -- ignore others

2005-05-30 Thread Scott Stevenson
(First, I apologize if there are duplicates sent to the list, but  
that's related to the question.)



I originally asked about this back in February:

http://monkey.org/freebsd/archive/freebsd-questions/200502/ 
msg03071.html


Then just posted again recently with more details:

http://monkey.org/freebsd/archive/freebsd-questions/200505/ 
msg00846.html



Essentially, certain web client only receive the first 4096 bytes of  
the file they request, then a garbage byte, then nothing. I *finally*  
figured out that pf was responsible. Specifically, this line in pf.conf:


pass  out on $ext_if proto { tcp, udp } all keep state

Everything's fine with Apache if I change it to this:

pass  out on $ext_if proto { tcp, udp } all


The problem is that if I use the version without keep state, the  
machine can't send outbound mail, and I see messages like this in  
maillog:


May 30 09:14:33 vertigo qmail: 1117469673.126013 delivery  
639634: deferral

Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

In fact, I tried to send this message to the list twice yesterday,  
but realized that mail packets were being filtered out. I looked at  
pflog0 while mail was being sent, but I wasn't able to find the  
bounced packets. Here's the relevant smtp line:


pass  in  quick on $ext_if proto { tcp, udp } from any to any  
port 25



I'm much more familiar with the firewalls bundled with various linux  
distributions, so I'm really stumped. I've read through various  
sections of the PF faq, but I haven't found an answer to this.



Thanks,

   - Scott




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


Re: Clients receive only first 4k (issue with pf.conf) -- ignore others

2005-05-30 Thread Scott Stevenson


On May 30, 2005, at 9:23 AM, Scott Stevenson wrote:

The problem is that if I use the version without keep state, the  
machine can't send outbound mail, and I see messages like this in  
maillog:


May 30 09:14:33 vertigo qmail: 1117469673.126013 delivery  
639634: deferral

Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

In fact, I tried to send this message to the list twice yesterday,  
but realized that mail packets were being filtered out. I looked at  
pflog0 while mail was being sent, but I wasn't able to find the  
bounced packets. Here's the relevant smtp line:


pass  in  quick on $ext_if proto { tcp, udp } from any to any  
port 25



I'm much more familiar with the firewalls bundled with various  
linux distributions, so I'm really stumped. I've read through  
various sections of the PF faq, but I haven't found an answer to this.



Sorry to post *yet again* on this, but I think I finally figured out  
what was wrong. I want to post a follow-up for the archives. The  
solution to partial page Apache problem was to balance the keep  
state directives.



Originally, the httpd line looked like this:

pass  in  quick on $ext_if proto { tcp, udp } from any to any  
port 80


And the out line looked like this:

pass  out on $ext_if proto { tcp, udp } all keep state


The solution was to change the httpd line to this:

pass  in  quick on $ext_if proto { tcp, udp } from any to any  
port 80 keep state



Does it make sense that I'd need keep state for both in and out, or  
is this a PF bug? Should I add it to these as well?


pass  in  quick on $ext_if proto { tcp, udp } from any to any  
port 25
pass  in  quick on $ext_if proto { tcp, udp } from any to any  
port 53



Thanks, and sorry again for the duplicate messages.

- Scott



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


Clients receive only first 4k (issue with pf.conf)

2005-05-30 Thread Scott Stevenson

I originally asked about this back in February:

http://www.monkey.org/freebsd/archive/freebsd-questions/200502/ 
msg03071.html


Then just posted again recently with more details:

http://monkey.org/freebsd/archive/freebsd-questions/200505/ 
msg00846.html



I *finally* figured out that pf was responsible. Specifically, this  
line:


out on $ext_if proto { tcp, udp } all keep state

Everything's fine if I change it to this:

out on $ext_if proto { tcp, udp } all


The stock version of pf.conf has the keep state version, though  
it's commented out by default. Is this a bug in pf, or is it normal  
behavior? Is it reasonable to use the version without the keep  
state qualifier?



Thanks,

   - Scott



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


Re: Can I mount an ISO image directly with mount?

2005-05-30 Thread Wayne Sierke
On Mon, 2005-05-30 at 11:01 -0400, Steven Friedrich wrote:
 I believe I read a posting over a year ago, that stated that you could mount 
 an ISO file directly with mount.
 
 I searched the archives but couldn't find it.
 I searched the FAQ and handbook as well.
 
 I do see a section in the handbook about doing it with vn, but I want to know 
 if it's possible with mount alone.

This works for me on 5.4...

mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f /path/to/file.iso` /mount-point


and hopefully won't have dramatic consequences if the mdconfig fails!

I don't have any 4.x systems so you'd have to compare the options for
vnconfig(?) if that's what you have.

I don't have the script-fu to suggest how you might set about undoing it
all in one line, since you'd have to do an unmount before you could
perform the required mdconfig -d, and hence lose the chance to do
something like:

mdconfig -d -u`mount | grep /mount-point | cut ... `


so you'd probably have to script it. Although ...

set mdvar=`mount | grep /mount-point | cut -c 8-8`  umount /mount-point  
mdconfig -d -u $mdvar  unset mdvar


seems to work (but comes with a multitude of disclaimers about fitness
for purpose and possible health risks!). Hopefully you're not looking
for command-line shortcuts.


Wayne


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


Re: Clients receive only first 4k (issue with pf.conf) -- ignore others

2005-05-30 Thread Giorgos Keramidas
On 2005-05-30 11:31, Scott Stevenson [EMAIL PROTECTED] wrote:
 On May 30, 2005, at 9:23 AM, Scott Stevenson wrote:
 The problem is that if I use the version without keep state, the
 machine can't send outbound mail, and I see messages like this in
 maillog:
 
 May 30 09:14:33 vertigo qmail: 1117469673.126013 delivery 639634: 
  deferral
 Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
 
 In fact, I tried to send this message to the list twice yesterday,
 but realized that mail packets were being filtered out. I looked at
 pflog0 while mail was being sent, but I wasn't able to find the
 bounced packets. Here's the relevant smtp line:
 
 pass  in  quick on $ext_if proto { tcp, udp } from any to any port 25
 
 
 I'm much more familiar with the firewalls bundled with various linux
 distributions, so I'm really stumped. I've read through various
 sections of the PF faq, but I haven't found an answer to this.

 Sorry to post *yet again* on this, but I think I finally figured out
 what was wrong. I want to post a follow-up for the archives. The
 solution to partial page Apache problem was to balance the keep
 state directives.


 Originally, the httpd line looked like this:

 pass  in  quick on $ext_if proto { tcp, udp } from any to any port 80

 And the out line looked like this:

 pass  out on $ext_if proto { tcp, udp } all keep state

 The solution was to change the httpd line to this:

 pass  in  quick on $ext_if proto { tcp, udp } from any to any port 80 
 keep state

 Does it make sense that I'd need keep state for both in and out, or
 is this a PF bug?

Yes, it makes sense.  This is the correct way to do it.

 Should I add it to these as well?

 pass  in  quick on $ext_if proto { tcp, udp } from any to any port 25
 pass  in  quick on $ext_if proto { tcp, udp } from any to any port 53

Yes, if you want those services visible from the outside.

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


help with corrupted MAC error

2005-05-30 Thread D. Goss

Hi -

I need some help please.  I'm running FreeBSD 5.3 on an xSeries 345.   
I am not running 5.4 as I need to use some software that currently  
supports 5.3.  I have a clean installation yet when I attempt to do  
large file transfers (I am doing make install in the ports tree)  
the transfer dies and I am disconnected from my SSH login with:


perl-5.8.5.tar.bz2 43% of 9242 kB  115  
kBps 00m45s

Disconnecting: Corrupted MAC on input.


This is pretty consistant with any larger (over 1MB or so) download  
that the machine is doing.  I've searched and other than  
understanding this is  a network problem I don't know where to look.


For the sake of it I ended up upgrading my router firmware as I read  
somewhere about a Linksys issue - I am now current on the firmware  
(the machine is sitting on the DMZ address of the router).  I have  
swapped ethernet cables and generally looked at my physical network.


The dmesg for the machine is below.  Anyone with advice if you could  
please over-explain a bit it would be appreciated.  I am pretty new  
to FreeBSD and working my way through plenty of books and Googling.   
I'm not completely sure how to check if my network interface driver  
is the most current or how to change it.


Thank you!

---
$ dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.

FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.90-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
   
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

  Hyperthreading: 2 logical CPUs
real memory  = 536715264 (511 MB)
avail memory = 515530752 (491 MB)
ACPI APIC Table: IBMSERONYXP
MADT: Forcing active-low polarity and level trigger for SCI
ioapic2 Version 1.1 irqs 32-47 on motherboard
ioapic1 Version 1.1 irqs 16-31 on motherboard
ioapic0 Version 1.1 irqs 0-15 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IBM SERONYXP on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 460, 2 (4) failed
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 32-bit timer at 3.579545MHz port 0x488-0x48b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
pci0: display, VGA at device 5.0 (no driver attached)
atapci0: ServerWorks CSB5 UDMA100 controller port 0x700-0x70f, 
0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0

ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ohci0: OHCI (generic) USB controller mem 0xfebef000-0xfebe irq  
11 at device 15.2 on pci0

ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isab0: PCI-ISA bridge at device 15.3 on pci0
isa0: ISA bus on isab0
pcib1: ACPI Host-PCI bridge on acpi0
pci2: ACPI PCI bus on pcib1
pcib2: ACPI Host-PCI bridge on acpi0
pci4: ACPI PCI bus on pcib2
pcib3: ACPI Host-PCI bridge on acpi0
pci6: ACPI PCI bus on pcib3
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port  
0x2500-0x253f mem 0xeffe-0xefff irq 29 at device 8.0 on pci6

em0: Ethernet address: 00:09:6b:09:b9:66
em0:  Speed:N/A  Duplex:N/A
em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port  
0x2540-0x257f mem 0xeffc-0xeffd irq 30 at device 8.1 on pci6

em1: Ethernet address: 00:09:6b:09:b9:67
em1:  Speed:N/A  Duplex:N/A
pcib4: ACPI Host-PCI bridge on acpi0
pci8: ACPI PCI bus on pcib4
mpt0: LSILogic 1030 Ultra4 Adapter port 0x2600-0x26ff mem  
0xedfe-0xedfe,0xedff-0xedff irq 27 at device 7.0 on pci8

mpt0: [GIANT-LOCKED]
mpt1: LSILogic 1030 Ultra4 Adapter port 0x2700-0x27ff mem  
0xedfc-0xedfc,0xedfd-0xedfd irq 28 at device 7.1 on pci8

mpt1: [GIANT-LOCKED]
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
atkbd: unable to set the command byte.
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: unable to set the command byte.
fdc0: floppy drive controller port 0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10  
on acpi0

sio0: type 16550A
orm0: ISA Option ROMs at iomem 0xcc800-0xd07ff,0xcb000-0xcc7ff, 
0xc-0xcafff on isa0

pmtimer0 on isa0
ppc0: parallel port not found.
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed 

Clients receive only first 4k (issue with pf.conf)

2005-05-30 Thread Scott Stevenson

I originally asked about this back in February:

http://www.monkey.org/freebsd/archive/freebsd-questions/200502/ 
msg03071.html


Then just posted again recently with more details:

http://monkey.org/freebsd/archive/freebsd-questions/200505/ 
msg00846.html



I *finally* figured out that pf was responsible. Specifically, this  
line:


out on $ext_if proto { tcp, udp } all keep state

Everything's fine if I change it to this:

out on $ext_if proto { tcp, udp } all


The stock version of pf.conf has the keep state version, though  
it's commented out by default. Is this a bug in pf, or is it normal  
behavior? Is it reasonable to use the version without the keep  
state qualifier?



Thanks,

   - Scott


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


duplicate INDEX entries

2005-05-30 Thread Steven Friedrich
portsdb -uU
Updating the ports index ... Generating INDEX.tmp - please waiWarning: 
Duplicate INDEX entry: freeciv-gtk2-2.0.1_2
Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19
 Done.


How can I get rid of these duplicates?

-- 
i386 FreeBSD 4.11-STABLE
There are 10 types of people in this world. Ones that understand binary and 
then, the others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: drivers

2005-05-30 Thread Kirk Strauser
On Sunday 29 May 2005 07:40 pm, Tim Aslat wrote:

 I propose that we decide on a realistic size limit for freebsd-*
 mailing lists.  My suggestion is 500K.

I use the Mailman mailing list handler, and it includes an option to require 
moderator approval for messages larger than some configurable size.  Would 
this be a reasonable option for the FreeBSD lists?  I'd hate to reject all 
large messages just because we can't imagine a need for it at the moment, but 
I certainly understand the need to limit them as much as possible.
-- 
Kirk Strauser


pgpVGfRHKDekb.pgp
Description: PGP signature


Re: NFS read-ahead?

2005-05-30 Thread Andrea Venturoli

Emanuel Strobl wrote:
Try using TCP instead of UDP, this improoved throughput with large files a 
lot for me! Even without touching read and write sizes.


Sorry if I was only now able to try it.
Unfortunately I don't see any difference.

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


Odd files in /etc/mail after 5.2-5.4 upgrade and mimedefang not working

2005-05-30 Thread Wayne Sierke
I'm trying to establish why I'm currently having a problem with my
sendmail/mimedefang setup after upgrading from 5.2 to 5.4. I found these
files in /etc/mail:

.mc
.cf
.submit.mc
.submit.cf


I thought this looked curious, albeit (to me) meaningless:

# diff -u freebsd.submit.cf .submit.cf
--- freebsd.submit.cf   Sun May 29 12:51:09 2005
+++ .submit.cf  Sun May 29 12:52:08 2005
@@ -17,9 +17,9 @@
 #
 #  SENDMAIL CONFIGURATION FILE
 #
-# built by root@ on Sun May 29 12:49:16 CST 2005
-# in /var/tmp/temproot/usr/obj/usr/src/etc/sendmail
-# using /usr/src/etc/sendmail/../../contrib/sendmail/cf/ as
configuration include directory
+# built by root@ on Sun May 29 12:52:08 CST 2005
+# in /etc/mail
+# using /usr/share/sendmail/cf/ as configuration include directory
 #
 ##
 #


Yes, there was a hiccup when running mergemaster. Unfortunately I don't
recall exactly what happened, except there was some finger trouble on my
part and I ran mergemaster a second time (which appeared to do what I
expected it to do, i.e. present me with a few files which I hadn't
correctly manipulated in the first attempt).

So I've removed and renamed the files in /etc/mail as I thought most
appropriate, run make and restarted sendmail but I still can't get
mimedefang operational - everything I've checked seems to be as it
should be, e.g.:

mailnull  44333  0.0  0.5  2684  1224  ??  I 4:34AM   0:00.01 
/usr/local/bin/mimedefang-multiplexor -p 
/var/spool/MIMEDefang/mimedefang-multiplexor.pid -m 2 -x 10 -U mailnull -b 600 
-R 1 -
mailnull  44336  0.0  9.8 25960 24524  ??  I 4:34AM   0:05.37 
/usr/local/bin/perl /usr/local/bin/mimedefang.pl -server
mailnull  44346  0.0  0.4  1820  1104  ??  S 4:34AM   0:00.09 
/usr/local/bin/mimedefang -P /var/spool/MIMEDefang/mimedefang.pid -m 
/var/spool/MIMEDefang/mimedefang-multiplexor.sock -U mailnull
mailnull  44347  0.0  9.8 25960 24524  ??  I 4:34AM   0:05.30 
/usr/local/bin/perl /usr/local/bin/mimedefang.pl -server

and I can't find any errors in /var/log/messages or /var/log/maillog.
However neither spamassassin or clamav are being called.

How might I verify that the correct, updated files have ended up
in /etc/mail? Anything else I can verify re mimedefang?


Thanks,

Wayne


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


FreeBSD's MPlayer not using GTK2

2005-05-30 Thread Anthony M. Agelastos
Hello and thank you for your assistance. I am in the process of building 
MPlayer right now and I used the following statement:


make WITH_OPTIMIZED_CFLAGS=yes WITH_GTK2=yes 
WITH_DVD_DEVICE=/dev/acd1 WITH_CDROM_DEVICE=/dev/acd0


and while watching it build, I am noticing that it is using GTK1, not 
GTK2. I was just wondering if I did something incorrectly? I am running 
FreeBSD 5.4-STABLE (GENERIC+SSE) on a Pentium III 450MHz machine. Thanks 
for your help.


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


Re: Testing a DHCP server without jeopardizing my IP configuration?

2005-05-30 Thread Libor Seidl
 Is there a way to test the DHCP server, without
 running dhclient and thus without losing my FreeBSD
 system's IP configuration?

Hi,
try dhcping from ports (net/dhcping).
Read carrefully man pages, the idea of operation was not clear
at first look (for me :-) but it works.

Bodlin



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


issue with pf.conf (was: Re: Clients receive only first 4k (issue with pf.conf) -- ignore others)

2005-05-30 Thread Karol Kwiatkowski
Scott Stevenson wrote:
 
 On May 30, 2005, at 9:23 AM, Scott Stevenson wrote:
 
 The problem is that if I use the version without keep state, the 
 machine can't send outbound mail, and I see messages like this in 
 maillog:

 May 30 09:14:33 vertigo qmail: 1117469673.126013 delivery  639634:
 deferral
 Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

 In fact, I tried to send this message to the list twice yesterday, 
 but realized that mail packets were being filtered out. I looked at 
 pflog0 while mail was being sent, but I wasn't able to find the 
 bounced packets. Here's the relevant smtp line:

 pass  in  quick on $ext_if proto { tcp, udp } from any to any 
 port 25


 I'm much more familiar with the firewalls bundled with various  linux
 distributions, so I'm really stumped. I've read through  various
 sections of the PF faq, but I haven't found an answer to this.
 
 
 
 Sorry to post *yet again* on this, but I think I finally figured out 
 what was wrong. I want to post a follow-up for the archives. The 
 solution to partial page Apache problem was to balance the keep 
 state directives.
 
 
 Originally, the httpd line looked like this:
 
 pass  in  quick on $ext_if proto { tcp, udp } from any to any  port 80
 
 And the out line looked like this:
 
 pass  out on $ext_if proto { tcp, udp } all keep state
 
 
 The solution was to change the httpd line to this:
 
 pass  in  quick on $ext_if proto { tcp, udp } from any to any  port
 80 keep state


That 'keep state' turns on stateful inspection. Here's quick info from
PF FAQ:

One of Packet Filter's important abilities is keeping state or
stateful inspection. Stateful inspection refers to PF's ability to
track the state, or progress, of a network connection. By storing
information about each connection in a state table, PF is able to
quickly determine if a packet passing through the firewall belongs to
*an already established connection*. If it does, it is passed through
the firewall without going through ruleset evaluation.[1]

(emphasis mine)

That means, you'll need to set up rules for originating packets only
(the rest is handled automagically).


 Does it make sense that I'd need keep state for both in and out, or 
 is this a PF bug?

It depends on what you need. Does this machine run Apache only? Do you
want your Apache to make _outgoing_ connections? If not, you'll most
probably want to open incoming traffic only (keeping states):

pass  in  quick on $ext_if proto { tcp, udp } from any to any  port 80
keep state

and do _not_ let outgoing connections with pass out 

But if you want to browse websites from that machine, you'll need the
pass out ... port 80 keep state, too.


While we're here, do you really need UDP traffic to Apache server? You
may also want to look at TCP Flags in FAQ[2]. Here's simple config I
use for serving http:

==
set block-policy return
scrub in all
block in log all
block out log all
pass  in  quick on lo0
pass  out quick on lo0
pass  in  log quick on $ext_if inet proto tcp from any to $ext_if port
80 flags S/SA keep state
==



 Should I add it to these as well?
 
 pass  in  quick on $ext_if proto { tcp, udp } from any to any  port 25
 pass  in  quick on $ext_if proto { tcp, udp } from any to any  port 53


Yes, if you want them visible from Internet.

Looking at the pass out rule it's not clear to me what is the
purpose of this machine. To receive more help please specify the setup
(is this machine directly connected to Internet? what services are
running? what do you want to pass inside/outside? pf.conf, etc.) And,
of course, looking at PF's FAQ (http://www.openbsd.org/faq/pf/) might
be a good idea. Hope that helps.


Regards,

Karol


[1] http://www.openbsd.org/faq/pf/filter.html#state
[2] http://www.openbsd.org/faq/pf/filter.html#tcpflags

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


Re: help with corrupted MAC error

2005-05-30 Thread D. Goss

On May 30, 2005, at 12:22 PM, D. Goss wrote:


Hi -

I need some help please.  I'm running FreeBSD 5.3 on an xSeries  
345.  I am not running 5.4 as I need to use some software that  
currently supports 5.3.  I have a clean installation yet when I  
attempt to do large file transfers (I am doing make install in  
the ports tree) the transfer dies and I am disconnected from my SSH  
login with:


perl-5.8.5.tar.bz2 43% of 9242 kB  115  
kBps 00m45s

Disconnecting: Corrupted MAC on input.


This is pretty consistant with any larger (over 1MB or so) download  
that the machine is doing.  I've searched and other than  
understanding this is  a network problem I don't know where to look.


For the sake of it I ended up upgrading my router firmware as I  
read somewhere about a Linksys issue - I am now current on the  
firmware (the machine is sitting on the DMZ address of the  
router).  I have swapped ethernet cables and generally looked at my  
physical network.


The dmesg for the machine is below.  Anyone with advice if you  
could please over-explain a bit it would be appreciated.  I am  
pretty new to FreeBSD and working my way through plenty of books  
and Googling.  I'm not completely sure how to check if my network  
interface driver is the most current or how to change it.


Thank you!

---
$ dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,  
1994
The Regents of the University of California. All rights  
reserved.

FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.90-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
   
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P 
GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE 


  Hyperthreading: 2 logical CPUs
real memory  = 536715264 (511 MB)
avail memory = 515530752 (491 MB)
ACPI APIC Table: IBMSERONYXP
MADT: Forcing active-low polarity and level trigger for SCI
ioapic2 Version 1.1 irqs 32-47 on motherboard
ioapic1 Version 1.1 irqs 16-31 on motherboard
ioapic0 Version 1.1 irqs 0-15 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IBM SERONYXP on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 460, 2 (4) failed
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 32-bit timer at 3.579545MHz port 0x488-0x48b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
pci0: display, VGA at device 5.0 (no driver attached)
atapci0: ServerWorks CSB5 UDMA100 controller port 0x700-0x70f, 
0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0

ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ohci0: OHCI (generic) USB controller mem 0xfebef000-0xfebe  
irq 11 at device 15.2 on pci0

ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isab0: PCI-ISA bridge at device 15.3 on pci0
isa0: ISA bus on isab0
pcib1: ACPI Host-PCI bridge on acpi0
pci2: ACPI PCI bus on pcib1
pcib2: ACPI Host-PCI bridge on acpi0
pci4: ACPI PCI bus on pcib2
pcib3: ACPI Host-PCI bridge on acpi0
pci6: ACPI PCI bus on pcib3
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port  
0x2500-0x253f mem 0xeffe-0xefff irq 29 at device 8.0 on pci6

em0: Ethernet address: 00:09:6b:09:b9:66
em0:  Speed:N/A  Duplex:N/A
em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port  
0x2540-0x257f mem 0xeffc-0xeffd irq 30 at device 8.1 on pci6

em1: Ethernet address: 00:09:6b:09:b9:67
em1:  Speed:N/A  Duplex:N/A
pcib4: ACPI Host-PCI bridge on acpi0
pci8: ACPI PCI bus on pcib4
mpt0: LSILogic 1030 Ultra4 Adapter port 0x2600-0x26ff mem  
0xedfe-0xedfe,0xedff-0xedff irq 27 at device 7.0 on  
pci8

mpt0: [GIANT-LOCKED]
mpt1: LSILogic 1030 Ultra4 Adapter port 0x2700-0x27ff mem  
0xedfc-0xedfc,0xedfd-0xedfd irq 28 at device 7.1 on  
pci8

mpt1: [GIANT-LOCKED]
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
atkbd: unable to set the command byte.
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: unable to set the command byte.
fdc0: floppy drive controller port 0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags  
0x10 on acpi0

sio0: type 16550A
orm0: ISA Option ROMs at iomem 0xcc800-0xd07ff,0xcb000-0xcc7ff, 
0xc-0xcafff on isa0

pmtimer0 on isa0
ppc0: parallel port not found.
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, 

RE: HP LC II Netserver PNP BIOS

2005-05-30 Thread Ted Mittelstaedt

Hi Denny,

  I used to admin a network with a number of those systems on it
but it's been years since I've dealt with one, so I've forgotten
everything from the BIOS screen.  But I did know that HP had the
manuals online, so when you said you had no manual for it, I
naturally assumed that you were unaware that HP is still supporting
them (after a fashion) and that a few minutes work would get you the
manual.  Now, if you had posted something like I read the manual
and the option isn't in there that would have been different.
You could try running eisaconfig on it and setting the Operating
System parameter to SCO Unix or some such, but I don't know if this
is even an option, much less if it would work.

  I have a customer that ran one of these systems for years with
FreeBSD 4.X on it  (4.8 I think) so I know that the 4.x series will
at least run on them.  As I recall these are Pentium 200Hmz systems,
correct?  If so, FreeBSD 5.X won't get you anything more than
what you would get for 4.X.  These systems made really
nice, solid little servers in their day.  Even today they are
good for small tasks like network monitoring, etc. and if I were
in your shoes I would certainly want to use the system if I had
something for it that wasn't too taxing on the CPU.  But you
are like a lot of people who have posted on this forum in the
last few years who have tried pushing older hardware to run
FreeBSD 5.X, sometimes it works but most of the time it doesen't
seem to.  I never even bother booting 5.X on anything that isn't
at minimum a Pentium II 500Mhz system nowadays.

  The only other suggestion I would make is to ask in a hardware
forum, or on Usenet in a hardware forum.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Denny White
 Sent: Monday, May 30, 2005 10:07 AM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org
 Subject: RE: HP LC II Netserver PNP BIOS


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1



 Spent several sleepless nights searching
 hp's site before asking my question. Guess
 I refused to accept the obvious, that you
 could only reserve resources for non pnp
 devices that fbsd couldn't probe. I also
 tried acpi, since the docs say it has a
 different method of probing. See, I did
 read it. I just hoped someone else might
 know something I'd missed or didn't under-
 stand. Always try to do my research before
 posting on here. Don't always understand
 what I read, but I keep reading. And I don't
 post questions like Help, or I can't
 install FreeBSD, what'll I do? But hey,
 thanks for being there, old sport.


 On Sun, 29 May 2005, Ted Mittelstaedt wrote:

 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Denny White
  Sent: Sunday, May 29, 2005 3:40 PM
  To: freebsd-questions@freebsd.org
  Subject: HP LC II Netserver PNP BIOS
 
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
 
 
  Okay, the following definitely shows the
  BIOS in this old Netserver is PNP. I ran
  biosdecode on it and got this:
 
 Slot Entry 10: ID 00:0d, on-board
 
  Can anyone tell me how to disable PNP in this
  particular computer? I have no manual on it.
 
 
 http://h2.www2.hp.com/bizsupport/TechSupport/Resource.jsp?l
ocale=en_U
 StaskId=115prodSeriesId=50440prodTypeId=15351


 RTFM first, then come here.

 Ted

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



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCm0gqy0Ty5RZE55oRArjVAJ0Zo4ZnLeP3pS6j0wg86qNnQMG0uQCgw8RI
7J/Uipixx4KIAcfoMLAZFAM=
=pYax
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: Using serial port as non-root user

2005-05-30 Thread Lowell Gilbert
Iain Dooley [EMAIL PROTECTED] writes:

 hello, i'm running:
 
 [EMAIL PROTECTED] uname -a
 FreeBSD piper.iaindooley.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Mon May 30 
 19:43:26 GMT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PIPER  i386
 
 ls -la /dev | grep cuaa0 gives:
 
 crw-rw   1 uucp  dialer 28, 128 May 30 21:49 cuaa0
 
 i want to access cuaa0 using cutecom as a non-root user. so i tried:
 
 pw groupmod dialer -m iain
 
 now a groupshow gives me:
 
 [EMAIL PROTECTED] pw groupshow dialer
 dialer:*:68:iain
 
 but i still can't successfully open this file when i run cutecom as user 
 'iain'. if i run as user 'root' it works fine.
 
 what am i missing??

Did user 'iain' log out and back in again after the group file was changed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone had any luck getting Lexmark Z32 to work?

2005-05-30 Thread Roland Smith
On Mon, May 30, 2005 at 10:04:22PM +0200, Andreas Davour wrote:
 I have looked at apsfilter, and did some half-hearted attempts at
 understand the www.linuxprinting.com site.
 
 According to
 http://www.linuxprinting.org/show_printer.cgi?recnum=Lexmark-Z32
 it works partially, and requires a binary-only linux driver to work
 properly. Maybe you could use it with linux emulation?
 
 Maybe. How do linux use printer drivers? Anyone know? Could they be 
 plugged in like a (aps)filter, perhaps?

In FreeBSD and Linux (and other unix-like systems) printer drivers are
not integrated into the kernel like they are on Windows.

Printing is done through a combination of systems.

First you have the lpd system. This is where users submit files for
printing. It spools print commands and feeds them to a printer (locally
or over a network) one at a time.

After that comes a filter program, like apsfilter. This translates the
input file into a format that the printer understands. apsfilter and
other filters usually use ghostscript for converting postscript to a format
that different printers understand. Some printers have their own driver
program (like the lexmark, I think), which can also be called by apsfilter.

 I don't know much about printing, and lp, lpr, lprng and all that 
 alphabet soup. That site didn't clear up my confusion. Maybe I should go 
 re-read the handbook, but I don't think it'll help much.

By all means read the printing chapter thoroughly. It should enlighten you.

snip
 I'd advise you to sell this printer and buy another one. Check
 linuxprinting.org before you buy, or buy a postscript printer.
 
 The only reason I have it is I got it for free.
 
 I did look at that site when someone threw an Apple Laserwriter II NTX 
 after me, 

Hmm, didn't that hurt? ;-)

 and unless I misunderstood it should work fine with linux. I 
 didn't work very well for me (like, it just refused to ever print an pdf 
 document) and I dumped it last week.

According to the info on linuxprinting.org, the LaserWriter II NTX _is_
a postscript printer. To print pdf files with it, there are at least two
options: (1) use pdf2ps, and print the resulting postscript file. (2)
install apsfilter.

 If I had unlimited amounts of money I know what I should buy! A real 
 Postscript printer! Those work. I know. ;)

You just threw one away. :-(

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpXPS5NozSQB.pgp
Description: PGP signature


Re: FreeBSD's MPlayer not using GTK2

2005-05-30 Thread Erik Trulsson
On Mon, May 30, 2005 at 04:20:17PM -0400, Anthony M. Agelastos wrote:
 Hello and thank you for your assistance. I am in the process of building 
 MPlayer right now and I used the following statement:
 
 make WITH_OPTIMIZED_CFLAGS=yes WITH_GTK2=yes 
 WITH_DVD_DEVICE=/dev/acd1 WITH_CDROM_DEVICE=/dev/acd0
 
 and while watching it build, I am noticing that it is using GTK1, not 
 GTK2. I was just wondering if I did something incorrectly? I am running 
 FreeBSD 5.4-STABLE (GENERIC+SSE) on a Pentium III 450MHz machine. Thanks 
 for your help.

If you read the Makefile for multimedia/mplayer, where WITH_GTK2 is
described, it says: At the moment there is no current gtk2 patch
available, so defining this knob has no effect right now.

So, no, you didnät do anything wrong - it is just that GTK2 is not
working for that port at this time.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


iPod mini + ASUS P3B-F motherboard + FreeBSD 5.4-STABLE

2005-05-30 Thread Toomas Aas
Is anyone successfully using this mix of old and new technology? I'm 
trying to, but I'm not succeeding.


The on-board USB ports on this machine are USB1.1, which, while not 
officially supported by Apple, should work with iPod according to many 
reports on the Net. I do understand that it would be very slow, though.


The very first time I took the iPod out of the package and connected it 
to my PC, it was recognized successfully:


May 30 20:08:32 premium kernel: umass0: Apple iPod mini, rev 2.00/0.01, 
addr 2

May 30 20:12:52 premium kernel: da0 at umass-sim0 bus 0 target 0 lun 0
May 30 20:12:52 premium kernel: da0: Apple iPod 1.62 Removable Direct 
Access SCSI-0 device


Note, however, that there's a 4 minute time gap between umass0 and da0 
lines.


Since my machine doesn't have any support for reading the HFS (or is it 
HFS+?) file system which is what the iPod has out of the box, I couldn't 
however mount any slices from da0. I tried disconnecting and 
re-connecting the iPod a few times and now the umass0 line appears but 
the da0 line doesn't appear at all, even after waiting for 40 minutes.


I went to a Windows PC with USB2 ports and connected the iPod to that. 
It was recognized immediately and re-formatted as FAT32. Back to my 
FreeBSD PC and there's no change - when plugging in the iPod, the umass0 
line appears in dmesg, but the da0 line doesn't.


What would be the best course of action to get the iPod talking to my 
FreeBSD box?

- install an add-on USB 2.0 card ?
- update the PC-s BIOS to latest version (there is a newer version than
  the one I'm running now)?
- update to latest -STABLE (current checkout is from May 10)?
- wipe FreeBSD and install Windows? (just kidding!!!)
- something else?

---
... Windows NT - the world's only 80 MB solitaire game!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 4.11-RELEASE install error

2005-05-30 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Steven
 Friedrich
 Sent: Monday, May 30, 2005 7:26 AM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org
 Subject: Re: 4.11-RELEASE install error
 
 
 
 I don't want to offend anyone, but is this the official 
 FreeBSD.org position?
 
 I had hoped that 4.11 would be the crown jewel of the 4.x 
 series and would be 
 worth buying on CD or DVD.  I know that what Ted says is the 
 unpolished 
 truth. I've went thru various installs, selecting different 
 configs each time 
 and I noticed that KDE 3.4 wasn't in 4.11-RELEASE.
 

I think the entire FIrefox thing was a big embarassment.  The ports
tree that went on the 4.11 ISO called for Firefox 1.0 if I recall
and literally within weeks of the release the Firefox team found
a giant security hole, and knee-jerk pulled all 1.0 code off
their web and FTP sites. I think that since then they have put
it back, to satisfy to large number of people still pulling the
code down via automated means. (like FreeBSD ports)

Then to compound the problem when the Firefox team released FF 1.01,
1.02 and such, they decided to make some function calls that were not
in the version of freetype that the 4.11 ISO had as a precompiled
binary.  So the upshot is that if you installed X Windows from the
precompiled binary it used the old version of freetype, and when
you tried building the newer patched version of firefox, it blew
chunks with a bunch of link errors about missing functions.

Both of these goofs were the Firefox team's problem, not the
FreeBSD teams problem.  Unfortunately they were a very visible
marring of the 4.11 ISO since Firefox is one of the few web
browsers that is available for UNIX that won't fold up and die
when it encounters various Microsoft constructs in people's
websites.  While it may be satisfying to tell people to just not
surf www.cnn.com or some such with their old versions of Netscape
because the HTML is wrong, it's not very useful.

 I wish the core team saw each release as a milestone captured 
 in posterity.
 
 Anyway, I performed a couple installs last night directly from 
 CD rather than 
 the ftp directory that I created with cp -R /cdrom/* .
 
 I notice that during a CD install, the progress bar sometimes 
 appears to back 
 up, perhaps indicating a read that has to be performed again.  
 Perhaps when I 
 use cp, there isn't anything detecting these read errors and I 
 get corrupt 
 data?
 
 So to check out this theory, I downloaded the ISOs again and 
 I'm going to 
 mount them and cp into the directory again.
 
 I love Unix in general and FreeBSD in particular.  I wish the 
 core team 
 wouldn't turn their back on the 4.x series so quickly.  
 Please, please, 
 please schedule a 4.12 release that's as pristine as possible.
 

It is really a matter of allocation of resources I am afraid.  The
problem is that 4.x lacks some extremely important things, like
threading, that are absolutely necessary to get good performance out
of some of the most visible Open Source applications.  In particular
I'm thinking of mysql, which runs like crap in a non-threading
SMP environment.

You take mysql and stack it up against postgres on 2 identical
4.x SMP systems, and postgres will kick the stuffing out of mysql.
Unfortunately the morons that do various bakeoffs for the national
media never seem to use postgres when they are writing their Linux vs
FreeBSD articles.  Instead they use mysql which has been optimized
for threading, and Linux has a much better threading package than
FreeBSD 4.X.

For this and other reasons the team wisely decided to do an entirely
separate FreeBSD version train, rather than try to stuff all these
fundamental kernel changes into 4.X

The problem that the Project has run into, though, is that hardware
has changed ferociously in the last couple years.  Each time another
4.X and 5.X release came out, more and more newer systems would run
better under 5.X, and more and more older systems would run better
under 4.X.  In the meantime pricing is plummeting into the toilet,
to where today you can walk into a computer store and have a server
custom-built with IDE raid for under $1000, that will kick the literal
crap out of a 4 year old server bought from Dell for $15,000.  So
it is quite obvious that it is imperative to get FreeBSD running as
good as possible on this plethora of wonderful powerful NEW hardware
that is coming out daily, so that when the national ragazine writers
evaluate FreeBSD, that FreeBSD comes off with high marks.  Thus,
we need to concentrate all our development time on the newer release
and let the older release end.  The 4.X train really has been carried
far longer than any previous release train of FreeBSD.

4.X runs fantastically well on that elderly server you have that was
manufactured in 1999, 2000, or 2001, and paid $15,000 for.  But
you can't let the emotional pull of having spent that $15,000 four
years ago on a 

RE: 4.11-RELEASE install error

2005-05-30 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Dick
 Hoogendijk
 Sent: Monday, May 30, 2005 7:59 AM
 To: freebsd-questions
 Subject: Re: 4.11-RELEASE install error


 On 29 May Ted Mittelstaedt wrote:
 
  What is supplied with 4.11-release is old and a number of utilities -
  like firefox - will not build on it anymore.

 I run two 4.11-stable machines here and both compile firefox from ports
 very fine still.
 I did not come across packages (yet) that did not compile on 4.11
 I *know* they exist but they're not the 'popular' ones.


He is talking 4.11-release, from the ISO, not 4.11-stable.  4.11-release
most definitely will not compile Firefox unless you use the original
firefox 1.0 code, which has a security hole in it.  If you cvsup the
ports tree, it will update the firefox port to a later version of firefox
that will definitely not link in with the X libraries installed off the
4.11-release ISO.

Ted

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


Re: Using serial port as non-root user

2005-05-30 Thread Iain Dooley



Lowell Gilbert wrote:

Iain Dooley [EMAIL PROTECTED] writes:



hello, i'm running:

[EMAIL PROTECTED] uname -a
FreeBSD piper.iaindooley.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Mon May 30 
19:43:26 GMT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PIPER  i386

ls -la /dev | grep cuaa0 gives:

crw-rw   1 uucp  dialer 28, 128 May 30 21:49 cuaa0

i want to access cuaa0 using cutecom as a non-root user. so i tried:

pw groupmod dialer -m iain

now a groupshow gives me:

[EMAIL PROTECTED] pw groupshow dialer
dialer:*:68:iain

but i still can't successfully open this file when i run cutecom as user 
'iain'. if i run as user 'root' it works fine.

what am i missing??



Did user 'iain' log out and back in again after the group file was changed?


nope!! that must be it. thanks very much.

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


Re: tape record bigger than supplied buffer

2005-05-30 Thread Alex Zbyslaw

Damian Sobieralski wrote:


I'm test piloting bacula on a FreeBSD 5.4-REL system.  All seemed to
work well in monitored tests. So last night I set up a job to run at
night.  When I came in this morning, all seemed to go well...the
backup happened but I noticed 3 messages on the console:

(sa0:ahc0:0:6:0): 65536-byte tape record bigger than supplied buffer
(sa0:ahc0:0:6:0): 65536-byte tape record bigger than supplied buffer
(sa0:ahc0:0:6:0): 65536-byte tape record bigger than supplied buffer

 The backup seemed to go okay as I restored several files off of that
tape with no problems.  Realizing the console messages mean what it
does at face value, was any data lost(should i take this as a warning
or as an error) ?
 


I've never used bacula, but no one else is jumping in...

1) Try restoring the whole tape to either an empty partition, or if you don't 
have one of those, to /dev/null.  /dev/null isn't conclusive proof, but I 
assume that if data weas dropped then there *should* be a failed checksum 
somewhere along the line.

2) See if you can't find some option to match the bacula record size to that of your tape 
drive.  Dump, for example, has a -b option e.g. -b 64 to set its record size. 
 I'm puzzled by you only seeing three messages though.  Why would three buffers be 
smaller and not the rest?

--Alex


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


Re: duplicate INDEX entries

2005-05-30 Thread Kris Kennaway
On Mon, May 30, 2005 at 03:36:57PM -0400, Steven Friedrich wrote:
 portsdb -uU
 Updating the ports index ... Generating INDEX.tmp - please waiWarning: 
 Duplicate INDEX entry: freeciv-gtk2-2.0.1_2
 Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19
  Done.
 
 
 How can I get rid of these duplicates?

Why do you think you need to? :)

Kris

pgptT3CMAEj0R.pgp
Description: PGP signature


KDE and Gnome

2005-05-30 Thread Tina Neil
I have a old laptop which after the suggestion of another programmer i 
installed FreeBSD. I have used this some before, but because it is free we have 
decided to use this for are small club.  I have a compaq armanda and i 
installed both KSE and Gnome and when i go to use them it says Command not 
found. Is it me or the laptop. also can you tell me how to get my computer to 
start with gnome instead of going into the text part of FreeBSD. 
Please Help

FM robotics lead programer
Nathan J. Neil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make depend kernel compile error [solved]

2005-05-30 Thread Peter Miller
Sorry, i wasn't too clear.  The only thing I changed
to the config was the addition of the usb2 support.  I
had tried compiling the generic kernel which didn't
work either.  The good news is that I installed and
ran cvsup and used the 2nd compile method in the
handbook (after running make clean) and the kernel
compiled.

Thanks
 
--- Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Peter Miller [EMAIL PROTECTED] writes:
 
  I'm running a clean install of the freebsd 5.4 and
 i'm
  building a new kernel with usb 2.0 support but i'm
  getting the following error after typing make
 depend.
 
 Go back to the GENERIC kernel.  Change a small
 number of things at a
 time until you have figured out which config file
 change caused the
 kernel to stop compiling.  Armed with that
 knowledge, you should be
 able to ask how to do that change properly.  It
 would be polite to
 look at the relevant manual page for that config
 entry before asking
 on a mailing list, though.
 

__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make depend kernel compile error

2005-05-30 Thread Lowell Gilbert
Peter Miller [EMAIL PROTECTED] writes:

 I'm running a clean install of the freebsd 5.4 and i'm
 building a new kernel with usb 2.0 support but i'm
 getting the following error after typing make depend.

Go back to the GENERIC kernel.  Change a small number of things at a
time until you have figured out which config file change caused the
kernel to stop compiling.  Armed with that knowledge, you should be
able to ask how to do that change properly.  It would be polite to
look at the relevant manual page for that config entry before asking
on a mailing list, though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tape record bigger than supplied buffer

2005-05-30 Thread Damian Sobieralski
 1) Try restoring the whole tape to either an empty partition, or if
 you don't have one of those, to /dev/null.  /dev/null isn't
 conclusive proof, but I assume that if data weas dropped then there
 *should* be a failed checksum somewhere along the line.

 I'll do that tomorrow (restore the whole thing).

 2) See if you can't find some option to match the bacula record size
 to that of your tape drive.  Dump, for example, has a -b option e.g.
 -b 64 to set its record size.  I'm puzzled by you only seeing three
 messages though.  Why would three buffers be smaller and not the
 rest?

 That's a good question that I don't know the answer to.  I thank you
for the response.  I'll see if I can get a bit more information by
restoring the data for us to work with.  When you say match the record
size to my tape drive's, is this something that should be listed in my
tape drives literature?



- Damian

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


FreeBSD

2005-05-30 Thread Tina Neil
I want to use FreeBSD for our robotics club.  I am a programmer so what i want 
to know is what would be better for us to use Windows XP or FreeBSD. For the 
most part we want to go with FreeBSD. Also the text scares some members so what 
would be better for us to use KDE or gnome.  What would you suggest for us to 
compile with on freebsd.  i want to use C++. would bloodshed c++ run on FreeBSD.

Thank you 
Nathan J. Neil

Is there a phone number i can call for support?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


printing

2005-05-30 Thread Roldán
please help me:
how can i print a document in a windows shared
printer?
thanks





__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No buffer space available arplookup 0.0.0.0 failed: host is not on load network

2005-05-30 Thread Ricardo Pichler
Hi folks,
anybody know about the message below?

Abandoning IP Address 200.x.x.x: pinged before offer
No buffer space available arplookup 0.0.0.0 failed: host is not on load
network
Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8a
Syncing disks, buffers remaining.1347 1347 1347

I have two traffic shapers that are working with ipfw and dummynet.

Thanks in advance,
Ricardo Pichler


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


argouml -

2005-05-30 Thread Vizion
Hi

Im have just installed argouml -- looks very interesting prog for UML work. 
However  I have some questions:

1. The freebsd ports version is 0.16 and the latest release is 0.18 -. Does 
anyone know if that upgrade soon be available in the ports collection?
 
2. What is the position with extensions and plugins?

3. The help file is not integrated into the port . How can I get a help file 
functioning?

David 
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD

2005-05-30 Thread Eugene Hercun
If the group as a whole want to go with FreeBSD, then why are some of
the members scared of the text. If you are indeed programmers, then
you should not be scared of text. It sounds like you do not know a
lot about FreeBSD so I would suggest to stick with what you know if
all you are doing is compiling; you have a large enough task as it is
with robotics.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


few processor performance questions

2005-05-30 Thread Mark Jayson Alvarez
Good day,
  
 I have an athlon thunderbird 1.2ghz processor and I'm
looking forward to overclocking it. My plans are to
buy a new motherboard that supports raising the core
voltage, fsb or even the multiplier.

I have looked at some stores selling motherboard for
socketA(462) processors and found out that those new
motherboards mostly have fsb of 400 mhz and supporting
memory modules upto pc333-400mhz. Also with 8x agp
slot.

My question is, if I were to buy this kind motherboard
with a specified FSB of let's say upto 400+mhz and I
equiped it with let's say, PC333 DDR, and if I were to
put an 8x video card to it, given that my processor
can only run as much as 1.33 ghz(but only when
overclocked), will I be able to gain anything with it?
 Or should I just stick to an old mobo with 4x agp and
fsb of 133? 

Thanks a lot.





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


Re: printing

2005-05-30 Thread Olivier Nicole
 how can i print a document in a windows shared

I do that using samba, only samba client is needed.

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


Re: FreeBSD

2005-05-30 Thread Vizion
On Monday 30 May 2005 21:27,  the author Tina Neil contributed to the dialogue 
on-
 FreeBSD: 

I want to use FreeBSD for our robotics club.  I am a programmer so what i
 want to know is what would be better for us to use Windows XP or FreeBSD.

well you have all the built in compiling tools you need with freebsd.

I suggest youm take a look at www.freebsd.org and study the handbook and the 
ports collection.
 For the most part we want to go with FreeBSD. Also the text scares some
 members so what would be better for us to use KDE or gnome. 

Either I prefer kde but others prefer gnome -- experiment with both!
 What would you 
 suggest for us to compile with on freebsd.  i want to use C++. would
 bloodshed c++ run on FreeBSD.

You have gcc built in

Thank you
Nathan J. Neil

Is there a phone number i can call for support?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Xu Qiang
Vizion wrote:
 I have the sources - I could email them to you

Hi, David: 

I will be grateful if you can send them to me through email. 

thanks,

Regards,
Xu Qiang

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


RE: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Xu Qiang
Vizion wrote:
 I have the sources - I could email them to you

I have found compat4x-i386-5.3.tbz in FreeBSD 5.3 Disc 1. I tar jxvf the 
library files into /lib/compat4x. And make some symbolic links: 
ln -s compat4x/libc.so.4
ln -s compat4x/libm.so.2 (This one is also required by the package 
diablo-jdk-1.3.1.0.tgz)

After that, I run java -version again, but it throwed out a segmentation 
fault and dumped core. :(
-
# java -version
Segmentation fault (core dumped)
-

And when I use gdb to trace the core file, it can't recognize the file format:
-
# gdb java java.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as 
i386-marcel-freebsd.../usr/local/diablo-jdk1.3.1/bin/java: not in 
executable format: File format not recognized

Core was generated by `java'.
Program terminated with signal 11, Segmentation fault.
#0  0x280ee35a in ?? ()
(gdb) 
-

Any help?

Regards,
Xu Qiang


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


Re: FreeBSD

2005-05-30 Thread Jerry McAllister
 
 I want to use FreeBSD for our robotics club.  I am a programmer so what i 
 want to know is what would be better for us to use Windows XP or FreeBSD. 
 For the most part we want to go with FreeBSD. 

SO use FreeBSD.  It is a very good system and if you stick with it and
take the time and effort to learn about it, you will be rewarded by knowing
much more about how a real system works and how to control things precisely 
as you want.  You are unlikely to do that very well with MSwin.   

 Also the text scares some members so what would be better for us to use KDE 
 or gnome.  What would you suggest for us to compile with on freebsd.  i want 
 to use C++. would bloodshed c++ run on FreeBSD.

By text, do you mean a command line environment?   First of all, it gives
you better specific and detailed control of your system.   Secondly, you 
quickly learn to use command line stuff as second nature and will find 
yourself becoming impatient with the fancier windows-like way of managing
the system.  Third, it is completely possible to create a GUI type of 
environment for some specific thing such as manipulating a device.

As for KDE or Gnome, I would suggest that you just try them out and see what 
works best for you - I rarely use either, but stick with a more basic X-Win 
environment.   All of KDE, Afterstep and Gnome and maybe some others can
co-exist on the same system with each user choosing which they prefer
and switching from one to another as it suits them.   

It takes a little longer and a little more initial effort to learn FreeBSD.
But, the rewards are significant and long lasting.

jerry


 
 Thank you 
 Nathan J. Neil
 
 Is there a phone number i can call for support?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

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


Re: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Vizion
On Monday 30 May 2005 20:46,  the author Xu Qiang contributed to the dialogue 
on-
 RE: jdk 1.3.1 in FreeBSD: 

Vizion wrote:
 I have the sources - I could email them to you

I have found compat4x-i386-5.3.tbz in FreeBSD 5.3 Disc 1. I tar jxvf the
 library files into /lib/compat4x. And make some symbolic links: ln -s
 compat4x/libc.so.4
ln -s compat4x/libm.so.2 (This one is also required by the package
 diablo-jdk-1.3.1.0.tgz)

After that, I run java -version again, but it throwed out a segmentation
 fault and dumped core. :( -
# java -version
Segmentation fault (core dumped)
-

And when I use gdb to trace the core file, it can't recognize the file
 format: -
# gdb java java.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
 conditions. Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as
 i386-marcel-freebsd.../usr/local/diablo-jdk1.3.1/bin/java: not in
 executable format: File format not recognized

Core was generated by `java'.
Program terminated with signal 11, Segmentation fault.
#0  0x280ee35a in ?? ()
(gdb)
-

Any help?
did you portupgrade?
did you do clean?
then make ? 
then make install?
(not make install clean!!!) ??

David

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: No buffer space available arplookup 0.0.0.0 failed: host is not onload network

2005-05-30 Thread Ted Mittelstaedt

Always in the past with my hardware this has been due to indifferent
network adapters cards. Post a dmesg please.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Ricardo Pichler
 Sent: Monday, May 30, 2005 6:47 PM
 To: freebsd-questions@freebsd.org
 Subject: No buffer space available arplookup 0.0.0.0 failed:
 host is not
 onload network


 Hi folks,
 anybody know about the message below?

 Abandoning IP Address 200.x.x.x: pinged before offer
 No buffer space available arplookup 0.0.0.0 failed: host is not on load
 network
 Fatal trap 12: page fault while in kernel mode fault virtual
 address = 0x8a
 Syncing disks, buffers remaining.1347 1347 1347

 I have two traffic shapers that are working with ipfw and dummynet.

 Thanks in advance,
 Ricardo Pichler


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


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


RE: FreeBSD

2005-05-30 Thread Ted Mittelstaedt

What are you using now?

With a club the most simple and obvious thing is to put it to a vote.
Yes, democracy can be messy sometimes and not everyone gets what they
want.  What you will find is that the minority that wanted Windows some
of them will leave and find other robotics clubs that use Windows, others
will dig in an learn FreeBSD.  It is extremely rare in the real world
to come up with a solution that everyone wants.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Tina Neil
 Sent: Monday, May 30, 2005 9:28 PM
 To: freebsd-questions@freebsd.org
 Subject: FreeBSD


 I want to use FreeBSD for our robotics club.  I am a
 programmer so what i want to know is what would be better for
 us to use Windows XP or FreeBSD. For the most part we want to
 go with FreeBSD. Also the text scares some members so what
 would be better for us to use KDE or gnome.  What would you
 suggest for us to compile with on freebsd.  i want to use C++.
 would bloodshed c++ run on FreeBSD.

 Thank you
 Nathan J. Neil

 Is there a phone number i can call for support?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


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


Re: web protection

2005-05-30 Thread Mad Unix
it works now, user  created and added
to httpd.conf
Directory /var/www/html/squid-reports
 AllowOverride ALL
 order allow,deny
 allow from all
/Directory

thanks


On 5/30/05, albi [EMAIL PROTECTED] wrote:
 On Mon, 30 May 2005 14:28:47 +0400
 Mad Unix [EMAIL PROTECTED] wrote:
 
  I used this link http://faq.web2010.com/htaccess.htm
  but still cant see the effect of protection
 --- cut ---
  I created the .htpasswd via
  htpasswd -c .htpasswd proxy
  and vi.htaccess is
  AuthUserFile /var/www/html/squid-reports/.htpasswd
 
 it's recommended to place the passwd-file outside the www-tree
 
  AuthGroupFile /dev/null/
  AuthName proxy
  AuthType Basic
  Require valid-user
 
 user proxy does exist ?
 did you load the auth-module in apache ?
 
 the following might be useful :
 http://httpd.apache.org/docs/howto/auth.html
 http://httpd.apache.org/docs-2.0/howto/auth.html

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


Re: KDE and Gnome

2005-05-30 Thread Eric Kjeldergaard
2005/5/31, Tina Neil [EMAIL PROTECTED]:
 I have a old laptop which after the suggestion of another programmer i 
 installed FreeBSD. I have used this some before, but because it is free we 
 have decided to use this for are small club.  I have a compaq armanda and i 
 installed both KSE and Gnome and when i go to use them it says Command not 
 found. Is it me or the laptop. also can you tell me how to get my computer to 
 start with gnome instead of going into the text part of FreeBSD.
 Please Help

In order to start KDE, for example, you would first `echo startkde 
~/.xinitrc` and then startx would bring it up.  GNOME has something
similar, though I can't remember it offhand.  In order to start with a
graphical login manager, you edit /etc/ttys.  Both of these questions
can readily be answered by reading the handbook available free and
online at www.freebsd.ord/handbook.  Please consult the FreeBSD
Handbook as the first source to find answers to your FreeBSD
questions.

-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Seagate HD not detected by FreeBSD

2005-05-30 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Svein Halvor
Halvorsen
Sent: Monday, May 30, 2005 5:30 AM
To: Ted Mittelstaedt
Cc: [EMAIL PROTECTED]; Ulf Magnusson; freebsd-questions@freebsd.org
Subject: RE: Seagate HD not detected by FreeBSD


You are right, it's not a UDMA standard per se! And I was wrong to say 
that there was *nothing* wrong with that setup. However, it was not 
*entirely* wrong, either (allthough a peculiar setup). It's 
just that it's 
always worked for me, but it seems I was lucky.


PIO mode on the bus is a lot more tolerant.  And in the olden days
the IDE standard was more of a convention and less of a standard.


Btw, do you have any pointers to that standard?

http://www.t13.org/

And also; could you try to fix your line lenght problem?


Sorry!

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