Re: FreeBSD 5.3 and too many files open...

2005-03-23 Thread Mario Hoerich
# [EMAIL PROTECTED]:
 
 kern.maxfilesperproc: 5898
 kern.maxusers: 384
 
 My /boot/loader.conf looks like:
 kern.maxfiles=65536
 kern.ipc.nmbclusters=64000
 kern.ipc.nmbufs=256000
 kern.maxproc=8192
 kern.ipc.somaxconn=4096
 
 So i do not get it, imho the configuration is just fine, but why do i get
 the message too many files open...?

What does ulimit -a tell?  Any limits in /etc/login.conf?

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


Re: FreeBSD 5.3 and too many files open...

2005-03-23 Thread Axel . Gruner

Mario wrote:

# [EMAIL PROTECTED]:

 kern.maxfilesperproc: 5898
 kern.maxusers: 384

 My /boot/loader.conf looks like:
 kern.maxfiles=65536
 kern.ipc.nmbclusters=64000
 kern.ipc.nmbufs=256000
 kern.maxproc=8192
 kern.ipc.somaxconn=4096

So i do not get it, imho the configuration is just fine, but why do i get
 the message too many files open...?

What does ulimit -a tell?  Any limits in /etc/login.conf?

Well, limit tells me:

limit
cputime  unlimited
filesize unlimited
datasize 524288 kbytes
stacksize65536 kbytes
coredumpsize 2048 kbytes
memoryuseunlimited
vmemoryuse   unlimited
descriptors  58982
memorylocked unlimited
maxproc  7372
sbsize   unlimited

(in the future i have to fix cputime, filesize,... to accaptable value...)


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


Re: Anthony's drive issues.Re: ssh password delay

2005-03-23 Thread Bernt Hansson
Anthony Atkielski skrev:
Bernt Hansson writes:

What bios version is it?

The BIOS version is GG.06.04.
The Adaptec AIC-7880 Ultra BIOS version is v1.2S3-HP.
http://www.google.se/search?q=%22HP+Vectra+XU+6/200%22+-memory+-freebsdhl=svlr=start=10sa=N
http://lists.gnu.org/archive/html/bug-grub/2003-01/msg00129.html
http://www.freebsd.de/archive/de-bsd-questions/de-bsd-questions.200301/0710.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ifconfig

2005-03-23 Thread Gert Cuykens
On Tue, 22 Mar 2005 19:52:19 -0500, Robert Huff [EMAIL PROTECTED] wrote: 
 /sbin/dhclient de0
 echo -n $?  /etc/dhc.err
 echo -n = DHCLIENT exit status  /etc/dhc.err
 
 ifconfig de0
 sleep 3

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


Re: Anthony's drive issues.Re: ssh password delay

2005-03-23 Thread Freminlins
On Wed, 23 Mar 2005 03:46:40 +0100, Anthony Atkielski
[EMAIL PROTECTED] wrote:

 But I don't really know for sure, because nothing is documented, and
 nobody here knows anything.

So you keep telling us. So why do you bother posting in the first
place if you don't expect an answer that pleases you?

 Anthony

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


Re: problem burning 5.3-RELEASE Disc 2 from iso

2005-03-23 Thread Karel Miklav
check http://groups.google.com/groups?q=+5.3-release-i386-disc2.iso+burn

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


RE: Anthony's drive issues.Re: ssh password delay

2005-03-23 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Ted Mittelstaedt writes:

 OK, well then that increases the chances that it is a driver issue
 and reduces the chances that it is a hardware issue.  Assuming your
 termination is correct, that would increase chances it is a driver
 issue even more.

 That's rather what I've thought all along.

 Going to each single disk is what you really need to do now in order
 to make a definite finger point to the driver.

 To each single disk?  What do you mean?


What I mean is temporarily pull the Quantum disk, load a scratch system
on the Seagate, run some disk testing utility or some such that beats on
the disk, and see if you get errors.

Then repeat the process with just the Quantum in the system.

What that tells you is the following:

1) If the seagate runs fine and the quantum errors, it's an
incompatibility
between the quantum and the adaptec.  Someone may be able to write around
the problem in the driver code, but most likely the driver developer will
not be able to do this.  Submit a send-pr as a bug mainly to archive the
problem
in case someone else has a similar problem in the future, and find
another Seagate
disk to replace the Quantum.

2) If the quantum runs fine and the seagate errors, it's an
incompatibility
between the seagate and the adaptec.  Someone may be able to write around
the problem in the driver code, but most likely the driver developer will
not be able to do this.  Submit a send-pr as a bug mainly to archive the
problem
in case someone else has a similar problem in the future, and find
another Quantum
disk to replace the Seagate.

3) If both run fine individually then it's an incompatibility
between the Seagate and the Quantum. Someone may be able to write around
the problem in the driver code, but most likely the driver developer will
not be able to do this.  Submit a send-pr as a bug mainly to archive the
problem
in case someone else has a similar problem in the future, and play
musical
disks with your other systems to get both disks the same manufacturer.

4) If they both error then it's a problem between the SCSI adapter and
the
FreeBSD driver.  Submit a send-pr as a bug.  This is most likely to be
looked at by the developer.

 I tried a build of the kernel again today, to exercise the
 machine.  For
 quite a while it behaved, but then the SCSI errors popped up again.
 At least it didn't crash.

 I have been working on a Compaq Professional workstation from time
 to time to setup a test workstation over the last week.  It has a
 problem where under heavy use it will corrupt files written and read
 from the disk.  This system was always a Windows box before, using
 a 1GB Seagate disk drive.  (don't ask why Compaq would supply a 1GB
 disk it is rediculous)  Here are some relevant bits of the dmesg
 that might interest you:

 .
 .
 CPU: Pentium Pro (199.31-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x619  Stepping = 9


 Features=0xf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE
 ,MCA,CMOV
 .
 .
 ahc0: Adaptec 2940 Ultra SCSI adapter port 0x1000-0x10ff mem
 0x4008-0x40080fff irq 11 at device 18.0 on pci0
 aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs .
 .
 da0 at ahc0 bus 0 target 0 lun 0
 da0: QUANTUM FIREBALL SE8.4S PJ09 Fixed Direct Access SCSI-2 device
 da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing
 Enabled da0: 8191MB (16777215 512 byte sectors: 255H 63S/T 1044C)

 Looks familiar.

 Now I can say one thing with certainty with this machine - Compaq has
 definitely modded the Adaptec microcode used on the controller here.
 Why do I know this? I know it because I tried removing the 2940 card
 from this machine and plugging it into another non-Compaq machine,
 and the card would not boot the disk in that system. However, a
 non-Compaq-labeled 2940 card works fine in that system.

 Compaq has a terrible reputation for screwing around with standard
 hardware and firmware.  I've always felt that they could still build
 good servers even without all their home-baked junk, but they
 apparently felt differently.  I like commodity hardware and firmware.
 It's very hard today to justify custom stuff just to gain perhaps a
 few scant percent of performance under highly specific conditions.

 I had assumed the problem with this system was bad ram. But, I think
 I am going to try pulling that Quantum disk out of there and
 using a different one.

 You think something on the drive itself is different?


I just want to see if perhaps a different manufacturer's hard disk will
work OK.  I already know they modded the microcode there's a chance
they did it wrong.  There's also a chance they didn't test with one
of the disks I put in there.

Ted

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


RE: Anthony's drive issues.Re: ssh password delay

2005-03-23 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:


 There's a second problem with this machine: I can't get it to boot
 from disk.  It booted fine under NT, but it won't boot FreeBSD on its
 own, nor was it willing to boot Mandrake Linux.


That is a common problem with SCSI adapters.  To fix it, go into the
SCSI configuration and turn ON 'translation for DOS'  I think it is
called.
I know, it's not particularly intuitive, and the help in the
SCSI bios indicates you turn this off for UNIX.

If you have an onboard SCSI this parameter is probably set in the BIOS
or in EISA-config if you have EISA slots.

Just a FYI the translation for DOS setting is used only when the
machine is
booting, it has no effect on the FreeBSD system once it's up and runing.


 The only way I can boot right now is from diskette.  I enter the
 loader after waiting 10 minutes for the diskette boot to proceed,
 then I change
 the current device, unload the kernel, and boot again, and the machine
 instantly boots from the hard disk and comes up.  Now if I could just
 get the machine to do that on its own ...

Ted

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


ssh sessions getting paused on idle

2005-03-23 Thread Riaan Annandale
Hi Guys,

hopefully this is a stoopid question with an easy answer.

I ssh to anything over 10 machines at a time and leave the xterms idle.
When I come back to a session and press enter / start typing, it takes a
few seconds to come alive. Almost as if the connection got canned.

Do you think this could be ipfw related? Or is it a switch that i have
to specify somewhere?

As always, any help will be much appreciated.

Thanks
-- 
   Riaan Annandale


pgpqSAFteGXSH.pgp
Description: PGP signature


Re: OpenBSD's pf and traffic

2005-03-23 Thread Peter N. M. Hansteen
Eugene M. Minkovskii [EMAIL PROTECTED] writes:

 pf@benzedrine.cx is it mail-list or private e-mail. Does I need
 to register anywhere before mail to it?

pf@benzedrine.cx is a mailing list, which I think allows posting by
non-subscribers, but obviously you may want to sign up to make sure you
get any replies sent to the list only.  Anyway the mailing list's home
page is at http://www.benzedrine.cx/mailinglist.html

(Sorry for the delay - bgnett's mail servers apparently were a bit
overwhelmed some worm or other, leaving useful traffic queued rather
longer than I appreciate.)

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


RE: Anthony's drive issues.Re: ssh password delay

2005-03-23 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Bernt Hansson writes:

 What bios version is it?

 The BIOS version is GG.06.04.

 The Adaptec AIC-7880 Ultra BIOS version is v1.2S3-HP.


Well, now Anthony, that Adaptec AIC BIOS version indicates that it's a
HP-modded microcode in the controller.  (that is what the trailing -HP
means)

You can't replace it with standard Adaptec microcode for something like
a 2740 card because HP might have modded it to get around some hardware
issue on the Vectra.

It is also possible HP's mod did something nonstandard with the Adaptec
chipset which the FreeBSD driver doesen't know about.

Ted

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


Re: Free BSD and HP's Integrated Lights Out

2005-03-23 Thread Doug Paquette
thanks for the reply on this.

I wanting the buy the advance package license for the
remote media feature and the graphic display so that
way I can run the smart start cd wipe the drives and
do a fresh installation of free bsd remotely if i want
to.

With out the advanced package license all i can do is
view texted information and power on or off the
server, thats really about it.

Here is the link to the license package.

http://h30094.www3.hp.com/product.asp?sku=1894865

I am 95 percent sure that I was able to see the free
bsd installation screen when I was playing around with
the 30 day trial. but for $350.00 I want to make darn
sure, because im sure once i buy it im stuck with it,
weather if works or not.

The people I spoke with at HP have no idea how they
can give me a few more days on the 30 day trial
license to test it out.

Is there anyone here who has a DL380 with the
integrated lights out that has not used up their 30
day trial that would be willing to test and verify
this?

Doug
-

--- [EMAIL PROTECTED] wrote:
 As far as I know, basic iLO features are not OS
 dependent at all. But if
 you need a license, you're using advanced features;
 basic support is
 included with the server. Possibly you want to get
 to a graphic display?
 If you can do with access to a text terminal you
 should be fine.
 Switching to a text terminal via a SSH session to
 iLO can, for example,
 be done by assigning CTRL-ALT-F1 to say CTRL-T in
 iLO itself.
 
 
 On Tue, Mar 22, 2005 at 10:08:48AM -0800, Doug
 Paquette wrote:
  Group,
  
  Is there anyone here who knows if HP's Integrated
  Lights out card on a Proliant DL380 G3 will for
 sure
  work with Free BSD?
  
  I beleive it will from the last time I tried the
  trial, but that was 8 months ago and I cannot
 remember
  if it did or not, and I have already used up my 30
 day
  trial, and HP doesn't know how to get me more
 trial
  time. I hate to buy the licencing pack without
 knowing
  for sure.
  
  Can anyone help me with this?
  
  Thanks 
  
  Doug
  
  
  
  __ 
  Do you Yahoo!? 
  Yahoo! Small Business - Try our new resources
 site!
  http://smallbusiness.yahoo.com/resources/ 
  ___
  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]
 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Does QEMU support Windows VPN ? (3rd try..)

