Re: Mounting CDROM as user under 5.x

2004-01-01 Thread Dany
The "operator" trick worked. Thanks again and happy new year. Since I've 
started the FreeBSD experience, I've collected about 20 pages of tips 
and tricks to get stuff running. I will probably publish something so 
others can enjoy it.

Dany

Harald Schmalzbauer wrote:

On Wednesday 31 December 2003 16:37, Dany wrote:
 

Thanks Harry for taking the time to answer my questions. I think based
on your comments it should work.
Is there any security concern having a user belonging to the group
operator ?
   

I never really cared about. AnonFTP is owned by operator, but in general I 
think wheel is worse than operator.
Please correct me anybody, I don't really care on my workstation ;)
Best is to have a look through the (default) filesystem and see if operator 
has any write permissions where it was no good. I'm quiet sure wheel has much 
too much read permissions for "normal" users. But that doesn't matter for 
useres who can su ;)

Happy new year,

-Harry

 

Thanks again
Dany
Harald Schmalzbauer wrote:
   

On Wednesday 31 December 2003 16:07, Dany wrote:
 

Harald Schmalzbauer wrote:
   

*SNIP*

 

This is pretty much what I've tried. My user is in the Wheel group.
Would this exact configuration work ?Should I set any other
permission in order to have the user from the wheel group to mount
drives?
Thanks for posting your configuration.

PS: One thing I've noticed with this specific user, whenever he creates
something the file/directory will show owner:username   group:username.
I've used the command "groups" as well as chpass I think and they gave
me only one group for this username... wheel.  Why doesn't wheel appear
as the group owner for stuff that username is creating ?
   

When you add a user with "adduser" by default FreeBSD creates a group
similar named like the username. If you later say that this user should
be in group wheel it's additional.
 

added the following to /dev/devfs.conf
link acd0 cdrom
perm acd0 0660
 

This line just gives write access to group. You can either add the line:
ownacd0 root:wheel
or you edit /etc/groups and add your user to the group operator.
I'd prefere the latter.
Here's my simple /etc/group example:
# $FreeBSD: src/etc/group,v 1.28 2003/04/27 05:49:53 imp Exp $
#
wheel:*:0:root,harry
daemon:*:1:
kmem:*:2:
sys:*:3:
tty:*:4:
operator:*:5:root,harry
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
staff:*:20:
sshd:*:22:
smmsp:*:25:
mailnull:*:26:
guest:*:31:
bind:*:53:
uucp:*:66:
dialer:*:68:
network:*:69:
www:*:80:
nogroup:*:65533:
nobody:*:65534:
harry:*::
uli:*::
schowi:*::
administrator:*::
alle:*::root,harry,uli,schowi,administrator
setiathome:*::
-Harry

 

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


RE: 4.3 to 4.9 upgrade woes

2004-01-01 Thread Marius Kirschner
Okay, got ssh to work but mySQL gives me the following error when I try to
start it:

./mysql-server.sh: 6: Syntax error: "&&" unexpected

This worked just fine before???

---Marius  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Marius Kirschner
> Sent: Thursday, January 01, 2004 12:46 AM
> To: FreeBSD Questions
> Subject: 4.3 to 4.9 upgrade woes
> 
> Okay, I've finally upgraded my 4.3 box to 4.9 but while most 
> things appear to be working, there are two that are not.
> 
> 1) The mySQL server won't start anymore
> 2) And I can't ssh to the box
> 
> I probably missed something during the upgrade.  Anybody know 
> where I screwed up?  Thanks,
> 
> ---Marius 
> 
> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

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


Can't mount primary msdos slice

2004-01-01 Thread Olga Zenkova
Can't mount primary msdos slice on FreeBSD 5.1. Get:
"/dev/ad4s2 - invalid argument". The file for the
device /dev/ad4s2 exists - I see it by "ls". May be I
need some additional keys in the mount string?

Thanks,
Olga

__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


VMware and Full Screen Mode

2004-01-01 Thread Theresa L. Ford
Forgive the repost.  The last was mistakenly threaded:

Hi!  Google is not looking promising on this topic.

I have 4.9-STABLE, a nVidia GeForce Ti 4600, VMware 3, installed 
through the ports collection.

When switching to full screen mode, the application terminates.

Any help you can give me would be most appreciated.  Thank you!

- T

 VMware error messages.

Setting TMPDIR=/var/tmp.
VMware SLAVE PANIC: (MKS) BUG F(785):395 bugNr=1294
VMware SLAVE PANIC: (MKS) NOT_REACHED F(620):874 bugNr=5188
Panic loop

 XF86Config  ("I am Newbie" warning...)

Section "Module"
Load"bitmap"
Load"extmod"
Load"dbe"   # Double buffer extension
#SubSection  "extmod"
  #Option"omit xfree86-dga"   # don't initialise the DGA extension
#EndSubSection
Load"type1"
#Load"speedo"
Load"type1"
Load"freetype"
#Load"xtt"
Load   "glx"
Load   "dri"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath   "/usr/X11R6/lib/X11/fonts/local/"
FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
ModulePath "/usr/X11R6/lib/modules"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
Identifier  "Keyboard1"
Driver  "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules"   "xfree86"
Option "XkbModel"   "pc101"
Option "XkbLayout"  "us"
EndSection

Section "InputDevice"
# Identifier and driver
Identifier  "Mouse1"
Driver  "mouse"
Option "Protocol""Auto"
Option "Device"  "/dev/sysmouse"
#Option "Resolution""256"
Option "Emulate3Buttons"
EndSection

Section "Monitor"
Identifier  "monitor0"
HorizSync   31-69
VertRefresh 55-120
EndSection

Section "Device"
Identifier  "Device"
Driver  "nvidia"
VendorName  "NVIDIA"
BoardName   "GeForce2 Go"
EndSection

Section "Device"
Identifier  "Standard VGA"
Driver  "vga"
VendorName  "Unknown"
BoardName   "Unknown"
EndSection

Section "Screen"
Identifier  "Screen 1"
Device  "Device"
Monitor "monitor0"
DefaultDepth 24

Subsection "Display"
Depth   8
Modes   "1280x1024" "1024x768" "800x600" "640x480"
ViewPort0 0
EndSubsection
Subsection "Display"
Depth   16
Modes   "1280x1024" "1024x768" "800x600" "640x480"
ViewPort0 0
EndSubsection
Subsection "Display"
Depth  24
Modes   "800x600" "640x480"
ViewPort0 0
EndSubsection
EndSection

Section "ServerLayout"

