Re: Backing up Samba share to USB jump drive?

2007-05-09 Thread Roland Smith
On Wed, May 09, 2007 at 06:10:53PM -0700, L Goodwin wrote:
> Here's another round of dumb questions for ya:
> 
> Can USB jump drives be used to back-up a Samba share?
> If so, what do I need to do to prepare the USB drive
> to accept files? 
> Since I don't really need to compress or encrypt, I
> was thinking about simply copying the entire directory
> tree using the cp command, instead of using dump, tar,
> cpio.

If you don't want to save multiple versions of the same tree (from
different dates), you could use rsync. It might be a lot quicker than cp
because it skips files that haven't changed since the last backup.

But unless your collection of files is almost as large as the USB drive,
I would keep saving backups of different dates (with tar & gzip) until
you run out of space and have to start deleting older backups.

> Will this work, and is it a "good idea"?

Certainly.
 
> The filesystem to be backed up is a single common UFS
> shared via Samba. All PC users have access to the same
> set of files (no user-specific directories). The files
> to be backed up are Word, Excel, PDF, etc.
> 
> I don't want to buy the drives until I know if it will
> work and how to do it. Do I need to UFS format the
> drives? I assume the drive will have to be mounted
> like any other drive...

Reformatting as UFS seems a good idea. Most drives come with a FAT32
filesystem, which has to use large clusters (16 or 32k) on bigger
drives. This can waste a lot of space if you're backing up lots of small
files. Have a look at http://en.wikipedia.org/wiki/File_Allocation_Table#FAT32

Additionally, you'll have to recompile the kernel to support FAT32
filesystems >128GB, IIRC.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpHjgR7IF74A.pgp
Description: PGP signature


Re: macbook pro support

2007-05-09 Thread George Iordanou
On 2007-05-09 19:14, Eric Crist <[EMAIL PROTECTED]> wrote:
> AFAIK, the Macbook information will work exactly the same on a Pro  
> model.  There's no real core-level differences between the Pro and  
> non-Pro systems.

Thanks a lot Eric.

You are probably right, the main differences between the two models is
the graphics card (intel opposed to ati radeo of the pro), xorg
configuration (which can be found by linux projects, such as gentoo
etc). The actual core is the same, in the end of the day they have the
same processor (at different speeds of course).

Is there any tutorial/howto to suggest beside the one [*] i found?

George


[*] http://goddess-gate.com/dc2/index.php/post/251-FreeBSD-on-MacBook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WOW! {Or Holy whatever}

2007-05-09 Thread Garrett Cooper

Eric Crist wrote:

On May 9, 2007, at 8:34 PMMay 9, 2007, Gary Kline wrote:


On Wed, May 09, 2007 at 07:18:52PM -0500, Eric Crist wrote:


Gary,

Most cards that might come with DVI output instead of the standard
VGA output usually include at least one DVI-VGA adapter, an
additional one could be purchased at most computer retailers or your
local Radio Shack.

HTH



It does help, thanks, Eric.  I may have missed the cord adaptor
that was stuck in the box.  Need help to open/check.  Meanwhile,
I need to look at the specs for this Dell 8200 to see what kind
of card is in there.  What's there is a jack with two rows of
sockets.  I'm guessing this is the standard Dell "DVI" connector,
yes, no, other? :-)

Also, in your opinion, since I'm not a gamer and just want to
display at extreme most 1600x1200, do I need anything seriously
upscale?  I've seen and skipped past lots of questions about lots
of drivers.  So let's say that I went totally ape and bought some
AGP card with 256M of memory:: do we have a driveer for those
kinds of very high end cards?

thanks again,

gary

PS:  Does anybody know of a website that 'splains VGA, SVGA,
 EVGA, and all the rest?  I've been seriously guilty of being
 lazy; I'm fessing up!  



Gary,

A DVI connector has 3 rows of 8 pins and a set of 4 hole is a box shape 
next to it:


++
|  o o o o o o o o  o|o  |
|  o o o o o o o o --+-- |
 \ o o o o o o o o  o|o /
  ++

There's also a mini-DVI format that's kinda like this:

+-+
| o o o o o o o o||
| o o o o o o o o||
 `---'

I'm sure you know what a VGA connector looks like, so I won't draw that 
for you. ;)


At work, we're using the GeForce 7600 GS AGP cards, which have 256MB of 
RAM and dual DVI output.  We're using the FreeBSD Binary driver 
(available in ports) and running dual monitors with full Open GL support 
pretty seamlessly.  I'd recommend that setup to anyone.  It's a feature 
called Twinview which allows your desktop to span multiple monitors, and 
most programs that support xinerama(sp?) are 'aware' of the physical 
border between monitors, so you don't end up with windows popping up 
spanning both monitors. (i.e. maximize doesn't cross both monitors, just 
one).


HTH

Eric Crist


Eric,
	That's one flavor of DVI; memory serves me correctly there were 2: 
I-DVI and some other kind (I think the one you have pictured above is 
I-DVI).
	I gave my old box to Gary, it's an HDMI ATI 7000 series card, and the 
card has an HDMI to Dual VGA plug along with it. I forgot that all the 
items were still in the box (did that to ensure that everything was put 
in the box and made it through shipping all right).
	Anyhow, getting back to the video thing at hand, if Gary was to 
purchase a card he should purchase an nVidia card. It's the only brand 
with OpenGL support properly enabled in Linux and FreeBSD. 5000-6000 
series would be sufficient.

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


Re: WOW! {Or Holy whatever}

2007-05-09 Thread jdow

From: "Gary Kline" <[EMAIL PROTECTED]>


On Wed, May 09, 2007 at 07:18:52PM -0500, Eric Crist wrote:

On May 9, 2007, at 6:09 PMMay 9, 2007, Gary Kline wrote:

>On Wed, May 09, 2007 at 03:09:09PM -0700, Gary Kline wrote:
>>
>> I asked somebody directly, but I may as well ask the entire list.
>> I'm looking for a video-card.   The more recent mobo's (like the
>> i815) have them builtin.  My 750MHz machine uses the SRAM for
>> its v-RAM.  My old Kayaks came with Matrox Millennium 8MB video
>> card that give me Plenty of resolution under xorg.  I just did a
>> web search and find an "AGP" card for seriously cheap with 256MB
>> of memory.  It's an "eVGA e-GeForce FX5500"   Whatever!
>>
>> I'm no gamer (but just-might-wanna play some auto racing games).
>> All I care about is a) that the card fits by KVM plug with a
>> three-row pinout, and of course, b), that FBSD has a driver for
>> this card.   All of my computers have this 3-row male pin,
>> so need a 3-row female jack/socket.
>>
>
> Ok, I found the type of connnector or jack or socket I need.
> It is an HD15 "15 pin high denisity D-SUB female connector" with
> sockets 1 to 5 on the first row, 6 thru 10, 2nd, 11 to 15 on the
> bottom.  This on http://pinouts.ru.  VGA.
>
> I'll google aroubd further, but still would be much obliged for
> input from anybody ... .
>
> gary
>

Gary,

Most cards that might come with DVI output instead of the standard  
VGA output usually include at least one DVI-VGA adapter, an  
additional one could be purchased at most computer retailers or your  
local Radio Shack.


HTH



It does help, thanks, Eric.  I may have missed the cord adaptor 
that was stuck in the box.  Need help to open/check.  Meanwhile, 
I need to look at the specs for this Dell 8200 to see what kind

of card is in there.  What's there is a jack with two rows of
sockets.  I'm guessing this is the standard Dell "DVI" connector,
yes, no, other? :-)


It is not a cord adapter. It is a solid piece not much bigger than
the connector on the end of a VGA cord.


Also, in your opinion, since I'm not a gamer and just want to
display at extreme most 1600x1200, do I need anything seriously 
upscale?  I've seen and skipped past lots of questions about lots

of drivers.  So let's say that I went totally ape and bought some
AGP card with 256M of memory:: do we have a driveer for those
kinds of very high end cards?  


VGA should work fine as long as your cables are short (10' - 15' maximum
total length) and the KVM is suitable for your scan rate and scan settings.


thanks again,

gary

PS:  Does anybody know of a website that 'splains VGA, SVGA,
 EVGA, and all the rest?  I've been seriously guilty of being
 lazy; I'm fessing up!   


can you spell http://wikipedia.org ?
{^_^}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ip refresh, resolv.conf and local scripts on startup?

2007-05-09 Thread Richard Simmonds

> (rc.firewall uses this to get network info:
> onet=`ifconfig xl0 | grep "inet " | awk '{print $6}'`
> oip=`ifconfig xl0 | grep "inet " | awk '{print $2}'` Meaning, 
> rc.firewall would also have to be re-ran if the IP is new).
> [also to make things more complicated, I think I need a rule in 
> rc.firewallto allow for DHCP clients to go out?  It gets blocked on 
> external interface when firewall comes up??]

Looks like you're using ipfw, in which case this works for me:
# /etc/rc.d/ipfw restart

> Also how do I override /etc/resolv.conf?  DHCP client configures it I 
> think and sets it up to point to my ISP DNS servers (which suck) and 
> would like to give it mine instead of there, but it keeps getting over 
> written on startup when it gets a DHCP lease?

In dhclient.conf, add your own DNS servers, plus your ISP's as backup:

Interface "xl0" {
prepend domain-name-servers xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy;
request subnet-mask, broadcast-address, routers, domain-name-servers;
}


Get new ip:
# dhclient xl0


Hope this helps

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


Re: WOW! {Or Holy whatever}

2007-05-09 Thread Eric Crist

On May 9, 2007, at 8:34 PMMay 9, 2007, Gary Kline wrote:


On Wed, May 09, 2007 at 07:18:52PM -0500, Eric Crist wrote:


Gary,

Most cards that might come with DVI output instead of the standard
VGA output usually include at least one DVI-VGA adapter, an
additional one could be purchased at most computer retailers or your
local Radio Shack.

HTH



It does help, thanks, Eric.  I may have missed the cord adaptor
that was stuck in the box.  Need help to open/check.  Meanwhile,
I need to look at the specs for this Dell 8200 to see what kind
of card is in there.  What's there is a jack with two rows of
sockets.  I'm guessing this is the standard Dell "DVI" connector,
yes, no, other? :-)

Also, in your opinion, since I'm not a gamer and just want to
display at extreme most 1600x1200, do I need anything seriously
upscale?  I've seen and skipped past lots of questions about lots
of drivers.  So let's say that I went totally ape and bought some
AGP card with 256M of memory:: do we have a driveer for those
kinds of very high end cards?

thanks again,

gary

PS:  Does anybody know of a website that 'splains VGA, SVGA,
 EVGA, and all the rest?  I've been seriously guilty of being
 lazy; I'm fessing up!  



Gary,

A DVI connector has 3 rows of 8 pins and a set of 4 hole is a box  
shape next to it:


++
|  o o o o o o o o  o|o  |
|  o o o o o o o o --+-- |
 \ o o o o o o o o  o|o /
  ++

There's also a mini-DVI format that's kinda like this:

+-+
| o o o o o o o o||
| o o o o o o o o||
 `---'

I'm sure you know what a VGA connector looks like, so I won't draw  
that for you. ;)