2005-03-23 Thread bsdzz
Hello,
I have been trying to connect from my FreeBSD box to a Microsoft VPN.  I 
am running Windows 2000 Pro and also Windows Millennium inside  QEMU.  I 
have also tried using both -user-net and /dev/tun0 connections.  The 
connections fail while trying to authenticate my name and password.

This connection is being made from my home (which is behind a hardware 
firewall) to my workplace.  I can connect to the VPN  when I am using a 
native Windows computer at my house.  After I get the VPN connection 
working from within QEMU, I am going to use RemoteDesktop, but I haven't 
got that far yet.

Is it possible to use connect to a Microsoft VPN using Windows inside 
QEMU? So far the authentication always fails.

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


Teaming / Load Sharing of NIC Cards

2005-03-23 Thread Doug Paquette
Group,

I have an HP Proliant DL380 G3 and I am interested in
teaming or load sharing (what ever its called) my two
NIC cards that are in my server.

I have been reading about this that I am suppose to
find free bsd drivers to make this work???

I am interested in doing this, but dont know what to
do or where to start, is there anyone who has done
this before with my kind of setup (dl380 server and
free bsd O/S) that can either point me in the right
direction, explain to me how to do this, or walk me
through it?

Thanks

Doug



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mkhomedir.so is missing =(

2005-03-23 Thread fandino
JP wrote:
I need some help trying to locate or how to obtain/build a file 
 named mkhomedir.so  this file is needed to create home directories
 after logging in successfully though winbind.  I am running FreeBSD 5.3
 Release, and Samba 3.  I am unable to locate this file anywhere.
I'm using preexec as a workaround to the missing mkhomedir.
[homes]
comment = Home Directories
valid users = %S
path = /samba/%u
read only = No
browseable = No
# automatic home directories creation
root preexec = if [ ! -d /samba/%u/ ] ;\
   then { mkdir -p /samba/%u/.winprofile ;\
  chown -R %u /samba/%u ; \
  chmod -R 0700 /samba/%u ;} ; \
   fi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mpathy 3310 usb storage device

2005-03-23 Thread Mario Negwer
Hi togehter

I have a problem to connect my mpathy 3310 (mp3 player) usb storage device.
This storage contains a compact flash card.
If I want to connect it, I got following messages:

Mar 23 08:25:47 negwer kernel: umass0: vendor 0x090a product 0x1100, rev 
1.10/1.00, addr2 
Mar 23 08:27:58 negwer kernel: umass0: CBI reset failed, TIMEOUT
Mar 23 08:27:58 negwer kernel: umass0: CBI bulk-in stall clear failed, STALLED
Mar 23 08:27:58 negwer kernel: umass0: CBI bulk-out stall clear failed, STALLED
Mar 23 08:27:58 negwer kernel: (probe0:umass-sim0:0:0:0): AutoSense Failed


It seems that mpathy don't implement.
Do you have any ideas to get it work anyhow?

Thnx

--
Greetings

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


Re: 8-bit characters anyone?

2005-03-23 Thread Andreas Davour
On Wed, 23 Mar 2005, Giorgos Keramidas wrote:
On 2005-03-22 23:02, Andreas Davour [EMAIL PROTECTED] wrote:
On Tue, 22 Mar 2005, Giorgos Keramidas wrote:
In KDE, after having added my own xmodmap to the .xinitrc file, I
though that they might appear. No such luck. Even after setting the
keyboard layout on Control Panel/Regional/Keyboard Layout to Swedish
do they not appear. [...]
You have probably forgotten to set the locale related stuff correctly in
your environment.  What does the following in one of your shells?
% env | grep LANG
% env | grep LC_
Nothing at all. Though, I never did fiddle with locales before the
upgrade either. In KDE I have configured the locale as Swedish, and the
date, currency and those things look ok.
This is probably what's causing you trouble.
FWIW, using the XKB input extension here, I noticed that the X server
fails to get/output any 8-bit character until I correctly set my
environment in the login shell or my ``.xinitrc'' file.
For instance, for Greek text input, I use:
   [-- .xinitrc file --]
After adapting this to my locale, things look like they should in X. Now 
I'll just have to figure out how to get the console to work as I want as 
well.

Things must have changed from my last install, when this wasn't 
necessary.

Thanks for your help!
/Andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh sessions getting paused on idle

2005-03-23 Thread [EMAIL PROTECTED]
On Wed, 23 Mar 2005 11:55:53 +0200
Riaan Annandale [EMAIL PROTECTED] wrote:

 I ssh to anything over 10 machines at a time and leave the xterms
 idle. When I come back to a session and press enter / start typing, it
 takes a few seconds to come alive. Almost as if the connection got
 canned.
 
 Do you think this could be ipfw related? Or is it a switch that i have
 to specify somewhere?

i can only tell you that when i'm using a not so good
internet-connection my ssh-sessions suffer from that in a similar way as
you described here, some people told me that ssh can be given highest
priority with a traffic shaper (i think ipfw can do that too), that
could solve this problem



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


Re: ssh sessions getting paused on idle

2005-03-23 Thread Riaan Annandale
On Wed, Mar 23, 2005 at 12:22:56PM +0100, [EMAIL PROTECTED] wrote:
 On Wed, 23 Mar 2005 11:55:53 +0200
 Riaan Annandale [EMAIL PROTECTED] wrote:
 
  I ssh to anything over 10 machines at a time and leave the xterms
  idle. When I come back to a session and press enter / start typing, it
  takes a few seconds to come alive. Almost as if the connection got
  canned.
  
  Do you think this could be ipfw related? Or is it a switch that i have
  to specify somewhere?
 
 i can only tell you that when i'm using a not so good
 internet-connection my ssh-sessions suffer from that in a similar way as
 you described here, some people told me that ssh can be given highest
 priority with a traffic shaper (i think ipfw can do that too), that
 could solve this problem
Thanks for the answer, I doubt that is the problem though. As I have at
least 3MB links to all these servers (it's on throttled ethernet in our
data centre ;)

 
 
---end quoted text---

-- 
   Riaan Annandale


pgpVfzK8kWmEk.pgp
Description: PGP signature


Acroread7

2005-03-23 Thread Andreas Davour
I have hit upon another problem with my new system. Acroread is now 
version 7 (what was wrong with the previous version, Adobe? *shrug*) and 
since it is a Linux binary it naturally depends on Linux libraries. But, 
some of those libraries are missing. Anyone having the same problem?

I searched google and the mailing lists for a solution, and found some 
that suggested telling the Linux ldconfig the localtion of the FreeBSD 
library files, but that wont work.

Is the dependancies for the port broken, or have I missed something 
again?

/andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ksysguardd issue

2005-03-23 Thread Bachelier Vincent
Hi
I have a problem with ksysguardd
in user mode, it would start ksysguardd with want to create pid file under 
/var/run
/var/run has a mode: 0755 root/wheel

Well, the applet assiociated (System controling (kde applet)) wouldn't continue 
to start

ok, have an idea ?
any patch to do ?
-- 
Vincent Bachelier [EMAIL PROTECTED]
Language: Francais / English
Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux
Blog: http://dieghostfbsd.blogspot.com
Site perso  : http://www.solintech.fr/freebsd/ - FreeBSD Donjon

Citation (fortune):

For my son, Robert, this is proving to be the high-point of his entire
life to date.  He has had his pajamas on for two, maybe three days
now.  He has the sense of joyful independence a 5-year-old child gets
when he suddenly realizes that he could be operating an acetylene torch
in the coat closet and neither parent [because of the flu] would have
the strength to object.  He has been foraging for his own food, which
means his diet consists entirely of food substances which are
advertised only on Saturday-morning cartoon shows; substances that are
the color of jukebox lights and that, for legal reasons, have their
names spelled wrong, as in New Creemy Chok-'n'-Cheez Lumps o' Froot
(part of this complete breakfast).
-- Dave Barry, Molecular Homicide
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Wireless Network NDIS

2005-03-23 Thread Lourik Malan
HI there

I get the following when i try an compile the following into the kernel. 

optionsNDISAPI
device ndis
device wlan

/usr/src/sys/dev/if_ndis/if_ndis.c:85:30: ndis_driver_data.h: No such file or 
directory
/usr/src/sys/dev/if_ndis/if_ndis_pccard.c:66:30: ndis_driver_data.h: No such 
file or directory
/usr/src/sys/dev/if_ndis/if_ndis_pci.c:65:30: ndis_driver_data.h: No such file 
or directory
mkdep: compile failed
*** Error code 1

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


Re: Wireless Network NDIS

2005-03-23 Thread Phil Schulz
On 03/23/05 14:09, Lourik Malan wrote:
 HI there
 
 I get the following when i try an compile the following into the kernel. 
 
 optionsNDISAPI
 device ndis
 device wlan
 
 /usr/src/sys/dev/if_ndis/if_ndis.c:85:30: ndis_driver_data.h: No such file or 
 directory
 /usr/src/sys/dev/if_ndis/if_ndis_pccard.c:66:30: ndis_driver_data.h: No such 
 file or directory
 /usr/src/sys/dev/if_ndis/if_ndis_pci.c:65:30: ndis_driver_data.h: No such 
 file 
 or directory
 mkdep: compile failed
 *** Error code 1
 

From ndis(4):

To build a functional driver, the user must have a copy of the driver
distribution media for his or her card.  From this distribution, the
user must extract two files: the .SYS file containing the driver binary
code, and its companion .INF file, which contains the definitions for
driver-specific registry keys and other installation data such as device
identifiers. These two files can be converted into a ndis_driver_data.h
file using the ndiscvt(8) utility.  This file contains a binary image of
the driver plus registry key data.  When the ndis driver loads, it will
create sysctl(3) nodes for each registry key extracted from the .INF file.

So, in short: You'll need to run the supplied Windows driver through
ndiscvt(8) before you can build the ndis module.

Regards,

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


Re: Acroread7

2005-03-23 Thread Kris Kennaway
On Wed, Mar 23, 2005 at 12:54:04PM +0100, Andreas Davour wrote:
 
 I have hit upon another problem with my new system. Acroread is now 
 version 7 (what was wrong with the previous version, Adobe? *shrug*) and 
 since it is a Linux binary it naturally depends on Linux libraries. But, 
 some of those libraries are missing. Anyone having the same problem?
 
 I searched google and the mailing lists for a solution, and found some 
 that suggested telling the Linux ldconfig the localtion of the FreeBSD 
 library files, but that wont work.
 
 Is the dependancies for the port broken, or have I missed something 
 again?

Sounds like you're running an out-of-date ports collection.

Kris


pgpYqa9qEQfq4.pgp
Description: PGP signature


Re: Wireless Network NDIS

2005-03-23 Thread Lourik Malan
hi There

i've got the following files from the winxp folder

 Fw1130.bin
 FwRad16.bin
 FwRad17.bin
 TNET1130.INF
 radio16.bin
 radio17.bin
 tnet1130.cat
 tnet1130.sys

i copied all of them to the correct folder /usr/src/sys/modules/if_ndis



root solar:/usr/src/sys/modules/if_ndis# ndiscvt -i TNET1130.INF -s 
tnet1130.sys -f Fw1130.bin FwRad16.bin FwRad17.bin radio16.bin radio17.bin -o 
ndis_driver_data.h

objcopy -I binary -O elf32-i386-freebsd -B i386 Fw1130.bin Fw1130.bin.o
objcopy --redefine-sym _binary_Fw1130_bin_start=fw1130_bin_start 
--strip-symbol _binary_Fw1130_bin_size --redefine-sym 
_binary_Fw1130_bin_end=fw1130_bin_end Fw1130.bin.o Fw1130.bin.o
ld -Bshareable -d -warn-common -o Fw1130.bin.ko Fw1130.bin.o

root solar:/usr/src/sys/modules/if_ndis#make  make install

# kldload ndis
# kldload if_ndis

this all works fine, but i can't compile it in permenantly and the wireless 
pcmcia card is not working

Any help will be greatly appeciated



On Wednesday 23 March 2005 15:17, Phil Schulz wrote:
 On 03/23/05 14:09, Lourik Malan wrote:
  HI there
 
  I get the following when i try an compile the following into the kernel.
 
  optionsNDISAPI
  device ndis
  device wlan
 
  /usr/src/sys/dev/if_ndis/if_ndis.c:85:30: ndis_driver_data.h: No such
  file or directory
  /usr/src/sys/dev/if_ndis/if_ndis_pccard.c:66:30: ndis_driver_data.h: No
  such file or directory
  /usr/src/sys/dev/if_ndis/if_ndis_pci.c:65:30: ndis_driver_data.h: No such
  file or directory
  mkdep: compile failed
  *** Error code 1
 
 
 From ndis(4):

 To build a functional driver, the user must have a copy of the driver
 distribution media for his or her card.  From this distribution, the
 user must extract two files: the .SYS file containing the driver binary
 code, and its companion .INF file, which contains the definitions for
 driver-specific registry keys and other installation data such as device
 identifiers. These two files can be converted into a ndis_driver_data.h
 file using the ndiscvt(8) utility.  This file contains a binary image of
 the driver plus registry key data.  When the ndis driver loads, it will
 create sysctl(3) nodes for each registry key extracted from the .INF file.

 So, in short: You'll need to run the supplied Windows driver through
 ndiscvt(8) before you can build the ndis module.

 Regards,

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

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


Re: Acroread7

2005-03-23 Thread Andreas Davour
On Wed, 23 Mar 2005, Kris Kennaway wrote:
On Wed, Mar 23, 2005 at 12:54:04PM +0100, Andreas Davour wrote:
I have hit upon another problem with my new system. Acroread is now
version 7 (what was wrong with the previous version, Adobe? *shrug*) and
since it is a Linux binary it naturally depends on Linux libraries. But,
some of those libraries are missing. Anyone having the same problem?
I searched google and the mailing lists for a solution, and found some
that suggested telling the Linux ldconfig the localtion of the FreeBSD
library files, but that wont work.
Is the dependancies for the port broken, or have I missed something
again?
Sounds like you're running an out-of-date ports collection.
Well, I updated it just days ago when I installed my new kernel. Maybe 
the port was broken just those days I looked then. If no others have the 
same problem I guess I must have been lucky to get it right when it 
broke then. :)

/andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acroread7

2005-03-23 Thread Erik Trulsson
On Wed, Mar 23, 2005 at 02:34:02PM +0100, Andreas Davour wrote:
 On Wed, 23 Mar 2005, Kris Kennaway wrote:
 
 On Wed, Mar 23, 2005 at 12:54:04PM +0100, Andreas Davour wrote:
 
 I have hit upon another problem with my new system. Acroread is now
 version 7 (what was wrong with the previous version, Adobe? *shrug*) and
 since it is a Linux binary it naturally depends on Linux libraries. But,
 some of those libraries are missing. Anyone having the same problem?
 
 I searched google and the mailing lists for a solution, and found some
 that suggested telling the Linux ldconfig the localtion of the FreeBSD
 library files, but that wont work.
 
 Is the dependancies for the port broken, or have I missed something
 again?
 
 Sounds like you're running an out-of-date ports collection.
 
 Well, I updated it just days ago when I installed my new kernel. Maybe 
 the port was broken just those days I looked then. If no others have the 
 same problem I guess I must have been lucky to get it right when it 
 broke then. :)

The print/acroread port was updated from Acroread 5 to Acroread 7 about
a week ago. A few days ago it was changed back to Acroread 5, while the
print/acroread7 port was created for Acroread 7.

So your ports collection is out-of-date, but only by a few days. :-)


I did not have any problems when I installed either of them on a fairly
clean system a few days ago. (I originally installed print/acroread
when it was a version 7, and the deinstalled it and installed version 5
when the port was changed back.)

For me teh linux-libraries it depends on was pulled in automatically,
just like they are supposed to be, so I it is something local to your
system.


-- 
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]


ayuda

2005-03-23 Thread jose luis
hola soy jose  vi un comando que se llama play quiero saber si es para 
escuchar musica
hi my  name is joseph i saw a command named play y want to known if i can use 
it for listen to music



-
Do You Yahoo!?
Todo lo que quieres saber de Estados Unidos, América Latina y el resto del 
Mundo.
Visíta Yahoo! Noticias.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acroread7

2005-03-23 Thread Kris Kennaway
On Wed, Mar 23, 2005 at 02:34:02PM +0100, Andreas Davour wrote:
 On Wed, 23 Mar 2005, Kris Kennaway wrote:
 
 On Wed, Mar 23, 2005 at 12:54:04PM +0100, Andreas Davour wrote:
 
 I have hit upon another problem with my new system. Acroread is now
 version 7 (what was wrong with the previous version, Adobe? *shrug*) and
 since it is a Linux binary it naturally depends on Linux libraries. But,
 some of those libraries are missing. Anyone having the same problem?
 
 I searched google and the mailing lists for a solution, and found some
 that suggested telling the Linux ldconfig the localtion of the FreeBSD
 library files, but that wont work.
 
 Is the dependancies for the port broken, or have I missed something
 again?
 
 Sounds like you're running an out-of-date ports collection.
 
 Well, I updated it just days ago when I installed my new kernel. Maybe 
 the port was broken just those days I looked then. If no others have the 
 same problem I guess I must have been lucky to get it right when it 
 broke then. :)

The ports collection is usually very quickly changing.  Within hours
of a bug being reported, it is often fixed.  Therefore, when you see a
bug but only get around to reporting it a few days later, you should
either

* first check whether it's already been fixed

* at least check whether it's already been reported (i.e. consult the
freebsd-ports mailing list archives)

Thanks,
Kris

pgpARim9lmTJ4.pgp
Description: PGP signature


Re: mkhomedir.so is missing =(

2005-03-23 Thread JP
Unfortunately I don't think it would work in my case although its a good idea.  
My problem is that my Windows 2000 Server (PDC) contains all the user 
information and FreeBSD authenticates against it.  Supposedly, a person 
telneting in would be authenticated with winbind and if no home directory 
exists it would be created by the mkhomedir.so file.  It doesn't appear that 
many people have experienced missing this file, not having much luck finding 
anything on google about it.
 
JP 

fandino [EMAIL PROTECTED] wrote:
JP wrote:
 I need some help trying to locate or how to obtain/build a file 
 named mkhomedir.so this file is needed to create home directories
 after logging in successfully though winbind. I am running FreeBSD 5.3
 Release, and Samba 3. I am unable to locate this file anywhere.

I'm using preexec as a workaround to the missing mkhomedir.

[homes]
comment = Home Directories
valid users = %S
path = /samba/%u
read only = No
browseable = No
# automatic home directories creation
root preexec = if [ ! -d /samba/%u/ ] ;\
then { mkdir -p /samba/%u/.winprofile ;\
chown -R %u /samba/%u ; \
chmod -R 0700 /samba/%u ;} ; \
fi


___
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]


need your help, thanks!

2005-03-23 Thread yang ning

   I have tried times and times to download a copy of FreeBSD fro= m your
   FTP site. However, every time I failed. It seemed to me that the tra   
nsfering speed is unbearably slow.

   What's worse, somehow I was black-listed by the administrator.( Maybe
   be= cause I tried too much times to download from your site. )

   I'm using an ADSL line, and usually the speed is fairly quick. In
   additi= on, I only happened to such problems in your site.

   I need your help, many thanks!

 Faithfully User

   YangNing
   -- 

   ___
   Sign-up f= or Ads Free at Mail.com
   [1]http://www.mail.com/?sr=signup

References

   1. 
3Dhttp://mail01.mail.com/scripts/payment/adtracking.cgi?bannercode___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need your help, thanks!

2005-03-23 Thread Luke Kearney

On Wed, 23 Mar 2005 09:20:21 -0500
yang ning [EMAIL PROTECTED] spake thus:

 
I have tried times and times to download a copy of FreeBSD from your
FTP site. However, every time I failed. It seemed to me that the tra   
 nsfering speed is unbearably slow.
 
What's worse, somehow I was black-listed by the administrator.( Maybe
because I tried too much times to download from your site. )
 
I'm using an ADSL line, and usually the speed is fairly quick. In
addition, I only happened to such problems in your site.
 
I need your help, many thanks!
 
  Faithfully User
 
YangNing
-- 
Are you downloading from a mirror site close to you ? Check the website
for a list of mirrors that are close to your area.

Good Luck

LukeK

-- 
 

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


Re: need your help, thanks!

2005-03-23 Thread Stephan Lichtenauer
Am 23.03.2005 um 15:20 schrieb yang ning:
   I have tried times and times to download a copy of FreeBSD fro m  
your
   FTP site. However, every time I failed. It seemed to me that the  
tra   nsfering speed is unbearably slow.


Hello YangNing,
I suggest you try to use one of the mirrors that are closer to you, you  
find a long list of mirrors all around the world here:

http://www.de.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors- 
ftp.html

Good luck and have fun with FreeBSD! :)
Stephan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Proper way to add 3rd party milters?

2005-03-23 Thread Tillman Hodgson
Howdy folks,

I'm looking at some milters that would be very useful to my mail
architecture (milter-ahead is one I'm looking at deploying very soon).

What's the best way to add 3rd-party milters so that it's still
maintainable? I'm thinking of writing a port around it (using
mail/rbl-milter) because I could then use the ports infrastructure to
upgrade. Does this method work well when using milters with the sendmail
in the base OS? What are other folks doing to solve this sort of
problem?

