Can't login via SSH

2006-04-25 Thread Jose Borquez
I attempt to establish an ssh connection to a remote server and I get 
the following error:

ssh_exchange_identification: Connection closed by remote host

I have checked the hosts.allow file and Everything is allowed by 
default.  What else can I check?

Thanks in advance,
Jose

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


Re: DenyHosts Startup Script

2006-04-25 Thread Beech Rintoul
On Monday 24 April 2006 19:29, David Stanford wrote:
 Hello all,

 So I've recently just installed
 DenyHostshttp://denyhosts.sourceforge.net/on my FreeBSD
 6.1-RC box and can't, for the life of me, get this daemon to start on boot.
 I installed version 2.4b using the setup.py script. I'e moved
 daemon-control to /usr/local/bin and all configuration files from the
 default
 /usr/share/denyhosts directory to /usr/local/etc/denyhosts (including
 denyhosts.cfg). Here is what I've tried to get this to start at boot:

 1.) Created a simple script file called denyhosts.sh in
 /usr/local/etc/rc.d:

 #!/bin/sh

 /usr/local/bin/daemon-control start


 2.) Changed the previous denyhosts.sh script file to this:

 #!/bin/sh

 case $1 in
   start)
 /usr/local/bin/daemon-control start
 ;;
   stop)
 /usr/local/bin/daemon-control stop
 ;;
   *)
 echo Usage: $0 {start | stop}
 ;;
 esac

 exit 0

 3.) Created an /etc/rc.local using the same script from 1.):

 #!/bin/sh

 /usr/local/bin/daemon-control start

 For all of these attempts, I even chmod'd them all to 777, but still no
 good. I even changed both 1.) and 3.) to /usr/local/bin/daemon-control
 debug  ~/debug.output and though the debug.output file was created, there
 was no information in it. So now, 6 hours later (yes, 6 hours) of playing
 with this has me now desperate to find anyone who has this set to start on
 boot. Anyone?

 -David

I start mine from cron. Just put @reboot in place of the day and time settings 
and use the full path to the script (daemon-control.sh start). Works for me. 
See man 5 crontab

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpAvDJ9Vhjpz.pgp
Description: PGP signature


Re: DenyHosts Startup Script

2006-04-25 Thread David Stanford
Daniel,

Much thanks, you're the man! Actually, I initially installed it from ports
(ver. 2.2) and was having the same problem. I then went onto the DenyHosts
website and read the changelog for 2.3 which stated daemon-control-dist
should now behave correctly on FreeBSD systems. Of course this still didn't
help my problem. It seems to be a problem with running the daemon-control
script at boot time, although I have no clue what it is specifically.
/etc/crontab worked using:

@reboot root /usr/local/bin/denyhosts.py --daemon
--config=/usr/local/etc/denyhosts/denyhosts.cfg

But since I prefer keeping everything consistent, I now run it from my
/usr/local/etc/rc.d/denyhosts.sh which simply reads:

#!/bin/sh

/usr/local/bin/denyhosts.py --daemon
--config=/usr/local/etc/denyhosts/denyhosts.cfg

Looking at this now, I can't believe it never occurred to me to just run the
denyhosts.py file directly seeing as how daemon-control invokes it anyway.
But in any event, thanks for the help!

-David

On 4/25/06, Daniel A. [EMAIL PROTECTED] wrote:

 On 4/25/06, David Stanford [EMAIL PROTECTED] wrote:
  Hello all,
 
  So I've recently just installed
  DenyHostshttp://denyhosts.sourceforge.net/on my FreeBSD
  6.1-RC box and can't, for the life of me, get this daemon to start on
 boot.
  I installed version 2.4b using the setup.py script. I'e moved
 daemon-control
  to /usr/local/bin and all configuration files from the default
  /usr/share/denyhosts directory to /usr/local/etc/denyhosts (including
  denyhosts.cfg). Here is what I've tried to get this to start at boot:
 
  1.) Created a simple script file called denyhosts.sh in
 /usr/local/etc/rc.d:
 
  #!/bin/sh
 
  /usr/local/bin/daemon-control start
 
 
  2.) Changed the previous denyhosts.sh script file to this:
 
  #!/bin/sh
 
  case $1 in
start)
  /usr/local/bin/daemon-control start
  ;;
stop)
  /usr/local/bin/daemon-control stop
  ;;
*)
  echo Usage: $0 {start | stop}
  ;;
  esac
 
  exit 0
 
  3.) Created an /etc/rc.local using the same script from 1.):
 
  #!/bin/sh
 
  /usr/local/bin/daemon-control start
 
  For all of these attempts, I even chmod'd them all to 777, but still no
  good. I even changed both 1.) and 3.) to /usr/local/bin/daemon-control
  debug  ~/debug.output and though the debug.output file was created,
 there
  was no information in it. So now, 6 hours later (yes, 6 hours) of
 playing
  with this has me now desperate to find anyone who has this set to start
 on
  boot. Anyone?
 
  -David
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 Hi David,
 I suggest that you install DenyHosts from the ports collection, and
 then use a cronjob to start it.
 add to /etc/crontab:
 @reboot root /usr/local/bin/denyhosts.py --daemon -c
 /usr/local/etc/denyhosts.cfg

 Then your biggest concern is to configure denyhosts to your likings,
 which I guess you have done already ;)

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


Re: Help needed compiling printer source code

2006-04-25 Thread Malcolm Fitzgerald

I'm trying to install a Brother HL-1230 printer.




Did you also have a look at
http://linuxprinting.org/show_driver.cgi? 
driver=hl1250fromprinter=Brother-HL-1230

?
I think you might be lucky: they have got a .ppd file there for you  
(Brother-HL-1230-hl1250.ppd ). Download it, put it into

  /usr/local/share/cups/model/
restart cups by
# /usr/local/etc/rc.d/cupsd restart
and try setup on http://localhost:631



No luck! Downloaded and installed the PPD. Cups can see it. I've set up  
a printer.


location: lpt0
Printer State: idle, accepting jobs
device URI: parallel:/dev/lpt0

Printing the test page does not work, the job is aborted with error:  
client-error-not-possible


malcolm

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


Re: DenyHosts Startup Script

2006-04-25 Thread Daniel A.
On 4/25/06, David Stanford [EMAIL PROTECTED] wrote:
 Hello all,

 So I've recently just installed
 DenyHostshttp://denyhosts.sourceforge.net/on my FreeBSD
 6.1-RC box and can't, for the life of me, get this daemon to start on boot.
 I installed version 2.4b using the setup.py script. I'e moved daemon-control
 to /usr/local/bin and all configuration files from the default
 /usr/share/denyhosts directory to /usr/local/etc/denyhosts (including
 denyhosts.cfg). Here is what I've tried to get this to start at boot:

 1.) Created a simple script file called denyhosts.sh in /usr/local/etc/rc.d:

 #!/bin/sh

 /usr/local/bin/daemon-control start


 2.) Changed the previous denyhosts.sh script file to this:

 #!/bin/sh

 case $1 in
   start)
 /usr/local/bin/daemon-control start
 ;;
   stop)
 /usr/local/bin/daemon-control stop
 ;;
   *)
 echo Usage: $0 {start | stop}
 ;;
 esac

 exit 0

 3.) Created an /etc/rc.local using the same script from 1.):

 #!/bin/sh

 /usr/local/bin/daemon-control start

 For all of these attempts, I even chmod'd them all to 777, but still no
 good. I even changed both 1.) and 3.) to /usr/local/bin/daemon-control
 debug  ~/debug.output and though the debug.output file was created, there
 was no information in it. So now, 6 hours later (yes, 6 hours) of playing
 with this has me now desperate to find anyone who has this set to start on
 boot. Anyone?

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

Hi David,
I suggest that you install DenyHosts from the ports collection, and
then use a cronjob to start it.
add to /etc/crontab:
@reboot root /usr/local/bin/denyhosts.py --daemon -c
/usr/local/etc/denyhosts.cfg

Then your biggest concern is to configure denyhosts to your likings,
which I guess you have done already ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBsd

2006-04-25 Thread Suliman Alexandru
hello, i wanna buy a freebds wen possiblile is i wanna have a firma i cannot 
eng wen u romanian or italian, german cano please send me email whit more 
information. plese thanks

-
Yahoo! Mail SpamGuard -  Lesen Sie nur die Mails, die Sie auch wirklich lesen 
wollen. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd

2006-04-25 Thread Olivier Nicole
Try

http://www.de.freebsd.org/de/mailinglists.html for FreeBSD German
http://liste.gufi.org/ for FreeBSD Italian

I see no mailing list in Romanian

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


Re: Firefox::::: ugh.

2006-04-25 Thread Andrew Pantyukhin
On 4/25/06, Gary Kline [EMAIL PROTECTED] wrote:
 If firefox is supposedly superior to every other browser,
 why, when it sees a realplayer smil file, does it pop up
 a rectangle with radio-button  options and a BROWSE button?

 I press BROWSE and another frame opens.  I click on X11R6 and
 eventually get to bin, and there the only file I see is
 xauth.  ...CCan anybody 'splain this?

www/mplayer-plugin takes care of smil and many other
media files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PXE boot jumpstarting

2006-04-25 Thread Vahan Yerkanian
While we are on the subject, is it possible to setup a FreeBSD PXE 
server that lets you netboot different OSes from iso images via a boot 
menu? I know it's possible with linux [1] [2]. Could be useful in labs 
where you use different OSes and want to minimize cd/dvd clutter.


[1] http://linux-sxs.org/internet_serving/pxeboot.html
[2] http://dcs.nac.uci.edu/~strombrg/Setting_up_a_pxe_server.html

Cheers,
Vahan

Erik Nørgaard wrote:


It does, take a look at this:

  http://www.daemonsecurity.com/pub/pxeboot

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


Re: PXE boot jumpstarting

2006-04-25 Thread Matthias Fechner
Hello Erik,

* Erik Nrgaard [EMAIL PROTECTED] [25-04-06 00:19]:
   http://www.daemonsecurity.com/pub/pxeboot

is it possible, that the side is down?
I got always:
Connection to 81.33.11.59 Failed



Best regards,
Matthias


pgpyrSyWkH2in.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-25 Thread Daniel Bye
On Tue, Apr 25, 2006 at 09:42:44AM +0930, Ian Moore wrote:
 So to sum up, it's a problem with the way the ports system detects wether the 
 mysql-client port is installed that caused the problem (I thought it just 
 used the ports database), and/or it's a problem with the mysql-client port 
 not registering libmysqlclient.so ?

Using the ports database to determine if a particular piece of software
is installed is not terribly robust - what if you installed mysql
manually?  The ports system would know nothing about it, but you
certainly wouldn't want your manually built package to get clobbered
because of an apparently failed dependency.

Well, that's my take on it, any way.  I could be well off the mark.  ;-)

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpRmwiKJwCrm.pgp
Description: PGP signature


Re: Can't login via SSH

2006-04-25 Thread Daniel Bye
On Mon, Apr 24, 2006 at 11:28:58PM -0700, Jose Borquez wrote:
 I attempt to establish an ssh connection to a remote server and I get 
 the following error:
 ssh_exchange_identification: Connection closed by remote host
 
 I have checked the hosts.allow file and Everything is allowed by 
 default.  What else can I check?

Try running ssh with up to three -v flags to turn on and increase
verbosity.

If you have physical access to the server, you can also check out the 
/var/log/auth.log file to track down any clues.  Or try running the 
daemon with up to three -d flags to turn on and increase verbosity.
Note that in debug mode, the server does not detach from the terminal 
and will not fork so can only handle one incoming connection.

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpf9y8DjA1S5.pgp
Description: PGP signature


RE: ural driver , Belkin F5D7050 USB not working...

2006-04-25 Thread Harrison Peter CSA BIRKENHEAD
Message: 7
Date: Wed, 19 Apr 2006 10:45:52 -0700 (PDT)
From: Rakesh Prajapati [EMAIL PROTECTED]
Subject: ural driver , Belkin F5D7050  USB not working..
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

FreeBSD Version : 6.0 - RELEASE
Laptop: AMD 64 laptop
Wireless Adapter: Belkin F5D7050 Wireless G USB Network Adapter, 802.11g

I am trying to make the Belkin Adapter work on my Laptop but without any 
success.

As per the Handbook and other sources this adapter should work with ural 
driver and this device
should show as ural0 in my dmesg output but it does not instead it shows as 

ugen0: Belkin USB2.0 WLAN, rev 2.00/48.10, addr 2


I have recompiled the kernel with the following 

   device ehci
   device uhci
   device ohci
   device usb
   device ural
   device wlan

In fact the GENERIC kernel config had all these uncommented so I did not have 
to change it at all but I compiled it anyway by copying GENERIC to WIRELESS 
and then buildkernel and installkernel.

As per the Handbook I expect to see

# ifconfig -a
wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::202:2dff:fe2d:c938%wi0 prefixlen 64 scopeid 0x7
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 00:09:2d:2d:c9:50
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: no carrier
ssid 
stationname FreeBSD Wireless node
channel 10 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1

but my ifconfig -a lists

vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::203:25ff:fe10:8327%vr0 prefixlen 64 scopeid 0x1 
inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255
ether 00:03:25:10:83:27
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
options=8VLAN_MTU
ether 02:03:25:00:43:96
ch 1 dma -1
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
inet 127.0.0.1 netmask 0xff00 


What am I missing? Please suggest another USB wireless g adapter if that will 
work. Model # of the adapter will be appreciated.

My laptop has a builtin wireless (BROADCOM) but I guess it wont work with 
FreeBSD.

My dmesg output can be found here if required.

http://rprajapa.freeshell.org/

You input is highly appreciated.

Thanks,
Rakesh



(__)
(++)-i\  
 ~~| BSD | * 
  |_|~|_|

If you understand what you're doing, you're not learning anything.
-A. L.
   
-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.


--