Identifier  "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
Mode 0666
EndSection

 dmesg ("I am Newbie" double warning...)

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-STABLE #0: Sun Dec 28 20:49:40 EST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/JER
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) MP 1900+ (1600.07-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383fbff
  AMD Features=0xc048
real memory  = 2146959360 (2096640K bytes)
avail memory = 2083819520 (2034980K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  1, version: 0x00040010, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040010, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc0716000.
Preloaded elf module "linux.ko" at 0xc071609c.
Preloaded elf module "snd_emu10k1.ko" at 0xc071613c.
Preloaded elf module "snd_pcm.ko" at 0xc07161e0.
Preloaded elf module "nvidia.ko" at 0xc0716280.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 268435454 entries at 0xc00fdef0
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
agp0:  mem 0xe930-0xe9300fff,0xec00-0xefff
 at device 0.0 on pci0
pcib1:  at device 1.0 on pci0
IOAPIC #0 intpin 18 -> irq 2
pci1:  on pcib1
nvidia0:  mem 0xf800-0xf807,0xf000-0xf7ff,
0xe800-0xe8ff irq 2 at device 5.0 on pci1
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0

Re: Can't mount primary msdos slice

2004-01-01 Thread Theresa L. Ford
On Thu, 1 Jan 2004 01:23:07 -0800 (PST)
Olga Zenkova <[EMAIL PROTECTED]> wrote:

> Can't mount primary msdos slice on FreeBSD 5.1. Get:
> "/dev/ad4s2 - invalid argument". The file for the
> device /dev/ad4s2 exists - I see it by "ls". May be I
> need some additional keys in the mount string?
> 
> Thanks,
> Olga

For 4.9-Stable, this works for me.  Maybe it is close for 5.1?

In kernel:
options MSDOSFS #MSDOS Filesystem

Command:
mount_msdos /dev/ad3s8 /mnt

Of course, substitute your device.

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


Re: Chris tar exclusion problem

2004-01-01 Thread tape bacula
[EMAIL PROTECTED] wrote:

Send freebsd-questions mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."
Today's Topics:

  1. Re: tar question... (Kevin D. Kinsey, DaleCo, S.P.)
  2. Re: ipf / pf availability in 4.9 (Micheal Patterson)
  3. Re: tar question... (Peter Risdon)
  4. I need several Linux developers to fill positions
 ([EMAIL PROTECTED])
  5. Re: ipf / pf availability in 4.9 (Will Prater)
  6. Re: ipf / pf availability in 4.9 (Micheal Patterson)
  7. List of absolutely required files for FreeBSD? (Philip Hallstrom)
  8. FreeBSD as host OS for VMWare 4.0 (Linux Version) (Rick Pettit)
  9. FreeBSD as host OS for VMWare 4.0 (Linux Version) (Rick Pettit)
 10. mail (Chad Albert)
 11. Re: List of absolutely required files for FreeBSD? (Sean Hafeez)
 12. isc-dhcpd weird effect (Pierrick Brossin)
 13. freezing with intel motherboard D865PERL  (freebsd)
 14. What do you use? (Sean Hafeez)
 15. Tape backup solution? [OT] (Eric F Crist)
 16. Re: What do you use? (Jason Bacon)
 17. Re: What do you use? (Sean Hafeez)
 18. Re: List of absolutely required files for FreeBSD?
 (Philip Hallstrom)
 19. Re: List of absolutely required files for FreeBSD? (Sean Hafeez)
 20. Re: (2) rsh and rcp problems between Solaris and FreeBSD
 (horio shoichi)
 21. Re: firewall question... (horio shoichi)
 22. Re: What do you use? (Francisco)
 23. Re: List of absolutely required files for FreeBSD?
 (Gautam Gopalakrishnan)
 24. Re: Tape backup solution? [OT] (Dan Nelson)
 25. Re: FreeBSD as host OS for VMWare 4.0 ([EMAIL PROTECTED])
 26. Re: mail (Gautam Gopalakrishnan)
 27. Re: mail (Lowell Gilbert)
 28. 5.2 RC2: Semi-deterministic gcc segfault during buildworld
 (Peter Schuller)
 29. Problem with loading another pci driver for the same card
 (Haidong Xia)
 30. Re: nVidia Quadro NVS 200 (Alastair G. Hogge)
 31. Re: Problem with loading another pci driver for the same card
 (Jan-Espen Pettersen)
 32. Re: 5.2 RC2: Semi-deterministic gcc segfault during
 buildworld (Gautam Gopalakrishnan)
 33. Re: [freebsd-questions] snd_maestro3.ko load/unload (Tim Kellers)
 34. Re: [freebsd-questions] snd_maestro3.ko load/unload (T Kellers)
 35. Re: mail (horio shoichi)
 36. getting rid of cron-sendmail messages ([EMAIL PROTECTED])
 37. 4.3 to 4.9 upgrade woes (Marius Kirschner)
 38. Re: 5.2 RC2: Semi-deterministic gcc segfault during
 buildworld (Peter Schuller)
 39. Re: Mounting CDROM as user under 5.x (Dany)
 40. RE: 4.3 to 4.9 upgrade woes (Marius Kirschner)
--

Message: 1
Date: Wed, 31 Dec 2003 14:02:01 -0600
From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
Subject: Re: tar question...
To: Chris <[EMAIL PROTECTED]>
Cc: Xpression <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Chris wrote:

 

On Wednesday 31 December 2003 1:21 pm, Xpression wrote:

   

Hi list, I've googled to search an aswer but no one match
mine. I want to tar all files on a directory without include
any other directory, I've tried with --exclude but no hope,
any suggestion ??? Thanks...
  

 

I dom something similar to what you ask. What I do is tar a directory and all 
it's contense EXCEPT one diectory. It goes something like this:

tar -zcf  name.tgz --exclude MP3 dirname/

Explanation:

I'm tarring a dir. and excluding the dir MP3 and it's files.
I'm sure you will be able to expand on this.
Use  man tar to see all the switches.

   

Sounds find, but wouldn't

$tar /home/foo/*

get this job done without including
subdirs, since there's no -R involved?
I read the OP's question as "I want to
tar all the files in a directory without
including any other directories..." which
would mean "any (sub)directories within
the directory would not be placed in the
tarball", right?
Kevin Kinsey
DaleCo, S.P.
--

Message: 2
Date: Wed, 31 Dec 2003 14:13:35 -0600
From: "Micheal Patterson" <[EMAIL PROTECTED]>
Subject: Re: ipf / pf availability in 4.9
To: "Will Prater" <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="iso-8859-1"


- Original Message - 
From: "Will Prater" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 1:27 PM
Subject: Re: ipf / pf availability in 4.9

 

On Dec 31, 2003, at 5:12 AM, fbsd_user wrote:

   

The post you are replying to tells you pf has been ported to FBSD.
 

Yes, and my question was how to get a po

Re: 4.3 to 4.9 upgrade woes

2004-01-01 Thread Matthew Seaman
On Thu, Jan 01, 2004 at 02:48:42AM -0500, Marius Kirschner wrote:
> Okay, got ssh to work but mySQL gives me the following error when I try to
> start it:
> 
> ./mysql-server.sh: 6: Syntax error: "&&" unexpected
> 
> This worked just fine before???

Oh dear -- this again.  There was a lot of traffic on this list some
months ago when this first occurred.  You need to update your MySQL
server port, and copy the mysql-server.sh-dist that provides to
mysql-server.sh

What happened is that a /bin/sh bug was fixed, and consequently
erroneous shell constructs like:

 foo & && bar

now generate Syntax errors.

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


Re: What do you use?

2004-01-01 Thread Scott Mitchell
On Wed, Dec 31, 2003 at 03:13:43PM -0800, Sean Hafeez wrote:
> ok, how about something that works. 100gb?
> 

IME, DLT works well and is pretty reliable.  No tape backup solution is
ever 'cheap', but DLT has been around long enough, and superseded by enough
new technologies (LTO, AIT, etc,...) that it's certainyl at the less
expensive end of the spectrum.  40GB (~80GB compressed) per tape.  We use
an 8-tape changer that usually holds enough for a week's worth of backups.
Any old DLT drive should work with FreeBSD, although you'll need a SCSI
adapter to attach it to.

I'd second the idea of a separate staging disk for backups, especially if
(like us) you're forced to use Windows software to actually put the backups
on the tape.  We have a 250GB drive that the nightly dumps from various
UNIX RAIDs go to - the tape system can then just pick up a few files via
Samba, at its leisure.  We can fit 1-2 weeks of compressed dumps on the
staging disk, so we rarely have to go to tape for restores, plus we no
longer have to use the (lame, slow, broken) Veritas UNIX Agent to back up
the UNIX systems.

As for RAID, we use Vinum, but only because I inherited a bunch of machines
with hot-swap SCSI bays and no hardware RAID.  It works well, once you have
it set up, and I've even managed to swap out failed drives without a reboot
:-)  I'll definitely investigate the 3ware cards when I need to build a new
RAID server, though.

Cheers,

Scott

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


Re: SanDisk CompactFlash card reader problem

2004-01-01 Thread Stijn Hoop
On Wed, Dec 31, 2003 at 10:19:47AM -0500, Louis LeBlanc wrote:
> I'm having some strange problems with my SanDisk CompactFlash reader.

[snip]

> Any ideas or pointers to specific docs?

Is this on -STABLE?

I had to remove 'device ugen' from my kernel because I also had problems using
the automatic module loading. It seemed that having ugen statically compiled
into my kernel interfered with the umass module, but I haven't had the time
to dig into this deeper. Other than that I can only say that I sometimes
need to plug the reader in & out before it works.

I haven't tried my SanDisk with -CURRENT yet so no tips for that.

--Stijn

-- 
My server has more fans than Britney.
-- Steve Warwick, in a posting to [EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Samba, Cups and Printing: Windows client gives "Access denied"

2004-01-01 Thread Phil Payne
Hi,

I've got an HP printer on USB port on Freebsd 4-Stable box. Printer is 
on /dev/ulpt0. Installed cups and printing from BSD is fine. 

Had samba installed and working great for filesharing. Now introduced an 
all printers share to share this printer. Printer is browseable from 
windows machine.

When I install this printer on a Win2K machine (and use local drivers) I 
get "Access Denied, Unable to Connect." Unlike some other people's 
experience I cannot print to the printer despite this message.

I've found lots of references to others having this problem on BSD and 
LINUX on the web but no resolutions. 

Of course, BSD questions is where all the really clever people hang out 
so someone here is bound to know ;-)

I couldn't find any resolution in the mailing list archive so does 
anyone know of an answer or is this a bug in operation between Winblows 
and Samba?

Below is the global and printers sections of my smb.conf. This was 
generated by webmin but I do understand and have written smb.conf 
manually in past.

Thanks,
Phil

[global]
log file = /var/log/log.%m
max log size = 50
interfaces = 192.168.100.254/255.255.255.0
dns proxy = no 
printing = cups
encrypt passwords = yes
path = /var/spool/samba
server string = FRANKS SERVER
socket address = 192.168.100.254
allow hosts = 192.168.100. 127.
workgroup = FRANKS
socket options = TCP_NODELAY
netbios name = PPSERVER
keepalive = 300
load printers = yes
security = user
os level = 20

[printers]
printable = yes
guest only = yes
printer = PPPR
public = yes


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


DNS/DHCP redundnacy

2004-01-01 Thread stan
I'm  revamping my network infrastructure a bit to increae redundancy.

Presently DNS is served by a single FreeBSD, and I've got a dhcp server
running on an OpenBSD machine that also serves as my firewall.

Where I'm headed is to build a 2nd FreeBSD, and use it and the existing
FreebSD as redundant DNS/DHCP servers.

This leads to several questions.

1. Should both named.conf files declare themselves to be master, or should
one be slave?

I've installed the isc dhcp server from ports, and it works for simple
usage.

2. Can anyone show me an example of "failover" configuration for these?
Here is what I have come up with, but I'm not convinced it's corect:


# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "fas.com";
option domain-name-servers 205.159.77.224;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates.
ddns-update-style interim;
ignore client-updates;
option domain-name "fas.com";
ddns-domainname "fas.com";

zone fas.com. {
primary 127.0.0.1;
}

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
# log-facility local7;

# No service will be given on this subnet, but declaring it helps the 
# DHCP server to understand the network topology.

subnet 10.152.187.0 netmask 255.255.255.0 {
}

subnet 205.159.77.0 netmask 255.255.255.0 {
option routers 205.159.77.234;
range 205.159.77.50 205.159.77.75;
}

failover peer "pool" {
 primary;
 address black.fas.com;
 port 519;
 peer address polar.fas.com;
 peer port 520;
 max-response-delay 60;
 max-unacked-updates 10;
 mclt 3600;
 split 128;
 load balance max seconds 3;
   }

Mostly, I'm not certain if I need to reference the pool object somewhere
else in teh config file.

Als how can I make the dhcp server update the dns records dynamicly? I've
tried to do this, but it's not working. here's the named.conf file for
reference:


// $FreeBSD: src/etc/namedb/named.conf,v 1.6.2.5 2002/02/04 18:24:21 ume Exp $
//
// Refer to the named.conf(5) and named(8) man pages for details.  If
// you are ever going to setup a primary server, make sure you've
// understood the hairy details of how DNS is working.  Even with
// simple mistakes, you can break connectivity for affected parties,
// or cause huge amount of useless Internet traffic.

options {
directory "/etc/namedb";

// In addition to the "forwarders" clause, you can force your name
// server to never initiate queries of its own, but always ask its
// forwarders only, by enabling the following line:
//
//  forward only;

// If you've got a DNS server around at your upstream provider, enter
// its IP address here, and enable the line below.  This will make you
// benefit from its cache, thus reduce overall DNS traffic in the Internet.
//  forwarders {
//   63.246.111.11 ;
//   63.246.111.12 ;
//   63.246.111.22 ;
//  };
/*
 * If there is a firewall between you and nameservers you want
 * to talk to, you might need to uncomment the query-source
 * directive below.  Previous versions of BIND always asked
 * questions using port 53, but BIND 8.1 uses an unprivileged
 * port by default.
 */
 query-source address * port 53;

/*
 * If running in a sandbox, you may have to specify a different
 * location for the dumpfile.
 */
// dump-file "s/named_dump.db";
};

// Note: the following will be supported in a future release.
/*
host { any; } {
topology {
127.0.0.0/8;
};
};
*/
acl updaters {
   127.0.0.1;
   };


// Setting up secondaries is way easier and the rough picture for this
// is explained below.
//
// If you enable a local name server, don't forget to enter 127.0.0.1
// into your /etc/resolv.conf so this server will be queried first.
// Also, make sure to enable it in /etc/rc.conf.

zone "." {
type hint;
file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" {
type master;
file "localhost-v6.rev";
};

// NB: Do not use the IP addresses below, they are faked, and only
// serve demonstration/documentation purposes!
//
// Example secondary config entries.  It can be convenient to become
// a secondary at least for the zone where your own domain is in.  Ask
// your network administrator for the IP address of the responsible
// primary.
//
// Never forget to include the reverse lookup (IN-A

Fortune

2004-01-01 Thread Chuck PUP Payne
Hi,

Strange question, I have notice that in 5.1 there is no more fortune. Can
you tell me where I can get it. Thanks.

Payne

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


Re: can't login to gdm

2004-01-01 Thread Lowell Gilbert
r t g tan <[EMAIL PROTECTED]> writes:

> I'm trying to run gdm, but I can't login.
> 
> - I don't get any .xsession-errors, and am able
>   to login using xdm.
> 
> - Neither message saying incorrect user passwd 

What *does* happen when you try to log in?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fortune

2004-01-01 Thread Matthew Seaman
On Thu, Jan 01, 2004 at 09:29:44AM -0500, Chuck PUP Payne wrote:

> Strange question, I have notice that in 5.1 there is no more fortune. Can
> you tell me where I can get it. Thanks.

Install the games/freebsd-games port.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


How do I install Netscape Linux binary on FreeBSD 4.3?

2004-01-01 Thread Ken Seggerman
I am running FreeBSD 4.3 running on an old slow laptop which is running
low on disk space.

I had Mozilla 5.0 0.8.1 and Netscape-communicator 4.76 installed.

Netscape was a package off of the FreeBSD 4.3 CDROM. I may have downloaded
Mozilla and installed it as a package, or built it as a port. I don't
remember.

Up until quite recently Mozilla worked very slowly, took up a lot of space
on the hard drive and 97%  of the CPU. I don't think Netscape
worked once I installed Mozilla, but trying to start Netscape resulted in
the following error messages:

$ /usr/local/bin/netscape
/usr/libexec/ld.so: warning: /usr/X11R6/lib/libXt.so.6: minor version -1
older than expected 0, using it anyway
ld.so failed: bad magic number in "/usr/X11R6/lib/libXt.so.6"

I did pkg_delete on Netscape and reinstalled it with pkg_add from the
CDROM.

When I tried to start Netscape, I got the same bad magic number error.

Then when I tried to start Mozilla, the hard drive rattled for about five
minutes, Mozilla started up, got a PID, used up 95% of the CPU, but it
never (I've waited 15 minutes) opened a window. Perhaps my pkg_delete and
pkg_add of Netscape stepped on something in Mozilla.

I pkg_deleted mozilla, netscape-communicator, netscape-wrapper, and
netscpae-remote.

I went to the FreeBSD web site where they said that the FreeBSD version of
Mozilla is huge and slow, and recommended Netscape instead. The latest
version of Netscape for download is Linux version called:

netscape-i686-pc-linux-gnu-sea.tar.gz.

My laptop is set for running Linux executables:
#linux
linux driver already loaded

but I have no idea what to do with this file.

Do I untar and unzip it first and hope that any installation instructions
will work on FreeBSD? Leave it as a tar.gz, and install it with pkg_add,
or rpm?

The FreeBSD Handbook goes into great detail about how to brand elf
binaries, how to install specific software like Mathematica and Oracle,
but doesn't say how to install an ordinary Linux binary or how to install
Netscape.

I would be grateful for any suggestions.

Ken

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


Re: Samba, Cups and Printing: Windows client gives "Access denied"

2004-01-01 Thread T Kellers
Do you have a guest account on the FreeBSD box?  I got that error when Windows 
was using an account that Samba didn't recognize.

Tim

On Thursday 01 January 2004 08:32 am, Phil Payne wrote:
> Hi,
>
> I've got an HP printer on USB port on Freebsd 4-Stable box. Printer is
> on /dev/ulpt0. Installed cups and printing from BSD is fine.
>
> Had samba installed and working great for filesharing. Now introduced an
> all printers share to share this printer. Printer is browseable from
> windows machine.
>
> When I install this printer on a Win2K machine (and use local drivers) I
> get "Access Denied, Unable to Connect." Unlike some other people's
> experience I cannot print to the printer despite this message.
>
> I've found lots of references to others having this problem on BSD and
> LINUX on the web but no resolutions.
>
> Of course, BSD questions is where all the really clever people hang out
> so someone here is bound to know ;-)
>
> I couldn't find any resolution in the mailing list archive so does
> anyone know of an answer or is this a bug in operation between Winblows
> and Samba?
>
> Below is the global and printers sections of my smb.conf. This was
> generated by webmin but I do understand and have written smb.conf
> manually in past.
>
> Thanks,
> Phil
>
> [global]
> log file = /var/log/log.%m
> max log size = 50
> interfaces = 192.168.100.254/255.255.255.0
> dns proxy = no
> printing = cups
> encrypt passwords = yes
> path = /var/spool/samba
> server string = FRANKS SERVER
> socket address = 192.168.100.254
> allow hosts = 192.168.100. 127.
> workgroup = FRANKS
> socket options = TCP_NODELAY
> netbios name = PPSERVER
> keepalive = 300
> load printers = yes
> security = user
> os level = 20
>
> [printers]
> printable = yes
> guest only = yes
> printer = PPPR
> public = yes
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


Problems with GeForce4 MX 440 AGP 8x, FreeBSD and GLX extension

2004-01-01 Thread xxavi

Hi people!

Info. of my system:

I have a GeForce4 MX 440 AGP 8x video card.

My OS is FreeBSD 4.9-STABLE #20: Wed Dec 10 13:39:46 CET 2003

My XFree86 is,
This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED] Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.99.12
Release Date: 10 September 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 4.9 i386 [ELF]
Current Operating System: FreeBSD localhost 4.9-STABLE FreeBSD
4.9-STABLE #20: Wed Dec i386 Build Date: 30 October 2003
Changelog Date: 10 September 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present

My motherboard is a Aopen AX6BC with R2.59 BIOS version.

The problem:

When I enable 'nvidia' driver into XF86Config and nvidia.ko module and
after, I try any aplication's GLX extension, my system reboot
automatically!

Why it occur?

How can I solvent this problem?

Thanks.
_
xxavi

 "Be liberal in what you accept, and
  conservative in what you send"  from RFC [Braden 1989a]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


A sendmail config question

2004-01-01 Thread stan
I'm setting up a FreeBSD machine behind a firewall to recieve mail. Inside
teh firewall the machines are in a "fak" domain. The IP address that is on
the outside of the firewall is in a vaild DNS block.

Looking at the default freebsd.mc config file, I don't see anywhere to tell
sedmail to accept mail for the real domain. What am I missing?

Also how can I set up wildcarding, so that mail for that domain that does
not go to a valid user gets directed to a specifc user on that system?

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


-bash: /etc/profile: Device not configured

2004-01-01 Thread Dan Langille
When I try to ssh to a [remote] machine, I get this:

$ ssh m20
Password:
Last login: Thu Jan  1 10:41:39 2004 from bast.example
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights 
reserved.

-bash: /etc/profile: Device not configured
Connection to m20.example.org closed.
$

I'm not sure why this started.  Any ideas?

I think there's nothing that can be done until I get physical access 
to the box.
-- 
Dan Langille : http://www.langille.org/

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


Re: How do I install Netscape Linux binary on FreeBSD 4.3?

2004-01-01 Thread T Kellers
I think that's the wrong verfsion of linux-netscape, you probably need:

communicator-v48-us.x86-unknown-linux2.2.tar.gz
or 
navigator-v48-us.x86-unknown-linux2.2.tar.gz

both can be installed via the ports at /usr/ports/www/netscape48-communicator

or 

/usr/ports/www/netscape48-navigator

(if you have ports collection installed)

Note that the ports are supposed to work with the latest releases of the OS  
(currently 4.9 and 5.1); you may need to upgrade your OS to 4.9 to get any 
ports to run.   FreeBSD 5.1 is still a development release; if you upgrade 
stick to the FreeBSD 4.9 path.

HTH

Tim Kellers
CPE/NJIT

On Thursday 01 January 2004 10:38 am, Ken Seggerman wrote:
> I am running FreeBSD 4.3 running on an old slow laptop which is running
> low on disk space.
>
> I had Mozilla 5.0 0.8.1 and Netscape-communicator 4.76 installed.
>
> Netscape was a package off of the FreeBSD 4.3 CDROM. I may have downloaded
> Mozilla and installed it as a package, or built it as a port. I don't
> remember.
>
> Up until quite recently Mozilla worked very slowly, took up a lot of space
> on the hard drive and 97%  of the CPU. I don't think Netscape
> worked once I installed Mozilla, but trying to start Netscape resulted in
> the following error messages:
>
> $ /usr/local/bin/netscape
> /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXt.so.6: minor version -1
> older than expected 0, using it anyway
> ld.so failed: bad magic number in "/usr/X11R6/lib/libXt.so.6"
>
> I did pkg_delete on Netscape and reinstalled it with pkg_add from the
> CDROM.
>
> When I tried to start Netscape, I got the same bad magic number error.
>
> Then when I tried to start Mozilla, the hard drive rattled for about five
> minutes, Mozilla started up, got a PID, used up 95% of the CPU, but it
> never (I've waited 15 minutes) opened a window. Perhaps my pkg_delete and
> pkg_add of Netscape stepped on something in Mozilla.
>
> I pkg_deleted mozilla, netscape-communicator, netscape-wrapper, and
> netscpae-remote.
>
> I went to the FreeBSD web site where they said that the FreeBSD version of
> Mozilla is huge and slow, and recommended Netscape instead. The latest
> version of Netscape for download is Linux version called:
>
> netscape-i686-pc-linux-gnu-sea.tar.gz.
>
> My laptop is set for running Linux executables:
> #linux
> linux driver already loaded
>
> but I have no idea what to do with this file.
>
> Do I untar and unzip it first and hope that any installation instructions
> will work on FreeBSD? Leave it as a tar.gz, and install it with pkg_add,
> or rpm?
>
> The FreeBSD Handbook goes into great detail about how to brand elf
> binaries, how to install specific software like Mathematica and Oracle,
> but doesn't say how to install an ordinary Linux binary or how to install
> Netscape.
>
> I would be grateful for any suggestions.
>
> Ken
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


Re: How do I install Netscape Linux binary on FreeBSD 4.3?

2004-01-01 Thread David Fleck
On Thu, 1 Jan 2004, Ken Seggerman wrote:
> I am running FreeBSD 4.3 [...]

That's really old, by the way.

> Do I untar and unzip it first and hope that any installation instructions
> will work on FreeBSD? Leave it as a tar.gz, and install it with pkg_add,
> or rpm?

Does

pkg_add netscape-i686-pc-linux-gnu-sea.tar.gz

work?


> The FreeBSD Handbook goes into great detail about how to brand elf
> binaries, how to install specific software like Mathematica and Oracle,
> but doesn't say how to install an ordinary Linux binary or how to install
> Netscape.


The instructions at

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-install.html

seem like a good first step.

--
David Fleck
[EMAIL PROTECTED]

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


Re: Samba, Cups and Printing: Windows client gives "Access denied"

2004-01-01 Thread Peter Ulrich Kruppa
Hi Phil!

On Thu, 1 Jan 2004, Phil Payne wrote:
> I've got an HP printer on USB port on Freebsd 4-Stable box. Printer is
> on /dev/ulpt0. Installed cups and printing from BSD is fine.
>
> Had samba installed and working great for filesharing. Now introduced an
> all printers share to share this printer. Printer is browseable from
> windows machine.
>
> When I install this printer on a Win2K machine (and use local drivers) I
> get "Access Denied, Unable to Connect." Unlike some other people's
> experience I cannot print to the printer despite this message.
I have got the same problem, only the other way round:
Last week I managed to get my standalone print server with samba
and cups working, but I can't exactly tell how I did it, so you
can help me there  :-)
This is my smb.conf

---
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2003/12/29 08:09:35

# Global parameters
[global]
netbios name = SMALL
security = SHARE
passdb backend = guest
ldap ssl = no
hosts allow = 192.168.10.

[share]
path = /share
read only = No
guest ok = Yes

[hpdj]
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes



Everyone on my home network can print to my FreeBSD machine.
[share] is a share I just put up for testing purposes.
[hpdj] is the printer, just the way I set it up with cups for
local printing - no raw printer or anything like that.
/var/spool/samba
is a directory I put in myself. Its permissions are set to
drwxrwxrwt nobody nobody .

Ideas for this setup com from J. Terpstra (one of samba's
devellopers)
http://us1.samba.org/samba/docs/man/StandAloneServer.html

I am using samba3 compiled against cups on -CURRENT .

As I said it works, but I am not sure if this is everything one
needs to do.

Hope it helps,

Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fortune

2004-01-01 Thread Lowell Gilbert
Matthew Seaman <[EMAIL PROTECTED]> writes:

> On Thu, Jan 01, 2004 at 09:29:44AM -0500, Chuck PUP Payne wrote:
> 
> > Strange question, I have notice that in 5.1 there is no more fortune. Can
> > you tell me where I can get it. Thanks.
> 
> Install the games/freebsd-games port.

No, fortune isn't in there.  It's still in the main tree.  Is it maybe
being installed to somewhere different?  [Doesn't look like it from a
quick Makefile check, but I may well have missed something...]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with loading another pci driver for the same card

2004-01-01 Thread Haidong Xia
Hello,

Do you know which configuration I should disable in the kernel to get rid of 
the kernel loaded driver ?

I want to load my own kernel for the following card.  I don't know how to 
disable isab in the kernel.

[EMAIL PROTECTED]:31:0:class=0x060100 card=0x chip=0x248c8086
rev=0x02 hdr=0x00
Thank you very much.
Haidong
On Thu, 2004-01-01 at 03:09, Haidong Xia wrote:
Hello, everyone,

If the kernel already has a pci driver for a pci card, how could I load 
another loadable driver for the same card?
You'll need to recompile your kernel without the driver, because you
can't have two drivers attached to the same hardware device at a time.
Then you may be able to load your driver.
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

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


Re: getting rid of cron-sendmail messages

2004-01-01 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> After the upgrade I get now 2 messages from sendmail daily when cron runs.
> What's happened? Also, is there other/better solution?

According to periodic.conf(5), daily_status_security_output is only
meaningful "if daily_status_security_inline is set to ``NO''"

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


Re: What do you use?

2004-01-01 Thread Francisco Reyes
On Thu, 1 Jan 2004, Scott Mitchell wrote:

> As for RAID, we use Vinum, but only because I inherited a bunch of machines
> with hot-swap SCSI bays and no hardware RAID.  It works well, once you have
> it set up, and I've even managed to swap out failed drives without a reboot
> :-)  I'll definitely investigate the 3ware cards when I need to build a new
> RAID server, though.

But wouldn't a 3ware RAID be slower than an SCSI setup? Unless your
current setup is using old SCSI disks. Also how is the load? Lots of
simultaneous use or just many quick/small access (ie people using
documents/spreadsheets).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Install on IBM X30

2004-01-01 Thread Iavor Raytchev
Hello,

I have an IBM X30 laptop without external CD or FDD - so I can't boot from
CD or FDD. I have also no network access to another computer. I can just
download the installation software form the FreeBSD web site. Is there a way
to install FreeBSD in such situation?

Randy Pratt advised me to see the Handbook section 2.13.4 "Installing from
an MS-DOS® Partition":

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media
.html

This sounds a perfect solution, but I still have one question - how do I
boot? In the Handbook I can find only description how to boot from external
media (FDD, CD). Is there a way to boot form the same HDD?

Thank you very much.

Best regards,

Iavor

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


Re: XF86Keys.

2004-01-01 Thread Lowell Gilbert
Lewis Thompson <[EMAIL PROTECTED]> writes:

> I have a funky keyboard with lots of buttons along the top (like Back,
> Forward, Stop, Refresh, etc.).  I use a number of these in fluxbox by
> defining them in my keys file.
> 
>   However -- can anybody suggest a way I can make the XF86Back key work
> in firebird?  Previously I have hacked the keyboard file so that it
> generates an ALT+Left (essentially back) but I wonder if there is an
> easier way.

That way seems pretty easy to me...

>   Maybe I should email the firebird developers and see if they would
> consider adding native support for this key?  I understand quite a few
> keyboards provide it now, through XFree86.  Is this a good idea?