-T

-- 
Truth suffers from too much analysis.
- Ancient Fremen Saying
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installInitial: Couldn't clone the bootfloppy onto the root file system

2005-03-23 Thread Network Security
I am trying to install FreeBSD in slice 2 (WinXP already installed
in slice 1), both by 'install.cfg' and manually. All works fine when I
use the entire disk, using partitions 'da0s1X'.
I can create slice 2, with type 165, but when I try to lay out the
filesystems and do the 'commit', I get the following errors:
'Copying return error status of 1!'
'/: write failed, filesystem is full'
'installInitial: Couldn't clone the bootfloppy onto the root file system.
Aborting!'
An emergency shell shows that the device files 'da0s2a' through
'da0s2f' exist in '/dev'.
What am I missing?
Thanks,
Mike.
--
Mike Peterson -- Network Security Specialist -- Computer and Network 
Services
E-mail: [EMAIL PROTECTED] WWW: 
http://www.noc.utoronto.ca/
Tel: 416-978-5230   Fax: 
416-971-1362

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


Re: audio player (was: ayuda)

2005-03-23 Thread Roland Smith
On Tue, Mar 22, 2005 at 02:44:03PM -0600, jose luis wrote:

 hi my name is joseph i saw a command named play y want to known if i
 can use it for listen to music

Depends on which port it comes from. If you have the play port
installed (use pkg_info|grep play to test), it can only play RIFF and
u-law audio files, which is not very usefull. If you have play from the
sox port installed (use pkg_info|grep sox to test), that should
recognize more formats.

If you are using the X Window System, I would recommend installing
xmms from /usr/ports/multimedia/xmms. It can play a lot of audio file
formats, like wav, MP3, ogg and flac, and you can compile playlists etc.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgp5ddb16MJNh.pgp
Description: PGP signature


Re: Anthony's drive issues.Re: ssh password delay

2005-03-23 Thread Scott Mitchell
On Wed, Mar 23, 2005 at 03:46:40AM +0100, Anthony Atkielski wrote:
 But I don't really know for sure, because nothing is documented, and
 nobody here knows anything.

Anthony,

Have you filed a PR for this problem?  A search for your name in the FreeBSD
bug database and the freebsd-bugs archive didn't turn up anything relevant,
so I'm guessing not.  You may or may not be aware that most of the FreeBSD
developers don't subscribe to the -questions list, so the people who do know
something about this are unlikely to have seen any of your messages.  Oddly
enough, filing a PR is the official, supported way to Report a Problem with
FreeBSD and the best way to make sure a developer at least looks at it...

I don't recall the details, but I seem to remember your problem was quite
specific in terms of hardware, etc.  It might be worth reading the PR
guidelines at:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html
before submitting your report, to make sure you include all of the necessary
information to help with diagnosing the problem.

Regards,

Scott

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


Re: FreeBSD 5.3 and too many files open...

2005-03-23 Thread Mikko Työläjärvi
Hi,
On Wed, 23 Mar 2005 [EMAIL PROTECTED] wrote:
Hi,
i run into a problem on a FreeBSD 5.3-STABLE Applicationserver (2GB of RAM,
4GB Swap, Dual XEON 3.06Ghz).
The box serves the xfrce4-panel for 80 Network Clients via ssh so the
Users can start OpenOffice.org and firefox from that panel.
It is goin very well, except a message (and also a problem) i run into the
last day.
If i tried to open firefox from a networkclient and received the message
too many files open I saw that message on 3 different Network Clients
and just after a fresh configure and the first time starting firfox on
these Networkclients with that UID.
I checked my configuration on the server about openfiles:
kern.openfiles:9306
kern.maxfiles:65536
netstat -m
3952 mbufs in use
732/64000 mbuf clusters in use (current/max)
[...]
fstat shows me 393 on User A and on User B 3459. I did not check the
other users.
kern.maxfilesperproc: 5898
kern.maxusers: 384
My /boot/loader.conf looks like:
kern.maxfiles=65536
kern.ipc.nmbclusters=64000
kern.ipc.nmbufs=256000
kern.maxproc=8192
kern.ipc.somaxconn=4096
So i do not get it, imho the configuration is just fine, but why do i get
the message too many files open...?
I think there is a separate limit for sockets, which you may be
hitting.  Check with sysctl kern.ipc | grep socket.
  $.02,
  /Mikko
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Teaming / Load Sharing of NIC Cards

2005-03-23 Thread Boris Spirialitious

--- Doug Paquette [EMAIL PROTECTED] wrote:
 Group,
 
 I have an HP Proliant DL380 G3 and I am interested
 in
 teaming or load sharing (what ever its called) my
 two
 NIC cards that are in my server.
 
 I have been reading about this that I am suppose to
 find free bsd drivers to make this work???
 
 I am interested in doing this, but dont know what to
 do or where to start, is there anyone who has done
 this before with my kind of setup (dl380 server and
 free bsd O/S) that can either point me in the right
 direction, explain to me how to do this, or walk me
 through it?

I am curious about why people want this. Are you
having problems with your ethernet lines going 
down? Is GigE not fast enough for you? It is
very strange why this is necessary?

Boris



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keyboard Repeat Rate

2005-03-23 Thread Tom Vilot
  Do you mean that you have your system set to load X immediately upon
 booting, and that you do not set the keyboard repeat rate before then?

No, I boot into terminal mode and then log in and then issue startx.
What happens for me currently is that I start up x and they key repeat
rate is too slow. Even if I issue kbdcontrol -r fast before starting x.

 If so, put the following in /etc/rc.conf:
 keyrate=fast

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


Re: Apache compile prob in portupgrade

2005-03-23 Thread Ben Munat
On Wed, 23 Mar 2005 3:53 pm, Niq wrote:
Umm I had a similar problem , do a cvsup on ure whole ports tree ,and then
perhaps a portupgrade -a . I remember it had something to do with a package
in the textconv tree. Hope this helps

I just finished doing a complete cvsup with  all ports  src and a 
portupgrade -aDk -m BATCH=yes before i got this problem as it is 1 of a few 
ports that dont upgrade.
Just wanted to throw a me too in here... only with portmanager. Same error message. 
Luckily this is on my home machine, so I'm not too concerned about apache. Still rather 
annoying however...

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


Re: Proper way to add 3rd party milters?

2005-03-23 Thread Dan Nelson
In the last episode (Mar 23), Tillman Hodgson said:
 I'm looking at some milters that would be very useful to my mail
 architecture (milter-ahead is one I'm looking at deploying very
 soon).
 
 What's the best way to add 3rd-party milters so that it's still
 maintainable? I'm thinking of writing a port around it (using
 mail/rbl-milter) because I could then use the ports infrastructure to
 upgrade. Does this method work well when using milters with the
 sendmail in the base OS? What are other folks doing to solve this
 sort of problem?

There shouldn't be any issues at all.  Just install the milter, create
an rc script to start it up, and print a message asking the user to add
the appropriate INPUT_MAIL_FILTER macro to their .mc file. 

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


Re: Keyboard Repeat Rate

2005-03-23 Thread Tom Vilot
  If so, put the following in /etc/rc.conf:
  keyrate=fast
 
 Okay. I'll try that.

Well, that didn't work.

It sets the key repeat rate, but when I start X it goes back to
defaults. At least for the X session.