At work, we're using the GeForce 7600 GS AGP cards, which have 256MB  
of RAM and dual DVI output.  We're using the FreeBSD Binary driver  
(available in ports) and running dual monitors with full Open GL  
support pretty seamlessly.  I'd recommend that setup to anyone.  It's  
a feature called Twinview which allows your desktop to span multiple  
monitors, and most programs that support xinerama(sp?) are 'aware' of  
the physical border between monitors, so you don't end up with  
windows popping up spanning both monitors. (i.e. maximize doesn't  
cross both monitors, just one).


HTH

Eric Crist













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


Re: WOW! {Or Holy whatever}

2007-05-09 Thread Gary Kline
On Wed, May 09, 2007 at 07:48:00PM -0600, Chad Perrin wrote:
> On Wed, May 09, 2007 at 06:34:53PM -0700, Gary Kline wrote:
> > 
> > PS:  Does anybody know of a website that 'splains VGA, SVGA,
> >  EVGA, and all the rest?  I've been seriously guilty of being
> >  lazy; I'm fessing up!   
> 
> Wikipedia, believe it or not, has tons of great information about each
> of them.  Try the following:
> 
>   http://en.wikipedia.org/wiki/VGA
>   http://en.wikipedia.org/wiki/SVGA
>   http://en.wikipedia.org/wiki/EVGA
> 

Super! thank you!

gary


> -- 
> CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
> Ben Franklin: "As we enjoy great Advantages from the Inventions of others
> we should be glad of an Opportunity to serve others by any Invention of
> ours, and this we should do freely and generously."
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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

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


Re: WOW! {Or Holy whatever}

2007-05-09 Thread Chad Perrin
On Wed, May 09, 2007 at 06:34:53PM -0700, Gary Kline wrote:
> 
>   PS:  Does anybody know of a website that 'splains VGA, SVGA,
>EVGA, and all the rest?  I've been seriously guilty of being
>lazy; I'm fessing up!   

Wikipedia, believe it or not, has tons of great information about each
of them.  Try the following:

  http://en.wikipedia.org/wiki/VGA
  http://en.wikipedia.org/wiki/SVGA
  http://en.wikipedia.org/wiki/EVGA

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Ben Franklin: "As we enjoy great Advantages from the Inventions of others
we should be glad of an Opportunity to serve others by any Invention of
ours, and this we should do freely and generously."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WOW! {Or Holy whatever}

2007-05-09 Thread Gary Kline
On Wed, May 09, 2007 at 07:18:52PM -0500, Eric Crist wrote:
> On May 9, 2007, at 6:09 PMMay 9, 2007, Gary Kline wrote:
> 
> >On Wed, May 09, 2007 at 03:09:09PM -0700, Gary Kline wrote:
> >>
> >>I asked somebody directly, but I may as well ask the entire list.
> >>I'm looking for a video-card.   The more recent mobo's (like the
> >>i815) have them builtin.  My 750MHz machine uses the SRAM for
> >>its v-RAM.  My old Kayaks came with Matrox Millennium 8MB video
> >>card that give me Plenty of resolution under xorg.  I just did a
> >>web search and find an "AGP" card for seriously cheap with 256MB
> >>of memory.  It's an "eVGA e-GeForce FX5500"   Whatever!
> >>
> >>I'm no gamer (but just-might-wanna play some auto racing games).
> >>All I care about is a) that the card fits by KVM plug with a
> >>three-row pinout, and of course, b), that FBSD has a driver for
> >>this card.   All of my computers have this 3-row male pin,
> >>so need a 3-row female jack/socket.
> >>
> >
> > Ok, I found the type of connnector or jack or socket I need.
> > It is an HD15 "15 pin high denisity D-SUB female connector" with
> > sockets 1 to 5 on the first row, 6 thru 10, 2nd, 11 to 15 on the
> > bottom.  This on http://pinouts.ru.  VGA.
> >
> > I'll google aroubd further, but still would be much obliged for
> > input from anybody ... .
> >
> > gary
> >
> 
> Gary,
> 
> Most cards that might come with DVI output instead of the standard  
> VGA output usually include at least one DVI-VGA adapter, an  
> additional one could be purchased at most computer retailers or your  
> local Radio Shack.
> 
> HTH


It does help, thanks, Eric.  I may have missed the cord adaptor 
that was stuck in the box.  Need help to open/check.  Meanwhile, 
I need to look at the specs for this Dell 8200 to see what kind
of card is in there.  What's there is a jack with two rows of
sockets.  I'm guessing this is the standard Dell "DVI" connector,
yes, no, other? :-)

Also, in your opinion, since I'm not a gamer and just want to
display at extreme most 1600x1200, do I need anything seriously 
upscale?  I've seen and skipped past lots of questions about lots
of drivers.  So let's say that I went totally ape and bought some
AGP card with 256M of memory:: do we have a driveer for those
kinds of very high end cards?  

thanks again,

gary

PS:  Does anybody know of a website that 'splains VGA, SVGA,
 EVGA, and all the rest?  I've been seriously guilty of being
 lazy; I'm fessing up!   



> 
> Eric Crist

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

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


Re: Network interface restart

2007-05-09 Thread boris
> Op woensdag 09 mei 2007, schreef Sam Lawrance:
>
> Hi,
>
>> > Could someone please point out where I made the mistake?
>>
>> When your network interface went down, you lost the connection, your
>> shell lost the terminal and your script was terminated before it
>> could finish doing what it was supposed to.  Possibly you need to use
>> something like "nohup" or "screen" (from ports), or have some other
>> form of terminal available.
>
> Thanks for your answer.
>
> But as I said, I ran the script from a screen session, so that makes me
> wonder why the execution was aborted.

Sorry, I missed that you were already using screen.  Now I'm wondering too
:-)

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


Re: Backing up Samba share to USB jump drive?

2007-05-09 Thread L Goodwin
Thanks, Bill!

--- Bill Moran <[EMAIL PROTECTED]> wrote:

> L Goodwin <[EMAIL PROTECTED]> wrote:
> >
> > Here's another round of dumb questions for ya:
> > 
> > Can USB jump drives be used to back-up a Samba
> share?
> > If so, what do I need to do to prepare the USB
> drive
> > to accept files? 
> > Since I don't really need to compress or encrypt,
> I
> > was thinking about simply copying the entire
> directory
> > tree using the cp command, instead of using dump,
> tar,
> > cpio.
> > Will this work, and is it a "good idea"?
> 
> Sure.
> 
> > The filesystem to be backed up is a single common
> UFS
> > shared via Samba. All PC users have access to the
> same
> > set of files (no user-specific directories). The
> files
> > to be backed up are Word, Excel, PDF, etc.
> 
> Every jump drive I've seen comes pre-formatted as
> FAT-32.  The only
> problem with this is you'll lose POSIX file
> permissions when you copy
> the files.  If you're not using the file
> permissions, then it isn't
> a problem.
> 
> > I don't want to buy the drives until I know if it
> will
> > work and how to do it. Do I need to UFS format the
> > drives? I assume the drive will have to be mounted
> > like any other drive...
> 
> It's your choice.  You can leave the drive formatted
> FAT-32 for compat
> with other OSen, or you can newfs it to a ufs
> filesystem to maintain
> unix-style file permissions.
> 
> In my experience, jump drives behave just like any
> other drive.
> 
> -- 
> Bill Moran
> http://www.potentialtech.com
> 


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


Re: Backing up Samba share to USB jump drive?

2007-05-09 Thread Bill Moran
L Goodwin <[EMAIL PROTECTED]> wrote:
>
> Here's another round of dumb questions for ya:
> 
> Can USB jump drives be used to back-up a Samba share?
> If so, what do I need to do to prepare the USB drive
> to accept files? 
> Since I don't really need to compress or encrypt, I
> was thinking about simply copying the entire directory
> tree using the cp command, instead of using dump, tar,
> cpio.
> Will this work, and is it a "good idea"?

Sure.

> The filesystem to be backed up is a single common UFS
> shared via Samba. All PC users have access to the same
> set of files (no user-specific directories). The files
> to be backed up are Word, Excel, PDF, etc.

Every jump drive I've seen comes pre-formatted as FAT-32.  The only
problem with this is you'll lose POSIX file permissions when you copy
the files.  If you're not using the file permissions, then it isn't
a problem.

> I don't want to buy the drives until I know if it will
> work and how to do it. Do I need to UFS format the
> drives? I assume the drive will have to be mounted
> like any other drive...

It's your choice.  You can leave the drive formatted FAT-32 for compat
with other OSen, or you can newfs it to a ufs filesystem to maintain
unix-style file permissions.

In my experience, jump drives behave just like any other drive.

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


Backing up Samba share to USB jump drive?

2007-05-09 Thread L Goodwin
Here's another round of dumb questions for ya:

Can USB jump drives be used to back-up a Samba share?
If so, what do I need to do to prepare the USB drive
to accept files? 
Since I don't really need to compress or encrypt, I
was thinking about simply copying the entire directory
tree using the cp command, instead of using dump, tar,
cpio.
Will this work, and is it a "good idea"?

The filesystem to be backed up is a single common UFS
shared via Samba. All PC users have access to the same
set of files (no user-specific directories). The files
to be backed up are Word, Excel, PDF, etc.

I don't want to buy the drives until I know if it will
work and how to do it. Do I need to UFS format the
drives? I assume the drive will have to be mounted
like any other drive...


 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WOW! {Or Holy whatever}

2007-05-09 Thread Eric Crist

On May 9, 2007, at 6:09 PMMay 9, 2007, Gary Kline wrote:


On Wed, May 09, 2007 at 03:09:09PM -0700, Gary Kline wrote:


I asked somebody directly, but I may as well ask the entire list.
I'm looking for a video-card.   The more recent mobo's (like the
i815) have them builtin.  My 750MHz machine uses the SRAM for
its v-RAM.  My old Kayaks came with Matrox Millennium 8MB video
card that give me Plenty of resolution under xorg.  I just did a
web search and find an "AGP" card for seriously cheap with 256MB
of memory.  It's an "eVGA e-GeForce FX5500"   Whatever!

I'm no gamer (but just-might-wanna play some auto racing games).
All I care about is a) that the card fits by KVM plug with a
three-row pinout, and of course, b), that FBSD has a driver for
this card.   All of my computers have this 3-row male pin,
so need a 3-row female jack/socket.



Ok, I found the type of connnector or jack or socket I need.
It is an HD15 "15 pin high denisity D-SUB female connector" with
sockets 1 to 5 on the first row, 6 thru 10, 2nd, 11 to 15 on the
bottom.  This on http://pinouts.ru.  VGA.

I'll google aroubd further, but still would be much obliged for
input from anybody ... .

gary



Gary,

Most cards that might come with DVI output instead of the standard  
VGA output usually include at least one DVI-VGA adapter, an  
additional one could be purchased at most computer retailers or your  
local Radio Shack.


HTH

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


Re: Support Quad-Core Intel Xeon 5310 CPU

2007-05-09 Thread Josh Paetzel
Ivan Carey wrote:
> Hi,
> Does FreeBSD 6.2 support Quad-Core Intel Xeon 5310 CPU and an Intel Xeon 5320 
> quad core CPU
> 
> Regards,
> Ivan

Yes.

-- 
Thanks,

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


Re: macbook pro support

2007-05-09 Thread Eric Crist
AFAIK, the Macbook information will work exactly the same on a Pro  
model.  There's no real core-level differences between the Pro and  
non-Pro systems.


On May 9, 2007, at 1:12 PMMay 9, 2007, George Iordanou wrote:


I'm using an Apple MacBook Pro, and i was wondering if there's any
howto on installing FreeBSD 6.2 and/or 7 on that machine.

The only documentation i was able to find is for Macbook, but none  
seems to

exist for the pro version.

Does anyone of you had luck with FreeBSD on the pro version?

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


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


sshd segfaults on exit when no tty allocated

2007-05-09 Thread Christopher Cowart
Hello,

When I ssh into FreeBSD hosts without allocating a tty, sshd segfaults
after the process terminates. This problem occurs on both 6_1_REL and
6_2_REL installations at all sorts of patch levels.

Examples:

Client: `ssh -t server ls`
Server Logs: 
| May  9 15:33:44 server sshd[1503]: Accepted publickey for ccowart from 
| client port 43604 ssh2
| May  9 15:33:45 server sshd[1505]: pam_sm_close_session(): no utmp 
| record for ttyp5

Client: `ssh server ls`
Server Logs:
| May  9 15:33:50 server sshd[1509]: Accepted publickey for ccowart from
|   client port 42119 ssh2
| May  9 15:33:51 server pid 1511 (sshd), uid 1225: exited on signal 11

In either example, the client thinks the command has completed
successfully, shows proper output, and propogates the return value from
the remote command. The main problem is I don't like seeing a bunch of
segfaults being logged in the daily run output.

Our sshd_config stock, except we set `PermitRootLogin yes`.

Does anyone know why this happens? Should I file a problem report?

Thanks,

-- 
Chris Cowart
Lead Systems Administrator
Network Infrastructure, RSSP-IT
UC Berkeley


signature.asc
Description: Digital signature


Re: WOW! {Or Holy whatever}

2007-05-09 Thread Gary Kline
On Wed, May 09, 2007 at 03:09:09PM -0700, Gary Kline wrote:
> 
>   I asked somebody directly, but I may as well ask the entire list.
>   I'm looking for a video-card.   The more recent mobo's (like the
>   i815) have them builtin.  My 750MHz machine uses the SRAM for
>   its v-RAM.  My old Kayaks came with Matrox Millennium 8MB video
>   card that give me Plenty of resolution under xorg.  I just did a
>   web search and find an "AGP" card for seriously cheap with 256MB
>   of memory.  It's an "eVGA e-GeForce FX5500"   Whatever!
> 
>   I'm no gamer (but just-might-wanna play some auto racing games).
>   All I care about is a) that the card fits by KVM plug with a
>   three-row pinout, and of course, b), that FBSD has a driver for
>   this card.   All of my computers have this 3-row male pin,
>   so need a 3-row female jack/socket.  
> 

Ok, I found the type of connnector or jack or socket I need.
It is an HD15 "15 pin high denisity D-SUB female connector" with
sockets 1 to 5 on the first row, 6 thru 10, 2nd, 11 to 15 on the
bottom.  This on http://pinouts.ru.  VGA.

I'll google aroubd further, but still would be much obliged for
input from anybody ... .

gary



> 

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

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


WOW! {Or Holy whatever}

2007-05-09 Thread Gary Kline

I asked somebody directly, but I may as well ask the entire list.
I'm looking for a video-card.   The more recent mobo's (like the
i815) have them builtin.  My 750MHz machine uses the SRAM for
its v-RAM.  My old Kayaks came with Matrox Millennium 8MB video
card that give me Plenty of resolution under xorg.  I just did a
web search and find an "AGP" card for seriously cheap with 256MB
of memory.  It's an "eVGA e-GeForce FX5500"   Whatever!

I'm no gamer (but just-might-wanna play some auto racing games).
All I care about is a) that the card fits by KVM plug with a
three-row pinout, and of course, b), that FBSD has a driver for
this card.   All of my computers have this 3-row male pin,
so need a 3-row female jack/socket.  

Sorry to be so in the dark ages, but just about all of my
computer work-work involved the test or porting world.  Wow, 
256M   and I've got 8M.  Dunno whether to laugh or cry.

thanks, guys,

gary



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

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


Re: Add a file to all outgoing mails

2007-05-09 Thread Jeffrey Goldberg

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On May 9, 2007, at 10:52 AM, Martin Schweizer wrote:

I looking for a solution where I can add a file to each outgoing  
mails which my
sendmail sends out. Can I do that with MimeDefang? I need this for  
special

solution. Any hints are welcome.


Yes.  This can be done with mimedefang.   If you look through the  
mimedefang mailing list archives, you are likely to find more  
explicit details (I haven't been following that list for a couple of  
years now, but I know that this comes up.)


If the goal is to add some sort of stupid legal disclaimer, you need  
to think through things very carefully.


Cheers,

- -j


- --
Jeffrey Goldberghttp://www.goldmark.org/jeff/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGQjfebFEGZwmQvW4RAkruAJ0Sgki22YoP1UDMXB6gL1sWPLMlpACghvn6
+hqL1WzoD+YNDm+9EEV9KMk=
=lSOF
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Another slightly OT q...

2007-05-09 Thread Gary Kline
On Wed, May 09, 2007 at 07:50:02PM +0200, Eduardo Morras wrote:
> At 23:22 08/05/2007, you wrote:
> 
> >he died / killed himself / was murdered before his hoax could be uncovered.
> 
> It's easily covered. Check usenet comp.compression faq. It's the "Counting 
> Theorem". For a sequence of n-bits there are 2^n possible files (f.e. there 
> are 256 files of 8 bits). Unfortunately there are only (2^n)-1 possible files 
> lesser than the original (f.e. there are 128 files of 7 bits, 64 of 6, 32 of 
> 5, 16 of 4, 8 of 3, 4 of 2 and 2 of 1 bits, total, 255 files) so using an 
> algorithm you can't compress all n-bits sequences.
> 
> For this case, you can easily check that using this guy algorithm, you can 
> have only 2^8192 movies. Perhaps you think they are a lot, but nearly all are 
> white noise movies.
> 
> There are 1-2 monthly of this claims on comp.compression. Normally they are 
> beginners to Information Theory / Compression but others are simply cheaters.
> 
> >sounds a lot like the perpetuum mobile stories.
> 
> In fact, it is. Information Theory uses entropy concept too and claims like 
> this breaks the 2nd and 3rd principle.
> 

Thanks for these tidbits of insight!  I figured there were some 
laws or principles that told what the upper bound could be.  I've
always been pretty good at math, but since Life is bounded, 
I'll take your word for it :-)

gary

PS:  I'll check out the URL's in your last email.  They'll 
 probably be overkill, but for reference


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

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


Re: Video fileserver - Need some input

2007-05-09 Thread Eduardo Morras
At 14:21 09/05/2007, you wrote:
>I'm planning a new fileserver for my post-production facility and need some
>input regarding filesystems and network setup. I've been a FreeBSD fan for
>almost 10 years now and will try to build this server based on the latest
>stable FreeBSD version, allthough most machines here run WinXP.
>
>We have an internal 1 Gigabit network here and in addition to this the video
>fileserver will have two direct NIC connections to two WinXP capture
>stations. I will most likely be using a Raid-0 or a Raid-5 setup with SATA
>drives. The system will have something like 4-8 TB of HDD space.
>
>I'm not so afraid of loosing data, but we need a system that is fast and
>will allow capture from two external Windows XP machines through direct
>Gigabit ethernet. The datarates are 8 bit @ 720 x 576 @ 25fps = 20 MB
>per/sec, or 70 GB per/hr.
>10 bit @ 720 x 576 @ 25fps = 26 MB per/sec, or 93 GB per/hr.

Are you sure? 8 bits per pixel is too low. For RGB i suggest you use a 8 bit 
per color (R,G and B) or 24 bit per pixel. Or if you work under YUV/YcrCb 
spaces a 12bit as minimum (YUV12 or 4:2:0 space). Final numbers for PAL RGB are 
24 x 720 x 576 x 25 = 29'96 MB/sec (Your 8x720x576x25 are 9'88MB/sec, not 20) 
and for YUV12 14'98 MB/sec.

You can use a lossless videocodec for capture, huffyuv is the faster/better and 
you have a "native" Windows VfW version. All current computers can compress 
with it "on the fly" (my 3-4 years old 2Ghz Athlon shows 70 fps) and can halve 
the data rate. In the freebsd you can use ffmpeg based apps for decode it (and 
encode), that's all apps.

If you can work with lossy video codec use x264 on the Windows side, tuned for 
"on the fly" / "live" compression, if not you will lost frames. Again, ffmpeg 
can decode it on freebsd. You can get 1 MB/sec or less. Check dirac (don't know 
if a freebsd port works) and if you want to pay, try VP7, the big brother of 
macromedia flash codec.

>In addition to this 1-5 machines will have access to the fileserver through
>a shared Gigabit network connection for making DVDs and use the files as
>source for editing. In short: There will be two direct 1Gb network
>connections and one shared 1Gb connection. Will the server hold up?

Depends on how many readers attacks the files. It's more a bus problem than a 
OS. If video data is compressed the disk will read/write less and you can serve 
faster.

>Any other recommendations are very welcome.

Don't use RAID-0. If there is any problem everything become lost. 

>Thanks!
>
>Regards,
>Andreas W. Andersen
HTH

N.B. huffyuv, x264 and dirac codecs are opensource. VP7 is On2 Tech. 


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


macbook pro support

2007-05-09 Thread George Iordanou
I'm using an Apple MacBook Pro, and i was wondering if there's any
howto on installing FreeBSD 6.2 and/or 7 on that machine. 

The only documentation i was able to find is for Macbook, but none seems to
exist for the pro version.

Does anyone of you had luck with FreeBSD on the pro version?

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


Re: Another slightly OT q...

2007-05-09 Thread Eduardo Morras
At 19:05 08/05/2007, you wrote:

>Hey Guys,
>
>Does anybody have any websites where I can look up the latest
>in compression technology?  I've got a very thin ISDL link
>so pulling streams over is like looking at postage-stamp images.

Depends on what you are trying to compress. You can look these pages for 
lossless compression:

www.maximumcompression.com

prize.hutter1.net 

www.cs.fit.edu/~mmahoney/compression/text.html

datacompression.info

If you are looking for zip/deflate try www.7-zip.com , it has the best 
zip/deflate engine, you can get zip standard files smaller than based zlib 
ones. It's for windows, but there is a unix port inside the web pages.

>There were whispers about fractal-compression as being the golden
>goal, but I can't find much about this one.  Anybody have any
>clues here?

Depends on what you want to compress. Fractal compression for text can't work, 
text has no autosimetry. For images it is being developed, but results are bad. 
You can check citeseer for . Currently for video/image wavelets are the best 
(dirac, snow, jpeg2000 and more) codecs but there is no standard codec that 
uses them (no ISO-ITU, no mpeg consortium). For text, the best compressors are 
neural nets (paq family) or ppm.

>thanks up front,
>
>gary

HTH



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


Re: Another slightly OT q...

2007-05-09 Thread Eduardo Morras
At 23:22 08/05/2007, you wrote:

>>>
>>> see: http://nl.wikipedia.org/wiki/Jan_Sloot
>>>
>>> about the " Sloot Digital Coding System". great stuff.
>>>
>>
>>Danke.
>
>that seems to be German, in Dutch "Bedankt" would be appropiate. i
>appreciate the effort though.
>
>>I found the english wkik entry so I could understand the
>>piece.  Since Sloot is dead, no way of knowing.
>
>actually there is. the Dutch wiki-article has much more detail about the case.
>
>this Sloot guy claimed he could compress any movie into 1kb ( 1024
>bytes ). he stored this 1kb movies on smartcards, which he would feed
>into his magic machine to show the movies.
>
>in The Netherlands there was press-coverage about this, and he was
>able to attract investors and even a ( up to then ) reputable IT-guru
>assiocated with Philips to back him. they found silicon-valley
>investors who were interested.
>
>he died / killed himself / was murdered before his hoax could be uncovered.

It's easily covered. Check usenet comp.compression faq. It's the "Counting 
Theorem". For a sequence of n-bits there are 2^n possible files (f.e. there are 
256 files of 8 bits). Unfortunately there are only (2^n)-1 possible files 
lesser than the original (f.e. there are 128 files of 7 bits, 64 of 6, 32 of 5, 
16 of 4, 8 of 3, 4 of 2 and 2 of 1 bits, total, 255 files) so using an 
algorithm you can't compress all n-bits sequences.

For this case, you can easily check that using this guy algorithm, you can have 
only 2^8192 movies. Perhaps you think they are a lot, but nearly all are white 
noise movies.

There are 1-2 monthly of this claims on comp.compression. Normally they are 
beginners to Information Theory / Compression but others are simply cheaters.

>sounds a lot like the perpetuum mobile stories.

In fact, it is. Information Theory uses entropy concept too and claims like 
this breaks the 2nd and 3rd principle.

>>But this is the
>>kind of leap forward that would save, oh, a few measley
>>$Billions.  And give millions of us faster and broader access.

HTH

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


Re: Video fileserver - Need some input

2007-05-09 Thread Jeff Mohler

The _main_ think I can think of, is windows in a SINGLE threaded movement of
data via CIFS, is gonna limit you to about 17MB/sec.

Andreas..have you tested this via CIFS/Redirector and been able to sustain
the performance that you need before going with Samba (another performance
layer issue)

On 5/9/07, Chris Slothouber <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2007-05-09 10:12, Andreas Widerøe Andersen wrote:
> On 5/9/07, Chris Slothouber <[EMAIL PROTECTED]> wrote:
>> On 2007-05-09 08:21, Andreas Widerøe Andersen wrote:
>>> I'm planning a new fileserver for my post-production facility and need
>> some
>>> input regarding filesystems and network setup. I've been a FreeBSD fan
>> for
>>> almost 10 years now and will try to build this server based on the
>> latest
>>> stable FreeBSD version, allthough most machines here run WinXP.
>>> In addition to this 1-5 machines will have access to the fileserver
>> through
>>> a shared Gigabit network connection for making DVDs and use the files
as
>>> source for editing. In short: There will be two direct 1Gb network
>>> connections and one shared 1Gb connection. Will the server hold up?
>> Depending on the resolution and frame rate of your video, GigE is
>> nowhere near fast enough a pipe for live video manipulation.  This is
>> certainly the case when dealing with broadcast video.
>
>
> We're only working in Standard Definition PAL (see the datarates in my
first
> post). I have done DV capture tests before over the network and that
worked
> fine. We're already having three machines feeding from one server today
and
> that works fine too allthough it is a bit slow. We're mainly copying
files
> to local drives, but DVD creation happens straight from the server.

My apologies, I totally glazed over that bit.

Samba does have some performance issues out of the box (see Solon Luigi
Lutz's thread from 04-10, similar situation but a little bit more later
in the game).  I believe there are a few tuning options for
Samba<->FreeBSD that might be appropriate, esp. wrt. multi-threading
CIFS.  Google seems to show a lot of hits for that.

Sorry again for missing the info you provided.  I hope this helps.

- --
Chris Slothouber ([EMAIL PROTECTED]) -=- Mercenary Sysadmin
BIZ: http://www.hier7.com -=- building.better.ideas
PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQd/0s0gLFnnAwn8RAvgsAJ9Dr2oFZMMt8sfPbsMtLBJZ3hBc8gCfVRVL
8tgP0nFuv881JKe/ZRkeOQI=
=jq/3
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"

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

Re: Another slightly OT q...

2007-05-09 Thread [EMAIL PROTECTED]

On 09/05/07, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
> Sent: Tuesday, May 08, 2007 7:19 PM
> To: [EMAIL PROTECTED]
> Cc: Gary Kline; FreeBSD Mailing List
> Subject: Re: Another slightly OT q...
>
>
>
>   So it *was* a hoax?  Rats.  Some weeks ago on Public
>   Broadcasting, a few sentences were spoken on the potential of
>   fractal geometry to achieve [I'm guessing] data-compression on
>   the order of what Sloot was claiming.  So far, no one has figured
>   it out.  It may be a dream... .
>

There's some cool math out there that explains all of this but I never liked
math, but it isn't necessary to know the math to understand the issue.  Just
consider the problem for a while and you will realize that the compression
ratio of a specific data stream varies dependent on the amount of repetition
in
the input datastream.  A perfectly unrandom datastream, like a constant
series of logical 1's, carries no information, but has a compression ratio
that is infinite.  A perfectly random datastream, on the other hand,
also carries no information, but has a compression ratio that is zero.
I believe that a datastream that is 50% of the way between either extreme
carries the most information, and I believe your typical datastream is much
closer to
the perfectly unrandom side than the perfectly random side, compression is
merely the process of pushing the randomness of the stream closer to the
random side.


Actually, the more information (as such) the closer
the data stream is to perfectly random.  The relation-
ship might be asymptotic, but I am no maths major.


Thus, if the input datastream is very close to the perfectly unrandom side -
meaning it has a very high amount of repetition in it, you can get some
pretty spectacular compression ratios.  But as you move closer to unrandom,
you carry less data.  So, the better applications emit datastreams that
are less unrandom, therefore compression does not work as well on them.


I suppose this leads to the discussion about what
"data" and "information" really are.  Imagine a can.
The can is data.  Imagine tha can is full of worms.


This of course is completely ignoring the other data issue, is the
application
data efficient to begin with?  For example, you can transfer about a page of
information in ASCII that consumes about 1K of data, that same page of
information in a MS Word file consumes a hundred times that amount of
space -
Word is therefore extremely inefficient with data.


In this case, since word "has to" replace typesetting,
layout, and formatting software, in addition to being a
word processor the header and meta information tend
to bloat the files quite a lot.

Every few years someone comes along who makes
some mad claims about some new buzzword-enhanced
compression technology.  Obviously, if there is ever a
radical leap forward in that area the theory will have to
follow, since modern theory cannot accomodate (lossless)
compression past the point of randomness (generally less
than 16:1 even for Danielle Steele).  mp3, avi, real media
mpeg, et al are a different story entirely, sicne they are
lossy and optimised for their respective information.

-rw-r--r--  1 1705  1705  7826420 May  9 10:58
ssion_i_really_fuckin_care_about_you.rm
-rw-r--r--  1 1705  1705  7791691 May  9 10:58
ssion_i_really_fuckin_care_about_you.rm.bz2

In this case, very slightly compressible: with some data
your resulting file will be slightly larger, yet the raw datastream
(and it looks like it was filmed from a cameraphone here (though
most likely an 8mm digicam (these, I believe, compress on the fly,
so the raw datastream never touches tape))) would probably have
been many tens, if not several hundreds, of megabytes.

Remember life before the tweel?

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


Re: Video fileserver - Need some input

2007-05-09 Thread Jeff Mohler

Chris: Accept my fallin on my sword..I didnt see your reply before I sent.

;)



On 5/9/07, Chris Slothouber <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2007-05-09 10:12, Andreas Widerøe Andersen wrote:
> On 5/9/07, Chris Slothouber <[EMAIL PROTECTED]> wrote:
>> On 2007-05-09 08:21, Andreas Widerøe Andersen wrote:
>>> I'm planning a new fileserver for my post-production facility and need
>> some
>>> input regarding filesystems and network setup. I've been a FreeBSD fan
>> for
>>> almost 10 years now and will try to build this server based on the
>> latest
>>> stable FreeBSD version, allthough most machines here run WinXP.
>>> In addition to this 1-5 machines will have access to the fileserver
>> through
>>> a shared Gigabit network connection for making DVDs and use the files
as
>>> source for editing. In short: There will be two direct 1Gb network
>>> connections and one shared 1Gb connection. Will the server hold up?
>> Depending on the resolution and frame rate of your video, GigE is
>> nowhere near fast enough a pipe for live video manipulation.  This is
>> certainly the case when dealing with broadcast video.
>
>
> We're only working in Standard Definition PAL (see the datarates in my
first
> post). I have done DV capture tests before over the network and that
worked
> fine. We're already having three machines feeding from one server today
and
> that works fine too allthough it is a bit slow. We're mainly copying
files
> to local drives, but DVD creation happens straight from the server.

My apologies, I totally glazed over that bit.

Samba does have some performance issues out of the box (see Solon Luigi
Lutz's thread from 04-10, similar situation but a little bit more later
in the game).  I believe there are a few tuning options for
Samba<->FreeBSD that might be appropriate, esp. wrt. multi-threading
CIFS.  Google seems to show a lot of hits for that.

Sorry again for missing the info you provided.  I hope this helps.

- --
Chris Slothouber ([EMAIL PROTECTED]) -=- Mercenary Sysadmin
BIZ: http://www.hier7.com -=- building.better.ideas
PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQd/0s0gLFnnAwn8RAvgsAJ9Dr2oFZMMt8sfPbsMtLBJZ3hBc8gCfVRVL
8tgP0nFuv881JKe/ZRkeOQI=
=jq/3
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"

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

Re: Video fileserver - Need some input

2007-05-09 Thread Jeff Mohler

45MB/sec is too fast for GigE?


Wha?



On 5/9/07, Chris Slothouber <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2007-05-09 08:21, Andreas Widerøe Andersen wrote:
> I'm planning a new fileserver for my post-production facility and need
some
> input regarding filesystems and network setup. I've been a FreeBSD fan
for
> almost 10 years now and will try to build this server based on the
latest
> stable FreeBSD version, allthough most machines here run WinXP.

> In addition to this 1-5 machines will have access to the fileserver
through
> a shared Gigabit network connection for making DVDs and use the files as
> source for editing. In short: There will be two direct 1Gb network
> connections and one shared 1Gb connection. Will the server hold up?

Depending on the resolution and frame rate of your video, GigE is
nowhere near fast enough a pipe for live video manipulation.  This is
certainly the case when dealing with broadcast video.

- --
Chris Slothouber ([EMAIL PROTECTED]) -=- Mercenary Sysadmin
BIZ: http://www.hier7.com -=- building.better.ideas
PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQc01s0gLFnnAwn8RAggtAKDYIRWT1iB0VjkmRxxJ8EzbjJxg+wCgmPuM
/fHCEVtbOq2G50rXb91djtg=
=lzTn
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"

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

Re: scponly chroot doesn´t work FB6.2

2007-05-09 Thread J65nko

On 5/7/07, Marcelo Maraboli <[EMAIL PROTECTED]> wrote:


I can´t seem to make scponly work with a chrooted jail. I´ve
read many articles on how FREEBSD´s scripts on making jails
really don´t work and a manual mknod of $jail/dev/null must
be done, but it still does´t work...