You could try, but I don't think it will really help much.  Different
keyboards seem to generate different events for those keys (which is
to say, they're not standardized)...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make install fails for subversion

2004-01-01 Thread Lowell Gilbert
Lou Katz <[EMAIL PROTECTED]> writes:

> The make runs ok
> The make install chugs along until:
> 
>   chmod 755 /usr/local/libexec/apache2/mod_authz_svn.so
>   [activating module `authz_svn' in /usr/local/etc/apache2/httpd.conf]
>   subversion/svnversion/svnversion . /repos/svn/trunk > 
> /usr/local/include/subversion-1/svn-revision.txt
>   /usr/libexec/ld-elf.so.1: /usr/local/lib/libapr-0.so.9: Undefined symbol 
> "pthread_mutex_init"
>   *** Error code 1
> 
>   Stop in /work/local1/ports/devel/subversion/work/subversion-0.32.1.
>   *** Error code 1
> 
>   Stop in /work/local1/ports/devel/subversion.
> 
> 
> 
> I have checked, and there is libpthread.so.20 in /usr/local/lib/pth which I have 
> linked
> up into /usr/local/lib, and it has the symbol "pthread_mutex_init". 

Sounds like you're working with an older version of FreeBSD.
[Please see Greg Lehey's "How to get best results from FreeBSD-questions" 
 http://www.lemis.com/questions.html ]

The ports aren't particularly intended to work with older versions,
and may depend on newer features (like some of the pthread modifications).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fortune

2004-01-01 Thread Scott W
Lowell Gilbert wrote:

Matthew Seaman <[EMAIL PROTECTED]> writes:

 

On Thu, Jan 01, 2004 at 09:29:44AM -0500, Chuck PUP Payne wrote:

   

Strange question, I have notice that in 5.1 there is no more fortune. Can
you tell me where I can get it. Thanks.
 

Install the games/freebsd-games port.
   

No, fortune isn't in there.  It's still in the main tree.  Is it maybe
being installed to somewhere different?  [Doesn't look like it from a
quick Makefile check, but I may well have missed something...]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

Is installed on my (5.1 through 5.2-CURRENT) system, in:
/usr/games/fortune - ELF binary
/usr/share/games/fortune/ - directory for furtune data files
Is /usr/games in your PATH?  (Unsure if this is the normal location for 
it or not under FreeBSD, although IMHO it still belongs in a bin 
directory...)

Scott

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


8-bit color in XFree86

2004-01-01 Thread Eric F Crist
Hello again all, and Happy New Year!

I'm trying to configure a system for my buddy who has an nVidia 440 MX video 
card.  For some reason XFree86 will only do 8-bit color.  Anyone tell me how 
to get it to do 24-bit color?

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fortune

2004-01-01 Thread Lowell Gilbert
Scott W <[EMAIL PROTECTED]> writes:

> Lowell Gilbert wrote:
> 
> >Matthew Seaman <[EMAIL PROTECTED]> writes:
> >
> >
> >>On Thu, Jan 01, 2004 at 09:29:44AM -0500, Chuck PUP Payne wrote:
> >>
> >>
> >>>Strange question, I have notice that in 5.1 there is no more fortune. Can
> >>>you tell me where I can get it. Thanks.
> >>>
> >>Install the games/freebsd-games port.
> >>
> >
> >No, fortune isn't in there.  It's still in the main tree.  Is it maybe
> >being installed to somewhere different?  [Doesn't look like it from a
> >quick Makefile check, but I may well have missed something...]

> Is installed on my (5.1 through 5.2-CURRENT) system, in:
> /usr/games/fortune - ELF binary
> /usr/share/games/fortune/ - directory for furtune data files
> 
> Is /usr/games in your PATH?  (Unsure if this is the normal location
> for it or not under FreeBSD, although IMHO it still belongs in a bin
> directory...)

It's the normal location -- that's where it's been since it entered
FreeBSD in the first place, back around 1994.  /usr/games is the
traditional BSD place from well before that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


unknown slowdown

2004-01-01 Thread Simon Strandgaard
In my wardrobe I have my noisy/fast server, to which I can connect via
the xdmcp protocol, either with my silent desktop machine or if im not
at home I can use ssh. It worked fluently for 6 months, but recently it
has become non-responsive and lagging. The network speed are 100Mbits
and I have killed all suspicius processes. I have even tried to restart
the server, but no luck. 

Over time the problem seems to get worse. But I cannot see any processes
which has went loose.

server> ps aux
USER  PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
root   11 95.8  0.0 0   12  ??  RL   Sun03PM 5965:54.67  (idle)
root   10  0.0  0.0 0   12  ??  DL   Sun03PM   0:00.00  (ktrace)
root1  0.0  0.1   740   84  ??  ILs  Sun03PM   0:00.13
/sbin/init --
root   12  0.0  0.0 0   12  ??  WL   Sun03PM   0:44.71  (swi1:
net)
root   13  0.0  0.0 0   12  ??  WL   Sun03PM   9:05.03  (swi7:
tty:sio clock)
root2  0.0  0.0 0   12  ??  DL   Sun03PM   0:12.60 
(g_event)
root3  0.0  0.0 0   12  ??  DL   Sun03PM   0:11.61  (g_up)
root4  0.0  0.0 0   12  ??  DL   Sun03PM   0:21.98  (g_down)
root   15  0.0  0.0 0   12  ??  DL   Sun03PM   0:14.64  (random)
root5  0.0  0.0 0   12  ??  IL   Sun03PM   0:00.00 
(acpi_task0)
root6  0.0  0.0 0   12  ??  IL   Sun03PM   0:00.00 
(acpi_task1)
root7  0.0  0.0 0   12  ??  IL   Sun03PM   0:00.00 
(acpi_task2)
root   23  0.0  0.0 0   12  ??  WL   Sun03PM   0:08.11  (irq14:
ata0)
root   24  0.0  0.0 0   12  ??  WL   Sun03PM   0:00.00  (irq15:
ata1)
root   25  0.0  0.0 0   12  ??  WL   Sun03PM   0:47.22  (irq10:
xl0)
root   26  0.0  0.0 0   12  ??  WL   Sun03PM   0:00.00  (irq6:
fdc0)
root   27  0.0  0.0 0   12  ??  WL   Sun03PM   0:00.00  (irq1:
atkbd0)
root8  0.0  0.0 0   12  ??  DL   Sun03PM   0:10.30 
(pagedaemon)
root9  0.0  0.0 0   12  ??  DL   Sun03PM   0:00.00 
(vmdaemon)
root   32  0.0  0.0 0   12  ??  DL   Sun03PM   0:08.33 
(pagezero)
root   33  0.0  0.0 0   12  ??  DL   Sun03PM   0:01.78 
(bufdaemon)
root   34  0.0  0.0 0   12  ??  DL   Sun03PM   1:47.70  (syncer)
root   35  0.0  0.0 0   12  ??  DL   Sun03PM   0:02.16  (vnlru)

root   36  0.0  0.0 0   12  ??  IL   Sun03PM   0:00.00  (nfsiod
0)
root   37  0.0  0.0 0   12  ??  IL   Sun03PM   0:00.00  (nfsiod
1)
root   38  0.0  0.0 0   12  ??  IL   Sun03PM   0:00.00  (nfsiod
2)
root   39  0.0  0.0 0   12  ??  IL   Sun03PM   0:00.00  (nfsiod
3)
root   72  0.0  0.0   872   12  ??  DLs  Sun03PM   0:00.00 vinum:
vinum daemon (vinum)
root  147  0.0  0.0   228   12  ??  Is   Sun03PM   0:00.00 adjkerntz
-i
root  255  0.0  0.4  1272  544  ??  Ss   Sun03PM   0:01.27
/usr/sbin/syslogd -s
root  390  0.0  0.4  3432  496  ??  Is   Sun03PM   0:00.52
/usr/sbin/sshd
root  412  0.0  0.5  1296  648  ??  Ss   Sun03PM   0:02.15
/usr/sbin/cron
root  458  0.0  0.4  1236  516  v0  Is+  Sun03PM   0:00.01
/usr/libexec/getty Pc ttyv0
root  459  0.0  0.4  1236  516  v1  Is+  Sun03PM   0:00.01
/usr/libexec/getty Pc ttyv1
root  460  0.0  0.4  1236  516  v2  Is+  Sun03PM   0:00.01
/usr/libexec/getty Pc ttyv2
root  461  0.0  0.4  1236  516  v3  Is+  Sun03PM   0:00.01
/usr/libexec/getty Pc ttyv3
root  462  0.0  0.4  1236  516  v4  Is+  Sun03PM   0:00.01
/usr/libexec/getty Pc ttyv4
root  463  0.0  0.4  1236  516  v5  Is+  Sun03PM   0:00.01
/usr/libexec/getty Pc ttyv5
root  464  0.0  0.4  1236  516  v6  Is+  Sun03PM   0:00.01
/usr/libexec/getty Pc ttyv6
root  465  0.0  0.4  1236  516  v7  Is+  Sun03PM   0:00.01
/usr/libexec/getty Pc ttyv7
root16151  0.0  1.3  2988 1648  ??  I 3:52PM   0:00.03
/usr/X11R6/bin/xdm -nodaemon ttyv8
root16194  0.0  1.8  3372 2268  ??  Is4:07PM   0:00.08 xdm:
10.0.0.252:0 (xdm)
neoneye 16217  0.0  1.9  3628 2324  ??  Ss4:12PM   0:00.78
/usr/X11R6/bin/blackbox
neoneye 16220  0.0  1.6  3348 1988  ??  I 4:12PM   0:00.48 bbkeys
root16222  0.0  2.5  4660 3068  ??  Is4:13PM   0:00.11 xterm -ls
neoneye 16223  0.0  0.9  1640 1072  p0  Is+   4:13PM   0:00.08 -tcsh
(tcsh)
neoneye 16312  0.0  0.3   920  364  p0  I 4:14PM   0:00.01 /bin/sh
./run-mozilla.sh ./mozilla-bin
neoneye 16323  0.2 30.7 48188 38208  p0  S 4:14PM   1:18.18
./mozilla-bin
root16693  0.0  2.6  4732 3256  ??  Rs6:51PM   0:00.19 xterm -ls
neoneye 16694  0.0  0.8  1552  956  p1  Ss6:51PM   0:00.04 -tcsh
(tcsh)
root0  0.0  0.0 04  ??  DLs  Sun03PM   0:00.51 
(swapper)
neoneye 16782  0.0  0.4   696  524  p1  R+7:20PM   0:00.00 ps aux
server>

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

--
Simon Strandgaard

___
[EMAIL PROTECTED] mailing list
http:

Re: A sendmail config question

2004-01-01 Thread Matthew Seaman
On Thu, Jan 01, 2004 at 11:09:28AM -0500, stan wrote:
> I'm setting up a FreeBSD machine behind a firewall to recieve mail. Inside
> teh firewall the machines are in a "fak" domain. The IP address that is on
> the outside of the firewall is in a vaild DNS block.
> 
> Looking at the default freebsd.mc config file, I don't see anywhere to tell
> sedmail to accept mail for the real domain. What am I missing?

All you have to do is add the list of addresses (ie. the RHS part,
after the @ symbol) to the file /etc/mail/local-host-names, one per
line.  This file should list all of the addresses that your server
does final delivery for.
 
> Also how can I set up wildcarding, so that mail for that domain that does
> not go to a valid user gets directed to a specifc user on that system?

This is a job for virtusertable -- read about what you can do with
virtusertable funtionality in /usr/share/sendmail/cf/README.  The
default FreeBSD configuration already includes virtusertable support,
so all you have to do is create a file /etc/mail/virtusertable into
which you put a line like the following:

@virtual-domain.com  [EMAIL PROTECTED]

Then run make in /etc/mail which will process that file into the db
hash file sendmail uses to do it's lookups.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: make install fails for subversion

2004-01-01 Thread Lou Katz
On Thu, Jan 01, 2004 at 01:19:36PM -0500, Lowell Gilbert wrote:
> Lou Katz <[EMAIL PROTECTED]> writes:
> 
> > The make runs ok
> > The make install chugs along until:
> > 
> > chmod 755 /usr/local/libexec/apache2/mod_authz_svn.so
> > [activating module `authz_svn' in /usr/local/etc/apache2/httpd.conf]
> > subversion/svnversion/svnversion . /repos/svn/trunk > 
> > /usr/local/include/subversion-1/svn-revision.txt
> > /usr/libexec/ld-elf.so.1: /usr/local/lib/libapr-0.so.9: Undefined symbol 
> > "pthread_mutex_init"
> > *** Error code 1
> > 
> > Stop in /work/local1/ports/devel/subversion/work/subversion-0.32.1.
> > *** Error code 1
> > 
> > Stop in /work/local1/ports/devel/subversion.
> > 
> > 
> > 
> > I have checked, and there is libpthread.so.20 in /usr/local/lib/pth which I have 
> > linked
> > up into /usr/local/lib, and it has the symbol "pthread_mutex_init". 
> 
> Sounds like you're working with an older version of FreeBSD.
> [Please see Greg Lehey's "How to get best results from FreeBSD-questions" 
>  http://www.lemis.com/questions.html ]

4.7-RELEASE-p4


> 
> The ports aren't particularly intended to work with older versions,
> and may depend on newer features (like some of the pthread modifications).

If I leave MOD_DAV out, it works, but I think I need that. The funny thing
is, the library with pthread_mutex_init IS IN /usr/local/lib!

Thanks.

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


netgraph.ko vs. compiled in.

2004-01-01 Thread Bill Moran
I'm not sure if this is a bug, or intended behaviour.  If the behaviour is
intended, documentation improvements may be in order.
If I build a kernel with "options netgraph", in order to use mpd, netgraph.ko
is still loaded at boot (with an error) but mpd does not work.
If I build the kernel without netgraph, netgraph.ko loads, along with other
netgraph modules required for PPTP, and mpd works like a charm.
What I haven't tried yet, is compiling a kernel with all the options for all
the netgraph modules I'll need compiled in to see if that works.
This is FreeBSD 4.9.  Does anyone know if this is intended behaviour or a bug?
If it's intended behaviour, is it in the documentation and I just haven't seen
it?
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: unknown slowdown

2004-01-01 Thread Matthew Seaman
On Thu, Jan 01, 2004 at 07:45:49PM +0100, Simon Strandgaard wrote:
> In my wardrobe I have my noisy/fast server, to which I can connect via
> the xdmcp protocol, either with my silent desktop machine or if im not
> at home I can use ssh. It worked fluently for 6 months, but recently it
> has become non-responsive and lagging. The network speed are 100Mbits
> and I have killed all suspicius processes. I have even tried to restart
> the server, but no luck. 

Two things to check:

Does 'netstat -i' show any errors, either on your server or on your desktop?

   If so, then there's probably a fault somewhere in your networking
   setup.  It could be a simple as a network cable not plugged in
   properly or as bad as your switch/hub slowly giving up the ghost,
   or one of the NICs in one of the machines spiralling into oblivion.
   Best way to isolate the problem is to swap out the various parts
   with known good components.  Nb. with this sort of search, always
   start with the cheapest components: don't assume that eg. network
   cables are so simple nothing can go wrong with them...

Do both machines agree on the duplex settings for your network?

   Certain combinations of NIC and network switches seem to have
   trouble negotiating the duplex settings for the network.  This
   leads to a large number of dropped packets and the sort of symptoms
   you've described.  Comparing the ifconfig(8) output on both
   machines and the blinken lights on the switch will soon tell you if
   this is the problem.  Solve it by hardwiring the 'media' and
   'mediaopts' settings in the ifconfig lines in /etc/rc.conf

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: netgraph.ko vs. compiled in.

2004-01-01 Thread Matthew Seaman
On Thu, Jan 01, 2004 at 02:38:09PM -0500, Bill Moran wrote:

> If I build a kernel with "options netgraph", in order to use mpd, 
> netgraph.ko
> is still loaded at boot (with an error) but mpd does not work.

You can't simultaneously load a .ko and have the same code compiled
into the kernel.
 
> If I build the kernel without netgraph, netgraph.ko loads, along with other
> netgraph modules required for PPTP, and mpd works like a charm.
> 
> What I haven't tried yet, is compiling a kernel with all the options for all
> the netgraph modules I'll need compiled in to see if that works.

It's generally best either to kldload all of the netgraph modules you
require for this purpose or to compile them all into the kernel.  One
way, or the other, but not a mixture of both.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: netgraph.ko vs. compiled in.

2004-01-01 Thread Bill Moran
Matthew Seaman wrote:
On Thu, Jan 01, 2004 at 02:38:09PM -0500, Bill Moran wrote:

If I build a kernel with "options netgraph", in order to use mpd, 
netgraph.ko
is still loaded at boot (with an error) but mpd does not work.
You can't simultaneously load a .ko and have the same code compiled
into the kernel.
_I_ know that.  Tell it to whatever part of the system is trying to
load the kld.
I'm not saying that being unable to load a kld for a service that's
already compiled in is an error.  I'm saying the fact that mpd tries
to load the kld when it's already compiled in is the error.
If I build the kernel without netgraph, netgraph.ko loads, along with other
netgraph modules required for PPTP, and mpd works like a charm.
What I haven't tried yet, is compiling a kernel with all the options for all
the netgraph modules I'll need compiled in to see if that works.
It's generally best either to kldload all of the netgraph modules you
require for this purpose or to compile them all into the kernel.  One
way, or the other, but not a mixture of both.
I would go beyond "generally best" and straight into "it doesn't work".

My question is, "Is this fact documented somewhere, and I didn't see it?"
Because, if it's not, I'm going to put together a doc patch and file a PR.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


/dev/sequencer missing - Midi support under 5.x

2004-01-01 Thread Dany Nativel
Searching the archives I found a previous thread 
(http://docs.freebsd.org/cgi/mid.cgi?3FA6C96D.3090502) talking about my 
problem.
Any progress on playing Midi files under 5.x ? My card uses the 
snd_DS1 module.

Kmidi is complaining about a missing /dev/sequencer (which I don't have 
in my /dev).

Thank you
Dany


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


something wrong with"shutdown"

2004-01-01 Thread dc
  Versino 4.9whenever i use the command "shutdown"or "halt"to
shutdown the power,system display"type anykey to reboot"so computer
reboot~and i have to boot windows(i installed FREEBSD and WINDOWS2000).
   Someone told me to configue the kernel.Add "device  acpica"to the
kernel and make it ~I did so,nothing changed,porblem is still there.HELP~!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.2-RC2 customize questions

2004-01-01 Thread J.D. Bronson
I have installed 5.2RC2 on i386 and have all of it working well (including 
ACPI with HTT)

Since I am much more familiar with the 4.x flavor, is there any web area 
that explains the following:

1. it seems alot of startup was moved to /etc/rc.d...thats cool, but I dont 
see the connection as to how things in there are being invoked?

2. How can I get rid of the boot menu and boot 5.2 like 4.x ?

3. I built a custom kernel and chose to incorporate 'hints' within the 
kernel and that seems to work, but I noticed alot of modules still get 
built for devices I didnt include or list (like scsi and sound)...how can I 
effectively remove devices I dont have ?

..other than this (so far)..I am very pleased at the performance!

thanks.





--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2-RC2 customize questions

2004-01-01 Thread Harald Schmalzbauer
On Thursday 01 January 2004 21:59, J.D. Bronson wrote:
> I have installed 5.2RC2 on i386 and have all of it working well (including
> ACPI with HTT)
>
> Since I am much more familiar with the 4.x flavor, is there any web area
> that explains the following:
>
> 1. it seems alot of startup was moved to /etc/rc.d...thats cool, but I dont
> see the connection as to how things in there are being invoked?

I just can tell you that RCng was merged from NetBSD some months ago.

>
> 2. How can I get rid of the boot menu and boot 5.2 like 4.x ?

You can edit /boot/loader.rc and comment the line "include /boot/beastie.4th" 
and "beastie-start"

>
> 3. I built a custom kernel and chose to incorporate 'hints' within the
> kernel and that seems to work, but I noticed alot of modules still get
> built for devices I didnt include or list (like scsi and sound)...how can I
> effectively remove devices I dont have ?

That's because modules are built together with the kernel not with the world. 
You can change this by adding the following to /etc/make.conf
"NO_MODULES=true"
or or and/or
"MODULES_WITH_WORLD=true"

>
> ..other than this (so far)..I am very pleased at the performance!

Well then you seem to have very fast hardware. Regarding disk transfer and 
network speed there is plenty to do (see Greg Leheys latest measurements)

-Harry

>
> thanks.


pgp0.pgp
Description: signature


Re: 5.2-RC2 customize questions

2004-01-01 Thread J.D. Bronson
At 03:15 PM 1/1/2004, Harald Schmalzbauer wrote:
On Thursday 01 January 2004 21:59, J.D. Bronson wrote:
> I have installed 5.2RC2 on i386 and have all of it working well (including
> ACPI with HTT)
>
> Since I am much more familiar with the 4.x flavor, is there any web area
> that explains the following:
>
> 1. it seems alot of startup was moved to /etc/rc.d...thats cool, but I dont
> see the connection as to how things in there are being invoked?
I just can tell you that RCng was merged from NetBSD some months ago.

>
> 2. How can I get rid of the boot menu and boot 5.2 like 4.x ?
You can edit /boot/loader.rc and comment the line "include /boot/beastie.4th"
and "beastie-start"
>
> 3. I built a custom kernel and chose to incorporate 'hints' within the
> kernel and that seems to work, but I noticed alot of modules still get
> built for devices I didnt include or list (like scsi and sound)...how can I
> effectively remove devices I dont have ?
That's because modules are built together with the kernel not with the world.
You can change this by adding the following to /etc/make.conf
"NO_MODULES=true"
or or and/or
"MODULES_WITH_WORLD=true"
>
> ..other than this (so far)..I am very pleased at the performance!
Well then you seem to have very fast hardware. Regarding disk transfer and
network speed there is plenty to do (see Greg Leheys latest measurements)
-Harry
umm. This is not good news? - I have dual machines that have Pentium4 
3.06ghz and run IDE 7200 rpm drives...I have not seen any loss of 
performance via network -or- IDE transfers. Things seem to really rock

H.





--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: netgraph.ko vs. compiled in.

2004-01-01 Thread Matthew Seaman
On Thu, Jan 01, 2004 at 03:02:41PM -0500, Bill Moran wrote:
> Matthew Seaman wrote:

> >It's generally best either to kldload all of the netgraph modules you
> >require for this purpose or to compile them all into the kernel.  One
> >way, or the other, but not a mixture of both.
 
> I would go beyond "generally best" and straight into "it doesn't work".
 
> My question is, "Is this fact documented somewhere, and I didn't see it?"
> Because, if it's not, I'm going to put together a doc patch and file a PR.

Hmmm... I've seen people mention similar effects where various other
modules insisting on kldload'ing their dependencies even if they're
already in the kernel.  They pop up on various mailing lists over
time.  You may be right in saying "it doesn't work" -- but I have no
idea whether that is correct in all cases.  I get the feeling that
most people will go to great pains to prevent their kernel code doing
annoying things like that.

Of course, if you compile, say, netgraph into your kernel, your
buildkernel run shouldn't produce a separate netgraph.ko module.  If
there's one in /modules or wherever the equivalent is for 5.x then
it's a hangover from a previous kernel.  Chances are that if you get
rid of the old netgraph.ko then things may well work as you expect.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


DOS partition permissions.

2004-01-01 Thread Eric F Crist
Hey all,

How can I change the write permissions on DOS partitions?  I have tried a 
chmod 0777 /dev/ and chmod 0777 / and neither have any 
effect.  What am I doing wrong?  I'm trying to do this for a USB storage 
device and a DOS partition I use for sharing some files between FreeBSD and 
XP.

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 8-bit color in XFree86

2004-01-01 Thread Eric F Crist
On Thursday 01 January 2004 12:23 pm, Eric F Crist wrote:
> Hello again all, and Happy New Year!
>
> I'm trying to configure a system for my buddy who has an nVidia 440 MX
> video card.  For some reason XFree86 will only do 8-bit color.  Anyone tell
> me how to get it to do 24-bit color?
>
> TIA

I did get this fixed from the XFree86 lists.  There is a DefaultDepth line 
that can be added in the XF86Config file.  Hope this helps others that have 
this problem.
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DOS partition permissions.

2004-01-01 Thread Markus Kovero
you can define permissions on mount time with some clever option which I
just cant remember right now.
Use man mount luke.

greets markus kovero
- Original Message - 
From: "Eric F Crist" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 01, 2004 11:37 PM
Subject: DOS partition permissions.


> Hey all,
>
> How can I change the write permissions on DOS partitions?  I have tried a
> chmod 0777 /dev/ and chmod 0777 / and neither have
any
> effect.  What am I doing wrong?  I'm trying to do this for a USB storage
> device and a DOS partition I use for sharing some files between FreeBSD
and
> XP.
>
> TIA
> -- 
> Eric F Crist
> AdTech Integrated Systems, Inc
> (612) 998-3588
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: A sendmail config question

2004-01-01 Thread stan
On Thu, Jan 01, 2004 at 07:29:56PM +, Matthew Seaman wrote:
> On Thu, Jan 01, 2004 at 11:09:28AM -0500, stan wrote:
> > I'm setting up a FreeBSD machine behind a firewall to recieve mail. Inside
> > teh firewall the machines are in a "fak" domain. The IP address that is on
> > the outside of the firewall is in a vaild DNS block.
> > 
> > Looking at the default freebsd.mc config file, I don't see anywhere to tell
> > sedmail to accept mail for the real domain. What am I missing?
> 
> All you have to do is add the list of addresses (ie. the RHS part,
> after the @ symbol) to the file /etc/mail/local-host-names, one per
> line.  This file should list all of the addresses that your server
> does final delivery for.
>  
> > Also how can I set up wildcarding, so that mail for that domain that does
> > not go to a valid user gets directed to a specifc user on that system?
> 
Thansk taht's most helpful.


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


using multiple isc-dhcp servers?

2004-01-01 Thread stan
I have set up the isc-dhcp port on 2 machines. and it is serving addresses,
but I notice that whichever machine gives the lease is the only one that
records the lease in it's leases file.

This seems like a problem.

How can I configure this package to avoid this problem?

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


Re: using multiple isc-dhcp servers?

2004-01-01 Thread Tillman Hodgson
On Thu, Jan 01, 2004 at 05:06:23PM -0500, stan wrote:
> I have set up the isc-dhcp port on 2 machines. and it is serving addresses,
> but I notice that whichever machine gives the lease is the only one that
> records the lease in it's leases file.
> 
> This seems like a problem.

Yes, I imagine it is ;-)

> How can I configure this package to avoid this problem?

You shouldn't have more than one DHCP server per broadcast domain
(unless you implement some sort of database sharing logic between them).
Because clients keep their leases for a period of time even if the DHCP
server dies, this isn't a service that typically calls for redundancy.

-T


-- 
"Nostalgia is a seductive liar."
- George W. Ball
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: http://www.freebsd.org/gallery/npgallery.html

2004-01-01 Thread Ceri Davies
On Wed, Dec 31, 2003 at 09:46:44AM -0800, J.D. Falk wrote:
>   My site, cybernothing.org, is now hosted on a friends' machine
>   running Linux.  (I still prefer FreeBSD myself.)

Now removed; thanks for keeping us up to date.

Cheers,

Ceri

-- 


pgp0.pgp
Description: PGP signature


Re: DOS partition permissions.

2004-01-01 Thread Gautam Gopalakrishnan
On Thu, Jan 01, 2004 at 03:37:51PM -0600, Eric F Crist wrote:
> Hey all,
> 
> How can I change the write permissions on DOS partitions?  I have tried a 
> chmod 0777 /dev/ and chmod 0777 / and neither have any 
> effect.  What am I doing wrong?  I'm trying to do this for a USB storage 

I think you should change permissions on the mount point before
mounting the device, no need to change it on /dev/device.

hth
Gautam

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


Re: What do you use?

2004-01-01 Thread Scott Mitchell
On Thu, Jan 01, 2004 at 01:09:23PM +, Francisco Reyes wrote:
> On Thu, 1 Jan 2004, Scott Mitchell wrote:
> 
> > As for RAID, we use Vinum, but only because I inherited a bunch of machines
> > with hot-swap SCSI bays and no hardware RAID.  It works well, once you have
> > it set up, and I've even managed to swap out failed drives without a reboot
> > :-)  I'll definitely investigate the 3ware cards when I need to build a new
> > RAID server, though.
> 
> But wouldn't a 3ware RAID be slower than an SCSI setup? Unless your
> current setup is using old SCSI disks. Also how is the load? Lots of
> simultaneous use or just many quick/small access (ie people using
> documents/spreadsheets).

There no particular reason for an ATA RAID to be slower than SCSI, assuming
similar disks in each.  10krpm 'server class' ATA disks are available these
days, although I don't know that anyone has done a 15krpm one yet.

In any case, performance is only one reason to use RAID.  My arrays are
RAID-5's, serving developer home directories over NFS, and a CVS server
(ie. lots of small file accesses).  The main requirements were to have
some fault tolerance and to get the most out the of disks I could buy with
the available budget - hence the RAID-5.  Read performance is no worse than
with a single disk, and degrades more gracefully with multiple simultaneous
access.  Write performance is pretty awful, but that's the nature of
RAID-5.  No doubt if I had an unlimited budget I would do things
differently, but those days are long gone :-(

I'd also expect/hope that a hardware solution (ATA or SCSI) would be easier
to manage.  Vinum is great, but swapping out a dead drive is still a scary,
multi-step procedure, that I do infrequently enough that it always requires
half an hour with the manual and my notes from last time to make sure I get
it right.  With our Windows servers (Compaq Proliants with hardware RAID),
you just yank the old drive, plug in the new one, and it's done.  I'd love
to be able to do that with the FreeBSD servers as well.

Scott

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


Re: What do you use?

2004-01-01 Thread Scott W
Scott Mitchell wrote:

On Thu, Jan 01, 2004 at 01:09:23PM +, Francisco Reyes wrote:
 

On Thu, 1 Jan 2004, Scott Mitchell wrote:

   

As for RAID, we use Vinum, but only because I inherited a bunch of machines
with hot-swap SCSI bays and no hardware RAID.  It works well, once you have
it set up, and I've even managed to swap out failed drives without a reboot
:-)  I'll definitely investigate the 3ware cards when I need to build a new
RAID server, though.
 

But wouldn't a 3ware RAID be slower than an SCSI setup? Unless your
current setup is using old SCSI disks. Also how is the load? Lots of
simultaneous use or just many quick/small access (ie people using
documents/spreadsheets).
   

There no particular reason for an ATA RAID to be slower than SCSI, assuming
similar disks in each.  10krpm 'server class' ATA disks are available these
days, although I don't know that anyone has done a 15krpm one yet.
Does SATA have tagged queing?   (I don't know offhand if it does...?)

I can guarantee modern SCSI throughput is superior to any of the SATA 
drives I've seen to date.  Several of the 'hardware sites' (I think 
Tomshardware did a writeup on this or anadtech among others) agree with 
this statement as well.  ATA specs tend to exaggerate their capabilities 
even worse than SCSI specs do- burst speeds are all fine and dandy, but 
not realistic at all in the real world.  Meaning basically in short I 
wouldn't choose SATA over SCSI for a production server of any kind where 
speed was an issue.  ATA has gotten better by far than it was 
speed-wise, and I'd be OK with it on a personal workstation for any 
purpose, but it's still playing catchup.

In any case, performance is only one reason to use RAID.  My arrays are
RAID-5's, serving developer home directories over NFS, and a CVS server
(ie. lots of small file accesses).  The main requirements were to have
some fault tolerance and to get the most out the of disks I could buy with
the available budget - hence the RAID-5.  Read performance is no worse than
with a single disk, and degrades more gracefully with multiple simultaneous
access.  Write performance is pretty awful, but that's the nature of
RAID-5.  No doubt if I had an unlimited budget I would do things
differently, but those days are long gone :-(
Write performance is awful locally, or over NFS?  NFS isn't exactly a 
speed demon.
No comment on the unlimited budget as everyone at work just got 
(another) 'mandatory pay reduction'...but I do rememeber and miss those, 
$^#&*(
;-)

Scott

I'd also expect/hope that a hardware solution (ATA or SCSI) would be easier
to manage.  Vinum is great, but swapping out a dead drive is still a scary,
multi-step procedure, that I do infrequently enough that it always requires
half an hour with the manual and my notes from last time to make sure I get
it right.  With our Windows servers (Compaq Proliants with hardware RAID),
you just yank the old drive, plug in the new one, and it's done.  I'd love
to be able to do that with the FreeBSD servers as well.

	Scott

 



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


Re: something wrong with"shutdown"

2004-01-01 Thread Greg 'groggy' Lehey
On Friday,  2 January 2004 at  4:25:49 +0800, dc wrote:
>   Versino 4.9whenever i use the command "shutdown"or "halt"to
> shutdown the power,system display"type anykey to reboot"so computer
> reboot~and i have to boot windows(i installed FREEBSD and
> WINDOWS2000).

Why?

>Someone told me to configue the kernel.Add "device acpica"to
> the kernel and make it ~I did so,nothing changed,porblem is still
> there.HELP~!

It's almost impossible to guess what your problem is.  Obviously
shutdown works.  Did you install the boot selector?  Please:

1.  Shut down the machine (with shutdown, not halt).
2.  When you see "Press any key to reboot", turn the power off.
3.  Turn the power on.
4.  Describe *exactly* what happens.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: What do you use?

2004-01-01 Thread Scott Mitchell
On Thu, Jan 01, 2004 at 05:59:18PM -0500, Scott W wrote:
> Scott Mitchell wrote:
> >
> >There no particular reason for an ATA RAID to be slower than SCSI, assuming
> >similar disks in each.  10krpm 'server class' ATA disks are available these
> >days, although I don't know that anyone has done a 15krpm one yet.
> >
> 
> Does SATA have tagged queing?   (I don't know offhand if it does...?)

No idea.  I haven't used any SATA stuff yet.  Would be surprised if it
didn't though.

> I can guarantee modern SCSI throughput is superior to any of the SATA 
> drives I've seen to date.  Several of the 'hardware sites' (I think 
> Tomshardware did a writeup on this or anadtech among others) agree with 
> this statement as well.  ATA specs tend to exaggerate their capabilities 
> even worse than SCSI specs do- burst speeds are all fine and dandy, but 
> not realistic at all in the real world.  Meaning basically in short I 
> wouldn't choose SATA over SCSI for a production server of any kind where 
> speed was an issue.  ATA has gotten better by far than it was 
> speed-wise, and I'd be OK with it on a personal workstation for any 
> purpose, but it's still playing catchup.

Well, I won't disagree with any of that - ATA drives have been aimed at the
consumer market, which wants big & cheap in preference to performance &
reliability.  On the other hand, you've got drives like the WD 'Raptor'
that seem to be mechanically what you expect in a server-class SCSI drive,
but with a SATA interface, so the gap isn't that big anymore.  I stand by
my statement above though - there's no reason an ATA RAID implementation
_has_ to be slower than SCSI, provided that the disks are up to it.  In
practice though, suitable disks are only just now starting to appear.

> Write performance is awful locally, or over NFS?  NFS isn't exactly a 
> speed demon.

Locally - with RAID-5 you have the extra overhead of calculating the parity
for the block you just wrote, then writing that out to an other drive.
According to the Vinum docs, write performance is ~25% of read, although
how much of that is Vinum and how much is just the nature of RAID-5 I'm not
sure.

> No comment on the unlimited budget as everyone at work just got 
> (another) 'mandatory pay reduction'...but I do rememeber and miss those, 
> $^#&*(
> ;-)

:-)

Scott

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


Re: something wrong with"shutdown"

2004-01-01 Thread Dany
to turn the power off automatically, you should use :  shutdown -p now   
instead of the -h which gives you this message.

Greg 'groggy' Lehey wrote:

On Friday,  2 January 2004 at  4:25:49 +0800, dc wrote:
 

 Versino 4.9whenever i use the command "shutdown"or "halt"to
shutdown the power,system display"type anykey to reboot"so computer
reboot~and i have to boot windows(i installed FREEBSD and
WINDOWS2000).
   

Why?

 

  Someone told me to configue the kernel.Add "device acpica"to
the kernel and make it ~I did so,nothing changed,porblem is still
there.HELP~!
   

It's almost impossible to guess what your problem is.  Obviously
shutdown works.  Did you install the boot selector?  Please:
1.  Shut down the machine (with shutdown, not halt).
2.  When you see "Press any key to reboot", turn the power off.
3.  Turn the power on.
4.  Describe *exactly* what happens.
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.
 

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


File system full?

2004-01-01 Thread Eric F Crist
How big is necessary for a /usr partition?  Mine keeps filling up and I've 
deleted /usr/obj and /usr/ports/distfiles regularly.

Here's my df -h readout:

$ df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s3a  1008M92M   835M10%/
/dev/ad0s2   1020M19M  1001M 2%/dos
/dev/ad0s3g   4.8G69M   4.3G 2%/home
/dev/ad0s3e   3.9G   3.9G -260.5M   107%/usr
/dev/ad0s3f  1008M27M   900M 3%/var
/dev/ad0s1 24G22G   2.9G88%/nt
procfs4.0K   4.0K 0B   100%/proc
/dev/da0s1 61M61M   632K99%/umass
$

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: File system full?

2004-01-01 Thread Chris
On Thursday 01 January 2004 06:00 pm, Eric F Crist wrote:
> How big is necessary for a /usr partition?  Mine keeps filling up and I've
> deleted /usr/obj and /usr/ports/distfiles regularly.
>
> Here's my df -h readout:
>
> $ df -h
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad0s3a  1008M92M   835M10%/
> /dev/ad0s2   1020M19M  1001M 2%/dos
> /dev/ad0s3g   4.8G69M   4.3G 2%/home
> /dev/ad0s3e   3.9G   3.9G -260.5M   107%/usr
> /dev/ad0s3f  1008M27M   900M 3%/var
> /dev/ad0s1 24G22G   2.9G88%/nt
> procfs4.0K   4.0K 0B   100%/proc
> /dev/da0s1 61M61M   632K99%/umass


If you have source installed, that takes up a bit. If you don't see yourself 
doing a makeworld and building kernel - a binary install would have done 
nicely.


-- 
Best regards,
Chris

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


Re: File system full?

2004-01-01 Thread Gautam Gopalakrishnan
On Thu, Jan 01, 2004 at 06:00:23PM -0600, Eric F Crist wrote:
> How big is necessary for a /usr partition?  Mine keeps filling up and I've 
> deleted /usr/obj and /usr/ports/distfiles regularly.
> 
> Here's my df -h readout:
> 
> $ df -h
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad0s3a  1008M92M   835M10%/
> /dev/ad0s2   1020M19M  1001M 2%/dos
> /dev/ad0s3g   4.8G69M   4.3G 2%/home
> /dev/ad0s3e   3.9G   3.9G -260.5M   107%/usr
> /dev/ad0s3f  1008M27M   900M 3%/var
> /dev/ad0s1 24G22G   2.9G88%/nt
> procfs4.0K   4.0K 0B   100%/proc
> /dev/da0s1 61M61M   632K99%/umass

I don't think you need such big / and /var partitions...
And you could merge /home and /usr and make home dirs on /usr/home

Gautam

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


Re: File system full?

2004-01-01 Thread Eric F Crist
On Thursday 01 January 2004 06:04 pm, Chris wrote:
> If you have source installed, that takes up a bit. If you don't see
> yourself doing a makeworld and building kernel - a binary install would
> have done nicely.

I do have source installed, and I do a bi-weekly source update automatically 
when my laptop is home.  I like having the sources there.  Any other 
suggestions on which directories I can squash?

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: File system full?

2004-01-01 Thread Eric F Crist
On Thursday 01 January 2004 06:15 pm, Eric F Crist wrote:
> On Thursday 01 January 2004 06:04 pm, Chris wrote:
> > If you have source installed, that takes up a bit. If you don't see
> > yourself doing a makeworld and building kernel - a binary install would
> > have done nicely.
>
> I do have source installed, and I do a bi-weekly source update
> automatically when my laptop is home.  I like having the sources there. 
> Any other suggestions on which directories I can squash?

Never mind.  I seem to have forgotten you can do a make clean from the 
/usr/ports and you're fine!

Sorry for the unnecessary traffic.
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ISC dhcpd serve configuration question

2004-01-01 Thread stan
I'm still trying to get ISC dhcp to work in a "redundnat" fashion where I
have 2 machines, and they share an address pool. 

Here's where I am on this.

Well I thoguht I had it working for a minute. 

The executbale is _really_ picky about the syntax od the config file, and I
found some help at:

http://www.lithodyne.net/docs/dhcp/dhcp-4.html#ss4.3

So, I wound up with this on the master machine:


# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "fas.com";
option domain-name-servers 205.159.77.224, 205.159.77.225;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates.
ddns-update-style interim;
ignore client-updates;
option domain-name "fas.com";
ddns-domainname "fas.com";

zone fas.com. {
primary 127.0.0.1;
}

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
# log-facility local7;

# No service will be given on this subnet, but declaring it helps the 
# DHCP server to understand the network topology.

subnet 10.152.187.0 netmask 255.255.255.0 {
}


failover peer "pool" {
 primary;
 address black.fas.com;
 port 519;
 peer address cindy.fas.com;
 peer port 520;
 split 128;
 max-response-delay 60;
 max-unacked-updates 10;
 mclt 3600;
 load balance max seconds 3;
   }

subnet 205.159.77.0 netmask 255.255.255.0 {
pool {
failover peer "pool";
range 205.159.77.50 205.159.77.75;
deny dynamic bootp clients;
}
option routers 205.159.77.234;
}

And this on the slave:


# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "fas.com";
option domain-name-servers 205.159.77.224, 205.159.77.225;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates.
ddns-update-style interim;
ignore client-updates;
option domain-name "fas.com";
ddns-domainname "fas.com";

zone fas.com. {
primary 127.0.0.1;
}

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
# log-facility local7;

# No service will be given on this subnet, but declaring it helps the 
# DHCP server to understand the network topology.

subnet 10.152.187.0 netmask 255.255.255.0 {
}


failover peer "pool" {
 secondary;
 address cindy.fas.com;
 port 519;
 peer address black.fas.com;
 peer port 520;
 max-response-delay 60;
 max-unacked-updates 10;
 mclt 3600;
 load balance max seconds 3;
   }

subnet 205.159.77.0 netmask 255.255.255.0 {
pool {
failover peer "pool";
range 205.159.77.50 205.159.77.75;
deny dynamic bootp clients;
}
option routers 205.159.77.234;
}

And both sides started up OK. But when I booted one of the OpenBSD machines
as a client it failed to get an address.

Looking at tcpdump it _si_ a bootp packet that it sends, so I'm wondering
if this line is the problem?


deny dynamic bootp clients;

Any ideas?

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


OpenOffice

2004-01-01 Thread Chris
Is there just a binary install of OpenOffice?

-- 
Best regards,
Chris

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


Re: OpenOffice

2004-01-01 Thread peter lageotakes

--- Chris <[EMAIL PROTECTED]> wrote:
> Is there just a binary install of OpenOffice?
> 
> -- 
> Best regards,
> Chris
> 
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
Yes there is a binary install for OpenOffice.

http://projects.imp.ch/openoffice/

Pete


=
ESCape with VI. Cheese A La mode.

__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Printing Problems

2004-01-01 Thread Kurt D. McCullum
I am running FreeBSD 5.1 with the CUPS print server. I am having some problems 
with my printer and I was wondering if anyone had seen this before. 

I am using an old HP DeskJet 1200C/PS.  I have it setup with CUPS and I can 
print without any problems. But, when I try to print anything with graphics 
in it the job takes a long time to complete. For example, when printing a 
1.2mb jpeg file it takes almost two hours to print. Text prints without a 
problem and small graphics don't slow it down too much. Do I need to change 
some settings or is this printer just really slow?

Kurt

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


Re: using multiple isc-dhcp servers?

2004-01-01 Thread Lowell Gilbert
stan <[EMAIL PROTECTED]> writes:

> I have set up the isc-dhcp port on 2 machines. and it is serving addresses,
> but I notice that whichever machine gives the lease is the only one that
> records the lease in it's leases file.

Right.  If you want them to know about each other, you need to
configure that.  See the descriptions of "failover" in the
dhcpd.conf(5) manual.

> This seems like a problem.

Not unless both servers are serving addresses out of the same pool.
Obviously, that *would* be a problem.  

If one hands out (for example) 10.0.0.3 through 10.0.0.127 and the
other hands out 10.0.0.128 through 10.0.0.254, then there's no problem
at all.  You can have the second one respond more slowly by using the
min-secs statement in its configuration.

> How can I configure this package to avoid this problem?

If you want the failover support, then you can set that up (I've never
done it, but it looks reasonably simple when I read the manual).  

It's probably not worth setting up two servers, though.  If you have a
reasonable gap between the renew time (when the clients start looking
for a new lease) and the end of the lease (when the clients have to
stop using their old lease), then you have a fair amount of breathing
time to get the server fixed.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: isc-dhcpd weird effect

2004-01-01 Thread Lowell Gilbert
Pierrick Brossin <[EMAIL PROTECTED]> writes:

> I have a DHCP server at home (isc-dhcpd) and I've been wondering for a
> long time why it is giving the last IP addresses of the specified
> range at first?
> Like I tell him a range from 10.0.0.50 to 10.0.0.100 and it's giving 100
> then 99,98,97 and so on. Why not directly 50 then 51,52,53,... ??
> 
> Should be someone who knows :)

It's an artifact of the way the data structures get initialized at the
daemon startup.  I don't see any problem with it...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ISC dhcpd serve configuration question

2004-01-01 Thread Lowell Gilbert
stan <[EMAIL PROTECTED]> writes:

> Looking at tcpdump it _si_ a bootp packet that it sends, so I'm wondering
> if this line is the problem?
> 
> 
>   deny dynamic bootp clients;
> 
> Any ideas?

How do you know that the packet is BOOTP?  BOOTP and DHCP use the same
protocol type, so tcpdump(1) (for example) won't be able to
distinguish between them.

Did the server respond at all?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ISC dhcpd serve configuration question

2004-01-01 Thread stan
On Thu, Jan 01, 2004 at 08:26:00PM -0500, Lowell Gilbert wrote:
> stan <[EMAIL PROTECTED]> writes:
> 
> > Looking at tcpdump it _si_ a bootp packet that it sends, so I'm wondering
> > if this line is the problem?
> > 
> > 
> > deny dynamic bootp clients;
> > 
> > Any ideas?
> 
> How do you know that the packet is BOOTP?  BOOTP and DHCP use the same
> protocol type, so tcpdump(1) (for example) won't be able to
> distinguish between them.

OK, I just was going by what the tcpdump said.

So, the line should just prevent bootp clients from getting a lease, right?
> 
> Did the server respond at all?

The client nver got a lease, at all. I don't believe I saw a reply in the
tcpdump.

Can I bump up the debuging level on the server?

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


Re: something wrong with"shutdown"

2004-01-01 Thread Jud
On Thu, 01 Jan 2004 18:51:49 -0500, Dany <[EMAIL PROTECTED]> wrote:

Greg 'groggy' Lehey wrote:

On Friday,  2 January 2004 at  4:25:49 +0800, dc wrote:

 Versino 4.9whenever i use the command "shutdown"or "halt"to
shutdown the power,system display"type anykey to reboot"so computer
reboot~
Instead of typing a key on the keyboard when you see that message, if you  
wish to shut down, power off via the power button.  If you want to power  
off without having to use the power button, do as Dany suggests below and  
use 'shutdown -p now.'

Regarding rebooting into Windows rather than FreeBSD, please do as Greg  
asks and provide more information.

Jud

and i have to boot windows(i installed FREEBSD and
WINDOWS2000).
Why?


  Someone told me to configue the kernel.Add "device acpica"to
the kernel and make it ~I did so,nothing changed,porblem is still
there.HELP~!
It's almost impossible to guess what your problem is.  Obviously
shutdown works.  Did you install the boot selector?  Please:
1.  Shut down the machine (with shutdown, not halt).
2.  When you see "Press any key to reboot", turn the power off.
3.  Turn the power on.
4.  Describe *exactly* what happens.

to turn the power off automatically, you should use :  shutdown -p now
instead of the -h which gives you this message.

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


Re: File system full?

2004-01-01 Thread Tillman Hodgson
On Thu, Jan 01, 2004 at 06:23:15PM -0600, Eric F Crist wrote:
> On Thursday 01 January 2004 06:15 pm, Eric F Crist wrote:
> > On Thursday 01 January 2004 06:04 pm, Chris wrote:
> > > If you have source installed, that takes up a bit. If you don't see
> > > yourself doing a makeworld and building kernel - a binary install would
> > > have done nicely.
> >
> > I do have source installed, and I do a bi-weekly source update
> > automatically when my laptop is home.  I like having the sources there. 
> > Any other suggestions on which directories I can squash?
> 
> Never mind.  I seem to have forgotten you can do a make clean from the 
> /usr/ports and you're fine!

Try `make -DNOCLEANDEPENDS clean` instead, it'll run much quicker.

-T


-- 
Page 12: Unix is a set of tools for smart people.
- Harley Hahn, _The Unix Companion_
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 8-bit color in XFree86

2004-01-01 Thread Shantanoo Mahajan
+++ Eric F Crist [freebsd] [01-01-04 12:23 -0600]:
| Hello again all, and Happy New Year!
| 
| I'm trying to configure a system for my buddy who has an nVidia 440 MX video 
| card.  For some reason XFree86 will only do 8-bit color.  Anyone tell me how 
| to get it to do 24-bit color?
| 
| TIA
| -- 
| Eric F Crist
| AdTech Integrated Systems, Inc
| (612) 998-3588

check out /etc/X11/XF86Config

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


My /etc/ttys file has been overwritten

2004-01-01 Thread Trey Sizemore
I edited my /etc/ttys file in Easy Editor and then saved and exited (or 
so I thought) to enable kdm.  When I rebooted, my machine would hang.  I 
went back into /etc/ttys and noticed that the file is now empty!!

What is the best way to replace the file.  I'm not aware of a default 
file anywhere.  Will I have to manually recreate it, and if so, where do 
I get the data?

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


Re: My /etc/ttys file has been overwritten

2004-01-01 Thread T Kellers
/usr/share/examples/etc/ttys

On Thursday 01 January 2004 09:59 pm, Trey Sizemore wrote:
> I edited my /etc/ttys file in Easy Editor and then saved and exited (or
> so I thought) to enable kdm.  When I rebooted, my machine would hang.  I
> went back into /etc/ttys and noticed that the file is now empty!!
>
> What is the best way to replace the file.  I'm not aware of a default
> file anywhere.  Will I have to manually recreate it, and if so, where do
> I get the data?
>
> Thanks.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


CDMA and GPRS support

2004-01-01 Thread Philip Almond
Would you please advise where I can find a hardware compatibility list for
GPRS and CDMA modems (or just a recommended hardware supplier/make/model(s))
for FreeBSD?
 
Thanks

Philip Almond 
Chief Operating Officer 

iPico Australasia 
Mobile 0422 813 896  Intl: +61 422 813 896 
Phone  07 3283 6566  Intl: +61 7 3283 6566 
Fax07 3283 6550  Intl: +61 7 3283 6550 

PO Box 19 
Redcliffe 4020 
Queensland 
AUSTRALIA 

email: HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
"mailto:[EMAIL PROTECTED]" 

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 15/12/03
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My /etc/ttys file has been overwritten

2004-01-01 Thread Trey Sizemore
T Kellers wrote:

/usr/share/examples/etc/ttys

 

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


Dvorak keymap in single user mode

2004-01-01 Thread Robert Downes
I use the US Dvorak keyboard layout, and I find it very difficult to 
type in single user mode (when installing world, for example), because 
single user mode uses the QWERTY keyboard layout, and does not seem to 
pay any attention to kbdmap (I think that's the command name - the one 
with the interactive keymap chooser).

Someone suggested that it's possible to compile the Dvorak layout into 
my kernel, but how is this done, and is there an easier way of changing 
keyboard layout in single user mode?

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


Re: getting rid of cron-sendmail messages

2004-01-01 Thread cb . z . ds
2/01/2004 5:05:21 AM, Lowell Gilbert <[EMAIL PROTECTED]> wrote:
>> After the upgrade I get now 2 messages from sendmail daily when cron runs.
>> What's happened? Also, is there other/better solution?
>
>According to periodic.conf(5), daily_status_security_output is only
>meaningful "if daily_status_security_inline is set to ``NO''"

it is the default, anyway I found the problem and set:

/etc/periodic.conf
--
daily_clean_hoststat_enable="NO"

The "/etc/periodic/daily/150.clean-hoststat" script has been completely changed in 4.9
and now it calls sendmail.

Cheers,
Derek



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


sshd crashing server

2004-01-01 Thread Will Prater
List,

sshd seems to be crashing my server. I am looking for any help 
regarding why this could be happening. I am running sshd version 
OpenSSH_3.6.1. Here is the output from dmesg:

the machine crashed every time when running

#ipfw show
or
#dmesg -a
for example and will crash when part way through the listing. Any 
ideas??


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc023c52a
stack pointer   = 0x10:0xd9ff6bbc
frame pointer   = 0x10:0xd9ff6be4
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 394 (sshd)
interrupt mask  = net tty
trap number = 12
panic: page fault



--will

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


libutil.so.4

2004-01-01 Thread Shawn Dillon
Hi,

I am trying to install SpamAssassin and I get the following error.

/libexec/ld-elf.so.1: Shared object "libutil.so.4" not found

I used to get an error of libexec/ld-elf.so.1 not being found , but I linked
my /usr/libexec to /libexec and seemed to get further.

I have checked the standard sites . Google , FreeBSD Mailing lists and man
paged to no avail.

Any help is greatly appreciated.

Shawn

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


Re: File system full?

2004-01-01 Thread Robert Huff

Chris writes:

>  > Here's my df -h readout:
>  >
>  > $ df -h
>  > FilesystemSize   Used  Avail Capacity  Mounted on
>  > /dev/ad0s3e   3.9G   3.9G -260.5M   107%/usr
>  
>  If you have source installed, that takes up a bit. If you don't
>  see yourself doing a makeworld and building kernel - a binary
>  install would have done nicely.

The source for 5.2-RC runs about 375 Mb.
Try this:

cd /usr
du | sort -nr

and see if any directories are suspiciously large.  (This is
sufficiently useful I have it as a cron job that drops it in my
morning mail.)
Also check for core dumps:

find /usr -name "*.core"


Robert Huff








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


Re: Dvorak keymap in single user mode

2004-01-01 Thread Robert Downes
Robert Downes wrote:

I use the US Dvorak keyboard layout, and I find it very difficult to 
type in single user mode (when installing world, for example), because 
single user mode uses the QWERTY keyboard layout, and does not seem to 
pay any attention to kbdmap (I think that's the command name - the one 
with the interactive keymap chooser).

Someone suggested that it's possible to compile the Dvorak layout into 
my kernel, but how is this done, and is there an easier way of 
changing keyboard layout in single user mode?

Okay, made some progress here.

Finally noticed that kbdmap says, quite clearly,

*BUGS* 

The *kbdmap* and *vidfont* utilities work only on a (virtual) console and not
with X11.
The single user mode is not a virtual console, as virtual consoles are 
not permitted to run during single user mode.

However, the command-line (non-interactive) equivalent is kbdcontrol, 
and it seems to suffer no such limitation.

So, once in single user mode, type

   mount -a

to make sure that /usr is mounted (needed because it contains the 
keymaps), and then type

   df

to check that the filesystems are mounted. (Actually, you may not need 
all of them.)

If /usr is now showing up, type

   kbdcontrol -l us.dvorak

and you will be reunited with the (cough... superior... cough) Dvorak 
keyboard layout.

This can be done with any of the available layout files in

   /usr/share/syscons/keymaps

However, never happy with a simple option, I wonder if there's an easy 
(read lazy) option... is it possible to automate this process, so that 
this command is run by default? (Or is that inadvisable because it 
requires /usr to be available, and /usr should not necessarily be 
available in single user mode everytime?)
--

Bob

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


help for tunnel broker

2004-01-01 Thread gaspo1
hi i'm user of freebsd 4.9,i have read a lot of manual ,i'm search on more
site,mailinglist,But nobody can help me.
i explain my situation:
i have a privat /64 address of ipv6 i want to start a Tunnel broker and
give /127 to all people (for my prov
der fastweb.it),My problem is:
on freebsd i dont find any command to route a /127 to other ip of pc.
i use this command but not work:
on gif0 i have the /64 3ffe:*:*:*::/64
the route is seto on Gif0 to have a working ipv6.
>>>
ifconfig gif1 c
eate
ifconfig gif1 up
gifconfig gif1 myIP ExternalIP
route add -inet6 3ffe:*:*:*::/64 -interface gif1
sysctl -w net.inet6.ip6.forwarding=1
>>><<<
U know other command to do this?
by from fabio.




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


Re: File system full?

2004-01-01 Thread Scott W
Gautam Gopalakrishnan wrote:

On Thu, Jan 01, 2004 at 06:00:23PM -0600, Eric F Crist wrote:
 

How big is necessary for a /usr partition?  Mine keeps filling up and I've 
deleted /usr/obj and /usr/ports/distfiles regularly.

Here's my df -h readout:

$ df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s3a  1008M92M   835M10%/
/dev/ad0s2   1020M19M  1001M 2%/dos
/dev/ad0s3g   4.8G69M   4.3G 2%/home
/dev/ad0s3e   3.9G   3.9G -260.5M   107%/usr
/dev/ad0s3f  1008M27M   900M 3%/var
/dev/ad0s1 24G22G   2.9G88%/nt
procfs4.0K   4.0K 0B   100%/proc
/dev/da0s1 61M61M   632K99%/umass
   

I don't think you need such big / and /var partitions...
And you could merge /home and /usr and make home dirs on /usr/home
Gautam

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

Advice- leave /var and / the size they are, they're fine if the box 
stays up as a server and runs any public services- apache logs and even 
messages log files can fill up /var relatively quickly, and if you add a 
database or any other service that can potentially log verbosely if it 
encounters any problems (or if you enable debug logging), /var can grow 
quickly.

If you routinely delete rotated log files, and grow /usr to be 'big 
enough' (meaning don't merge it into / ), you can probably get away with 
half of what you're using for / and /var, but I wouldn't go smaller.

You can migrate /home if need be as suggested into /usr/home and update 
your home dirs in /etc/passwd, or you can also move the entire ports 
tree into your /home partition via symlink, which may sound funny but it 
a bit more 'traditional' on other *nixes- keeping generally static 
programs only in the /usr partition, and normally growing/changing 
contents in seperate disks (/var, /home).  The ports collection and size 
is changing by nature, and sometimes significantly (building X, KDE, 
OpenOffice, Mozilla and others from source).

You can do the following if you'd like:
mkdir /home/ports
cd /usr/ports
tar cpf - . | (cd /home/ports ; tar xvf - )
to copy the ports tree over to it's new 'home' (bad pun), then:

diff -R /usr/ports /home/ports
for your sanity, but unnescessary unless someone is doing a cvsup or 
build while you're copying files..

Then go ahead and blow away the original ports tree:
rm -fr /usr/ports
and symlink to it's new home

ln -s /home/ports /usr/ports

My ports tree is currently taking up ~715M: (Ignore the df output, 
home/mail/ports are currently on a single RAID volume via NFS), with the 
/usr filesystem at 2.8G with a fair number of packages installed, but no 
KDE, GNOME, etc, so it can grow by a fair amount yet...

