Re: ssh over http

2006-11-29 Thread Tom Judge

Atom Powers wrote:

On 11/27/06, Ansar Mohammed [EMAIL PROTECTED] wrote:

Hello All,
Is there any ssh over http implementation available for freebsd?


That doesn't even make sense. SSH is a transport layer protocol, HTTP
is an application layer protocol.



Both HTTP and SSH are application level transports,  however both can be 
used to tunnel TCP connections.  Therefore it is possible to use ssh 
over http.  The windows putty client can use http proxies to make 
outbound connections as long as your http proxy is configured to allow 
CONNECT requests to port 22.  If you using squid for example with a 
defaultish config you will need to update your proxy server configuration.


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


Re: LDM (Windows Dynamic Disks) in FreeBSD?

2006-11-29 Thread Andrew Pantyukhin

On 11/6/05, Andrew Brampton [EMAIL PROTECTED] wrote:

Hi,

I think I've found the answer to my question already, but I wanted to be
100% sure.


Okay, since you are so nice, let me answer this one :-)


Can I read Window Dynamic Disk volumes from within FreeBSD? More precisely
RAID-5 volume across multiple disks. I've googled and googled and I think
the answer is no. The linux-ntfs project has a tool that can display
information about the volume but the file system driver isn't fully
developed yet.


http://freebsd.rambler.ru/bsdmail/freebsd-current_2004/msg26639.html

http://freebsd.rambler.ru/ is a nice web search for our
mailing lists. In fact, we're planning on integrating it
into FreeBSD.org

So the state of things with windows dynamic disks in
FreeBSD doesn't seem to have changed much since
2004.


If there is no LDM support in FreeBSD, I think I'm going to port the
userland linux-ntfs ldminfo tool to FreeBSD, however I have a quick question
about GPL. If I port the code then obviously my version will have to be
under the GPL. I was wondering how this impacts the BSD licence? I presume
users of FreeBSD can happily use this tool, and hopefully one day it would
be allowed in ports. But say I extended this tool into a file system driver
(which I know is a big leap) would this code ever be considered for the
Kernel, or would I have to code from scratch to avoid the GPL restrictions?


I think most of the software in ports is GPL'ed. We'll be
happy to see you offer a new port or support an existing
one. As for the FreeBSD kernel, we can't use GPL'ed code
in the default (generic) one, but we can use it as an
optional feature, or as a loadable (kld) module.

Take a look at this port:
http://www.freshports.org/sysutils/ntfsprogs/

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


Header Warning

2006-11-29 Thread Graham Bentley
X-Authentication-Warning: omni.cpcnw.co.uk: admin set sender to
[EMAIL PROTECTED] using -f

Hi All !

On my laptop 'omni' I have now setup mutt / sendmail and am getting the
above in
messages to others. I have tried hacking about in my .muttrc but I dont
think thats
where this originates. Anyone know from where this comes? Thanks !


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


Re: FreeBSD VPS providers

2006-11-29 Thread Roberto Pereyra

Hi

Try Goldvision:

http://www.goldvision.com/ar/en/microrack.html

roberto

2006/11/28, Peter Schuller [EMAIL PROTECTED]:

 http://www.johncompanies.com/jc_bsd.html

 which seems like a good setup.

For comparison you may want to have a look at leaseweb (www.leaseweb.com).
They are offering dedicated physical machines for comparable prices.

My private colo box is hosted there and so far my experience has been good,
though I have not yet had any kind of hardware disaster or similar so I
cannot speak to how their tech support works in those cases.

--
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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




--
Ing. Roberto Pereyra
ContenidosOnline
Looking for Linux Virtual Private Servers ? Click here:
http://www.spry.com/hosting-affiliate/scripts/t.php?a_aid=426a_bid=56
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lsi megaraid 8300xlp support

2006-11-29 Thread Bartosz Kalka
** High Priority **

Hello, is it possible to make this MegaRAID SAS 8300XLP controller be supported 
by freebsd ??
 
 
best regards
 
 
***
Bartosz Kałka
Dział Wsparcia Technicznego
MCP, Microsoft Licesing Specialist
Cisco Sales Associate
 
Logon S.A.
ul: Piotrowskiego 7-9
85-098 Bydgoszcz
NIP: 554-023-16-68
 
www.logon.pl
 
tel:  +48 52326 (35)
fax: +48 523260099
 
cell: +48602629396
gg: 24960
 
***

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:[EMAIL PROTECTED]
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Kalka;Bartosz
END:VCARD

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

I've moved!

2006-11-29 Thread email moraes at cs dot toronto dot edu
[This is a recording]

I'm no longer at the University of Toronto.  If you received any message
from this e-mail address other than this recording, it was spam with a
forged e-mail address, because I never send e-mail from cs.toronto.edu
(and have not done so for over 10 years). Please check the message
headers carefully and report it to the originating Internet Service
Provider (ISP).  If you don't know how, please ask your own ISP or read
http://tinyurl.com/38eh3 to learn how to track down the source of spam.

If you are receiving this message because you inquired about jove,
xcpustate, xpic, xtroff, xplaces, the HP X widgets, the CSRI malloc or
any other ftp://ftp.cs.toronto.edu/pub/moraes/ software, try my web page
at http://tinyurl.com/vdh3 for more information.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Removing modules from the Userland

2006-11-29 Thread Nadow

Hi! I installed the 6.2-RC1 version but now I have decided to remove
the profiled libraries and I know that for that purpose I have to add
the line NO_PROFILE= to the make.conf before the make world
action.