Beware that some manufacturers change the chipset in a particular product 
without changing the name or major version number - I've been bitten with this 
before by a D-Link wireless PCI adaptor (that I eventually got working using 
NDIS, but that's another story).

From memory, the ural manpage specifies only revision 2 of that particular 
wireless adaptor as using the RT2500 chipset and therefore supported. When I 
was looking for a wireless USB adaptor I looked at this one and could only find 
revision 4 around - check the documentation that came with it, or ask Belkin 
what the chipset is.

You may be able to get ndis working - see the manpage for ndisgen. 
Alternatively I'm using an Asus WL-167G (bought on ebay) which is supported by 
ural and works perfectly.

Hope that helps.


Peter Harrison.



**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by the Government Secure 
Intranet (GSi) virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.

On leaving the GSi this email was certified virus-free.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OT: Domain Registration

2006-04-25 Thread martin

Hi All,

   I know this is off topic, but I can't think of a good place to ask this
where knowledgable people will answer, and this list usually has a high
tolerence of ot but technical questions (plus I will be using a FreeBSD
server, so it is not _entirely_ OT :)

   I'm looking to setup my server as a domain name server. I already have
it setup for internal use, but last time when I tried to have the
internet at large using it, I had real trouble explaining to my ISP
that I wanted my server as the main domain controller, the best they
could do was pointing www.domain to my server. They wern't even
able/willing to point the mx record directly to my server, it goes
through their relay first.

   It has done the job so far, and there is really no reason why I can't
manage with this, but I am getting a new domain and would like to get
it all sorted out the way I would like (my main justification for
hosting it myself is the flexibility to add on sub-domains and such,
but the real reason is that I am a control freak and like to tinker).

  I assume what should happen is

  - I buy a domain from registrar X
  - X sets that domain to point to my dns server as the master server
  - X hosts a secondary dns server
  - I can then add subdomains to my domain which will directly
propagate on the internet, set the various MX and ilk to whatever I
want etc. without having to contact a 3rd party

  My further assumptions are
  - The secondary server will either update from my server directly OR
I will need to contact X to add anything new for me.

  My questions are -
 a) Are my assumptions correct?
 b) What would be the best way to explain this to a phone drone?
 c) Can anyone recommend a good registrar that will be able to set
this up with minimum fuss (and cost)?
 d) Are there any good reasons not to do it this way (remember, this
is not a mission critical setup, and its main purpose is to tinker)


Regards,
Martin McCann



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


help me

2006-04-25 Thread Suliman Alexandru
yes i wanna buy a firma for internet and for more.  ips fand more 
I wanna buy an owner shell  wen u understand me a firma ;)


-
Sie denken an Ihre Sicherheit?  Das tun wir auch. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't login via SSH

2006-04-25 Thread Bill Moran
On Mon, 24 Apr 2006 23:28:58 -0700
Jose Borquez [EMAIL PROTECTED] wrote:

 I attempt to establish an ssh connection to a remote server and I get 
 the following error:
 ssh_exchange_identification: Connection closed by remote host
 
 I have checked the hosts.allow file and Everything is allowed by 
 default.  What else can I check?

You're not trying to log in as root, are you?  Remote root login is
disabled by default.

The debugging suggestions Daniel made are excellent as well.

-- 
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: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Martin Hepworth
Bill

if the database is CPU dependant I'd look at tuning the queries/indexes and
that stuff...it really shouldn't be CPU bound.

--
martin

On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote:

 On Mon, 24 Apr 2006 23:03:59 +0100
 Martin Hepworth [EMAIL PROTECTED] wrote:

  Bill
 
  depends on the application itself, but more RAM and the disk layout
 (RAID)
  will be more important than the CPU. Also depends on how write-heavy the
  apps are...

 Thanks for the feedback, Martin.

 I'm fully aware of the app-dependency - what I'm looking for is a way
 to test the application.  I've got 3 different clusters available for
 testing, but I'm not sure how to tell if the cache is getting used
 heavily or not.

 I've already determined that the database server is CPU-bound under
 our test load.  With high-speed SCSI disks and battery-backed RAID,
 there's not enough IO to stress the disk subsystem.  RAM is almost a
 non-issue.  With the machine stressed at full load, it's only using
 1/8 of the available RAM.

 So, my current bottleneck is CPU power.  And the boss has asked me
 for the best way to overcome this bottleneck.  We're looking at either
 the same CPUs we already have, but with _huge_ caches (8m) - or going
 with more CPUs by getting true dual-core pentiums.

 The question this all pivots on is will 8M of cache be a significant
 improvement?  If not, then we're going with the dual-core CPUs.  What
 I'd like is some way to take an existing system and determine how often
 the cache is getting invalidated, so I can make some guesstemate as to
 whether more cache will help or not.

 
  --
  martin
 
  On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote:
  
  
   I've been asked to make some hardware recommendations, I'm hoping some
   folks on the list can make some suggestions.
  
   We're looking hard at getting either Intel dual-core procs, or getting
   hyperthreaded procs with huge (8M) caches.
  
   We currently have a few dual proc Intel HT machines that we can test
   out our workload on, and I'm trying to get a feel for how to determine
   if a larger cache size will generate better performance than replacing
   HT procs with full-blown dual-core procs.  We're looking at the 6850
   from Dell, which supports both processor families:
  
  
 http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850?c=uscs=555l=ens=biz
  
   The goal for these machines is to serve out PosgreSQL databases to as
   many Apache+php front ends as we can hang off each one.  So we're
 trying
   to purchase hardware that will create a DB server that can handle a
 lot
   of web server front ends.
  
   I have a Dell 2850 (dual HT procs) here that I can use for testing.
   I'm a little fuzzy on determining how well the cache is working, so
 I'm
   stuck on whether or not the 8M cache that's available on the HT units
   is worth the money or not.  Can anyone suggest a testing methodology
   that will isolate this particular aspect?
  
   --
   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]
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
  *
 
 
 
 
 
 
  This footnote confirms that this email message has been scanned by
  PineApp Mail-SeCure for the presence of malicious code, vandals 
 computer viruses.
 
 
 
 


 --
 Bill Moran
 Collaborative Fusion Inc.

 
 IMPORTANT: This message contains confidential information and is
 intended only for the individual named. If the reader of this
 message is not an intended recipient (or the individual
 responsible for the delivery of this message to an intended
 recipient), please be advised that any re-use, dissemination,
 distribution or copying of this message is prohibited. Please
 notify the sender immediately by e-mail if you have received
 this e-mail by mistake and delete this e-mail from your system.
 E-mail transmission cannot be guaranteed to be secure or
 error-free as information could be intercepted, corrupted, lost,
 destroyed, arrive late or incomplete, or contain viruses. The
 sender therefore does not accept liability for any errors or
 omissions in the contents of this message, which arise as a
 result of e-mail transmission.
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any 

Re: OT: Domain Registration

2006-04-25 Thread Bill Moran
On Tue, 25 Apr 2006 11:44:22 - (UTC)
[EMAIL PROTECTED] wrote:

 
 Hi All,
 
I know this is off topic, but I can't think of a good place to ask this
 where knowledgable people will answer, and this list usually has a high
 tolerence of ot but technical questions (plus I will be using a FreeBSD
 server, so it is not _entirely_ OT :)
 
I'm looking to setup my server as a domain name server. I already have
 it setup for internal use, but last time when I tried to have the
 internet at large using it, I had real trouble explaining to my ISP
 that I wanted my server as the main domain controller, the best they
 could do was pointing www.domain to my server. They wern't even
 able/willing to point the mx record directly to my server, it goes
 through their relay first.
 
It has done the job so far, and there is really no reason why I can't
 manage with this, but I am getting a new domain and would like to get
 it all sorted out the way I would like (my main justification for
 hosting it myself is the flexibility to add on sub-domains and such,
 but the real reason is that I am a control freak and like to tinker).
 
   I assume what should happen is
 
   - I buy a domain from registrar X
   - X sets that domain to point to my dns server as the master server
   - X hosts a secondary dns server
   - I can then add subdomains to my domain which will directly
 propagate on the internet, set the various MX and ilk to whatever I
 want etc. without having to contact a 3rd party
 
   My further assumptions are
   - The secondary server will either update from my server directly OR
 I will need to contact X to add anything new for me.
 
   My questions are -
  a) Are my assumptions correct?

More or less.  If you use BIND and standard zone transfers, your backup
DNS can get updates automatically.

  b) What would be the best way to explain this to a phone drone?

I doubt you'll be able to.  In my experience, phone drones have zero
understanding of DNS.  You're going to need the issue escalated, which
is usually a major task in itself.

With most ISPs, what you're asking for is an additional service that
adds an extra monthly charge.  It usually requires you to have a
business class account with them as well.

  c) Can anyone recommend a good registrar that will be able to set
 this up with minimum fuss (and cost)?

Haven't used them in a while, but in spite of the overdone advertising,
godaddy is pretty useful.  I believe they can even host your DNS for
you, which means you don't have to set up your own server, but you
can tell godaddy to point records wherever you want.

  d) Are there any good reasons not to do it this way (remember, this
 is not a mission critical setup, and its main purpose is to tinker)

Not really.  Especially if it's for tinkering.

-- 
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: OT: Domain Registration

2006-04-25 Thread Derek Ragona

Martin,

You assumptions are just about right . . .but here are the corrections . . .

To mange your own DNS you need to name servers, a primary and a secondary.

When you buy the domain name you specify the name servers.  Some registrars 
want the name and IP, some just want the IP, some just want the name.  But 
you need to provide these.  While this seems a bit chick and egg (as it 
what comes first.) it doesn't matter.  Just have your domain names and DNS 
map files ready.


I believe what you mean my subdomain records you mean host A records.  You 
just add these records to your map files, and update the serial number in 
that file, and restart named.


Secondary name servers look for the serial number in the map file and will 
update their maps when they detect a new serial number.


Don't forget to provide reverse IP maps as well as forward maps.

Hope this helps.

-Derek


At 06:44 AM 4/25/2006, [EMAIL PROTECTED] wrote:


Hi All,

   I know this is off topic, but I can't think of a good place to ask this
where knowledgable people will answer, and this list usually has a high
tolerence of ot but technical questions (plus I will be using a FreeBSD
server, so it is not _entirely_ OT :)

   I'm looking to setup my server as a domain name server. I already have
it setup for internal use, but last time when I tried to have the
internet at large using it, I had real trouble explaining to my ISP
that I wanted my server as the main domain controller, the best they
could do was pointing www.domain to my server. They wern't even
able/willing to point the mx record directly to my server, it goes
through their relay first.

   It has done the job so far, and there is really no reason why I can't
manage with this, but I am getting a new domain and would like to get
it all sorted out the way I would like (my main justification for
hosting it myself is the flexibility to add on sub-domains and such,
but the real reason is that I am a control freak and like to tinker).

  I assume what should happen is

  - I buy a domain from registrar X
  - X sets that domain to point to my dns server as the master server
  - X hosts a secondary dns server
  - I can then add subdomains to my domain which will directly
propagate on the internet, set the various MX and ilk to whatever I
want etc. without having to contact a 3rd party

  My further assumptions are
  - The secondary server will either update from my server directly OR
I will need to contact X to add anything new for me.

  My questions are -
 a) Are my assumptions correct?
 b) What would be the best way to explain this to a phone drone?
 c) Can anyone recommend a good registrar that will be able to set
this up with minimum fuss (and cost)?
 d) Are there any good reasons not to do it this way (remember, this
is not a mission critical setup, and its main purpose is to tinker)


Regards,
Martin McCann



___
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: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Bill Moran
On Tue, 25 Apr 2006 13:28:50 +0100
Martin Hepworth [EMAIL PROTECTED] wrote:
 Bill
 
 if the database is CPU dependant I'd look at tuning the queries/indexes and
 that stuff...it really shouldn't be CPU bound.

That's in progress, and it's going to be an ongoing process as the
application goes through versions.

Fact is, with 4G of RAM most of the data sits in RAM, so reads incur
no or little IO.  With high-end SCSI disks in RAID-10 and a battery-
backed cache, burst writes are cached, thus lightening fast, and
we've been unable to run the application hard enough to saturate
the SCSI bus so far.

So ... the current bottleneck is CPU.

 
 --
 martin
 
 On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote:
 
  On Mon, 24 Apr 2006 23:03:59 +0100
  Martin Hepworth [EMAIL PROTECTED] wrote:
 
   Bill
  
   depends on the application itself, but more RAM and the disk layout
  (RAID)
   will be more important than the CPU. Also depends on how write-heavy the
   apps are...
 
  Thanks for the feedback, Martin.
 
  I'm fully aware of the app-dependency - what I'm looking for is a way
  to test the application.  I've got 3 different clusters available for
  testing, but I'm not sure how to tell if the cache is getting used
  heavily or not.
 
  I've already determined that the database server is CPU-bound under
  our test load.  With high-speed SCSI disks and battery-backed RAID,
  there's not enough IO to stress the disk subsystem.  RAM is almost a
  non-issue.  With the machine stressed at full load, it's only using
  1/8 of the available RAM.
 
  So, my current bottleneck is CPU power.  And the boss has asked me
  for the best way to overcome this bottleneck.  We're looking at either
  the same CPUs we already have, but with _huge_ caches (8m) - or going
  with more CPUs by getting true dual-core pentiums.
 
  The question this all pivots on is will 8M of cache be a significant
  improvement?  If not, then we're going with the dual-core CPUs.  What
  I'd like is some way to take an existing system and determine how often
  the cache is getting invalidated, so I can make some guesstemate as to
  whether more cache will help or not.
 
  
   --
   martin
  
   On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote:
   
   
I've been asked to make some hardware recommendations, I'm hoping some
folks on the list can make some suggestions.
   
We're looking hard at getting either Intel dual-core procs, or getting
hyperthreaded procs with huge (8M) caches.
   
We currently have a few dual proc Intel HT machines that we can test
out our workload on, and I'm trying to get a feel for how to determine
if a larger cache size will generate better performance than replacing
HT procs with full-blown dual-core procs.  We're looking at the 6850
from Dell, which supports both processor families:
   
   
  http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850?c=uscs=555l=ens=biz
   