I'm guessing there's a configuration somewhere for WindowMaker that is
re-setting it. :c(

Hmmm. I'll have to poke around some more .

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


AMD64 much slower than i386 on FreeBSD 5.4-pre

2005-03-23 Thread Boris Spirialitious

--- Emanuel Strobl [EMAIL PROTECTED] wrote:
 Am Mittwoch, 23. März 2005 01:19 schrieb Boris
 Spirialitious:
  -- Emanuel Strobl [EMAIL PROTECTED] wrote:
   Am Mittwoch, 23. März 2005 00:38 schrieb Boris
 
   Spirialitious:
I have opteron 246 system with 2 port intel em
card. We have test bed with about 200Kbs
 traffic
and we route through 5.3/i386 system. Load is
about 50%.  With same settings, amd64 system
 run
with 85% load. How could be so slow? What
 tuning
extra is needed for amd64 kernels?
  
   200kB/s sounds like misconfigured
 duplex/negotiation
   mode.
   But why don't you try FreeBSD 5.4-BETA1? Many
   performance improvements were
   achieved and stability is given in the -STABLE
   branch (BETA1 is a relese of
   FreeBSD 5-STABLE)
 
  I am sorry, I mean 200Mb/s. It is a controlled
 stream
 
 Unfortunately that's a not so uncommon result with
 em and 5.3. There are 
 tuning methods but they won't give the big kick.
 
 Like mentioned, try 5.4 (BETA1), depending on your
 employment you'll see 
 tremendous improvement, I don't have values handy
 nor can I confirm that for 
 amd64, but you really wnat to try out, especially if
 this box isn't 
 productive yet, which it isn't if I understood
 correctly.

I am running 5.4-Pre now. Its the same. Everyone
always say try new version, but it always the same.

i compare em to em, only difference is amd64 vs
i386. So amd64 O/S is this much slower than i386?
So why anyone use? Is like nobody know what is
going on with this OS. Before, people tell me
Opteron on i386 no good. But now that I test,
its much better than amd64. Why is there always
excuse with FreeBSD 5? Always try next version.
Always same slow result?

Boris



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


Re: PHP / Apache bus error

2005-03-23 Thread Tom Vilot
Peter Risdon helpful contributes:

 You don't _have_ to boot into single user mode. See below.

Okay, cool.

I have one last question (me thinks) before I attempt this. (and I'll
attempt it on my home server, first, even though it is a 5.3 box. At
least I can get practice).

On the 4.9 server, what should my supfile's tag be?

*default release=cvs tag=RELENG_4_11

Is that right?

And I assume I would then be safe doing:

rm -fr /usr/src
cvsup stable-supfile



[ re: going from 4.x to 5.x]

 No, this would have some issues that you might be better avoiding
 right now.

I've since gathered that is the case. I can see it is possible, but
since the server has two drives, I think I'll wait on this, install 5.3
on the second drive, and deal with that stuff then.

 The only time I have ever had a problem with a remote upgrade within the
 4.x tree was when _I_ made a mistake.

You think you're special, eh? :c)
I make some JUICY mistakes sometimes, too!!

 The only difference from the procedure in the handbook for a remote
 upgrade is that you would not boot into single user mode at any point,
 obviously, but instead do a normal reboot.

Generally, I am the only user logged into the machine. So the only issue
is running processes, which I am not all that worried about since right
after the install I'm going to reboot.
 
 Do read /usr/src/UPDATING, consider what you might need
 in /etc/make.conf and understand how mergemaster(8) works before
 Starting.

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


cvsup won't connect

2005-03-23 Thread Chip Wiegand
I have tried more than 6 cvsup mirrors and cannot get a connection to any 
of them. The message is simple enough - Cannot connect to 
cvsup2.FreeBSD.org: Connection refused Will retry at 09:00:00
Does cvsup use some non-standard port to connect thru? (The manual doesn't 
touch on this.) If so, the problem is probably the company firewall.
--
Chip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mixer: /dev/mixer: Device not configured

2005-03-23 Thread Vilbon Arsenault

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


Re: cvsup won't connect

2005-03-23 Thread Michael C. Shultz
On Wednesday 23 March 2005 09:05 am, Chip Wiegand wrote:
 I have tried more than 6 cvsup mirrors and cannot get a connection to
 any of them. The message is simple enough - Cannot connect to
 cvsup2.FreeBSD.org: Connection refused Will retry at 09:00:00
 Does cvsup use some non-standard port to connect thru? (The manual
 doesn't touch on this.) If so, the problem is probably the company
 firewall. --
 Chip

cvsup uses port 5999 see /etc/services

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


how to find which port has a given executable

2005-03-23 Thread Rajarajan Rajamani
Hi,
 I had asked this in a slightly different post but there was no reply
so I am posting again.

Is it possible to find out which port has a particular
executable/script file ? It took me some time to find
out if the script epstopdf was in latex or tex or tetex!

Any easy way to do this ?

Regards,

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


Re: how to find which port has a given executable

2005-03-23 Thread Michael C. Shultz
On Wednesday 23 March 2005 09:33 am, Rajarajan Rajamani wrote:
 Hi,
  I had asked this in a slightly different post but there was no reply
 so I am posting again.

 Is it possible to find out which port has a particular
 executable/script file ? It took me some time to find
 out if the script epstopdf was in latex or tex or tetex!

 Any easy way to do this ?

 Regards,

 Rajarajan

Here is an example:

pkg_info -W /usr/X11R6/bin/nedit
/usr/X11R6/bin/nedit was installed by package nedit-5.5

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


Re: more info again

2005-03-23 Thread Gary Smithe
On Tue, 22 Mar 2005 18:30:40 -0500, Francis Whittington
[EMAIL PROTECTED] wrote:

 I'll let you know how its going from time to time if thats ok. I have 
 only one question about this. If I still want to use my wireless router as a 
 switch.will it work?
 Thanks,
  Buddy

It's usually no problem to use a wireless router as a wireless access
point / switch.  Just ignore the WAN port on the device.

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


Network Interface Card Setup

2005-03-23 Thread Dixit, Viraj
Hi,
I have got a mismatch Duplex problem. Can someone confirm these commands to use 
with sysinstall. I want to change various options for the network card or where 
can I find these commands.

*   media 100baseTx mediaopt autoselect
*   media 100baseTX mediaopt full-duplex
Thanks,
VJ

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


Re: Network Interface Card Setup

2005-03-23 Thread em1897
man driver, such as 'man em' for the em driver
-Original Message-
From: Dixit, Viraj [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wed, 23 Mar 2005 09:47:49 -0800
Subject: Network Interface Card Setup
Hi,
I have got a mismatch Duplex problem. Can someone confirm these 
commands to use
with sysinstall. I want to change various options for the network card 
or where
can I find these commands.

*   media 100baseTx mediaopt autoselect
*   media 100baseTX mediaopt full-duplex
Thanks,
VJ
___
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: how to find which port has a given executable

2005-03-23 Thread Alex Zbyslaw
Michael C. Shultz wrote:
Is it possible to find out which port has a particular
executable/script file ? It took me some time to find
out if the script epstopdf was in latex or tex or tetex!
Any easy way to do this ?
   

Here is an example:
pkg_info -W /usr/X11R6/bin/nedit
/usr/X11R6/bin/nedit was installed by package nedit-5.5
 

I think the question might have been about a file from port which wasn't 
yet installed, in which case it's a little more time consuming:

% find /usr/ports -type f -name pkg-plist -exec egrep -H epstopdf {} \;
/usr/ports/chinese/cwtex/pkg-plist:share/texmf/cwtex/help/epstopdf.txt
/usr/ports/print/teTeX-base/pkg-plist:bin/epstopdf
/usr/ports/print/teTeX-texmf/pkg-plist:%%TEXMFDISTDIR%%/doc/help/Catalogue/entries/epstopdf.html
/usr/ports/print/teTeX-texmf/pkg-plist:%%TEXMFDISTDIR%%/tex/latex/oberdiek/epstopdf.sty
/usr/ports/textproc/rubber/pkg-plist:%%PYTHON_SITELIBDIR%%/rubber/graphics/epstopdf.py
/usr/ports/textproc/rubber/pkg-plist:%%PYTHON_SITELIBDIR%%/rubber/graphics/epstopdf.pyc
/usr/ports/japanese/ptex-common/pkg-plist:bin/epstopdf
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: audio player (was: ayuda)

2005-03-23 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-23, Roland Smith scribbled these
curious markings:
 If you are using the X Window System, I would recommend installing
 xmms from /usr/ports/multimedia/xmms. It can play a lot of audio file
 formats, like wav, MP3, ogg and flac, and you can compile playlists etc.

Although you'll need a plugin to play FLAC files.

Regardless of X usage, I would personally recommend mplayer. Sure, it's
intended as a movie player, but I've yet to encounter a media file that
it can't play. :)

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQacnk/lo7zvzJioRAk7lAJ9Qg5gfxYHYSfQCiNvw1M692OeEkQCfetex
mCXW8eHWNOMUdP2P9P+GxFI=
=Z75C
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: X problems with Dell Inspiron 2600s

2005-03-23 Thread Rob Winters
Remington wrote:
Please attach full Xorg.log and xorg.conf. This wouldnt happen to be a
widescreen would it? 
I sent the full config and log in the first message.
This is a 1024x768 screen. Cheapest laptop made; too cheap to put a 
property sticker on.

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


Re: AMD64 much slower than i386 on FreeBSD 5.4-pre

2005-03-23 Thread em1897
The answer, Boris, is that the team has no idea what
they're doing. Check out some of the threads on
performance testing. They tune little pieces here
and there, and break 10 other things in the process.
Matt Dillon determined that 10,000 ints/second
was optimal. Of course if you're passing 10Kpps
that means you get an interrupt for every
packet.
They're playing pin the tail on the donkey.
:
Am Mittwoch, 23. März 2005 01:19 schrieb Boris
Spirialitious:
 -- Emanuel Strobl [EMAIL PROTECTED] wrote:
  Am Mittwoch, 23. März 2005 00:38 schrieb Boris

  Spirialitious:
   I have opteron 246 system with 2 port intel em
   card. We have test bed with about 200Kbs
traffic
   and we route through 5.3/i386 system. Load is
   about 50%.  With same settings, amd64 system
run
   with 85% load. How could be so slow? What
tuning
   extra is needed for amd64 kernels?
 
  200kB/s sounds like misconfigured
duplex/negotiation
  mode.
  But why don't you try FreeBSD 5.4-BETA1? Many
  performance improvements were
  achieved and stability is given in the -STABLE
  branch (BETA1 is a relese of
  FreeBSD 5-STABLE)

 I am sorry, I mean 200Mb/s. It is a controlled
stream
Unfortunately that's a not so uncommon result with
em and 5.3. There are
tuning methods but they won't give the big kick.
Like mentioned, try 5.4 (BETA1), depending on your
employment you'll see
tremendous improvement, I don't have values handy
nor can I confirm that for
amd64, but you really wnat to try out, especially if
this box isn't
productive yet, which it isn't if I understood
correctly.
I am running 5.4-Pre now. Its the same. Everyone
always say try new version, but it always the same.
i compare em to em, only difference is amd64 vs
i386. So amd64 O/S is this much slower than i386?
So why anyone use? Is like nobody know what is
going on with this OS. Before, people tell me
Opteron on i386 no good. But now that I test,
its much better than amd64. Why is there always
excuse with FreeBSD 5? Always try next version.
Always same slow result?
Boris

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

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


Re: mkhomedir.so is missing =(

2005-03-23 Thread Alex Zbyslaw
JP wrote:
I need some help trying to locate or how to obtain/build a file named mkhomedir.so  this file is needed to create home directories after logging in successfully though winbind.  I am running FreeBSD 5.3 Release, and Samba 3. 
 

% locate mkhome
/usr/src/contrib/libpam/doc/modules/pam_mkhomedir.sgml
/usr/src/contrib/libpam/modules/pam_mkhomedir
/usr/src/contrib/libpam/modules/pam_mkhomedir/Makefile
/usr/src/contrib/libpam/modules/pam_mkhomedir/pam_mkhomedir.c
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acroread7

2005-03-23 Thread Marco Beishuizen
On stardate Wed, 23 Mar 2005, the wise Andreas Davour entered:
I have hit upon another problem with my new system. Acroread is now version 7 
(what was wrong with the previous version, Adobe? *shrug*) and since it is a 
Linux binary it naturally depends on Linux libraries. But, some of those 
libraries are missing. Anyone having the same problem?

I searched google and the mailing lists for a solution, and found some that 
suggested telling the Linux ldconfig the localtion of the FreeBSD library 
files, but that wont work.

Is the dependancies for the port broken, or have I missed something again?
/andreas
I've problems with linux libraries too (also after an update of my 
portstree). I get:

...
/compat/linux/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin/acroread: 
error while loading shared libraries: libXrandr.so.2: cannot open shared 
object file: No such file or directory

[EMAIL PROTECTED] $ locate libXrandr.so.2
/usr/X11R6/lib/libXrandr.so.2
...
Is this the same problem you're having?
Marco
--
The advertisement is the most truthful part of a newspaper
-- Thomas Jefferson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache compile prob in portupgrade

2005-03-23 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-23, Ben Munat scribbled these
curious markings:
 Just wanted to throw a me too in here... only with portmanager. Same error 
 message. 
 Luckily this is on my home machine, so I'm not too concerned about apache. 
 Still rather 
 annoying however...

That's odd. I've been showing FreeBSD to a friend over the past few
days, and he just installed Apache 2.x without any issues earlier this
morning (EST timezone). 

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQafXk/lo7zvzJioRAnheAJ0QHieDlx7lcSBDKj/t+hHj48DmKQCgjgfN
lho0ns3kqv2rw0G6ZxDMiuE=
=qGih
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: PHP / Apache bus error

2005-03-23 Thread Peter Risdon
On Wed, 2005-03-23 at 09:49 -0700, Tom Vilot wrote:
 Peter Risdon helpful contributes:
[...]
 
 On the 4.9 server, what should my supfile's tag be?
 
 *default release=cvs tag=RELENG_4_11

If you like. I'd use

*default release=cvs tag=RELENG_4

The difference has been discussed exhaustively on this list before. This
is a good example:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-July/053176.html

 
 Is that right?
 
 And I assume I would then be safe doing:
 
 rm -fr /usr/src

No need for this line. If you've ever made world or kernel before
there's a BIG need for:

# cd /usr/obj
# chflags -R noschg *
# rm -rf *

before doing it again. But this is all in the handbook.

 cvsup stable-supfile

#cvsup -g -L 2 stable-supfile


Peter.

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


Need find binary

2005-03-23 Thread bsd



-- On one of my web sites, that used to run Solaris 2.7 OS, I had a functional
cron script, mirroring a Solaris Server at home.

The web site was moved to a BSD Server, without access to  many binaries like 
find.
Can anyone tell me WHERE I can grab this one binary off a BSD system to ftp to
the new server?

Without it, my web server is reaching excessive disk quota and I cannot find
the offending files.

Please reply to freebsd-questions or directly to me at [EMAIL PROTECTED]
Thanks in advance
-

Need find binary for FREE BSD 4.9 - REL p11

Need to place this command on a remote server for a cron script to function.

Please reply to [EMAIL PROTECTED] (Alan)

Thanks 


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


Re: dual-boot troubles; /usr won't mount

2005-03-23 Thread RW
On Wednesday 23 March 2005 06:44, Gary Kline wrote:
   The first CD boots 5.3 ad brings up /stand/sysinstall.
   Every options I have tries sees the NTFS as ad0s1.

   Is there another choice to chose to divvy up the drive
   to give me more than three slices?  This is where the
   handbook gets muddy.

   Can anybody 'splain this better??

FreeBSD is not Linux.

Linux uses the same partitioning as Windows, 4 primary partitions, or 3 
primaries and an extended partition.

FreeBSD has its own type of partitioning scheme which you could put directly 
onto the disk, but this is known as dangerously-dedicated mode since it 
isn't compatible with other non-bsd OSs and might cause problems with some 
BIOSes. 

Most people will install FreeBSD in what's known as a slice, this wraps a 
group of native BSD partitions inside a normal PC primary partition. You only 
need one slice for a FreeBSD installation. 


   Which sections should I print out and go in a corner to read?

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


Simple bash script to grep files for bad keywords

2005-03-23 Thread Brian John
Hello,
I am trying to write a simple bash script that will grep all files in a
directory (except ones that start with 00) for certain bad keywords. 
Here is what I have so far:
#!/bin/bash

# This is a simple script to check all sql scripts for bad keywords

BAD_KEYWORDS='spool echo timing commit rollback'

for i in $BAD_KEYWORDS;
do
  echo *;
echo GREPing for bad keyword '$i'
echo *;
grep $i ./*;
done

However, I'm not sure how to make it not grep the files that start with
00.  Can anyone help me with this?

Thanks

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


Step-by-step instructions for MD_ROOT embedded, please?

2005-03-23 Thread Nine Forty

I am having problems building an embedded kernel +
root filesystem image for FreeBSD-5.3.  I had
previously succeeded on 4.11.

For 4.11 I created a filesystem using vnconfig,
disklabel, newfs, etc. and installed it into the
kernel using write_mfs_in_kernel.  I built a kernel
with MD_ROOT and MD_ROOT_SIZE set to 32M.  I selected
the MD filesystem by setting vfs.root.mountfrom in
/boot/loader.conf.

Following these same steps in 5.3 (except using
mdconfig, and hacking write_mfs_in_kernel (setting
SBOFF to 64K)) the kernel failed to find the
filesystem.  If I let the kernel boot with the disk
filesystem I still can't mount md0 - a valid
filesystem is not found.


I would greatly appreciate a detailed, idiot-proof,
step-by-step literal command list starting with
nothing and ending with a kernel with a working
embedded filesystem.  I don't need the filesystem to
have contents, just to be there and be found... once
the kernel boots with md0 and fails to find
/sbin/init, I can take it from there.


Looking on the mailing list archives and on the web I
get the impression that this is not a common
procedure...  I haven't been able to find instructions
anywhere.


I hope someone can help me.

Regards,
Paul.


__
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: Simple bash script to grep files for bad keywords

2005-03-23 Thread Giorgos Keramidas
On 2005-03-23 12:29, Brian John [EMAIL PROTECTED] wrote:
 Hello,
 I am trying to write a simple bash script that will grep all files
 in a directory (except ones that start with 00) for certain bad
 keywords.  Here is what I have so far:

 #!/bin/bash

 # This is a simple script to check all sql scripts for bad keywords

 BAD_KEYWORDS='spool echo timing commit rollback'

 for i in $BAD_KEYWORDS;
 do
   echo *;
 echo GREPing for bad keyword '$i'
 echo *;
 grep $i ./*;
 done

 However, I'm not sure how to make it not grep the files that start
 with 00.  Can anyone help me with this?

Use xargs, since it will buy you the extra feature of being able to
search through arbitrarily large numbers of files:

for _word in ${BAD_KEYWORDS} ;do
find . | grep -v '^/00' |\
xargs grep ${_word} /dev/null
done

Tips:

- The quotes in ${_word} are probably optional, but it's better to
  be safe than sorry :-)

- The /dev/null is there so that grep will get at least 2 file
  arguments, even if there is just one file in the current directory,
  effectively forcing grep(1) to print the filename of this one file
  if it happens to match the pattern.

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


pango.module

2005-03-23 Thread T.F. Cheng
Hi,
  i have this pango trouble when I start 2 apps. one
is realplay and the other is acroread7. here is what
it is:

realplay:
Error reading modules file
** (realplay.bin:6513): WARNING **: No builtin or
dynamically loaded modules
were found. Pango will not work correctly. This
probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running
pango-querymodules.

** (realplay.bin:6513): WARNING **: Cannot open font
file for font Fixed 10

acroread7:
Error reading modules file
** (acroread:6521): WARNING **: No builtin or
dynamically loaded modules
were found. Pango will not work correctly. This
probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running
pango-querymodules.

** (acroread:6521): WARNING **: Cannot open font file
for font Fixed 10

** (acroread:6521): WARNING **: Cannot open font file
for font Fixed 8.3330078125

I googled around and looked through the mailing list,
guessing this is related to my linux-base, what I have
right now is linux_base-8-8.0_4, do I have to upgrade?
if so, to which? thanks!! 

TFC

Best Regards,

Tsu-Fan Cheng

_
Do You Yahoo!?
 @yahoo.com  @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.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: dual-boot troubles; /usr won't mount

2005-03-23 Thread Gary Kline
On Wed, Mar 23, 2005 at 06:22:43PM +, RW wrote:
 On Wednesday 23 March 2005 06:44, Gary Kline wrote:
  The first CD boots 5.3 ad brings up /stand/sysinstall.
  Every options I have tries sees the NTFS as ad0s1.
 
  Is there another choice to chose to divvy up the drive
  to give me more than three slices?  This is where the
  handbook gets muddy.
 
  Can anybody 'splain this better??
 
 FreeBSD is not Linux.
 
 Linux uses the same partitioning as Windows, 4 primary partitions, or 3 
 primaries and an extended partition.
 
 FreeBSD has its own type of partitioning scheme which you could put directly 
 onto the disk, but this is known as dangerously-dedicated mode since it 
 isn't compatible with other non-bsd OSs and might cause problems with some 
 BIOSes. 
 
 Most people will install FreeBSD in what's known as a slice, this wraps a 
 group of native BSD partitions inside a normal PC primary partition. You only 
 need one slice for a FreeBSD installation. 
 
 
  Which sections should I print out and go in a corner to read?
 
 The one called Installing FreeBSD


If memory servers, the slices I created were 
ad0s2   /
ad0s3   SWAP
ad0s4   /usr

I tagged ad0s2 to be bootable; selected everything to be
installed and okay the create script.  /usr had trouble
with newfs because of a bad superblock in 0s4.  My guess 
is that the difficulty stems from a foul-up from the
disk labeling.  

I've been installing BSD since 4.1 at Cal and FreeBSD 
since 2.0.5; I'm familiar with the standard protocols.
This is my first go at trying to  dual-boot such 
different systems.

gary

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

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


root passwrod

2005-03-23 Thread Raymond Lualhati
anyone know how to recover root password in red hat linux?

-- 
Raymond Gosmo Lualhati
Technical Support Enginner
Asiagate Networks Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need find binary

2005-03-23 Thread Charles Swiger
On Mar 23, 2005, at 5:18 AM, [EMAIL PROTECTED] wrote:
-- On one of my web sites, that used to run Solaris 2.7 OS, I had a 
functional
cron script, mirroring a Solaris Server at home.

The web site was moved to a BSD Server, without access to  many 
binaries like find.
Can anyone tell me WHERE I can grab this one binary off a BSD system 
to ftp to
the new server?
FreeBSD comes with /usr/bin/find.  Are you sure that your cron script 
is using the full path to that program; or perhaps you need to set up a 
PATH in the cron script...?

If that system truly does not have a /usr/bin/find, there is something 
wrong with the installation, you should probably update the system by 
building and installing world from source or from a CD.  (ISO images of 
4.11 are available on ftp.freebsd.org.  Those images also would contain 
a working find binary if you just want that alone.)

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


Re: dual-boot troubles; /usr won't mount

2005-03-23 Thread Charles Swiger
On Mar 23, 2005, at 1:59 PM, Gary Kline wrote:
If memory servers, the slices I created were
ad0s2   /
ad0s3   SWAP
ad0s4   /usr
People normally create a BSD partition table within an FDISK partition, 
so / would be on ad0s2a, rather than using all of ad0s2 for a single 
filesystem.  Then you can put swap on ad0s2b, and so forth and just use 
on FDISK partition, rather than using three...

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


Re: Acroread7

2005-03-23 Thread Andreas Davour
On Wed, 23 Mar 2005, Marco Beishuizen wrote:
On stardate Wed, 23 Mar 2005, the wise Andreas Davour entered:
I have hit upon another problem with my new system. Acroread is now version 
7 (what was wrong with the previous version, Adobe? *shrug*) and since it 
is a Linux binary it naturally depends on Linux libraries. But, some of 
those libraries are missing. Anyone having the same problem?

I searched google and the mailing lists for a solution, and found some that 
suggested telling the Linux ldconfig the localtion of the FreeBSD library 
files, but that wont work.

Is the dependancies for the port broken, or have I missed something again?
/andreas
I've problems with linux libraries too (also after an update of my 
portstree). I get:

...
/compat/linux/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin/acroread: 
error while loading shared libraries: libXrandr.so.2: cannot open shared 
object file: No such file or directory

[EMAIL PROTECTED] $ locate libXrandr.so.2
/usr/X11R6/lib/libXrandr.so.2
...
Is this the same problem you're having?
Exactly the same.
As Erik (et al) wrote, it will all be pulled in and resolved as 
dependencies if you have a sufficienyly up-to-date ports tree.

Kind of annyoing that it wasn't caught before it was comitted at all, 
but considering the total confusion that reigns right now with two 
different acroread ports it's just what can be expected.

I did a cvsup 30 minutes ago, and then it worked.
/Andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: root passwrod

2005-03-23 Thread Charles Swiger
On Mar 23, 2005, at 2:00 PM, Raymond Lualhati wrote:
anyone know how to recover root password in red hat linux?
Sure.  If you ask on a Linux list, they'd probably tell you to boot 
from a CD, mount the hard drive, and change /etc/password.  Since 
you're asking here, maybe we should try to encourage you to recover 
your root password by installing FreeBSD instead?  :-)

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


Re: Keyboard Repeat Rate

2005-03-23 Thread Dejan Lesjak
Tom Vilot wrote:

  If so, put the following in /etc/rc.conf:
  keyrate=fast
 
 Okay. I'll try that.
 
 Well, that didn't work.
 
 It sets the key repeat rate, but when I start X it goes back to
 defaults. At least for the X session.
 
 I'm guessing there's a configuration somewhere for WindowMaker that is
 re-setting it. :c(
 
 Hmmm. I'll have to poke around some more .

Perhaps Option AutoRepeat can be of help. See kbd(4x) or keyboard(4x) manual 
for description.


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


Re: dual-boot troubles; /usr won't mount

2005-03-23 Thread Ean Kingston

 On Wed, Mar 23, 2005 at 06:22:43PM +, RW wrote:
 On Wednesday 23 March 2005 06:44, Gary Kline wrote:
 The first CD boots 5.3 ad brings up /stand/sysinstall.
 Every options I have tries sees the NTFS as ad0s1.
 
 Is there another choice to chose to divvy up the drive
 to give me more than three slices?  This is where the
 handbook gets muddy.
 
 Can anybody 'splain this better??

 FreeBSD is not Linux.

 Linux uses the same partitioning as Windows, 4 primary partitions, or 3
 primaries and an extended partition.

 FreeBSD has its own type of partitioning scheme which you could put
 directly
 onto the disk, but this is known as dangerously-dedicated mode since
 it
 isn't compatible with other non-bsd OSs and might cause problems with
 some
 BIOSes.

 Most people will install FreeBSD in what's known as a slice, this wraps
 a
 group of native BSD partitions inside a normal PC primary partition. You
 only
 need one slice for a FreeBSD installation.


 Which sections should I print out and go in a corner to read?

 The one called Installing FreeBSD


   If memory servers, the slices I created were
   ad0s2   /

Sorry for jumping in here but I've never seen a filesystem with a device
name like that before. As I understand it the device name reads like this:

ad0 -- primary ATA disk on first IDE cable
   s2   -- second slice (what DOS/Windows/Linux call a partition)
 a  -- first partition (BSD definition of a partition)

Your list appears to be missing the 'a'. This would indicate to me that
you mistyped your example or didn't run disklabel (or bsdlabel) to setup
the FreeBSD partitions. Can one run newfs on the slice without using
disklabel first? I didn't think that was possible.

I know you can run disklabel directly on the disk (ie ad0) and you wind up
with devices missing the 'sX' part, like ad0a. I do this to zip disks all
the time.

   ad0s3   SWAP
   ad0s4   /usr

   I tagged ad0s2 to be bootable; selected everything to be
   installed and okay the create script.  /usr had trouble
   with newfs because of a bad superblock in 0s4.  My guess
   is that the difficulty stems from a foul-up from the
   disk labeling.

   I've been installing BSD since 4.1 at Cal and FreeBSD
   since 2.0.5; I'm familiar with the standard protocols.
   This is my first go at trying to  dual-boot such
   different systems.

   gary

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

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



-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/



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


Re: Acroread7

2005-03-23 Thread Marco Beishuizen
On stardate Wed, 23 Mar 2005, the wise Andreas Davour entered:
Exactly the same.
As Erik (et al) wrote, it will all be pulled in and resolved as dependencies 
if you have a sufficienyly up-to-date ports tree.

Kind of annyoing that it wasn't caught before it was comitted at all, but 
considering the total confusion that reigns right now with two different 
acroread ports it's just what can be expected.

I did a cvsup 30 minutes ago, and then it worked.
/Andreas
Hmm I also did a cvsup, but it makes no difference, I still get the sam 
error. I guess I have an other problem on my system.

Marco
--
I'd love to go out with you, but there are important world issues that
need worrying about.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acroread7

2005-03-23 Thread Ean Kingston

 On stardate Wed, 23 Mar 2005, the wise Andreas Davour entered:

 Exactly the same.

 As Erik (et al) wrote, it will all be pulled in and resolved as
 dependencies
 if you have a sufficienyly up-to-date ports tree.

 Kind of annyoing that it wasn't caught before it was comitted at all,
 but
 considering the total confusion that reigns right now with two different
 acroread ports it's just what can be expected.

 I did a cvsup 30 minutes ago, and then it worked.

 /Andreas

 Hmm I also did a cvsup, but it makes no difference, I still get the sam
 error. I guess I have an other problem on my system.

You may need to do a make clean or a make distclean in the port directory
after doing a cvsup. I've found that some ports don't realize that things
have changed after a cvsup and so continue to try and build with half
built old code.

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: dual-boot troubles; /usr won't mount

2005-03-23 Thread Gary Kline
On Wed, Mar 23, 2005 at 02:08:19PM -0500, Charles Swiger wrote:
 On Mar 23, 2005, at 1:59 PM, Gary Kline wrote:
  If memory servers, the slices I created were
  ad0s2   /
  ad0s3   SWAP
  ad0s4   /usr
 
 People normally create a BSD partition table within an FDISK partition, 
 so / would be on ad0s2a, rather than using all of ad0s2 for a single 
 filesystem.  Then you can put swap on ad0s2b, and so forth and just use 
 on FDISK partition, rather than using three...

How do I use/reach FDISK via the CD installation script?
I've looked at the kwik way and the Custom (for experts).
If I use the Allocate menu I see the FDISK editor.
What then?  So far I've simply used C = Create Slice;
then in the following menu I've labeled the slices.

Which option in the screen/editor?  Or how-to FDISK 
ad0s2 any other way?

thanks,

gary


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

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

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


Panic With MPT driver on Opteron System

2005-03-23 Thread NMH
Hello
 I am having a odd problem I hope someone can help
with.

 I have a TYAN 2882 board with 4 gigs of memory and a
single Opteron 248 Processor. I am using an Infortrend
RAID controller that won't play nice with Adaptec at
320 speeds so I am using an LSI 1030 based PCI-X SCSI
card instead of the built in Adaptec. Hence the mpt
driver. The system is FreeBSD 5.4-PRERELEASE from
March 2nd.

 The system runs very fast but when testing under
somewhat heavy load the system will panic and freeze
with: 
 Panic: mpt_get_request: corrupted request free list
(ccb)
 It was also reported that when trying to do a ps auxw
it would sometimes (never happened to me) report that
it was out of inodes. Which is insane.

 A screen capture of the frozen console can be seen
at:

http://pic2.picturetrail.com/VOL965/3391974/6964630/90153559.jpg

 This seems similiar to reports on both FreeBSD and
NetBSD like:

http://mail-index.netbsd.org/netbsd-bugs/2004/03/03/0004.html
 And 
http://mail-index.netbsd.org/netbsd-bugs/2004/02/12/0003.html
 And:
http://lists.freebsd.org/pipermail/freebsd-scsi/2003-April/58.html

 Any assistance would be appreciatted. 

 Thanks!

  N.



__
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]


Scripting oddness (sh)

2005-03-23 Thread David J. Weller-Fahy
I've been working on a script, and am having a bit of trouble producing
reasonable output.  First, the script removes all leaf packages that are
not listed in a configuration file and are not required by any of those
packages, or by any package that those packages require, etc.

The problem is that when all currently installed packages are listed as
'do not remove', then the script does not produce the No packages/ports
to remove. output unless line 58 (the line that consists of the command
'true') is uncommented.  If that line is commented out, or removed, then
no output is produced.

Anyone have any ideas on how to troubleshoot?

Regards,
-- 
dave [ please don't CC me ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Scripting oddness (sh)

2005-03-23 Thread David J. Weller-Fahy
* David J. Weller-Fahy [EMAIL PROTECTED] [2005-03-23 20:36 +0100]:
 Anyone have any ideas on how to troubleshoot?

It helps if I include the script.

Regards,
-- 
dave [ please don't CC me ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keyboard Repeat Rate

2005-03-23 Thread Tom Vilot
  Hmmm. I'll have to poke around some more .
 
 Perhaps Option AutoRepeat can be of help. See kbd(4x) or
 keyboard(4x) manual for description.

Ah! That was it.

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


Re: ssh sessions getting paused on idle

2005-03-23 Thread Charles Swiger
On Mar 23, 2005, at 4:55 AM, Riaan Annandale wrote:
I ssh to anything over 10 machines at a time and leave the xterms idle.
When I come back to a session and press enter / start typing, it takes 
a
few seconds to come alive. Almost as if the connection got canned.
Well, it could be anything from a delay because the ssh processes are 
idle and have been swapped out to network delays.  Does your disk 
become active when you resume an idle session, or are you simply seeing 
a 1-2 second delay as the network traffic gets exchanged and the 
session becomes active?

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


Re: Panic With MPT driver on Opteron System

2005-03-23 Thread Scott Long
NMH wrote:
Hello
 I am having a odd problem I hope someone can help
with.
 I have a TYAN 2882 board with 4 gigs of memory and a
single Opteron 248 Processor. I am using an Infortrend
RAID controller that won't play nice with Adaptec at
320 speeds so I am using an LSI 1030 based PCI-X SCSI
card instead of the built in Adaptec. Hence the mpt
driver. The system is FreeBSD 5.4-PRERELEASE from
March 2nd.
 The system runs very fast but when testing under
somewhat heavy load the system will panic and freeze
with: 
 Panic: mpt_get_request: corrupted request free list
(ccb)
 It was also reported that when trying to do a ps auxw
it would sometimes (never happened to me) report that
it was out of inodes. Which is insane.

 A screen capture of the frozen console can be seen
at:
http://pic2.picturetrail.com/VOL965/3391974/6964630/90153559.jpg
 This seems similiar to reports on both FreeBSD and
NetBSD like:
http://mail-index.netbsd.org/netbsd-bugs/2004/03/03/0004.html
 And 
http://mail-index.netbsd.org/netbsd-bugs/2004/02/12/0003.html
 And:
http://lists.freebsd.org/pipermail/freebsd-scsi/2003-April/58.html

 Any assistance would be appreciatted. 

 Thanks!
  N.
I think that you're seeing the effects of the driver having extremely
broken error recovery.  This is a known problem, and a fix will likely
be going into the tree soon.
Scott
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple bash script to grep files for bad keywords

2005-03-23 Thread Brian John
 On 2005-03-23 12:29, Brian John [EMAIL PROTECTED] wrote:
  Hello,
  I am trying to write a simple bash script that will grep all files
  in a directory (except ones that start with 00) for certain bad
  keywords.  Here is what I have so far:

  #!/bin/bash
 
  # This is a simple script to check all sql scripts for bad keywords
 
  BAD_KEYWORDS='spool echo timing commit rollback'
 
  for i in $BAD_KEYWORDS;
  do
echo *;
  echo GREPing for bad keyword '$i'
  echo *;
  grep $i ./*;
  done
 
  However, I'm not sure how to make it not grep the files that start
  with 00.  Can anyone help me with this?

 Use xargs, since it will buy you the extra feature of being able to
 search through arbitrarily large numbers of files:

 for _word in ${BAD_KEYWORDS} ;do
 find . | grep -v '^/00' |\
 xargs grep ${_word} /dev/null
 done

 Tips:

 - The quotes in ${_word} are probably optional, but it's better to
   be safe than sorry :-)

 - The /dev/null is there so that grep will get at least 2 file
   arguments, even if there is just one file in the current directory,
   effectively forcing grep(1) to print the filename of this one file
   if it happens to match the pattern.

Cool, I think I get it for the most part.  However, what exactly am I
doing when I am piping to xargs?  I can see that the filenames not
starting with '00' will be piped, but what does the '\' do?  Sorry, I am
really new to scripting and *nix in general.  But I am a programmer so I
learn fast.

Thanks!

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


Issue with FreeBSD, Compact Flash

2005-03-23 Thread Matt Juszczak
Howdy,

Does anyone have any ideas on the following?  Trying to load m0n0wall,
which uses a FreeBSD 5 kernel.  Keep getting the boot errors you see in
the paste link below.

http://paste.atopia.net/107

We really dont want to have to switch back to a hard drive :-( Any ideas
are appreciated in advance.

Thanks,

Matt

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


Re: dual-boot troubles; /usr won't mount

2005-03-23 Thread RW
On Wednesday 23 March 2005 19:28, Gary Kline wrote:
 On Wed, Mar 23, 2005 at 02:08:19PM -0500, Charles Swiger wrote:
  On Mar 23, 2005, at 1:59 PM, Gary Kline wrote:
 If memory servers, the slices I created were
 ad0s2   /
 ad0s3   SWAP
 ad0s4   /usr
 
  People normally create a BSD partition table within an FDISK partition,
  so / would be on ad0s2a, rather than using all of ad0s2 for a single
  filesystem.  Then you can put swap on ad0s2b, and so forth and just use
  on FDISK partition, rather than using three...

   How do I use/reach FDISK via the CD installation script?
   I've looked at the kwik way and the Custom (for experts).
   If I use the Allocate menu I see the FDISK editor.
   What then?  So far I've simply used C = Create Slice;
   then in the following menu I've labeled the slices.

   Which option in the screen/editor?  Or how-to FDISK
   ad0s2 any other way?

It's part of the normal, menu-driven, installation process; first you create 1 
slice (primary partition) then you go through to the next stage where you 
carve the slice into partition. The second stage is called labelling, and 
there is a option to lay out the slice automatically. Even if you don't plan 
to use it you should do that to see what the default looks like. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acroread7

2005-03-23 Thread Marco Beishuizen
On stardate Wed, 23 Mar 2005, the wise Ean Kingston entered:
Hmm I also did a cvsup, but it makes no difference, I still get the sam
error. I guess I have an other problem on my system.
You may need to do a make clean or a make distclean in the port directory
after doing a cvsup. I've found that some ports don't realize that things
have changed after a cvsup and so continue to try and build with half
built old code.
I just tried but that doesn't help either. I guess it has something to do 
with my linux emulation.

Thanks for the reply.
Marco
--
There's no room in the drug world for amateurs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple bash script to grep files for bad keywords

2005-03-23 Thread Philip M. Gollucci
Brian John wrote:
On 2005-03-23 12:29, Brian John [EMAIL PROTECTED] wrote:
   

Hello,
I am trying to write a simple bash script that will grep all files
in a directory (except ones that start with 00) for certain bad
keywords.  Here is what I have so far:
 

#!/bin/bash
# This is a simple script to check all sql scripts for bad keywords
BAD_KEYWORDS='spool echo timing commit rollback'
for i in $BAD_KEYWORDS;
do
 echo *;
   echo GREPing for bad keyword '$i'
   echo *;
   grep $i ./*;
done
However, I'm not sure how to make it not grep the files that start
with 00.  Can anyone help me with this?
 

Use xargs, since it will buy you the extra feature of being able to
search through arbitrarily large numbers of files:
   for _word in ${BAD_KEYWORDS} ;do
   find . | grep -v '^/00' |\
   xargs grep ${_word} /dev/null
   done
Tips:
- The quotes in ${_word} are probably optional, but it's better to
 be safe than sorry :-)
- The /dev/null is there so that grep will get at least 2 file
 arguments, even if there is just one file in the current directory,
 effectively forcing grep(1) to print the filename of this one file
 if it happens to match the pattern.
   

Cool, I think I get it for the most part.  However, what exactly am I
doing when I am piping to xargs?  I can see that the filenames not
starting with '00' will be piped, but what does the '\' do?  Sorry, I am
really new to scripting and *nix in general.  But I am a programmer so I
learn fast.
Thanks!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I can see that the filenames not
starting with '00' will be piped, but what does the '\' do?
The '\' means pretend I typed the next line on this line
he used it because most mailers wrap the e-mail lines at 80 characters,
but it needs to be on one line to work.  If you wrote it on one line in the
script file, you can omit that '\'
Luck
--
END
-
Philip M. Gollucci
Senior Developer - Liquidity Services Inc.
Phone:  202.568.6268 (Direct)
E-Mail: [EMAIL PROTECTED]
Web:http://www.liquidation.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network Interface Card Setup

2005-03-23 Thread Kevin Kinsey
Dixit, Viraj wrote:
Hi,
I have got a mismatch Duplex problem. Can someone confirm these 
commands to use with sysinstall. I want to change various options
for the network card or where can I find these commands.

*	media 100baseTx mediaopt autoselect
*	media 100baseTX mediaopt full-duplex
Thanks,
VJ
 


I'm not sure what sysinstall can do there.  Trying
ifconfig(8) on the command line is probably the
better way to go, but I'm not interested in starting
a holy war on the subject.
Take a look at the ifconfig(8) man page, as well
as the manpage for your NIC driver, which should
tell what options to use.
For example, the rl(4) manpage tells me that to set
the first RealTek 8139 on my system to 100 Mbps,
I'd use:
ifconfig rl0 media 100baseTX
Note that you must have root privileges to
reconfigure an interface.
HTH,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dual-boot troubles; /usr won't mount

2005-03-23 Thread RW
On Wednesday 23 March 2005 20:05, RW wrote:
 Even
 if you don't plan to use it you should do that to see what the default
 looks like.

Don't forget to delete the three partitions and create a single large slice, 
if you try to create a default set of partitions on a slice dimensioned to 
take / it will probably fail.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acroread7

2005-03-23 Thread Andreas Davour
On Wed, 23 Mar 2005, Marco Beishuizen wrote:
On stardate Wed, 23 Mar 2005, the wise Andreas Davour entered:
Exactly the same.
As Erik (et al) wrote, it will all be pulled in and resolved as 
dependencies if you have a sufficienyly up-to-date ports tree.

Kind of annyoing that it wasn't caught before it was comitted at all, but 
considering the total confusion that reigns right now with two different 
acroread ports it's just what can be expected.

I did a cvsup 30 minutes ago, and then it worked.
/Andreas
Hmm I also did a cvsup, but it makes no difference, I still get the sam 
error. I guess I have an other problem on my system.
You'll have to pkg_delete the old acroread port, and I did a make 
clean as well. Try that, and it might work.

/Andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


squirrelmail serverside filter plugin

2005-03-23 Thread synrat
was anyone able to get squrrelmail serverside filter to work on FreeBSD?
please share your experience.
thanx in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem Help!

2005-03-23 Thread Dixit, Viraj
Hi,

In my haste I edited my rc.conf file and knowing well that if I make a mistake 
I will get hung the system at that point. I need an expert help to get me out 
of this situation. I spent days building the system, I don't want to do the 
whole thing again. I must have forgot a quote in my rc.conf file and now when 
the system got rebooted it's asking for pathaname for the shell. I am not sure 
of the next step. Help!!
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libgtk problems

2005-03-23 Thread Lute Mullenix
I recently did an upgrade after not having done one in a couple months,
and now a bunch of stuff is broken and it all seems to stem from here:


/libexec/ld-elf.so.1: Shared object libgtk-x11-2.0.so.400 not found,
required by program

I have done some searching but as of yet have not found any info on this.
I am currently doing a portupgrade -arRf hoping that this will fix the
problem but so far has not.

Can someone tell me where I can find the info I need to get this
corrected?

Thanks,


 -- 
 Lute

It's OK to be different
FreeBSD 5.3 RELEASE

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


Firewall questions

2005-03-23 Thread Shawn B
I have been looking for a great firewall, something
not too technical, since I have only been using
FreeBSD for two months now. 

I have FreeBSD-4.8 installed, Apache-1.3, and
Netqmail-1.05. I am also planning on running an NTP
time server and possibly a forum in the future. The
web site is expected to become a well-recognized site,
so that complicates matters. More attention to the
site means more attacks. 

Also, I am looking for antiviral protection for both
the FreeBSD server, and any Windows or Macintosh
systems that may be using the POP mail. I know qmail
has one solution, which was contributed by a qmail
user, but what are the alternatives?

Any suggestions as to what firewall would provide me
with the best protection, while not being overly too
complicated?

All help is greatly appreciated.

__ 
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: Problem Help!

2005-03-23 Thread Peter Risdon
On Wed, 2005-03-23 at 12:41 -0800, Dixit, Viraj wrote:
 Hi,
 
 In my haste I edited my rc.conf file and knowing well that if I make a 
 mistake I will get hung the system at that point. I need an expert help to 
 get me out of this situation. I spent days building the system, I don't want 
 to do the whole thing again. I must have forgot a quote in my rc.conf file 
 and now when the system got rebooted it's asking for pathaname for the shell. 
 I am not sure of the next step. Help!!
 Thanks

Well, while we're waiting for an expert to reply, try hitting enter when
it prompts for the pathname for a shell. You'll get the sh shell. Next
type:

mount -a

Then 

vi /etc/rc.conf

and fix the typo.

Peter.
 ___
 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: how to find which port has a given executable

2005-03-23 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-23, Alex Zbyslaw scribbled these
curious markings:
 % find /usr/ports -type f -name pkg-plist -exec egrep -H epstopdf {} \;

Just a bit of nitpickery: I've found that piping the output to xargs
rather than using find's exec produces faster results. Plus, you (most
of the time) don't need to use constructs like {} \;. :)

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQbSzk/lo7zvzJioRAirsAJ9oq+xJr6AHgscuUXBIzWvvsa33mgCeOnz5
8JesEMbAHU9K0SAgpb8B7eo=
=nKZB
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: AMD64 much slower than i386 on FreeBSD 5.4-pre

2005-03-23 Thread jason henson
[EMAIL PROTECTED] wrote:
The answer, Boris, is that the team has no idea what
they're doing. Check out some of the threads on
performance testing. They tune little pieces here
and there, and break 10 other things in the process.
Matt Dillon determined that 10,000 ints/second
was optimal. Of course if you're passing 10Kpps
that means you get an interrupt for every
packet.
They're playing pin the tail on the donkey.
You could understand what he was saying?  I wanted to help but was 
unsure of what he was asking.  I also seem to remember that discussion 
you are referring too.  IIRC, 10,000hz for pooling was the setting they 
ere talking about.  But on it would very a little, and with the fxp 
based card polling hurt a little because the card was already ding its 
own thing in hardware.  So that setting was redundant, it was best to 
leave it alone. 

He also seemed to say the network bandwidth was constant, and system 
load rose with an 64bit system.  This right?  If he was using GENERIC on 
a smp system he was only using 1 cpu with out a recompile.  There is 
just so much that could be wrong and he gives no information on his 
system or settings. 

Doess he have 2 amd64 pcs with 2 different installs of 5.3, or a single 
machine that he ran both versions on?  The router, is that a third 
machine that was an amd64 system, or something else?  He says i386, but 
an up to date 5.3 world doesn't support 386 with out a work around.  The 
least commom setting is now 486, but a build for 686 would be better.  
Did he tell you if he had polling on?

So I guess it is a good thing you were able to help him, because I 
couldn't.  Not to mention the flame bait you through out, well, that 
would be wrong. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ifconfig

2005-03-23 Thread Gert Cuykens
So conclusion if you want to release and renew your ip you do this right ?
 
dhclient nv0
dhclient -r nv0
dhclient nv0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >