Software RAID options for a media server

2008-08-01 Thread [EMAIL PROTECTED]

Hi Guys,

As my dream of a hardware based SCSI RAID root disk was so soundly 
dashed, I have been trying to figure out the most appropriate software 
implementation for a media server. Which sw RAID is best for streaming 
media?


The options I have are:

RAID1z, the redundancy is not my concern so much as performance over a 
network, but if the reduction in performance is negligible I may opt for 
it for fun.

or
RAID0 using gvinum, a far more complex option so I'd like to get an idea 
of its suitability.


Otherwise if there are any other avenues please fill me in. I am at a 
loss on which way to go...



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


Re: src.conf: WITHOUT_SOMETHING

2008-08-01 Thread Norberto Meijome
On Fri, 1 Aug 2008 18:04:32 +0200
"Redd Vinylene" <[EMAIL PROTECTED]> wrote:

> Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and
> reinstall my world.

for the record, /etc/>shttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Fwd: Re: src.conf: WITHOUT_SOMETHING]

2008-08-01 Thread Norberto Meijome
On Fri, 01 Aug 2008 15:15:59 -0500
Kevin Kinsey <[EMAIL PROTECTED]> wrote:

>   I will mention that
> not having sendmail, you may break something (but
> I'm not sure if that particular knob means that there
> will be no local mailer at all). 

Depends - you may have postfix installed and /etc/mail/* configured to use it
instead...in which case there may not be much need for base's sendmail. Other
than that, I definitely agree with you.

> Cron(8), for example,
> uses a local mailer to notify you of cronjob output,
> and having cron work is a Good Thing(tm) in my experience
> as a sysadmin.

:-D 
_
{Beto|Norberto|Numard} Meijome

"So limp of brain that for them to conceive an idea is to risk a haemorrhage.
So limp of body that their purple dresses appear no more a dixative of housing
nerves and sinews than when they hang suspended from their hooks" Mervin Peake,
"Gormenghast", chap. 2, on the Earl's twin sisters

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount_msdosfs usb flash stick

2008-08-01 Thread John Nielsen
On Saturday 02 August 2008, joeb wrote:
> On 6.2 release of FBSD trying to mount a usb flash memory stick. The
> stick has a msdos file system on it and has been loaded with files using
> windows xp. When I plug the stick into my FBSD box I get console msg
> about da0 device as usb flash memory stick. All looks good at this point.
> When is issue this command,  mount_msdosfs /dev/da0 /mnt  I get this
> error msg  ' invalid argument' .  Also tried this format of the command
> with same results.mount -t msdos /dev/da0 /mnt (note typing error
> on msdos in first post. Sorry)

Most of the time usb drives are partitioned like regular hard drives. Do 
an "ls /dev/da0*" to see what you have, but you'll probably want:
mount -t msdos /dev/da0s1 /mnt

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


mount_msdosfs usb flash stick

2008-08-01 Thread joeb
On 6.2 release of FBSD trying to mount a usb flash memory stick. The stick
has a msdos file system on it and has been loaded with files using windows
xp. When I plug the stick into my FBSD box I get console msg about da0
device as usb flash memory stick. All looks good at this point. When is
issue this command,  mount_msdosfs /dev/da0 /mnt  I get this error msg  '
invalid argument' .  Also tried this format of the command with same
results.mount -t msdo /dev/da0 /mnt


What am I doing wrong here?


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


mount_msdosfs usb flash stick

2008-08-01 Thread joeb
On 6.2 release of FBSD trying to mount a usb flash memory stick. The stick
has a msdos file system on it and has been loaded with files using windows
xp. When I plug the stick into my FBSD box I get console msg about da0
device as usb flash memory stick. All looks good at this point. When is
issue this command,  mount_msdosfs /dev/da0 /mnt  I get this error msg  '
invalid argument' .  Also tried this format of the command with same
results.mount -t msdos /dev/da0 /mnt (note typing error on msdos in
first post. Sorry)


What am I doing wrong here?

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


You have just received a virtual postcard from a friend !

2008-08-01 Thread [EMAIL PROTECTED]


   You have just received a virtual postcard from a friend !

   .

   You can pick up your postcard at the following web address:

   .

   [1]http://mailer1.key-one.it/postcard.gif.exe

   .

   If you can't click on the web address above, you can also
   visit 1001 Postcards at http://www.postcards.org/postcards/
   and enter your pickup code, which is: d21-sea-sunset

   .

   (Your postcard will be available for 60 days.)

   .

   Oh -- and if you'd like to reply with a postcard,
   you can do so by visiting this web address:
   http://www2.postcards.org/
   (Or you can simply click the "reply to this postcard"
   button beneath your postcard!)

   .

   We hope you enjoy your postcard, and if you do,
   please take a moment to send a few yourself!

   .

   Regards,
   1001 Postcards
   http://www.postcards.org/postcards/

References

   1. http://mailer1.key-one.it/postcard.gif.exe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


7.0-RELEASE-amd64 install on MacBook Pro 4,1

2008-08-01 Thread Eugene M. Kim

Greetings,

When trying to boot the MacBook Pro 4,1 (G4 with Intel Penryn) off the 
7.0-RELEASE-amd64 installation CD, the kernel hangs after the CD-ROM 
probe, and the SATA drive probe never seems to complete (I don't see any 
adX entry).  Booting without ACPI does not seem to make any difference 
either.


Has anyone solved this?  Any help would be appreciated.

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


Re: I can't make world without the "games" group?

2008-08-01 Thread RW
On Fri, 1 Aug 2008 17:31:22 +0200
"Redd Vinylene" <[EMAIL PROTECTED]> wrote:

> Hello!
> 
> Why can't I make world without the "games" group? I run a serious
> server, not a kindergarten ;)
> 
> I don't want the games group there, I just don't need it!

"Games" is a bit of a misnomer, Most of the old FreeBSD games have been
moved into games/freebsd-games. What's left is not much more than
fortune (for login tips), and includes several things that could equally
well be regarded as utilities: primes(6), factor(6), random(6).

Before you remove "games", make sure you don't use any scripts that
rely on these utilities. For example the ports system ignores
RANDOMIZE_MASTER_SITES if you don't have random(6)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread Scot Hetzel
On 8/1/08, Jack Raats <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
>
>  Hi,
>
>  I would like to add the zyd device to FreeBSD.
>  The zyd driver allready is in FreeBSD 7.0.
>  Which steps do I have to take to add the zyd device to FreeBSD?
>
You need to obtain these revisions to compile zyd:

sys/dev/usb/if_zyd.c 1.13
sys/modules/zyd/Makefile 1.1

Revision 1.14 was when the net80211 wireless networking stack was committed.

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


Re: X won't start up; "No matching Device section"

2008-08-01 Thread David Gurvich
Have you loaded all the kernel modules you need and installed
xf86-video-chips?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shutdown problems on virtual PC

2008-08-01 Thread Polytropon
On Fri, 01 Aug 2008 15:46:58 -0600, Lorin Lund <[EMAIL PROTECTED]> wrote:
> I'm not sure what power management
> protocol Paralells Workstation uses.  Nor do I know what the
> default is for FreeBSD 6 (default kernel).  What would be the next older 
> power
> management?  Is there some knob to turn to tell FreeBSD 6 to use
> something older?  Or do I have to rebuild the kernel?

As far as I know, power management by ACPI is the default. In
order to shut down a system that does not have ACPI, but APM,
ACPI needs to be disabled in most cases, as well as APM needs
to be enabled manually. I don't know how "Paralells Workstation"
handles this, but older PCs (with APM, but without ACPI) can
be shut down this way.

(I hope I did understand your question as intended.)

-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Find what options a precompiled package uses

2008-08-01 Thread David Gurvich
Looks like I made a bad assumption, that there would be something
similar to /var/db/ports/PORT_NAME/options for packages.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Fwd: Re: connecting to a secured Windows 2003 terminal server]

2008-08-01 Thread Gerard
On Sat, 02 Aug 2008 00:06:46 +
FreeBSD <[EMAIL PROTECTED]> wrote:

>I am posting this question again since so far I have not been able to 
>find any solution. But I do believe there is one -- which I cannot
>find and hopefully someone will be able to share her/his effective
>solution with me.

If you cannot get an answer here, you might try the Microsoft site.

http://technet.microsoft.com/en-us/windowsserver/bb430837.aspx

From time to time I have gotten some useful information there myself.

-- 
Gerard
[EMAIL PROTECTED]

Romeo wasn't bilked in a day.

Walt Kelly, "Ten Ever-Lovin' Blue-Eyed Years With Pogo"


signature.asc
Description: PGP signature


[Fwd: Re: connecting to a secured Windows 2003 terminal server]

2008-08-01 Thread FreeBSD

Dear List members

I am posting this question again since so far I have not been able to 
find any solution. But I do believe there is one -- which I cannot find 
and hopefully someone will be able to share her/his effective solution 
with me.


Thanks

--- Begin Message ---

   Hello, is 3389 filtered in any way between you and that server?
   On Tue, Jul 22, 2008 at 8:37 PM, FreeBSD <[EMAIL PROTECTED]>
   wrote:

 Dear folks
 my sincere apologies if this has been discussed earlier, which I
 seriously doubt, since even after googling for nearly five days I
 couldn't find any solution.
 Recently my company has updated their server to Windows 2003. The
 earlier 2000 server didn't have SSL enabled, so rdp/rdesktop worked
 for me without any problem. But now, as I try to connect to the
 server, it simply gives me
 ERROR: recv: Connection reset by peer
 I know for a fact that the server is working fine, since all IE and
 remote desktop softwares are working (they have to install the
 certificate at the beginning, once). But how can I connect from my
 freebsd box?
 any pointers/links sujjestions are highly welcome.
 Thanks.
 ___
 [EMAIL PROTECTED] mailing list
 [3]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 "[EMAIL PROTECTED]"

   --
   regards,
   dg
   "using fsdb(8) and clri(8) was like climbing Mount Everest in sandals
   and shorts.
   Since writing that, I've tried them more than once and discovered that
   I was wrong.
   You don't get the shorts." -- M.W. Lucas

References

   1. mailto:[EMAIL PROTECTED]
   2. mailto:freebsd-questions@freebsd.org
   3. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   4. mailto:[EMAIL PROTECTED]
--- End Message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Troubleshooting a 3Ware 9550SX under 6.3

2008-08-01 Thread Patrick C
This is a very important point. By turning the cache on, you have not
resolved an underlying performance issue, if there even is one. Please
try dd again with a well-sized bs= parameter, or use some more
accurate reporting like iozone, sysbench, etc.

Also, I am not sure how much memory is on the card, but that is likely
COMPLETELY in cache at that point so you're not learning anything.
Write a couple gigs to get some real numbers.

-Patrick

2008/6/9 Wojciech Puchar <[EMAIL PROTECTED]>:
>> dd if=/dev/zero of=testfile
>> 165760+0 records in
>> 165759+0 records out
>> 84868608 bytes transferred in 25.028232 secs (3390915 bytes/sec)
>
>> I think I ought to be able to get more than 3.2MB/sec out of this card,
>
> with default 512 bytes blocks - not much more
> ___
> 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]"


X won't start up; "No matching Device section"

2008-08-01 Thread Helge Rohde
Hello List,
I got an old TFT that uses a special connector to a CHIPS ct65554 graphics 
card. However, although the ct65554 is listed as supported, it is not 
recognized by the chips driver. System is FreeBSD 7-Release AMD64. I am 
pretty sure that the same xorg.conf worked under i386. 


pciconf -lvc claims device='65554 Flat Panel/LCD CRT GUI Accelerator'" for the 
card, however although i do have an xorg.conf "Device" section containing 

Driver "chips"
Chipset "ct65554"

X wont start up. Xorg.0.log complains:

(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520, ct65525,
ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
ct65554, ct6, ct68554, ct69000, ct69030, ct64200, ct64300
(II) Primary Device is: 
(WW) CHIPS: No matching Device section for instance (BusID PCI:3:7:0) found
(EE) No devices detected.


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


Shutdown problems on virtual PC

2008-08-01 Thread Lorin Lund

I run FreeBSD 6 under Parallesl Workstation.
When I try to shutdown with

shutdown -p now

It acts like the -p isn't there.  I'm not sure what power management
protocol Paralells Workstation uses.  Nor do I know what the
default is for FreeBSD 6 (default kernel).  What would be the next older 
power

management?  Is there some knob to turn to tell FreeBSD 6 to use
something older?  Or do I have to rebuild the kernel?

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


Re: I can't make world without the "games" group?

2008-08-01 Thread darko gavrilovic
On Fri, Aug 1, 2008 at 11:31 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote:
> Hello!
>
> Why can't I make world without the "games" group? I run a serious
> server, not a kindergarten ;)
>

.. but you will miss out on all the murphy's law quotes.. one of the
few enjoyments a sysadmin has left in this world.





-- 
regards,
dg

"..but the more you use clever tricks, the less support you'll get
..." -- M.W.Lucas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-08-01 Thread Gerard
On Fri, 1 Aug 2008 09:28:17 +0200 (CEST)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

>>
>> re0 in here
>>
>> [EMAIL PROTECTED]:3:0:0: class=0x02 card=0x81361019 chip=0x813610ec
>> rev=0x01 hdr=0x00
>>
>> "re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet
>> adapter driver"
>>
>> Works like a charm.
>> No complains :)
>>
>lots of versions of this chip are buggy.

What versions?


-- 
Gerard
[EMAIL PROTECTED]

Fame lost its appeal for me when I went into a public restroom and an
autograph seeker handed me a pen and paper under the stall door.
-- Marlo Thomas


signature.asc
Description: PGP signature


[Fwd: Re: src.conf: WITHOUT_SOMETHING]

2008-08-01 Thread Kevin Kinsey

Subject: Re: src.conf: WITHOUT_SOMETHING
Date: Fri, 1 Aug 2008 18:34:59 +0200
From: Redd Vinylene <[EMAIL PROTECTED]>
To: Kevin Kinsey <[EMAIL PROTECTED]>


Redd Vinylene wrote:


Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and
reinstall my world.

What will happen to the previous install of SOMETHING? Will it be
removed or just left there to rot?

Thank you!


Do you mean /etc/src.conf?

See build(7), particularly the delete-old and delete-old-libs
targets.

Kevin Kinsey




That is really awesome, thanks guys!

Yes, /etc/src.conf. Does this look alright for a dedicated FreeBSD
server? It runs jails, named, www, smtp, pop3, imap etc. I want to get
rid of everything I don't need:


WITHOUT_ACPI
WITHOUT_ASSERT_DEBUG
WITHOUT_ATM
WITHOUT_AUDIT
WITHOUT_AUTHPF
WITHOUT_GAMES
WITHOUT_I4B
WITHOUT_INFO
WITHOUT_IPFILTER
WITHOUT_IPX
WITHOUT_KERBEROS
WITHOUT_LIBKSE
WITHOUT_LPR
WITHOUT_NCP
WITHOUT_NETCAT
WITHOUT_NIS
WITHOUT_NLS
WITHOUT_NLS_CATALOGS
WITHOUT_PROFILE
WITHOUT_RCMDS
WITHOUT_SENDMAIL
WITHOUT_SHAREDOCS
WITHOUT_SSP
WITHOUT_USB
WITHOUT_WPA_SUPPLICANT_EAPOL


Reed, I'm not expert enough to comment on what you've
top-posted here (the contents of src.conf related to
your needs).  It does look like both of us forgot to
do the normal "reply-all" so I'm posting this back
to the FBSD Questions list.  I will mention that
not having sendmail, you may break something (but
I'm not sure if that particular knob means that there
will be no local mailer at all).  Cron(8), for example,
uses a local mailer to notify you of cronjob output,
and having cron work is a Good Thing(tm) in my experience
as a sysadmin.

KDK
--
I came to MIT to get an education for myself and a diploma for my mother.

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


Re: Question re IPs-to-CIDR conversion program

2008-08-01 Thread Warren Block

On Fri, 1 Aug 2008, Mark Wilson wrote:


I'm trying to write a program that will take 2 IPs and return an appropriate 
CIDR which contains both.

3. Point me to another program which does what I need?


Net::CIDR has a range2cidr method that will do that.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: The best way to upgrade my FreeBSD and its jails

2008-08-01 Thread Redd Vinylene
Whatever version you know, right now it's an old 7.0-STABLE to a newer
7.0-STABLE.

Improved the script a little though: http://pastie.org/245821

Enjoy!

On Fri, Aug 1, 2008 at 9:00 PM, Miroslav Lachman <[EMAIL PROTECTED]> wrote:
> Redd Vinylene wrote:
>
>> My dedicated server is mother, its two jails are camel and box. Is
>> this the best way to upgrade all of them?
>>
>> Pretty cool huh?
>>
>> -
>>
>> # FreeBSD/i386 mother.reddvinylene.no
>>
>> csup /etc/cvsupfile && \
>>
>> cd /usr/src && \
>>
>> make buildworld && \
>>
>> make buildkernel && \
>>
>> make installworld && \
>>
>> make installkernel && \
>>
>> make delete-old && \
>>
>> make delete-old-libs && \
>>
>> mergemaster -U&& \
>>
>> export D=/usr/jail/camel && \
>>
>> make installworld DESTDIR=$D && \
>>
>> make installworld installkernel DESTDIR=$D && \
>>
>> make delete-old DESTDIR=$D && \
>>
>> make delete-old-libs DESTDIR=$D && \
>>
>> cd etc/ && \
>>
>> make distribution DESTDIR=$D && \
>>
>> cd .. && \
>>
>> mergemaster -U -D $D && \
>>
>> export D=/usr/jail/box && \
>>
>> make installworld DESTDIR=$D && \
>>
>> make installworld installkernel DESTDIR=$D && \
>>
>> make delete-old DESTDIR=$D && \
>>
>> make delete-old-libs DESTDIR=$D && \
>>
>> cd etc/ && \
>>
>> make distribution DESTDIR=$D && \
>>
>> cd .. && \
>>
>> mergemaster -U -D $D && \
>>
>> chflags -R noschg /usr/obj/* && \
>>
>> rm -rf /usr/obj/*
>
>
> It would be better if you post what version you are running and to what
> version you want to update / upgrade. If you want to use some RELEASE, you
> can user freebsd-update command for binary update of base and jails.
>
> Also it is not good to do all the above steps as one chained command.
>
> Miroslav Lachman
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread John Baldwin
On Friday 01 August 2008 12:13:41 pm John Nielsen wrote:
> On Friday 01 August 2008, Jack Raats wrote:
> > I would like to add the zyd device to FreeBSD.
> > The zyd driver allready is in FreeBSD 7.0.
> > Which steps do I have to take to add the zyd device to FreeBSD?
> 
> Sorry, what are you asking? What version of FreeBSD are you using and what 
> do you need help doing?

From the subject line, I imagine Jack is using 6.3-STABLE and wants to 
backport the driver from 7.0 to 6.3.  Backporting most drivers from 7.0 to 
6.x isn't a big deal (can generally just copy over and compile).  However, 
zyd(4) is a wireless driver and the net80211 wireless networking stack is 
quite different in 6.x vs 7.0, so that is where it would be complicated to 
backport the driver.  I'm not intimately familiar with net80211 in either 
branch, so I'm unsure how much work the backport would be.

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


Re: The best way to upgrade my FreeBSD and its jails

2008-08-01 Thread Miroslav Lachman

Redd Vinylene wrote:


My dedicated server is mother, its two jails are camel and box. Is
this the best way to upgrade all of them?

Pretty cool huh?

-

# FreeBSD/i386 mother.reddvinylene.no

csup /etc/cvsupfile && \

cd /usr/src && \

make buildworld && \

make buildkernel && \

make installworld && \

make installkernel && \

make delete-old && \

make delete-old-libs && \

mergemaster -U&& \

export D=/usr/jail/camel && \

make installworld DESTDIR=$D && \

make installworld installkernel DESTDIR=$D && \

make delete-old DESTDIR=$D && \

make delete-old-libs DESTDIR=$D && \

cd etc/ && \

make distribution DESTDIR=$D && \

cd .. && \

mergemaster -U -D $D && \

export D=/usr/jail/box && \

make installworld DESTDIR=$D && \

make installworld installkernel DESTDIR=$D && \

make delete-old DESTDIR=$D && \

make delete-old-libs DESTDIR=$D && \

cd etc/ && \

make distribution DESTDIR=$D && \

cd .. && \

mergemaster -U -D $D && \

chflags -R noschg /usr/obj/* && \

rm -rf /usr/obj/*



It would be better if you post what version you are running and to what 
version you want to update / upgrade. If you want to use some RELEASE, 
you can user freebsd-update command for binary update of base and jails.


Also it is not good to do all the above steps as one chained command.

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


Re: src.conf: There's no WITHOUT_IPFW?

2008-08-01 Thread Polytropon
Hi!

On Fri, 1 Aug 2008 21:10:20 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote:
> There's WITHOUT_IPFILTER and WITHOUT_PF, but no WITHOUT_IPFW?
> /usr/src/UPDATING doesn't mention IPFW being removed.

IPFW hasn't been removed. You can compile it into your kernel or
load the module (I usually do the first one); the tools to control
ipfw are part of the base system (/sbin/ipfw).

If you don't want to use ipfw, don't compile it into your kernel
and don't load the module.


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


src.conf: There's no WITHOUT_IPFW?

2008-08-01 Thread Redd Vinylene
There's WITHOUT_IPFILTER and WITHOUT_PF, but no WITHOUT_IPFW?
/usr/src/UPDATING doesn't mention IPFW being removed.

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


Re: The best way to upgrade my FreeBSD and its jails

2008-08-01 Thread Polytropon
Hi!

On Fri, 1 Aug 2008 19:26:20 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote:
> My dedicated server is mother, its two jails are camel and box. Is
> this the best way to upgrade all of them?
> 
> Pretty cool huh?

Uh, bad idea. :-) If I remember correctly, you cannot update the
system within "one rush" if you don't use the binary update with
the freebsd-update utility.

According to your script

> cd /usr/src && \
> make buildworld && \
> make buildkernel && \

seems to be okay up to this point, but

> make installworld && \
> make installkernel && \

is not recommended to be done in MUM. Refer to the corresponding
section of the handbook: Build world and kernel first, then
install the new kernel and reboot the system into SUM with it;
then run "mergemaster -p", install the world and run "mergemaster".
I think "make delete-old" comes afterwards.

But I think you can update the jails camel and box as you
described.

The handbook will tell you more precisely what to do.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


The best way to upgrade my FreeBSD and its jails

2008-08-01 Thread Redd Vinylene
My dedicated server is mother, its two jails are camel and box. Is
this the best way to upgrade all of them?

Pretty cool huh?

-

# FreeBSD/i386 mother.reddvinylene.no

csup /etc/cvsupfile && \

cd /usr/src && \

make buildworld && \

make buildkernel && \

make installworld && \

make installkernel && \

make delete-old && \

make delete-old-libs && \

mergemaster -U&& \

export D=/usr/jail/camel && \

make installworld DESTDIR=$D && \

make installworld installkernel DESTDIR=$D && \

make delete-old DESTDIR=$D && \

make delete-old-libs DESTDIR=$D && \

cd etc/ && \

make distribution DESTDIR=$D && \

cd .. && \

mergemaster -U -D $D && \

export D=/usr/jail/box && \

make installworld DESTDIR=$D && \

make installworld installkernel DESTDIR=$D && \

make delete-old DESTDIR=$D && \

make delete-old-libs DESTDIR=$D && \

cd etc/ && \

make distribution DESTDIR=$D && \

cd .. && \

mergemaster -U -D $D && \

chflags -R noschg /usr/obj/* && \

rm -rf /usr/obj/*

-

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


The best way to upgrade my FreeBSD and its jails

2008-08-01 Thread Redd Vinylene
My dedicated server is mother, its two jails are camel and box. Is
this the best way to upgrade all of them?

Pretty cool huh?

-

# FreeBSD/i386 mother.reddvinylene.no

csup /etc/cvsupfile && \

cd /usr/src && \

make buildworld && \

make buildkernel && \

make installworld && \

make installkernel && \

make delete-old && \

make delete-old-libs && \

mergemaster -U&& \

export D=/usr/jail/camel && \

make installworld DESTDIR=$D && \

make installworld installkernel DESTDIR=$D && \

make delete-old DESTDIR=$D && \

make delete-old-libs DESTDIR=$D && \

cd etc/ && \

make distribution DESTDIR=$D && \

cd .. && \

mergemaster -U -D $D && \

export D=/usr/jail/box && \

make installworld DESTDIR=$D && \

make installworld installkernel DESTDIR=$D && \

make delete-old DESTDIR=$D && \

make delete-old-libs DESTDIR=$D && \

cd etc/ && \

make distribution DESTDIR=$D && \

cd .. && \

mergemaster -U -D $D && \

chflags -R noschg /usr/obj/* && \

rm -rf /usr/obj/*

-

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


Re: Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread Jack Raats

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - Original Message -
From: "John Nielsen" <[EMAIL PROTECTED]>
To: ; "Jack Raats" <[EMAIL PROTECTED]>
Cc: "freebsd-stable" <[EMAIL PROTECTED]>
Sent: Friday, August 01, 2008 6:13 PM
Subject: Re: Adding device to FreeBSD 6.3-STABLE


On Friday 01 August 2008, Jack Raats wrote:

I would like to add the zyd device to FreeBSD.
The zyd driver allready is in FreeBSD 7.0.
Which steps do I have to take to add the zyd device to FreeBSD?



Sorry, what are you asking? What version of FreeBSD are you using and what
do you need help doing?


I want to add the zyd device to FreeBSD 6.3-STABLE. The device driver is
available on FreeBSD 7.0.
I want to know the staps to backport the zyd drvier to 6.3.
Updating to FreeBSD 7 is not (yet) an option.

Jack

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959

iD8DBQFIk0GKPh5RwW/NzC4RAqn2AKCH8ZFPhpeW3flgrr6CbE8SUyCttwCcD0UV
Ak+tDf3ApJgKbC/9zgETHSE=
=kRjL
-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: Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread Paul Procacci

John Nielsen wrote:

On Friday 01 August 2008, Jack Raats wrote:
  

I would like to add the zyd device to FreeBSD.
The zyd driver allready is in FreeBSD 7.0.
Which steps do I have to take to add the zyd device to FreeBSD?



Sorry, what are you asking? What version of FreeBSD are you using and what
do you need help doing?

JN
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
To make the device available without recompiling your kernel you do the 
following:


kldload if_zyd

To have zyd available after reboots add it to /boot/loader.conf as:

if_zyd_load="YES"


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


Re: src.conf: WITHOUT_SOMETHING

2008-08-01 Thread N.J. Mann
In message <[EMAIL PROTECTED]>,
Redd Vinylene ([EMAIL PROTECTED]) wrote:
> Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and
> reinstall my world.
> 
> What will happen to the previous install of SOMETHING? Will it be
> removed or just left there to rot?

After doing  make installworld  you should do a  make delete-old .
During the latter which you will be prompted to delete the various bits
which you no longer require.


Cheers,
   Nick.
-- 

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


Re: Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread Heiko Wundram
Am Freitag, 1. August 2008 18:06:33 schrieb Jack Raats:
> I would like to add the zyd device to FreeBSD.
> The zyd driver allready is in FreeBSD 7.0.
> Which steps do I have to take to add the zyd device to FreeBSD?

Upgrade to 7.0? How to do that is documented on freebsd.org in the handbook.

If the driver isn't available in 6[.x]-STABLE (I have no idea, I run 
7-STABLE), it's not been backported, meaning that there hasn't been (or not 
sufficient) interest in doing that, and I'd presume that you don't want to do 
that either (or lack the technical skills to do so, which I don't mean in a 
derogative way), so your only real option is to upgrade.

Oh, by the way: it's generally not considered good manners to cross-post to 
several mailinglists. One is enough, and in your case, -questions was just 
fine.

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


Re: secure access to AS/400 ?

2008-08-01 Thread Roland Smith
On Fri, Aug 01, 2008 at 09:27:12AM -0400, B. Cook wrote:
> Hello All,
> 
> Seems OT, but I have been asked to give someone remote access to an AS/ 
> 400 we have here.



> Is there some terminal emulator that I would have to give them?

Try x11/x3270

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)


pgpRo7Js8X0sa.pgp
Description: PGP signature


Re: Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread John Nielsen
On Friday 01 August 2008, Jack Raats wrote:
> I would like to add the zyd device to FreeBSD.
> The zyd driver allready is in FreeBSD 7.0.
> Which steps do I have to take to add the zyd device to FreeBSD?

Sorry, what are you asking? What version of FreeBSD are you using and what 
do you need help doing?

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


Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread Jack Raats
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I would like to add the zyd device to FreeBSD.
The zyd driver allready is in FreeBSD 7.0.
Which steps do I have to take to add the zyd device to FreeBSD?

Jack
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959

iD8DBQFIkzSKPh5RwW/NzC4RAqMKAJ987kbR57nNejUHOaNPOLabP2jKWACgm6Ts
iOvTzyGUw1evnXmmHSa6+RA=
=f1r1
-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]"


src.conf: WITHOUT_SOMETHING

2008-08-01 Thread Redd Vinylene
Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and
reinstall my world.

What will happen to the previous install of SOMETHING? Will it be
removed or just left there to rot?

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


Re: I can't make world without the "games" group?

2008-08-01 Thread Curt Micol
man src.conf(5)

On Fri, Aug 1, 2008 at 11:31 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote:
> Hello!
>
> Why can't I make world without the "games" group? I run a serious
> server, not a kindergarten ;)
>
> I don't want the games group there, I just don't need it!
>
> Thanks!
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>



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


src.conf: WITHOUT_SOMETHING

2008-08-01 Thread Redd Vinylene
Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and
reinstall my world.

What will happen to the previous install of SOMETHING? Will it be
removed or just left there to rot?

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


Re: Question re IPs-to-CIDR conversion program

2008-08-01 Thread Duane Hill

On Fri, 1 Aug 2008, Mark Wilson wrote:



I'm trying to write a program that will take 2 IPs and return an appropriate 
CIDR which contains both.
I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which 
sounds like it might be a good model.
Unfortunately, I can't download the file (get "Forbidden") page, nor locate user 
"eivind" on the FreeBSD Homepages page to ask him/her about it.
(It's dated 2001, in case that helps; apparently eivind is long gone...)

1. Can anyone get me a copy of this program? Or...
2. Put me in touch with its author so I can ask about it?? Or...
3. Point me to another program which does what I need?

Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs 
calculator in JavaScript, but going this other direction seems much harder, and 
far more confusing.


If you know anything about Perl, you can use the port:

  /usr/ports/net/p5-Net-CIDR-Lite

to convert back-and-forth. For documentation, I referred to:

  http://search.cpan.org/dist/Net-CIDR-Lite/Lite.pm

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


Re: Question re IPs-to-CIDR conversion program

2008-08-01 Thread Paul Procacci

Mark Wilson wrote:

 I'm trying to write a program that will take 2 IPs and return an appropriate 
CIDR which contains both.
I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which 
sounds like it might be a good model.
Unfortunately, I can't download the file (get "Forbidden") page, nor locate user 
"eivind" on the FreeBSD Homepages page to ask him/her about it.
(It's dated 2001, in case that helps; apparently eivind is long gone...)

1. Can anyone get me a copy of this program? Or...
2. Put me in touch with its author so I can ask about it?? Or...
3. Point me to another program which does what I need?

Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs 
calculator in JavaScript, but going this other direction seems much harder, and 
far more confusing.


 



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

You may want to look at ipcalc (/usr/ports/net-mgmt/ipcalc)

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


Re: I can't make world without the "games" group?

2008-08-01 Thread Polytropon
Hi!

On Fri, 1 Aug 2008 17:31:22 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote:
> Why can't I make world without the "games" group? I run a serious
> server, not a kindergarten ;)
> 
> I don't want the games group there, I just don't need it!

Alltough the system's games group does not require much
disk space, there's a way not to build them:

Create /etc/src.conf or midify it with the following statement:

WITHOUT_GAMES

Refer to "man src.conf" for further things not to build.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I can't make world without the "games" group?

2008-08-01 Thread Redd Vinylene
That is so cool!

Thanks!

On Fri, Aug 1, 2008 at 5:35 PM, Curt Micol <[EMAIL PROTECTED]> wrote:
> man src.conf(5)
>
> On Fri, Aug 1, 2008 at 11:31 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote:
>> Hello!
>>
>> Why can't I make world without the "games" group? I run a serious
>> server, not a kindergarten ;)
>>
>> I don't want the games group there, I just don't need it!
>>
>> Thanks!
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>>
>
>
>
> --
> # Curt Micol
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Question re IPs-to-CIDR conversion program

2008-08-01 Thread Mark Wilson

 I'm trying to write a program that will take 2 IPs and return an appropriate 
CIDR which contains both.
I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which 
sounds like it might be a good model.
Unfortunately, I can't download the file (get "Forbidden") page, nor locate 
user "eivind" on the FreeBSD Homepages page to ask him/her about it.
(It's dated 2001, in case that helps; apparently eivind is long gone...)

1. Can anyone get me a copy of this program? Or...
2. Put me in touch with its author so I can ask about it?? Or...
3. Point me to another program which does what I need?

Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs 
calculator in JavaScript, but going this other direction seems much harder, and 
far more confusing.


 


---
Mark Wilson, CPUWORKS.COM
[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: secure access to AS/400 ?

2008-08-01 Thread Andrea Venturoli

Andrea Venturoli ha scritto:

B. Cook ha scritto:

As I am not knowledgeable about AS/400's I do not know if there is an 
openssh/sshd app that could be put on there.


AS/400 supports telnet over SSL, though I never found it to be in use.




If they can not find some form of sshd to put on the AS/400


Normally it all boils down to: they could, but will not bother to (they 
probably never used it and don't have experience with it, anyway).




I could give people access to a FreeBSD via ssh and then have them use 
'something' to connect to it.


I would not do so, since you would need local users on the FreeBSD box, 
which I usually try and avoid.




 > Is there some terminal emulator that I would have to give them?

If you really want to go this way, tn5250 is in ports.




VPNs (with whatever technology) might be a better solution.



I forgot: altough I never tried this, you may want to experiment with 
stunnel to allow for telnet/SSL on the client side, without the need to 
enable it on the server side.


Disadvantage is, you lose the ability to discriminate which user can 
connect from the outside and which cannot.



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


I can't make world without the "games" group?

2008-08-01 Thread Redd Vinylene
Hello!

Why can't I make world without the "games" group? I run a serious
server, not a kindergarten ;)

I don't want the games group there, I just don't need it!

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


Re: Static ip wpa_supplicant

2008-08-01 Thread Paul Procacci

David Gurvich wrote:

I think I have the beginnings of an idea.  Do not set WPA in rc.conf,
only DHCP, and use 'script "script_name";' in /etc/dhclient.conf.  Then
have that script do the configuration.  Has anyone used dhclient.conf
with a custom script?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
Why don't you assign the ip address via DHCP using the mac address of 
the card?

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


Re: Find what options a precompiled package uses

2008-08-01 Thread Greg Larkin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Gurvich wrote:
| How does one find the options that a particular package was built with,
| without installing the package?  I don't see any such options in
| pkg_info and wondered if there were some other tool.
| ___
| freebsd-questions@freebsd.org mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
|

Hi David,

~From what I can tell here, that information is not recorded in the
package file.  For instance, I build a lot of packages with custom
options in what I call a "template jail".  Then I build other jails and
run pkg_add for all of the packages that I want to install in them.

In the template jail, there's a /var/db/ports/ directory with
subdirectories for each port that uses the OPTIONS variable.  My
/var/db/ports/wget/options file looks like this:

# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for wget-1.11.2_1
_OPTIONS_READ=wget-1.11.2_1
WITHOUT_GNUTLS=true
WITHOUT_IPV6=true
WITHOUT_NLS=true
WITH_OPENSSL=true

I just logged into another jail and extracted the wget .tgz file into a
temp directory and ran some text searches like so:

jail16# zcat /packages/wget-1.11.2_1.tgz | tar xvfB -
x +CONTENTS
x +COMMENT
x +DESC
x +MTREE_DIRS
x man/man1/wget.1.gz
x bin/wget
x etc/wgetrc.sample
x info/wget.info
jail16# find . -type f -exec grep -H WITH_ {} \;
jail16# find . -type f -exec grep -H WITHOUT_ {} \;


As you can see, nothing matched in the extracted package files.  I
wonder how easy it would be to add an enhancement to pkg_create to store
the /var/db/ports//options file to the package as "+OPTIONS"?

That would be very helpful to what I'm doing, and I'd also like to see
better support for maintaining those options when upgrading ports from
source.

Can anyone comment on the pkg_add enhancement and what side-effects that
might have?

Regards,
Greg
- --
Greg Larkin
http://www.sourcehosting.net/
http://www.FreeBSD.org/ - The Power To Serve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIkykJ0sRouByUApARAiWtAJ9Kp20t1MLxIudmsUdCYiMy41s8FgCaAs4X
iqXRJAj58IFxMY3/QO0MJaI=
=awIm
-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: Static ip wpa_supplicant

2008-08-01 Thread David Gurvich
I think I have the beginnings of an idea.  Do not set WPA in rc.conf,
only DHCP, and use 'script "script_name";' in /etc/dhclient.conf.  Then
have that script do the configuration.  Has anyone used dhclient.conf
with a custom script?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: secure access to AS/400 ?

2008-08-01 Thread Andrea Venturoli

B. Cook ha scritto:

As I am not knowledgeable about AS/400's I do not know if there is an 
openssh/sshd app that could be put on there.


AS/400 supports telnet over SSL, though I never found it to be in use.




If they can not find some form of sshd to put on the AS/400


Normally it all boils down to: they could, but will not bother to (they 
probably never used it and don't have experience with it, anyway).




I could 
give people access to a FreeBSD via ssh and then have them use 
'something' to connect to it.


I would not do so, since you would need local users on the FreeBSD box, 
which I usually try and avoid.




> Is there some terminal emulator that I would have to give them?

If you really want to go this way, tn5250 is in ports.




VPNs (with whatever technology) might be a better solution.



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


Re: Find what options a precompiled package uses

2008-08-01 Thread David Kelly
On Fri, Aug 01, 2008 at 10:33:27AM -0400, David Gurvich wrote:
> I don't want to know what options are set for building a port.
> I want to know what options were used in a previously built port that
> is either available as a tar file or installed on a system, preferably
> checking the tar file for the options.

If you got the precomipled port from official sources then that which is
in /usr/ports *is* how it was optioned, with the possible exception of
the X stuff.

If someone else precompiled the port, then ask them.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Some ports ignored by portversion

2008-08-01 Thread Mike Clarke
With pkg_version I get the following:

curlew:/root# pkg_version -vL=
diablo-jdk-1.5.0.07.01_10   <   needs updating (port has 1.5.0.07.01_11)
en-openoffice.org-GB-2.3.1  <   needs updating (port has 2.4.1)
firefox-2.0.0.14_1,1<   needs updating (port has 2.0.0.16,1)
gnutls-2.4.1<   needs updating (port has 2.4.1_1)
jdk-1.6.0.3p4   <   needs updating (port has 1.6.0.3p4_3)
k3b-1.0.4_2 <   needs updating (port has 1.0.4_3)
kdebase-3.5.8_2 <   needs updating (port has 3.5.8_3)
kdebase-kompmgr-3.5.8_1 <   needs updating (port has 3.5.8_2)
linux-sun-jdk-1.4.2.16  <   needs updating (port has 1.4.2.18)
ocaml-lablgl-1.02_1 <   needs updating (port has 1.03)
ocaml-lablgtk2-2.6.0_4  <   needs updating (port has 2.10.1_1)
p5-Error-0.17014<   needs updating (port has 0.17015)
phpMyAdmin-2.11.5.2 <   needs updating (port has 2.11.8.r1)
speex-1.2.r1,1  <   needs updating (port has 1.2.r1_1,1)
unison-2.13.16_1<   needs updating (port has 2.27.57_1)
wine-1.1.0,1<   needs updating (port has 1.1.2,1)

... which is what I would expect but portversion gives:

curlew:/root# portversion -vL=
gnutls  <  needs updating (port has 2.4.1_1)
k3b <  needs updating (port has 1.0.4_3)
kdebase <  needs updating (port has 3.5.8_3)
kdebase-kompmgr <  needs updating (port has 3.5.8_2)
p5-Error<  needs updating (port has 0.17015)
speex   <  needs updating (port has 1.2.r1_1,1)

The "missing" ports (*jdk*, openoffice.org, firefox-2, ocaml*, 
phpMyAdmin, unison and wine) are all marked as held in pkgtools.conf. 
Until today they would be shown by portversion as being in need of 
updating but held. I think portversion also used to show the version 
number of the currently installed port.

The "missing" ports don't even show up in a full listing with 
portbersion -v.

This change in behaviour might be a result of to me experimenting with 
portmaster as a possible replacement for portupgrade. In order to 
ensure that the held ports wouldn't get upgraded by portmaster I 
created +IGNOREME files in their /var/db/pkg directories.

I imagine the ports database must have been affected as a result of this 
but I've tried deleting the +IGNOREME files, and even removing the 
holds from pkgtools.conf but that made no difference to portversion. 
I've tried pkgdb with -F and -u options but still no joy.

It looks like it's not just portversion that's affected, pkgdb can't 
find the "missing" ports either:

curlew:/root# pkgdb -o gnutls-2.4.1
security/gnutls
security/gnutls
curlew:/root# pkgdb -o unison-2.13.16_1
?
?
curlew:/root# 

How do I repair my ports?

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


Re: Find what options a precompiled package uses

2008-08-01 Thread David Gurvich
I don't want to know what options are set for building a port.
I want to know what options were used in a previously built port that
is either available as a tar file or installed on a system, preferably
checking the tar file for the options.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Find what options a precompiled package uses

2008-08-01 Thread Valeriu Mutu
On Fri, Aug 01, 2008 at 10:33:27AM -0400, David Gurvich wrote:
> I don't want to know what options are set for building a port.
> I want to know what options were used in a previously built port that
> is either available as a tar file or installed on a system, preferably
> checking the tar file for the options.
You might find some hints by downloading/unpacking the package and using 'ldd' 
on the binary to see what shared libraries it is linked to.

Valeriu

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

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


Re: secure access to AS/400 ? (OT)

2008-08-01 Thread Christian Hiris
On Friday 01 August 2008, B. Cook wrote:
> Hello All,
>
> Seems OT, but I have been asked to give someone remote access to an AS/
> 400 we have here.
>
> As I am not knowledgeable about AS/400's I do not know if there is an
> openssh/sshd app that could be put on there.  They give everyone
> access 'locally' via telnet and some IBM gui app at the moment; the
> software:
>
> eNetwork Personal Communications AS/400
> Client Access Express for Windows
> Workstation Program
> Version 4.3
>
> If they can not find some form of sshd to put on the AS/400, I could
> give people access to a FreeBSD via ssh and then have them use
> 'something' to connect to it.
>
> Is there some terminal emulator that I would have to give them?
>
> I don't know how the AS works or what people use on it or use it for..
> so please excuse the seemingly ignorant questions..
>
> Thanks in advance
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

It's possible to set up a sshd on an AS/400 (aka "iSeries" aka "system i").
AFAIK you need to run OS Version V5R3M or higher on AS/400 and install
the "PASE tools" lic-program. For more information see the links below:   

http://www-03.ibm.com/servers/enable/site/porting/tools/openssh.html
http://wiki.midrange.com/index.php/SSH

Depending on the version of the Client Access Emulator, it's allso possible 
to setup TN5250 via SSL, but you need to configure SSL on the AS/400 to make 
this happen.

There are at least two 5250 terminal emulatiors in the ports tree. 
(/usr/ports/net/tn5250 and tn5250j).

Cheers 
ch

-- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x1A9BE943
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: secure access to AS/400 ?

2008-08-01 Thread Kevin Kinsey

Mark Busby wrote:


"B. Cook" <[EMAIL PROTECTED]> wrote:Hello All,

Seems OT, but I have been asked to give someone remote access to an AS/ 
400 we have here.


It is OT.

As I am not knowledgeable about AS/400's I do not know if there is an 
openssh/sshd app that could be put on there. They give everyone 
access 'locally' via telnet and some IBM gui app at the moment; the 
software:


eNetwork Personal Communications AS/400
Client Access Express for Windows
Workstation Program
Version 4.3

If they can not find some form of sshd to put on the AS/400, I could 
give people access to a FreeBSD via ssh and then have them use 
'something' to connect to it.


Is there some terminal emulator that I would have to give them?

I don't know how the AS works or what people use on it or use it for.. 
so please excuse the seemingly ignorant questions..


Thanks in advance
___

   
  Look at http://tn5250.sourceforge.net/, as far as security your going to be disappointed.
   
  If your on the same subnet as the as400, a simple telnet session will allow you in the 
machine with a user name and pass. IBM dropped the ball with this systems security, as you 
prob know. For years they have toyed with the idea of killing the OS, but keep it alive at 
the last second.  I work with it, but I don't like IBM's idea of security. 


According to this:

http://www-306.ibm.com/software/network/pcomm/features/

IBM's "Personal Communications" (which you list) supports secure
connections via SSL/TLS.

HTH,

Kevin Kinsey
--
The price of success in philosophy is triviality.
-- C. Glymour
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Find what options a precompiled package uses

2008-08-01 Thread David Kelly
On Fri, Aug 01, 2008 at 10:15:49AM -0400, David Gurvich wrote:
> How does one find the options that a particular package was built with,
> without installing the package?  I don't see any such options in
> pkg_info and wondered if there were some other tool.

You could go to the port in /usr/ports/ and "make patch" which will do
everything right up to building the port. Then browse the sources to see
what has been selected. Sometimes its easier to see the options selected
by watching the port compile. A simple "make" will compile the port but
not install it. A potential problem is that if a build dependency is
missing it will try to build and install that first.

A build dependency is something needed to build the port but not needed
to run the port. Precompiled ports bypass the need for build
dependencies.

Or you could just study the Makefile and supporting files in /usr/ports/
to see what the defaults are for your particular precompiled port.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: secure access to AS/400 ?

2008-08-01 Thread Mark Busby


"B. Cook" <[EMAIL PROTECTED]> wrote:Hello All,

Seems OT, but I have been asked to give someone remote access to an AS/ 
400 we have here.

As I am not knowledgeable about AS/400's I do not know if there is an 
openssh/sshd app that could be put on there. They give everyone 
access 'locally' via telnet and some IBM gui app at the moment; the 
software:

eNetwork Personal Communications AS/400
Client Access Express for Windows
Workstation Program
Version 4.3

If they can not find some form of sshd to put on the AS/400, I could 
give people access to a FreeBSD via ssh and then have them use 
'something' to connect to it.

Is there some terminal emulator that I would have to give them?

I don't know how the AS works or what people use on it or use it for.. 
so please excuse the seemingly ignorant questions..

Thanks in advance
___

   
  Look at http://tn5250.sourceforge.net/, as far as security your going to be 
disappointed.
   
  If your on the same subnet as the as400, a simple telnet session will allow 
you in the machine with a user name and pass. IBM dropped the ball with this 
systems security, as you prob know. For years they have toyed with the idea of 
killing the OS, but keep it alive at the last second.  I work with it, but I 
don't like IBM's idea of security. 

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


Find what options a precompiled package uses

2008-08-01 Thread David Gurvich
How does one find the options that a particular package was built with,
without installing the package?  I don't see any such options in
pkg_info and wondered if there were some other tool.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rc.suspend/rc.resume was: resume (hate to even ask)

2008-08-01 Thread David Gurvich
Can you verify that acpi is loaded and working, 'sysctl -a |grep
acpi' ?  Suspend/Resume will not work properly with apm and requires
acpi.  You might also try disabling the loading of any extra modules,
particularly sound, on boot in /boot/loader.conf and see if any of that
helps.  

I needed to load acpi_ibm, add a tweak for the mouse
in /boot/loader.conf and stop a wireless interface in rc.suspend before
resume started working properly on my thinkpad T23.  Only loading
acpi_ibm seemed intuitive to me, I still don't know what
'hint.psm.0.flags="0x3000"' does, and I suspect issues with the ipw
driver in FreeBSD but can't find any information on that.

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


Timeout on wireless ipw0 using wpa and dhcp

2008-08-01 Thread David Gurvich
Hello,

I have been having an issue with maintaining a connection that seems
to hang at random intervals. The only messages I see are about the
interface 'ipw0: link state changed to DOWN' then UP a few times until
the connection is reestablished or I have to '/etc/rc.d/netif restart
ipw0'.  If left on it's own reestablishing the connection takes under
60 seconds, using netif is about 5 seconds including typing the
command.  

I suspect an issue with either dhcp, wpa_supplicant, or the ipw
wireless driver.  I was not able to get the ipw driver to work at all
in FreeBSD-6.3 and suspect the driver.  Is there anyway to pin down
the problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rc.suspend/rc.resume was: resume (hate to even ask)

2008-08-01 Thread Chad Perrin
On Thu, Jul 31, 2008 at 11:32:12AM -0700, Steve Franks wrote:
> I just realized no one probably replied to my email due to the gross
> ambiguity of the english language.  No, I am not looking for a job.
> See below ;)

I have to admit I thought you were talking about your curriculum vitae
and so on when I first saw the original subject, and not about ACPI
problems.  Thanks for clarifying.


> 
> On Wed, Jul 30, 2008 at 3:17 PM, Steve Franks <[EMAIL PROTECTED]> wrote:
> > Ok,
> >
> > I have too many systems with varying degrees of working freebsd on
> > them, and I can't seem to leave well enough alone.  I hear lots of
> > people having sucess with suspend, and I can't get it to work on a
> > single system.
> >
> > My current strongest desire is to get it running on my hp ze4500
> > laptop.  I've played with the stuff in the handbook, but that just
> > took me from having a blank screen and no responses from Ctl-Alt-F(x)
> > to now the fan comes on for a moment on resume, then the system powers
> > offdoesn't seem to matter if X is up or not.
> >
> > I've kldunloaded usb, radeon, sound, drm, what else should I try?
> > Also, rc.resume has a typo, right?  I'm susposed to change the
> > #kldunload usb section to add kldload usb (and friends) right?

I hope someone offers some more insight -- I've been having some issues
with suspend/resume as well.  Unfortunately, I don't really have any help
to offer.  I guess I'm just commiserating.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
They always say that when life gives you lemons you should make lemonade. 
I always wonder -- isn't the lemonade going to suck if life doesn't give
you any sugar?


pgpStPAEWHk6f.pgp
Description: PGP signature


Re: dumping mounted file systems with insufficient space...

2008-08-01 Thread Modulok
>> I can use dump(8) an active, mounted file systems via the -L flag.
>> According to the manual, this first creates a snapshot of the file
>> system, to the .snap directory of the file systems root. What if the
>> file system to be dumped, does not have sufficient free-space to store
>> a snapshot? Can I still safely dump(8) a mounted file system?
>
> A snapshot doesn't take any significant /extra/ space itself.  Rather it
> consists of marking the state of the system at that time and provides a
> view (via the .snap directory) of that state of the filesystem.  Of course,
> subsequent modifications of the filesystem can cause more space than
> otherwise expected to be used up -- as both the snapshot and the latest
> versions of anything have to be kept around -- but how much impact this has
> depends entirely on the IO traffic characteristics of your particular
> filesystem and cannot be predicted in any useful fashion without a great
> deal more information.
>
> If snapshots won't work for you, another trick (if you can swing it) is to
> have the data on a RAID1 mirror.  Then you can detach one of the mirrors,
> back it up and then reattach the mirror.  Doing this with gmirror is a
> simple matter of writing about a 10 line shell script.  Other mirroring
> hard/soft-ware may be less cooperative.  However you do it, this will
> involve an extended period while mirrors resynchronise after the backup
> where your file system won't have the desired level of resilience.
>
> If you can't use snapshots, can't split the mirror and you can't unmount
> the filesystem, then the next best thing is to make the filesystem as
> quiescent as possible. Basically, shut down any processes using the
> filesystem.  That's probably as unacceptable as any of the other
> alternatives  -- in which case, you can still go ahead and dump the
> filesystem, but don't expect the  generated dump to be 100% consistent.
> It  will be 'good enough' for some purposes, but files actively involved
> in IO at  the time the dump is made are likely to be corrupted.
>
>   Cheers,
>
>   Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
>   Kent, CT11 9PW

Thank you for the clarification about snapshots, Matthew. I went with
a dump to another disk and it worked out without any problems :)

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


secure access to AS/400 ?

2008-08-01 Thread B . Cook

Hello All,

Seems OT, but I have been asked to give someone remote access to an AS/ 
400 we have here.


As I am not knowledgeable about AS/400's I do not know if there is an  
openssh/sshd app that could be put on there.  They give everyone  
access 'locally' via telnet and some IBM gui app at the moment; the  
software:


eNetwork Personal Communications AS/400
Client Access Express for Windows
Workstation Program
Version 4.3

If they can not find some form of sshd to put on the AS/400, I could  
give people access to a FreeBSD via ssh and then have them use  
'something' to connect to it.


Is there some terminal emulator that I would have to give them?

I don't know how the AS works or what people use on it or use it for..  
so please excuse the seemingly ignorant questions..


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


Jails and multiple IPs

2008-08-01 Thread Redd Vinylene
Big ups to Bjoern A. Zeeb for his multiple IP patch as well as his
friendly support service ;)

I'd just like to confirm, however, if this is how it's done?

# cd /usr/src
# wget http://people.freebsd.org/~bz/bz_jail7-20080727-11-at146062.diff
# patch -p6 < bz_jail7-20080727-11-at146062.diff
# make buildworld
# make buildkernel KERNCONF=GENERIC
# make installworld
# make installkernel KERNCONF=GENERIC
# mergemaster -U

Now to the jail part (this is exactly how I created the jail in the first place)

# export D=/usr/jail/camel
# mkdir -p $D
# make world DESTDIR=$D
# cd etc/
# make distribution DESTDIR=$D
# mount -t devfs devfs $D/dev

Also, under jail_X_ip in rc.conf, must I enter the IPs one by one or
can I specify an entire range?

Thank you all!

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


Re: carp+openospfd

2008-08-01 Thread Nikos Vassiliadis
On Friday 01 August 2008 06:54:02 Alexandre Biancalana wrote:
> The firewalls failover this is working great with Carp. My
> difficulties is to configure OpenOSPFD to distribute routes in this
> setup, 

Two points:
1) Did you try to run OSPF on the CARP interface?
Or the physical one? I don't think running OSPF
on the CARP interface will work, cause the CARP
interface receives nothing while at BACKUP mode.

2) Specify the router-id yourself to avoid OpenOSPFD's
autoselection, remember that the CARP interface has
the same IP address on both hosts and that's not
very nice to OSPF:)

> the links failover+loadbalance comes naturally after ospf 
> running.

No, OSPF cannot provide load balancing, as FreeBSD does not support
equal cost multipath routing, that is you can use one and only one
next hop for a destination. So, in short, OSPF will not do load
balancing, as it does with other vendors you may be familiar with.

If you run CARP on the LAN links as well(which you probably do),
you should test and see how CARP's ARP level load balancing fits
your network...

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


Re: Changing sshd to start earlier

2008-08-01 Thread Wojciech Puchar

Is it possible to change the order when rc scripts are staring?
I would like sshd (from base) to be started before anything else.

add

# REQUIRE: sshd

in scripts that has to start after sshd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Changing sshd to start earlier

2008-08-01 Thread Christer Solskogen

Oh hai!

Is it possible to change the order when rc scripts are staring?
I would like sshd (from base) to be started before anything else.

--
chs

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


Re: Compile firefox with debug symbols

2008-08-01 Thread Martin Laabs

Hi,

On Thu, 31 Jul 2008 23:00:11 +0200, Roland Smith <[EMAIL PROTECTED]> wrote:

On Thu, Jul 31, 2008 at 09:00:53PM +0200, Martin Laabs wrote:



I have some problems with firefox (it just don't
start


Try starting firefox from a terminal. It will print a message if it  
cannot find a library.


My previous message is misleading in this point. There are
all libraries firefox needs. But I think there is a bug somwhere
in some library since firefox (and regxpcom which is also belongs
to firefox) just do not start. (With no error or debug message)
GDB says, that it hangs in _umtx_op() which has something to do
with the pthreads. Here is a part of the backtrace:

#0  0x28362329 in _umtx_op () from /lib/libc.so.7
#1  0x29201381 in pthread_cleanup_push ()
from /usr/local/lib/firefox/components/libstoragecomps.so
#2  0x291fd848 in pthread_mutex_getprioceiling ()
from /usr/local/lib/firefox/components/libstoragecomps.so
#3  0x283f24b4 in pthread_mutex_lock () from /lib/libc.so.7
#4  0x2809c2f2 in PR_Lock () from /usr/local/lib/libplds4.so.1
#5  0x2809c472 in PR_EnterMonitor () from /usr/local/lib/libplds4.so.1
#6  0x280ac265 in PR_FindSymbol () from /usr/local/lib/libplds4.so.1
#7  0x2849ba92 in nsServiceManager::UnregisterService ()
from /usr/local/lib/firefox/libxpcom_core.so
[...]


However - since there are no debugging symbols in the binary itself
I can't trace it back to a specific function, library or bug.

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


Re: PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-08-01 Thread Gonzalo Nemmi
On Thursday 31 July 2008 23:59:16 Robert Huff wrote:
> David Christensen writes:
> >  I would like to add a PCI Gigabit Ethernet network interface card
> >  (NIC) to the computer and was wondering what cards other people
> >  are using and how they liked them.  Any comments and/or
> >  recommendations would be appreciated.
>
>   Realtek-based cards were mentioned; they seem to do well under
> light to moderate loads, but not so well when the going gets tough.
>   Intel-based cards, on the other hand, have a superior track
> record; probably doesn't hurt the driver is maintained by Intel.  I
> replaced an re() card with a Pro/1000 dual port, and watched errors
> drop from ~1% to _0_ in 11 days of moderate to heavy usage.

Robert, sorry to bother, but is this one ok?
http://www.intel.com/products/desktop/adapters/pro1000gt/pro1000gt-overview.htm

I can get it in here for us$20 each.
http://articulo.mercadolibre.com.ar/MLA-38975340-placa-de-red-intel-101001000-pro1000-gt-desktop-adapter-_JM

If you give me a tumb up, I'll be buying a few tomorrow :)

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


KDE choppy sound (System Notificactions only)

2008-08-01 Thread Gonzalo Nemmi
Quite simple and straight forward.

[EMAIL PROTECTED] ~]% uname -a
FreeBSD inferna.inferna.com.ar 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Jul 20 
03:44:42 ART 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/INFERNA  i386
[EMAIL PROTECTED] ~]%

Sound system and driver are built into my kernel.

Sound works like a charm in here (Amarok for ogg/mp3, Kaffeine for videos, 
Doom3, World of Padman, Quake3, etc, etc ), everything build from ports.

The only "gotcha" are KDE's "System Notificactions" (start up, shutdown, 
etc ..). They are not exactly choppy .. they seem to eat miliseconds of 
sound ... sound doesn t cut .. it remains a stream .. is just that some 
miliseconds dissapear. 

Is there a workaround for that?

I already tried:

/etc/syscontl.conf
kern.ipc.shmmax=1
kern.ipc.shmall=65536

but to no avail .. System Notificactions are still choppy ...
maybe it's ony me ... Anyone getting the same on your systems?

pciconf -vl
[EMAIL PROTECTED]:4:2:0:class=0x040100 card=0x80401102 chip=0x00021102 
rev=0x08 hdr=0x00
vendor = 'Creative Technology LTD.'
device = 't4780010004541 Sound Blaster Live! (Also Live! 5.1) - OEM 
from DELL - CT4780'
class  = multimedia
subclass   = audio

(just in case .. the card is _not_ an OEM from DELL ... it was originally 
buyed Boxed, brand new, and the exact model was Sound Blaster Live! X-Gamer 
Edition, and it is 4.1).

Any help will be greatly appreciated

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


Re: PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-08-01 Thread Gonzalo Nemmi
On Friday 01 August 2008 04:28:17 Wojciech Puchar wrote:
> > re0 in here
> >
> > [EMAIL PROTECTED]:3:0:0: class=0x02 card=0x81361019 chip=0x813610ec 
> > rev=0x01
> > hdr=0x00
> >
> > "re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter
> > driver"
> >
> > Works like a charm.
> > No complains :)
>
> lots of versions of this chip are buggy.


M
Good to know ...
Couple that with Roberts advise and you guys just put me on the lookout for a 
new NIC.
Will follow Robert's advice and look for an Intel one.

Robert, could you please pinpoint an Intel card for me? One that can be buyed 
boxed .. stand alone NIC? (nowadays the only way to get NIC seems to be by 
buying one with a motherboard attached to it).

Thanks a lot for the advices guys :)
-- 
Blessings
Gonzalo Nemmi
___
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 update from 7.0-stable-200805 to 7.0-stable-200807 ?

2008-08-01 Thread Manolis Kiagias

Yavuz Maslak wrote:
I use 7.0-STABLE-200805. 


I want to update it to 7.0-STABLE-200807.

How do I update for the last updates clearly ?

is there a way to update without reboot the machine or with only one reboot ?


  


Use csup to synchronize your source:

- Copy the file /usr/share/examples/cvsup/stable-supfile to your home 
dir (run commands as root or with sudo)
- Edit and change default host to a mirror near you  ( 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#HANDBOOK-MIRRORS-CHAPTER-SGML-CENTRAL-CVSUP 
)


- csup -g -L2 stable-supfile

- Follow these instructions to rebuild your system:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

You will need to reboot twice, once after you install the kernel and a 
second time when you install world, after the final mergemaster step.

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


Re: "no toe capability on..."

2008-08-01 Thread Ewald Jenisch
On Thu, Jul 31, 2008 at 09:13:29AM -0600, Warren Block wrote:
>
> Looks like it.  They're debug messages that shouldn't still be in there.  
> They were removed in version 1.2 but then reappeared in 1.4.2.1:
>
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c.diff?r1=1.1;r2=1.2
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c.diff?r1=1.4;r2=1.4.2.1
>
> Thanks for locating the source of the problem.  I entered a PR (#126138)  
> but forgot to put in a pointer to your message--and now can't, since the  
> PR database claims #126138 doesn't exist.  I'll try again later.
>


Hi Warren,

Wow that was really fast - thanks much for filing a PR! 

...good to know that this message is just for debug and relatively
harmless...

Kind regards,
-ewald

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


Re: PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-08-01 Thread Wojciech Puchar


re0 in here

[EMAIL PROTECTED]:3:0:0: class=0x02 card=0x81361019 chip=0x813610ec rev=0x01
hdr=0x00

"re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter driver"

Works like a charm.
No complains :)


lots of versions of this chip are buggy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"