[0] # du -hs /usr/ports
717M/usr/ports
[EMAIL PROTECTED] /var/log/
[0] # df -h
Filesystem Size   Used  Avail Capacity  Mounted on
/dev/ipsd0s1a  1.4G   157M   1.1G12%/
devfs  1.0K   1.0K 0B   100%/dev
/dev/ipsd0s1e  965M22K   888M 0%/tmp
/dev/ipsd0s2d  4.0G   2.8G   900M76%/usr
/dev/ipsd0s1d  965M31M   857M 4%/var
procfs 4.0K   4.0K 0B   100%/proc
sol:/export/home   182G63G   117G35%/usr/home
sol:/export/mail   182G63G   117G35%/var/spool/mail
sol:/export/ports  182G63G   117G35%/usr/ports
Scott

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


Can't shutdown, logout, or restart cleanly

2004-01-01 Thread Trey Sizemore
I am running 5.2-CURRENT on my PII-400 desktop.  I have done 3 installs 
of FreeBSD each time cvsupping to 5.2 current (using ISOs for 5.1 and 
5.2) to do the initial install.

EVERY time I get the following problem.  When I try to logout, reboot, 
or shutdown the machine from X, the machine locks up (no mouse or 
keyboard response) and I have to do a cold reboot.  I am presented with 
the black text screen seen during bootup right before it launches X 
(sorry, don't know what to call it) with my

login:

prompt (again, no response from keyboard or mouse input...it's like X 
shuts down entirely and then the machine locks trying to go to the next 
step).  This happens whether I use xdm, kdm, or gdm.  I have seen other 
posts with some similar symptoms refer to ACPI and disabling this (I 
can't find the entry in my BIOS to turn this off).  It's an old Asus P2B 
motherboard.  I'm not even sure it's the problem, but I'm willing to 
look at anything!

I really want to use FreeBSD, but having to do constant cold restarts 
when I shutdown or try to switch users is going to get old fast (not to 
mention the eventual damage to my files...even though I've got soft 
updates enabled;) )

I will provide any additional input I can, I realize it's not much to go 
on now, but hopefully those more knowledgeable than me can guide me to 
some things to look at to figure out why this is happening.

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


Re: File system full?

2004-01-01 Thread Brian Astill
On Fri, 2 Jan 2004 10:30 am, Eric F Crist wrote:
> How big is necessary for a /usr partition?  Mine keeps filling up and
> I've deleted /usr/obj and /usr/ports/distfiles regularly.
>
> Here's my df -h readout:
>
> $ df -h
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad0s3a  1008M92M   835M10%/
> /dev/ad0s2   1020M19M  1001M 2%/dos
> /dev/ad0s3g   4.8G69M   4.3G 2%/home
> /dev/ad0s3e   3.9G   3.9G -260.5M   107%/usr
> /dev/ad0s3f  1008M27M   900M 3%/var
> /dev/ad0s1 24G22G   2.9G88%/nt
> procfs4.0K   4.0K 0B   100%/proc
> /dev/da0s1 61M61M   632K99%/umass
> $

My /home is a link to /usr/home.  Isn't yours?
If it IS (notwithstanding your creation of a /home partition), that 
would explain why you have only 69M in /home but 3.9G in /usr.

The two partitions appear to be adjacent.  If they are, Partition Magic 
(or similar) could merge those two partitions non-destructively, and 
your problem would be solved.

BTW, on my system, I have separate partitions for /usr/local and /usr.  
That seems to even the disk space usage quite well.

/dev/ad2s1a   394M   249M   113M69%/
/dev/ad2s1f   6.9G   2.7G   3.6G43%/usr
/dev/ad2s1e   246M   191M35M84%/var
/dev/ad2s1g   6.9G   4.8G   1.5G76%/usr/local

HTH


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


Re: Dvorak keymap in single user mode

2004-01-01 Thread Robert Downes
Reply to myself again, just to make sure this thread can be of use to 
anyone searching archives at any point in the future.

Stéphane Witzmann suggested that the kernel configuration be altered to 
specify a default keyboard.

So, after checking NOTES and the name of the keyboard map I want 
(us.dvorak), I changed my custom kernel configuration file (BOBKERN) so 
that it now contains a section exactly like this:

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
options ATKBD_DFLT_KEYMAP
makeoptions ATKBD_DFLT_KEYMAP=us.dvorak # use Dvorak key layout
Once this was built and installed (see the handbook for advice on custom 
kernel building), I booted into single user mode and, hallelujah, it is 
now in Dvorak layout by default.

Thanks to Stéphane.

DISCLAIMER: Bob is not liable for any minor, major, or irreparable 
damage his advice may cause. Furthermore by having read the above 
message, you have already agreed to indemnify Bob against all legal, 
civil, military, and psychologically hurtful action, whether or not 
initiated by you. Should any part of this agreement contradict itself, 
you will close your eyes and ignore the section that is of less 
profitability to Bob. Should any of this agreement be deemed illegal, 
you agree to raise up an army and defeat any and all that stand in the 
way of a change in the law that will install or reinstate the validity 
of this agreement.

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


Re: My /etc/ttys file has been overwritten

2004-01-01 Thread Malcolm Kay
On Fri, 2 Jan 2004 13:29, Trey Sizemore wrote:
> I edited my /etc/ttys file in Easy Editor and then saved and exited (or
> so I thought) to enable kdm.  When I rebooted, my machine would hang.  I
> went back into /etc/ttys and noticed that the file is now empty!!
>
> What is the best way to replace the file.  I'm not aware of a default
> file anywhere.  Will I have to manually recreate it, and if so, where do
> I get the data?
>

# find /usr/src -name ttys
yields:
   /usr/src/etc/etc.alpha/ttys
and
   /usr/src/etc/etc.i386/ttys

I imagine the latter is what you want ;-)

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


Re: What do you use?

2004-01-01 Thread Scott W
Scott Mitchell wrote:

On Thu, Jan 01, 2004 at 05:59:18PM -0500, Scott W wrote:
 

Scott Mitchell wrote:
   

There no particular reason for an ATA RAID to be slower than SCSI, assuming
similar disks in each.  10krpm 'server class' ATA disks are available these
days, although I don't know that anyone has done a 15krpm one yet.
 

Does SATA have tagged queing?   (I don't know offhand if it does...?)
   

No idea.  I haven't used any SATA stuff yet.  Would be surprised if it
didn't though.
It doesn't look like it does, although it's supposedly on the way with 
SATA-II, but see below...

 

I can guarantee modern SCSI throughput is superior to any of the SATA 
drives I've seen to date.  Several of the 'hardware sites' (I think 
Tomshardware did a writeup on this or anadtech among others) agree with 
this statement as well.  ATA specs tend to exaggerate their capabilities 
even worse than SCSI specs do- burst speeds are all fine and dandy, but 
not realistic at all in the real world.  Meaning basically in short I 
wouldn't choose SATA over SCSI for a production server of any kind where 
speed was an issue.  ATA has gotten better by far than it was 
speed-wise, and I'd be OK with it on a personal workstation for any 
purpose, but it's still playing catchup.
   

Well, I won't disagree with any of that - ATA drives have been aimed at the
consumer market, which wants big & cheap in preference to performance &
reliability.  On the other hand, you've got drives like the WD 'Raptor'
that seem to be mechanically what you expect in a server-class SCSI drive,
but with a SATA interface, so the gap isn't that big anymore.  I stand by
my statement above though - there's no reason an ATA RAID implementation
_has_ to be slower than SCSI, provided that the disks are up to it.  In
practice though, suitable disks are only just now starting to appear.
I did some digging on this, mainly because I remember reading a specific 
article.  The WD Raptor really IS pretty impressive, I've got to admit.  
Some benchmarks for single disks compared to an Atlas IV 10K RPM SCSI 
disk at Tom's Hardware:
http://www20.tomshardware.com/storage/20030501/wd360-01.html

So, it looks like things may actually become 'more interesting' over the 
next year or two basically.  I used to like WD drives quite a bit, but 
have also had a fair number of them die within a few years (as well as 
other IDE/ATA desktop drives), be interesting to see if they can offer 
the warrantees and constant uptime of SCSI drives over time...(some of 
the SATA drives only have 1yr warrantees, where 5yrs is pretty standard 
for SCSI..)

Pricing for the Raptor 36GB versus U320 SCSI 36GB drives is pretty 
comparable (raptors ~$130, Seagate SCA 10K U320 SCSI for ~$135 via 
pricewatch), but the larger SATA drives are still only 7200RPM, where 
you can get 15K RPM SCSI drives.

From what I can tell, one of the current problems aside from spindle 
speeds for SATA is that they are exactly that- serial connections that 
can't be chained, so effectively need one channel per disk.  For home 
workstations, that's fine with two channels, and better yet with a cheap 
controller that will do hardware disk striping, but doesn't do much 
compared to SCSI and fiber channel RAID enclosures holding 10-14 drives 
each.  I've seen 4 channel SATA controllers, which can just barely do 
RAID-5 reasonably (2 data, 1 parity, 1 hot spare, effective, not 
physical), and it does look like 8 channel controllers are available, 
possibly a bit less than their SCSI RAID counterparts.  I was pretty 
impressed- check out the CPU utilization during the benchmarks...ignore 
the other ATA and SATA drives, but look at SCSI and the WD Raptor- ~2% 
CPU utilization while pushing a _lot_ of data (opposed to 20%+ for other 
ATA drives..)

Anyways, it will really be interesting to see if the SATA drives can 
last long-term and then compare 'em against 15-20K RPM SCSI RAID or if 
Serial SCSI is in a year or so- one of the interesting points is that 
SCSI using a shared bus, has an effective max of 320MB/second for each 
bus, which in turn can be up to 15 drives on each, where SATA, being 
serial, has it's limit per channel, but containing a single drive.  If 
the SATA drives can be made in reasonable capacities at 15K (or the next 
generation speeds) with a controller capable of handling 15 disks (or 
more), that could potentially become a real threat to SCSI.

 

Write performance is awful locally, or over NFS?  NFS isn't exactly a 
speed demon.
   

Locally - with RAID-5 you have the extra overhead of calculating the parity
for the block you just wrote, then writing that out to an other drive.
According to the Vinum docs, write performance is ~25% of read, although
how much of that is Vinum and how much is just the nature of RAID-5 I'm not
sure.
Yep- part of the problem with software RAID.  On a non-heavily loaded 
server it's not an issue, as you might as well use the CPU cycles, but 
on a loaded database server,

Re: File system full?

2004-01-01 Thread Malcolm Kay
On Fri, 2 Jan 2004 15:44, Brian Astill wrote:
> On Fri, 2 Jan 2004 10:30 am, Eric F Crist wrote:
> > How big is necessary for a /usr partition?  Mine keeps filling up and
> > I've deleted /usr/obj and /usr/ports/distfiles regularly.
> >
> > Here's my df -h readout:
> >
> > $ df -h
> > FilesystemSize   Used  Avail Capacity  Mounted on
> > /dev/ad0s3a  1008M92M   835M10%/
> > /dev/ad0s2   1020M19M  1001M 2%/dos
> > /dev/ad0s3g   4.8G69M   4.3G 2%/home
> > /dev/ad0s3e   3.9G   3.9G -260.5M   107%/usr
> > /dev/ad0s3f  1008M27M   900M 3%/var
> > /dev/ad0s1 24G22G   2.9G88%/nt
> > procfs4.0K   4.0K 0B   100%/proc
> > /dev/da0s1 61M61M   632K99%/umass
> > $
>
> My /home is a link to /usr/home.  Isn't yours?
> If it IS (notwithstanding your creation of a /home partition), that
> would explain why you have only 69M in /home but 3.9G in /usr.

One of the suggested setups is to provide home with its own partition.
And even though you don't use it it is not so uncommon.

>
> The two partitions appear to be adjacent.  If they are, Partition Magic
> (or similar) could merge those two partitions non-destructively, and
> your problem would be solved.

This sounds like a disaster --- partition magic works with MS
partitions or in FBSD terms slices -- to the best I my knowledge it does
not know about BSD style partitions.

I'd also be very surprised if it is able to merge BSD file systems 
non-destructively.

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


Re: File system full?

2004-01-01 Thread Scott W
Malcolm Kay wrote:

On Fri, 2 Jan 2004 15:44, Brian Astill wrote:
 

On Fri, 2 Jan 2004 10:30 am, Eric F Crist wrote:
   

How big is necessary for a /usr partition?  Mine keeps filling up and
I've deleted /usr/obj and /usr/ports/distfiles regularly.
Here's my df -h readout:

$ df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s3a  1008M92M   835M10%/
/dev/ad0s2   1020M19M  1001M 2%/dos
/dev/ad0s3g   4.8G69M   4.3G 2%/home
/dev/ad0s3e   3.9G   3.9G -260.5M   107%/usr
/dev/ad0s3f  1008M27M   900M 3%/var
/dev/ad0s1 24G22G   2.9G88%/nt
procfs4.0K   4.0K 0B   100%/proc
/dev/da0s1 61M61M   632K99%/umass
$
 

My /home is a link to /usr/home.  Isn't yours?
If it IS (notwithstanding your creation of a /home partition), that
would explain why you have only 69M in /home but 3.9G in /usr.
   

One of the suggested setups is to provide home with its own partition.
And even though you don't use it it is not so uncommon.
 

The two partitions appear to be adjacent.  If they are, Partition Magic
(or similar) could merge those two partitions non-destructively, and
your problem would be solved.
   

This sounds like a disaster --- partition magic works with MS
partitions or in FBSD terms slices -- to the best I my knowledge it does
not know about BSD style partitions.
I'd also be very surprised if it is able to merge BSD file systems 
non-destructively.

I'm almost positive it doesn't.  Partition Magic also needs to 
understand the underlying filesystem, not just the partition table, as 
almost any operation aside from expanding a single partition on a disk 
with only one partition plus unused space would result in actually 
moving data around..   PM 8.0 (should be the latest I believe) can't 
touch Linux ReiserFS, so I'd be highly surprised if it understood UFS2.

Scott

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



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