The goal for these machines is to serve out PosgreSQL databases to as
many Apache+php front ends as we can hang off each one.  So we're
  trying
to purchase hardware that will create a DB server that can handle a
  lot
of web server front ends.
   
I have a Dell 2850 (dual HT procs) here that I can use for testing.
I'm a little fuzzy on determining how well the cache is working, so
  I'm
stuck on whether or not the 8M cache that's available on the HT units
is worth the money or not.  Can anyone suggest a testing methodology
that will isolate this particular aspect?
   
--
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]
   
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
  
   *
  
  
  
  
  
  
   This footnote confirms that this email message has been scanned by
   PineApp Mail-SeCure for the presence of malicious code, vandals 
  computer viruses.
  
  
  
  
 
 
  --
  Bill Moran
  Collaborative Fusion Inc.
 
  
  IMPORTANT: This message contains confidential information and is
  intended only for the individual named. If the reader of this
  message is not an intended recipient (or the individual
  responsible for the delivery of this message to an intended
  recipient), please be advised that any re-use, dissemination,
  distribution or copying of this message is prohibited. Please
  notify the sender immediately by e-mail if you have received
  this e-mail by 

Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Bill Moran
On Mon, 24 Apr 2006 18:31:46 -0500
Derek Ragona [EMAIL PROTECTED] wrote:

 You can get better information directly from intel's website on 
 motherboards and CPU performance.  Dual core is faster than hyperthreaded 
 CPU's usually about 20% if you use the larger CPU cache models.

I don't follow you here.  Are you saying that dual core is about
20% faster than hyperthreaded with larger cache?

 However with a RDBMS as the primary usage, I would look for more ways to 
 optimize the system.  I would look to use a RAID array with an add-on card 
 (or zero-chanel add-on) as this will provide better performance (with a 
 raid 0) or better performance with redundancy (raid 10, or RAID 0+1.)  A 
 RAID adapter will offload the DISK I/O providing substantially better 
 performance.

We are using Dell PERC controllers with SCSI 320 disks in a RAID-10
configuration, and battery-backed cache.  As a result, disk IO is _not_
a bottleneck.  All of our tests up till now have demonstrated that
memory and disk usage are minimal, and that CPU usage is the current
bottleneck.

 At 02:46 PM 4/24/2006, you wrote:
 
 I've been asked to make some hardware recommendations, I'm hoping some
 folks on the list can make some suggestions.
 
 We're looking hard at getting either Intel dual-core procs, or getting
 hyperthreaded procs with huge (8M) caches.
 
 We currently have a few dual proc Intel HT machines that we can test
 out our workload on, and I'm trying to get a feel for how to determine
 if a larger cache size will generate better performance than replacing
 HT procs with full-blown dual-core procs.  We're looking at the 6850
 from Dell, which supports both processor families:
 http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850?c=uscs=555l=ens=biz
 
 The goal for these machines is to serve out PosgreSQL databases to as
 many Apache+php front ends as we can hang off each one.  So we're trying
 to purchase hardware that will create a DB server that can handle a lot
 of web server front ends.
 
 I have a Dell 2850 (dual HT procs) here that I can use for testing.
 I'm a little fuzzy on determining how well the cache is working, so I'm
 stuck on whether or not the 8M cache that's available on the HT units
 is worth the money or not.  Can anyone suggest a testing methodology
 that will isolate this particular aspect?
 
 --
 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]
 
 --
 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.
 
 


-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Derek Ragona
Yes, dual core is on average 20% faster than hyperthreaded CPU's.  But that 
is general benchmark.  The range of performance difference is 10% - 30% 
depending on the application mix.


If you use well optimized applications, you see the larger performance 
gain.  Poor optimization causes a CPU to chug along, flushing the CPU cache 
often, and slowing things down considerably.


-Derek

At 07:47 AM 4/25/2006, Bill Moran wrote:

On Mon, 24 Apr 2006 18:31:46 -0500
Derek Ragona [EMAIL PROTECTED] wrote:

 You can get better information directly from intel's website on
 motherboards and CPU performance.  Dual core is faster than hyperthreaded
 CPU's usually about 20% if you use the larger CPU cache models.

I don't follow you here.  Are you saying that dual core is about
20% faster than hyperthreaded with larger cache?

 However with a RDBMS as the primary usage, I would look for more ways to
 optimize the system.  I would look to use a RAID array with an add-on card
 (or zero-chanel add-on) as this will provide better performance (with a
 raid 0) or better performance with redundancy (raid 10, or RAID 0+1.)  A
 RAID adapter will offload the DISK I/O providing substantially better
 performance.

We are using Dell PERC controllers with SCSI 320 disks in a RAID-10
configuration, and battery-backed cache.  As a result, disk IO is _not_
a bottleneck.  All of our tests up till now have demonstrated that
memory and disk usage are minimal, and that CPU usage is the current
bottleneck.

 At 02:46 PM 4/24/2006, you wrote:

 I've been asked to make some hardware recommendations, I'm hoping some
 folks on the list can make some suggestions.
 
 We're looking hard at getting either Intel dual-core procs, or getting
 hyperthreaded procs with huge (8M) caches.
 
 We currently have a few dual proc Intel HT machines that we can test
 out our workload on, and I'm trying to get a feel for how to determine
 if a larger cache size will generate better performance than replacing
 HT procs with full-blown dual-core procs.  We're looking at the 6850
 from Dell, which supports both processor families:
 http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850 
?c=uscs=555l=ens=biz

 
 The goal for these machines is to serve out PosgreSQL databases to as
 many Apache+php front ends as we can hang off each one.  So we're trying
 to purchase hardware that will create a DB server that can handle a lot
 of web server front ends.
 
 I have a Dell 2850 (dual HT procs) here that I can use for testing.
 I'm a little fuzzy on determining how well the cache is working, so I'm
 stuck on whether or not the 8M cache that's available on the HT units
 is worth the money or not.  Can anyone suggest a testing methodology
 that will isolate this particular aspect?
 
 --
 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]

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




--
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.


--
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: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Derek Ragona
If your database application is CPU bound, you may need to re-architect the 
database.  You may need more indexes.  You may be calculating values on 
queries, rather than storing calculated values.


There are many ways to optimize a RDBMS performance, but the first thing to 
do is analyze the data model, and how the data is used.


-Derek


At 07:47 AM 4/25/2006, Bill Moran wrote:

On Mon, 24 Apr 2006 18:31:46 -0500
Derek Ragona [EMAIL PROTECTED] wrote:

 You can get better information directly from intel's website on
 motherboards and CPU performance.  Dual core is faster than hyperthreaded
 CPU's usually about 20% if you use the larger CPU cache models.

I don't follow you here.  Are you saying that dual core is about
20% faster than hyperthreaded with larger cache?

 However with a RDBMS as the primary usage, I would look for more ways to
 optimize the system.  I would look to use a RAID array with an add-on card
 (or zero-chanel add-on) as this will provide better performance (with a
 raid 0) or better performance with redundancy (raid 10, or RAID 0+1.)  A
 RAID adapter will offload the DISK I/O providing substantially better
 performance.

We are using Dell PERC controllers with SCSI 320 disks in a RAID-10
configuration, and battery-backed cache.  As a result, disk IO is _not_
a bottleneck.  All of our tests up till now have demonstrated that
memory and disk usage are minimal, and that CPU usage is the current
bottleneck.

 At 02:46 PM 4/24/2006, you wrote:

 I've been asked to make some hardware recommendations, I'm hoping some
 folks on the list can make some suggestions.
 
 We're looking hard at getting either Intel dual-core procs, or getting
 hyperthreaded procs with huge (8M) caches.
 
 We currently have a few dual proc Intel HT machines that we can test
 out our workload on, and I'm trying to get a feel for how to determine
 if a larger cache size will generate better performance than replacing
 HT procs with full-blown dual-core procs.  We're looking at the 6850
 from Dell, which supports both processor families:
 http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850 
?c=uscs=555l=ens=biz

 
 The goal for these machines is to serve out PosgreSQL databases to as
 many Apache+php front ends as we can hang off each one.  So we're trying
 to purchase hardware that will create a DB server that can handle a lot
 of web server front ends.
 
 I have a Dell 2850 (dual HT procs) here that I can use for testing.
 I'm a little fuzzy on determining how well the cache is working, so I'm
 stuck on whether or not the 8M cache that's available on the HT units
 is worth the money or not.  Can anyone suggest a testing methodology
 that will isolate this particular aspect?
 
 --
 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]

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




--
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

___
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

Re: OT: Domain Registration

2006-04-25 Thread Miguel Ramos

Ter, 2006-04-25 às 11:44 +, [EMAIL PROTECTED] escreveu:
[...]
   I assume what should happen is
 
   - I buy a domain from registrar X
   - X sets that domain to point to my dns server as the master server
   - X hosts a secondary dns server

*Some* registrars offer free secondary dns hosting, yes, mine does,
gandi.net.

   - I can then add subdomains to my domain which will directly
 propagate on the internet, set the various MX and ilk to whatever I
 want etc. without having to contact a 3rd party
 
   My further assumptions are
   - The secondary server will either update from my server directly OR
 I will need to contact X to add anything new for me.

Secondaries update from your server, initiating a zone transfer when
they feel like it. Sending them a notify may also trigger the transfer,
but not immediatly.
I have a free secondary dns for anjos.strangled.net on rollernet.us, and
it only updates from my server at most once a day (just about what I
need, but comes close to being useless).

 
   My questions are -
  a) Are my assumptions correct?
  b) What would be the best way to explain this to a phone drone?

Impossible. If the services you need (secondary dns) are not listed on
their website then they won't offer the service either because they
don't understand its usefulness or because it's against their interest.

  c) Can anyone recommend a good registrar that will be able to set
 this up with minimum fuss (and cost)?

Check mine, http://www.gandi.net. Not cheap on .com, .net, .org domains,
cheap on .info and .name. Anyway, they offer secondary dns and custom
dns (if you come to the conclusion that it's best to leave the zone
files outside your computer).

I'm not entirely satisfied, mainly because they offer email redirection,
secondary dns and custom dns, but each of these mutually excludes the
other ones.

There's also freedns.afraid.org, if you want to put your domain on a
good, redundant server, and perhaps only host third level domains on
your computer (they allow you to define NS records, and they also offer
dynamic dns services).

Rollernet.us offers besides secondary dns, backup mx for free.

  d) Are there any good reasons not to do it this way (remember, this
 is not a mission critical setup, and its main purpose is to tinker)

Well,
- if you plan to have your main server down for more than a week
(default value in SOA record), then your zone will expire, even on
secondaries.
- if you're on a dynamic IP, then you'll have trouble with most
registrars.

Perhaps a more flexible option may be having a second level domain on a
freedns service (like freedns.afraid.org) and one or more third level
domains hosted at your server.

But buy a domain, try it, and see what suits you.

Miguel Ramos

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


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Bill Moran
On Tue, 25 Apr 2006 07:56:03 -0500
Derek Ragona [EMAIL PROTECTED] wrote:

 Yes, dual core is on average 20% faster than hyperthreaded CPU's.  But that 
 is general benchmark.  The range of performance difference is 10% - 30% 
 depending on the application mix.

Thanks.

 If you use well optimized applications, you see the larger performance 
 gain.  Poor optimization causes a CPU to chug along, flushing the CPU cache 
 often, and slowing things down considerably.

I know.  That's why I'm so desperately trying to find a way to determine
how often the cache is being invalidated - so I can determine whether
larger cache sizes (such as 8M) are worthwhile.

The database server is PostgreSQL.  If we find optimization problems
with it, we'll definitely work with the PostgreSQL folks to get those
problems addressed, but I'm not expecting a lot of poorly-written code
in something as mature as PostgreSQL.  So, making a (reasonable)
assumption that PostgreSQL is well-optimized, I need a way to tell if
adding another 6M of cache will improve performance, _before_ we pay
for it.

That's my question.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Derek Ragona

Bill,

Never assume . . .

Depending on where you got the PostgreSQL, was it in binary form or 
source.  Most binarys are NOT optimized for higher end, more current 
processors, rather they are optimized for the most common family of CPU's.


But if your database application is really CPU bound, I would look at the 
data model and how your application is accessing and using the 
data.  RDBMS's can be very effiicent, or terribly inefficient.  In the 
worst case you can cause an RDBMS to serially go through every record 
searching for data or doing a calculation.


While a bigger cache may help, as may dual core CPU's, or faster CPU's.  In 
the end, you may only see marginal improvement if the application or 
database is really where you need to tune things.


-Derek


At 08:25 AM 4/25/2006, Bill Moran wrote:

On Tue, 25 Apr 2006 07:56:03 -0500
Derek Ragona [EMAIL PROTECTED] wrote:

 Yes, dual core is on average 20% faster than hyperthreaded CPU's.  But 
that

 is general benchmark.  The range of performance difference is 10% - 30%
 depending on the application mix.

Thanks.

 If you use well optimized applications, you see the larger performance
 gain.  Poor optimization causes a CPU to chug along, flushing the CPU 
cache

 often, and slowing things down considerably.

I know.  That's why I'm so desperately trying to find a way to determine
how often the cache is being invalidated - so I can determine whether
larger cache sizes (such as 8M) are worthwhile.

The database server is PostgreSQL.  If we find optimization problems
with it, we'll definitely work with the PostgreSQL folks to get those
problems addressed, but I'm not expecting a lot of poorly-written code
in something as mature as PostgreSQL.  So, making a (reasonable)
assumption that PostgreSQL is well-optimized, I need a way to tell if
adding another 6M of cache will improve performance, _before_ we pay
for it.

That's my question.

--
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

___
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: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Bill Moran
On Tue, 25 Apr 2006 07:59:29 -0500
Derek Ragona [EMAIL PROTECTED] wrote:

 If your database application is CPU bound, you may need to re-architect the 
 database.  You may need more indexes.  You may be calculating values on 
 queries, rather than storing calculated values.

I appreciate your concern about our re-architecting, but we've already
got a group focusing on the data model.  My current project is to
analyze the performance of the app with regard to specific hardware
and make recommendations as to what hardware should be purchased for
new systems.

All I want is a way to track CPU cache usage so I can determine whether
larger caches are worth the $$$.

 There are many ways to optimize a RDBMS performance, but the first thing to 
 do is analyze the data model, and how the data is used.

Our current data model appears to be as optimized as is reasonable.
With this carefully planned data model in use, we run our test
framework to load the test server environment, and find that
CPU on the database server is the current bottleneck.  Thus I need to
find a way to speed up _that_ bottleneck.

And this boils down to:
How can I tell if 2M cache is enough or if larger cache sizes will
improve CPU throughput, without investing in the hardware?

It may boil down to this being impossible.  If that's the case, I'll
recommend that we purchase one of the 8M cache systems to test it
out.  It's a bit of an investment:
http://configure.us.dell.com/dellstore/config.aspx?c=uscs=555l=enoc=pe6850pads=biz

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Chuck Swiger

Bill Moran wrote:
[ ... ]
If you use well optimized applications, you see the larger performance 
gain.  Poor optimization causes a CPU to chug along, flushing the CPU cache 
often, and slowing things down considerably.


I know.  That's why I'm so desperately trying to find a way to determine
how often the cache is being invalidated - so I can determine whether
larger cache sizes (such as 8M) are worthwhile.


Guys, you're confusing two things:
flushing the pipeline vs. L2 cache hit ratio.

The former happens when branch prediction/speculative execution goes awry and 
requires the CPU to clear the pipeline of partially-executed instructions and 
backtrack to follow the other path.  It is related to optimization quality of 
compilers, but is not related at all to how big your L2 cache is.


The size of your L2 cache affects how much data is more local to the CPU than 
main memory, and increasing it will improve the L2 cache hit ratio, or, 
equivalently, reduce L2 cache misses.  This is affected by some specific 
compiler optimizations (cf loop unrolling), but tends to reflect the specifics 
of the workload and how much multitasking of different programs you do more than 
the compiler.


--
-Chuck

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


Re: OT: Domain Registration

2006-04-25 Thread Miguel Ramos
Ter, 2006-04-25 às 14:22 +0100, Miguel Ramos escreveu:
   d) Are there any good reasons not to do it this way (remember, this
  is not a mission critical setup, and its main purpose is to tinker)
 

Also, if you only meen to tinker, try this, using only free services
(this is what I use for my home computer, anjos.strangled.net):
1- get a subdomain at freedns.afraid.org, say yourhome.afraid.org
2- configure three records on your subdomain like this:

yourhome.afraid.org NS yourhome.afraid.org.
yourhome.afraid.org NS ns1.rollernet.us.
yourhome.afraid.org NS ns2.rollernet.us.
yourhome.afraid.org A yourip (may be dynamic)

3- configure your zone file, yourhome.afraid.org, with at least the
following:

@ NS yourhome.afraid.org.
@ NS ns1.rollernet.us.
@ NS ns2.rollernet.us.
@ A yourip (may be dynamic)

and perhaps,

@ MX 0 yourhome.afraid.org.
@ MX 10 mail.rollernet.us.
@ MX 10 mail2.rollernet.us.

4- go to rollernet.us and activate secondary dns (and backup mx) for
your domain.

This is the best I could come up with for me.

Sugestion #2: Peek on other people's setups using a combination of
WHOIS, dns lookups and reverse lookups to find out which services they
use.

--
Miguel

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


Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity.....

2006-04-25 Thread Eric Schuele

Eric Schuele wrote:

Hello,

I just recently began using GDM.  This problem is reproducible by
enabling/disabling GDM on my machine.

When GDM is enabled, I get four equally sized rectangles in the upper
left corner of my screen.  They are not visible at first but are
responsive to mouse activity.  Meaning, they slowly fill in as I move
the mouse... and fill in almost completely, as soon as I click the mouse
buttons.

These squares draw on top of any window located there.  That window will
carry the discoloration with it if I move the window.  The discolored
squares continue, in the original location, after removing any window
from the region.

I originally had load glx, drm, and dri in my xorg.conf file... but
since removed them just as an experiment.  It had no effect on the
problem.  I also had DefaultFbBpp set to 32.  Removed that as well to no
avail.  Just swinging wildly here.

The squares are visible on GDM itself, and any window manager I've used
(enlightenment and twm).

I've got (from dmesg)
ATI Radeon LW RV200 Mobility 7500 M7
model Generic PS/2 mouse, device ID (a.k.a synaptics touchpad)

I use Driver radeon in xorg.conf.

Without GDM, no rectangles. No other portupgrades occurred when this
behavior appeared.  Just the installation/configuration of GDM.

Any ideas what is going on and how to remedy it?



OK... I can tell be the number of replies, everyone just rolled their 
eyes at me and figured I'm crazy.  But it really does occur.  :)


FWIW:
I have found that if I use the GDM provided XDMCP Chooser... that the 
problem immediately dissapears.


Anyone have any thoughts on this?

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


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Bill Moran
On Tue, 25 Apr 2006 09:48:21 -0400
Chuck Swiger [EMAIL PROTECTED] wrote:

 Bill Moran wrote:
 [ ... ]
  If you use well optimized applications, you see the larger performance 
  gain.  Poor optimization causes a CPU to chug along, flushing the CPU 
  cache 
  often, and slowing things down considerably.
  
  I know.  That's why I'm so desperately trying to find a way to determine
  how often the cache is being invalidated - so I can determine whether
  larger cache sizes (such as 8M) are worthwhile.
 
 Guys, you're confusing two things:
 flushing the pipeline vs. L2 cache hit ratio.
 
 The former happens when branch prediction/speculative execution goes awry and 
 requires the CPU to clear the pipeline of partially-executed instructions and 
 backtrack to follow the other path.  It is related to optimization quality of 
 compilers, but is not related at all to how big your L2 cache is.
 
 The size of your L2 cache affects how much data is more local to the CPU than 
 main memory, and increasing it will improve the L2 cache hit ratio, or, 
 equivalently, reduce L2 cache misses.  This is affected by some specific 
 compiler optimizations (cf loop unrolling), but tends to reflect the 
 specifics 
 of the workload and how much multitasking of different programs you do more 
 than 
 the compiler.

Thanks, Chuck.

What I'm looking for is a way to measure this on the current machines
we're using so I can make a prediction as to whether larger cache
sizes will improve performance.  What I'm looking for is some sort of
counter or the like that I can use to tell what my current L2 cache
hit ratio _is_, so I can intelligently speculate as to whether another
6M of cache is worth the outrageous price.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: OT: Domain Registration

2006-04-25 Thread Daan Vreeken [PA4DAN]
Hi Martin,

On Tuesday 25 April 2006 13:44, [EMAIL PROTECTED] wrote:
 Hi All,

I know this is off topic, but I can't think of a good place to ask this
 where knowledgable people will answer, and this list usually has a high
 tolerence of ot but technical questions (plus I will be using a FreeBSD
 server, so it is not _entirely_ OT :)

I'm looking to setup my server as a domain name server. I already have
 it setup for internal use, but last time when I tried to have the
 internet at large using it, I had real trouble explaining to my ISP
 that I wanted my server as the main domain controller, the best they
 could do was pointing www.domain to my server. They wern't even
 able/willing to point the mx record directly to my server, it goes
 through their relay first.

It has done the job so far, and there is really no reason why I can't
 manage with this, but I am getting a new domain and would like to get
 it all sorted out the way I would like (my main justification for
 hosting it myself is the flexibility to add on sub-domains and such,
 but the real reason is that I am a control freak and like to tinker).

   I assume what should happen is

   - I buy a domain from registrar X
   - X sets that domain to point to my dns server as the master server
   - X hosts a secondary dns server
   - I can then add subdomains to my domain which will directly
 propagate on the internet, set the various MX and ilk to whatever I
 want etc. without having to contact a 3rd party

   My further assumptions are
   - The secondary server will either update from my server directly OR
 I will need to contact X to add anything new for me.

   My questions are -
  a) Are my assumptions correct?
  b) What would be the best way to explain this to a phone drone?
  c) Can anyone recommend a good registrar that will be able to set
 this up with minimum fuss (and cost)?

Have a look at http://Joker.com
They let you specify your own nameservers if you want and they are cheap. I 
have registered the domain Vitsch.net at Joker.com and I run my own 
nameservers.
Not sure if they offer secondary DNS services though. (I run 3 nameservers 
myself for the domain, so I've never needed it.)

  d) Are there any good reasons not to do it this way (remember, this
 is not a mission critical setup, and its main purpose is to tinker)

 Regards,
 Martin McCann

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


Re: help me

2006-04-25 Thread Yousef Raffah
On Tue, 2006-04-25 at 14:04 +0200, Suliman Alexandru wrote:
 yes i wanna buy a firma for internet and for more.  ips fand more 
 I wanna buy an owner shell  wen u understand me a firma ;)
 
What is a firma?
   
 -
 Sie denken an Ihre Sicherheit?  Das tun wir auch. 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com




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


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Chuck Swiger

Bill Moran wrote:

On Tue, 25 Apr 2006 09:48:21 -0400
Chuck Swiger [EMAIL PROTECTED] wrote:

[ ...long explanation snipped for brevity... :-) ]

Thanks, Chuck.


Most welcome.


What I'm looking for is a way to measure this on the current machines
we're using so I can make a prediction as to whether larger cache
sizes will improve performance.  What I'm looking for is some sort of
counter or the like that I can use to tell what my current L2 cache
hit ratio _is_, so I can intelligently speculate as to whether another
6M of cache is worth the outrageous price.


It's possible to write code which tests cache size and latency empirically, but 
I'm not sure how to obtain the ratio you're looking for directly for your 
particular workload.


Previous experience suggests that large CPU cache helps heavily multithreaded or 
parallel multiprocess tasks by a lot, but does little to help something like a 
big database because the amount of data you have to traverse is much larger than 
will fit into any L2 cache, no matter how big.  On the other hand, more L2 cache 
can provide more significant benefit to a well-tuned database if the indexes or 
particular frequently-used subqueries fit better into the larger cache...


--
-Chuck


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


Re: freeBSD install

2006-04-25 Thread Jerry McAllister
 
 I have a sony vaio fs742/w  running windows XP is this freeBSD a good 
 candidate for my laptop and if it is, can i have someone load for me?  
 I'd be more apt to trying on my home computer first, its an older model HP. 

I have not used that particular model, but have used FreeBSD on
a number of other machine models.   Unless there is something
particularly odd about that model, it should work fine.

But, although you can probably find someone willing to install FreeBSD
for you, the very best way to learn about it is to just do it yourself.
If you have a home machine to experiment with, that makes it easier. 

FreeBSD is a very different system that anything from Microsloth.
It can do pretty much anything you want, but it will take a while
to learn.   There are many more choices to be made.   FreeBSD is
limited to doing work for you and does not do your thinking for
you.You are left free to do your own thinking.   That attitude
is fundamental to the design and implementation of FreeBSD.  It
is a little harder to learn in the beginning but much more powerful
and flexible and useful after you get it going.

My suggestion is that you might want to experiment with the home
machine, either making FreeBSD the only OS on the machine or making
it dual boot with XP.   Then try installing it on your laptop as
a dual boot.

jerry

 
 thanks,
 
 [EMAIL PROTECTED]
 ___
 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: Strange visual artifacts in upper left corner of screen which respond to mouse activity.....

2006-04-25 Thread Chuck Swiger

Eric Schuele wrote:
[ ... ]
OK... I can tell be the number of replies, everyone just rolled their 
eyes at me and figured I'm crazy.  But it really does occur.  :)


FWIW:
I have found that if I use the GDM provided XDMCP Chooser... that the 
problem immediately dissapears.


Anyone have any thoughts on this?


It sounds like something is causing data to get scribbled over video memory when 
you move your mouse, but who knows?


You should probably not expect replies to a non-trivial message in less than 
24-hours; I'll give a pass on replying immediately to see whether someone else 
has a better idea if I don't have something really useful to say.


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


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Erik Trulsson
On Tue, Apr 25, 2006 at 09:59:20AM -0400, Bill Moran wrote:
 On Tue, 25 Apr 2006 09:48:21 -0400
 Chuck Swiger [EMAIL PROTECTED] wrote:
 
  Bill Moran wrote:
  [ ... ]
   If you use well optimized applications, you see the larger performance 
   gain.  Poor optimization causes a CPU to chug along, flushing the CPU 
   cache 
   often, and slowing things down considerably.
   
   I know.  That's why I'm so desperately trying to find a way to determine
   how often the cache is being invalidated - so I can determine whether
   larger cache sizes (such as 8M) are worthwhile.
  
  Guys, you're confusing two things:
  flushing the pipeline vs. L2 cache hit ratio.
  
  The former happens when branch prediction/speculative execution goes awry 
  and 
  requires the CPU to clear the pipeline of partially-executed instructions 
  and 
  backtrack to follow the other path.  It is related to optimization quality 
  of 
  compilers, but is not related at all to how big your L2 cache is.
  
  The size of your L2 cache affects how much data is more local to the CPU 
  than 
  main memory, and increasing it will improve the L2 cache hit ratio, or, 
  equivalently, reduce L2 cache misses.  This is affected by some specific 
  compiler optimizations (cf loop unrolling), but tends to reflect the 
  specifics 
  of the workload and how much multitasking of different programs you do more 
  than 
  the compiler.
 
 Thanks, Chuck.
 
 What I'm looking for is a way to measure this on the current machines
 we're using so I can make a prediction as to whether larger cache
 sizes will improve performance.  What I'm looking for is some sort of
 counter or the like that I can use to tell what my current L2 cache
 hit ratio _is_, so I can intelligently speculate as to whether another
 6M of cache is worth the outrageous price.

The only way to be certain is to measure the performance of your particular
application on the different pieces of hardware and see which one is
fastest.


There are various methods available to measure the cache behaviour on
you current hardware, but none of them is exactly trivial use correctly, and
even if you do get useful measurements it can be tricky to extrapolate them
to a larger cachesize.

If you want to try using the various internal counters most modern CPUs have
you can try to read up on the hwpmc(4) or perfmon(4) virtual devices.

You could also run the code under some kind of simulator that allows you to
record the cache hits and misses for various simulated caches, but doing
that can be quite slow.

There are several other software based methods that have been proposed and
analyzed in various academic papers, but I suspect that most of them (maybe
even all) are currently a bit too complicated for an ordinary end-user to
apply (and definitely too complicated for me to go into any details here and
now.)




Some general thoughts:

If there are currently very few cache misses then increasing the cache size
will not give any noticable performance increase (but I suspect you already
knew that.)


If you currently have a lot of cache misses the performance would likely be
improved by a larger cache, but it is possible (though unlikely) that you
would need to increase the cache to as large as 16MB (or even more) in order
to see any improvement (it depends almost entirely on the memory access
patterns of the application.)


In general one usually reaches a point of dimnishing returns when increasing
cache size, so unless your workload has an unusual memory access pattern I
suspect that you would not see much improvement by moving to an 8MB cache.
(But then again it might be that your particular workload would benefit
enormously from the larger cache.  Impossible to tell for certain without
actually trying it.)


It might also be worth noting that dual-core CPUs (as I believe was another
alternative you were looking at) usually have twice the L2 cache of a
corresponding single-core CPU so you will get larger cache this way too.
(And the 8MB CPUs you were thinking of I believe has it as an extra L3 cache
rather than as an larger L2 cache. L3 cache is almost always slower than L2
cache (but still faster than main memory.)


How much your application would benefit from moving to a dual-core solution
depends on how well it scales with the number of cores.  If you are really
lucky it may be that its performance will be almost linear (or perhaps even
super-linear) in the number of cores (i.e. dual-core gives twice the
performance of a single-core) but it may also be that due to threads
contending for various resources performance will only improve marginally.
Usually the result is somewhere in between, but again the only way to tell
for certain is to actually try it. 







-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, 

Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity.....

2006-04-25 Thread Eric Schuele

Chuck Swiger wrote:

Eric Schuele wrote:
[ ... ]
OK... I can tell be the number of replies, everyone just rolled their 
eyes at me and figured I'm crazy.  But it really does occur.  :)


FWIW:
I have found that if I use the GDM provided XDMCP Chooser... that the 
problem immediately dissapears.


Anyone have any thoughts on this?


It sounds like something is causing data to get scribbled over video 
memory when you move your mouse, but who knows?


That's the assumption I had (but I have no idea how to 'fix' it).  In 
fact, if you could see it happen... it even looks like memory getting 
allocated.  The blocks fill in left to right top to bottom (for the most 
part).  First one block... then another.




You should probably not expect replies to a non-trivial message in less 
than 24-hours; 


Sorry... my comment regarding the number of replies was a failed 
attempt at humor.  I realize this is a bit of an odd one.


My follow up to my own message was intended to introduce the new tidbit 
of info I had found (XDMCP Chooser).


I'll give a pass on replying immediately to see whether 
someone else has a better idea if I don't have something really useful 
to say.





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


Re: Firefox::::: ugh.

2006-04-25 Thread [EMAIL PROTECTED]

On 4/24/06, Gary Kline [EMAIL PROTECTED] snickered:

If firefox is supposedly superior


Low and pretty was set the bar.  /usr/X11R6/bin/firefox
not excellent is, Pierce Brosnan thou artn't, Lawnmower
Man also is this not.

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


Re: Firefox::::: ugh.

2006-04-25 Thread Gary Kline
On Tue, Apr 25, 2006 at 01:02:00AM -0400, nawcom wrote:
 you can set up the mimetype for your user ($HOME/.mailcap) or globally 
 (/etc/mailcap)
 
 by adding the line application-smil: /location/of/realplay to the file.
 
 I guess I'm confused, are you expecting the realplay binary to be in 
 X11R6/bin, or are you confused about where and how to manually set up 
 the mimetype?
 you can figure out where realplay is by running which realplay in a 
 console - as long as the path is set up in the shell's $PATH variable.
 
Yes, realplay in in X11R6/bin, and is in my path::

q4 8:19 tao [7264] which realplay
/usr/X11R6/bin/realplay
q4 8:20 tao [7265] locate realplay | grep bin
/usr/X11R6/bin/realplay
/usr/X11R6/lib/RealPlayer/realplay.bin
q4 8:20 tao [7266] echo $PATH
/home/kline/bin:/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/local/jdk1.4.2/bin

But for whatever reason, given an .smil file, mozilla defaults
to realplay.  firefox gives me that obscure popup.  

I'll add the application-smil: line to /etc/mailcap and 
see if firefox gets a clue  
-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity.....

2006-04-25 Thread Miguel Ramos

Ter, 2006-04-25 às 10:15 -0500, Eric Schuele escreveu:
 Chuck Swiger wrote:
  Eric Schuele wrote:
  [ ... ]
  OK... I can tell be the number of replies, everyone just rolled their 
  eyes at me and figured I'm crazy.  But it really does occur.  :)
 
  FWIW:
  I have found that if I use the GDM provided XDMCP Chooser... that the 
  problem immediately dissapears.
 
  Anyone have any thoughts on this?
  
  It sounds like something is causing data to get scribbled over video 
  memory when you move your mouse, but who knows?
 
 That's the assumption I had (but I have no idea how to 'fix' it).  In 
 fact, if you could see it happen... it even looks like memory getting 
 allocated.  The blocks fill in left to right top to bottom (for the most 
 part).  First one block... then another.
 
  
  You should probably not expect replies to a non-trivial message in less 
  than 24-hours; 
 
 Sorry... my comment regarding the number of replies was a failed 
 attempt at humor.  I realize this is a bit of an odd one.
 
 My follow up to my own message was intended to introduce the new tidbit 
 of info I had found (XDMCP Chooser).

My hint is very bad (I had a problem once, and assume any problem with
gdm is the same). What is the value of the FirstVT option
in /usr/X11R6/etc/gdm/gdm.conf? Is that tty off in /etc/ttys?

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


Re: Help needed compiling printer source code

2006-04-25 Thread P.U.Kruppa

On Tue, 25 Apr 2006, Malcolm Fitzgerald wrote:


I'm trying to install a Brother HL-1230 printer.




Did you also have a look at
http://linuxprinting.org/show_driver.cgi?driver=hl1250fromprinter=Brother-HL-1230
?
I think you might be lucky: they have got a .ppd file there for you 
(Brother-HL-1230-hl1250.ppd ). Download it, put it into

 /usr/local/share/cups/model/
restart cups by
# /usr/local/etc/rc.d/cupsd restart
and try setup on http://localhost:631



No luck! Downloaded and installed the PPD. Cups can see it.
That is one success at least: it means a working driver is 
available.


I've set up a 
printer.


location: lpt0
Printer State: idle, accepting jobs
device URI: parallel:/dev/lpt0

Printing the test page does not work, the job is aborted with error: 
client-error-not-possible
The most probable reason for this is that some user permissions 
are set incorrectly. We have to analyze this step by step.

1) Try to print directly from the command line:
 # printf Hello World \f  /dev/lpt0
   If your printer is connected correctly to your parallel port,
   *something* should be printed out.

Uli.


malcolm

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




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


RE: No Buffer Space Available

2006-04-25 Thread fbsd
Your trying to run too many memory hungry applications at same time.
Tweaking the kernel is not going to help you. Adding more ram will.

Better to only run single network monitoring application at a time.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Yousef
Raffah
Sent: Monday, April 24, 2006 3:33 AM
To: freebsd-questions@freebsd.org
Subject: No Buffer Space Available


Hello..

Please forgive me for being quite new to FreeBSD...

I noticed while I'm trying to monitor my network from my laptop
while
running fragrouter -B1 and trying to monitor the connections coming
to
and going from another machine on the same network through ettercap
or
ethereal that I get a lot of No buffer space available messages as
following:

SEND L3 ERROR: 1500 byte packet (0800:06) destined to 192.168.1.4
was
not forwarded (libnet_write_raw_ipv4(): -1 bytes written (No buffer
space available)
)

I even was not able to nmap the other machine.

I was trying to run these test over my iwi0 card and I'm on FreeBSD
6.1-RC

While googling I found several posts about setting certain kernel
parameters with sysctl and stuff can help but I didn't really get
the
clear picture of the problem and how it can be resolved, if it is
considered a problem. Or is it the iwi0 doesn't handle much load?

Thanks in advance for any input


--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com



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


Re: help me

2006-04-25 Thread Bastian Kummer
Yousef Raffah wrote:
 On Tue, 2006-04-25 at 14:04 +0200, Suliman Alexandru wrote:
 yes i wanna buy a firma for internet and for more.  ips fand more 
 I wanna buy an owner shell  wen u understand me a firma ;)

 What is a firma?

Firma is the german word for company

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


Re: Horrible: Apache corrupting files?

2006-04-25 Thread Ben Paley
On Friday 21 April 2006 00:31, Alex de Kruijff wrote:
 On Thu, Apr 20, 2006 at 10:17:47AM +, Ben Paley wrote:
  Hello,
 
  I have Apache 2 running on FreeBSD 6.1-PRERELEASE on a laptop on a small
  office lan. Whenever one of the other machines (mostly Macs) makes a
  request for a certain page on my machine, it is delivered succesfully but
  the file itself is absolutely scrambled beyond recognition into a binary
  file. Subsequent requests rescramble it into a different but equally
  nonsense binary.
 
  I've looked with a binary editor and it really is completely messed up. I
  can restore the file from a good archive copy, but every time the same
  thing happens.
 
  The file was originally created on a mac by Flash (it's a 1.1k html file
  which just embeds a flash movie). Recently I copied it to and from a
  Solaris box via ftp from an Windows NT machine (although it wasn't opened
  afaik - a long story, clearly, which also involves a usb flash drive...).
 
  Anyone have any ideas? The file itself is inconsequential, but the fact
  of such blatant and relentless data corruption is very worrying to me! I
  don't know if it's the file or my system or some combination... I'd
  really appreciate some advice, I've been staring at it for two days and
  I'm starting to bite my nails...

 How about setting the permission so that the file can not be changed.
 Then access the file and see if a process complains about not being able
 to change the file?

 P.S. I find it hard to beleave apache2 does this. I run apache2 myself
 and don't have this.

I've set the permissions to 444 and I'm still seeing the same corruption, so 
it must be something running as root, or something quite low level. No 
console messages and I don't really know where to look for error logs - I 
think you're right and it's not apache.

I've started to notice some other strange corruptions - some php files seem to 
become binary on a remote machine, even though my local copies are fine. 
Perhaps it's the server... but we've never had this trouble before, and it 
seems a little too much like what's happening on my machine to be a 
coincidence. One file I tried uploading with two different gui ftp clients 
and via command line, in ascii, binary and auto mode, and again the same 
thing happened each time - my browser complained of unknown ascii characters 
and kate (text editor) told me it was a binary file even though it looked ok. 
I tried changing the encoding and that made no difference.

I am actually quite worried now. There seems to be something holding all these 
occurences together, but I can't quite work out what it is.

Does anyone have any ideas where to look? I'd really appreciate it!

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


AWT

2006-04-25 Thread Per Dahlstrøm
Hi FREEBSD

I am a happy user of FREEBSD, or rather I were happy but still a user.
Actually it is my WebHotel running FREEBSD, which I became aware of in a
not so pleasant way.

While developing my site I realised that I could not use Java AWT and
Swing packages. My Hotel supplier then informed me that AWT and Swing is
not available at the moment.

So, here is my question: Is it true?

If, yes. Are you nice guys thinking of making it available in the
future?

When is that future? (Fingers crossed)