I´d appreciate any help


[snip]

I haven't used it myself but at
http://www.bsdforums.org/forums/showthread.php?t=49388 somebody posted
a solution for a similar problem with scponly ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firebird-2.x - I am at /etc

2007-05-09 Thread Odhiambo Washington
* On 09/05/07 10:26 -0400, Schiz0 wrote:
| On 5/9/07, Odhiambo Washington <[EMAIL PROTECTED]> wrote:
| >
| >Having googled over and over and tried the various suggestions without
| >success, I am forced to ask here:
| >
| >How does one install databases/firebird2-\* in FreeBSD? I am running
| >6.2-STABLE.
| 
| man ports
| 
| 
http://www.freebsd.org/cgi/man.cgi?query=ports&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html

I have read the man page, besides having also read a post that suggests 
WRKDIRPREFIX, but that really has NOT helped. As I said, I am at "etc" -
end of thinking capacity ;)

I read this:

http://lists.freebsd.org/pipermail/freebsd-ports/2006-November/036801.html

I have done the following:
mkdir -P ~wash/ports/firebird/usr && chown -R wash ~wash/ports/firebird
cd /usr/ports/databases/firebird2-server
make WRKDIRPREFIX=~wash/ports/firebird install


I also added this line to /etc/make.conf:
SU_CMD= /usr/local/bin/sudo /bin/sh -c


 and still no luck!

What do you suppose I could be missing from the man page? It's the clue 
I am missing.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

We don't know who discovered water, but we're certain it wasn't a
fish.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Add a file to all outgoing mails

2007-05-09 Thread Martin Schweizer
Hello 

I looking for a solution where I can add a file to each outgoing mails which my 
sendmail sends out. Can I do that with MimeDefang? I need this for special 
solution. Any hints are welcome.


-- 

Regards,

Martin Schweizer
<[EMAIL PROTECTED]>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpTBOjPVvXbc.pgp
Description: PGP signature


Re: Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Gabriel Rossetti
Alex Zbyslaw wrote:
> Matthew Seaman wrote:
>
>> Gabriel Rossetti wrote:
>
>>> How can I do that? When I use sysinstall to create my partitions it
>>> automatically create's it as da0s1d.
>> Use:
>>
>>  bsdlabel -e da0s1
>>  
>>
> There's also a trick you can use in sysinstall.  It will only ever
> assign an "a" partition to /.  So if you have some partition which you
> know will act as a root partition, but isn't actually going to be one
> right now, *lie*.  Set the mount point to / and get assigned e.g.
> da0s1a then *change* the mountpoint with M (I think) back to whatever
> you're calling this partition right now e.g. /root2.  Make sure you
> turn off softupdates (S?) if changing the mountpoint turns them back
> on.  Once the a partition has been assigned, it won't be re-assigned
> just because you changed the mountpoint.
>
> Of course, this means that you have to assign all the pseudo-root
> partitions before you assign any real root partition otherwise
> sysinstall will likely complain about the duplicate mountpoint.  (Or
> change the real root mountpoint, do your pseudo roots, then change the
> real root back to /).
>
> Of course, it doesn't help you now, but if there's a next time...
>
> --Alex
>
>
>
Thank you Alex, yes, like you said, there's always a next time :-)

Gabriel

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


Re: Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Gabriel Rossetti
Frank Wissmann wrote:
> Well, I think if you boot your computer from a cdrom and edit with
> bsdlabel you get into an editor where you can change the d into an a.
> That must be the solution you want.
>
> Regards
>
> Frank
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
ok, thanks, I'll do that

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


Re: Video fileserver - Need some input

2007-05-09 Thread Chris Slothouber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2007-05-09 10:12, Andreas Widerøe Andersen wrote:
> On 5/9/07, Chris Slothouber <[EMAIL PROTECTED]> wrote:
>> On 2007-05-09 08:21, Andreas Widerøe Andersen wrote:
>>> I'm planning a new fileserver for my post-production facility and need
>> some
>>> input regarding filesystems and network setup. I've been a FreeBSD fan
>> for
>>> almost 10 years now and will try to build this server based on the
>> latest
>>> stable FreeBSD version, allthough most machines here run WinXP.
>>> In addition to this 1-5 machines will have access to the fileserver
>> through
>>> a shared Gigabit network connection for making DVDs and use the files as
>>> source for editing. In short: There will be two direct 1Gb network
>>> connections and one shared 1Gb connection. Will the server hold up?
>> Depending on the resolution and frame rate of your video, GigE is
>> nowhere near fast enough a pipe for live video manipulation.  This is
>> certainly the case when dealing with broadcast video.
> 
> 
> We're only working in Standard Definition PAL (see the datarates in my first
> post). I have done DV capture tests before over the network and that worked
> fine. We're already having three machines feeding from one server today and
> that works fine too allthough it is a bit slow. We're mainly copying files
> to local drives, but DVD creation happens straight from the server.

My apologies, I totally glazed over that bit.

Samba does have some performance issues out of the box (see Solon Luigi
Lutz's thread from 04-10, similar situation but a little bit more later
in the game).  I believe there are a few tuning options for
Samba<->FreeBSD that might be appropriate, esp. wrt. multi-threading
CIFS.  Google seems to show a lot of hits for that.

Sorry again for missing the info you provided.  I hope this helps.

- --
Chris Slothouber ([EMAIL PROTECTED]) -=- Mercenary Sysadmin
BIZ: http://www.hier7.com -=- building.better.ideas
PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQd/0s0gLFnnAwn8RAvgsAJ9Dr2oFZMMt8sfPbsMtLBJZ3hBc8gCfVRVL
8tgP0nFuv881JKe/ZRkeOQI=
=jq/3
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: command to inentify the process that is listening in a port.

2007-05-09 Thread Tom Evans
On Wed, 2007-04-11 at 14:52 -0400, Bob Johnson wrote:
> On 4/10/07, Jonathan McKeown <[EMAIL PROTECTED]> wrote:
> > On Monday 09 April 2007 17:37, Martin Hudec wrote:
> > > Siju George wrote:
> > > > How Do you actually Identify what process is listening on a TCP/IP port?
> > > > "nmap" does not usually give the right answer.
> > > > There should be some command that can be run on the local host for
> > > > identification right?
> > >
> > > man lsof
> > >
> > > 5:35pm [amber] ~# lsof -i @localhost:123
> > > COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> > > ntpd552 root   10u  IPv4 0xc4c46000  0t0  UDP localhost:ntp
> >
> > Just out of interest, why do so many people recommend lsof, which is a port,
> > when sockstat/fstat are in the base system and seem to cover the same
> > ground?
> > Am I missing something about lsof?
> 
> Linux systems don't have sockstat, so people who got to FreeBSD via
> Linux are used to lsof and they tend to continue using it. Same result
> for those who read the many Linux howto websites.
> 
> - Bob
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Ironically, coming from linux I found that FreeBSD netstat doesn't
support the -l -4 flags, which is how I found out about sockstat -l4 :)

Tom


signature.asc
Description: This is a digitally signed message part


Re: Firebird-2.x - I am at /etc

2007-05-09 Thread Schiz0

On 5/9/07, Odhiambo Washington <[EMAIL PROTECTED]> wrote:


Having googled over and over and tried the various suggestions without
success, I am forced to ask here:

How does one install databases/firebird2-\* in FreeBSD? I am running
6.2-STABLE.


Thanks!


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Reality is for those who can't face Science Fiction.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"



man ports

http://www.freebsd.org/cgi/man.cgi?query=ports&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Firebird-2.x - I am at /etc

2007-05-09 Thread Odhiambo Washington
Having googled over and over and tried the various suggestions without 
success, I am forced to ask here:

How does one install databases/firebird2-\* in FreeBSD? I am running
6.2-STABLE.


Thanks!


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Reality is for those who can't face Science Fiction.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Video fileserver - Need some input

2007-05-09 Thread Andreas Widerøe Andersen

On 5/9/07, Chris Slothouber <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2007-05-09 08:21, Andreas Widerøe Andersen wrote:
> I'm planning a new fileserver for my post-production facility and need
some
> input regarding filesystems and network setup. I've been a FreeBSD fan
for
> almost 10 years now and will try to build this server based on the
latest
> stable FreeBSD version, allthough most machines here run WinXP.

> In addition to this 1-5 machines will have access to the fileserver
through
> a shared Gigabit network connection for making DVDs and use the files as
> source for editing. In short: There will be two direct 1Gb network
> connections and one shared 1Gb connection. Will the server hold up?

Depending on the resolution and frame rate of your video, GigE is
nowhere near fast enough a pipe for live video manipulation.  This is
certainly the case when dealing with broadcast video.



We're only working in Standard Definition PAL (see the datarates in my first
post). I have done DV capture tests before over the network and that worked
fine. We're already having three machines feeding from one server today and
that works fine too allthough it is a bit slow. We're mainly copying files
to local drives, but DVD creation happens straight from the server.

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


Re: Network interface restart

2007-05-09 Thread Steve Bertrand
>> But as I said, I ran the script from a screen session, so that makes me
>> wonder 
>> why the execution was aborted.
>>
>> But is running '/etc/rc.d/netif restart'' known to cause problems? I think
>> I 
>> shouldn't have to use scripts like these just to change a setting on the 
>> network interface.
>>
>> Kind regards,
>>
>> -- 
>> Bram Schoenmakers
>>
> 
> Hi Bram
> 
> You're exactly right. You don't need to run scripts like this. "ifconfig" 
> will do what you want. As far as I can see,
> 
> "ifconfig bge0 mtu 1472"
> 
> should suffice.

I like the ifconfig idea better, as per the routing. I don't know but
does netif also drop firewall state rules?

This should work well 'just in case' while running in a screen. If you
get no response after running it, it'll put it back the way it was
before. If you do get a response, you can send the process a ^C during
sleep():

#!/bin/sh
ifconfig bge0 mtu 1472
sleep 5
ifconfig bge0 mtu 1500

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


Re: Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Alex Zbyslaw

Matthew Seaman wrote:


Gabriel Rossetti wrote:



How can I do that? When I use sysinstall to create my partitions it
automatically create's it as da0s1d. 


Use:

 bsdlabel -e da0s1
 

There's also a trick you can use in sysinstall.  It will only ever 
assign an "a" partition to /.  So if you have some partition which you 
know will act as a root partition, but isn't actually going to be one 
right now, *lie*.  Set the mount point to / and get assigned e.g. da0s1a 
then *change* the mountpoint with M (I think) back to whatever you're 
calling this partition right now e.g. /root2.  Make sure you turn off 
softupdates (S?) if changing the mountpoint turns them back on.  Once 
the a partition has been assigned, it won't be re-assigned just because 
you changed the mountpoint.


Of course, this means that you have to assign all the pseudo-root 
partitions before you assign any real root partition otherwise 
sysinstall will likely complain about the duplicate mountpoint.  (Or 
change the real root mountpoint, do your pseudo roots, then change the 
real root back to /).


Of course, it doesn't help you now, but if there's a next time...

--Alex


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


Default interface font size in Firefox & Thunderbird 2.0

2007-05-09 Thread Erin E Conn
As can be seen in my screenshot: 
http://img.photobucket.com/albums/v709/TKou/screenshots/mozfonts.jpg, 
since upgrading to the 2.0 versions of Firefox and now Thunderbird the 
interface font sizes for those applications have become much larger than 
any of my other gtk applications, and they seem to be ignoring my font 
settings in .gtkrc-2.0. What's causing that and how can I fix it, 
because it looks awful.


contents of .gtkrc-2.0:
# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/usr/local/share/themes/Bluecurve/gtk-2.0/gtkrc"

style "user-font" {
font_name = "Arial 12"
}

widget_class "*" style "user-font"

gtk-font-name="Arial 12"

include "/home/erin/.gtkrc.mine"

# -- THEME AUTO-WRITTEN DO NOT EDIT

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


Re: Network interface restart

2007-05-09 Thread Christoph Schug
On Wed, May 09, 2007, Bram Schoenmakers wrote:

> But as I said, I ran the script from a screen session, so that makes me 
> wonder 
> why the execution was aborted.
> 
> But is running '/etc/rc.d/netif restart'' known to cause problems? I think I 
> shouldn't have to use scripts like these just to change a setting on the 
> network interface.

First, you should limit the operation to the interface in question.
You can do this by adding the interface name as optional parameter.
Nevertheless, any routing information regarding this interface gets
dropped, in your case it most probably the interface of the default
gateway. So, your interface will come back, but will be reachable only
in its subnet.

Something like

| # /etc/rc.d/netif restart bge0 && /etc/rc.d/routing restart

in a screen session should do the trick.

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


Re: Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Frank Wissmann
Well, I think if you boot your computer from a cdrom and edit with 
bsdlabel you get into an editor where you can change the d into an a. 
That must be the solution you want.


Regards

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


Re: Video fileserver - Need some input

2007-05-09 Thread Chris Slothouber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2007-05-09 08:21, Andreas Widerøe Andersen wrote:
> I'm planning a new fileserver for my post-production facility and need some
> input regarding filesystems and network setup. I've been a FreeBSD fan for
> almost 10 years now and will try to build this server based on the latest
> stable FreeBSD version, allthough most machines here run WinXP.

> In addition to this 1-5 machines will have access to the fileserver through
> a shared Gigabit network connection for making DVDs and use the files as
> source for editing. In short: There will be two direct 1Gb network
> connections and one shared 1Gb connection. Will the server hold up?

Depending on the resolution and frame rate of your video, GigE is
nowhere near fast enough a pipe for live video manipulation.  This is
certainly the case when dealing with broadcast video.

- --
Chris Slothouber ([EMAIL PROTECTED]) -=- Mercenary Sysadmin
BIZ: http://www.hier7.com -=- building.better.ideas
PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQc01s0gLFnnAwn8RAggtAKDYIRWT1iB0VjkmRxxJ8EzbjJxg+wCgmPuM
/fHCEVtbOq2G50rXb91djtg=
=lzTn
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Support Quad-Core Intel Xeon 5310 CPU

2007-05-09 Thread Ivan Carey

Hi,
Does FreeBSD 6.2 support Quad-Core Intel Xeon 5310 CPU and an Intel Xeon 
5320 quad core CPU


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


Re: Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Gabriel Rossetti wrote:
> Frank Wissmann wrote:
>> FreeBSD boots by default from the a-partition and IMK you can't change
>> this. Try to setup your rootdev as disk0s1a instead of disk0s1d and it
>> will work.
>>
>> Regards
>>
>> Frank
>>
> How can I do that? When I use sysinstall to create my partitions it
> automatically create's it as da0s1d. If you ment to modify my
> root_dev="disk0s1b"  (in /boot/default/loader.conf) back to it's default
> value (an a-partition) Then how is this going to help?

Use:

  bsdlabel -e da0s1

You'll be dumped into an editor showing the existing disklabel.  All
you need to do is swap the 'a' and 'd' fields at the start of those two
lines, or just change 'd' to 'a' if there isn't already an 'a'
partition.

Then edit your /etc/fstab to match.

And reboot.

Simple,

Matthew


- --
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQcHb3jDkPpsZ+VYRA/NCAKCpekEMdQR8IRZjjSAT1tgkFvov9gCgq0ed
P3Bx7Rv3qqILvCJUOirQszk=
=1uKv
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Network interface restart

2007-05-09 Thread Benjamin Sobotta

> Op woensdag 09 mei 2007, schreef Sam Lawrance:
> 
> Hi,
> 
> > > Could someone please point out where I made the mistake?
> >
> > When your network interface went down, you lost the connection, your
> > shell lost the terminal and your script was terminated before it
> > could finish doing what it was supposed to.  Possibly you need to use
> > something like "nohup" or "screen" (from ports), or have some other
> > form of terminal available.
> 
> Thanks for your answer.
> 
> But as I said, I ran the script from a screen session, so that makes me
> wonder 
> why the execution was aborted.
> 
> But is running '/etc/rc.d/netif restart'' known to cause problems? I think
> I 
> shouldn't have to use scripts like these just to change a setting on the 
> network interface.
> 
> Kind regards,
> 
> -- 
> Bram Schoenmakers
> 

Hi Bram

You're exactly right. You don't need to run scripts like this. "ifconfig" will 
do what you want. As far as I can see,

"ifconfig bge0 mtu 1472"

should suffice.

Cheers,

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


Re: ip refresh, resolv.conf and local scripts on startup?

2007-05-09 Thread RW
On Tue, 8 May 2007 16:11:21 -0500
"Jack Barnett" <[EMAIL PROTECTED]> wrote:

> I have a script that updates some dynamic DNS records (can be run as
> non-root if needed).
> 
> It needs to be run on startup - after network is configured and after
> rc.firewall (it'll get blocked if it's run before the firewall is
> setup).
> 
> What is a good place to put this?  I could put it at the end of
> rc.firewall, but is there a better place to put it?

This is a problem that people see when they need to update a local
dhcp server on a machine that gets its own settings by dhcp. Try google.


> Also how do I refresh a dynamic IP without rebooting?
> 
> Sometimes my cable modem gets messed up and under windows I just do:
> ipconfig /release
> ipconfig /renew
> 
> and it gets new IP and sets everything up.  In FreeBSD is there a way
> to reconfigure everything without rebooting?

/etc/rc.d/dhclient restart

should do it

> (rc.firewall uses this to get network info:
> onet=`ifconfig xl0 | grep "inet " | awk '{print $6}'`
> oip=`ifconfig xl0 | grep "inet " | awk '{print $2}'`
> Meaning, rc.firewall would also have to be re-ran if the IP is new).
> [also to make things more complicated, I think I need a rule in
> rc.firewallto allow for DHCP clients to go out?  It gets blocked on
> external interface
> when firewall comes up??]

I doesn't appear to matter, I think dhclient bypasses the firewall. at
least that's my experience with PF.

> Also how do I override /etc/resolv.conf?  DHCP client configures it I
> think and sets it up to point to my ISP DNS servers (which suck) and
> would like to give it mine instead of there, but it keeps getting
> over written on startup when it gets a DHCP lease?

See dhclient.conf(5) for how to control what DHCP does to resolv.conf,

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


Video fileserver - Need some input

2007-05-09 Thread Andreas Widerøe Andersen

I'm planning a new fileserver for my post-production facility and need some
input regarding filesystems and network setup. I've been a FreeBSD fan for
almost 10 years now and will try to build this server based on the latest
stable FreeBSD version, allthough most machines here run WinXP.

We have an internal 1 Gigabit network here and in addition to this the video
fileserver will have two direct NIC connections to two WinXP capture
stations. I will most likely be using a Raid-0 or a Raid-5 setup with SATA
drives. The system will have something like 4-8 TB of HDD space.

I'm not so afraid of loosing data, but we need a system that is fast and
will allow capture from two external Windows XP machines through direct
Gigabit ethernet. The datarates are 8 bit @ 720 x 576 @ 25fps = 20 MB
per/sec, or 70 GB per/hr.
10 bit @ 720 x 576 @ 25fps = 26 MB per/sec, or 93 GB per/hr.

In addition to this 1-5 machines will have access to the fileserver through
a shared Gigabit network connection for making DVDs and use the files as
source for editing. In short: There will be two direct 1Gb network
connections and one shared 1Gb connection. Will the server hold up?

So, my questions are, will the default FreeBSD filesystem be fast enough?
Are there any special settings I need to do during slice/partitioning? The
files will be LARGE. :-)

Samba will probably be ideal for the shared connection so users can browse
the directories. Samba should be able to do this, right?

Any other recommendations are very welcome.

Thanks!

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


Re: Network interface restart

2007-05-09 Thread Steve Bertrand
Bram Schoenmakers wrote:
> Op woensdag 09 mei 2007, schreef Sam Lawrance:
> 
> Hi,
> 
>>> Could someone please point out where I made the mistake?
>> When your network interface went down, you lost the connection, your
>> shell lost the terminal and your script was terminated before it
>> could finish doing what it was supposed to.  Possibly you need to use
>> something like "nohup" or "screen" (from ports), or have some other
>> form of terminal available.
> 
> Thanks for your answer.
> 
> But as I said, I ran the script from a screen session, so that makes me 
> wonder 
> why the execution was aborted.
> 
> But is running '/etc/rc.d/netif restart'' known to cause problems? I think I 
> shouldn't have to use scripts like these just to change a setting on the 
> network interface.

More importantly, what *exactly* did your 'fallback' script contain?

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


Re: Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Gabriel Rossetti
Gabriel Rossetti wrote:
> Frank Wissmann wrote:
>   
>> FreeBSD boots by default from the a-partition and IMK you can't change
>> this. Try to setup your rootdev as disk0s1a instead of disk0s1d and it
>> will work.
>>
>> Regards
>>
>> Frank
>>
>> 
> How can I do that? When I use sysinstall to create my partitions it
> automatically create's it as da0s1d. If you ment to modify my
> root_dev="disk0s1b"  (in /boot/default/loader.conf) back to it's default
> value (an a-partition) Then how is this going to help?
>
> Thank you,
> Best regards,
> Gabriel
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>   
I get what happened... when I created my partitions, I had my old disk
installed, since I was booting from it, so the a-partition was already
taken, now that it is gone, I would have to rename it, is that possible?

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


Re: Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Gabriel Rossetti
Frank Wissmann wrote:
> FreeBSD boots by default from the a-partition and IMK you can't change
> this. Try to setup your rootdev as disk0s1a instead of disk0s1d and it
> will work.
>
> Regards
>
> Frank
>
How can I do that? When I use sysinstall to create my partitions it
automatically create's it as da0s1d. If you ment to modify my
root_dev="disk0s1b"  (in /boot/default/loader.conf) back to it's default
value (an a-partition) Then how is this going to help?

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


Re: Network interface restart

2007-05-09 Thread Bram Schoenmakers
Op woensdag 09 mei 2007, schreef Sam Lawrance:

Hi,

> > Could someone please point out where I made the mistake?
>
> When your network interface went down, you lost the connection, your
> shell lost the terminal and your script was terminated before it
> could finish doing what it was supposed to.  Possibly you need to use
> something like "nohup" or "screen" (from ports), or have some other
> form of terminal available.

Thanks for your answer.

But as I said, I ran the script from a screen session, so that makes me wonder 
why the execution was aborted.

But is running '/etc/rc.d/netif restart'' known to cause problems? I think I 
shouldn't have to use scripts like these just to change a setting on the 
network interface.

Kind regards,

-- 
Bram Schoenmakers

