Re: no internal access to webpage

2002-12-13 Thread Jonathan Chen
On Fri, Dec 13, 2002 at 02:04:02AM -0500, David Loszewski wrote:
 I'm having a problem where I can't access my webpage internally but can 
 access it externally.  I'm running all FreeBSD 4.6.2 and 4.7 machines 
 and have no internal namerserver of anytype.  do I need to create an 
 internal nameserver for myself to type in my domain name and come up 
 with my webpage?  I have a gateway and the gateway forwards any requests 
 for port 80 to the webserver.

Unfortunately that doesn't work (as other posters may have already
told you).

I used to get around that problem by having 2 DNS servers running on
separate machines, one for external queries, and another one for
internal queries. Nowadays, I used BIND9's multiple views to handle
external/internal queries with one DNS server.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Beer. Now there's a temporary solution.
   - Homer Simpson

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



Re: are virtual mail account users possible with freebsd?

2002-12-13 Thread Keith Spencer
Hi Daniel,
First off thanks so much for your time...I appreciate
it. The Open source world never ceases to amaze me ;^)

I checked out the
http://matt.simerson.net/computing/mail/toaster/ tute
and I'd say 95% I could handle myself OK but there are
a couple of unsaid hings or perhaps errors. I wont
dare try it before I am sure I have the instructions
right.
Could I ask you a few questions?
1) Install QMAIL:
 I presume  -h mail.example.com should be My
server ?
2) VPopmail (Virtual Domain  POP)
bla bla bla...
--enable-mysql-logging= ...bla bla
..=example.com Again I presume I sub in my domain?
 vi vmysql.h  What do I do in VI here ??
3)Courier-IMAP
bla bla
 vi quotawarningmsg  I presume I edit it to
suit?
4) Adding Mail Domains
bla bla
   IDENTIFIED BY 'secret';   What goes here? a
password?
bla bla
   ~vpopmail/bin/vadddomain example.com [password] 
again..my domain and  perhaps the password I typed
instead of the 'secret' thing?
5) OK now you're ready to... bla bla
   Log in with postmaster, example.com and the test
password ...You can guess my questions here I reckon!
6) Convert Multilog date stamps to human readable date
stamps...
# tai64nlocal logfile qmaillog.tmp ...Do I sub
in something for the logfile thing?

I know I seem a bit dopey... but it would really help
so I dont screw up my machine.
Thanks in adavnce if you can help
Keith


 

 Keith Spencer wrote:
  Hi all,
  I am wondering how I can add mail acocunts
without
  actually creating full-blown user accounts for my
 lan
  users.
  I have sendmail on fbsd 4.7 (new build machine
and
 I
  dont want to create shell accnts for all my users
 on
  this new machine)
  Whatever help you might give me perhaps I can use
  webmin to add the new users... I have 600 users
