Re: which 8-port 10/100 hub is best?

2004-03-18 Thread Craig Reyenga
I use the Linksys EZXS88W and have had _no_ problems at all. It's nice and
small, too. I can't speak for the model that you mentioned below, though if
the specs are similar, I am sure it will serve well.

-Craig


- Original Message -
From: Gary Kline [EMAIL PROTECTED]
To: FreeBSD Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 10:45 PM
Subject: which 8-port 10/100 hub is best?



 People,

 I'm upgrading my hub from a 5-port hub and thought I would check
 with this list to see if the Linksys EFAH08W is still a good
 deal.  If there is somethng other that would work equally well
 on my FreeBSD netwrk, please le me know.  (I've had good luck
 with Linksys, but have read some negative comments.)

 thanks much,

 gary

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

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


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


Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Craig Reyenga
Is NFS an option? It does mean that the client will have slower file access,
but it would appear to do exactly what you are after...

Hope this at least partially helps.

-Craig


- Original Message -
From: Steven N. Fettig [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 14, 2004 2:46 PM
Subject: Two-way Sync of Directories - how? (rsync?)
 I have two workstations I use (one at home and one at work) connected
 via a private DSL link that each have the directories /home/me.  I want
 to run a cron job to sync the directories (bi-directionally).  Rsync
 seems to work only in one direction (I know I could set up the script on
 both machines), but I wanted to see if I could run the script on one
 machine and simply copy new files over to the lacking machine or update
 files via checksums (where a file has been updated on one machine and I
 want that updated file to be copied over the old file on the other
 machine).  I am not worried about the case where I might update a given
 file on both machines at the same time - it doesn't happen.
 Any advice and scripts that you use to accomplish this?

 Thanks,
 Steve Fettig
 ___
 [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: Well-supported gigabit cards under 4-stable?

2004-03-14 Thread Craig Reyenga
I have two Intel Pro1000MT's, and they work flawless. I can say with a
straight face that I have never had a problem with them. They have only been
used with one another over a crossover cable, so I can't speak for how well
they play with switches or other brands. I beleive NCI (ncix.com) has them
on sale for about the price you mentioned. I actually got one of them off of
ebay for $43 after shipping. I use an MTU setting of 9014, and it helps
performance sustantially. This testimonial actually applies to both -stable
and -current.

Hope this helps.

-Craig


- Original Message -
From: Tillman Hodgson [EMAIL PROTECTED]
To: FreeBSD-Questions [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 1:46 AM
Subject: Well-supported gigabit cards under 4-stable?


 Howdy,

 I found a few threads on this topic in google, but they were from a
 while ago (-stable and hardware are both moving targets, after all).

 I'm interesting in seeing what low-cost gigabit cards are supported
 under -stable and which cards might be recommended. I'm looking
 specifically at the Linksys EG1032, D-Link DGE-530T, Intel Pro1000MT,
 and the Micronet SP2612R. All are relatively cheap (Can$64 and lower),
 are easily obtained in Canada via the popular online merchants, and
 would be within reach a typical (though geeky) home network.

 Most of my computers will remain 100Mbit, but I'd like to move my main
 file server to 1000Mbit. All the other machines do full dumps to it
 every night (which eventually end up on tape), so it spends a fairly
 large portion of every day with it's interface completely saturated
 (and it's worse on weekly dump days).

 I'm primarily concerned with driver stability. For example, I noticed
 some messages in the archives about the nge driver causing problems ...
 that was some time ago, but I'd like to avoid that on a server which
 handles my backups ;-) I'm also interested in nice vlan and jumbo frame
 support, though I can get by without them.

 So what's recommended by folks running gigabit gear these days?

 -T


 --
 Page xxviii: Live with Unix long enough and you will change. You will
 become more creative, and you will come to understand the spirit of
 creation in others.
 - 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]


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


Changing the root device - properly

2004-03-09 Thread Craig Reyenga
Hi,

The other day, I replaced my server's motherboard with a new one. The old
board had an onboard ATA33 controller that could not read disks 32GB, even
with the bios upgrade, so I bought an ATA133 pci card. The computer has two
disks, a 40GB 5400rpm ata100, and a 120GB 7200rpm ata133. The way I had it
setup was the 40G was the pri master on the controller (ad4), and the 120
was the secondary master (ad6). The root partition is 's1a' on the 40G
drive.

When I put in the new board, I decided to re-arrange things a bit. It has an
ata100 controller on it, so I put the 40G as the pri master on that, and
made the 120G the pri master on the pci card. This obviously changes
ad4-ad0, and ad6-ad4, respectively. I had forgotten to change /etc/fstab
before doing all this, so the kernel couldnt mount the root device, and
complained accordingly. I tried to enter ufs:/dev/ad0s1a a few times, with
no luck. I forget the exact error code, but I'm reasonably confident it was
22. What I ended up doing was putting the drives in the old configuration,
booting up, changing fstab, and then putting it back to the new layout. This
did end up working, but my question now is: What's the _proper_ way of
changing the root device after making hardware changes? Or, should fstab
_always_ be changed prior? I actually didn't forget, I just hadn't thought
of re-arranging the drives until the screwdriver was in my hand...

Thanks,

-Craig

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


Re: Recycled cd's

2004-03-09 Thread Craig Reyenga
Spencer,

I doubt that there is a formal way of getting old cd's, besides going to a
local computer store, or somesuch.

-Craig


- Original Message -
From: Spencer Chirume [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 4:49 PM
Subject: Recycled cd's


 Hi

 Who do I get in touch with if to get a copy of a old BSD CD?

 --
 Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

 rockmail.exodus.ro - 30MB free email POP3 Access!
 ___
 [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: Disable core dumps

2004-03-07 Thread Craig Reyenga
I think you are looking for the 'kern.coredump' sysctl. Put a line like this
in /etc/sysctl.conf:

kern.coredump=0

Hope this helps.

-Craig


- Original Message -
From: Tobias Eichert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 07, 2004 1:39 PM
Subject: Disable core dumps


 Hello,
 I'd like to know whether there's a possibility to disable core dumps in a
 'global' manner.
 I've already modified my bash config by adding a ulimit -c 0 in order to
 prevent core dumps from being written to the disk.
 The problem still persists when starting an application via the KDE menu,
in
 my case the qt assistant. The core file will be in my home directory.

 There's a way to disable crash dumps by adding the line dumpdev=NO
 to /etc/rc.conf. Is there something analogue for nomal core dumps?

 Thanks and best regards,
 Tobias
 ___
 [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: RealTek 8139 PC Card

2004-02-13 Thread Craig Reyenga
pciconf -lv will show you very beautiful output of pci devices.

-Craig

- Original Message - 
From: Loren M. Lang [EMAIL PROTECTED]
To: FreeBSD Mailing list [EMAIL PROTECTED]
Sent: Friday, February 13, 2004 4:20 AM
Subject: RealTek 8139 PC Card

[snipped, OE sucks]

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


Re: startup daemon as unpriviliged user

2004-02-13 Thread Craig Reyenga
man 5 crontab -- check out @reboot

Or, for something crazy, man gettytab; you can autologin on a tty and then
use a shell script to do all kinds of fun things. I used to run X without
xdm that way.

Hope this helps.

-Craig


- Original Message -
From: Louis LeBlanc [EMAIL PROTECTED]
To: FreeBSD Questions [EMAIL PROTECTED]
Sent: Friday, February 13, 2004 7:47 PM
Subject: startup daemon as unpriviliged user


 Hey everyone.  Here's a general question for you.

 I have a FreeBSD 4.8 system that runs fetchmail for me as an
 unprivileged everyday userid.  The problem is that the machine isn't
 on the most reliable powergrid one could hope for.

 So when the system comes back up after going down, I ALWAYS forget
 that I have to get fetchmail restarted.  If I forget for too long,
 there's so much mail it blows the server that receives the mail into
 oblivion (also FreeBSD 4.8, running Sendmail, Cyrus Imapd, and the
 main culprit, Spamassassin - spamd).  This is so bad that I often have
 to reboot the receiving system.

 So, how can I get a process to run automatically on startup for an
 unprivileged user?

 Thanks.
 Lou
 --
 Louis LeBlanc   [EMAIL PROTECTED]
 Fully Funded Hobbyist, KeySlapper Extrordinaire :)
 http://www.keyslapper.org ԿԬ

 The clearest way into the Universe is through a forest wilderness.
 -- John Muir
 ___
 [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: I'm really upset with my new computer

2004-02-09 Thread Craig Reyenga
I've heard that Sony and Dell don't support UNIX permissions on their
proprietary hard drives. Stick with WinXP for now until a patch is committed
into the source tree.

-Craig


- Original Message -
From: Rob2 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 09, 2004 12:41 PM
Subject: I'm really upset with my new computer


 I can't even log in without permission errors, yet all the files in my
 home directory are rob.rob permissions.  I end up at the root directory
 where all homeless users end up

 Nvidia video doesn't work.  I downloaded the latest binary from Nvidia
 and I don't know where it went on my computer.

 I'm just having a bad day.  BTW Win XP is working flawlessly, just to
 rub it in.  This is Dell 8600 laptop.  I just needed to rant and
 complain.  It will get figured out in time.  I remember when I bought my
   Sony laptop I had a whole crop of similar problems.

 Rob

 ___
 [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: playing CDs as non-root user

2003-01-26 Thread Craig Reyenga
 I've got my FreeBSD system setup with KDE and sound. I have 2 questions:

 1. I got sound to work simply by doing kldload snd but then I did
 kldstat and saw that all available sound modules had been loaded. I
 thought that was unnecessary - is there any way (besides inserting
 each module one at a time) that I can determine which exact module is
 providing the driver for my sound card?


Try typing 'dmesg | grep pcm0' and see what shows up. You should then be
able to narrow it down. Do note that some are common between (almost?) all
cards, such as snd_pcm.ko.

 2. I can play a music CD just fine as root, using cdcontrol, as described
 in the handbook. But under KDE, running as a non-root user, I cannot
 play music CDs. I looked at the permissions on /dev/acd0c, and they are
 0640, root.operator, so an ordinary user cannot read the CD. I changed
 the permissions to 0644, and I could play the CD. However, there must
 be a good reason for the permisisons to be 0640, and I don't want to
 mess up the permissions just to get the CD player to work. What is the
 official way to get this to work? The handbook didn't mention it.


That's probably the best way to do it, believe it or not. To have it work on
bootup in 5.X, try editing /etc/rc.devfs (I think), or in 4.X try editing
/etc/rc.local to say chmod 644 /dev/acd0c (I think). It may not require
anything after doing it once in 4.X.

-Craig

P.S. Sorry if this is out to lunch.

 --
 Anand Buddhdev
 http://anand.org

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Filesystem tuning for lots of small files (a Maildir)?

2003-01-24 Thread Craig Reyenga

- Original Message -
From: Darren Pilgrim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 07:13
Subject: Filesystem tuning for lots of small files (a Maildir)?
 I'm currently facing a problem of having used Netscape (now Mozilla) for
 years in Windows and now trying to find something I can regularly use in
 FreeBSD without losing Mozilla in Windows.

 I've mostly settled on IMAP (courier) with procmail filters, but that
 raises the issue of filesystem performance for directories with large
 numbers of files/subdirectories in them.  I have more than 32,000 emails
 stored.  How do I calculate/see the number of available inodes?
 ^

df -i /filesystem-in-question

 The
 existing filesystem was newfs'd with the sysinstall defaults.  Should I
 re-newfs it with different values?  What would I want to set them at?  I
   know I'd need to adjust things to make sure I have enough inodes for
 40,000+ files, but what about the block and fragment size?  Should I use
 smaller values like 8192/1024 or 4096/512 or is the default 16384/2048
 best?  Higher values would just increase slack space, right?  What are
 the impacts of lower values?


The number of inodes varies with the filesystem size and bytes per inode.
So if you're talking about a huge filesystem, you're probably all set as it
is.
However, I needed a /usr that has many inodes, so I doubled the default by
doing this:

newfs -b 16384 -f 2048 -i 4096 /usr

-i 4096 is half as many bytes per inode compared to the default 8192,
therefore,
I have 2X as many inodes. See newfs(8) for more info. tuning(7) also.

 Some folders, like the one for the postfix-users list, can have
 3000-4000 messages in them.  For growth, we'll say 5000 messages.  The
 IMAP layout with Courier means all the folders sit all on one level
 under ~/Maildir, which means I'd have 200 or so subdirectories in one
 place.  I have the UFS_DIRHASH option enabled for the my MP3 collection,
 but that's as case of 300 subdirecories in one directory, not 5000
 files.  What else can I do to tune for this kind of (ab)use?


Not sure.

I hope at least part of this message was somewhat-kinda-sorta-maybe helpful.

[Snipping mail questions; I have no idea.]

-Craig



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message