BOFH Excuse #8: static buildup
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Frank Wissmann
FreeBSD boots by default from the a-partition and IMK you can't change 
this. Try to setup your rootdev as disk0s1a instead of disk0s1d and it 
will work.


Regards

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


Re: Network interface restart

2007-05-09 Thread Sam Lawrance


On 09/05/2007, at 8:31 PM, Bram Schoenmakers wrote:


Hi,

I tried to reduce the MTU of a network interface on a remote  
FreeBSD 6.2

machine.

So that means changing this line in rc.conf:

ifconfig_bge0="inet xxx.xxx.xxx.xxx netmask 255.255.255.128"

to

ifconfig_bge0="inet xxx.xxx.xxx.xxx netmask 255.255.255.128 mtu 1472"

Of course, there's a real IP address set.

Then, I tried to restart the network interface:

/etc/rc.d/netif restart

which went horribly wrong. I lost connection and wasn't able to  
reconnect. I
tried to run this in some 'fallback' script, which automatically  
should
restore the old configuration and restarting the network interface  
again
after 5 minutes. Even if that failed, it should reboot the machine.  
But
somehow the script was aborted, although I ran it in a 'screen'  
session over
SSH. So the last resort  was a manual reboot, which started the  
interface

with MTU 1472 just fine.

Could someone please point out where I made the mistake?


When your network interface went down, you lost the connection, your  
shell lost the terminal and your script was terminated before it  
could finish doing what it was supposed to.  Possibly you need to use  
something like "nohup" or "screen" (from ports), or have some other  
form of terminal available.



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


Network interface restart

2007-05-09 Thread Bram Schoenmakers
Hi,

I tried to reduce the MTU of a network interface on a remote FreeBSD 6.2 
machine.

So that means changing this line in rc.conf:

ifconfig_bge0="inet xxx.xxx.xxx.xxx netmask 255.255.255.128"

to

ifconfig_bge0="inet xxx.xxx.xxx.xxx netmask 255.255.255.128 mtu 1472"

Of course, there's a real IP address set.

Then, I tried to restart the network interface:

/etc/rc.d/netif restart

which went horribly wrong. I lost connection and wasn't able to reconnect. I 
tried to run this in some 'fallback' script, which automatically should 
restore the old configuration and restarting the network interface again 
after 5 minutes. Even if that failed, it should reboot the machine. But 
somehow the script was aborted, although I ran it in a 'screen' session over 
SSH. So the last resort  was a manual reboot, which started the interface 
with MTU 1472 just fine.

Could someone please point out where I made the mistake?

Thanks in advance,

-- 
Bram Schoenmakers

What is mind? No matter. What is matter? Never mind.
(Punch, 1855)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dual monitors?

2007-05-09 Thread Chad Perrin
On Tue, May 08, 2007 at 07:17:45PM -0500, Paul Schmehl wrote:
> 
> I'm using ATI Radeon X300, but the setup was quite simple.  One monitor 
> section.  One device section.  One screen section.
> 
> Section "ServerLayout"
>Identifier "X.org Configured"
>Screen  0  "Screen0" 0 0
>InputDevice"Mouse0" "CorePointer"
>InputDevice"Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "Device"
>Identifier  "Card0"
>Driver  "radeon"
>VendorName  "ATI Technologies Inc"
>BoardName   "Radeon X300"
>BusID   "PCI:1:0:0"
>Option  "MergedFB" "true"
>Option  "CRT2Position" "RightOf"
> EndSection

Would you be willing to send me a copy of your entire xorg.conf file?
Either on-list or off would be fine with me.  I need to configure a
laptop using a Radeon Mobility X300, and Xorg -configure gives me an
xorg.conf file that doesn't work.  I'm trying to get as many examples
of xorg.conf files that *do* work with the various pieces of hardware in
this laptop as possible to suss out the "perfect" xorg.conf for it.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
MacUser, Nov. 1990: "There comes a time in the history of any project when
it becomes necessary to shoot the engineers and begin production."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Compliance is Essential to your Business

2007-05-09 Thread Compliant Company
Compliant Company Demonstration:
Take advantage of your Entity

   

 

 
 Join us for a Webinar on May 9
   
 
  
   
   

Bring your LLC, S-C corp, Non-profit, LLP or LP into compliance in all 51 
Jurisdictions. 
Create a Compliant Company or Corporation. 
Maintain Compliance in all 51 Jurisdictions. 
Create Option plans, Vesting Plans, agreements and so much more!
 
Title: Compliant Company Demonstration
   
Date: Wednesday, May 9, 2007
   
Time: 9:00 AM - 10:00 AM PDT

 

 
Space is limited.
Reserve your Webinar Seat Now at:
https://www.gotomeeting.com/register/553363
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]

2007-05-09 Thread Olaf Greve

Hi again,

Tnx for your further recommendations. I'll take the following actions:

1) I'll report the IP addresses to Spamcop and Spamhaus (note that  
indeed it appears to be virus-driven, or operated through backdoors,  
as the server is under constant "attack", coming from a variety of IP  
addresses). That way, perhaps the ISPs can at least inform the  
"responsible" people that they have virus infections, and need to act  
upon it.
2) I may try the hosts.allow trick, but I fear that the IP addresses  
will be very diverse, so that may not be as full-proof as I'd like.  
Probably I'll make use of captcha, or something of the likes.
3) I had already tried using Apache to block any and all access to  
the script, but from the machine itself, but I had done so by adding  
an "Allow from 123.456.789.10" entry (with the real life IP address,  
instead of "localhost" or "127.0.0.1"). This didn't do the trick, and  
I can see why. I'll try this with setting this to "Allow from  
localhost" or "Allow from 127.0.0.1", and will the perhaps have to  
change the  action handler somewhat.


Either way: I should have enough information for now to properly act  
upon it (though I still welcome further suggestions), so thanks a lot  
again! :)


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


Re: dual monitors?

2007-05-09 Thread Tom Evans
On Tue, 2007-05-08 at 19:17 -0500, Paul Schmehl wrote:
> --On May 8, 2007 6:15:52 PM -0500 Jonathan Horne <[EMAIL PROTECTED]> wrote:
> 
> > anyone out there running dual monitors in FreeBSD?
> 
> Of course.
> 
> >  if so, what is your setup?   single display adapter/2 heads, or 2 
> seperate adapters?
> 
> Single adaptor, two heads.

Actually, yours is single adaptor, single (merged framebuffer) head.

I use single adaptor dual head, using i945GM (i810). Works quite nicely,
although using Xinerama (move windows between heads) disables DRI.

Config attached.

Tom


Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
Screen  1  "WorkTFT" LeftOf "Screen0"
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/texcm-ttf/"
FontPath "/usr/X11R6/lib/X11/fonts/mathfonts/"
FontPath "/usr/X11R6/lib/X11/fonts/bitstream-vera/"
FontPath "/usr/X11R6/lib/X11/fonts/freefont-ttf/"
EndSection

Section "Module"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "glx"
Load  "record"
Load  "xtrap"
Load  "freetype"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
#Option  "Buttons" "10"
#Option "ZAxisMapping" "9 10"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
EndSection

Section "Monitor"
Identifier "WorkTFTMon"
HorizSync  64-64
VertRefresh 60-60
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB"  # []
#Option "DefaultRefresh"# []
#Option "ModeSetClearScreen"# []
Identifier  "Card0"
Driver  "i810"
VendorName  "Intel Corporation"
BoardName   "Mobile Integrated Graphics Controller"
BusID   "PCI:0:2:0"
VideoRam131072
Option  "DRI"   "true"
Option  "MonitorLayout" "CRT,LFP"
Screen  0
EndSection

Section "Device"
Identifier "Card1"
Driver  "i810"
BusID   "PCI:0:2:0"
VideoRam131072
Option  "DRI"   "true"
Option  "MonitorLayout" "CRT,LFP"
Screen  1
EndSection


Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth 16
Modes "1400x1050"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 24
Modes "1400x1050"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 32
Modes "1400x1050"
EndSubSection
EndSection

Section "Screen"
Identifier "WorkTFT"
Device "Card1"
Monitor "WorkTFTMon"
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768"
EndSubSection
EndSection

Section "ServerFlags"
Option  "DontZap" "yes"
Option "Xinerama" "true"
EndSection

Section "DRI"
Mode 0666
EndSection


signature.asc
Description: This is a digitally signed message part


Error on installation of Firebird2

2007-05-09 Thread Odhiambo Washington
I am trying to install databases/firebird2-server, but the process keeps 
failing with:


==> Please do not build firebird as 'root' because this may cause conflicts 
with SysV semaphores of running services.
*** Error code 1

Stop in /usr/ports/databases/firebird2-client.
*** Error code 1

Stop in /usr/ports/databases/firebird2-server.


Now, I am simply not sure how else I can install without being 'root':-)



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Sooner or later you must pay for your sins.  (Those who have already
paid may disregard this fortune).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error on installation of Firebird2 (Revised)

2007-05-09 Thread Odhiambo Washington
Installation of Firebird2-server on FreeBSD 6.2-STABLE is giving me so 
much grief

When I just do `make`, it fails with the following:


==> Please do not build firebird as 'root' because this may cause conflicts 
with SysV semaphores of running services.
*** Error code 1

Stop in /usr/ports/databases/firebird2-client.
*** Error code 1

Stop in /usr/ports/databases/firebird2-server.


also, if I build with "make -DWITHOUT_IPC_CLEANUP", it fails with:



If I do `make -DWITHOUT_IPC_CLEANUP`, it dies as follows...