Best Regards Per Dahlstrøm
*: [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: Firefox::::: ugh.

2006-04-25 Thread Gary Kline
On Tue, Apr 25, 2006 at 12:28:06PM +0400, Andrew Pantyukhin wrote:
 On 4/25/06, Gary Kline [EMAIL PROTECTED] wrote:
  If firefox is supposedly superior to every other browser,
  why, when it sees a realplayer smil file, does it pop up
  a rectangle with radio-button  options and a BROWSE button?
 
  I press BROWSE and another frame opens.  I click on X11R6 and
  eventually get to bin, and there the only file I see is
  xauth.  ...CCan anybody 'splain this?
 
 www/mplayer-plugin takes care of smil and many other
 media files.
 
Hm, I used this a year++ ago; pkg_deleted. Will try 
again, thanks.

gary



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

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


Re: Can't login via SSH

2006-04-25 Thread Kris Anderson


--- Jose Borquez [EMAIL PROTECTED] wrote:

 I attempt to establish an ssh connection to a remote
 server and I get 
 the following error:
 ssh_exchange_identification: Connection closed by
 remote host
 
 I have checked the hosts.allow file and Everything
 is allowed by 
 default.  What else can I check?
 Thanks in advance,
Jose,
hosts.allow is only half the story. Check your
hosts.deny. I am currently working on a script that
futzes with the hosts.deny file and occasionally
something happens in the file. I've tested and tested
and everytime I remove a particular line from
hosts.deny all is well. Go figure.

Not sure if your hosts.deny file has stuff in it, but
if it does make a backup of it then empty it out. You
should be able to connect. If you can connect then add
one line at a time to your hosts.deny then try
establishing a newly authenticated session  until you
can't. Oddly one of two things, you'll either get
blocked immediately or all works and at some later
time suddenly you can't connect.

Hope that helps in some way.

~Mr. Anderson

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


Re: Can't login via SSH

2006-04-25 Thread Daniel Bye
On Tue, Apr 25, 2006 at 09:20:38AM -0700, Kris Anderson wrote:
 
 
 --- Jose Borquez [EMAIL PROTECTED] wrote:
 
  I attempt to establish an ssh connection to a remote
  server and I get 
  the following error:
  ssh_exchange_identification: Connection closed by
  remote host
  
  I have checked the hosts.allow file and Everything
  is allowed by 
  default.  What else can I check?
  Thanks in advance,
 Jose,
 hosts.allow is only half the story. Check your
 hosts.deny. I am currently working on a script that
 futzes with the hosts.deny file and occasionally
 something happens in the file. I've tested and tested
 and everytime I remove a particular line from
 hosts.deny all is well. Go figure.
 
 Not sure if your hosts.deny file has stuff in it, but
 if it does make a backup of it then empty it out. You
 should be able to connect. If you can connect then add
 one line at a time to your hosts.deny then try
 establishing a newly authenticated session  until you
 can't. Oddly one of two things, you'll either get
 blocked immediately or all works and at some later
 time suddenly you can't connect.

For quite some time now, hosts.deny has been deprecated and its
functionality conflated with that of hosts.allow.  If you want to
maintain a separate file for denied addresses, it should be included in
your hosts.allow with the following syntax:

sshd : /etc/hosts.deniedssh : deny

The file /etc/hosts.deniedssh contains only valid hosts_options(5)
address specifications, which are expanded into the rule each time it is
checked.

Of course, the mere fact of hosts.deny's deprecation does not mean it
won't work, but in general, if you don't have an extant hosts.deny, you
are better off using the more modern, presumably better supported,
style rather than deliberately setting up an already obsolescent
configuration.

In your case, Kris, I can see that it should make your script rather
simpler to implement - you need only write addresses to the deny file,
rather than a more complete rule.  YMMV, and all that.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp3QvXCqvxgR.pgp
Description: PGP signature


Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity.....

2006-04-25 Thread Eric Schuele

Miguel Ramos wrote:

Ter, 2006-04-25 às 10:15 -0500, Eric Schuele escreveu:

Chuck Swiger wrote:

Eric Schuele wrote:
[ ... ]
OK... I can tell be the number of replies, everyone just rolled their 
eyes at me and figured I'm crazy.  But it really does occur.  :)


FWIW:
I have found that if I use the GDM provided XDMCP Chooser... that the 
problem immediately dissapears.


Anyone have any thoughts on this?
It sounds like something is causing data to get scribbled over video 
memory when you move your mouse, but who knows?
That's the assumption I had (but I have no idea how to 'fix' it).  In 
fact, if you could see it happen... it even looks like memory getting 
allocated.  The blocks fill in left to right top to bottom (for the most 
part).  First one block... then another.


You should probably not expect replies to a non-trivial message in less 
than 24-hours; 
Sorry... my comment regarding the number of replies was a failed 
attempt at humor.  I realize this is a bit of an odd one.


My follow up to my own message was intended to introduce the new tidbit 
of info I had found (XDMCP Chooser).


My hint is very bad (I had a problem once, and assume any problem with
gdm is the same). What is the value of the FirstVT option
in /usr/X11R6/etc/gdm/gdm.conf? Is that tty off in /etc/ttys?



Well, yes.  That is the case.  FirstVT=9 in gdm.conf.  I only have
ttyv0-ttyv4 set to on.  So I changed FirstVT to 4.  This had the
undesirable effect of causing GDM to be unresponsive to the keyboard
(mouse still worked).  Then I changed FirstVT to 5... keyboard now 
works. And the odd artifacts remained.


Did I not make the change you were proposing properly?  I don't believe 
this has any effect.


--
Regards,
Eric

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


Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity.....

2006-04-25 Thread Miguel Ramos

Ter, 2006-04-25 às 11:53 -0500, Eric Schuele escreveu:
 Well, yes.  That is the case.  FirstVT=9 in gdm.conf.  I only have
 ttyv0-ttyv4 set to on.  So I changed FirstVT to 4.  This had the
 undesirable effect of causing GDM to be unresponsive to the keyboard
 (mouse still worked).  Then I changed FirstVT to 5... keyboard now 
 works. And the odd artifacts remained.
 
 Did I not make the change you were proposing properly?  I don't believe 
 this has any effect.

No, =9 was ok, since you only use ttyv0-ttyv4. It would be wrong if =4,
as you experienced.
I'm out of clues. Sorry. I have no such problem. I can't imagine what
may be overwriting the framebuffer.

Miguel

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


Re: Help needed compiling printer source code

2006-04-25 Thread Robert Huff

P.U.Kruppa writes:

   Printing the test page does not work, the job is aborted with error: 
   client-error-not-possible

  The most probable reason for this is that some user permissions
  are set incorrectly. We have to analyze this step by step.

This jogs a memory.
What are the permissions on /var/spool/lpd?  I have a problem
where cups was unhappy with old forgotten permissions; after
some research (via Google), I changed it to 777 (eventually to 755)
and - voila!


Robert Huff






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


ipfilter rule will not load

2006-04-25 Thread Aaron Siegel
Hello
I cannot get ipfilter to load any rules. When I type in the iptest command I 
receive the following output:
[EMAIL PROTECTED]# ipftest
no rules loaded

I used the example found in the /usr/share/examples directory I am unable to 
load the firewall. I have tried to load the file though

# ipf -Fa -f /etc/ipf.rules

I have posted my configuration bellow

Thank you
Aaron




Kernel
#IPFILTER
options IPFILTER
options IPFILTER_LOG
#optionsIPFILTER_DEFAULT_BLOCK

/etc/rc.conf
ipfilter_enable=YES
ipfilter_rules=/etc/ipf.rules
ipmon_enable=YES
ipmon_flags=-Dsn
ipnat_enable=YES
ipnat_rules=/etc/ipnat.rules


/etc/syslog.conf
security.*  /var/log/ipfilter.log
security.info   /var/log/firewall.info
security.notice /var/log/firewall.notice
security.warning/var/log/firewall.warning
security.err/var/log/firewall.err
 
/etc/ipf.rules (small excerpt)# Allow in standard www function because I have 
apache server
pass in quick on dc0 proto tcp from any to any port = 80 flags S keep state
pass in quick on dc0 proto udp from any to any port = 80 keep state

# Allow access to the zope server 8080
pass in quick on dc0 proto tcp from any to any port = 8080 flags S keep state
pass in quick on dc0 proto udp from any to any port = 8080 keep state

# Allow in non-secure Telnet session from public Internet
# labeled non-secure because ID/PW passed over public Internet as clear text.
# Delete this sample group if you do not have telnet server enabled.
#pass in quick on dc0 proto tcp from any to any port = 23 flags S keep state
#pass in quick on dc0 porto udp from any to any port = 23 keep state


# Allow in secure FTP, Telnet, and SCP from public Internet
# This function is using SSH (secure shell)
pass in quick on dc0 proto tcp from any to any port = 22 flags S keep state
pass in quick on dc0 proto udp from any to any port = 22 keep state

# Block and log only first occurrence of all remaining traffic
# coming into the firewall. The logging of only the first
# occurrence stops a .denial of service. attack targeted
# at filling up your log file space.
# This rule enforces the block all by default logic.
block in log first quick on dc0 all

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


Re: AWT

2006-04-25 Thread John Nielsen
On Tuesday 25 April 2006 11:53, Per Dahlstrøm wrote:
 I am a happy user of FREEBSD, or rather I were happy but still a user.
 Actually it is my WebHotel running FREEBSD, which I became aware of in a
 not so pleasant way.

 While developing my site I realised that I could not use Java AWT and
 Swing packages. My Hotel supplier then informed me that AWT and Swing is
 not available at the moment.

 So, here is my question: Is it true?

FreeBSD supports Java and has for some time.  As far as I know, any JRE or JDK 
based on Java 1.4.2 or 1.5.0 will support both AWT and Swing.

A recent development made it much easier to obtain and run run native 
FreeBSD java packages, obviating the need in most cases to run a Linux binary 
and/or to compile the JDK from source.  See 
http://www.freebsdfoundation.org/downloads/java.shtml for more information.

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


Re: ipfilter rule will not load

2006-04-25 Thread Ron Wilhoite

On 4/25/2006 1:19 PM, Aaron Siegel wrote:

Hello
I cannot get ipfilter to load any rules. When I type in the iptest command I 
receive the following output:

[EMAIL PROTECTED]# ipftest
no rules loaded



man ipftest says:

At least one of -N, -P or -r must be specified.

Sounds like you want:

# ipftest -r /etc/ipf.rules

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


Screen Size

2006-04-25 Thread C M

I just installed 6.0 on a Dell c640.

I dont want to run X.

I have a nice little 600x480 screen within my 14.1 lcd.  How can I get the 
virtual console to take up the whole screen?


_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: PXE boot jumpstarting

2006-04-25 Thread Erik Nørgaard
Matthias Fechner wrote:
 Hello Erik,
 
 * Erik Nrgaard [EMAIL PROTECTED] [25-04-06 00:19]:
   http://www.daemonsecurity.com/pub/pxeboot
 
 is it possible, that the side is down?
 I got always:
 Connection to 81.33.11.59 Failed

Server went down, power failure I think, at 9.XXam and I wasn't home to
put it back up.

Erik

-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt
Subject ID:  69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Screen Size

2006-04-25 Thread Kris Anderson


--- C M [EMAIL PROTECTED] wrote:

 I just installed 6.0 on a Dell c640.
 
 I dont want to run X.
 
 I have a nice little 600x480 screen within my 14.1
 lcd.  How can I get the 
 virtual console to take up the whole screen?
Poked about and found vidcontrol.

That might be able to do what you need.

Hope that helps.


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


Re: Screen Size

2006-04-25 Thread Mike Hunter
On Apr 25 at 18:04, C M wrote:

 I just installed 6.0 on a Dell c640.
 
 I dont want to run X.
 
 I have a nice little 600x480 screen within my 14.1 lcd.  How can I get the 
 virtual console to take up the whole screen?

A lot of times there's a wacky function-??? key combination that zooms
your console screen to take up the whole LCD.  Check your manual and/or
bios settings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PXE boot jumpstarting

2006-04-25 Thread Heliocentric
On 4/25/06, Vahan Yerkanian [EMAIL PROTECTED] wrote:
 While we are on the subject, is it possible to setup a FreeBSD PXE
 server that lets you netboot different OSes from iso images via a boot
 menu? I know it's possible with linux [1] [2]. Could be useful in labs
 where you use different OSes and want to minimize cd/dvd clutter.
yes. in fact, most of the steps are exactly the same; the only
difference is that you need to download syslinux itself, as I don't
think it's in the ports tree.

As a general rule, if the platform can install a dhcp server with the
pxeboot options, and a basic tftp server, it can pxeboot anything you
want it to. Now, this doesn't mean that what you pxeboot will be able
to get auxillary files it needs off the server, but that's to be
expected, and planned for (that's why the next server option is there,
after all!).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


New Release on Cooking Basics from Maran Illustrated!

2006-04-25 Thread Thomson Course Technology

Maran Illustrated Update from Thomson Course Technology - April 2006

Unlike any other books in the market, Maran Illustrated™ books combine 
instruction and full color photographs or screen shots in a unique way to 
provide the best learning experience.  Each book is handcrafted, each 
photograph and screen shot analyzed and each sentence written and re-written to 
meet the Maran's high standards.
 
Maran Illustrated Cooking Basics 
maranGraphics Development Group 
1-59863-234-5

Maran Illustrated Bartending 
maranGraphics Development Group 
1-59200-944-1
 
For more information, to see the tiles available, and to order online:
http://emarketing.delmarlearning.com/apr06_MediaArts_Maran_update.html 

For Customer Service  Orders: 1-800-354-9706
SC: EMMAD046PJ

*If you can't click on the above link, please copy the URL into your browser.


Thank you for your interest in Thomson Course Technology

This is information from:
Thomson Course Technology, a part of the Thomson Corporation.
25 Thomson Place, Boston, MA 02210
1-800-354-9706







Powered by Informz   http://www.informz.com

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


New Logo Font (Energist)

2006-04-25 Thread Matthew Holder
Will the font from the new logo be available for download as TTF, Type1, 
or in a vector format?

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


Re: Screen Size

2006-04-25 Thread Bob Goodman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I just installed 6.0 on a Dell c640.

I dont want to run X.

I have a nice little 600x480 screen within my 14.1 lcd.  How can I
get the
virtual console to take up the whole screen?

Use vidcontrol -i mode to list modes then set the one you like.
You could also compile the new kernel with

options VESA
options SC_PIXEL_MODE

to use hi-res modes in console,
and probably add

options SC_NORM_ATTR=(FG_LIGHTGREEN|BG_BLACK)
options SC_NORM_REV_ATTR=(FG_BLACK|BG_GREEN)

options SC_KERNEL_CONS_ATTR=(FG_WHITE|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_GREEN)

to have cool green text on black background :)

Hope this helps
Bob Goodman


-BEGIN PGP SIGNATURE-
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5

wkYEARECAAYFAkROkA8ACgkQAQ09syE0bn7xnACfVGND4UlWGGjlKpNwWKhvbPDdgRwA
nRkwi1OA7lUTADSg/pU9ldN8F224
=60cA
-END PGP SIGNATURE-




Concerned about your privacy? Instantly send FREE secure email, no account 
required
http://www.hushmail.com/send?l=480

Get the best prices on SSL certificates from Hushmail
https://www.hushssl.com?l=485

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


top on freebsd and wired memory

2006-04-25 Thread kapil jain
Hi,
 
 I have a question, top on freebsd displays active, inactive and wired memory.
 Since kernel memory has to be non-pageable isn't it that user process resident 
memory should be active + inactive?
 However I see some discrepancy. For eg. active is 34M, inactive 116M.
 top -s 100 gives me resident sizes of all processes, if I sum them up it comes 
to about 75M. So where is the rest of 116+34-75 = 75M?
 
 thanks
 kapil
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Purchasing the correct hardware: dual-core intel? Big cache?

2006-04-25 Thread Michal Mertl
Bill Moran wrote:
   