to
  add.
  Whoa...thats a lot of work..HELP???!!
  Thanks so much in adavnce
  Keith

 You may want to look into using qmail.  I've been
 using for a couple 
 years and find it far easier to work with than
 sendmail and postfix 
 (though postfix wasn't all that bad)
 check out this:
 http://matt.simerson.net/computing/mail/toaster/
 
 this will do everything you want.  Follow the
 instructions and you'll be 
 up and running in no time.


http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!

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



Re: Audio CD:s frequently unreadable

2002-12-13 Thread George Jeliazkov
On Thu, 12 Dec 2002 22:11:04 +0100
Janine C.Buorditez [EMAIL PROTECTED] wrote:

 Hi.
 
 There are a lot of CD players that can't read my audio CD,
 made with this command:
 
 cdrecord -v dev=0,3,0 speed=4 -audio -pad *wav
 
 Is this because of the way I burn it or the thing I burn it on?
 
 --janine
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

i'm not quite sure if this should work but you may want to try:

  cdrecord -v dev=0,3,0 speed=4 -dao -audio -pad *wav

to write the CD in Disk-at-Once mode.

george

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



LinkSys-EtherFast 10/100 PC Card questions

2002-12-13 Thread George Jeliazkov
Hi all,

I've got a brand new LinkSys-EtherFast 10/100 PC Card (PCMPC100 V3)
for my laptop.I'm running FreeBSD-4.7 RELEASE.The card is recognized
correctly and configured with no trouble.
The problem is that the card works only at 10Mbit/s.
I've read the man page for ed(4), but didn't find a solution.

Here's the output from ifconfig:

# ifconfig ed1 
ed1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.3 netmask 0xff00 broadcast 192.168.1.255
ether 00:04:5a:99:be:d7

# ifconfig ed1 192.168.1.3 media 100baseTX  ...(or media autoselect) 
ifconfig: SIOCGIFMEDIA: Invalid argument

does this mean that the ed driver doesn't support 100baseTX on this card?

So I've tried another thing:
Booted MicroBSD from CD for a test:

here's what shows at boot:

ne3 at pcmcia1 function 0 Linksys, EtherFast 10/100 PC Card (PCMPC100 V3), V2.0 port 
0xa000/32: LAN iobase 0x240 (0xa000) - 0x0
ne3: address 00:04:5a:99:be:d7
bmtphy0 at ne3 phy 1: BCM5221 100baseTX PHY, rev. 4

# ifconfig ne3
ne3: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
address: 00:04:5a:99:be:d7
media: Ethernet 100baseTX full-duplex
status: active
inet 192.168.1.3 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::204:5aff:fe99:bed7%ne3 prefixlen 64 scopeid 0x14

here it shows as 100baseTX full-duplex...but it works at 10Mbit/s again.

maybe this card works only at 10Mbit/s ?

thanx

george

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



Re: How do I patch my change into a source file in ports?

2002-12-13 Thread Stijn Hoop
On Thu, Dec 12, 2002 at 09:17:00PM -0800, BSD baby wrote:
 I made a change to this file:
 /usr/ports/sysutils/cdrtools/work/cdrtools-1.11/cdda2wav/cdda2wav.c
 and I want my change to the source file to stick when building the port.
 
 Seems if I do a make clean install it kills my change to the source file.
 
 Do I need to add my diff change to a patch file somehow?
 
 Any tutorial on how to do this?

1. Do a make extract in the port directory.
2. cd /usr/ports/sysutils/cdrtools/work/cdrtools-1.11/cdda2wav
2. cp -p cdda2wav.c cdda2wav.c.orig
3. Apply your changes
4. cd /usr/ports/sysutils/cdrtools/work/cdrtools-1.11
5. diff -urN cdda2wav/cdda2wav.c.orig cdda2wav/cdda2wav.c  
/usr/ports/sysutils/cdrtools/files/patch-cdda2wav:cdda2wav.c

Now your patch will be in the ports tree and be applied when making the
port. I recommend keeping a copy around somewhere else though because cvsup
might delete it if you told it to delete files not in the master ports tree.

HTH,

--Stijn

-- 
The right half of the brain controls the left half of the body.  This means
that only left handed people are in their right mind.



msg11941/pgp0.pgp
Description: PGP signature


LinkSys-EtherFast 10/100 PC Card questions

2002-12-13 Thread George Jeliazkov
Hi all,

I've got a brand new LinkSys-EtherFast 10/100 PC Card (PCMPC100 V3)
for my laptop.I'm running FreeBSD-4.7 RELEASE.The card is recognized
correctly and configured with no trouble.
The problem is that the card works only at 10Mbit/s.
I've read the man page for ed(4), but didn't find a solution.

Here's the output from ifconfig:

# ifconfig ed1 
ed1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.3 netmask 0xff00 broadcast 192.168.1.255
ether 00:04:5a:99:be:d7

# ifconfig ed1 192.168.1.3 media 100baseTX  ...(or media autoselect) 
ifconfig: SIOCGIFMEDIA: Invalid argument

does this mean that the ed driver doesn't support 100baseTX on this card?

So I've tried another thing:
Booted MicroBSD from CD for a test:

here's what shows at boot:

ne3 at pcmcia1 function 0 Linksys, EtherFast 10/100 PC Card (PCMPC100 V3), V2.0 port 
0xa000/32: LAN iobase 0x240 (0xa000) - 0x0
ne3: address 00:04:5a:99:be:d7
bmtphy0 at ne3 phy 1: BCM5221 100baseTX PHY, rev. 4

# ifconfig ne3
ne3: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
address: 00:04:5a:99:be:d7
media: Ethernet 100baseTX full-duplex
status: active
inet 192.168.1.3 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::204:5aff:fe99:bed7%ne3 prefixlen 64 scopeid 0x14

here it shows as 100baseTX full-duplex...but it works at 10Mbit/s again.

maybe this card works only at 10Mbit/s ?

thanx

george

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



Re: cvsup

2002-12-13 Thread Kent Stewart
On Thursday 12 December 2002 11:09 pm, lll  wrote:
 Hello!
 I have just made a cvsup to all source tree. All the files received
 is with ,v. I cannot biuldwold because it says don't know how to
 make buildworld. I do
 make buildworld from directory where is the new sources. What can I
 do? Thank you!

Use one that looks like this. Then, you will get the code you want 
instead of the cvs files. Choose your appropriate mirror.

# listed at http://www.freebsd.org/handbook/mirrors.html.
*default host=cvsup8.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
src-all

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: cvsup

2002-12-13 Thread lll llll









From: Kent Stewart [EMAIL PROTECTED]
To: lll  [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: cvsup
Date: Fri, 13 Dec 2002 01:09:33 -0800

On Thursday 12 December 2002 11:09 pm, lll  wrote:
 Hello!
 I have just made a cvsup to all source tree. All the files received
 is with ,v. I cannot biuldwold because it says don't know how to
 make buildworld. I do
 make buildworld from directory where is the new sources. What can I
 do? Thank you!

Use one that looks like this. Then, you will get the code you want
instead of the cvs files. Choose your appropriate mirror.

# listed at http://www.freebsd.org/handbook/mirrors.html.
*default host=cvsup8.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
src-all

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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


Re: cvsup

2002-12-13 Thread lll llll
OK!
The only difference between what you have told me and what I have in 
cvs-supfile is the tag. Now I added it and it works!
Thank you!
Iulian







From: Kent Stewart [EMAIL PROTECTED]
To: lll  [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: cvsup
Date: Fri, 13 Dec 2002 01:09:33 -0800

On Thursday 12 December 2002 11:09 pm, lll  wrote:
 Hello!
 I have just made a cvsup to all source tree. All the files received
 is with ,v. I cannot biuldwold because it says don't know how to
 make buildworld. I do
 make buildworld from directory where is the new sources. What can I
 do? Thank you!

Use one that looks like this. Then, you will get the code you want
instead of the cvs files. Choose your appropriate mirror.

# listed at http://www.freebsd.org/handbook/mirrors.html.
*default host=cvsup8.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
src-all

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


¼Ó ÃË Î§ ³Ç VIP »á Ô± ¶Ó Îé

2002-12-13 Thread qin11
¼Ó ÃË Î§ ³Ç VIP »á Ô± ¶Ó Îé 
http://qinhuo.21weicheng.com/

VIP»áÔ±ÌØÊâȨÀû£º 

1¡¢Äã¿ÉÒÔÓµÓÐÒ»¸öÕâÑùµÄÍøÕ¾£¬¿ÉÒÔͨ¹ýÏúÊÛΧ³ÇÉ̳¡ÀïµÄÉÌÆ·ºÍ·¢Õ¹¸¶·Ñ»áԱ׬ȡ·áºñµÄ»Ø±¨£¡
2¡¢¹Û¿´Î§³ÇÓ°Ôº×îдóµúºÍ¾«²ÊӰƬ£¡
3¡¢ÏíÊܼ¤Ç黥¶¯£¬³ýÁË´óÖÚÓïÒôÁÄÌ칦ÄÜÍ⣬Ä㻹¿ÉÒÔ½øÈëÇéÔµÐÅϢ̨ÏíÊÜÇé¸ÐºÍÐÔ°®·½ÃæµÄÔÚÏß×Éѯ·þÎñ£¬ÌýµÃ¼ûÃÀÅ®µÄÉùÒôŶ£¡
4¡¢Ãâ·ÑµÃµ½Êг¡¼ÛÖµ158ÔªµÄÒõ¾¥×ÔÈ»Ôö´ó½Ì²ÄÔÚÏßѧϰȨÏÞ£¡ 
5¡¢Ê״μÓÈëVIP»áÔ±£¬ÎÒÃÇ»á¸øÄã200ԪΧ³Ç±Ò£¬Õâ200Χ³Ç±ÒÓÃÍêÖ®ºó£¬Äã¿ÉÒÔ°ÑÄãÔÚΧ³ÇµÄÊÕÈëת»»ÎªÎ§³Ç±Ò¼ÌÐøÏû·Ñ£¬Ò²¿ÉÒÔÔÙ»ã¿îÐø·Ñ³äÖµ¡£Ðø·Ñʱÿ10ÔªÈËÃñ±Ò¶Ò»»100ԪΧ³Ç±Ò£¬Ã¿´ÎÐø·ÑÖÁÉÙ10ÔªÆ𸶡£
6¡¢ÆäËûÒâÏë²»µ½µÄÓÅÖÊ·þÎñ£¡

VIP»áÔ±µÄÁ½¸öÊÕÈëÀ´Ô´£º

1¡¢ÏúÊÛΧ³ÇÉ̳¡µÄ³ÉÈ˱£½¡ÓÃÆ·»ñµÃÏúÊÛ¶îÌá³É£¬ÎÒÃÇÖ§³ÖµÄÁ½¼¶´úÀíÏúÊÛģʽ£¬ÓÐÈËͨ¹ýÄãµÄ´úÀíÍøÕ¾¹ºÂòÉÌÆ·Ä㽫µÃµ½20%µÄÏúÊ۶²»ÊÇÀûÈó£©Ìá³É£¬ÓÐÈËͨ¹ýÄãµÄϼ¶´úÀíÍøÕ¾¹ºÂòÉÌÆ·Ä㽫µÃµ½10%µÄÏúÊ۶²»ÊÇÀûÈó£©Ìá³É£¬´ËÌá³É±ÈÀýÊÇÄ¿Ç°¹úÄÚ×î¸ßµÄ£¡

2¡¢·¢Õ¹VIP»áÔ±»ñÈ¡»áÔ±·ÑÌá³É£¬ÎÒÃǵÄVIP»áÔ±·ÑÊÇ100Ôª¡£

3¡¢Èç¹ûÄãÊÇÅ®ÐÔ»áÔ±£¬¶øÇÒÄãµÄÉùÒôºÜÌðÃÀ£¬Ä㻹¿ÉÒÔͨ¹ýÖ÷³ÖÎÒÃǵļ¤Ç黥¶¯½ÚÄ¿»ñµÃÌá³É£¬Ã¿·ÖÖÓ¿ÉÒԵõ½1Χ³Ç±Ò¼´0.1ÔªÈËÃñ±Ò£¡

³ÉΪ±¾Õ¾µÄVIP»áÔ±ÒÔºóÄã¾Í¿ÉÒÔ´Ó×Ô¼ºµÄ´úÀíÍøÕ¾ÉϹºÂòÄãÐèÒªµÄÉÌÆ·£¬Ò²¿ÉÒÔ½éÉܱðÈ˳ÉΪÄãµÄϼ¶VIP»áÔ±»òÕßµ½ÄãµÄ´úÀíÍøÕ¾ÉϹºÎÕâÑùÄã¾ÍͬʱҲÓÐÁË×Ô¼ºµÄÊÕÈë¡£µ±È»£¬Èç¹ûÄãÓÐÒ»¸öÁ÷Á¿²»·ÆµÄ¸öÈËÍøÕ¾×öÒÀÍеĻ°£¬ÄÇô¹§Ï²Ä㣬ÿÔÂÄ㶼Äܹ»µÃµ½·áºñµÄ±¨³êÁË£¡
http://qinhuo.21weicheng.com/ 



±¾µç×ÓÓʼþϵ²ÉÓá°¸ßËÙÓʼþ¶à··¢ËÍÆ÷¡±Èí¼þ·¢ËÍ
OICQ:70094637 http://www.emailrelay.onchina.net


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



Clone FreeBSD Partition

2002-12-13 Thread Muller Petr
Hi, 
Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
have only sector by sector cloning for Unix system, but I need something
better.
Thanks for your help

Petr Muller
[EMAIL PROTECTED]

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



OS comparison

2002-12-13 Thread Dmitry Fadeyev
Hi, everybody.
I was just wondering are there any resources on the web (or anywhere)
that have an information on the OS comparison, advantages and disadvantages of 
different operating systems. 
Thanks in advance.

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



Boot Loaders

2002-12-13 Thread Philip M. Gollucci
Anyone here hand any experience with this?

http://search.yahoo.com/bin/search?p=Acronis+OS+Selector+8.0

Acronis OS Selector 

I wonder if you still need multiple disk drives.  As far as I know the 
physical geomoetry of hard drives is altered to give you 4 fdisk
sections if winblows is on it anywhere instead of 16.  Linux takes 2.

I would like to install all of the following if possible.

Win95,Win98,Win2k Pro,Win2k Server,WinXP
Redhat 6.3, 7.3, 8.0
FreeBSD 2.2.8, 3.x, 4.x, 5.x, 6.x (eventually)
NetBSD-current
OpenBSD-current
Darwin-current
FreeDOS



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



I have samba stability problems under FreeBSD 4.7

2002-12-13 Thread Christophe Simon
Hi, i have stability problems with samba 3 under freebds 4.7.

I use samba to act as a PDC on a microsoft domain. The exact problem is that 
the identification works perfectly at network startup, but 10 to 20 minutes 
later, the identification with the same login + password fail. If i restart 
network (/etc/netstart), it works perfectly again, and 10 to 20... and so 
on.

I am new under FreeBSD, so i made a standard installation, and i installed 
samba 3 through ftp server.

Does anyone had problems with samba under FreeBSD, and does any one have a 
solution ?

Thanks !





_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


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


Whats the deal?

2002-12-13 Thread bryan cassidy
Well, I'm subscribed to the freebsd-questions mailing
list with my POP e-mail account but for some reason my
e-mails are not getting to the list. If someone could
help me figure out why this is happening please Cc:
[EMAIL PROTECTED] . Thanks in advance.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



fdisk and HD's larger than 2GB

2002-12-13 Thread David Gethings
Hi,

I'm having a problem with the version of fdisk supplied with FreeBSD
4.6.2 (and I'm seeing the same problem on 4.7 too). fdisk always
defaults to 256/255/63 for the C/H/S values of my disk, however this is
not the correct values.

After searching through the FAQ's and handbook I found some info about
fdisk getting these values from the BIOS and how to switch this off. So
I checked the BIOS. It reports the correct disk geometry so I know it is
not that.

So I went back to fdisk and changed the geometry, which worked OK. I
then tried to create a partion that used the whole disk. As soon as I
did that fdisk reverted to the orginal (and incorrect) geometry and only
created a partion of 2GB rather than 20GB.

I'm sure there is an FAQ, or someother doc that details how to get round
this problem. However if there is one I cannot find it.

If anyone has any info on what I can do so that fdisk will create a
partion that uses all of the disk could you please let me know as the
currently documented way doesn't work for me.

If I can't get this to work I'm going to have to use Linux as I know
this works. :(

Regards

Dg


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



Re: fdisk and HD's larger than 2GB

2002-12-13 Thread Konrad Heuer

On 13 Dec 2002, David Gethings wrote:

 If I can't get this to work I'm going to have to use Linux as I know
 this works. :(

If you know Linux fdisk recognizing the disk correctly, you can try to use
Linux fdisk to create a FreeBSD partition, can't you? You should than be
able to use the partition withis FreeBSD sysinstall.

I Know that this is not a real solution, but it may be a workaround.

Regards
Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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



named problems

2002-12-13 Thread Rob B
I have bind running to serve requests to my private network, and I'm getting
the following lines in my logs every 30 minutes:

Dec 13 15:04:22 erwin named[78]: fopen() of 192.168.100.rev.dumptmp failed:
+Permission denied
Dec 13 15:04:22 erwin named[78]: zone dump for '100.168.192.in-addr.arpa'
+failed, rescheduling

What do they mean, and how do I either stop it, or let named do what it
wants?

Here's what named.conf looks like - I was trying to have dhcpd update the
zones at one point, but I dropped that idea since I can't get it to work.

erwin:~$ cat /etc/namedb/named.conf
options {
directory /etc/namedb;
zone . {
type hint;
file named.root;
};
zone 0.0.127.IN-ADDR.ARPA {
type master;
file localhost.rev;

zone number6.loop.bpa.nu {
type master;
file number6.loop.bpa.nu.hosts;
allow-query {
127.0.0.1/32; 192.168.100.0/24;
};
allow-transfer {
127.0.0.1/32; 192.168.100.0/24;
};
allow-update {
127.0.0.1/32; 192.168.100/24;
 };
};

zone 100.168.192.in-addr.arpa {
type master;
file 192.168.100.rev;
allow-query {
127.0.0.1/32; 192.168.100.0/24;
};
allow-transfer {
127.0.0.1/32; 192.168.100.0/24;
};
allow-update {
127.0.0.1/32; 192.168.100/24;
 };
};

erwin:~$ uname -a
FreeBSD erwin.number6.loop.bpa.nu 4.7-STABLE FreeBSD 4.7-STABLE #2: Sat Dec
7 09:55:15 EST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ERWIN  alpha

cheers,
Rob

--   Teaching should be such that what is offered is perceived
as a valuable gift and not as a hard duty. - Albert Einstein
This is quote 76 of 1254.


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



How to truncate a file in the beginning

2002-12-13 Thread Andre Albsmeier
Are there any special features in FreeBSD that I can use
to truncate a file in the beginning?

Let's assume I have a 50GB file. Only the last 10GB are
interesting for me and I have to free the first 40GB for
some reason. Of course, I could seek to the appropriate
position and copy the 10GB to a new file and unlink the
old one. The problem is that I don't have a lot of time
to do this so I am looking for something like ftruncate()
but for the beginning...

Any ideas?

Thanks,

-Andre

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



Re: Clone FreeBSD Partition

2002-12-13 Thread Ruben de Groot
On Fri, Dec 13, 2002 at 11:44:16AM +0100, Muller Petr typed:
 Hi, 
 Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 have only sector by sector cloning for Unix system, but I need something
 better.

It is called dump(8).

 Thanks for your help
 
 Petr Muller
 [EMAIL PROTECTED]
 
 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: How to truncate a file in the beginning

2002-12-13 Thread Gerald T. Freymann
On Fri, 13 Dec 2002, Andre Albsmeier wrote:

 Are there any special features in FreeBSD that I can use
 to truncate a file in the beginning?

 Sure.

 man split

 should do it!

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Scary Gerry -- Senior Systems Manager
 [EMAIL PROTECTED]
 -For web-hosting, Perl, PHP  MySql
  programming see http://www.interpool.ca
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



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



Re: automatin the creation/destruction of email lists

2002-12-13 Thread Neil W Rickert
Kirk Bailey [EMAIL PROTECTED] wrote:

ok, this one is tough. I am writing 4 scripts- 2 sdevlope webforms, and are 
done, no problem. The other two respectively create or destroy email lists. Or 
at least that's the goal.

Sendmail is VERY persnickity about permissions and ownerships for the aliases 
files- at least. I have edited sendmail.cf so it compiles from a second 
aliases file, aliases.tinylist, which is in /etc/mail, and it reads the file 
fine. Note the webscript runs by apache (as nobody) cannot write to the /mail 
dir; it bombs at this point.

If I set the dir so other identities can write to it, sendmail get's VERY 
upset when I issue the newaliases command.

so either it accepts the file, but I cannot write to it, or I cannot write to 
it, but it accepts the file. sigh...

What's a fellow to do? Please advise.

There is a good reason for sendmail being fussy.  There are serious
security concerns with the use of aliases.  These are mainly when the
alias expansion is either a file path or a command pipe.

Your best bet is to have your web application write to a different
file.  Run a frequent cron job.  The cron job should sanitize the
data (remove anything with file paths or command pipes), copy to the
main aliases file, then run new aliases.

 -NWR

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



Re: your mail

2002-12-13 Thread Ceri Davies
On Thu, Dec 12, 2002 at 11:23:28PM -0600, Franklin Pierce wrote:

 B.5  I hope that by the time I have a use for those \
 functions I have enough savvy to FTM . . . err.

FTM ?!?!

That's probably illegal in a couple of states, at least ;)

Ceri
-- 
The Creator's stone!

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



Re: How to truncate a file in the beginning

2002-12-13 Thread Andre Albsmeier
On Fri, 13-Dec-2002 at 08:15:22 -0500, Gerald T. Freymann wrote:
 On Fri, 13 Dec 2002, Andre Albsmeier wrote:
 
  Are there any special features in FreeBSD that I can use
  to truncate a file in the beginning?
 
  Sure.
 
  man split
 
  should do it!

Don't think so... from the split manpage:

 The split utility reads the given file and breaks it up into files of
 1000 lines each.  If file is a single dash (`-') or absent, split reads
 from the standard input.
 ...

Maybe my email wasn't very clear regarding this: I can't afford to
read the 10GB (or even more) and move them to a new file (this would
have to be done on the same disk so it would take too long). I need
something that moves the start of the file to a position within the
file and discard all bytes upto that position.

I had a look at split.c but it does exactly that what I don't
need: It reads and writes...

-Andre

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



Re: How to truncate a file in the beginning

2002-12-13 Thread David Schultz
Thus spake Andre Albsmeier [EMAIL PROTECTED]:
 Are there any special features in FreeBSD that I can use
 to truncate a file in the beginning?
 
 Let's assume I have a 50GB file. Only the last 10GB are
 interesting for me and I have to free the first 40GB for
 some reason. Of course, I could seek to the appropriate
 position and copy the 10GB to a new file and unlink the
 old one. The problem is that I don't have a lot of time
 to do this so I am looking for something like ftruncate()
 but for the beginning...

Nope, you have to copy the data.  Technically something like this
could be implemented by copying metadata only, but it would only
work if the amount you want to snip is a multiple of the
filesystem's block size.  However, it's a lot of work for a rather
uncommon case; even ftruncate() is used infrequently.  Perhaps you
could devise a scheme for striping your data across multiple 10GB
files.

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



Re: How to truncate a file in the beginning

2002-12-13 Thread Andre Albsmeier
On Fri, 13-Dec-2002 at 05:41:41 -0800, David Schultz wrote:
 Thus spake Andre Albsmeier [EMAIL PROTECTED]:
  Are there any special features in FreeBSD that I can use
  to truncate a file in the beginning?
  
  Let's assume I have a 50GB file. Only the last 10GB are
  interesting for me and I have to free the first 40GB for
  some reason. Of course, I could seek to the appropriate
  position and copy the 10GB to a new file and unlink the
  old one. The problem is that I don't have a lot of time
  to do this so I am looking for something like ftruncate()
  but for the beginning...
 
 Nope, you have to copy the data.  Technically something like this
 could be implemented by copying metadata only, but it would only
 work if the amount you want to snip is a multiple of the
 filesystem's block size.  However, it's a lot of work for a rather
 uncommon case; even ftruncate() is used infrequently.  Perhaps you
 could devise a scheme for striping your data across multiple 10GB
 files.

Hmm, that's bad news :-). Thanks anyway, now I know that I have
to figure out something differently. Maybe I will create lots
of, let's say, 100MB files and manage them myself...

Thanks,

-Andre

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



layered file systems ...

2002-12-13 Thread Marc G. Fournier

Morning ...

   I'm trying to figure out a way of sharing, as an example, /usr/X11R6
across several jail'd environments, but in such a way that if one of them
installs an extra package under that directory structure, its only visible
to that jail , and not the others ...

  As a better example ... sharing /etc across several jails, but where
each would have its own /etc/rc.conf ...

  Anyone have an idea of how this could be accomplished?

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



Re: no internal access to webpage

2002-12-13 Thread Jack L. Stone
At 07:30 AM 12.13.2002 +, Stacey Roberts wrote:
Hi Dave,
   The reason you have access to your webserver from external sites is
somewhat the reason why you don't have internal access (by name) to your
webserver.

The gateway passes requests to port 80 it receives from its *external*
interface to port 80 on your webserver. From an internal host, attempts
to access the website hits your gateway, on its *internal* interface,
and is passed to the Internet via the external interface. The
translation of the returning request by the external interface back in
doesn't work with the current set up of natd.

Running a local nameserver that points to the local address of the
website would probably work.., ONLY if its shielded from the Internet
though. If not, you'd end up with your DNS pointing to a website that's
bound to a RFC 1918 (private) address - not good.

Hope this helps.

Stacey

On Fri, 2002-12-13 at 07:04, David Loszewski wrote:
 I'm having a problem where I can't access my webpage internally but can 
 access it externally.  I'm running all FreeBSD 4.6.2 and 4.7 machines 
 and have no internal namerserver of anytype.  do I need to create an 
 internal nameserver for myself to type in my domain name and come up 
 with my webpage?  I have a gateway and the gateway forwards any requests 
 for port 80 to the webserver.
 
 Dave
 

Maybe I haved missed the point of your problem, but if your web server is
on a separate machine within a private network, you should be able to reach
it from your internal NW by entering the internal private IP, (or machine
name) such as:

http://192.168.0.4
or
http://my_internal_mach_name

Add the machine's host name to /etc/hosts

Again, I didn't follow Stacey's answer so maybe I missed the point
otherwise, hope this helps.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: fdisk and HD's larger than 2GB

2002-12-13 Thread David Gethings
On Fri, 2002-12-13 at 12:26, Konrad Heuer wrote:
 On 13 Dec 2002, David Gethings wrote:
 
  If I can't get this to work I'm going to have to use Linux as I know
  this works. :(
 
 If you know Linux fdisk recognizing the disk correctly, you can try to use
 Linux fdisk to create a FreeBSD partition, can't you? You should than be
 able to use the partition withis FreeBSD sysinstall.
 
 I Know that this is not a real solution, but it may be a workaround.
Hi Konrad,

That thought did cross my mind after I sent the email out. If I must
then I will do this, but I would rather be able to do this from within
the FreeBSD install.

Regards

Dg


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



RE: are virtual mail account users possible with sendmail on freebsd

2002-12-13 Thread John Straiton
IMAP is a method of mail retrieval, Postfix is a MTA like sendmail (it
sends outgoing mail and accepts incoming mail, although it doesn't
actually allow people to retrieve it off the server)

Think of IMAP in a similar way to POP3. Think of Postfix/Sendmail/Exim
like the post office...they'll take your mail, and put mail in your box,
but it's up to you to get it.

http://my.lostinfo.com/files_other/cyrus_imap/
Was my original walkthrough. It's a bit dated now but it might give you
a good overview of what we have in place and running now. 

http://my.lostinfo.com/files_other/courier-imap/
Was my earlier attempt using courier-imap, however I was unsuccessful in
getting the information I needed as to how to get a black-box setup
working. It's got a kind of overview of courier as well tho'.


Here's a little flowchart for you... It's generic but you'll get the
idea of how mail flows through the system:

MAIL -
Sendmail / Exim / Postfix
Accepts the incoming mail via SMTP, sends it on to ---
Cyrus / Courier-IMAP   or perhaps it just puts it in the
/var/mail files
like sendmail does
Outlook / Netscape Mail / Web-based client / Hundreds of *nix
clients
Allows you to check the mail, via POP3 or IMAP
--  YOU


John Straiton
[EMAIL PROTECTED]
Clickcom, Inc
704-365-9970x101 

 -Original Message-
 From: Keith Spencer [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, December 12, 2002 6:54 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: are virtual mail account users possible with 
 sendmail on freebsd
 
 
 Hi and thanks John,
 Yes I know how to setup mysql...Is imap or postfix (whatever 
 does the job...imap I guess if I dont bother about smtp auth) 
 easy to get to auth with mysql? what do I need where do I 
 look perhaps a tute? Any reason postfix is a better option 
 than imap? Appreciate input...thanks heaps Keith
 
  Sendmail isn't what gives someone POP3 access. Something 
 like Qpopper 
  does.
 
  However, most of the sendmail+(something) combinations 
 you're going to 
  find are going to require you to build full blown 
 accounts for each 
  user. While they do not have to have shell access, they will have a 
  /home directory and an entry in your /etc/passwd.
 
  If you're trying to avoid that, you'll have to use a different POP3 
  server and I'd recommend a different MTA than sendmail. What you're 
  looking to do (email accounts without user accounts) is sometimes 
  called a black-box setup.
 
  We use a combination of Postfix to replace sendmail and Cyrus to do 
  POP3/IMAP. You can also do this with Courier-IMAP. Both are in the 
  /usr/ports/mail tree. Exim is another popular replacement 
 for sendmail 
  and works well with either Cyrus or Courier-IMAP.
 
  With a simple shell script and pw, you could add all those 
 accounts to 
  the machine if necessary, but if you use one of these other methods 
  you'd probably wind up wanting to use a LDAP or Database 
 back end to 
  store all that information.
 
  Hope this gets you started.
 
  John Straiton
  [EMAIL PROTECTED]
  Clickcom, Inc
  704-365-9970x101
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of Keith 
  Spencer
  Sent: Wednesday, December 11, 2002 10:59 PM
  To: fbsd
  Subject: are virtual mail account users possible with sendmail on 
  freebsd
 
 
  Hi all,
  I am wondering how I can add mail acocunts without
  actually creating full-blown user accounts for my lan
  users.
  I have sendmail on fbsd 4.7 (new build machine and I
  dont want to create shell accnts for all my users on
  this new machine)
  Whatever help you might give me perhaps I can use
  webmin to add the new users... I have 600 users to
  add.
  Whoa...thats a lot of work..HELP???!!
  Thanks so much in adavnce
  Keith
 
  http://greetings.yahoo.com.au - Yahoo! Greetings
  - Send your seasons greetings online this year!
 
  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
 
 
 Keith Spencer BSc Bed
 ++
 IT Services Manager
 [EMAIL PROTECTED]
 www.smmc.qld.edu.au
 St Margaret Mary's College
 Townsville, Australia
 +++
 
 
 
 



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



Orinoco problem

2002-12-13 Thread 'budsz'
Hi,

I tried using orinoco lucent ISA adapter on FreeBSD 5.0-DP2, But I can't
using it, Does FreeBSD 5.0-DP2 support orinoco ISA adapter?, Generally
if I use that card in FreeBSD will auto detected with GENERIC kernel
configuration. Of couse I was check my kernel and I found like:

device  card
device  wi

Anything else..?, Or what..?

TIA

-- 
budsz



msg11967/pgp0.pgp
Description: PGP signature


Re: fdisk and HD's larger than 2GB

2002-12-13 Thread John Bleichert
On 13 Dec 2002, David Gethings wrote:
 Subject: Re: fdisk and HD's larger than 2GB
 
 On Fri, 2002-12-13 at 12:26, Konrad Heuer wrote:
  On 13 Dec 2002, David Gethings wrote:
  
   If I can't get this to work I'm going to have to use Linux as I know
   this works. :(
  
  If you know Linux fdisk recognizing the disk correctly, you can try to use
  Linux fdisk to create a FreeBSD partition, can't you? You should than be
  able to use the partition withis FreeBSD sysinstall.
  
  I Know that this is not a real solution, but it may be a workaround.
 Hi Konrad,
 
 That thought did cross my mind after I sent the email out. If I must
 then I will do this, but I would rather be able to do this from within
 the FreeBSD install.
 
 Regards
 
 Dg
 

This can't be a bug or limitation in FreeBSD's fdisk, it must be a quirk 
in your hardware (we've all seen them hehe!). Since 4.5, I've had FreeBSD 
installed on several boxes with enormous hard drives in various 
partitioning schemes without a glitch.

I had issues once with OpenBSD wanting to be on a smaller partition, but 
never with FreeBSD.

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: LinkSys-EtherFast 10/100 PC Card questions

2002-12-13 Thread John Bleichert
On Fri, 13 Dec 2002, George Jeliazkov wrote:
 Subject: LinkSys-EtherFast 10/100 PC Card questions
 
 Hi all,
 
 I've got a brand new LinkSys-EtherFast 10/100 PC Card (PCMPC100 V3)
 for my laptop.I'm running FreeBSD-4.7 RELEASE.The card is recognized
 correctly and configured with no trouble.
 The problem is that the card works only at 10Mbit/s.
 I've read the man page for ed(4), but didn't find a solution.
 
 Here's the output from ifconfig:
 
 # ifconfig ed1 
 ed1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.1.3 netmask 0xff00 broadcast 192.168.1.255
 ether 00:04:5a:99:be:d7
 
 # ifconfig ed1 192.168.1.3 media 100baseTX  ...(or media autoselect) 
 ifconfig: SIOCGIFMEDIA: Invalid argument
 
 does this mean that the ed driver doesn't support 100baseTX on this card?
 
 So I've tried another thing:
 Booted MicroBSD from CD for a test:
 
 here's what shows at boot:
 
 ne3 at pcmcia1 function 0 Linksys, EtherFast 10/100 PC Card (PCMPC100 V3), V2.0 
port 0xa000/32: LAN iobase 0x240 (0xa000) - 0x0
 ne3: address 00:04:5a:99:be:d7
 bmtphy0 at ne3 phy 1: BCM5221 100baseTX PHY, rev. 4
 
 # ifconfig ne3
 ne3: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
 address: 00:04:5a:99:be:d7
 media: Ethernet 100baseTX full-duplex
 status: active
 inet 192.168.1.3 netmask 0xff00 broadcast 192.168.1.255
 inet6 fe80::204:5aff:fe99:bed7%ne3 prefixlen 64 scopeid 0x14
 
 here it shows as 100baseTX full-duplex...but it works at 10Mbit/s again.
 
 maybe this card works only at 10Mbit/s ?
 
 thanx
 
 george
 

Search the archives of this list (and any of the Linux tech lists) for 
PCMPC100 and you'll see it's just not a very good card in the free *nix 
space. The only reason mine didn't end up in the trash is because a 
Windows-using friend wanted it. It's a bad performer for him too (just 
barely above 10 Mb) but he doesn't care...


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: Clone FreeBSD Partition

2002-12-13 Thread Jerry McAllister
 
 Hi, 
 Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 have only sector by sector cloning for Unix system, but I need something
 better.
 Thanks for your help

Really, your best bet is dump(8)/restore(8).
jerry

 
 Petr Muller
 [EMAIL PROTECTED]
 
 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: Boot Loaders

2002-12-13 Thread Jud
On Fri, 13 Dec 2002 04:30:56 +, Philip M. Gollucci [EMAIL PROTECTED] 
wrote:

Anyone here hand any experience with this?

http://search.yahoo.com/bin/search?p=Acronis+OS+Selector+8.0

Acronis OS Selector

I wonder if you still need multiple disk drives.  As far as I know the 
physical geomoetry of hard drives is altered to give you 4 fdisk
sections if winblows is on it anywhere instead of 16.  Linux takes 2.

I would like to install all of the following if possible.

Win95,Win98,Win2k Pro,Win2k Server,WinXP
Redhat 6.3, 7.3, 8.0
FreeBSD 2.2.8, 3.x, 4.x, 5.x, 6.x (eventually)
NetBSD-current
OpenBSD-current
Darwin-current
FreeDOS

I haven't tried Acronis.  I have tried and am currently using another 
shareware product that does the same thing, is less than 1mb, and whose 30- 
day free trial is *not* feature-limited, called BootItNG ( 
http://www.terabyteunlimited.com ).  BING will let you put an unlimited 
number of primary partitions on a disk.  The reason I'm using BootItNG 
rather than Grub, which is freeware and a FreeBSD port, is because I have 
two of my boot sectors (W2K and FBSD 4-STABLE) on a RAID-0 array, which 
Grub doesn't quite grok yet AFAIK.  I have never used the freeware boot 
loader XOSL, but have heard some nice things about it - some teenager was 
on TechTV the other month showing off the 30-odd OSs on his machine that he 
boots with XOSL.

If you do try Acronis and/or XOSL, particularly if you also try bootloaders 
I'm familiar with, such as Grub and BootItNG, I'd be interested to know 
what your experiences were.

--
Jud

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


Re: layered file systems ...

2002-12-13 Thread Marcus Reid
On Fri, Dec 13, 2002 at 10:01:09AM -0400, Marc G. Fournier wrote:
 
 Morning ...

I'm trying to figure out a way of sharing, as an example, /usr/X11R6
 across several jail'd environments, but in such a way that if one of them
 installs an extra package under that directory structure, its only visible
 to that jail , and not the others ...
 
   As a better example ... sharing /etc across several jails, but where
 each would have its own /etc/rc.conf ...
 
   Anyone have an idea of how this could be accomplished?

Sounds like you're looking for something like unionfs. Unfortunately,
it doesn't work (even in -CURRENT) and if it did I don't know if it
could be made to work across jails. But the manpage for mount_unionfs
makes for a good read anyway..

Marcus

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



fixit cd how?

2002-12-13 Thread Didier Wiroth
Hey,
I have corrupted my fstab file and I can't mount any drives anymore. Now I
would like to fix that with the fixit cd (freebsd cd 2), but how?

1) I have launched the fixit prompt from the cd
2) created a directory /fix
3) And now I would like to mount my harddisk's root slice (ad2s2a) to /fix
but I doesn't work!
/sbin/mount -t ufs /dev/ad2s2a /fix
Error message is No such file or directory
What is the problem? I does not find the ad2s2a device!
Why? What do I have to do?

Thanks a lot
Didier



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



Re: CVS Logging

2002-12-13 Thread Giorgos Keramidas
On 2002-12-12 23:55, Wayne Pascoe [EMAIL PROTECTED] wrote:
 Does anyone know if there is a way to have CVS log all activity to a
 log file. Basically, I'd like a log of all checkouts, updates,
 imports and commits. I've already got it logging imports commits,
 but I can't work out how to log the other stuff.

Without seeing your particular CVSROOT setup, it's probably hard to
answer why it works the way it does.  If your CVS repository lives on
a FreeBSD machine (which I have to assume, since you posted on a
FreeBSD list :-) you can always set things up in the same manner that
FreeBSD's own CVS repository is configured.  One of the features of
this particular setup is that all commits are logged to files, and
mailed to an address.

The article ``Setting up a CVS repository - the FreeBSD way'' by Stijn
Hoop can help a lot with setting up a repository like this, and can be
found at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/


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



Re: cvsup

2002-12-13 Thread Giorgos Keramidas
On 2002-12-13 07:09, lll  [EMAIL PROTECTED] wrote:
 I have just made a cvsup to all source tree. All the files received
 is with ,v. I cannot biuldwold because it says don't know how to
 make buildworld.

These are RCS files that keep version information and changes for a
particular file.  You have obviously downloaded the cvs version with
cvsup, instead of a certain release.

 I do make buildworld from directory where is the new sources. What
 can I do?

Try using one of the sample supfiles in /usr/share/examples/cvsup.
Either standard-supfile or stable-supfile.

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



Re: layered file systems ...

2002-12-13 Thread Marc G. Fournier
On Fri, 13 Dec 2002, Marcus Reid wrote:

 On Fri, Dec 13, 2002 at 10:01:09AM -0400, Marc G. Fournier wrote:
 
  Morning ...
 
 I'm trying to figure out a way of sharing, as an example, /usr/X11R6
  across several jail'd environments, but in such a way that if one of them
  installs an extra package under that directory structure, its only visible
  to that jail , and not the others ...
 
As a better example ... sharing /etc across several jails, but where
  each would have its own /etc/rc.conf ...
 
Anyone have an idea of how this could be accomplished?

 Sounds like you're looking for something like unionfs. Unfortunately,
 it doesn't work (even in -CURRENT) and if it did I don't know if it
 could be made to work across jails. But the manpage for mount_unionfs
 makes for a good read anyway..

Actually, I just spent some time playing with it, and figured out what I
was doing wrong .. haven't tested it full blown yet, but it looks like it
works fine ...

What is known to be wrong with it?  The man page is dated '94, so the 'IT
DOESNT WORK' is a weee bit old ...

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



Re: CVS Logging

2002-12-13 Thread Wayne Pascoe
Giorgos Keramidas [EMAIL PROTECTED] writes:

 a FreeBSD machine (which I have to assume, since you posted on a
 FreeBSD list :-) you can always set things up in the same manner that

It is on a FreeBSD box, yes.

 FreeBSD's own CVS repository is configured.  One of the features of
 this particular setup is that all commits are logged to files, and
 mailed to an address.

We have that working. All commits and imports are logged and mailed to
our development team.

 The article ``Setting up a CVS repository - the FreeBSD way'' by Stijn
 Hoop can help a lot with setting up a repository like this, and can be
 found at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/

I've looked through that, and it only really covers logging of
incoming stuff, not of checkouts or updates.

We need to log who and when is retrieving code from our CVS servers. 

-- 
- Wayne Pascoe 
Mary had a crypto key, she kept it in
escrow, and everything that Mary said,
the Feds were sure to know.


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



Re: CVS Logging

2002-12-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-12 23:55:58 +:
 Does anyone know if there is a way to have CVS log all activity to a
 log file. Basically, I'd like a log of all checkouts, updates, imports
 and commits. I've already got it logging imports commits, but I can't
 work out how to log the other stuff.

got it logging? cvs logs everything by default.

http://www.cvshome.org/docs/manual/cvs_16.html#SEC136
http://www.cvshome.org/docs/manual/cvs_18.html#SEC177
http://www.cvshome.org/docs/manual/cvs_18.html#SEC179

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



RE: I have samba stability problems under FreeBSD 4.7

2002-12-13 Thread Thomas Connolly
Make sure your windows machined have their browse Master set to off or
manual for Win2K and XP.

Thomas P. Connolly
Senior Development Engineer
Colorado Engineering Experiment Station Inc.
Phone: (970) 897-2711
Fax: (970) 897-2710
Email: [EMAIL PROTECTED]
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Christophe Simon
Sent: Friday, December 13, 2002 4:39 AM
To: [EMAIL PROTECTED]
Subject: I have samba stability problems under FreeBSD 4.7

Hi, i have stability problems with samba 3 under freebds 4.7.

I use samba to act as a PDC on a microsoft domain. The exact problem is that

the identification works perfectly at network startup, but 10 to 20 minutes 
later, the identification with the same login + password fail. If i restart 
network (/etc/netstart), it works perfectly again, and 10 to 20... and so 
on.

I am new under FreeBSD, so i made a standard installation, and i installed 
samba 3 through ftp server.

Does anyone had problems with samba under FreeBSD, and does any one have a 
solution ?

Thanks !





_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


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: CVS Logging

2002-12-13 Thread Giorgos Keramidas
On 2002-12-13 15:43, Wayne Pascoe [EMAIL PROTECTED] wrote:
 Giorgos Keramidas [EMAIL PROTECTED] writes:
  The article ``Setting up a CVS repository - the FreeBSD way'' by Stijn
  Hoop can help a lot with setting up a repository like this, and can be
  found at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/

 I've looked through that, and it only really covers logging of
 incoming stuff, not of checkouts or updates.

 We need to log who and when is retrieving code from our CVS servers.

You'll have to enable `history' in your CVS repository and then use
the `cvs history' command to view the checkouts.

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



Re: layered file systems ...

2002-12-13 Thread Marcus L. Reid
On Fri, Dec 13, 2002 at 11:32:28AM -0400, Marc G. Fournier wrote:
 On Fri, 13 Dec 2002, Marcus Reid wrote:
  Sounds like you're looking for something like unionfs. Unfortunately,
  it doesn't work (even in -CURRENT) and if it did I don't know if it
  could be made to work across jails. But the manpage for mount_unionfs
  makes for a good read anyway..
 
 Actually, I just spent some time playing with it, and figured out what I
 was doing wrong .. haven't tested it full blown yet, but it looks like it
 works fine ...
 
 What is known to be wrong with it?  The man page is dated '94, so the 'IT
 DOESNT WORK' is a weee bit old ...

Hmm, I didn't notice the date on the manpage, just the loud warnings
of impending doom should one attempt to use it. Is it safe to use under
some circumstances? How does one make it break?

Marcus

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



RE: I have samba stability problems under FreeBSD 4.7

2002-12-13 Thread Christophe Simon

What can this cause, and how do i do this under windows ?



From: Thomas Connolly [EMAIL PROTECTED]
To: 'Christophe Simon' [EMAIL PROTECTED],   
[EMAIL PROTECTED]
Subject: RE: I have samba stability problems under FreeBSD 4.7
Date: Fri, 13 Dec 2002 08:44:41 -0700

Make sure your windows machined have their browse Master set to off or
manual for Win2K and XP.

Thomas P. Connolly
Senior Development Engineer
Colorado Engineering Experiment Station Inc.
Phone: (970) 897-2711
Fax: (970) 897-2710
Email: [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Christophe Simon
Sent: Friday, December 13, 2002 4:39 AM
To: [EMAIL PROTECTED]
Subject: I have samba stability problems under FreeBSD 4.7

Hi, i have stability problems with samba 3 under freebds 4.7.

I use samba to act as a PDC on a microsoft domain. The exact problem is 
that

the identification works perfectly at network startup, but 10 to 20 minutes
later, the identification with the same login + password fail. If i restart
network (/etc/netstart), it works perfectly again, and 10 to 20... and so
on.

I am new under FreeBSD, so i made a standard installation, and i installed
samba 3 through ftp server.

Does anyone had problems with samba under FreeBSD, and does any one have a
solution ?

Thanks !





_
MSN Messenger : discutez en direct avec vos amis !
http://www.msn.fr/msger/default.asp


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


_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp


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


RE: I have samba stability problems under FreeBSD 4.7

2002-12-13 Thread Stacey Roberts
Hi Thomas,
   Hard to tell what's happening without:-
1] smb.conf
2] log.nmbd
3] log.smbd
4] log.sambaPDC
5] log.Win.client(s)

Post the above to the list and I'm certain that the problem will
identify itself. In any case, the more information you provide, the more
likely *someone* will be able to assist.

Hope this helps.

Stacey

On Fri, 2002-12-13 at 16:22, Christophe Simon wrote:
 What can this cause, and how do i do this under windows ?
 
 
 From: Thomas Connolly [EMAIL PROTECTED]
 To: 'Christophe Simon' [EMAIL PROTECTED],   
 [EMAIL PROTECTED]
 Subject: RE: I have samba stability problems under FreeBSD 4.7
 Date: Fri, 13 Dec 2002 08:44:41 -0700
 
 Make sure your windows machined have their browse Master set to off or
 manual for Win2K and XP.
 
 Thomas P. Connolly
 Senior Development Engineer
 Colorado Engineering Experiment Station Inc.
 Phone: (970) 897-2711
 Fax: (970) 897-2710
 Email: [EMAIL PROTECTED]
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Christophe Simon
 Sent: Friday, December 13, 2002 4:39 AM
 To: [EMAIL PROTECTED]
 Subject: I have samba stability problems under FreeBSD 4.7
 
 Hi, i have stability problems with samba 3 under freebds 4.7.
 
 I use samba to act as a PDC on a microsoft domain. The exact problem is 
 that
 
 the identification works perfectly at network startup, but 10 to 20 minutes
 later, the identification with the same login + password fail. If i restart
 network (/etc/netstart), it works perfectly again, and 10 to 20... and so
 on.
 
 I am new under FreeBSD, so i made a standard installation, and i installed
 samba 3 through ftp server.
 
 Does anyone had problems with samba under FreeBSD, and does any one have a
 solution ?
 
 Thanks !
 
 
 
 
 
 _
 MSN Messenger : discutez en direct avec vos amis !
 http://www.msn.fr/msger/default.asp
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 _
 MSN Search, le moteur de recherche qui pense comme vous ! 
 http://search.msn.fr/worldwide.asp
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Re: OS comparison

2002-12-13 Thread Jud
On Fri, 13 Dec 2002 12:51:49 +0200, Dmitry Fadeyev [EMAIL PROTECTED] wrote:


Hi, everybody.
I was just wondering are there any resources on the web (or anywhere)
that have an information on the OS comparison, advantages and 
disadvantages of different operating systems. Thanks in advance.

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



Largest collection of reviews, links, etc. I know of, a bit outdated now 
but still fascinating:

http://tunes.org/Review/OSes.html

Also check out their reviews/links re various programming languages:

http://tunes.org/Review/Languages.html

--
Jud

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


Re: VNC

2002-12-13 Thread Matt Smith
How about running XVNC under inetd?
From inetd.conf:
Xvncstream  tcp nowait  nobody  /usr/local/bin/Xvnc Xvnc -inetd
-query localhost  -once -geometry 800x600 -depth 24

XDM should be running also.

Of course, since I can't read the original message, I'm not *exactly*
sure what the original problem is...
-Matt

On Fri, 2002-12-13 at 01:56, Ruben de Groot wrote:
 On Thu, Dec 12, 2002 at 10:07:46PM -0500, Brian T. Schellenberger typed:
  
  
  
  On Thursday 12 December 2002 03:45 pm, Brian wrote:
  | getting vnc to start at boot is tricky, since you want it to start as
  | some user, rather than as root.  A solution I've been thinking of is
  | looking at the output os ps auxw, grepping for Xvnc owned by the
  | desired user, if its there exit, if not run vncserver as the user in
  | question.  Putting it in cron with a /8 to check every 8 minutes
  | seems a good idea.
 
 You can put it in the desired user's crontab like this:
 
 @reboot   /path/to/startup-command
 
  
  
  My *guess* is that you would always want the server to start as the 
  *same* user, if you want it to start at boot.
  
  In that case, it's quite simple, at least in theory (meaning, I haven't 
  done this).
  
  If that is the only user who will *ever* want to own the server, then 
  just make that user the owner of vnc and set the suid bit.
  
  If you want to keep the default vnc server with the usual owner 
  (root?), then just create a hardlink used for the startup command and 
  suid *that* as above.
 
 The suid bit is stored in the inode, not in the directory-entry of a 
 hardlink. If you suid the hardlink you also suid the original.
 The same goes for ownership.
 
  
  |
  |   Bri
  |
  | On Thu, 12 Dec 2002, Daniel HARTMANN wrote:
  |  Bonjour,
  | 
  |  J'utilise vnc vers ma machine Freebsd.
  | 
  |  Mais comment d?marrer vncserver automatiquement au boot sans
  |  taper la commande ??
  | 
  |  Merci
  | 
  | 
  | 
  | 
  | 
  |  Dany_H  ;-)
  |
  | To Unsubscribe: send mail to [EMAIL PROTECTED]
  | with unsubscribe freebsd-questions in the body of the message
  
  -- 
  Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
  
  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
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: fdisk and HD's larger than 2GB

2002-12-13 Thread David Gethings
On Fri, 2002-12-13 at 14:41, John Bleichert wrote:

 This can't be a bug or limitation in FreeBSD's fdisk, it must be a quirk 
 in your hardware (we've all seen them hehe!). Since 4.5, I've had FreeBSD 
 installed on several boxes with enormous hard drives in various 
 partitioning schemes without a glitch.
 
 I had issues once with OpenBSD wanting to be on a smaller partition, but 
 never with FreeBSD.
Ah! Didn't think of that. I know it's a Maxtor something-or-other, I'll
have to have a look to work out the exact model. Once I've done that
I'll check the hardware compatability list.

Cheers

Dg


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



Re: correct syntax for compiling drac for use with postfix

2002-12-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-08 17:48:40 -0500:
 Sorry for the dumb question, but is the proper syntax for installing
 drac on a machine running postfix as follows:
make install -DWITH_POSTFIX=yes

make(1) has many quirks, but the basic syntax is very simple.
understanding make(1) will improve your life! seriously, you can get
much more from the ports if you know how the system works.

roman@freepuppy ~/tmp 1020:0   Makefile 
all:
.if defined(FOO)
@echo \$${FOO} is defined
@echo \$${FOO}: '${FOO}'
.else
@echo \$${FOO} is undefined
.endif

.PHONY: all

roman@freepuppy ~/tmp 1021:0  make -DFOO=yes
${FOO} is undefined
roman@freepuppy ~/tmp 1022:0  make -DFOO
${FOO} is defined
${FOO}: '1'
roman@freepuppy ~/tmp 1023:0  make FOO=yes  
${FOO} is defined
${FOO}: 'yes'
roman@freepuppy ~/tmp 1024:0  

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: USB Mass Storage device

2002-12-13 Thread Bernd Walter
On Tue, Nov 26, 2002 at 11:36:45AM +0800, Seo Boon, NG wrote:
 This is the dmesg when the notebook during my reboot. The message doesn't appear
 when the USB device connects to notebook when it's running, hence I'm assumming
 that the kernel couldn't see the device. Is there any means to get the kernel
 see the USB device when I connect the device online i.e the notebook is
 running? I think rebooting my notebook everytime when I connect the USB isn't a
 viable option :)

Is usbd running?
Do you have /dev/usb* entries for all usb channels?

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


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



Re: layered file systems ...

2002-12-13 Thread Marc G. Fournier
On Fri, 13 Dec 2002, Marcus L. Reid wrote:

 On Fri, Dec 13, 2002 at 11:32:28AM -0400, Marc G. Fournier wrote:
  On Fri, 13 Dec 2002, Marcus Reid wrote:
   Sounds like you're looking for something like unionfs. Unfortunately,
   it doesn't work (even in -CURRENT) and if it did I don't know if it
   could be made to work across jails. But the manpage for mount_unionfs
   makes for a good read anyway..
 
  Actually, I just spent some time playing with it, and figured out what I
  was doing wrong .. haven't tested it full blown yet, but it looks like it
  works fine ...
 
  What is known to be wrong with it?  The man page is dated '94, so the 'IT
  DOESNT WORK' is a weee bit old ...

 Hmm, I didn't notice the date on the manpage, just the loud warnings
 of impending doom should one attempt to use it. Is it safe to use under
 some circumstances? How does one make it break?

That's kinda what I'm wondering ... is it just that nobody has updated the
man page since '94 ... from looking at the sources, ther have been mods to
it since then:

total 103
drwxr-xr-x   2 root  wheel512 Dec 30  2001 .
-rw-r--r--   1 root  wheel  33588 Dec 30  2001 union_subr.c
-rw-r--r--   1 root  wheel  12980 Oct 28  2001 union_vfsops.c
drwxr-xr-x  12 root  wheel512 Sep 28  2001 ..
-rw-r--r--   1 root  wheel   5916 Dec 29  1999 union.h
-rw-r--r--   1 root  wheel  49818 Dec 15  1999 union_vnops.c

and it looks like 5.0 has some changes to it:

 ls -lta
total 106
drwxr-xr-x   2 root  wheel512 Nov 19 10:00 .
-rw-r--r--   1 root  wheel   5419 Nov 19 10:00 union.h
-rw-r--r--   1 root  wheel  33343 Nov 19 10:00 union_subr.c
-rw-r--r--   1 root  wheel  13175 Nov 19 10:00 union_vfsops.c
-rw-r--r--   1 root  wheel  47534 Nov 19 10:00 union_vnops.c
drwxr-xr-x  19 root  wheel512 Jul 17 09:12 ..


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



Re: fixit cd how?

2002-12-13 Thread Jerry McAllister
 
 Hey,
 I have corrupted my fstab file and I can't mount any drives anymore. Now I
 would like to fix that with the fixit cd (freebsd cd 2), but how?

I don't know much about using the fixit, but - 
If you have only messed up the fstab file, you can probably fix it
by merely booting to single user and then remounting root.  But, if 
it is too badly mangled, like the root mount info is gone, maybe
it won't work.

Anyway,   boot to single user
   then   fsck -p
  mount -u /  This one you may have to do with a full mount command
  speciifying device and mount point (/)
  edit your fstab
  reboot.

God luck,

jerry

 
 1) I have launched the fixit prompt from the cd
 2) created a directory /fix
 3) And now I would like to mount my harddisk's root slice (ad2s2a) to /fix
 but I doesn't work!
 /sbin/mount -t ufs /dev/ad2s2a /fix
 Error message is No such file or directory
 What is the problem? I does not find the ad2s2a device!
 Why? What do I have to do?
 
 Thanks a lot
 Didier
 
 
 
 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: OS comparison

2002-12-13 Thread Lance Bland

On Friday, December 13, 2002, at 12:07 PM, Jud wrote:

Largest collection of reviews, links, etc. I know of, a bit outdated now but still fascinating:

http://tunes.org/Review/OSes.html

Also check out their reviews/links re various programming languages:

http://tunes.org/Review/Languages.html

hi-

you said they are outdated, but the information on Objective-C is severely lacking (it has been around for ~16 years), the link is bad, it is not MIA; and the Mac OS X O.S. info is lacking, and doesn't make mention of the fact that it uses a lot of FreeBSD stuff.

I only looked at the pages for a few seconds, so I could be wrong...

-lance


Lance Bland
mailto:[EMAIL PROTECTED]
VVI Is The #1 Visual-Report Tool Developer For Mac OS X
http://www.vvi.com


RE: Clone FreeBSD Partition

2002-12-13 Thread JoeB


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Muller Petr
Sent: Friday, December 13, 2002 5:44 AM
To: '[EMAIL PROTECTED]'
Subject: Clone FreeBSD Partition

Hi,
Is there any tool for cloning FreeBSD partiton with support fot
FreeBSD file
system, something like Symantec Ghost or DriveImage? Ghost and
DriveImage
have only sector by sector cloning for Unix system, but I need
something
better.
Thanks for your help

Petr Muller
[EMAIL PROTECTED]



This question gets asked all most every month. You should check the
Questions archives before posting your questions.
From the archives


The question of using the Norton Ghost program to make an single
flat
image file of an hard drives partition containing FBSD has been
asked
many times on this list. UP until now the answer has all ways been
that
the benefits of using Ghost on a MS/win partition can not be
achieved
when used on a FBSD slice because the ghost created image file
contains all the unused space as well as the used space.

Jacob S. Barrett had the idea of zeroing out the unused space before
running ghost so ghost will compress all the zero filled space
resulting in an image file size and elapse run time comparable to
what
you would achieve on a MS/win partition. This is a great work
around.



Before running the Ghost program from native booted ms/dos you have
to run this command on FBSD before shutting FBSD down.


dd if=/dev/zero of=filler bs=1m ; rm filler


Below is the original thread



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dan
Nelson
 Sent: Friday, October 04, 2002 10:33 AM
 To: Jacob S. Barrett
 Cc: [EMAIL PROTECTED]
 Subject: Re: Block Zeroing Tool

 In the last episode (Oct 04, 2002), Jacob S. Barrett said:

Is there a tool for FreeBSD that zeros the unallocated blocks on a
filesystem?

The company I work for has an image on demand system for our lab
machines.  This system relies on ghost which only supports file by
file imaging on certain file systems.  I want to take disk images
of
certain FreeBSD installations.  Ghost will only take sector by
sector
images of FreeBSD partitions.  Since it is doing this it stores
all
the junk unused blocks as well.  This makes for a very large
image
even with high compression.  If I can zero out the unused blocks
before taking the image with high compression the image size
should
be much smaller.

So, is there utility to zero out those blocks?  Does this make
sense?
Is there a better way to take images of FreeBSD machines?



 dd if=/dev/zero of=filler bs=1m ; rm filler



 I also have tried to use ghost to make image backups of FBSD,
 but the image is the same size as the FBSD slice.
 Have you tested the solution posted above to zero out the unused
 disk space in the FBSD slice so ghost will only image bkup real
data?
 Did it work like you hoped?


Yes I have tested it,  and it works great.  Be sure to turn
compression
on to high to get the best results.  Here is what I saw after
zeroing
the unallocated blocks using the dd command.

FreeBSD partition size: 11G
Allocated space: 6G
Ghost image size: 3.4G

Before zeroing out the images on this box were between 8-9G.
Needless
to say our IT guy is much happier that my box isn't chewing up 9G
per
image on the system anymore.  And I am happy that imaging this
machine
only takes an hour now rather than 4.

-Jake

--
Jacob S. Barrett
[EMAIL PROTECTED]
www.amduat.net






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



simple question about remote kernel debugging with gdb

2002-12-13 Thread Jonas Bülow
Hi,

When doing remote kernel debugging, how to I detach the remote machine?
man ddb says the gdb command toggles between  remote GDB and DDB mode. The
problem is that once toggled to remote GDB, gdb won't accept gdb as a
command:

(kgdb) target remote /dev/cuaa0
Remote debugging using /dev/cuaa0

0xc0207d15 in osigreturn (p=0xc02487a9, uap=0x0)
at ../../i386/i386/machdep.c:803
803 vm86-vm86_eflags = eflags; /* save VIF, VIP */

(kgdb) gdb
Undefined command: gdb.  Try help.

So what is the simple solution to this problem?

Regards,
   Jonas





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



Re: hosting more than one website on a cable connection (DHCP)... and using BIND

2002-12-13 Thread Ken McGlothlen
Bsd Neophyte [EMAIL PROTECTED] writes:

| I have a cable connection that uses DHCP, giving me a lease for about 2
| minutes.  Usually the address stays the same, but at times it does change.
| 
| I want to host two domain names to start.  I also would like to have the
| possiblity to host more.  I will have only one changing IP.

Well, okay.  The trick (as you already know) is to have whatever is hosting
your DNS entries to automatically update.  You'll want to investigate at

http://www.dyndns.org/

to see which services are right for you.  This is probably the easiest way to
handle dynamic IP DNS.

| I also want to have subdomains.  I want each system at home to have a
| subdomain based on either one of the two domain's I'll have established.  So
| if I have blah.com as my primary domain, I want to be able to ssh to
| yadda.blah.com from any other location.  If I want to ssh to yawn.blah.com
| from any other location, it should be able to connect to that system,
| eventhough they are both sharing 1 ip address through Natting.

Uh . . . okay.

That's . . . trickier.

Having subdomains for your webservices is easily done.  You can set up virtual
webservers in Apache all day on the same box, and go nuts with it.  The reason
it works is because they're all sitting at the same port on the same machine,
and Apache is sensitive to what domain name was used to access it.  ssh, on the
other hand, isn't.  If yadda and yawn are separate machines, and they're
sitting behind a firewall, and you want to get to them via SSH, you're going to
have to have separate ports on the firewall which will redirect to port 22 on
the target boxes.  Make sense?

| I've been told I can use these free third party domain name servers.  I've
| also been told that you need to keep a record with at least 2 domain name
| servers when hosting a domain name.

I suspect that dyndns.org has backup DNS already.  :)  In general, though,
having a DNS server behind a dynamic IP is . . . pointless.  Having an internal
DNS for your own firewalled network makes perfect sense, but you can't expect
to have the outside world use it.

| Now, I'm completely confused if this can be done and if it can, then how
| to do it.

This can be done.  How . . . well, start with dyndns.org; you'll have to handle
that bit first.  The rest is just ipfw/natd (or ipfilter/ipnat), Apache, and a
few other tidbits.

| The FreeBSD handbook seems pretty straight-forward in setting up BIND. 
| However, I don't know how to distinguish more than one domain name when
| using only one IP address.

Separate zone files.  One might be

$TTL 1D
@   IN  SOA dnsi.blah.com. hostmaster.blah.com (
2002120501  ; serial
8H  ; 2ndary chk
2H  ; retry
1W  ; discard
1W  ; RR TTL
)
A   192.168.0.2
MX  10 mx.blah.com.
MX  20 mx.offsitebackupmx.com.
mx  A   192.168.0.2
yadda   A   192.168.0.2
yawnA   192.168.0.2
www CNAME   yadda
dnsiCNAME   yawn

and another would be

$TTL 1D
@   IN  SOA dnsi.feh.com. hostmaster.feh.com (
2002120501  ; serial
8H  ; 2ndary chk
2H  ; retry
1W  ; discard
1W  ; RR TTL
)
A   192.168.0.2
MX  10 mx.feh.com.
MX  20 mx.offsitebackupmx.com.
mx  A   192.168.0.2
scratch A   192.168.0.2
belch   A   192.168.0.2
www CNAME   scratch
dnsiCNAME   belch

All the names just point to the same place in this case.

| Also, is it possible for the home DNS and the third party DNS's to work in
| tandem?

Probably not in the way you're expecting.  With dynamic DNS, you're pretty much
going to be dependent on external services for others trying to reach your
site.  When you get a static IP, you can pretty much do whatever you need.


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



RE: I have samba stability problems under FreeBSD 4.7

2002-12-13 Thread Thomas Connolly
If the FreeBSD machine is set up as the primary domain controller, it needs
to be the network browser.  The windows machines by default, are set with
the Browse Master setting to ON.  They will compete for network browsing
with the FreeBSD machine and will force an election (which the FreeBSD
machine may be losing).  In windows 98, you can go to networking in Control
panel and click on Properties for File and Print sharing.  In Win2k and XP
go to Control Panel| Administrative Tools | Services.  Under services look
for Computer Browser and set this to manual.  I'm not sure if it will
solve your problem but I had some of the same problems and this worked for
me.

Good Luck

Thomas P. Connolly
Senior Development Engineer
Colorado Engineering Experiment Station Inc.
Phone: (970) 897-2711
Fax: (970) 897-2710
Email: [EMAIL PROTECTED]
 

-Original Message-
From: Christophe Simon [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 13, 2002 9:22 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: I have samba stability problems under FreeBSD 4.7


What can this cause, and how do i do this under windows ?


From: Thomas Connolly [EMAIL PROTECTED]
To: 'Christophe Simon' [EMAIL PROTECTED],   
[EMAIL PROTECTED]
Subject: RE: I have samba stability problems under FreeBSD 4.7
Date: Fri, 13 Dec 2002 08:44:41 -0700

Make sure your windows machined have their browse Master set to off or
manual for Win2K and XP.

Thomas P. Connolly
Senior Development Engineer
Colorado Engineering Experiment Station Inc.
Phone: (970) 897-2711
Fax: (970) 897-2710
Email: [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Christophe Simon
Sent: Friday, December 13, 2002 4:39 AM
To: [EMAIL PROTECTED]
Subject: I have samba stability problems under FreeBSD 4.7

Hi, i have stability problems with samba 3 under freebds 4.7.

I use samba to act as a PDC on a microsoft domain. The exact problem is 
that

the identification works perfectly at network startup, but 10 to 20 minutes
later, the identification with the same login + password fail. If i restart
network (/etc/netstart), it works perfectly again, and 10 to 20... and so
on.

I am new under FreeBSD, so i made a standard installation, and i installed
samba 3 through ftp server.

Does anyone had problems with samba under FreeBSD, and does any one have a
solution ?

Thanks !





_
MSN Messenger : discutez en direct avec vos amis !
http://www.msn.fr/msger/default.asp


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


_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp


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



chmod question

2002-12-13 Thread Jason L. Schwab
Heya Folks;

I came accross a file on a friend of mine's machine and
I was wondering how via chmod you could come up with the
follow permissions (ls -la on the file)

-rwx--s---

thanks much.

I tried doing chmod u+rwx and then g+s but then I get
-rwx--S--- and it does not work correctly. The idea
behind this is to have a shell script that can be
ran as suid by a group of people, but the actual
script code can not be seen.

Thanks.

-Jason


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



Re: Multiple Gateways/Load Balancing?

2002-12-13 Thread Jeff Penn
On Wed, Dec 11, 2002 at 05:01:45PM -0800, Octavian Hornoiu wrote:
 What is the process to set up a FreeBSD server as a router to use two 
 internet connections and dynamically assign workstations to the two 
 internet connections depending on load so that neither of the 
 connections get overly saturated at the expense of not using the other?

You need OSPF to load balance over equal cost routes.  Use gated or
sebra.

Jeff

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



I went to your pages-http://www.freebsd.org/projects/newbies.html

2002-12-13 Thread ShelleyBond
Hello.
85% of all Internet surfers are directed by search engines. Search Engines 
are the super powerful traffic solution on the Internet.

Your web site:  http://www.freebsd.org/projects/newbies.html

can be evaluated for FREE for its keyword placement in
the top twenty major search engines.  By evaluate, we mean taking
the search words that are important to your web site and checking
the results of those words in the top twenty search engines to
determine your web site's placement within those results.  We 
will create a report that displays the results, and then a
professional evaluator will look at your site to see if there is
any 'search engine hostile' content.  This valuable service is
simply free for you as our gift.

To take part in our free offer, simply click the link below:
http://blueskynite.com/form_s.html

I think you will be very surprised by the detail and results of our 
analysis.

If by some misunderstanding we sent this email, click reply and type 'take away' in 
the 
subject line.
 - Shelley Bond
Universal Endorsements


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



Re: chmod question

2002-12-13 Thread Dan Nelson
In the last episode (Dec 13), Jason L. Schwab said:
 Heya Folks;
 
 I came accross a file on a friend of mine's machine and I was
 wondering how via chmod you could come up with the follow
 permissions (ls -la on the file)
 
 -rwx--s---
 
 I tried doing chmod u+rwx and then g+s but then I get -rwx--S--- and
 it does not work correctly. The idea behind this is to have a shell
 script that can be ran as suid by a group of people, but the actual
 script code can not be seen.

When you do an ls, the setuid and executable bits get displayed on the
same character position.

  setuid  exec   char
  ==     
  0   0  -
  0   1  x
  1   0  S
  1   1  s

Try chmod u=rwx,g=sx.  This doesn't work, though, since setuid bits on
shell scripts do nothing.  The kernel actually executes shell scripts
as /bin/sh command, so the setuid bit is never checked.  Take a look
at the sudo utility, which will let you do what you want.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



ECN support

2002-12-13 Thread Parveen Patel
Hi,

Has someone implemented ECN support (end-node support in IP and TCP) in
FreeBSD?

Thanks,
-Parveen


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



Re: Whats the deal?

2002-12-13 Thread Giorgos Keramidas
On 2002-12-13 03:53, bryan cassidy [EMAIL PROTECTED] wrote:
 Well, I'm subscribed to the freebsd-questions mailing
 list with my POP e-mail account but for some reason my
 e-mails are not getting to the list. If someone could
 help me figure out why this is happening please Cc:
 [EMAIL PROTECTED] . Thanks in advance.

Are you getting some sort of error back when you try to post?


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



Re: Clone FreeBSD Partition

2002-12-13 Thread Gary Jennejohn
Jerry McAllister writes:
  
  Hi, 
  Is there any tool for cloning FreeBSD partiton with support fot FreeBSD fil
 e
  system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
  have only sector by sector cloning for Unix system, but I need something
  better.
  Thanks for your help
 
 Really, your best bet is dump(8)/restore(8).

If you don't need inode-per-inode cloning then try
/usr/ports/sysutils/cpdup.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


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



Re: layered file systems ...

2002-12-13 Thread Gary W. Swearingen
Marc G. Fournier [EMAIL PROTECTED] writes:

 That's kinda what I'm wondering ... is it just that nobody has updated the
 man page since '94 ... from looking at the sources, ther have been mods to
 it since then:

If you're referring to the manpage date which gets displayed with the
manpage, you can fugidaboudit; according to the mdoc manpage, it's the
date of authorship, which most read with an implied original.  I
complained to the doc people that this policy makes FreeBSD stuff look
unmaintained to casual users (at least).  You can guess the response.

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



questions

2002-12-13 Thread KvazaR

ðÒÉ×ÅÔÓÔ×ÕÀ ËÏÌÌÅËÔÉ× ÐÒÏÅËÔÁ FreeBSD.

  ðÉÛÅÔ ÷ÁÍ ÷ÉÔÁÌÉÊ, ÓÔÕÄÅÎÔ òÑÚÁÎÓËÏÊ òÁÄÉÏÔÅÈÎÉÞÅÓËÏÊ ÁËÁÄÅÍÉÉ.
÷ Ó×ÏÂÏÄÎÏÅ ÏÔ ÚÁÎÑÔÉÊ ×ÒÅÍÑ Ñ ÚÁÎÉÍÁÀÓØ ÉÚÕÞÅÎÉÅÍ ÓÅÔÅÊ É ×ÓÅÍ ÞÔÏ Ó
ÎÉÍÉ Ó×ÑÚÁÎÏ.
  îÅÄÁ×ÎÏ Ñ ÉÍÅÌ ×ÏÚÍÏÖÎÏÓÔØ ÓÔÏÌËÎÕÔØÓÑ É ÐÏÒÁÂÏÔÁÔØ Ó Unix FreeBSD
ver. 4.0 Release É ver. 4.5 . ðÒÉ ÕÓÔÁÎÏ×ËÅ, Ñ ÓÔÏÌËÎÕÌÓÑ Ó ÐÒÏÂÌÅÍÏÊ,
ÕÓÔÁÎÏ×ËÉ X-Window ÎÁ ÍÁÛÉÎÕ ÓÏ ×ÓÔÒÏÅÎÎÏÊ ×ÉÄÅÏ ËÁÒÔÅ ÎÁ ÂÁÚÅ i810
ÞÉÐÓÅÔÁ. ÷ ÂÁÚÅ, ÄÒÁÊ×ÅÒÏ× ×ÉÄÅÏ ËÁÒÔ, × ÍÅÎÀ ÎÁÓÔÒÏÊËÉ X-Window Ñ ÅÅ
ÎÅ ÎÁÛÅÌ, ×ÓÅ ÄÒÕÇÉÅ ÐÏÐÙÔËÉ, × ÔÏÍ ÞÉÓÌÅ Ó ÐÏÍÏÝØÀ ÎÁÓÔÒÏÅË Probe, ÎÉ
ÞÅÇÏ ÎÅ ÄÁÌÏ. ÷ ËÏÎÃÅ ËÁÖÄÏÊ ÐÏÐÙÔËÉ  ÓÉÓÔÅÍÁ ÕÓÔÁÎÏ×ËÉ ÓÏÏÂÝÁÅÔ ÞÔÏ
ÎÅ ÍÏÖÅÔ ÎÁÓÔÒÏÉÔØ ×ÉÄÅÏ ËÁÒÔÕ. ÷ Ó×ÑÚÉ Ó ÞÅÍ Õ ÍÅÎÑ Ë ÷ÁÍ ÎÅÓËÏÌØËÏ
×ÏÐÒÏÓÏ×:
   1) ÷ÏÚÍÏÖÎÁ ÌÉ ÕÓÔÁÎÏ×ËÁ ÔÁËÉÈ ×ÉÄÅÏ ËÁÒÔ Ó ÐÏÍÏÝØÀ ÕÓÔÁÎÏ×ÝÉËÁ ×
ÐÅÒÅÞÉÓÌÅÎÎÙÈ ×ÙÛÅ ×ÅÒÓÉÑÈ Unix'Á, ÉÌÉ ÉÈ ÎÁÄÏ ÕÓÔÁÎÁ×ÌÉ×ÁÔØ
ÄÏÐÏÌÎÉÔÅÌØÎÏ, × ÒÕÞÎÕÀ ÉÚ Shell'Á?
   2) åÓÌÉ ÎÅÔ, ÔÏ ÇÄÅ ÍÏÖÎÏ ÎÁÊÔÉ ÄÒÁÊ×ÅÒÙ ÐÏÄ ÜÔÕ ÉÎÔÅÇÒÉÒÏ×ÁÎÎÕÀ
×ÉÄÅÏ ËÁÒÔÕ, É ËÁË ÐÒÁ×ÉÌØÎÏ ÅÅ × ÄÁÌØÎÅÊÛÅÍ ÕÓÔÁÎÏ×ÉÔØ? é ÎÁÞÉÎÁÑ Ó
ËÁËÏÊ ×ÅÒÓÉÉ ÅÅ ÓÏÂÉÒÁÀÔÓÑ ×ËÌÀÞÉÔØ × ÏÓÎÏ×ÎÕÀ ÂÁÚÕ ÕÓÔÁÎÏ×ÝÉËÁ?


   ó Õ×ÁÖÅÎÉÅÍ, ÷ÉÔÁÌÉÊ.
  


  

-- 
Best regards,
 KvazaR  mailto:[EMAIL PROTECTED]



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



Netgraph / ng_fec / pseudo-device vlan

2002-12-13 Thread Mike Hogsett

I would like to know where I can find more netgraph documentation and
examples outside of the man pages.

I would also like to know if the pseudo-device vlan and interact with
netgraph and would be interested in anyone's experience with ng_fec.

Thanks!

 - Mike Hogsett

 P.S.  What I want to do is use ng_fec to combine two fxps then use the
   802.1Q trunking provided by the vlan support to sup-interface the
   combined fxps.


   fxp0\   /-vlan0
-??---vlan1
   fxp1/   \-vlan2
\-vlan3
 \-vlanN


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



UDMA on Via 686B

2002-12-13 Thread Josh Litherland
Found some references to a Via south bridge causing ICRC
errors and dropping UDMA-PIO a while back.  Is there a fix
for this issue ?  I'm still seeing it as of 4.7-Release
Generic kernel, on known good drives, cables, and mobos.

-- 
Josh Litherland ([EMAIL PROTECTED])
public key: temp123.org/fauxpas.pgp
fingerprint: CFF3 EB2B 4451 DC3C A053  1E07 06B4 C3FC 893D 9228

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



Re: OS comparison

2002-12-13 Thread Jud
On Fri, 13 Dec 2002 12:55:31 -0500, Lance Bland [EMAIL PROTECTED] wrote:



On Friday, December 13, 2002, at 12:07 PM, Jud wrote:


Largest collection of reviews, links, etc. I know of, a bit outdated now 
but still fascinating:

http://tunes.org/Review/OSes.html

Also check out their reviews/links re various programming languages:

http://tunes.org/Review/Languages.html

hi-

you said they are outdated, but the information on Objective-C is 
severely lacking (it has been around for ~16 years), the link is bad, it 
is not MIA; and the Mac OS X O.S. info is lacking, and doesn't make 
mention of the fact that it uses a lot of FreeBSD stuff.

I only looked at the pages for a few seconds, so I could be wrong...

Nope, you're right.  I offered the Tunes.org site more as one of the best 
beginnings I know for that game we've all played, Follow-the-Links, than as 
an authority in itself.

I suppose that OSNews ( http://www.osnews.com ) is another fun starting 
point for information on a variety of OSs, mostly Win, Lin, *BSD, OSX and 
BeOS-related.  It's right up-to-date, but again all this material will 
certainly have a point-of-view.  If you're looking for objectivity, then 
heck, I'm stuck.

--
Jud

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


Re: Clone FreeBSD Partition

2002-12-13 Thread Warren Block
On Fri, 13 Dec 2002, Muller Petr wrote:

 Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 have only sector by sector cloning for Unix system, but I need something
 better.

http://www.partimage.org

Supports UFS/FFS, although I have only used it with FAT32.  A port to
FreeBSD would be nice, and it's on my list to try, but not at the top.  
In the meantime, I use the RIP-52 Linux CD image from here:

http://www.tux.org/pub/people/kent-robotti/looplinux/rip/

-Warren Block * Rapid City, South Dakota USA


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



is there a way of configurind freebsd.m4?

2002-12-13 Thread Gary Kline


Okay, I give up; can't figure it out.


Whenever I leave ^Dj blank, sendmail writes my mail from
this host as [EMAIL PROTECTED] rathen than 
[EMAIL PROTECTED].  This host is part of my private net and 
some ste bounce mail back to me.


# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Dj


When I use this define, sendmail writes my From address the
way I want and mail works.

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Djthought.org


Digging into the top layers of the contributed sendmail src 
to try t define my own DOMAIN() but no joy.  Is there a way of
modifying freebsd.mc to set the domain to thought.org?

thanks for any clues,

gary



-- 
Gary Kline  Seattle FBSD Users' Group (seafug)  | [EMAIL PROTECTED]
Thought Unlimited Org   | [EMAIL PROTECTED]
http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant


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



Re: is there a way of configurind freebsd.m4?

2002-12-13 Thread Matthew Seaman
On Fri, Dec 13, 2002 at 04:16:47PM -0800, Gary Kline wrote:

   Whenever I leave ^Dj blank, sendmail writes my mail from
   this host as [EMAIL PROTECTED] rathen than 
   [EMAIL PROTECTED].  This host is part of my private net and 
   some ste bounce mail back to me.
 
 
 # my official domain name
 # ... define this only if sendmail cannot automatically determine your domain
 Dj
 
 
   When I use this define, sendmail writes my From address the
   way I want and mail works.
 
 # my official domain name
 # ... define this only if sendmail cannot automatically determine your domain
 Djthought.org
 
 
   Digging into the top layers of the contributed sendmail src 
   to try t define my own DOMAIN() but no joy.  Is there a way of
   modifying freebsd.mc to set the domain to thought.org?

define(`confDOMAIN_NAME', `thought.org')dnl

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Dell I8K Screen Blanking (fn+d)

2002-12-13 Thread Matt Rickard
I'm running FreeBSD 4.7 on my Dell Inspiron 8000.  On the I8K, one of
the function sequences, Fn+D, turns off your screen.  

The problem is, when I hit Fn+D, the screen will momentarily go blank,
then within a second or so it will again come back.

Anyone have any ideas on what I can do to get this blanking to work
properly?  Is there some kernel option I need to change?  I'm using
GENERIC right now.

As a side note, this blanking works as expected in NetBSD and Linux.  What
is it that FreeBSD is doing differently?

Matt

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



Re: USB Mass Storage device

2002-12-13 Thread Bernd Walter
On Sat, Dec 14, 2002 at 07:31:00AM +0800, Seo Boon, NG wrote:
 |  Do you have /dev/usb* entries for all usb channels?
 
 I don't seems to have all the usb* entry. Sorry I'm unfamiliar with usb setup,
 any idea how do I get it fixed? Thanks.

cd /dev  sh MAKEDEV usb1 usb2

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


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



Re: maxusers and random system freezes

2002-12-13 Thread Terry Lambert
Nate Lawson wrote:
 On Wed, 4 Dec 2002, Terry Lambert wrote:
  useful documentation; otherwise, I would have published what I
  wrote in Pentad Embedded Systems Journal already (example: the
^^^

 I appreciate some of the info you give.  But every time you reference a
 proper noun (person, journal, etc.), Google only gives results of you
 talking about it in FreeBSD list archives!  See also freebsd mitre
 netbeui

 What kind of conclusion is one to draw from that?

I'm a consistent speller?

Pentad - Penton

Sorry about that...

-- Terry

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



CVS

2002-12-13 Thread Philip M. Gollucci
I want to send 1 E-Mail for each commit to my cvs repositories to 
any number of addresses.

I know I can use the freebsd code.
What of this do I need to do _only_ this ?

I kind of linked syncmail-1.0, but it must be a shell or PERL solution. 
Not python.

cvs -q co -R CVSROOT
cd CVSROOT
ls -l

drwxr-xr-x  2 philip  wheel  -512 Dec 11 02:19:07 2002 CVS/
-rw-r--r--  1 philip  wheel  -   2484 Oct 24 10:21:37 2002 access
-rw-r--r--  1 philip  wheel  -662 Nov 10 17:10:29 2002 avail
-rwxr-xr-x  1 philip  wheel  -   8961 Dec 13 09:33:45 2001 cfg.pm*
-rw-r--r--  1 philip  wheel  -   2629 Oct 13 23:25:06 2002 cfg_local.pm
-rw-r--r--  1 philip  wheel  -937 Aug 18 22:40:25 2002 checkoutlist
-rwxr-xr-x  1 philip  wheel  -   8114 Aug 31 06:07:42 2002
commit_prep.pl*
-rwxr-xr-x  1 philip  wheel  -   1877 Oct 13 23:25:06 2002 commitcheck*
-rw-r--r--  1 philip  wheel  -868 Dec 13 09:33:45 2001 commitinfo
drwxr-xr-x  3 philip  wheel  -512 Dec 11 02:19:07 2002 commitlogs/
-rw-r--r--  1 philip  wheel  -594 Aug 30 21:32:19 2001 config
-rwxr-xr-x  1 philip  wheel  -   7768 Jul 22 17:24:29 2002 cvs_acls.pl*
-rw-r--r--  1 philip  wheel  - 27 Jan  6 18:12:32 2000 cvsignore
-rw-r--r--  1 philip  wheel  -   1062 Aug 28 11:30:59 2000 cvswrappers
-rwxr-xr-x  1 philip  wheel  -  10719 Dec 13 09:33:45 2001 edithook*
-rw-r--r--  1 philip  wheel  -   1200 Aug 30 21:32:19 2001 editinfo
-rw-r--r--  1 philip  wheel  -   1552 Dec  4 16:40:07 2002 exclude
drwxr-xr-x  3 philip  wheel  -512 Dec 11 02:19:07 2002 freebsd/
-rwxr-xr-x  1 philip  wheel  -  21410 Aug 18 23:01:17 2002 log_accum.pl*
-rwxr-xr-x  1 philip  wheel  -   3664 Dec 24 15:00:18 2001 logcheck*
-rw-r--r--  1 philip  wheel  -   1251 Aug 30 21:32:19 2001 loginfo
-rw-r--r--  1 philip  wheel  - 297449 Dec  9 00:25:29 2002 modules
-rw-r--r--  1 philip  wheel  -633 Aug 27 22:46:57 1999 notify
-rw-r--r--  1 philip  wheel  - 41 Sep  7 08:13:43 1999 options
-rw-r--r--  1 philip  wheel  -756 Aug 27 22:46:57 1999 rcsinfo
-rw-r--r--  1 philip  wheel  -660 Aug 17 16:53:57 2001 rcstemplate
-rwxr-xr-x  1 philip  wheel  -561 Oct  8 00:58:46 2002 tagcheck*
-rw-r--r--  1 philip  wheel  -983 Aug 27 22:46:57 1999 taginfo
-rwxr-xr-x  1 philip  wheel  -425 Aug 27 22:46:57 1999 unwrap*
-rw-r--r--  1 philip  wheel  -   1168 Aug 27 22:46:57 1999 verifymsg
-rwxr-xr-x  1 philip  wheel  -824 Aug 27 22:46:57 1999 wrap*




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



Re: Clone FreeBSD Partition

2002-12-13 Thread Warren Block
On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:

 On Friday, 13 December 2002 at 11:44:16 +0100, Muller Petr wrote:
  Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
  system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
  have only sector by sector cloning for Unix system, but I need something
  better.
 
 What do you mean by better?  What's the purpose of the clone?

Ghost copies every block of partitions with filesystems it doesn't
understand.

-Warren Block * Rapid City, South Dakota USA


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



Re: Clone FreeBSD Partition

2002-12-13 Thread Greg 'groggy' Lehey
On Friday, 13 December 2002 at 17:38:42 -0700, Warren Block wrote:
 On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:

 On Friday, 13 December 2002 at 11:44:16 +0100, Muller Petr wrote:
 Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 have only sector by sector cloning for Unix system, but I need something
 better.

 What do you mean by better?  What's the purpose of the clone?

 Ghost copies every block of partitions with filesystems it doesn't
 understand.

So does dd.  But that's pretty much what he said he didn't want to do.

Greg
--
See complete headers for address and phone numbers

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



Re: CVS

2002-12-13 Thread Matthew D. Fuller
On Fri, Dec 13, 2002 at 07:34:25PM + I heard the voice of
Philip M. Gollucci, and lo! it spake thus:
 I want to send 1 E-Mail for each commit to my cvs repositories to 
 any number of addresses.

Try the package I wrote for it.
http://www.over-yonder.net/~fullermd/projects/cvsmail/



-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet

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



How to get best results from FreeBSD-questions

2002-12-13 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update 3 September 1999

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters specifically for people 

The Complete FreeBSD, third edition: errata and addenda

2002-12-13 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the third edition, formatted  on  17  May  1999.   You'll  find  this
information  on  page  iv  (the  page  before  the  beginning  of  the Table of
Contents).  See the end of this document for instructions on how  to  find  the
errata for an older version.

You can get the current document in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third  edition
  to  find  out  how  to print out PostScript.  If at all possible, please take
  this document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-3.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

Page ii
___

The instructions on page ii (opposite the title  page)  tell  you  to  look  at
ftp://ftp.lemis.com/pub/cfbsd/errata-2  for  the  errata  list.   That's wrong.
Look at this list.

Pages 190 and 191
_

The description is not very clear about which text appears  when  booting  from
floppy  for  initial  install,  and  which  appears when booting normally.  The
procedure is very similar, but there are some differences.  Add  the  following
text after the heading Boot messages:

You'll  boot  your system in at least two different ways: initially you'll boot
from floppy or CD-ROM in order to install the system.  Later, after the  system
is  installed,  you'll boot from hard disk.  The procedure is almost identical,
so we'll look at both versions in the following examples.

Replace the text from the middle of page 191 with:

If you're booting from 1.44 MB floppies, you will then see:

Please insert MFS root floppy and press enter:

When you insert the MFS root floppy and press  Enter,  you  see  more  twirling
batons, then the UserConfig screen appears.

UserConfig: Modifying the boot configuration


After  the  kernel has been loaded, the following screen will appear if you are
installing the system, or if you have requested it with the -c  option  to  the
boot loader:

Page 206


The  bottom  two lines on this page should be in bold constant font, indicating
that this is input for your /etc/rc.config file


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


nfs_client_enable=YES   # This host is an NFS client (or NO).
nfs_server_enable=YES   # This host is an NFS server (or NO).


Page 265


The example on the second half of the page refers to the old SCSI driver.   The
scsi  program  is  no  longer  available  in  FreeBSD  3.x.   Instead,  use the
camcontrol program.  Replace the text with:.

Modern disks make provisions for recovering from such errors by  allocating  an
alternate sector for the data.  IDE drives do this automatically, but with SCSI
drives you have the option of enabling or disabling reallocation.   Usually  it
is  turned on when you buy them, but occasionally it is not.  When installing a
new disk, you should check that the parameters  ARRE  (Auto  Read  Reallocation
Enable)  and AWRE (Auto Write Reallocation Enable) are turned on.  For example,
to check and set the values for disk da1, you would enter:

# camcontrol modepage da1 -m 1 -e -P 3
# scsi -f /dev/rda1c -m 1 -e -P 3

This command will start up your favourite editor (either the one  specified  in
the EDITOR environment variable, or vi by default) with the 

cdrdao

2002-12-13 Thread J. Scott Edwards

I tried to install the cdrdao port (4.7 release) and it was locked because
of licensing issues.  I looked at the home page for cdrdao and it said the
licensing issues have been resolved.  Is there a way to unlock the port
or update it?

Also I am trying to use cdrdao as a replacement for cdaranoia, can it read
individual audio tracks into .wav files?

Thanks
  -Scott



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



guaranteed refurbished semiconductor manufacturing equipment

2002-12-13 Thread me
J.M. Industries
  55 High St.   Bld #7 North Billerica  MA 01862
  Phone (978) 663-5376 Fax (978) 663-5433

Dear Fellow Engineers,

J.M. Industries has been serving universities and high tech electronic
manufacturers worldwide for 20 years,  providing guaranteed refurbished
semiconductor manufacturing equipment.

We specialize in manual/prototype machines and have the
technical experience needed to help students or  first time users to operate them.
If you would like to visit our website, please click on www.jmind.com


Sincerely,

J Stabile
B.S. EE, UMass Lowell, 1984



If you wish to be removed from our mailing list that is sent out
once or twice weekly,  listing recent arrivals, equipment available
or equipment needed,  please accept our apologies for the
inconvenience and respond to this email with the word
REMOVE (IN THE SUBJECT ).

If you have multiple email addresses,  that forward to your address,
please respond with MULTIPLE ADDRESSES in the subject,
followed by all addresses in the body to make sure we don't inadvertently
email you again.



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



Re: Clone FreeBSD Partition

2002-12-13 Thread Warren Block
On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:

 On Friday, 13 December 2002 at 17:38:42 -0700, Warren Block wrote:
  On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:
 
  What do you mean by better?  What's the purpose of the clone?
 
  Ghost copies every block of partitions with filesystems it doesn't
  understand.
 
 So does dd.  But that's pretty much what he said he didn't want to do.

Right.  Better would be a program that understands the filesystem and
*doesn't* copy unused blocks.  Partimage is like that.

-Warren Block * Rapid City, South Dakota USA


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



rewriting with sendmail...

2002-12-13 Thread Gary D Kline

Can anybody clue me in on how-to tweak /etc/mail/sendmail.cf
to change my address from tao.thought.org to simply
thought.org?

Some mail I send from this host ('tao') bounces instantly
because the remote site sees my private IP.

Clues or ideas?

gary


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


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



uninformed qstn...

2002-12-13 Thread Gary D Kline

Hi People,
Before I (potentially) throw aay some bills, I thought I'd
ask the hardware-savvy if there is any appreciable difference
between makes of hubs.

After 5 years I am getting ready to move up to a 10/100 RJ-45
hub.  I've got  a 5-port Linksys (always had good luckwith
Linksys); thinking of buying an 8-port 10/100 Linksys for 
around $50.   Would buying a non-name-brand clone do the same
job?

(signed)
Wondering-in-Washington.

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


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



Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Greg 'groggy' Lehey
On Thursday, 12 December 2002 at 22:07:19 -0800, Gary D Kline wrote:

   Hi People,
   Before I (potentially) throw aay some bills, I thought I'd
   ask the hardware-savvy if there is any appreciable difference
   between makes of hubs.

   After 5 years I am getting ready to move up to a 10/100 RJ-45
   hub.  I've got  a 5-port Linksys (always had good luckwith
   Linksys); thinking of buying an 8-port 10/100 Linksys for
   around $50.   Would buying a non-name-brand clone do the same
   job?

I've seen little difference.  But DONT BUY A HUB!  Buy a switch
instead.  They'll give you better performance, and they hardly cost
any more.

I have three switches in my network: a Cisco 2900 (24 ports), a
Netgear FS105 (5 ports) and a D-Link DSS-8+ (8 ports), in rapidly
decreasing order of cost.  I've never had any trouble with any of
them.  It's possible that the cheap switches might have trouble with
sustained throughput: an 8 port 100 Mb/s switch can theoretically be
confronted with a load of 800 Mb/s.  I believe the D-Link can do this
speed, though I can't find the docco.  No 100 Mb/s hub will have a
bandwidth of more than 100 Mb/s, however, and even that is limited by
collisions.

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

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



Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Tillman
On Sat, Dec 14, 2002 at 02:11:31PM +1030, Greg 'groggy' Lehey wrote:
 I've seen little difference.  But DONT BUY A HUB!  Buy a switch
 instead.  They'll give you better performance, and they hardly cost
 any more.

Great advice. It looks like Cisco has even stopped listing hubs for sale
- layer two switching seems to firmly in control these days :-)

 I have three switches in my network: a Cisco 2900 (24 ports), a
 Netgear FS105 (5 ports) and a D-Link DSS-8+ (8 ports), in rapidly
 decreasing order of cost.  I've never had any trouble with any of
 them.  It's possible that the cheap switches might have trouble with
 sustained throughput: an 8 port 100 Mb/s switch can theoretically be
 confronted with a load of 800 Mb/s.  I believe the D-Link can do this
 speed, though I can't find the docco.  No 100 Mb/s hub will have a
 bandwidth of more than 100 Mb/s, however, and even that is limited by
 collisions.

It's even worse than that. With full duplex being common, that switch
could theoretically have to cope with 1600Mb/s. For $50, the fact that
they do so fairly reliably is amazing.

- Tillman

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

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



Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Kevin Stevens

On Friday, Dec 13, 2002, at 19:41 US/Pacific, Greg 'groggy' Lehey wrote:


I have three switches in my network: a Cisco 2900 (24 ports), a
Netgear FS105 (5 ports) and a D-Link DSS-8+ (8 ports), in rapidly
decreasing order of cost.  I've never had any trouble with any of
them.  It's possible that the cheap switches might have trouble with
sustained throughput: an 8 port 100 Mb/s switch can theoretically be
confronted with a load of 800 Mb/s.


1,600 Mb/s.


 I believe the D-Link can do this
speed, though I can't find the docco.  No 100 Mb/s hub will have a
bandwidth of more than 100 Mb/s, however, and even that is limited by
collisions.


I saw a test a few months ago of several low-end switches, and they 
were all non-blocking with similar performance.  Pretty much a 
commodity item at this point.

KeS


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


Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Scott Robbins
On Fri, Dec 13, 2002 at 09:48:50PM -0600, Tillman wrote:
 On Sat, Dec 14, 2002 at 02:11:31PM +1030, Greg 'groggy' Lehey wrote:
  I've seen little difference.  But DONT BUY A HUB!  Buy a switch
  instead.  They'll give you better performance, and they hardly cost
  any more.
 
 Great advice. It looks like Cisco has even stopped listing hubs for sale
 - layer two switching seems to firmly in control these days :-)

The price difference has really become almost non-existent--one thing
that we've found to happen with some cheap switches (a year or so old,
hasn't happened with newer cheap switches) is that if one moves a computer
from one location to another, the switch seems to take its time flushing
its tables and the box won't immediately be able to get an address.
It's only happened once or twice with a VERY cheap Linksys (again, the
switch is probably 1-2 years old, and this problem might be fixed by
now).

I should also add that we never fully determined that was the
problem--it was usually a matter of trying this and that and eventually
the box would get an address and only afterwards did we think of the
switch as the culprit.

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Gunn: Fair Cordelia. You still savin' my life?
Cordelia: Every minute.
Gunn: How's that workin' out?
Cordelia: You're alive aren't you?



msg12034/pgp0.pgp
Description: PGP signature


IMP3 webmail + apache

2002-12-13 Thread Doug Reynolds
Does anyone know of any really good faqs to setup imp3 webmail with
apache?

---
doug reynolds | the maverick | [EMAIL PROTECTED]



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



Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Doug Reynolds
On Fri, 13 Dec 2002 23:05:57 -0500, Scott Robbins wrote:

On Fri, Dec 13, 2002 at 09:48:50PM -0600, Tillman wrote:
 On Sat, Dec 14, 2002 at 02:11:31PM +1030, Greg 'groggy' Lehey wrote:
  I've seen little difference.  But DONT BUY A HUB!  Buy a switch
  instead.  They'll give you better performance, and they hardly cost
  any more.
=20
 Great advice. It looks like Cisco has even stopped listing hubs for sale
 - layer two switching seems to firmly in control these days :-)

The price difference has really become almost non-existent--one thing
that we've found to happen with some cheap switches (a year or so old,
hasn't happened with newer cheap switches) is that if one moves a computer
from one location to another, the switch seems to take its time flushing
its tables and the box won't immediately be able to get an address.
It's only happened once or twice with a VERY cheap Linksys (again, the
switch is probably 1-2 years old, and this problem might be fixed by
now).

I should also add that we never fully determined that was the
problem--it was usually a matter of trying this and that and eventually
the box would get an address and only afterwards did we think of the
switch as the culprit.

I just picked up two Dell PowerConnect 2016 (16 port 10/100
autosensing) for $99 a piece on sale from dell.  they are
rack-mountable and seem to work well, and has uplink autosensing.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



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



Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Mike Hogsett

 I saw a test a few months ago of several low-end switches, and they 
 were all non-blocking with similar performance.  Pretty much a 
 commodity item at this point.

On refelection, makes me wonder why I spent $5000 on Cisco 2900 switches 5
years ago.

 - Mike



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



Re: uninformed qstn...

2002-12-13 Thread Brian
I would not buy a hub, 8 port unmanaged switches are under a hundred bucks
now.

Brian

- Original Message -
From: Gary D Kline [EMAIL PROTECTED]
To: FreeBSD Mailing List [EMAIL PROTECTED]
Sent: Thursday, December 12, 2002 10:07 PM
Subject: uninformed qstn...



 Hi People,
 Before I (potentially) throw aay some bills, I thought I'd
 ask the hardware-savvy if there is any appreciable difference
 between makes of hubs.

 After 5 years I am getting ready to move up to a 10/100 RJ-45
 hub.  I've got  a 5-port Linksys (always had good luckwith
 Linksys); thinking of buying an 8-port 10/100 Linksys for
 around $50.   Would buying a non-name-brand clone do the same
 job?

 (signed)
 Wondering-in-Washington.

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


 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: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Brian
yeah that was in pc magazine, they divided em up into lo medium and hi
priced categories as well..

Bri

- Original Message -
From: Kevin Stevens [EMAIL PROTECTED]
To: FreeBSD Mailing List [EMAIL PROTECTED]
Sent: Friday, December 13, 2002 7:57 PM
Subject: Re: Hubs and switches (was: uninformed qstn...)



 On Friday, Dec 13, 2002, at 19:41 US/Pacific, Greg 'groggy' Lehey wrote:

  I have three switches in my network: a Cisco 2900 (24 ports), a
  Netgear FS105 (5 ports) and a D-Link DSS-8+ (8 ports), in rapidly
  decreasing order of cost.  I've never had any trouble with any of
  them.  It's possible that the cheap switches might have trouble with
  sustained throughput: an 8 port 100 Mb/s switch can theoretically be
  confronted with a load of 800 Mb/s.

 1,600 Mb/s.

   I believe the D-Link can do this
  speed, though I can't find the docco.  No 100 Mb/s hub will have a
  bandwidth of more than 100 Mb/s, however, and even that is limited by
  collisions.

 I saw a test a few months ago of several low-end switches, and they
 were all non-blocking with similar performance.  Pretty much a
 commodity item at this point.

 KeS


 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: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Greg 'groggy' Lehey
On Friday, 13 December 2002 at 21:48:50 -0600, Tillman wrote:
 On Sat, Dec 14, 2002 at 02:11:31PM +1030, Greg 'groggy' Lehey wrote:
 I've seen little difference.  But DONT BUY A HUB!  Buy a switch
 instead.  They'll give you better performance, and they hardly cost
 any more.

 Great advice. It looks like Cisco has even stopped listing hubs for sale
 - layer two switching seems to firmly in control these days :-)

 I have three switches in my network: a Cisco 2900 (24 ports), a
 Netgear FS105 (5 ports) and a D-Link DSS-8+ (8 ports), in rapidly
 decreasing order of cost.  I've never had any trouble with any of
 them.  It's possible that the cheap switches might have trouble with
 sustained throughput: an 8 port 100 Mb/s switch can theoretically be
 confronted with a load of 800 Mb/s.  I believe the D-Link can do this
 speed, though I can't find the docco.  No 100 Mb/s hub will have a
 bandwidth of more than 100 Mb/s, however, and even that is limited by
 collisions.

 It's even worse than that. With full duplex being common, that switch
 could theoretically have to cope with 1600Mb/s. 