gpre version FB-V2.0.1.12855 Firebird 2.0
Version(s) for database "yachts.lnk"
Firebird/FreeBSD/i386 (access method), version "FB-V2.0.1.12855 
Firebird 2.0"
on disk structure version 11.0
c++ -O2 -fno-strict-aliasing -pipe -I/usr/local/include -O2 
-fno-strict-aliasing -pipe  -I/usr/local/include -I../src/include/gen 
-I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O 
-fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD -O2 
-fno-strict-aliasing -pipe  -I/usr/local/include -I../src/include/gen 
-I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O 
-fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD 
-I../src/include/gen -I../src/include -I../src/vulcan -I/usr/local/include 
-DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC 
-DPROD_BUILD -O2 -fno-strict-aliasing -pipe  -I/usr/local/include 
-I../src/include/gen -I../src/include -I../src/vulcan -I/usr/local/include 
-DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC 
-DPROD_BUILD -I../src/include/gen -I../src/include -I../src/vulcan 
-I/usr/local/include -DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD 
-pipe -MMD -fPIC -DPROD_BUILD -DBOOT_BUILD -I../src/include/gen 
-I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O 
-fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD -c 
../src/isql/show.cpp -o ../temp/boot/isql/show.o
c++  -Wl,-rpath,/var/db/firebird/lib -Wl,-rpath,/var/db/firebird/intl   
-Wl,-rpath,../gen/firebird/lib ../temp/boot/isql/extract.o 
../temp/boot/isql/isql.o ../temp/boot/isql/show.o 
../temp/boot/common/classes/alloc.o ../temp/boot/common/classes/locks.o 
../temp/boot/common/classes/fb_string.o ../temp/boot/common/classes/timestamp.o 
../temp/boot/common/fb_exception.o ../temp/boot/common/utils.o 
../temp/boot/common/classes/MetaName.o ../temp/boot/config/AdminException.o 
../temp/boot/config/Args.o ../temp/boot/config/ArgsException.o 
../temp/boot/config/ConfObj.o ../temp/boot/config/ConfObject.o 
../temp/boot/config/ConfigFile.o ../temp/boot/config/Configuration.o 
../temp/boot/config/DirectoryList.o ../temp/boot/config/Element.o 
../temp/boot/config/FileName.o ../temp/boot/config/InputFile.o 
../temp/boot/config/InputStream.o ../temp/boot/config/Lex.o 
../temp/boot/config/ScanDir.o ../temp/boot/config/Stream.o 
../temp/boot/config/StreamSegment.o ../temp/boot/vulcan/JString.o 
../temp/boot/vulcan/PathName.o ../temp/boot/vulcan/RefObject.o -o 
../gen/firebird/bin/isql_static -L../gen/firebird/lib -lfbstatic -lstdc++ 
-lcurses -lm -lc  -ledit -lreadline -licui18n -licuuc -licudata -L/usr/local/lib
../temp/boot/isql/isql.o(.text+0x2cde): In function `add_row(char*)':
: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
../temp/boot/isql/isql.o(.text+0x7a8): In function `readNextInputLine(char 
const*)':
: undefined reference to `readline(char const*)'
../temp/boot/isql/isql.o(.text+0x7d0): In function `readNextInputLine(char 
const*)':
: undefined reference to `add_history(char*)'
gmake[3]: *** [../gen/firebird/bin/isql_static] Error 1
rm ../src/isql/extract.cpp ../src/isql/isql.cpp ../src/isql/show.cpp
gmake[3]: Leaving directory 
`/usr/ports/databases/firebird2-client/work/Firebird-2.0.1.12855-0/gen'
gmake[2]: *** [../gen/firebird/bin/isql_static] Error 2
gmake[2]: Leaving directory 
`/usr/ports/databases/firebird2-client/work/Firebird-2.0.1.12855-0/gen'
gmake[1]: *** [../gen/firebird/security2.fdb] Error 2
gmake[1]: Leaving directory 
`/usr/ports/databases/firebird2-client/work/Firebird-2.0.1.12855-0/gen'
gmake: *** [firebird_basic] Error 2
*** Error code 2

Stop in /usr/ports/databases/firebird2-client.
*** Error code 1

Stop in /usr/ports/databases/firebird2-server.



How do I go around these?

-Wash


--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Good advice is something a man gives when he is too old to set a bad
example.
-- La Rouchefoucauld
___
freebsd-questions@freebsd.org mailing list
http

freebsd-update and locally modfied files

2007-05-09 Thread Zbigniew Szalbot
Hello,

Can you help me by suggesting what I need to do when I want to use
freebsd-update fetch (FBSD 6.2) but get the following message:

The following files are affected by updates, but no changes have
been downloaded because the files have been modified locally:
/etc/rc.d/jail

Now, I do not recall ever playing with jail. Anyway, how do I update the
system (and keep changes to /etc/rc.d/jail (if any))?

Thank you in advance!

-- 
Zbigniew Szalbot

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


Re: Problem with RRDTool reinstallation

2007-05-09 Thread Dinesh Pandian

Thanks Dan!
Commenting out USE_GMAKE in the Makefile
solved it!

Regards,
Dinesh

On 5/8/07, Dan Nelson <[EMAIL PROTECTED]> wrote:


In the last episode (May 08), Julien Gabel said:
> > This server is close to deployment so I can't afford to reinstall.
> > I get the following error when I try to reinstall/install RRDTool.
> > Must be caused by a failed portupgrade I did earlier.
>
>  There are already 3 PRs for this problem :
>  -
http://portsmon.droso.net/portoverview.py?category=net&portname=rrdtool

My suggestion is to remove the USE_GMAKE line from the port Makefile.
The port doesn't require gnumake at all, and our make builds the port
to completion.

--
Dan Nelson
[EMAIL PROTECTED]


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


Re: Problem with RRDTool reinstallation

2007-05-09 Thread Dinesh Pandian

Thanks for pointing it out.
And oh.. btw, if it's fixed, then would I be able
to install it by doing a portsnap fetch && portsnap update
and then running portupgrade -a ?

Thanks.


On 5/8/07, Julien Gabel <[EMAIL PROTECTED]> wrote:


> This server is close to deployment so I can't afford to reinstall.
> I get the following error when I try to reinstall/install RRDTool.
> Must be caused by a failed portupgrade I did earlier.

There are already 3 PRs for this problem :
- http://portsmon.droso.net/portoverview.py?category=net&portname=rrdtool

--
julien.
http://blog.thilelli.net/


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


Re: Disk problems?

2007-05-09 Thread Jack Barnett

hrm... ?

Doing it again:

twa0: INFO: (0x04: 0x000B): Rebuild started: unit=0
twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=0
twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=1
twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=0
twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=1
twa0: INFO: (0x04: 0x0005): Rebuild completed: unit=0
twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=0
twa0: ERROR: (0x04: 0x0002): Degraded unit: unit=0, port=0
twa0: ERROR: (0x04: 0x0009): Drive timeout detected: port=1
twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=1
twa0: ERROR: (0x04: 0x000A): Drive error detected: unit=0, port=1


now says both disks are having problems (I removed the other two disks
and just keeping the two root drives in array unit 1):

Unit UnitType  Status %RCmpl  %V/I/M  Port  Stripe  Size(GB)

u0   RAID-1DEGRADED*  -   -   - -   74.4951
u0-0 DISK  WARNING-   -   p1-   74.4951
u0-1 DISK  DEGRADED   -   -   p0-   74.4951


What the ?

I tested both of these under WinXP and they come up fine.  No errors,
nothing when running windows.  Under FreeBSD, it throws those errors
above and then sets them degraded (and then the bios flags them on
reboot) - but if I run windows, it never flags them and everything is
fine.

Another thing I noticed is that under FreeBSD the drives will starts
"clicking" and making god awful noises, really loud clicking like the
heads are jerking back and forth really fast.  Doesn't happen in
windows, they run really quite and smooth.  Is this some sort of bad
driver messing up my disks?  I don't know what the hell it's doing to
my drives, but it sounds god awful... I have it booted in windows now
and it doesn't do that.  I've never seen this before.

Why does it keep clicking my drives like that and why is it throwing
errors?  I've rebuild this array about a half dozen times already.

I synced to 6.2 rel and rebuild both kernel and world, but something
doesn't seem right :(

























On 5/7/07, Jack Barnett <[EMAIL PROTECTED]> wrote:


I have a 3ware (AMCC) 9500S-4LP RAID card and 4 disks in 2 Mirror 1 arrays:
Unit 1: 2 x 80 gigs
Unit 2: 2 x 400 gigs

Under windows this was working fine.  Both disks where "healthy" and running (I 
could test this by unplugging one or the other):

Under FreeBSD though, it says it's not working:
May  7 13:57:37 fire kernel: twa0: INFO: (0x04: 0x000B): Rebuild started: unit=0
May  7 13:57:37 fire kernel: twa0: INFO: (0x04: 0x000B): Rebuild started: unit=1
May  7 13:57:48 fire kernel: twa0: ERROR: (0x04: 0x003A): Drive power on reset 
detected: port=0

The rebuild message is fine, but keeps getting "Drive power on reset detected: 
port=0"

In the 3ware BIOS, it shows all drives as "active" (ie. powered on and 
connected), so don't know why the kernel thinks it's powered down?  Does it mean 
something else?

If I just "wait" for about 20 minutes, the drives start rebuilding:

Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
--
u0RAID-1REBUILDING 37  -   -   74.4951   OFFOFF
u1RAID-1REBUILDING 13  -   -   372.519   OFFOFF


(it's in Unit one above, 37% complete).  So even though it's getting this "Drive 
power on reset detected" it eventually rebuilds it's self. ?

Any ideas what this message means?  I thought it was an error, but seems fine 
since it's rebuilding it's self. ?

Thanks.






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


Can't get FreeBSD to boot automatically from RAID 5 system

2007-05-09 Thread Gabriel Rossetti
Hello,

I purchased a RocketRaid card + 3 disks, and moved my FreeBSD 6.1 to it
using dump, I then changed my fstab
entry to use da0s1d for /, I made sure that the it is bootable, I told
my raid controller to be bootable, I set it up to boot in my BIOS as the
first device, I added the kernel module to the /boot/default/loader.conf
so tha it is loaded, I modified the loader.cong so that the
root_dev="disk0s1d", but when I reboot, it says "Invalid partition" and
prompts me to enter the correct partition. It apperently tried to use
0:da(0,a)/boot/loader so I tell it to use 0:da(0,d)/boot/loader and it
boots, everything works fine. I must have forgotten to do something,
because it always tries to boot da0s1a instead of da0s1d.

Does anyone have an idea on how I can tell it to boot from da0s1d?

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


Re: ip refresh, resolv.conf and local scripts on startup?

2007-05-09 Thread Jack Barnett

hrm, thanks, but this doesn't seem to work:

`ifconfig xl0 down` doesn't do anything... executes without error, but the
interface stays up.

`/sbin/dhclient`  gets a new IP, but doesn't "re-do" the firewall with new
IP, so everything is broken.

 echo nameserver 123.34.45.67  > /etc/resolv.conf
 echo  nameserver 321.23.67.328 >> /etc/resolv.conf

This is over written on startup/reboot by the dhcpclient.  If I modify the
file, then it tries to "correct" it self and over writes the file with the
DNS servers provided via the DHCP server.

Any other ideas?

Thanks,
Jack




On 5/8/07, User Iam <[EMAIL PROTECTED]> wrote:


Hi

To get a new ip

Do

/sbin/ifconfig  ethX  down

/sbin/dhclient   # to get a new ip..


Then for resolv.conf


echo nameserver 123.34.45.67  > /etc/resolv.conf
echo  nameserver 321.23.67.328 >> /etc/resolv.conf


HTH

User Iam


On 5/8/07, Jack Barnett <[EMAIL PROTECTED]> wrote:
>
> I have a script that updates some dynamic DNS records (can be run as
> non-root if needed).
>
> It needs to be run on startup - after network is configured and after
> rc.firewall (it'll get blocked if it's run before the firewall is
> setup).
>
> What is a good place to put this?  I could put it at the end of
> rc.firewall,
> but is there a better place to put it?
>
> Also how do I refresh a dynamic IP without rebooting?
>
> Sometimes my cable modem gets messed up and under windows I just do:
> ipconfig /release
> ipconfig /renew
>
> and it gets new IP and sets everything up.  In FreeBSD is there a way to
> reconfigure everything without rebooting?
>
> (rc.firewall uses this to get network info:
> onet=`ifconfig xl0 | grep "inet " | awk '{print $6}'`
> oip=`ifconfig xl0 | grep "inet " | awk '{print $2}'`
> Meaning, rc.firewall would also have to be re-ran if the IP is new).
> [also to make things more complicated, I think I need a rule in
> rc.firewallto allow for DHCP clients to go out?  It gets blocked on
> external interface
> when firewall comes up??]
>
> Also how do I override /etc/resolv.conf?  DHCP client configures it I
> think
> and sets it up to point to my ISP DNS servers (which suck) and would
> like to
> give it mine instead of there, but it keeps getting over written on
> startup
> when it gets a DHCP lease?
>
> thanks.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>



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