I've been asked to make some hardware recommendations, I'm hoping some
folks on the list can make some suggestions.
   
We're looking hard at getting either Intel dual-core procs, or getting
hyperthreaded procs with huge (8M) caches.
   
We currently have a few dual proc Intel HT machines that we can test
out our workload on, and I'm trying to get a feel for how to determine
if a larger cache size will generate better performance than replacing
HT procs with full-blown dual-core procs.  We're looking at the 6850
from Dell, which supports both processor families:

I can't answer your question either but I'd like to raise a couple of
questions. If I won't help you I would at least (I hope) learn a little
from reactions :-).

As far as I know Intel boxes scale quite badly to larger SMP
configurations because of at least partially shared FSB which limits
memory throughput and which is also consumed great deal by cache
coherency maintenance traffic I believe. Dual core may help a little I
suppose (I would expect that Intel engineers made memory snooping a
little more efficient when accesses are going through one piece of
silicon (e.g. the cache coherency traffic's pressure on FSB should be
lower between the cores on the same die in comparison to separate
cores)). As you may have guessed by now I think that there's some
possibility that you would get better performance with AMD Opteron based
solution (I know that Dell doesn't normally sell it though) which
probably scaler better or even something more exotic (Sun Hardware -
UltraSparc, T processors).

Even when there isn't pressure on the I/O hardware in your case you may
have suboptimally configured PostgreSQL. I believe that PostgreSQL
processes do not tend to grow much (at least in comparison to other
RDBMS engines). I think that the explanation by psql people is that the
huge amounts of memory other engines are using is often used for caching
the data and that they (psql) believe that the operating system should
be doing that (otherwise you waste memory on caching both in the OS and
in the application). With huge databases you should at the end become
I/O bound (or at least there must be big I/O traffic) and then I would
agree with psql people that there's not much point replicating OS
caching in the DB engine. But if crucial parts of working data fit into
the memory I would expect that storing them in process should be
beneficial. I expect there must be at least a little data verification
and shuffling before psql uses the pages from the DB files. Maybe the
amount of this work is negligible with real disk I/O, but it may play
some role when no real disk I/O is involved. Another explanation why
PostgreSQL doesn't grow much may be that they use a lot of shared memory
and this is in general probably rather scarce resource (at least the
users have to configure something rather low-level to have it up and
running). What are your needs regarding the SQL engine anyway? Can't the
needs be fulfilled by something other than PostgreSQL? I hate to say
that, but possibly MySQL? Or can Firebird be better? I don't know
firebird much but I think that it is quite full-featured and although it
isn't such widespread it has great performance at least in some
benchmarks. What about the operating system? I haven't seen FreeBSD
mentioned in your question but I suppose you are running it (because you
write to a FreeBSD ML). What about Linux? (Open)Solaris? I think when
you are in such big need for performance you shouldn't try just one
solution. We (FreeBSDers) would of course like to help you to get the
best performance from our favorite OS but maybe you will help make
FreeBSD better if you find your application runs considerably better on
something else and someone may later find the reason.

Last I would like to only express my belief that bigger cache may in
fact help you but that nobody can probably say it in advance.


Regards

Michal

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


Security Run Output

2006-04-25 Thread Bryan Curl
I get this or similar message in my Security Run Output every day.

Is it something to be concerned with?

lnut.bc.net ipf denied packets:
+++ /tmp/security.FsPOiq0v  Fri Apr 21 03:03:51 2006
+1 @4 block out log first quick on dc0 all
+47571 @14 block in log first quick on dc0 all


--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: top on freebsd and wired memory

2006-04-25 Thread Erik Trulsson
On Tue, Apr 25, 2006 at 02:35:54PM -0700, kapil jain wrote:
 Hi,
  
  I have a question, top on freebsd displays active, inactive and wired memory.
  Since kernel memory has to be non-pageable isn't it that user process
  resident memory should be active + inactive?

No.  'Inactive' can (and usually does) include memory that was used by
processes that are no longer running.


  However I see some discrepancy. For eg. active is 34M, inactive 116M.
  top -s 100 gives me resident sizes of all processes, if I sum them up it
  comes to about 75M. So where is the rest of 116+34-75 = 75M?

Keep in mind that the resident size of a process (as displayed by top(1) or
ps(1)) includes any shared libraries it is using.
Memory for shared libraries can however be shared between several different
processes.  If you have several instances of the same program running at the
same time their codepages are usually shared.

This means that the total memory used by a set of processes is usually
*less* then the sum of their size as displayed by ps(1) or top(1).



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cloning boot drive - more details

2006-04-25 Thread nthwaver
My system partitions (/, swap, /usr, /var, /home) are currently spread
onto a 10GB and a 20GB IDE drive, but I'd like to save space by
consolidating these along with some (not heavily accessed) data
partitions into a larger 250GB disk.  The other drives (at this point
a couple of SATA in RAID0) should be unaffected.  I'm a relative
newbie and although I've read the handbook and the past months'
threads regarding cloning, I still have a few questions.

1) Am I correct in understanding that I can simply connect the new
drive to a spare IDE controller and boot from the old disk, using
sysinstall to make the new partitions and give them temporary mount
points (choosing yes to install bootmanager), then dump | restore to
move each FS, and simply take out the old drives and switch over to
the new one?  Will this boot and run seamlessly?  At what point should
I edit the old /etc/fstab that was copied over?  If I *can* do this,
then what are the benefits of doing a fresh install on the new drive
first?

2) If I dump | restore from a *running* system, will the resulting
clone be confused when it's booted up?  Are any crucial changes or
balancing acts made upon shutdown that the new drive will miss?  Or,
is its main purpose fulfilled when it's loaded into memory on boot?

3) The handbook also recommends using boot0config, but how necessary
is this if I just plan on simply replacing the original drive?

4) How are the prospects of data recovery affected by FreeBSD's use of
slices for filesystems on top of partitions?  Experience tells me
that with traditional partitions, a corrupted file tree or data in one
area needn't prevent retreival of the other areas.  Is this so with
slices as well?

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


Perl: sort string alphabetically, or remove dupe chars?

2006-04-25 Thread Nikolas Britton
basically what I want to do:

my @wordlist = (letter, remember, alphabetically);
## some whizbang code that changes words like
## letter to eelrtt, remember to beeemmrr,
## and alphabetically to aaabcehilllpty.
@foobar =~ tr///cs; #hmm, doesn't work.
print @wordlist\n;

Hmm, that's broke, how about this:

my $wordlist = letter;
## some whizbang regex that removes dupe chars
## from words like alphabetically -- alphbeticy.
print $wordlist\n;


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


Bind as a chaching nameserver

2006-04-25 Thread Richard Collyer

Hello,

I've recently been getting a lot of trouble with SpamAssassin performing 
a lot of rDNS lookups which is causing network issues (timeouts etc to 
DNS servers).


I am trying to install BIND (or djbdns) as a simple caching nameserver. 
Just to take some of the load off the networks DNS servers (my ISPs).


However I am having trouble finding a good tutorial to follow.

I've looked at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html 
but its mainly going on about being a nameserver which is not what I am 
after, wanting to keep it more simple than that.


[EMAIL PROTECTED]:/usr/local/etc] $ named -v
BIND 9.3.1

Can anyone suggest me a good tutorial to follow, I've googled but mostly 
they are for debain/redhat and some of the commands and files are different.


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


Re: Horrible: Apache corrupting files?

2006-04-25 Thread Ben Paley
On Tuesday 25 April 2006 17:19, Dominique Goncalves wrote:

 What version of apache are you using?

apache-2.0.55_4

 I've already see corruption file when I was tried to share xml podcast
 between my FreeBSD 6.1 and Sony PSP, with Apache 2.2.0

 $ ls -l test.xml
 -r--r--r--  1 dom  dom  5725 Mar 11 17:47 test.xml

 before download
 $ md5 test.xml
 MD5 (test.xml) = 25ed4336e8906e64bd05ebea990d29a0

 after download
 $ md5 test.xml
 MD5 (test.xml) = ef0918bc4f7aa323eb6c41768092488e

 And after each access the MD5sum change ...

This sounds exactly like what is happening to me. Does it happen to every 
file, or just a few? Or just one?

If the problem is Apache, though, it doesn't explain the other problems I've 
been having, like the corrupted ftp uploads. Perhaps they are unrelated? Or 
perhaps Apache is not the problem?

Or maybe I've been cursed for having an operating system of which the logo is 
a devil ;-)

 Try to ask directly on the freebsd-apache mailing list.

OK, I'll try that too, thanks for the tip.

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


Re: Bind as a chaching nameserver

2006-04-25 Thread Derek Ragona
For a caching nameserver simply follow the instructions in 
named.conf.  Enable named in rc.conf, and start the daemon.


-Derek


At 05:50 PM 4/25/2006, Richard Collyer wrote:

Hello,

I've recently been getting a lot of trouble with SpamAssassin performing a 
lot of rDNS lookups which is causing network issues (timeouts etc to DNS 
servers).


I am trying to install BIND (or djbdns) as a simple caching nameserver. 
Just to take some of the load off the networks DNS servers (my ISPs).


However I am having trouble finding a good tutorial to follow.

I've looked at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html 
but its mainly going on about being a nameserver which is not what I am 
after, wanting to keep it more simple than that.


[EMAIL PROTECTED]:/usr/local/etc] $ named -v
BIND 9.3.1

Can anyone suggest me a good tutorial to follow, I've googled but mostly 
they are for debain/redhat and some of the commands and files are different.


Cheers
Richard
___
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: Help needed compiling printer source code

2006-04-25 Thread Malcolm Fitzgerald



I've set up a printer.

location: lpt0
Printer State: idle, accepting jobs
device URI: parallel:/dev/lpt0

Printing the test page does not work, the job is aborted with error: 
client-error-not-possible
The most probable reason for this is that some user permissions are 
set incorrectly. We have to analyze this step by step.

1) Try to print directly from the command line:
 # printf Hello World \f  /dev/lpt0
   If your printer is connected correctly to your parallel port,
   *something* should be printed out.


as user I get cannot create /dev/lpt0: Permission denied
as root I get a blank page

malcolm

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


Re: Help needed compiling printer source code

2006-04-25 Thread Malcolm Fitzgerald


On 26/04/2006, at 3:15 AM, Robert Huff wrote:



P.U.Kruppa writes:


Printing the test page does not work, the job is aborted with error:
client-error-not-possible


 The most probable reason for this is that some user permissions
 are set incorrectly. We have to analyze this step by step.


This jogs a memory.
What are the permissions on /var/spool/lpd?  I have a problem
where cups was unhappy with old forgotten permissions; after
some research (via Google), I changed it to 777 (eventually to 755)
and - voila!


Presently it is 755


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


Wanted: Flash player for browser_of_choice....

2006-04-25 Thread Chris Maness

Chris Maness wrote:



--- Robert Huff

 Svein Halvor Halvorsen writes:

   I was pointed in this direction by their customer
 support:

http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishformprod... 
http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishformproduct=15 



I just did mine.

First I think we need to get FreeBSD added to the
choices under Operating Systems, I don't think Freebsd
falls under the category of Linux or Unknown.

~Mr. Anderson

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_ 

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


Re: OT: Domain Registration

2006-04-25 Thread martin mccann
On Tuesday 25 April 2006 12:44, [EMAIL PROTECTED] wrote:
 Hi All,

I know this is off topic, but I can't think of a good place to ask this
 where knowledgable people will answer, and this list usually has a high
 tolerence of ot but technical questions (plus I will be using a FreeBSD
 server, so it is not _entirely_ OT :)

I'm looking to setup my server as a domain name server. I already have
 it setup for internal use, but last time when I tried to have the
 internet at large using it, I had real trouble explaining to my ISP
 that I wanted my server as the main domain controller, the best they
 could do was pointing www.domain to my server. They wern't even
 able/willing to point the mx record directly to my server, it goes
 through their relay first.

It has done the job so far, and there is really no reason why I can't
 manage with this, but I am getting a new domain and would like to get
 it all sorted out the way I would like (my main justification for
 hosting it myself is the flexibility to add on sub-domains and such,
 but the real reason is that I am a control freak and like to tinker).

   I assume what should happen is

   - I buy a domain from registrar X
   - X sets that domain to point to my dns server as the master server
   - X hosts a secondary dns server
   - I can then add subdomains to my domain which will directly
 propagate on the internet, set the various MX and ilk to whatever I
 want etc. without having to contact a 3rd party

   My further assumptions are
   - The secondary server will either update from my server directly OR
 I will need to contact X to add anything new for me.

   My questions are -
  a) Are my assumptions correct?
  b) What would be the best way to explain this to a phone drone?
  c) Can anyone recommend a good registrar that will be able to set
 this up with minimum fuss (and cost)?
  d) Are there any good reasons not to do it this way (remember, this
 is not a mission critical setup, and its main purpose is to tinker)


 Regards,
 Martin McCann


Thanks for all the input - I decided to go with the suggested registrar 
gandi.net, I picked my domain, and paid the 14 euros fee. It set up 
automatically with its own dns servers and pointing to its own hosting 
address. After that, it was a very simple process of logging in, entering  my 
server as the primary dns server, plus its suggested secondary, and after a 
period of time (less than 8 hours) voila, it is all working. I now have 
everything working the way I want and it took very little effort.

I need to do a few more checks to make sure I havn't overlooked anything, but 
it all looks grand atm - if you are looking for a no nonsence, just give me 
what I want type of setup, I would highly recommend them. I'm now going to 
transfer my origional domain over to them and get that setup to my tastes 
too. I think I may also consider taking a backup of my server setup ... :) 

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


Re: Perl: sort string alphabetically, or remove dupe chars?