Not really.  I had already taken that into account.  With half duplex,
only half of the ports can be sending at any one time :-)

 For $50, the fact that they do so fairly reliably is amazing.

Yes, I'm quite impressed too.

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

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



Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Greg 'groggy' Lehey
On Friday, 13 December 2002 at 23:05:57 -0500, Scott Robbins wrote:
 On Fri, Dec 13, 2002 at 09:48:50PM -0600, Tillman wrote:
 On Sat, Dec 14, 2002 at 02:11:31PM +1030, Greg 'groggy' Lehey wrote:
 I've seen little difference.  But DONT BUY A HUB!  Buy a switch
 instead.  They'll give you better performance, and they hardly cost
 any more.

 Great advice. It looks like Cisco has even stopped listing hubs for sale
 - layer two switching seems to firmly in control these days :-)

 The price difference has really become almost non-existent--one thing
 that we've found to happen with some cheap switches (a year or so old,
 hasn't happened with newer cheap switches) is that if one moves a computer
 from one location to another, the switch seems to take its time flushing
 its tables and the box won't immediately be able to get an address.
 It's only happened once or twice with a VERY cheap Linksys (again, the
 switch is probably 1-2 years old, and this problem might be fixed by
 now).

This is probably a feature, not a bug.  It's part of the spanning tree
algorithm used to detect and avoid link-level routing loops.  My
expensive Cisco switch has the same feature, but I found somebody with
enough Cisco-foo to turn it off.  Check the documentation of your
switch.

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

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



Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Kevin Stevens

On Friday, Dec 13, 2002, at 20:08 US/Pacific, Mike Hogsett wrote:




I saw a test a few months ago of several low-end switches, and they
were all non-blocking with similar performance.  Pretty much a
commodity item at this point.


On refelection, makes me wonder why I spent $5000 on Cisco 2900 
switches 5
years ago.

That was then; this is now.  ;)

KeS


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



  1   2   >