My doubt is if I reinstall or upgrade the Userland without this option
or anyone (let's say Kerberos, Sendmail.. etc) that I have already
installed, these options are going to be removed, or simply are not
going to be upgraded and/or reinstalled again.

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


DUMP + RESTORE

2006-11-29 Thread Grant Peel
Hi all,

I know that if I dump a filesystem (lets say a full dump), that everything says 
the restore filesystem needs to be at least as big as the one the dump was made 
from.

But I dare ask this question anyway ...

If I have a filesystem that is 10 GIG, but because I am only using 2 GIG of 
that can I restore it to a 3 GIg file system?

I ask becuase somehow I have a 73 gig drive, but all my spare hard disks disks 
are only 36 Gig.

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


Re: DUMP + RESTORE

2006-11-29 Thread Alex Zbyslaw

Grant Peel wrote:


Hi all,

I know that if I dump a filesystem (lets say a full dump), that everything says 
the restore filesystem needs to be at least as big as the one the dump was made 
from.

But I dare ask this question anyway ...

If I have a filesystem that is 10 GIG, but because I am only using 2 GIG of 
that can I restore it to a 3 GIg file system?

I ask becuase somehow I have a 73 gig drive, but all my spare hard disks disks 
are only 36 Gig.
 

You only need as much disk space where you are restoring as you actually 
used on the filesystem being dumped, so yes, if you really only used 2Gb 
then restoring to a 3Gb partition is fine.  Just beware that a 3Gb 
partition before newfs will have less that 3Gb of usable space as some 
is taken up by filesystem overhead, and the 10% space is usually to be 
left free for speedier, less fragmented operation.  But 2Gb of data will 
still fit comfortably.


This is *one* of the reasons why dump is better than dd.  dd just copies 
the whole slice, all 10Gb in this case, and then you'd be stuck :-)


--Alex



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


Real-time command history sharing between interactive shells

2006-11-29 Thread Andrew Pantyukhin

I want to be able to define groups of interactive
shells (preferably even across different users)
so they have one single shared command history.
Any command executed in one of them should be
available through all history mechanisms in the
other ones.

I imagine some ways to do it in tcsh. I'm sure
many users would like this kind of functionality,
maybe some of them have already implemented it?

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


The Israel Defense, Aerospace Security Industries

2006-11-29 Thread Director – Aerospace, Defense HLS

   If you can= not see this email properly, please [1]click here

   Issue No. 2 -= Oct./Nov. 2006
   3D [2]IEICI 3D [3]Aviation  Aero= space Sector 3D [4]Security 
   Safe= ty Sector 3D [5]Archive 3D [6]Contact Us
   [=] [7]Aviation  Aerospace
   [laniado.=]
   [=] [8]Security  Safety
   [laniado.=]
   [=] [9]What's New
   [laniado.=]
   [=] [10]Activities
  3D What's New?
  [laniado.sw=] U.S.-Israel HLS Technologies Con= ference  B2B
   Meetings -
   Fairfax Virginia USA
   [laniado.sw=] = [11]Read More...
   [3Dh=] = /TD
   [laniado.sw=] Ness Tech. gets $30 mln HLS deal = /TD
   [laniado.sw=] = [12]Read More...
   [3Dh=] = /TD
   [laniado.sw=] NICE Receives Follow-on Order to Boo= st Security at
   the Eiffel Tower
   [laniado.sw=] = [13]Read More...
   [3Dh=] = /TD
   [laniado.sw=] Elisra wins Portugal, South Korea co= ntracts
   [laniado.sw=] = [14]Read More...
   [3Dh=] = /TD
  3D Activities[laniado.sw=]   Aviation and Aerospace 
Activities
   .
   [laniado.sweethome.=] [15]Read More...
   [3Dh=] = /TD
   [laniado.sw=]   Security and Safety Activities= /TR
   [laniado.sw=] = [16]Read More...

   NIRTAL Security Consulting and Tra= ining VIP Protection Courses
   [17]Read More...
  Dear readers,

   This bi-monthly newsletter seeks to bring you up to date with the la   test 
developments, products  innovations in Israel's Aerospace and
   Sec= urity Industries, as well as, information concerning our upcoming
   event= s in Israel and abroad.
   I hope you will enjoy this newsletter,= and moreover that you will
   find its contents interesting and beneficia= l.
   Sincerely,
   [18]Li= or Konitzki
   Director – Aerospace, Defense  HLS
   
   [=] Aviation  Aerospace

   [3Dht=] = /TD
   IAI: Successful first= flight of the SIDM UAV system in France
   EADS and Israel Aircraft = Industry (IAI), have successfully completed
   the first flight of a MALE = UAV System in France. This flight,
   operated from the operational SIDM= ground station, demonstrated the
   integrity of the UAV system. 
   [=] [19]Read More...
   [laniado.sweethome.co=]
   [3Dht=]Tadiran Spectralink t= o supply pilot rescue system to The 
German Air
   Force
   Elbit Systems Ltd. anno= unced that Tadiran Spectralink Ltd. has
   won a contract for the supply= of the advanced PCR-434G/SV Personal
   Survival Radio to the German Air = Force.
   [=] [20]Read More...
   
   [=] Security  Safety

   [3Dht=]
   ioimage Debuts First = ioicam Turn-Key Intelligent Video IP
   Surveillance Camera
   ioimage announced the rel= ease of the ioicam wdc100dn, a
   next-generation intelligent video IP sur= veillance camera that
   automatically detects intruders, suspicious bagga= ge, stopped
   vehicles and removed items.
   [=] [21]Read More...
   [laniado.sweethome.co=]
   [3Dht=]Magal Releases New Ad= vanced Technology Perimeter Security 
Systems
   Magal Security Systems, L= td. announced that its wholly owned
   Canadian based subsidiary Senstar= -Stellar Corporation (SSC) has
   released two new upgraded advanced techn= ology perimeter security
   systems.
   [=] [22]Read More...
 _

   [23][ico-=] Click here to print this Page

   [trailer.mymarketing.=] To remove yoursel= f from the mailing list
   please [24]click here

   Powered by [25]ActiveTrail.com.

References

   1. 3Dhttp://www.mymarketin=/
   2. file://localhost/tmp/3Dht   3. file://localhost/tmp/3Dh   4. 
file://localhost/tmp/3Dh   5. file://localhost/tmp/3Dht   6. 
file://localhost/tmp/3Dma   7. file://localhost/tmp/3D#1
   8. file://localhost/tmp/3D#4
   9. file://localhost/tmp/3D#2
  10. file://localhost/tmp/3D#5
  11. 3Dhttp://trailer.mymarket=/
  12. 3Dhttp://trailer.mymarket=/
  13. 3Dhttp://trailer.mymarket=/
  14. 3Dhttp://trailer.mymarket=/
  15. 3Dhttp://trailer.mymarket=/
  16. 3Dhttp://trailer.mymarket=/
  17. 3Dhttp://trailer.mymark=/
  18. 3Dmailto:[EMAIL PROTECTED]
  19. 3Dhttp://trailer.mymarketing.=/
  20. 3Dhttp://trailer.mymarketing.=/
  21. 3Dhttp://trailer.mymarketing.=/
  22. 3Dhttp://trailer.mymarketing.=/
  23. 3Dhttp://www.mymarketing.co.il/Prin  24. 3D'http://www.mymarketing.co=/
  25. 3D'http://www.mymarketing.co.il=/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The Israel Defense, Aerospace Security Industries

2006-11-29 Thread Director – Aerospace, Defense HLS

   If you can= not see this email properly, please [1]click here

   Issue No. 2 -= Oct./Nov. 2006
   3D [2]IEICI 3D [3]Aviation  Aero= space Sector 3D [4]Security 
   Safe= ty Sector 3D [5]Archive 3D [6]Contact Us
   [=] [7]Aviation  Aerospace
   [laniado.=]
   [=] [8]Security  Safety
   [laniado.=]
   [=] [9]What's New
   [laniado.=]
   [=] [10]Activities
  3D What's New?
  [laniado.sw=] U.S.-Israel HLS Technologies Con= ference  B2B
   Meetings -
   Fairfax Virginia USA
   [laniado.sw=] = [11]Read More...
   [3Dh=] = /TD
   [laniado.sw=] Ness Tech. gets $30 mln HLS deal = /TD
   [laniado.sw=] = [12]Read More...
   [3Dh=] = /TD
   [laniado.sw=] NICE Receives Follow-on Order to Boo= st Security at
   the Eiffel Tower
   [laniado.sw=] = [13]Read More...
   [3Dh=] = /TD
   [laniado.sw=] Elisra wins Portugal, South Korea co= ntracts
   [laniado.sw=] = [14]Read More...
   [3Dh=] = /TD
  3D Activities[laniado.sw=]   Aviation and Aerospace 
Activities
   .
   [laniado.sweethome.=] [15]Read More...
   [3Dh=] = /TD
   [laniado.sw=]   Security and Safety Activities= /TR
   [laniado.sw=] = [16]Read More...

   NIRTAL Security Consulting and Tra= ining VIP Protection Courses
   [17]Read More...
  Dear readers,

   This bi-monthly newsletter seeks to bring you up to date with the la   test 
developments, products  innovations in Israel's Aerospace and
   Sec= urity Industries, as well as, information concerning our upcoming
   event= s in Israel and abroad.
   I hope you will enjoy this newsletter,= and moreover that you will
   find its contents interesting and beneficia= l.
   Sincerely,
   [18]Li= or Konitzki
   Director – Aerospace, Defense  HLS
   
   [=] Aviation  Aerospace

   [3Dht=] = /TD
   IAI: Successful first= flight of the SIDM UAV system in France
   EADS and Israel Aircraft = Industry (IAI), have successfully completed
   the first flight of a MALE = UAV System in France. This flight,
   operated from the operational SIDM= ground station, demonstrated the
   integrity of the UAV system. 
   [=] [19]Read More...
   [laniado.sweethome.co=]
   [3Dht=]Tadiran Spectralink t= o supply pilot rescue system to The 
German Air
   Force
   Elbit Systems Ltd. anno= unced that Tadiran Spectralink Ltd. has
   won a contract for the supply= of the advanced PCR-434G/SV Personal
   Survival Radio to the German Air = Force.
   [=] [20]Read More...
   
   [=] Security  Safety

   [3Dht=]
   ioimage Debuts First = ioicam Turn-Key Intelligent Video IP
   Surveillance Camera
   ioimage announced the rel= ease of the ioicam wdc100dn, a
   next-generation intelligent video IP sur= veillance camera that
   automatically detects intruders, suspicious bagga= ge, stopped
   vehicles and removed items.
   [=] [21]Read More...
   [laniado.sweethome.co=]
   [3Dht=]Magal Releases New Ad= vanced Technology Perimeter Security 
Systems
   Magal Security Systems, L= td. announced that its wholly owned
   Canadian based subsidiary Senstar= -Stellar Corporation (SSC) has
   released two new upgraded advanced techn= ology perimeter security
   systems.
   [=] [22]Read More...
 _

   [23][ico-=] Click here to print this Page

   [trailer.mymarketing.=] To remove yoursel= f from the mailing list
   please [24]click here

   Powered by [25]ActiveTrail.com.

References

   1. 3Dhttp://www.mymarketin=/
   2. file://localhost/tmp/3Dht   3. file://localhost/tmp/3Dh   4. 
file://localhost/tmp/3Dh   5. file://localhost/tmp/3Dht   6. 
file://localhost/tmp/3Dma   7. file://localhost/tmp/3D#1
   8. file://localhost/tmp/3D#4
   9. file://localhost/tmp/3D#2
  10. file://localhost/tmp/3D#5
  11. 3Dhttp://trailer.mymarket=/
  12. 3Dhttp://trailer.mymarket=/
  13. 3Dhttp://trailer.mymarket=/
  14. 3Dhttp://trailer.mymarket=/
  15. 3Dhttp://trailer.mymarket=/
  16. 3Dhttp://trailer.mymarket=/
  17. 3Dhttp://trailer.mymark=/
  18. 3Dmailto:[EMAIL PROTECTED]
  19. 3Dhttp://trailer.mymarketing.=/
  20. 3Dhttp://trailer.mymarketing.=/
  21. 3Dhttp://trailer.mymarketing.=/
  22. 3Dhttp://trailer.mymarketing.=/
  23. 3Dhttp://www.mymarketing.co.il/Prin  24. 3D'http://www.mymarketing.co=/
  25. 3D'http://www.mymarketing.co.il=/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb -Uu hung

2006-11-29 Thread Lowell Gilbert
David Abrahams [EMAIL PROTECTED] writes:

 I seem to be having the same problem described in
 http://www.freebsdforums.org/forums/showthread.php?t=22211, with no
 system calls shown by truss.

My instinct is that it's unlikely to be related, even if the symptoms
look similar.

 Unfortunately, the fix of upgrading perl from 5.6 to 5.8 doesn't apply
 to me: my version of Perl is already at 5.8.8, and probably was from
 the moment FreeBSD was installed. I'm relatively new
 at all this.  Can someone help me set things right again?

It's only happening with -a?
Will it upgrade individual ports okay?
Does it suck up CPU while it's hung?
Have you upgraded portupgrade to 2.2.2?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xorg: How to change background?

2006-11-29 Thread a
Can Xorg show another background than grey grid, for example black screen?

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


Re: Xorg: How to change background?

2006-11-29 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 Can Xorg show another background than grey grid, for example black screen?

Sure.  Try xsetroot(1).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb -Uu hung

2006-11-29 Thread Alex Zbyslaw
Are you *sure* it's hung?  -U does a make index in /usr/ports which 
takes *forever* as it has to run a make command in *every single port*. 

If you've just updated your ports tree with cvsup then consider running 
make fetchindex from /usr/ports which just grabs the latest pre-built 
version and then just doing portsdb -u, though anything that needs the 
.db file to be up-to-date will do this automatically.


--Alex

PS The thread you reference seems to be about portupgrade -a which is 
confusing since your subject line says portsdb -Uu.  Though both part of 
portupgrade, the similarity ends there.


Like Lowell said:


Does it suck up CPU while it's hung?


What does top show for CPU usage?  You will probably not see any process 
hogging the cpu as, like I said, it's one short make after another after 
another after another ... repeat until sick.


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


Re: portsdb -Uu hung

2006-11-29 Thread Alex Zbyslaw

Alex Zbyslaw wrote:

Are you *sure* it's hung?  -U does a make index in /usr/ports which 
takes *forever* as it has to run a make command in *every single port*.
If you've just updated your ports tree with cvsup then consider 
running make fetchindex from /usr/ports which just grabs the latest 
pre-built version and then just doing portsdb -u, though anything 
that needs the .db file to be up-to-date will do this automatically.


Just seen that portsdb -F will fetch the index and the man page even 
recommends running portsdb -Fu (not -Uu) after a cvsup.


If -Fu still hangs for you, then you really do have a problem.

--Alex


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


Netra T1 105 (sparc64) optimization

2006-11-29 Thread Alexandre Vieira

Hi,

I'm responsible for building a testbed for a network service solution and I
was given some old hardware to work with.

For example, I have a netra T1 105 working as a bridge between two vlans in
order to use ipfw+dummynet to create packet loss and latency tests in a
platform that was already deployed (quick and dirty solution). At the moment
I configured the machine to do the job and made some benchmarks but haven't
yet optimized anything so I can benchmark it later on to see the
optimizations effect.

This is the first time Im working with a sparc64 box with freebsd and I
would like to know what improvements can be done in terms of specific
sparc64 optimizations (ex. gcc flags/cputype), kernel/tunables
recommendations, comments onthis specific job (bridging and messing with the
packets in layer 3) or any other usefull info.

You can find the base configuration of the machine here:
http://nullpt.googlepages.com/netra.txt
Thanks in advance for your time!
Regards,
--
Alexandre Vieira - [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: DUMP + RESTORE

2006-11-29 Thread Jerry McAllister
On Wed, Nov 29, 2006 at 08:33:07AM -0500, Grant Peel wrote:

 Hi all,
 
 I know that if I dump a filesystem (lets say a full dump), that everything 
 says the restore filesystem needs to be at least as big as the one the 
 dump was made from.
 
 But I dare ask this question anyway ...
 
 If I have a filesystem that is 10 GIG, but because I am only using 2 GIG 
 of that can I restore it to a 3 GIg file system?
 
 I ask becuase somehow I have a 73 gig drive, but all my spare hard disks 
 disks are only 36 Gig.

Should be no problem because dump/restore work on a file-by-file basis
and not blocks or other hardware divisions.   Since it will have to
build directories and such, it might come out just a bit bigger than
the actual dump file, but it should only use in the ballpark of the
size of the dump file.   

Anyway, it does not depend on the size of the file system that was 
dumped, but rather on the amount of data that was dumped.

jerry

 
 -GRant
 ___
 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: FreeBSD VPS providers

2006-11-29 Thread Mark Jayson Alvarez

If you're really looking for a provider offering true FreeBSD virtual
private server solution, chance are, they are most likely running jail
systems. For everything else, your choice might be companies providing Xen,
LVS, UML, or even vmware solutions although companies are less likely to
offer the last option option.  I suggest you do some more research if a jail
based virtual private server solution will suite to your needs, e.g; you
require a dedicated resource allocation (e.g, minimum guaranteed memory
etc.) that you won't get from a shared server solution, or  you need a full
access to the virtual environment including software compilation, or even
kernel compilation, as well as firewall configuration etc. Once you've
finalized your requirements, you can now do another research on the
technical approach used by each of those solutions and finally base your
decision if a particular solution really satisfy your needs.

hint: google for vps provider

Good luck.
-mark

On 11/28/06, Eric [EMAIL PROTECTED] wrote:


Hello,

I am looking to move a website i run from its current provider (linux
based shared box) to a VPS solution.  I have been doing some searching
via google and the mailing list and so far have found

http://www.johncompanies.com/jc_bsd.html

which seems like a good setup.

Can anyone else recommend some good FreeBSD virtual private server
providers that I can add to my evaluation? Ideally i would like to be
able to run 6.x.

Our current usage looks like:

Disk usage: 1864.38 Megabytes
Bandwidth usage (current month) : 14858.01 Megabytes

Thanks all

Eric


___
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: portsdb -Uu hung

2006-11-29 Thread David Abrahams
Lowell Gilbert [EMAIL PROTECTED] writes:

 David Abrahams [EMAIL PROTECTED] writes:

 I seem to be having the same problem described in
 http://www.freebsdforums.org/forums/showthread.php?t=22211, with no
 system calls shown by truss.

 My instinct is that it's unlikely to be related, even if the symptoms
 look similar.

 Unfortunately, the fix of upgrading perl from 5.6 to 5.8 doesn't apply
 to me: my version of Perl is already at 5.8.8, and probably was from
 the moment FreeBSD was installed. I'm relatively new
 at all this.  Can someone help me set things right again?

 It's only happening with -a?
 Will it upgrade individual ports okay?
 Does it suck up CPU while it's hung?
 Have you upgraded portupgrade to 2.2.2?

It eventually finished after seeming to make no progress and not
showing up in top for the longest time.  Sorry for the false (?)
alarm.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Real-time command history sharing between interactive shells

2006-11-29 Thread pete wright

On 11/29/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:

I want to be able to define groups of interactive
shells (preferably even across different users)
so they have one single shared command history.
Any command executed in one of them should be
available through all history mechanisms in the
other ones.

I imagine some ways to do it in tcsh. I'm sure
many users would like this kind of functionality,
maybe some of them have already implemented it?



sounds pretty interesting.  maybe i'm missing something pretty basic
here, so i assume sym-linking ~/.history between multiple accounts
will not be sufficient.  if it is you can define $HISTFILE in bash/ksh
to point to ~/.history as well.

-pete





--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1 setup doesn't see my HDD

2006-11-29 Thread Jerry McAllister
On Mon, Nov 27, 2006 at 07:48:44PM +0200, Dima wrote:

Well, this is something I have not seen, so I hope someone else 
can weigh in on it.

jerry


  On Mon, Nov 27, 2006 at 06:58:32PM +0200, Dima wrote:
 
  Hmmm.   I am presuming you are booted from an install CD.
 Yes, I'm booting from install CD.
 
  By the way there are some error messages regarding this on Ctrl+Alt+F2
  (during install), but they say nothing to me:
  ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
  ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
  ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR
  error=84ICRC,ABORTED
  LBA=0
  They're repeated 4 times.
 
  Hmmm.
  I don't remember seeing anything like those when I had the afore-mentioned
  problem.  That looks like something is connected wrong or being addressed
  wrong.  It isn't a geometry issue, I don't think.
 
 But Red Hat 9 still works fine on that hardware. What can be wrong?
 
  My HDD is Master on first IDE-channel, CD-ROM - Secondary on the same
  channel.
 
  Can you find the dmesg information for both the disk and the CD reader
  during the boot?   Are they producing device identifiers and specs that
  look correct?
  Those lines will start with 'adnn:' and 'acdnn:' where nn is a number,
  probably '0' (you hope).
 
 Yes, I can:
 ad0: 238457 MB WDC WD2500JB-00GVC0 08.02D08 at ata0-master UDMA
 acd0 . at ata0-slave looks fine too (I'm too lazy to copy it :)
 Also I have ad2 and it seems fine on dmesg too.
 After that goes
 
 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR
 
 and repeats 3 times.
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


packages ports and portupgrade

2006-11-29 Thread Brian
Is there a difference in allocation of package building resources 
between v5 and v6 stable versions?


I use both a v5 and v6 stable box.  The v6 box is paid attention to a 
lot more closely, the v5 box is a once in awhile test machine.  I 
noticed yesterday that portupgrade -aP on the v5 box led to most of the 
updates happening via package, whereas the v6 box is building most of 
them via ports.


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


Using Screen

2006-11-29 Thread Dan Sikorsky

Hey, I have a good question for you guys.

Lets say, I started a job on a computer, if you must know, portmanager -u ,
and then left... but I know its sitting there stuck on a config window 
waiting for someone to press enter...

I do not have screen installed on this machine...

my question is, can I ssh in, install screen (or not i suppose it 
wouldnt matter) and bring that process to either
screen, or my ssh terminal?  i was hoping there would be a way maybe to 
suspend it, and then bring it to another term.



thanks


dan
--

Dan Sikorsky
*Systems Admin/GoldMine Admin*
RegionalHelpWanted.com,Inc.  Cupid.com, Inc.
845-471-5200 x220
One Civic Center Plaza,
Suite 506
Poughkeepsie, NY 12601
/http://RegionalHelpWanted.com
http://Cupid.com/

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


Re: Using Screen

2006-11-29 Thread Giorgos Keramidas
On 2006-11-29 12:22, Dan Sikorsky [EMAIL PROTECTED] wrote:
 Hey, I have a good question for you guys.

 Lets say, I started a job on a computer, if you must know, portmanager
 -u , and then left... but I know its sitting there stuck on a config
 window waiting for someone to press enter...  I do not have screen
 installed on this machine...

 my question is, can I ssh in, install screen (or not i suppose it
 wouldnt matter) and bring that process to either screen, or my ssh
 terminal?

In general, no.

You can _try_ using watch(8), from a superuser session, but I am not
sure if it will catch whatever has already been displayed on the side
of the watched terminal...

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


Re: Using Screen

2006-11-29 Thread Ed P

On 11/29/06, Dan Sikorsky [EMAIL PROTECTED] wrote:

Hey, I have a good question for you guys.

Lets say, I started a job on a computer, if you must know, portmanager -u ,
and then left... but I know its sitting there stuck on a config window
waiting for someone to press enter...
I do not have screen installed on this machine...

my question is, can I ssh in, install screen (or not i suppose it
wouldnt matter) and bring that process to either
screen, or my ssh terminal?  i was hoping there would be a way maybe to
suspend it, and then bring it to another term.


thanks


Take a look at watch(8) - notably the -W switch.

Best.


--
Ed P.
[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: Using Screen

2006-11-29 Thread John Nielsen
On Wednesday 29 November 2006 12:35, Giorgos Keramidas wrote:
 On 2006-11-29 12:22, Dan Sikorsky [EMAIL PROTECTED] wrote:
  Hey, I have a good question for you guys.
 
  Lets say, I started a job on a computer, if you must know, portmanager
  -u , and then left... but I know its sitting there stuck on a config
  window waiting for someone to press enter...  I do not have screen
  installed on this machine...
 
  my question is, can I ssh in, install screen (or not i suppose it
  wouldnt matter) and bring that process to either screen, or my ssh
  terminal?

 In general, no.

 You can _try_ using watch(8), from a superuser session, but I am not
 sure if it will catch whatever has already been displayed on the side
 of the watched terminal...

The watch utility will only display writes that happen after it was started.

See also vidcontrol(1), in particular the -p and -P options. You can get 
a screen shot of a virtual terminal that way.

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


Re: Using Screen

2006-11-29 Thread Michael Rudolph
On Wednesday 29 November 2006 18:22, Dan Sikorsky wrote:
 Hey, I have a good question for you guys.

 Lets say, I started a job on a computer, if you must know,
 portmanager -u , and then left... but I know its sitting there stuck
 on a config window waiting for someone to press enter...
 I do not have screen installed on this machine...

 my question is, can I ssh in, install screen (or not i suppose it
 wouldnt matter) and bring that process to either
 screen, or my ssh terminal?  i was hoping there would be a way maybe
 to suspend it, and then bring it to another term.


 thanks


 dan

Hi Dan,

I would try watch(8). Depending on many circumstances this may or may 
not work for you. Just read the man page.

As far as I know, screen(1) would not work for the situation that you 
described.

Good luck.

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


Re: Using Screen

2006-11-29 Thread John Nielsen
On Wednesday 29 November 2006 12:43, John Nielsen wrote:
 On Wednesday 29 November 2006 12:35, Giorgos Keramidas wrote:
  On 2006-11-29 12:22, Dan Sikorsky [EMAIL PROTECTED] wrote:
   Hey, I have a good question for you guys.
  
   Lets say, I started a job on a computer, if you must know, portmanager
   -u , and then left... but I know its sitting there stuck on a config
   window waiting for someone to press enter...  I do not have screen
   installed on this machine...
  
   my question is, can I ssh in, install screen (or not i suppose it
   wouldnt matter) and bring that process to either screen, or my ssh
   terminal?
 
  In general, no.
 
  You can _try_ using watch(8), from a superuser session, but I am not
  sure if it will catch whatever has already been displayed on the side
  of the watched terminal...

 The watch utility will only display writes that happen after it was
 started.

 See also vidcontrol(1), in particular the -p and -P options. You can get
 a screen shot of a virtual terminal that way.

And to answer your original question, no I don't think there's a way to bring 
a process over to another terminal, but you could use vidcontrol -P to see 
what's on the screen already (this only works from real console virtual 
terminals, e.g. /dev/ttyvX) and then use watch -W to take over from there.

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


Re: CAM Status SCSI Error

2006-11-29 Thread Chuck Swiger

On Nov 28, 2006, at 8:15 PM, Grant Peel wrote:
Could not get anywhere with fsck. Kept Saying 'rerun fsck manually'  
which I did.


Got the thing up anmd running using the SCSI verify media Utility  
in the bios. showned one error when it ran, maked the block as bad.


fsck shows all f/s clean now.

LOts of verbage found on google, but nothing that explained  
anything well.


Disk is about 2 years old, not under heavy load.FreeBSD 6.1

Should I replace?  (Seagate Cheetah SCSI 3 73 GIG).

or is this 'normal' once in a while?


While bad sectors occur over time, they aren't normal.

You should install smartmontools (assuming you run FreeBSD 5.x or  
later) and have it run a drive self-test, and monitor the counts of  
bad sectors being reallocated and other errors.  If you don't see  
anything bad and no additional bad sectors appear over the next few  
weeks, you can probably live with it as an isolated incident.


Of course, you should also be prepared to recover your data from  
backups in case the drive decides to die completely, as it may do  
just that...


--
-Chuck

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


SCREEN resolved, thanks guys

2006-11-29 Thread Dan Sikorsky
Well, between using vidcontrol and watch, (neither i had ever used 
before) i managed to pull the window, and than like a  fool

i control - C'd it dooh!

well, at least now I can start it in screen

- thanks
--

Dan Sikorsky
*Systems Admin/GoldMine Admin*
RegionalHelpWanted.com,Inc.  Cupid.com, Inc.
845-471-5200 x220
One Civic Center Plaza,
Suite 506
Poughkeepsie, NY 12601
/http://RegionalHelpWanted.com
http://Cupid.com/

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


Re: SCREEN resolved, thanks guys

2006-11-29 Thread Peter A. Giessel
On 2006/11/29 9:42, Dan Sikorsky seems to have typed:
 Well, between using vidcontrol and watch, (neither i had ever used 
 before) i managed to pull the window, and than like a  fool
 i control - C'd it dooh!
 
 well, at least now I can start it in screen

You might want to familiarize yourself with the --resume tag in
portmanager  :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh over http

2006-11-29 Thread Atom Powers

On 11/29/06, Tom Judge [EMAIL PROTECTED] wrote:

Atom Powers wrote:
 On 11/27/06, Ansar Mohammed [EMAIL PROTECTED] wrote:
 Hello All,
 Is there any ssh over http implementation available for freebsd?

 That doesn't even make sense. SSH is a transport layer protocol, HTTP
 is an application layer protocol.


Both HTTP and SSH are application level transports,  however both can be
used to tunnel TCP connections.  Therefore it is possible to use ssh
over http.  The windows putty client can use http proxies to make
outbound connections as long as your http proxy is configured to allow
CONNECT requests to port 22.  If you using squid for example with a
defaultish config you will need to update your proxy server configuration.



SSH is often paired with an application, a shell, but that doesn't
make it an application layer protocol. SSH establishes and manages a
transport layer connection between the client and server, over which
you can tunnel most other transport layer protocols.

This is very similar to the way SSL/HTTP are being used. SSL and TLS
are transport layer protocols that usually use the application layer
protocol HTTP. And like SSH, SSL/TLS can be used to tunnel other
transport layer protocols.

So what we are really talking about here is not SSH over HTTP but
SSH through a HTTPS vpn/proxy, which doesn't use HTTP at all once
the session is established.

Nobody tunnels though HTTP, they use SSL/TLS.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Command to dump firewall rules to be persistent across reboots.

2006-11-29 Thread Dan Mahoney, System Admin
Hey all, I'm experimenting with ipfw as means of controlling some 
interesting anomalies like with portsenty or some ssh anti-brute-force 
scripts (i.e. adding bad hosts to tables, adding deny rules 
for certain hosts, etc), and I was wondering if there was (either in the 
form of a script, or a builtin command I can't find) some way to just 
dump all the ipfw data (pipes, queues, tables, etc) to a single file to 
be re-read on boot?


I'd be willing to try and write something like this if it doesn't already 
exist, but I'm rather surprised it doesn't.


-Dan Mahoney

--

A single death is a tragedy.  A million deaths is a statistic.

-Josef Stalin, As quoted on the cover to Savatage's Dead Winter Dead

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: ssh over http

2006-11-29 Thread Andrew Pantyukhin

On 11/29/06, Atom Powers [EMAIL PROTECTED] wrote:

On 11/29/06, Tom Judge [EMAIL PROTECTED] wrote:
 Atom Powers wrote:
  On 11/27/06, Ansar Mohammed [EMAIL PROTECTED] wrote:
  Hello All,
  Is there any ssh over http implementation available for freebsd?
 
  That doesn't even make sense. SSH is a transport layer protocol, HTTP
  is an application layer protocol.
 

 Both HTTP and SSH are application level transports,  however both can be
 used to tunnel TCP connections.  Therefore it is possible to use ssh
 over http.  The windows putty client can use http proxies to make
 outbound connections as long as your http proxy is configured to allow
 CONNECT requests to port 22.  If you using squid for example with a
 defaultish config you will need to update your proxy server configuration.

SSH is often paired with an application, a shell, but that doesn't
make it an application layer protocol. SSH establishes and manages a
transport layer connection between the client and server, over which
you can tunnel most other transport layer protocols.


You are right to a certain extent, but not enough to
make a good argument. I can't say wikipedia prides
itself on universal correctness, but still consult these
articles to clear any doubts about what layer ssh
may or may not belong to:

http://en.wikipedia.org/wiki/Ssh
http://en.wikipedia.org/wiki/Internet_protocol_suite
http://en.wikipedia.org/wiki/OSI_Model
___
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 dump firewall rules to be persistent across reboots.

2006-11-29 Thread Lane
On Wednesday 29 November 2006 13:38, Dan Mahoney, System Admin wrote:
 Hey all, I'm experimenting with ipfw as means of controlling some
 interesting anomalies like with portsenty or some ssh anti-brute-force
 scripts (i.e. adding bad hosts to tables, adding deny rules
 for certain hosts, etc), and I was wondering if there was (either in the
 form of a script, or a builtin command I can't find) some way to just
 dump all the ipfw data (pipes, queues, tables, etc) to a single file to
 be re-read on boot?

 I'd be willing to try and write something like this if it doesn't already
 exist, but I'm rather surprised it doesn't.

 -Dan Mahoney

 --

 A single death is a tragedy.  A million deaths is a statistic.

 -Josef Stalin, As quoted on the cover to Savatage's Dead Winter Dead

 Dan Mahoney
 Techie,  Sysadmin,  WebGeek
 Gushi on efnet/undernet IRC
 ICQ: 13735144   AIM: LarpGM
 Site:  http://www.gushi.org
 ---
Dan,

Take a look at man rc.shutdown

I don't know if it's exactly what you want, but there may be another way:

Write a script in /usr/local/etc/rc.d that responds to the start and stop 
parameters.  In the stop section you can output ipfw list to a file.  
Then in the start section you can read that file and run each line, 
essentially unmodified, agains ipfw.

good luck!

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


simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Dino Vliet
Hi peeps,

I'm almost ashamed to ask this BUT I really don't know
how to find the packages which depend upon a
particular port.

In this case, a portversion -l  showed mysql-client
in that list. I can't recall having installed it by
myself I wanted to know what the packages are which
depend on it. Can somebody show me this
command..and if it will be a RTFM answer, please
tell me which FM:-)

Thanks


 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPFW: delete range of rules?

2006-11-29 Thread Dan Mahoney, System Admin
Hey all, the ipfw man page says rules can be deleted individually or in 
groups, but I don't see (other than the sets) an easy way to craft 
deletion of rules in a range (for example, 500-550).


As the system I'm using crafts client rules by client numbers, this is a 
kinda useful feature, is it available somewhere?


-Dan

--

There is no right and wrong, there is only fun and boring.

-Fisher Stevens, Hackers

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Matthew Seaman
Dino Vliet wrote:

 I'm almost ashamed to ask this BUT I really don't know
 how to find the packages which depend upon a
 particular port.

pkg_info -R port-name-\*

(-r does the inverse, packages on which port-name depends)

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



signature.asc
Description: OpenPGP digital signature


Re: IPFW: delete range of rules?

2006-11-29 Thread Lane
On Wednesday 29 November 2006 13:55, Dan Mahoney, System Admin wrote:
 Hey all, the ipfw man page says rules can be deleted individually or in
 groups, but I don't see (other than the sets) an easy way to craft
 deletion of rules in a range (for example, 500-550).

 As the system I'm using crafts client rules by client numbers, this is a
 kinda useful feature, is it available somewhere?

 -Dan

 --

 There is no right and wrong, there is only fun and boring.

 -Fisher Stevens, Hackers

 Dan Mahoney
 Techie,  Sysadmin,  WebGeek
 Gushi on efnet/undernet IRC
 ICQ: 13735144   AIM: LarpGM
 Site:  http://www.gushi.org
 ---

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

I think the group is a reference to a set (0-31).  Although I could be 
mistaken.

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


Re: IPFW: delete range of rules?

2006-11-29 Thread Lane
On Wednesday 29 November 2006 13:55, Dan Mahoney, System Admin wrote:
 Hey all, the ipfw man page says rules can be deleted individually or in
 groups, but I don't see (other than the sets) an easy way to craft
 deletion of rules in a range (for example, 500-550).

 As the system I'm using crafts client rules by client numbers, this is a
 kinda useful feature, is it available somewhere?

 -Dan

 --

 There is no right and wrong, there is only fun and boring.

 -Fisher Stevens, Hackers

 Dan Mahoney
 Techie,  Sysadmin,  WebGeek
 Gushi on efnet/undernet IRC
 ICQ: 13735144   AIM: LarpGM
 Site:  http://www.gushi.org
 ---

 ___
Whoops!

I see that you *can* delete multiple rules like this:

ipfw delete 5150 5200 5300

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


Re: IPFW: delete range of rules?

2006-11-29 Thread Dan Nelson
In the last episode (Nov 29), Dan Mahoney, System Admin said:
 Hey all, the ipfw man page says rules can be deleted individually or
 in groups, but I don't see (other than the sets) an easy way to craft
 deletion of rules in a range (for example, 500-550).

You could expand the rules before calling ipfw:

  ipfw delete $(jot - 500 550 1)

or, if you use zsh:

  ipfw delete {500..550}

It would also be possible to extend the ipfw 'delete' rule parser to
handle ranges.

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


mouse ??

2006-11-29 Thread Reginaldo Tavares

Hello,

Do you know if an optical mouse works with 6.1 kernel ?

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


Re: mouse ??

2006-11-29 Thread Bill Moran
In response to Reginaldo Tavares [EMAIL PROTECTED]:

 Hello,
 
 Do you know if an optical mouse works with 6.1 kernel ?

I'm using a Dell optical with a 6.1 kernel on this workstation right
now.

It's much more likely that either your moused or your X config has
some mistakes in it.  I'm sure if you provide some details that folks
will be able to assist.

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


Re: mouse ??

2006-11-29 Thread Javier Henderson


On Nov 29, 2006, at 3:58 PM, Reginaldo Tavares wrote:


Do you know if an optical mouse works with 6.1 kernel ?


I've a variety of optical mice here, all of which seem to work with  
6.1-RELEASE (Microsoft, Logitech, no-branders, etc)


-jav


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


Re: mouse ??

2006-11-29 Thread [EMAIL PROTECTED]

On 11/29/06, Reginaldo Tavares [EMAIL PROTECTED] wrote:

Hello,

Do you know if an optical mouse works with 6.1 kernel ?



Any particular optical mouse, or optical mouses
in general?

The opticalness of it tends to be rather protocol
neutral.

Short answer: usually.

Slightly longer answer: for me, not if I am trying to
use a ps2 - serial adapter, otherwise always.

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


Re: Using Screen

2006-11-29 Thread RW
On Wednesday 29 November 2006 17:22, Dan Sikorsky wrote:
 Hey, I have a good question for you guys.

 Lets say, I started a job on a computer, if you must know, portmanager -u ,
 and then left... but I know its sitting there stuck on a config window
 waiting for someone to press enter...

As far as the specific problem is concerned, I run the script below, and then 
set BATCH=yes in the environment (so it's picked up by deinstall scripts).



#!/bin/sh

plist=`pkg_version -ovl'' |awk '{ print $1 }'`

for porg in $plist ; do
cd  /usr/ports/${porg}  make config-recursive
done



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


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Micah

Matthew Seaman wrote:

Dino Vliet wrote:


I'm almost ashamed to ask this BUT I really don't know
how to find the packages which depend upon a
particular port.


pkg_info -R port-name-\*

(-r does the inverse, packages on which port-name depends)

Cheers,

Matthew



Also, if you're into gui things, gpkgdep is pretty handy as it will show 
you the whole dependency tree rather than just the first level dependencies.


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


Re: Real-time command history sharing between interactive shells

2006-11-29 Thread Jan Grant
On Wed, 29 Nov 2006, Andrew Pantyukhin wrote:

 I want to be able to define groups of interactive
 shells (preferably even across different users)
 so they have one single shared command history.
 Any command executed in one of them should be
 available through all history mechanisms in the
 other ones.
 
 I imagine some ways to do it in tcsh. I'm sure
 many users would like this kind of functionality,
 maybe some of them have already implemented it?

zsh is a pretty good interactive shell (it finally weaned me off tcsh), 
as well as supporting a full range of redirection and control 
constructs. You should look at that, in particular the
set -o sharehistory
option (which does half of what you're after).

Combine this with a shared .history file and you should get the effect 
you're after.

-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
Whenever I see a dog salivate I get an insatiable urge to ring a bell.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: packages ports and portupgrade

2006-11-29 Thread [EMAIL PROTECTED]

On 11/29/06, Brian [EMAIL PROTECTED] wrote:

Is there a difference in allocation of package building resources
between v5 and v6 stable versions?

I use both a v5 and v6 stable box.  The v6 box is paid attention to a
lot more closely, the v5 box is a once in awhile test machine.  I
noticed yesterday that portupgrade -aP on the v5 box led to most of the
updates happening via package, whereas the v6 box is building most of
them via ports.


There are 5.5 packages and (are) not 6.2 packages built for
those ports?

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


Re: Real-time command history sharing between interactive shells

2006-11-29 Thread Andrew Pantyukhin

On 11/30/06, Jan Grant [EMAIL PROTECTED] wrote:

On Wed, 29 Nov 2006, Andrew Pantyukhin wrote:

 I want to be able to define groups of interactive
 shells (preferably even across different users)
 so they have one single shared command history.
 Any command executed in one of them should be
 available through all history mechanisms in the
 other ones.

 I imagine some ways to do it in tcsh. I'm sure
 many users would like this kind of functionality,
 maybe some of them have already implemented it?

zsh is a pretty good interactive shell (it finally weaned me off tcsh),
as well as supporting a full range of redirection and control
constructs. You should look at that, in particular the
set -o sharehistory
option (which does half of what you're after).

Combine this with a shared .history file and you should get the effect
you're after.


I think, I'll follow your advice. It's high time I forgot about
csh, but I wonder if you tried to change root's shell to zsh?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg: How to change background?

2006-11-29 Thread [EMAIL PROTECTED]

On 11/29/06, Lowell Gilbert [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] writes:

 Can Xorg show another background than grey grid, for example black screen?

Sure.  Try xsetroot(1).


Also try installing graphics/xv (xv -root -quit image_file.png)
Or installing x11/eterm will give you the Esetroot command,
And installing x11-wm/blackbox will give you the bsetroot
command.
Probably there are dozens or scores of other ways (firefox
tells me it has the capability, though I have not tried it) but
xsetroot is a good start, and has the advantage of coming
with the xorg 6.9 distribution.

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


Re: Real-time command history sharing between interactive shells

2006-11-29 Thread Chuck Swiger

On Nov 29, 2006, at 1:51 PM, Andrew Pantyukhin wrote:
zsh is a pretty good interactive shell (it finally weaned me off  
tcsh),

as well as supporting a full range of redirection and control
constructs. You should look at that, in particular the
set -o sharehistory
option (which does half of what you're after).

Combine this with a shared .history file and you should get the  
effect

you're after.


I think, I'll follow your advice. It's high time I forgot about
csh, but I wonder if you tried to change root's shell to zsh?


ZSH is a remarkably good choice for a shell.  It's as compatible with  
standard Bourne shell scripts as Bash is, only it also supports some  
nice options to help people familiar with CSH make the transition  
(ie, providing mechanisms to convert setenv to export and so forth).


It works fine as root's shell, although I would encourage you to make  
sure that your toor account still works with /bin/sh, especially if / 
usr/local is on a different filesystem.


--
-Chuck

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


Re: Removing modules from the Userland

2006-11-29 Thread [EMAIL PROTECTED]

On 11/29/06, Nadow [EMAIL PROTECTED] wrote:

Hi! I installed the 6.2-RC1 version but now I have decided to remove
the profiled libraries and I know that for that purpose I have to add
the line NO_PROFILE= to the make.conf before the make world
action.

My doubt is if I reinstall or upgrade the Userland without this option
or anyone (let's say Kerberos, Sendmail.. etc) that I have already
installed, these options are going to be removed, or simply are not
going to be upgraded and/or reinstalled again.


Assuming I have read you correctly, when you put
NO_PROFILE=
NO_SENDMAIL=
et al
into you /etc/make.conf that buildworld (and by extension
installworld) skip over these, leaving the old versions
untouched.  For example, as I have many of those set
in /etc/make.conf ls -l /usr/sbin gives me in part:

-r-xr-xr-x  1 root  wheel  35884 Nov 21 22:25 mtree
-r-xr-xr-x  2 root  wheel1359316 Feb  1  2006 named
-r-xr-xr-x  1 root  wheel1060104 Feb  1  2006 named-checkconf
-r-xr-xr-x  1 root  wheel1011336 Feb  1  2006 named-checkzone
-r-xr-xr-x  2 root  wheel   1738 Feb  1  2006 named.reconfig
-r-xr-xr-x  2 root  wheel   1738 Feb  1  2006 named.reload
-r-xr-xr-x  1 root  wheel   6688 Nov 21 22:26 ndis_events

Where you can see that, although I have rebuilt world as of
21 Nov, since I have NO_BIND= set, the /usr/sbin/named*
has not been touched since 01 Feb.  I suppose they could be
deleted, but AFIK the buildworld/installworld cycle will not do
this for you.

On the other hand, if you are not cramped for space they do
(generally) no harm.

On the gripping hand, a malicious user might be able to start
up and then exploit known bugs in those services, so you may
be better off either upgrading to known good versions or
deleting them.

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


What Did I Do To My Server?!

2006-11-29 Thread Rachel Florentine
75Hi;
I thought I'd backup the working drive of my server to my new .5 teraflop HD. 
When I tried, something went haywire. It deleted the most important parts of my 
Zope installations (which are backed up) but now I can't install Zope. It 
throws strange errors. What could have happened? How do I troubleshoot this? 
Been at it 10 hours today...no luck.
Rachel




 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.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]


Suggested Books Guides on small bisiness LAN with FreeBSD

2006-11-29 Thread wmc20
Hi Guys,

I'm looking for advice or suggestions on how to [re]design a small business 
network with FreeBSD.  I know that's a pretty broad topic -- I'm not looking 
for a simple answer, so much as reference materials.

Background:  for over 5 years we've had our business running with a few FreeBSD 
servers.  An external Internet connected box serves smtp, imap, http, ftp, dns 
(external and LAN internal) and http-proxy.  Another server (on LAN behind NAT 
router) has Samba file  print services, lpd and some other things.

I guess what I'm looking for is best practice suggestions for configuring all 
this optimally.  Problems we have currently include DNS -- if the Internet 
connection goes down, the server chokes, and we can't even get internal DNS.  
And security issues, eg:  should the email accounts reside on an 
Internet-exposed server?

O'Reilly sells Windows to Linux Migration Toolkit which sounds like some of 
what I'm looking for, except that it's for Linux -- but I've dabbled with that 
kludge enough to probably apply the concepts to FreeBSD  ;)  Any other 
suggestions on good books, web sites, etc?

  -Wayne B.


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


Re: Real-time command history sharing between interactive shells

2006-11-29 Thread Jan Grant
On Thu, 30 Nov 2006, Andrew Pantyukhin wrote:

 I think, I'll follow your advice. It's high time I forgot about
 csh, but I wonder if you tried to change root's shell to zsh?

You can; I haven't. (exec zsh is simple to type.) sudo works well for 
single commands. I don't tend to spend much time as root, but that's a 
question of personal taste.

Cheers,
jan

-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
Spreadsheet through network. Oh yeah.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing modules from the Userland

2006-11-29 Thread Joe Holden
[EMAIL PROTECTED] wrote:
 On 11/29/06, Nadow [EMAIL PROTECTED] wrote:
 Hi! I installed the 6.2-RC1 version but now I have decided to remove
 the profiled libraries and I know that for that purpose I have to add
 the line NO_PROFILE= to the make.conf before the make world
 action.

 My doubt is if I reinstall or upgrade the Userland without this option
 or anyone (let's say Kerberos, Sendmail.. etc) that I have already
 installed, these options are going to be removed, or simply are not
 going to be upgraded and/or reinstalled again.
 
 Assuming I have read you correctly, when you put
 NO_PROFILE=
 NO_SENDMAIL=
 et al
 into you /etc/make.conf that buildworld (and by extension
 installworld) skip over these, leaving the old versions
 untouched.  For example, as I have many of those set
 in /etc/make.conf ls -l /usr/sbin gives me in part:
 
 -r-xr-xr-x  1 root  wheel  35884 Nov 21 22:25 mtree
 -r-xr-xr-x  2 root  wheel1359316 Feb  1  2006 named
 -r-xr-xr-x  1 root  wheel1060104 Feb  1  2006 named-checkconf
 -r-xr-xr-x  1 root  wheel1011336 Feb  1  2006 named-checkzone
 -r-xr-xr-x  2 root  wheel   1738 Feb  1  2006 named.reconfig
 -r-xr-xr-x  2 root  wheel   1738 Feb  1  2006 named.reload
 -r-xr-xr-x  1 root  wheel   6688 Nov 21 22:26 ndis_events
 
 Where you can see that, although I have rebuilt world as of
 21 Nov, since I have NO_BIND= set, the /usr/sbin/named*
 has not been touched since 01 Feb.  I suppose they could be
 deleted, but AFIK the buildworld/installworld cycle will not do
 this for you.
 
 On the other hand, if you are not cramped for space they do
 (generally) no harm.
 
 On the gripping hand, a malicious user might be able to start
 up and then exploit known bugs in those services, so you may
 be better off either upgrading to known good versions or
 deleting them.
 
Perhaps someone could write a script/something to generate a diff
between buildworld and installed libs for this purpose?

Just a thought as I also have alot of flags like that in make.conf

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


Re: Real-time command history sharing between interactive shells

2006-11-29 Thread Andrew Pantyukhin

On 11/30/06, Jan Grant [EMAIL PROTECTED] wrote:

On Thu, 30 Nov 2006, Andrew Pantyukhin wrote:
 I think, I'll follow your advice. It's high time I forgot about
 csh, but I wonder if you tried to change root's shell to zsh?

You can; I haven't. (exec zsh is simple to type.) sudo works well for
single commands. I don't tend to spend much time as root, but that's a
question of personal taste.


Thanks again, I'll plow through zsh manuals.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


corrupt my ports

2006-11-29 Thread Albert Shih
Hi all

After my FreeBSD box crash (hardware pb) many of my /var/db/ports/* is
corrupt. When I use 

pkg_info |grep cor

I got :

pkg_info: the package info for package 'apache-ant-1.6.5_2' is corrupt
pkg_info: the package info for package 'avahi-0.6.15' is corrupt
pkg_info: the package info for package 'ffmpeg-devel-0.4.9.c.2006032300_4' is 
corrupt
pkg_info: the package info for package 'firefox-2.0_2,1' is corrupt
pkg_info: the package info for package 'fr-openoffice.org-2.0.4' is corrupt
pkg_info: the package info for package 'gail-1.9.3' is corrupt
pkg_info: the package info for package 'gaim-1.5.0_8' is corrupt
pkg_info: the package info for package 'gconf2-2.16.0' is corrupt
pkg_info: the package info for package 'gimp-2.2.13_2,1' is corrupt
pkg_info: the package info for package 'gnome-vfs-2.16.2_1' is corrupt
pkg_info: the package info for package 'gtk-2.10.6_2' is corrupt
pkg_info: the package info for package 'gtk-engines2-2.8.1' is corrupt
pkg_info: the package info for package 'gtkspell-2.0.11_4' is corrupt
pkg_info: the package info for package 'jdk-1.5.0p3_5' is corrupt
pkg_info: the package info for package 'libglade2-2.6.0_2' is corrupt
pkg_info: the package info for package 'libgnomecanvas-2.14.0_2' is corrupt
pkg_info: the package info for package 'libgsf-1.14.3' is corrupt
pkg_info: the package info for package 'libgtkhtml-2.11.0_2' is corrupt
pkg_info: the package info for package 'librsvg2-2.16.1' is corrupt
pkg_info: the package info for package 'mozilla-1.7.13_1,2' is corrupt
pkg_info: the package info for package 'mplayer-0.99.8_5' is corrupt
pkg_info: the package info for package 'py24-gtk-2.10.3' is corrupt
pkg_info: the package info for package 'thunderbird-1.5.0.8' is corrupt
pkg_info: the package info for package 'vlc-0.8.5_7' is corrupt
pkg_info: the package info for package 'wireshark-0.99.4' is corrupt
pkg_info: the package info for package 'wxgtk2-2.6.3' is corrupt
pkg_info: the package info for package 'wxgtk2-common-2.6.3' is corrupt
pkg_info: the package info for package 'x264-0.0.20061030' is corrupt

what can I do to fix this (I can make a re-install but...)

Regards.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Wed Nov 29 23:27:51 CET 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What Did I Do To My Server?!

2006-11-29 Thread [EMAIL PROTECTED]

On 11/29/06, Rachel Florentine [EMAIL PROTECTED] wrote:

75Hi;
I thought I'd backup the working drive of my server to my new .5 teraflop HD. 
When I tried, something went haywire. It deleted the most important parts of my 
Zope installations (which are backed up) but now I can't install Zope. It 
throws strange errors. What could have happened? How do I troubleshoot this? 
Been at it 10 hours today...no luck.



Could you please show the actual out-put when zope fails
to install?

Even better might be to know what commands you issued
and the output of your failed backup, which might let on
what is actually wrong, since simple pax/tar/dump operations
rarely (never) go haywire for _no_ reason.

At a guess, you still have zope listed in /var/db/pkg and need
to make deinstall or pkg_delete before you can reinstall it.

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


Re: Suggested Books Guides on small bisiness LAN with FreeBSD

2006-11-29 Thread Derek Ragona
You can make your FreeBSD servers your DNS servers and configure them to 
look upsteam to your ISP's DNS servers for servers not known.


I prefer to buy and use printers with built-in networking that support PCL 
and Postscript.  So clients can just send jobs to those printers directly.


-Derek



At 02:52 PM 11/29/2006, [EMAIL PROTECTED] wrote:

Hi Guys,

I'm looking for advice or suggestions on how to [re]design a small 
business network with FreeBSD.  I know that's a pretty broad topic -- I'm 
not looking for a simple answer, so much as reference materials.


Background:  for over 5 years we've had our business running with a few 
FreeBSD servers.  An external Internet connected box serves smtp, imap, 
http, ftp, dns (external and LAN internal) and http-proxy.  Another server 
(on LAN behind NAT router) has Samba file  print services, lpd and some 
other things.


I guess what I'm looking for is best practice suggestions for 
configuring all this optimally.  Problems we have currently include DNS -- 
if the Internet connection goes down, the server chokes, and we can't even 
get internal DNS.  And security issues, eg:  should the email accounts 
reside on an Internet-exposed server?


O'Reilly sells Windows to Linux Migration Toolkit which sounds like some 
of what I'm looking for, except that it's for Linux -- but I've dabbled 
with that kludge enough to probably apply the concepts to FreeBSD  ;)  Any 
other suggestions on good books, web sites, etc?


  -Wayne B.


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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Spam prevention

2006-11-29 Thread Ian Lord

Hi,

I would like to setup a mail server with postfix and sendmail...

To fight spam, is spamassassin the best choice or should I look into
something else ?

Thanks


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


Re: What Did I Do To My Server?!

2006-11-29 Thread Rachel Florentine
- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]


 Could you please show the actual out-put when zope fails
 to install?

It's long. I'll put it at the end.

 Even better might be to know what commands you issued
 and the output of your failed backup, which might let on
 what is actually wrong, since simple pax/tar/dump operations
 rarely (never) go haywire for _no_ reason.

cp -R /* /ad2

 At a guess, you still have zope listed in /var/db/pkg and need
 to make deinstall or pkg_delete before you can reinstall it.

I tried everything I could think of...that and a whole lot more. I got my 
clients' sites up and running, thank goodness, but now I'm trying to get my 
site up (on another instance). Here's the error, and I don't understand it, 
because there is no Data.fs.lock and the permissions should be just fine 
(always worked before, same permissions as the other instance, same 
effective-user):

Traceback (most recent call last):
  File /usr/local/zope/278/lib/python/Zope/Startup/run.py, line 50, in ?
run()
  File /usr/local/zope/278/lib/python/Zope/Startup/run.py, line 19, in run
start_zope(opts.configroot)
  File /usr/local/zope/278/lib/python/Zope/Startup/__init__.py, line 52, in 
start_zope
starter.startZope()
  File /usr/local/zope/278/lib/python/Zope/Startup/__init__.py, line 231, in 
startZope
Zope.startup()
  File /usr/local/zope/278/lib/python/Zope/__init__.py, line 47, in startup
_startup()
  File /usr/local/zope/278/lib/python/Zope/App/startup.py, line 57, in startup
DB = configuration.dbtab.getDatabase('/', is_root=1)
  File /usr/local/zope/278/lib/python/DBTab/DBTab.py, line 96, in getDatabase
db = self._createDatabase(name, is_root)
  File /usr/local/zope/278/lib/python/DBTab/DBTab.py, line 113, in 
_createDatabase
db = factory.open()
  File /usr/local/zope/278/lib/python/Zope/Startup/datatypes.py, line 175, in 
open
DB = self.createDB()
  File /usr/local/zope/278/lib/python/Zope/Startup/datatypes.py, line 172, in 
createDB
return ZODBDatabase.open(self)
  File /usr/local/zope/278/lib/python/ZODB/config.py, line 97, in open
return ZODB.DB(section.storage.open(),
  File /usr/local/zope/278/lib/python/ZODB/config.py, line 128, in open
quota=self.config.quota)
  File /usr/local/zope/278/lib/python/ZODB/FileStorage.py, line 227, in 
__init__
self._lock_file = LockFile(file_name + '.lock')
  File /usr/local/zope/278/lib/python/ZODB/lock_file.py, line 60, in __init__
self._fp = open(path, 'w+')
IOError: [Errno 13] Permission denied: 
'/usr/local/zope/instance2/var/Data.fs.lock'


 

Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spam prevention

2006-11-29 Thread Derek Ragona

I use spamassassin and it works well with sendmail.

-Derek


At 05:53 PM 11/29/2006, Ian Lord wrote:


Hi,

I would like to setup a mail server with postfix and sendmail...

To fight spam, is spamassassin the best choice or should I look into
something else ?

Thanks


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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Spam prevention

2006-11-29 Thread Eric

Ian Lord wrote:

Hi,

I would like to setup a mail server with postfix and sendmail...

To fight spam, is spamassassin the best choice or should I look into
something else ?

Thanks

  

why postfix AND sendmail? you do not need both. just use postfix

i recommend postgrey and amavisd. you can use spamassassin and clamav 
with amavisd. it rocks

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


Re: Spam prevention

2006-11-29 Thread Kurt Buff

Sorry, this didn't make it back to the list, so I'm sending again...


Hi,


Howdy.


I would like to setup a mail server with postfix and sendmail...


One or the other, not both. I'm partial to postifx myself, as I find
it much easier to set up and administer.


To fight spam, is spamassassin the best choice or should I look into
something else ?


SpamAssassin is what I use, along with ClamAV and  Amavisd-new. I'll
be adding Maia Mailguard into the mix in the next iteration of the
machine.

You don't specify anything about your environment, so it's hard to
give much more advice. However, I can make one very good
recommendation:

The Book of Postfix, by Hildebrandt and Koetter

http://www.bookpool.com/sm/1593270011


Thanks


You're welcome.

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


Re: Suggested Books Guides on small bisiness LAN with FreeBSD

2006-11-29 Thread Per olof Ljungmark

[EMAIL PROTECTED] wrote:

Hi Guys,

I'm looking for advice or suggestions on how to [re]design a small
business network with FreeBSD.  I know that's a pretty broad topic --
I'm not looking for a simple answer, so much as reference materials.

Background:  for over 5 years we've had our business running with a
few FreeBSD servers.  An external Internet connected box serves smtp,
imap, http, ftp, dns (external and LAN internal) and http-proxy.
Another server (on LAN behind NAT router) has Samba file  print
services, lpd and some other things.

I guess what I'm looking for is best practice suggestions for
configuring all this optimally.  Problems we have currently include
DNS -- if the Internet connection goes down, the server chokes, and
we can't even get internal DNS.  And security issues, eg:  should the
email accounts reside on an Internet-exposed server?

O'Reilly sells Windows to Linux Migration Toolkit which sounds like
some of what I'm looking for, except that it's for Linux -- but I've
dabbled with that kludge enough to probably apply the concepts to
FreeBSD  ;)  Any other suggestions on good books, web sites, etc?


Hi.

A book that covers both the OS and the services into real detail would 
be like a a few thousand pages - there is no such thing. For DNS, you 
need  the Cricket Book (DNS and BIND), for other services you need other 
books. However, a combination of the FreeBSD handbook and the usually 
excellent man pages takes you a long way!


For the mail server, if you need connectivity from outside, yes, you 
need to expose it, if not, mail can just be routed to the insisde. 
Properly set up there should not be a problem exposing it though - most 
mail servers are built to do just that. As the administrator it's your 
obligation to keep the stuff updated so that any security holes are 
fixed before too late.


Just my SEK0.02

Per olof

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


Re: Spam prevention

2006-11-29 Thread Josh Tolbert
On Wed, Nov 29, 2006 at 06:53:36PM -0500, Ian Lord wrote:
 
 Hi,
 
 I would like to setup a mail server with postfix and sendmail...
 
 To fight spam, is spamassassin the best choice or should I look into
 something else ?
 
 Thanks

I'm using sendmail and imap-uw. I am using greylisting (milter-greylist) and
virus-filtering (clamav with clamav-milter) in sendmail, plus I have
spamassassin available to the users via procmail (which is set as sendmail's
LDA). This setup works very well for my users.

Setting this stuff up in sendmail is also a good time to set up SSL/TLS and
SMTP AUTH. :)

Good luck,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Suggested Books Guides on small bisiness LAN with FreeBSD

2006-11-29 Thread Lane
On Wednesday 29 November 2006 14:52, [EMAIL PROTECTED] wrote:
 Hi Guys,

 I'm looking for advice or suggestions on how to [re]design a small business
 network with FreeBSD.  I know that's a pretty broad topic -- I'm not
 looking for a simple answer, so much as reference materials.

 Background:  for over 5 years we've had our business running with a few
 FreeBSD servers.  An external Internet connected box serves smtp, imap,
 http, ftp, dns (external and LAN internal) and http-proxy.  Another server
 (on LAN behind NAT router) has Samba file  print services, lpd and some
 other things.

 I guess what I'm looking for is best practice suggestions for configuring
 all this optimally.  Problems we have currently include DNS -- if the
 Internet connection goes down, the server chokes, and we can't even get
 internal DNS.  And security issues, eg:  should the email accounts reside
 on an Internet-exposed server?

 O'Reilly sells Windows to Linux Migration Toolkit which sounds like some
 of what I'm looking for, except that it's for Linux -- but I've dabbled
 with that kludge enough to probably apply the concepts to FreeBSD  ;)  Any
 other suggestions on good books, web sites, etc?

   -Wayne B.


Wayne,

If you've been using FreeBSD in production for five years, you are probably 
well beyond any O'Reilley offering, imho.

We can all benefit by (yet) another look at man topic, and that's probably 
gonna be your most productive resource, since it will allow you to address 
your specific issues without having to read any ol' dumbed-down version of 
the documentation :)

As for DNS issues, my thought is that if your external DNS server works then 
leave it alone and implement a separate internal DNS server to handle your 
internal traffic.  Just start with the same configuration you have on 
external and tweak it as needed.  It doesn't have to be authoritative.  Also 
you are likely also running DHCP, which I'd recommend you move from your 
external DNS server to the new internal DNS server (if that is your current 
setup).

Usually 2 cents, but free for you!

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


Re: What Did I Do To My Server?!

2006-11-29 Thread Rachel Florentine
828282- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]

I just tried substituting the Data.fs from the instance that has the problem 
into the instance that is now working and got a new error:

Traceback (most recent call last):
  File /usr/local/zope/278/lib/python/Zope/Startup/run.py, line 50, in ?
run()
  File /usr/local/zope/278/lib/python/Zope/Startup/run.py, line 19, in run
start_zope(opts.configroot)
  File /usr/local/zope/278/lib/python/Zope/Startup/__init__.py, line 52, in 
start_zope
starter.startZope()
  File /usr/local/zope/278/lib/python/Zope/Startup/__init__.py, line 231, in 
startZope
Zope.startup()
  File /usr/local/zope/278/lib/python/Zope/__init__.py, line 47, in startup
_startup()
  File /usr/local/zope/278/lib/python/Zope/App/startup.py, line 57, in startup
DB = configuration.dbtab.getDatabase('/', is_root=1)
  File /usr/local/zope/278/lib/python/DBTab/DBTab.py, line 96, in getDatabase
db = self._createDatabase(name, is_root)
  File /usr/local/zope/278/lib/python/DBTab/DBTab.py, line 113, in 
_createDatabase
db = factory.open()
  File /usr/local/zope/278/lib/python/Zope/Startup/datatypes.py, line 175, in 
open
DB = self.createDB()
  File /usr/local/zope/278/lib/python/Zope/Startup/datatypes.py, line 172, in 
createDB
return ZODBDatabase.open(self)
  File /usr/local/zope/278/lib/python/ZODB/config.py, line 97, in open
return ZODB.DB(section.storage.open(),
  File /usr/local/zope/278/lib/python/ZODB/config.py, line 128, in open
quota=self.config.quota)
  File /usr/local/zope/278/lib/python/ZODB/FileStorage.py, line 283, in 
__init__
read_only=read_only,
  File /usr/local/zope/278/lib/python/ZODB/FileStorage.py, line 1841, in 
read_index
raise FileStorageFormatError, name
ZODB.FileStorage.FileStorageFormatError: /usr/local/zope/instance1/var/Data.fs

Now, how could my backup be corrupted when it was working fine before and after 
backing up?
Rachel





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.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]


Apache running problems...

2006-11-29 Thread Phillip Neiswanger

Hi,

I recently downloaded and installed the Apache 2.2.3 package on a  
semi-stock installation of FreeBSD 6.1.  When I attempt to run it I get  
the following error message.


blah httpd
/libexec/ld-elf.so.1: /usr/local/lib/libapr-1.so.2: Undefined symbol  
__h_errno


What gives?  Isn't that symbol normally in libc?  I'll be rebuilding from  
source if noone offers an alternative.  Here's some additional information.


Running ldd against httpd I get:

blah ldd /usr/local/sbin/httpd
/usr/local/sbin/httpd:
libm.so.4 = /lib/libm.so.4 (0x280bf000)
libaprutil-1.so.2 = /usr/local/lib/libaprutil-1.so.2 (0x280d5000)
libexpat.so.6 = /usr/local/lib/libexpat.so.6 (0x280e9000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28107000)
libapr-1.so.2 = /usr/local/lib/libapr-1.so.2 (0x281f4000)
libcrypt.so.3 = /lib/libcrypt.so.3 (0x28214000)
libpthread.so.2 = /usr/lib/libpthread.so.2 (0x2822c000)
libc.so.6 = /lib/libc.so.6 (0x28251000)

The output from ldconfig is as follows.

blah ldconfig -r
/var/run/ld-elf.so.hints:
search directories:  
/lib:/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/compat:/usr/local/lib/mysql:/usr/X11R6/lib/evolution/2.6:/usr/local/lib/gcc/i386-portbld-freebsd6.1/3.4.6

0:-lcrypt.3 = /lib/libcrypt.so.3
1:-lkvm.3 = /lib/libkvm.so.3
2:-lm.4 = /lib/libm.so.4
3:-lmd.3 = /lib/libmd.so.3
4:-lncurses.6 = /lib/libncurses.so.6
5:-lsbuf.3 = /lib/libsbuf.so.3
6:-lutil.5 = /lib/libutil.so.5
7:-lalias.5 = /lib/libalias.so.5
8:-latm.3 = /lib/libatm.so.3
9:-lbegemot.2 = /lib/libbegemot.so.2
10:-lbsnmp.3 = /lib/libbsnmp.so.3
11:-lc.6 = /lib/libc.so.6
12:-lcam.3 = /lib/libcam.so.3
13:-ldevstat.5 = /lib/libdevstat.so.5
14:-ledit.5 = /lib/libedit.so.5
15:-lbsdxml.2 = /lib/libbsdxml.so.2
16:-lgeom.3 = /lib/libgeom.so.3
17:-lgpib.1 = /lib/libgpib.so.1
18:-lipsec.2 = /lib/libipsec.so.2
19:-lipx.3 = /lib/libipx.so.3
20:-lufs.3 = /lib/libufs.so.3
21:-lkiconv.2 = /lib/libkiconv.so.2
22:-lz.3 = /lib/libz.so.3
23:-lreadline.6 = /lib/libreadline.so.6
24:-lcrypto.4 = /lib/libcrypto.so.4
25:-lcom_err.3 = /usr/lib/libcom_err.so.3
26:-lnetgraph.2 = /usr/lib/libnetgraph.so.2
27:-lradius.2 = /usr/lib/libradius.so.2
28:-lrpcsvc.3 = /usr/lib/librpcsvc.so.3
29:-ltacplus.2 = /usr/lib/libtacplus.so.2
30:-lypclnt.2 = /usr/lib/libypclnt.so.2
31:-larchive.2 = /usr/lib/libarchive.so.2
32:-lbluetooth.2 = /usr/lib/libbluetooth.so.2
33:-lbz2.2 = /usr/lib/libbz2.so.2
34:-lc_r.6 = /usr/lib/libc_r.so.6
35:-lcalendar.3 = /usr/lib/libcalendar.so.3
36:-ldevinfo.3 = /usr/lib/libdevinfo.so.3
37:-lfetch.4 = /usr/lib/libfetch.so.4
38:-lform.3 = /usr/lib/libform.so.3
39:-lftpio.6 = /usr/lib/libftpio.so.6
40:-lmagic.2 = /usr/lib/libmagic.so.2
41:-lmemstat.1 = /usr/lib/libmemstat.so.1
42:-lmenu.3 = /usr/lib/libmenu.so.3
43:-lmilter.3 = /usr/lib/libmilter.so.3
44:-lmp.5 = /usr/lib/libmp.so.5
45:-lncp.2 = /usr/lib/libncp.so.2
46:-lngatm.2 = /usr/lib/libngatm.so.2
47:-lopie.4 = /usr/lib/libopie.so.4
48:-lpam.3 = /usr/lib/libpam.so.3
49:-lpanel.3 = /usr/lib/libpanel.so.3
50:-lpcap.4 = /usr/lib/libpcap.so.4
51:-lpmc.3 = /usr/lib/libpmc.so.3
52:-lpthread.2 = /usr/lib/libpthread.so.2
53:-lsdp.2 = /usr/lib/libsdp.so.2
54:-lsmb.2 = /usr/lib/libsmb.so.2
55:-lthr.2 = /usr/lib/libthr.so.2
56:-lthread_db.2 = /usr/lib/libthread_db.so.2
57:-lugidfw.2 = /usr/lib/libugidfw.so.2
58:-lusbhid.2 = /usr/lib/libusbhid.so.2
59:-lvgl.4 = /usr/lib/libvgl.so.4
60:-lwrap.4 = /usr/lib/libwrap.so.4
61:-llwres.10 = /usr/lib/liblwres.so.10
62:-ldialog.5 = /usr/lib/libdialog.so.5
63:-lgnuregex.3 = /usr/lib/libgnuregex.so.3
64:-lhistory.6 = /usr/lib/libhistory.so.6
65:-lstdc++.5 = /usr/lib/libstdc++.so.5
66:-lobjc.2 = /usr/lib/libobjc.so.2
67:-lg2c.2 = /usr/lib/libg2c.so.2
68:-lasn1.8 = /usr/lib/libasn1.so.8
69:-lgssapi.8 = /usr/lib/libgssapi.so.8
70:-lhdb.8 = /usr/lib/libhdb.so.8
71:-lkadm5clnt.8 = /usr/lib/libkadm5clnt.so.8
72:-lkadm5srv.8 = /usr/lib/libkadm5srv.so.8
73:-lkafs5.8 = /usr/lib/libkafs5.so.8
74:-lkrb5.8 = /usr/lib/libkrb5.so.8
75:-lroken.8 = /usr/lib/libroken.so.8
76:-lssl.4 = /usr/lib/libssl.so.4
77:-lssh.3 = /usr/lib/libssh.so.3
78:-lfontconfig.1 = /usr/X11R6/lib/libfontconfig.so.1
79:-lFS.6 = /usr/X11R6/lib/libFS.so.6
80:-lGL.1 = /usr/X11R6/lib/libGL.so.1
81:-lGLU.1 = /usr/X11R6/lib/libGLU.so.1
82:-lGLw.1 = 

Sun StorEdge Array

2006-11-29 Thread Robert Davison
Has anyone had any a go at getting a sun storedge disk array to work with 
FreeBSD. I've just brought one cheeply through eBay and see that there are 
specific sun software packages to run the units, but wasnt sure if you could 
simply connect via the SCSI port and mount.
 Send instant messages to your online friends http://uk.messenger.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: Spam prevention

2006-11-29 Thread Gerard Seibert
On Wednesday November 29, 2006 at 06:53:36 (PM) Ian Lord wrote:


 I would like to setup a mail server with postfix and sendmail...
 
 To fight spam, is spamassassin the best choice or should I look into
 something else ?

I use Postfix with MailScanner along with Clamav and SpamAssassin. There
are more exotic configurations available to you though.

BTW, you only need either Postfix or Sendmail. I definitely vote for
Postfix.

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


Re: Using Screen

2006-11-29 Thread Nadow

Content-Type: text/plain;  charset=iso-8859-1

On Wednesday 29 November 2006 17:22, Dan Sikorsky wrote:

Hey, I have a good question for you guys.

Lets say, I started a job on a computer, if you must know, portmanager -u ,
and then left... but I know its sitting there stuck on a config window
waiting for someone to press enter...


Even easier, use portmaster. The first thing that do when installs a
port is making recursive all the make config windows of the port and
dependencies. After you have chosen the options of the last config
menu, it will install all the stuff till the end without interruption
(except error of course).

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


Re: Using Screen

2006-11-29 Thread Eric

Nadow wrote:

Content-Type: text/plain;  charset=iso-8859-1

On Wednesday 29 November 2006 17:22, Dan Sikorsky wrote:

Hey, I have a good question for you guys.

Lets say, I started a job on a computer, if you must know, 
portmanager -u ,

and then left... but I know its sitting there stuck on a config window
waiting for someone to press enter...


Even easier, use portmaster. The first thing that do when installs a
port is making recursive all the make config windows of the port and
dependencies. After you have chosen the options of the last config
menu, it will install all the stuff till the end without interruption
(except error of course).

thats what i said in the second response to the OP! =) portmaster is great
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


degraded RAID performance after OS upgrade, and drives added.

2006-11-29 Thread Derrick MacPherson
We updated to 6.1 this weekend and added 3 300gb drives to the  
external raid cabinet, they were to go on a seprate controller but  
the server happens to have a few other boxes on top making it  
impossible at that time, so we put the 3x300  (RAID5) , upgraded the  
OS and  performance is very poor. When I run systat I see upward of  
300 tps on the problematic array (da2) and under systat -vmstat :


Disks   da0   da1   da2 pass0 pass1 pass2
KB/t 0.00  0.00 15.00  0.00  0.00  0.00
tps   0  0  341 0 0 0
MB/s   0.00  0.00  4.99  0.00  0.00  0.00
% busy0 095 0 0 0

the busy percentage is consistenly over 90% sometimes over 100%. I'm  
not sure where to go next with providing info for someone to look at  
or testing to run..


camcontrol devlist
COMPAQ RAID 1  VOLUME OK at scbus0 target 0 lun 0 (da0,pass0)
COMPAQ RAID 0  VOLUME OK at scbus0 target 1 lun 0 (da1,pass1)
COMPAQ RAID 5  VOLUME OK at scbus0 target 2 lun 0 (da2,pass2)

out of dmesg:

ciss0: Compaq Smart Array 5i port 0x3000-0x30ff mem  
0xf05c-0xf05f,0xf04f-0xf04f3fff irq 30 at device 3.0 on

pci1
ciss0: [GIANT-LOCKED]


da0 at ciss0 bus 0 target 0 lun 0
da0: COMPAQ RAID 1  VOLUME OK Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 140006MB (286734240 512 byte sectors: 255H 32S/T 35139C)
da1 at ciss0 bus 0 target 1 lun 0
da1: COMPAQ RAID 0  VOLUME OK Fixed Direct Access SCSI-0 device
da1: 135.168MB/s transfers
da1: 140006MB (286734240 512 byte sectors: 255H 32S/T 35139C)
da2 at ciss0 bus 0 target 2 lun 0
da2: COMPAQ RAID 5  VOLUME OK Fixed Direct Access SCSI-0 device
da2: 135.168MB/s transfers
da2: 572195MB (1171856412 512 byte sectors: 255H 63S/T 65535C)



dmesg
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.

FreeBSD 6.1-RELEASE-p10 #0: Sat Nov 25 15:52:17 PST 2006
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2786.87-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf25  Stepping = 5
   
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

  Features2=0x4400CNTX-ID,b14
  Logical CPUs per core: 2
real memory  = 2147459072 (2047 MB)
avail memory = 2096439296 (1999 MB)
ACPI APIC Table: COMPAQ 0083
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  6
cpu3 (AP): APIC ID:  7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-15 on motherboard
ioapic1 Version 1.1 irqs 16-31 on motherboard
ioapic2 Version 1.1 irqs 32-47 on motherboard
ioapic3 Version 1.1 irqs 48-63 on motherboard
kbd1 at kbdmux0
acpi0: COMPAQ P29 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 32-bit timer at 3.579545MHz port 0x920-0x923 on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
pci0: display, VGA at device 3.0 (no driver attached)
pci0: base peripheral at device 4.0 (no driver attached)
pci0: base peripheral at device 4.2 (no driver attached)
isab0: PCI-ISA bridge at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks CSB5 UDMA100 controller port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 15.1 on pci0

ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
ohci0: OHCI (generic) USB controller mem 0xeeef-0xeeef0fff irq  
7 at device 15.2 on pci0

ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: ACPI Host-PCI bridge on acpi0
pci1: ACPI PCI bus on pcib1
ciss0: Compaq Smart Array 5i port 0x3000-0x30ff mem  
0xf05c-0xf05f,0xf04f-0xf04f3fff irq 30 at device 3.0 on pci1

ciss0: [GIANT-LOCKED]
pcib2: ACPI Host-PCI bridge on acpi0
pci2: ACPI PCI bus on pcib2
bge0: Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002 mem  
0xf06f-0xf06f irq 29 at device 1.0 on pci2

miibus0: MII bus on bge0
brgphy0: BCM5703 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,  
1000baseTX-FDX, auto

bge0: Ethernet address: 00:11:0a:9e:2f:49
bge1: Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002 mem  
0xf06e-0xf06e irq 31 at device 2.0 on pci2

miibus1: MII bus on bge1
brgphy1: BCM5703 10/100/1000baseTX PHY on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,  
1000baseTX-FDX, auto

bge1: Ethernet address: 

Re: Spam prevention

2006-11-29 Thread Armin Arh
On Wed, Nov 29, 2006 at 06:53:36PM -0500, Ian Lord wrote:
 
 Hi,
 
 I would like to setup a mail server with postfix and sendmail...

exim + bogofilter doing their job here.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Parv
in message [EMAIL PROTECTED],
wrote Dino Vliet thusly...

 I'm almost ashamed to ask this BUT I really don't know how to find
 the packages which depend upon a particular port.

 In this case, a portversion -l  showed mysql-client in that
 list. I can't recall having installed it by myself

Did you install mysql-server with default options?  Actually, in
mysql51-server port, there is no option to disable install of the
client portion.


 I wanted to know what the packages are which depend on it. Can
 somebody show me this command..and if it will be a RTFM
 answer, please tell me which FM:-)

Here are some of the ways not requiring connection to Internet I
know ...

  - running make -V {LIB,RUN,BUILD}_DEPENDS in a port directory
also lists the appropriate type of dependency list, so would
running make pretty-print-{run,build}-depends-list;

  - pkg_info(1) w/ -[rR] options lists the dependencies for given
ports|packages;

  - ${PORTSDIR:-/usr/ports}/INDEX* lists dependencies for each port
(which may need post processing to be human readable);

  - sysutils/pkg_tree port creates text tree of the dependencies;


As for FM, see ...

  - pkg_info(1)  pkg_tree(7)  man pages;

  - ${PORTSDIR:-/usr/ports}/Mk/bsd.port.mk


  - Parv

-- 

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


Re: Spam prevention

2006-11-29 Thread Peter N. M. Hansteen
Ian Lord [EMAIL PROTECTED] writes:

 To fight spam, is spamassassin the best choice or should I look into
 something else ?

Spamassassin works.  If you have Microsoft machines in your setup, you
probably want clamav (antivirus) or similar as well.  And finally, do
look into running some sort of greylisting (possibly supplemented with
a tarpit for known bad senders).  

The greylisting/tarpitting part is really easy to do with PF, see eg
http://home.nuug.no/~peter/pf/en/spamd.html (part of my packet
filtering for fun and profit tutorial)

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Memory addressing ?

2006-11-29 Thread Frank Bonnet

Hello

I will receive in few days a new server and I wonder how much
memory FreeBSD is able to manage ? The processors (2) are Intel Xeon

Any infos/links welcome

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


RE: ssh over http

2006-11-29 Thread cbadescu
Hi,

  On 11/27/06, Ansar Mohammed [EMAIL PROTECTED] wrote:
   Hello All,
   Is there any ssh over http implementation available for freebsd?

If yout proxy supports CONNECT method for certain port (usually 443 is
open because is used for HTTPS), then you just need to have ssh listening
on your machine on that port and use 'proxytunnel'
http://proxytunnel.sourceforge.net/

Otherwise, you can still use HTTP tunneling, but you must start one
aplication where you want to use the client, and other where is the
server.
http://www.nocrew.org/software/httptunnel/

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