2006-04-25 Thread Nikolas Britton
On 4/25/06, Nikolas Britton [EMAIL PROTECTED] wrote:
 basically what I want to do:

 my @wordlist = (letter, remember, alphabetically);
 ## some whizbang code that changes words like
 ## letter to eelrtt, remember to beeemmrr,
 ## and alphabetically to aaabcehilllpty.
 @foobar =~ tr///cs; #hmm, doesn't work.
 print @wordlist\n;

 Hmm, that's broke, how about this:

 my $wordlist = letter;
 ## some whizbang regex that removes dupe chars
 ## from words like alphabetically -- alphbeticy.
 print $wordlist\n;


This works... but it's clunky:

my $string = letter;
my @chars = split(, $string);
$string = ; @chars = sort (@chars);
foreach (@chars) {
$string .= $_;
}
$string =~ tr///cs;
print $string;


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


Re: account maintenance and verification ( Your account is suspended )

2006-04-25 Thread wc_fbsd

WHY does this mailing list allow non-subscribed addresses to post ?!?!?!?!?

At 08:38 PM 4/25/2006, Some Low Life Spammer / Scammer wrote:

   PayPal Security Measures!
   In accordance with PayPal's User Agreement and to ensure that your

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


web interface for sendmail admin

2006-04-25 Thread David Banning
Wondering if anyone knows of a web-based administration that works
with sendmail administration - adding and deleting accounts. 

I have clients that are always calling and having me add and delete
accounts - I was toying with the idea of them do it for themselves.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IP Filter

2006-04-25 Thread Bradford Fisher
Recently I acquired Michael Lucas's AbsoluteBSD.  And while it was
written for FreeBSD version 4.x, I figured that I would follow along
with it in hopes that I could apply some of his discussed topics to my
FreeBSD 6.0 setup as I began learning about the operating system and the
administration of a webserver.
 
However, upon entering the section regarding IP Filter, I have come
across a couple differences and had some trouble.  The differences lie
with how IP Filter was implemented.  Where Lucas discussed compiling IP
Filter directly into the kernel, the handbook mentioned the pre-compiled
version of IP Filter into the base operating system and how to enable it
through rc.conf.  (I have tried both and now believe that the error is
not in how I enabled IP Filter, but in the rules themselves)
 
Currently, I have FreeBSD 6.0 p7 running with the GENERIC kernel.  In
rc.conf, I have set the options: ipfilter_enable=YES,
ipfilter_rules=/etc/ipf.rules, ipmon_enable=YES, ipmon_flags=-Ds .
 
I then proceeded to configure /etc/ipf.rules as follows:
# IP Filter Rules File
# Block Garbage
block in log quick from any to any with ipopts
block in log quick proto tcp from any to any with short
 
# System Loopback Interface
pass in quick on lo0 all
pass out quick on lo0 all
 
# Outbound Traffic
pass out on vr0 all head 100
block out from 127.0.0.0/8 to any group 100
block out from any to 127.0.0.0/8 group 100
block out from any to my.ip.address/32 group 100
 
# Inbound Traffic
block in on vr0 from any to any head 200
block in from 127.0.0.0/8 to any group 200
block in from 192.168.254.50/32 to any group 200
pass in quick proto tcp from any to any port = www keep state group 200
pass in quick proto tcp from any to any port = pop3 keep state group 200
pass in quick proto tcp from any to any port = smtp keep state group 200
pass in quick proto tcp from any to any port = 22 keep state group 200
(have also added flags S/SA with no luck)
block return-rst in log proto tcp from any to any flags S/SA group 200
block return-icmp(net-unr) in proto udp all group 200
 
---
 
As I do not have a webserver installed and configured at the time nor a
mailer daemon configured, I have not tested the www, pop3, or smtp rules
yet, but I do use SSH frequently and have found that with the above
ruleset enabled, I cannot get connected.  The weird part is that when I
open the SSH client, I get a prompt for my username, but after sending
the username, my connection times out before receiving the second prompt
for my password (this does not happen when I have IP Filter disabled).
 
I believe that the line block in on vr0 from any to any head 200 is
the culprit responsible for my troubles, but can't figure out why it
would be a problem since I have specifically stated a pass statement for
the SSH.
 
I hope that someone will be able to take a look at my ruleset and figure
out what my problem is.  And if at all possible, a brief explanation as
to why.  My whole goal with this project is to learn about the operating
system and administration. =)
 
I also realize that IP Filter is probably becoming a deprecated
technology new solutions are coming into play (I'm mainly using IP
Filter as a means to get my feet wet as I follow along with Lucas).
However, it anyone has any suggestions as to what packet filtering
technology to deploy and configure, I'm more than willing to take a
look!
 
Thanks for your time - Bradford Fisher
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: top on freebsd and wired memory

2006-04-25 Thread kapil jain
Thanks Erik.
 
 Yes, the shared memory in this case is double counted, which means more than 
75M is unacccounted for. 
 So if I understand correctly, the resident set size of all processes
 would be:  active  RSS  active + inactive?
 And all the kernel memory is included in the wired part (there may be some user
 space memory there if it is mlocked), none is in active or inactive.
 
 
Erik Trulsson [EMAIL PROTECTED] wrote: On Tue, Apr 25, 2006 at 02:35:54PM 
-0700, kapil jain wrote:
 Hi,
  
  I have a question, top on freebsd displays active, inactive and wired memory.
  Since kernel memory has to be non-pageable isn't it that user process
  resident memory should be active + inactive?

No.  'Inactive' can (and usually does) include memory that was used by
processes that are no longer running.


  However I see some discrepancy. For eg. active is 34M, inactive 116M.
  top -s 100 gives me resident sizes of all processes, if I sum them up it
  comes to about 75M. So where is the rest of 116+34-75 = 75M?

Keep in mind that the resident size of a process (as displayed by top(1) or
ps(1)) includes any shared libraries it is using.
Memory for shared libraries can however be shared between several different
processes.  If you have several instances of the same program running at the
same time their codepages are usually shared.

This means that the total memory used by a set of processes is usually
*less* then the sum of their size as displayed by ps(1) or top(1).



-- 

Erik Trulsson
[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: Perl: sort string alphabetically, or remove dupe chars?

2006-04-25 Thread Parv
in message [EMAIL PROTECTED],
wrote Nikolas Britton thusly...

 On 4/25/06, Nikolas Britton [EMAIL PROTECTED] wrote:
  basically what I want to do:
...
  my $wordlist = letter;
  ## some whizbang regex that removes dupe chars
  ## from words like alphabetically -- alphbeticy.
  print $wordlist\n;
...
 This works... but it's clunky:
 
 my $string = letter;
 my @chars = split(, $string);
 $string = ; @chars = sort (@chars);
 foreach (@chars) {
 $string .= $_;
 }
 $string =~ tr///cs;
 print $string;

You could combine some of the steps ...

  my $string = 'letter';
  $string = join '' , sort split '', $string;
  $string =~ tr///cs;
  print $string;


... another but rather clunky version is ...

  my $string = 'letter';
  {
my %string;
@string{ split '' , $string } = ();
$string = join '' , sort keys %string;
  }
  print $string;


  - Parv

-- 

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


How to verify speed of a 1Gb/s network?

2006-04-25 Thread Rob
Hi,

How can I verify that a 1Gb/s network is indeed
operating at its optimal speed? I tried this:

[master]$ ping -s 65507 node
65515 bytes from node: icmp_seq=0 ttl=64 time=1.97 ms
65515 bytes from node: icmp_seq=1 ttl=64 time=1.95 ms
65515 bytes from node: icmp_seq=2 ttl=64 time=1.94 ms
65515 bytes from node: icmp_seq=3 ttl=64 time=1.97 ms

(I tried many times, over a long period of time
to get these typical values).
From this I conclude that it takes about 1.95 ms
for 65515 x 8 bits to go forth and back between
master and node.

Ideally, on a 1Gbit/s network, the time should be:
  65515 x 8 x 2 / (10243) = 0.98 ms
(x 2 for the roundtrip signal forth and back
and 10243 is the 1G of the network)

May I now conclude that the real-time is about
two times the ideal-time? I wonder if this indicates
a problem of the network?
And is this a proper test of this Gbit/s network?

Thanks,
Rob.

PS: I verified my calculation method for two
computers here on a 100Mbit/s network, from which
I get:
   time with ping: 12.4 ms
   ideal calculated time: 10 ms
which is an acceptable difference.


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


re: caching nameserver

2006-04-25 Thread Denis R.
Check the DJBDNS author's site: http://cr.yp.to/djbdns.html

The instructions are simple. If there is a lot of name resolutions
happening on the web server itself, install dnscache on the localhost.

My advice to you is to avoid BIND. It is too complicated for your needs.

Regards!



At 05:50 PM 4/25/2006, Richard Collyer wrote:
Hello,

I've recently been getting a lot of trouble with SpamAssassin performing a
lot of rDNS lookups which is causing network issues (timeouts etc to DNS
servers).

I am trying to install BIND (or djbdns) as a simple caching nameserver.
Just to take some of the load off the networks DNS servers (my ISPs).

However I am having trouble finding a good tutorial to follow.

I've looked at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
but its mainly going on about being a nameserver which is not what I am
after, wanting to keep it more simple than that.

[EMAIL PROTECTED]:/usr/local/etc] $ named -v
BIND 9.3.1

Can anyone suggest me a good tutorial to follow, I've googled but mostly
they are for debain/redhat and some of the commands and files are different.

Cheers
Richard


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


Re: How to verify speed of a 1Gb/s network?

2006-04-25 Thread Chad Leigh -- Shire.Net LLC


On Apr 25, 2006, at 9:16 PM, Rob wrote:


Hi,

How can I verify that a 1Gb/s network is indeed
operating at its optimal speed? I tried this:

[master]$ ping -s 65507 node
65515 bytes from node: icmp_seq=0 ttl=64 time=1.97 ms
65515 bytes from node: icmp_seq=1 ttl=64 time=1.95 ms
65515 bytes from node: icmp_seq=2 ttl=64 time=1.94 ms
65515 bytes from node: icmp_seq=3 ttl=64 time=1.97 ms

(I tried many times, over a long period of time
to get these typical values).

From this I conclude that it takes about 1.95 ms

for 65515 x 8 bits to go forth and back between
master and node.

Ideally, on a 1Gbit/s network, the time should be:
  65515 x 8 x 2 / (10243) = 0.98 ms
(x 2 for the roundtrip signal forth and back
and 10243 is the 1G of the network)

May I now conclude that the real-time is about
two times the ideal-time? I wonder if this indicates
a problem of the network?
And is this a proper test of this Gbit/s network?

Thanks,
Rob.

PS: I verified my calculation method for two
computers here on a 100Mbit/s network, from which
I get:
   time with ping: 12.4 ms
   ideal calculated time: 10 ms
which is an acceptable difference


I would suspect that a ping is not a valid test as it does not test  
throughput and the send and reception phases have a large influence  
on the out come.  Ie, the time for the send and reception to take  
place is long enough compared to the fast network that the results  
are skewed.  Try an ftp or other non-encrypted data transfer with a  
large enough file that the startup and wind-down won't affect and  
skew it.  Probably still not a definitive test


btw, here is a test of my gbit network using your ping test

15 packets transmitted, 15 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.128/0.227/0.342/0.061 ms


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


How to re-compile gcc?

2006-04-25 Thread snnn

There is no Makefile under /usr/src/contrib/gcc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


re: caching nameserver

2006-04-25 Thread Yance Kowara
http://www.lifewithdjbdns.com/#dnscache

is easy to follow too.

--- Denis R. [EMAIL PROTECTED] wrote:

 Check the DJBDNS author's site:
 http://cr.yp.to/djbdns.html
 
 The instructions are simple. If there is a lot of
 name resolutions
 happening on the web server itself, install dnscache
 on the localhost.
 
 My advice to you is to avoid BIND. It is too
 complicated for your needs.
 
 Regards!
 
 
 
 At 05:50 PM 4/25/2006, Richard Collyer wrote:
 Hello,
 
 I've recently been getting a lot of trouble with
 SpamAssassin performing a
 lot of rDNS lookups which is causing network issues
 (timeouts etc to DNS
 servers).
 
 I am trying to install BIND (or djbdns) as a simple
 caching nameserver.
 Just to take some of the load off the networks DNS
 servers (my ISPs).
 
 However I am having trouble finding a good tutorial
 to follow.
 
 I've looked at

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
 but its mainly going on about being a nameserver
 which is not what I am
 after, wanting to keep it more simple than that.
 
 [EMAIL PROTECTED]:/usr/local/etc] $ named -v
 BIND 9.3.1
 
 Can anyone suggest me a good tutorial to follow,
 I've googled but mostly
 they are for debain/redhat and some of the commands
 and files are different.
 
 Cheers
 Richard
 
 
 ___
 freebsd-questions@freebsd.org mailing list

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


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


Re: When 5.5-stable?

2006-04-25 Thread Chris
On 24/04/06, Gary Kline [EMAIL PROTECTED] wrote:
About a week ago I finally upgraded my DNS server from 5.3-S
to 5.5.  I see that I still caught a -prerelease kernel.
Any ETA of when 5.5 will be -stable?   (Most of my other
FBSD server can be not quite//less than stable.  But if my
DNS srver bites the dust,   )

Also, is 5.5 the LAST of the 5's?

thanks for some clues,

gary


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


yeah I like to have STABLE tag this is the longest prerelease stage I
have witnessed since I started using fbsd, I suspect 5.5 is delayed
because of the 6.1 delay and all the dev's are working on 6.1 so 5.5
is just in limbo.

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


Re: web interface for sendmail admin

2006-04-25 Thread Dimitar Vasilev
Webadmin may work.
If you have the time, you could intergrate sendmail with OpenLDAP or
other LDAP servers such as Fedora/Redhat Directory Server
Search 
http://www.google.com/search?client=operarls=enq=openldap+%2B+gui%2Badministrationsourceid=operaie=utf-8oe=utf-8
for a choice
Regards,

2006/4/26, David Banning [EMAIL PROTECTED]:
 Wondering if anyone knows of a web-based administration that works
 with sendmail administration - adding and deleting accounts.

 I have clients that are always calling and having me add and delete
 accounts - I was toying with the idea of them do it for themselves.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]