Re: Monitoring CPU temperature: mbmon shows 201 degrees C

2008-07-29 Thread Achilleas Mantzios
Just to summarize (after 5.5 days of uptime), i'd like to recap on what 
happened next.
I burned the SiS 651 based motherboard, while memtesting, and i replaced it 
with 
a new Asrock, Intel 82865G based motherboard.
All run fine, no panics, no unexpected segfaults.
It seems that the old SiS was fine until i fitted the kodicom4400 on the PCI 
bus, 
when all the problems started.
Now at idle i can get CPU temps as low as 35 deg Celsious, altho it turned out 
that was not my problem
in the first place.

Thank you all for your help.
Manoli Euxaristw!
-- 
Achilleas Mantzios
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitoring CPU temperature: mbmon shows 201 degrees C

2008-07-29 Thread Manolis Kiagias

Achilleas Mantzios wrote:

Just to summarize (after 5.5 days of uptime), i'd like to recap on what 
happened next.
I burned the SiS 651 based motherboard, while memtesting, and i replaced it with 
a new Asrock, Intel 82865G based motherboard.
  


Hey, I have three of these! One of them is running www.freebsdgr.org
I've never had problems with this mobo and FreeBSD.


All run fine, no panics, no unexpected segfaults.
It seems that the old SiS was fine until i fitted the kodicom4400 on the PCI bus, 
when all the problems started.

Now at idle i can get CPU temps as low as 35 deg Celsious, altho it turned out 
that was not my problem
in the first place.

  
An average of 35-37 is my usual idle temperature too 
(www.freebsdgr.org/status.php)



Thank you all for your help.
Manoli Euxaristw!
  

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


Re: No controller detected when boot FreeBSD 7.0

2008-07-29 Thread vardyh

Matthew Seaman wrote:

vardyh wrote:

Hi all.
I'm a newbie to FreeBSD. I added
   'console=comconsole'
to /boot/loader.conf and I got
   'hptrr: no controller detected.'
on the next boot. I didn't change anything else except for the 
'console=xxx'.

And I had had no problem before that. Could anyone tell me why?
I will very appreciate for your help :


This is just the driver for the HighPoint Rocket Raid controller being
a bit too verbose.  It's detected that you don't have anything compatible
with hptrr(4) and (unlike the usual behaviour of most Raid Controller
drivers (or drivers for any sort of hardware really)) it considers 
this fact to be of such vital importance that it really had to print out
something on the console.  Needless to say such behaviour has already 
been quashed in 7-STABLE and will not appear in 7.1-RELEASE.


In other words, it's harmless and you can just ignore it. 
I suspect that this output wasn't actually triggered by your changing

the console setting -- there's no conceivable way changing one should
affect the other -- but that changing the way the boot messages are 
displayed has managed to draw your attention to it. You probably had 
it before but never noticed.


Cheers,

Matthew


But, actually it claimed that no controller detected and asked me to
specify the root filesystem manually, which wrote:

Trying to mount root from ufs:/dev/ad0s1a
Manul root filesystem specification:
 fstype:device Mount device using filesystem fstype
eg. ufs:da0s1a
 ?  List valid disk boot devices
 empty line   Abort manual input

I tried ufs:/dev/ad0s1a, which was the real root filesystem registered
in my /etc/fstab, but it still could not be mounted. And the same
direction came out again to asked me to point out the root fs.

I tried '?' also, but it seems that no disk devices were found... The
kernel told me List of GEOM managed disk devices:, and nothing but the
same old direction followed.

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


pf randomly blocks specific packets?

2008-07-29 Thread Nejc Škoberne

Hello,

I have a FreeBSD 7.0 system with jails (and services in them). In one of the 
jails there
is an Apache server, which also runs on the host system (and forwards traffic 
using
mod_proxy to the jailed Apache).

Everything works as expected, I only have problems with pf which seems to block 
certain
packets randomly (not all of them).

This is how my rc.conf  on host system looks like (relevant parts):

-
defaultrouter=172.20.2.1
ifconfig_em0=inet 172.20.2.2 netmask 255.255.255.0
pf_enable=YES
pf_rules=/etc/pf.conf
pf_flags=
pflog_enable=YES
pflog_logfile=/var/log/pflog
pflog_flags=
apache22_enable=YES
cloned_interfaces=lo1
ifconfig_lo1=192.168.223.1
jail_enable=YES
jail_sysvipc_allow=YES
jail_list=mail
jail_mail_rootdir=/usr/jail/j/mail
jail_mail_hostname=mail
jail_mail_ip=192.168.223.10
jail_mail_interface=lo1 netmask 255.255.255.0
jail_mail_devfs_enable=YES
jail_mail_procfs_enable=YES
jail_mail_devfs_ruleset=devfsrules_jail
-

This is how my pf.conf looks like:

-
int_Trust = em0
int_Loop = lo0
int_Jails = lo1
int_jail_mail = { $int_Trust }

addr_net_Private = { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }
addr_net_Local = { $int_Trust:network , 172.20.2.0/24, 192.168.0.0/16 }
addr_sysSvarun = a.b.c.d
addr_jail_mail = 192.168.223.10

svc_TCP_HOST_Private = { ssh, iwebmin, itelnet }
svc_TCP_HOST_Public = { ssh, http, https, domain }
svc_UDP_HOST_Public = { domain }
svc_TCP_jail_mail = { smtp, smtps, pop3, pop3s, imap, imaps }

ICMPTypes = echoreq
AllProtocols = { tcp, udp, ipv6, icmp, esp, ipencap, gre }
table trusted persist file /usr/local/etc/trusted.addresses
set loginterface $int_Trust
scrub on $int_Trust all no-df random-id reassemble tcp

nat on $int_Trust from $int_Jails:network to any - $int_Trust
rdr pass on $int_jail_mail proto tcp from any to $int_jail_mail port \
  $svc_TCP_jail_mail - $addr_jail_mail

block log all
pass in quick on $int_Trust from $addr_sysSvarun to any keep state
pass quick on $int_Loop all
pass quick on $int_Jails all
pass quick inet proto icmp all icmp-type $ICMPTypes keep state
pass in on $int_Trust from any to any keep state
pass out on $int_Trust from any to $addr_net_Local keep state
pass out on $int_Trust from $int_Trust to any keep state
pass out on lo1 from 192.168.223.10 to 192.168.223.10 keep state
-

So as you can see there is a pass quick on $int_Jails all line. Which, as far
as I understand, should do exactly that. But, when I do
tcpdump -n -r /var/log/pflog, I get these:

10:22:56.353027 IP 192.168.223.10.53777  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 569935938 230047874
10:23:06.744057 IP 192.168.223.10.53777  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 569946122 230047874
10:23:27.330096 IP 192.168.223.10.53777  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 569966290 230047874
10:23:47.918481 IP 192.168.223.10.53777  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 569986458 230047874
10:24:08.508126 IP 192.168.223.10.53777  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570006626 230047874
10:24:29.096918 IP 192.168.223.10.53777  192.168.223.10.80: R 1:1(0) ack 1 win 8960 
nop,nop,timestamp 570026794 230047874
10:33:12.341285 IP 192.168.223.10.51214  192.168.223.10.80: F 
1457218003:1457218003(0) ack 1764186631 win 8960 nop,nop,timestamp 570539665 
3540558548
10:33:12.637811 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570539957 3540558548
10:33:13.029827 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570540341 3540558548
10:33:13.609705 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570540909 3540558548
10:33:14.561443 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570541845 3540558548
10:33:16.256344 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570543517 3540558548
10:33:19.073348 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570546277 3540558548
10:33:24.504722 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570551597 3540558548
10:33:35.163039 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570562037 3540558548
10:33:56.274140 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570582717 3540558548
10:34:38.293842 IP 192.168.223.10.51214  192.168.223.10.80: F 0:0(0) ack 1 win 8960 
nop,nop,timestamp 570623877 3540558548
10:35:20.310801 IP 192.168.223.10.51214  192.168.223.10.80: F 

Re: email disclaimer insert; remove and instert

2008-07-29 Thread Odhiambo Washington
On Tue, Jul 29, 2008 at 7:07 AM, lyd mc [EMAIL PROTECTED] wrote:
 Hi darko,

 What I mean is adding a disclaimer/boilerplate for any outgoing message just 
 like mimedefang feature. However, I don't want it to be redundant. For 
 example if a mail already contains my disclaimer (usually mail from a reply 
 message), it should be relocated next to the new message not at the bottom of 
 the reply message.

   new message body here
   new message body here

   Disclaimer   new location of disclaimer

  ---old messages here--

   old message here
   old message here

   Disclaimer  --- to be relocated


I can tell you it is impossible. Why?
While you can actually write a script to try to do it, you'll more
likely end up breaking the e-mail format, because it will not be too
easy to rightly guess the content-type/boundaries in replies.
Well, take a look at procmail, with a client like mutt... you can do
fancy things, but not the type you want!

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
 --from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two minor IPFW-related questions

2008-07-29 Thread Giorgos Keramidas
On Mon, 28 Jul 2008 20:48:09 -0700, Ronald F. Guilmette [EMAIL PROTECTED] 
wrote:
On Mon, 28 Jul 2008 18:15:32 -0700, Ronald F. Guilmette [EMAIL PROTECTED] 
wrote:
 deny any to any in frag

 Is that actually a Good Thing To Do?  Are there really no legitimate
 packate fragments out there on the Internet?

 First, on one particular machine of mine, I'm seeing a fair number...
 many dozens or so per hour... of /var/log/security logfile entries for
 ipfw-rejected packet fragments.  This is on a machine that has a very
 busy name server. [...]  The majority of the rejected frag packets
 are UDP packets, and I've just now determined that many/most/all of
 those are coming from actual name servers elsewhere.

It's fairly non-trivial to make TCP fragments (TCP tries its best to
avoid fragmentation and it splits traffic to 'segments' using its own
logic, not how many bytes the user application wrote).  So it's normal
to see mostly UDP fragments.

 In short, I do believe that these packet fragments are mostly (or
 entirely) perfectly legitimate packet fragments... probably partial
 answers to DNS queries that the nameserver on this machine sent out.

DNS will fallback to TCP when UDP fails (i.e. when an answer datagram is
too large for UDP to deliver).  So I might consider dropping them anyway.

 So now, given that I understand (or believe I do, anyway) everything
 that you, Giorgos, said about the possibility of a DoS attack based on
 packet fragmentation, and given that I _do not_ believe that anybody
 has it in mind to do a DoS against me at the present time (either
 using packet fragements or any other sort of DoS technique) is it
 really wise for me to be dropping all of these DNS response packet
 fragments?  Wouldn't I be better off letting them in?

It depends on why/when the fragmentation occured.  If a name server is
sitting behind a link with a small MTU or a link with a bit of data
loss, losing one fragment means that *all* fragments must be transmitted
again.  In those cases relying on the capability of DNS to fallback on
TCP may be a slightly better choice.

 I'm most particularly concerned about the possibility that... because
 I have ipfw dropping all fragments... I may be completely losing some
 DNS responses that I actually do want

No that's fine.  You may get a delayed response, when DNS decides to
switch to TCP, or a timeout if the whole try UDP, fail, try TCP, fail
dance takes too long.  But in that case plain UDP would have failed
anyway, so you are just given an extra chance with TCP queries.

 OK, one last question.  I've just read the helpful little brief tutorial
 about path MTU discovery... which Google helped me to find:

   http://www.netheaven.com/pmtu.html

 This is kinda sorta enlightening about why most of the fragments that
 my ipfw is currently rejecting are either at offset 1472 or at offset
 1480...  but not quite.  What's the significance of these specific
 offset numbers (1472 and 1480)?  Is there some particular kind of
 hardware or well-known- phenomenon (like the one described in the
 document above) that commonly produces fragments with those specific
 offsets, i.e. 1472 and 1480?

The two standard Ethernet encapsulation formats (IEEE 802.2/802.3
vs. RFC 894) specify how data is laid out in an Ethernet 'frame'.  The
encapsulated data areas in the two frame formats can hold:

  IEEE 802.2/802.338-1492 bytes of data

  RFC 894 46-1500 bytes of data

The numbers you are seeing are 20 bytes less than the maximum, because
they account for the minimum IP header of 20 bytes.  With a minimal IP
header of 20 bytes, without any IP options, the two Ethernet frame
formats can hold 1472 and 1480 bytes of IP-encapsulated data.  That's
the magic reason for the fragment sizes you see.

In reality the full-path MTU may be even smaller for a variety of
reasons, but that's another thing :)

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


loader.conf issues

2008-07-29 Thread Troy Kocher
Listers,

For some reason my kernel setting aren't being recognized. .

tao# more loader.conf
geom_vinum_load=YES
kern.ipc.semmni=256
kern.ipc.semmns=512
kern.ipc.semmnu=256
kern.ipc.semmap=256
kern.ipc.shmall=32768
kern.ipc.shmmax=1

On reboot shmall  shmmax have to be set manually.

What did I do wrong?

Thanks

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


The FreeBSD Architecture Handbook

2008-07-29 Thread FreeBSD Questions
One more book question...

Is there anything significant to gain from reading both The Design
and Implementation of the FreeBSD Operating System and The FreeBSD
Architecture Handbook?  I've skimmed the tables of contents for both
books, and there seems to be some overlap in topics.  What I don't
know is if the details are redundant or if there's useful information
to glean by reading both as opposed to just one or the other.

Thank you, everyone, for your input!  I really do appreciate you
sharing your thoughts.

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


Re: whatkind of 19 LCD display??

2008-07-29 Thread Brad Mettee

DVI = Digital Visual Interface (aka Digital Video Interface)

http://en.wikipedia.org/wiki/Digital_Visual_Interface

Basically instead of sending analog signals from PC to monitor, it's a 
digital data stream. You won't get any distortion between source and 
destination.


At 10:56 PM 7/28/2008, you wrote:

On Mon, Jul 28, 2008 at 10:30:22PM -0400, Chris Hill wrote:
 On Mon, 28 Jul 2008, Chris Hill wrote:

 On Mon, 28 Jul 2008, Gary Kline wrote:
 
 [snip] whatever display i get has to have dual capability. both
 digital and analog-- eventually I'll need a new KVM box.
 
 so what are the top few makes of LCDs out there?
 
 I've been using a ViewSonic VP930b for a few years, and been very
 happy with it. It has two VGA inputs, no DVI. Probably not made
 anymore so I guess that's moot.

 - Replying to my own post like a tool -

 This monitor does in fact have a DVI input in addition to the two VGAs.
 Don't know if that counts as 'digital' or not.



while i can still TYPE today::  the fact is that i was a hardware 
major, not software.
but got shuffled into pporting an f77 compiler for my 
intership  now, i know almost
Zero about hardware, so no clue what this dvi input 
means.   sad, isnt it?




 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]

--
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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



Brad Mettee
PC HotShots, Inc.
Baltimore, MD
(410) 426-7617

 - Let us bring out the *Power* of your PCs. -
- Custom Business Software Solutions since 1991 -

visit http://www.pchotshots.com for information about our company.

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


Re: loader.conf issues

2008-07-29 Thread Vincent Hoffman

Troy Kocher wrote:

Listers,

For some reason my kernel setting aren't being recognized. .

tao# more loader.conf
geom_vinum_load=YES
kern.ipc.semmni=256
kern.ipc.semmns=512
kern.ipc.semmnu=256
kern.ipc.semmap=256
kern.ipc.shmall=32768
kern.ipc.shmmax=1

On reboot shmall  shmmax have to be set manually.

What did I do wrong?

  

Try adding them to /etc/sysctl.conf instead?


Thanks

Troy
___
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: email disclaimer insert; remove and instert

2008-07-29 Thread Jeffrey Goldberg

On Jul 29, 2008, at 6:13 AM, Odhiambo Washington wrote:


I can tell you it is impossible. Why?
While you can actually write a script to try to do it, you'll more
likely end up breaking the e-mail format, because it will not be too
easy to rightly guess the content-type/boundaries in replies.


If one converted all messages to mutlipart/mixed and added the  
disclaimer as text/plain part with a content-disposition: inline, then  
you might be able to safely ensure that each message had exactly one  
copy of the disclaimer.  But any script will have to be fully and  
completely aware of all MIME structures, so using various perl  
libraries is where I would start.


But of course you are right in that if you were replying to an  
unsnipped reply there is no way to know the structure of the quoted  
material in the first reply, so removing it from the quoted section  
may well be impossible to do reliably.


On a side note, I'm wondering if the original poster is familiar with  
the arguments presented in


  http://www.goldmark.org/jeff/stupid-disclaimers/

I haven't updated that in years, but I think that the points still hold.

-j


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


Re: whatkind of 19 LCD display??

2008-07-29 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sam Fourman Jr. wrote:
so what are the top few makes of LCDs out there?
 
 I have several (6) Samsung SyncMaster 941BW monitors
 I am very Happy with them

I'd never purchased any 19 displays.  About 5 years back, i was in the market
for 3 2- units, and like I usually do with any major $ investments, I
investigated the applicable specs, then compared prices underneath that.

At that time, the 20 LCDs from Dell were the best buy, purchasing them from
Ebay made it also a *very* good deal.  The only problem there is, the little
group of folks selling those Dell monitors had organized several shell-games on
Ebay, running some *very* easy to fall into frauds, so you needed to be really
careful.  Twice, I ran into the game of getting dome shill to run the price of a
monitor I was interested way past what I wanted to pay, then when I let the deal
walk away from  me, the con-people wrote and tried to convince me that i'd won
the Second chance purchase, and that I'd obligated myself to pay the price
they'd bid it up to.

I complained to Ebay, but (as usual) Ebay was deaf about it.  It's easy to avoid
this, but you need to be aware of the scam, which is still operating today.  How
do I know? Because one of those 3 20 displays went bad on me 4 weeks ago, and I
replaced it with a 24 model.  That new model has automatic PiP, too.

I really like the Dell, both because of their outstanding contrast and
brightness, no dead pixels in any of my LCDs, and the fact that they come with
multiple interfaces which are switch selectable from the front panel.  The old
20 units had 4 jacks (RCA, S-Video, VGA, and DVI).  Really convenient.  The new
24 one, beyond being able to run native 1920X1080 for HiDef Video, it's got
about 10 different jacks.  Looks it up the web, the Dell pages describe it best,
and the contrast on that 24 has to be seen to be believed.  I actually turned
it down!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiPLK8ACgkQz62J6PPcoOnz7QCfTLY9jazfYlcseoP+i71R9C6I
hVIAnAzBPlvTS/EspPAPwwJVIKEfg5So
=QVya
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: calcru went backwards on 7 stable

2008-07-29 Thread Dimitar Vasilev
Thanks in

2008/7/24 Dimitar Vasilev [EMAIL PROTECTED]



 2008/7/24 Kris Kennaway [EMAIL PROTECTED]:

 Dimitar Vasilev wrote:

 The calcru went backwards message can have two causes:

 1) Your time counter really went backwards and is too broken to use.

 2) Something caused clock interrupts to be delayed for extremely long
 periods of time.  This happens if you break to DDB for example.  It can
 also
 happen if there are kernel bugs, maybe in a driver etc.  Try to enable
 additional debugging (WITNESS, INVARIANTS, etc; see the developers
 handbook)
 and see where it gets you.

 Kris

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

  Thanks Kris,

 Last time I tried to set the date there was a problem with the year  - I
 could not set the date beyond 2007


 That doesn't sound like a FreeBSD bug.

 Hello,
I did kgdb print_cpu ticks today.
It says
(kgdb) print cpu_ticks
$1 = (cpu_tick_f *) 0x8077d340 rdtsc
This means that kernel is using tsc discipline actually imho.
Could someone confirm this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Building modules distributed with Apache, using ports

2008-07-29 Thread Jonathan McKeown
This may be a daft question. I freely admit it's a lazy one - I'm hoping 
someone has a quick answer that'll save me a couple of hours building a test 
server and experimenting.

I built apache 2.0 from ports, using WITH_LDAP - but not WITH_LDAP_MODULES, as 
the Makefile.doc says it's implied by WITH_LDAP. As far as I can tell it's 
actually the other way round, that WITH_LDAP_MODULES triggers the WITH_LDAP 
options (either that or I didn't set it properly).

Be that as it may, I now have an installation of Apache to which I need to add 
mod_auth_ldap and mod_ldap from the Apache 2.0 distribution.

Is it possible to use the www/apache20 port to build these, or additional 
modules generally, without rebuilding/reinstalling Apache itself?

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


Update Single Port tree due MOVED....

2008-07-29 Thread Agus
Hi guys,

Yesterday while updating my ports...I don't use all-ports, i instead choose
the ones i use from the ports-supfile, i realized that when i wanted to
install portaudit and some other ports management utils, they weren't
anymore on sysutils...i looked at MOVED and swa that they are now in
ports-mgmtBut i dont have that dir...so i was wondering how can i update
this changes on ports tree without using ports-all
Is there a way to update de ports-supfile o r something to update and bring
the entire ports-mgmt for instance to my ports colection?
i assume using cvsup directly i can checkout..but i wanted to check it woith
you first..and how can i do this...

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


Re: help

2008-07-29 Thread David Kelly
On Tue, Jul 29, 2008 at 09:09:15AM +0300, John Dakos [ Enovation Technologies ] 
wrote:

[2224 lines deleted]

If you want help, start by learning that quoting entire email digests is
frowned upon.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: email disclaimer insert; remove and instert

2008-07-29 Thread darko gavrilovic
On Tue, Jul 29, 2008 at 11:13 AM, Odhiambo Washington [EMAIL PROTECTED]wrote:

 I can tell you it is impossible. Why?
 While you can actually write a script to try to do it, you'll more
 likely end up breaking the e-mail format, because it will not be too
 easy to rightly guess the content-type/boundaries in replies.
 Well, take a look at procmail, with a client like mutt... you can do
 fancy things, but not the type you want!



You won't know if it's impossible until you try it and fail repeatedly and
grow some gray hairs from the experience. :-)

But back to topic, I can see something like this being scriptable. It might
wind up being one of those scripts that only works on one mail client which
has been configured to display email in a particular way -- but seems like
it could be done.








-- 
regards,
dg

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


Could not find bsd.port.options.mk

2008-07-29 Thread Kiffin Gish
When I run portupgrade I get the following make error:

Makefile, line 55: Could not find bsd.port.options.mk

However, this file is located at: /usr/ports/Mk/bsd.port.options.mk

What's going wrong?

-- 
Kiffin Rex Gish
Gouda, The Netherlands

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


Re: email disclaimer insert; remove and instert

2008-07-29 Thread darko gavrilovic
On Tue, Jul 29, 2008 at 4:07 AM, lyd mc [EMAIL PROTECTED] wrote:

 What I mean is adding a disclaimer/boilerplate for any outgoing message
 just like mimedefang feature. However, I don't want it to be redundant. For
 example if a mail already contains my disclaimer (usually mail from a reply
 message), it should be relocated next to the new message not at the bottom
 of the reply message.

   new message body here
   new message body here

   Disclaimer   new location of disclaimer

  ---old messages here--

   old message here
   old message here

   Disclaimer  --- to be relocated


Ahh.. now i understand better. If I may ask, why do you want to do this?
What is driving this request? Perhaps there might be a different approach to
solving what you are trying to accomplish.

-- 
regards,
dg

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


formatting the time in tcsh prompt

2008-07-29 Thread Chad Perrin
This might be slightly off-topic, I suppose -- but since (t)csh is the
default shell for FreeBSD, I figured this might be a good place to ask.

I'm aware of the %T option for showing 24-hour time in my tcsh prompt,
but it doesn't do exactly what I would like.  Inserting a call to the
date command so I can have the exact formatting I want appears to fail by
only calculating the time once, and showing the same time every time the
prompt appears -- which means that, several hours later, I'm still
looking at the time from when the shell instance was started.

The prompt setting using the date command that I used is as follows:

  set prompt = [`date +'%H%M'`] %~%# 

At nine in the morning, that gives me:

  [0900] ~

. . . whereas the tcsh native time formatting for 24-hour time is:

  set prompt = [%T] %~%# 

At nine in the morning, that gives me:

  [9:00] ~

I would prefer to not have the colon in there, but it's not a big deal.
The biggest annoyance is the fact that the length of the time string
changes depending on whether it's an AM time or a PM time.

This is the best I've been able to get so far for a timestamp in the
prompt that updates every time the prompt is displayed:

  [9:00] ~

This is acceptable:

  [09:00] ~

This is most preferred:

  [0900] ~

There must be some way to do this.  Right?

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Jon Postel, RFC 761: [B]e conservative in what you do, be liberal in
what you accept from others.


pgpeGliSO946e.pgp
Description: PGP signature


6.3+tmpfs

2008-07-29 Thread Alexandre Biancalana
Hi List,

 Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary
clamav+ripmime files to speedup a mail filter server.

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


Re: 6.3+tmpfs

2008-07-29 Thread Kris Kennaway

Alexandre Biancalana wrote:

Hi List,

 Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary
clamav+ripmime files to speedup a mail filter server.


It's not stable on 7.0 or 8.0 either, so no :)

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


Re: loader.conf issues

2008-07-29 Thread Troy Kocher
On Tue, Jul 29, 2008 at 8:43 AM, Vincent Hoffman [EMAIL PROTECTED] wrote:
 Troy Kocher wrote:

 Listers,

 For some reason my kernel setting aren't being recognized. .

 tao# more loader.conf
 geom_vinum_load=YES
 kern.ipc.semmni=256
 kern.ipc.semmns=512
 kern.ipc.semmnu=256
 kern.ipc.semmap=256
 kern.ipc.shmall=32768
 kern.ipc.shmmax=1

 On reboot shmall  shmmax have to be set manually.

 What did I do wrong?



 Try adding them to /etc/sysctl.conf instead?

 Thanks

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




Thanks I'll give that a try. .

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


Re: Update Single Port tree due MOVED....

2008-07-29 Thread Manolis Kiagias

Agus wrote:

Hi guys,

Yesterday while updating my ports...I don't use all-ports, i instead choose
the ones i use from the ports-supfile, i realized that when i wanted to
install portaudit and some other ports management utils, they weren't
anymore on sysutils...i looked at MOVED and swa that they are now in
ports-mgmtBut i dont have that dir...so i was wondering how can i update
this changes on ports tree without using ports-all
  


Simple, you could add ports-mgmt to your ports-supfile


Is there a way to update de ports-supfile o r something to update and bring
the entire ports-mgmt for instance to my ports colection?
i assume using cvsup directly i can checkout..but i wanted to check it woith
you first..and how can i do this...

Thanks in advance,
Agus

  


Another good advice for everyone not wanting to get the entire ports 
tree, is to use refuse files.
Instead of enabling specific parts of the ports tree in the supfile, a 
refuse file will allow you to just deny getting specific ports.
For example, say you don't want to get any of the language specific 
ports (arabic, french, japanese...), you put those in the refuse file.


See an example in /usr/share/examples/cvsup/refuse and read about its 
use in man csup


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


Re: whatkind of 19 LCD display??

2008-07-29 Thread Preston Hagar
On Tue, Jul 29, 2008 at 9:43 AM, Chuck Robey [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 I really like the Dell, both because of their outstanding contrast and
 brightness, no dead pixels in any of my LCDs, and the fact that they come with
 multiple interfaces which are switch selectable from the front panel.  The old
 20 units had 4 jacks (RCA, S-Video, VGA, and DVI).  Really convenient.  The 
 new
 24 one, beyond being able to run native 1920X1080 for HiDef Video, it's got
 about 10 different jacks.  Looks it up the web, the Dell pages describe it 
 best,
 and the contrast on that 24 has to be seen to be believed.  I actually turned
 it down!

I would second the Dell's, specifically the UltraSharp line.  I have a
19 Ultrasharp as my primary monitor and a 19 Dell Standard as a
secondary monitor.  The Ultrasharp has DVI and VGA, a built in USB hub
and is great to look at.

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


Re: formatting the time in tcsh prompt

2008-07-29 Thread Greg Larkin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chad Perrin wrote:
| This might be slightly off-topic, I suppose -- but since (t)csh is the
| default shell for FreeBSD, I figured this might be a good place to ask.
|
| I'm aware of the %T option for showing 24-hour time in my tcsh prompt,
| but it doesn't do exactly what I would like.  Inserting a call to the
| date command so I can have the exact formatting I want appears to fail by
| only calculating the time once, and showing the same time every time the
| prompt appears -- which means that, several hours later, I'm still
| looking at the time from when the shell instance was started.
|
| The prompt setting using the date command that I used is as follows:
|
|   set prompt = [`date +'%H%M'`] %~%# 
|
...
| There must be some way to do this.  Right?
|

Hi Chad,

Right!  Try this:

set prompt=' % '
alias precmd 'printf [%s] `date +'%H%M'`'

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

iD8DBQFIj2ji0sRouByUApARAopEAJ4vVmUZEZ7N+EKPn8fcMAcQGCXlJwCcCrqo
pk+1mKZ8Hn63DhZ3qlCWucQ=
=hqQT
-END PGP SIGNATURE-

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


Re: email disclaimer insert; remove and instert

2008-07-29 Thread Odhiambo Washington
On Tue, Jul 29, 2008 at 9:19 PM, darko gavrilovic
[EMAIL PROTECTED] wrote:
 On Tue, Jul 29, 2008 at 11:13 AM, Odhiambo Washington [EMAIL PROTECTED]
 wrote:

 I can tell you it is impossible. Why?
 While you can actually write a script to try to do it, you'll more
 likely end up breaking the e-mail format, because it will not be too
 easy to rightly guess the content-type/boundaries in replies.
 Well, take a look at procmail, with a client like mutt... you can do
 fancy things, but not the type you want!

 You won't know if it's impossible until you try it and fail repeatedly and
 grow some gray hairs from the experience. :-)

Not growing grey hair, but losing all that you have, even!

 But back to topic, I can see something like this being scriptable. It might
 wind up being one of those scripts that only works on one mail client which
 has been configured to display email in a particular way -- but seems like
 it could be done.

If it was, it could have been done already.right now? There are
reasons why this cannot be done easily:
1. E-mail disclaimers are considered stupid
2. It's not easy to mangle all types the same of mail as composition
(mime type boundaries/content disposition) is always different.

Hey, but who says you cannot do it? Let's see what you come up with :-)

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
 --from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.3+tmpfs

2008-07-29 Thread Wojciech Puchar

 Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary
clamav+ripmime files to speedup a mail filter server.


It's not stable on 7.0 or 8.0 either, so no :)

still no crash on my systems :)

anyway - it's not available in 6.3 AFAIK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SATA300

2008-07-29 Thread Lokadamus

Jason Lenthe wrote:
My machine, a home-brew running 7.0-RELEASE-p2, has 3 SATA hard drives 
all of which were advertised as SATA300 drives, but:


vader# dmesg | grep ATA
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: Intel ICH7 SATA300 controller port 
0x20c8-0x20cf,0x20ec-0x20ef,0x20c0-0x20c7,0x20e8-0x20eb,0x20a0-0x20af 
irq 19 at device 31.2 on pci0

ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
ad4: 305245MB Hitachi HDT725032VLA360 V54OA7EA at ata2-master SATA150
ad5: 476940MB MAXTOR STM3500630AS 3.AAE at ata2-slave SATA150
ad6: 305245MB Hitachi HDT725032VLA360 V54OA7EA at ata3-master SATA150

Does this mean I'm only getting half the throughput I could be getting?

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



You can test speed of your harddisk with diskinfo.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: email disclaimer insert; remove and instert

2008-07-29 Thread darko gavrilovic
On Tue, Jul 29, 2008 at 7:10 PM, Odhiambo Washington [EMAIL PROTECTED]wrote:

 1. E-mail disclaimers are considered stupid


They are considered stupid by some people on the Internet. But there are
workplaces and businesses that require them in outgoing e-mail send by their
staff. Does anyone read them or pay attention to those disclaimers? That's a
topic for the chat list I guess.





-- 
regards,
dg

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


Re: whatkind of 19 LCD display??

2008-07-29 Thread Gary Kline
On Tue, Jul 29, 2008 at 01:27:37PM -0500, Preston Hagar wrote:
 On Tue, Jul 29, 2008 at 9:43 AM, Chuck Robey [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
 
  I really like the Dell, both because of their outstanding contrast and
  brightness, no dead pixels in any of my LCDs, and the fact that they come 
  with
  multiple interfaces which are switch selectable from the front panel.  The 
  old
  20 units had 4 jacks (RCA, S-Video, VGA, and DVI).  Really convenient.  
  The new
  24 one, beyond being able to run native 1920X1080 for HiDef Video, it's got
  about 10 different jacks.  Looks it up the web, the Dell pages describe it 
  best,
  and the contrast on that 24 has to be seen to be believed.  I actually 
  turned
  it down!
 
 I would second the Dell's, specifically the UltraSharp line.  I have a
 19 Ultrasharp as my primary monitor and a 19 Dell Standard as a
 secondary monitor.  The Ultrasharp has DVI and VGA, a built in USB hub
 and is great to look at.


Thanks, Preston.

So:: boiling it down to a make and a line, now Chuck [[ and you ]]
give thumbs-up on the Dell.  UltraSharp, rt?

A personal note from the cheapes--er, *thriftiest* guy alive:
for a new display, price isn' the driving force.  it's quality--
which includes durabiility, function, c.  (actually, i wouldn't
mind 19+.) 20 [[[ and when the hell are we going to join the 18th
Century and go-metric?! ]]] 20 is about the max since i cram
as many xterms with tiny fonts as possible.  so
brightness+contrast matter.   [[ if i could get out easily, i
might check out the 24 ... but that would only give me LCD-envy!!
--ah, *life* :-| ]]


Anyhow, ao far, i'm looking at the Hanns-G, the Samsung SyncMaster
(941BW), And possobily the VIewSonic.  And the Dell UltraSharp.

(gReat if Costco has these; but i'll try egghead.com too.)

Anybody here in the States have any other recommmendation, 
plese gimmmee a shout:-)

gary


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

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


local mirrors of ports and packages?

2008-07-29 Thread Coert Waagmeester
Hi all!



I am quite new to FreeBSD. I am quite a boffin on Linux though.

What I would like to know is, how can I make local mirrors of ports and
packages? I live in South-Africa, and bandwidth is painfully slow and
expensive.

How many data would it be in total?


Thanks in advance,
Coert

FreeBSD newbie


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


Re: local mirrors of ports and packages?

2008-07-29 Thread Bob Johnson
On 7/29/08, Coert Waagmeester [EMAIL PROTECTED] wrote:
 Hi all!



 I am quite new to FreeBSD. I am quite a boffin on Linux though.

 What I would like to know is, how can I make local mirrors of ports and
 packages? I live in South-Africa, and bandwidth is painfully slow and
 expensive.

 How many data would it be in total?

Does fetching from an existing mirror in South Africa help, e.g.
cvsup.za.freebsd.org or ftp.za.freebsd.org?


-- Bob Johnson
   [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: whatkind of 19 LCD display??

2008-07-29 Thread David N
2008/7/30 Gary Kline [EMAIL PROTECTED]:
 On Tue, Jul 29, 2008 at 01:27:37PM -0500, Preston Hagar wrote:
 On Tue, Jul 29, 2008 at 9:43 AM, Chuck Robey [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 

  I really like the Dell, both because of their outstanding contrast and
  brightness, no dead pixels in any of my LCDs, and the fact that they come 
  with
  multiple interfaces which are switch selectable from the front panel.  The 
  old
  20 units had 4 jacks (RCA, S-Video, VGA, and DVI).  Really convenient.  
  The new
  24 one, beyond being able to run native 1920X1080 for HiDef Video, it's 
  got
  about 10 different jacks.  Looks it up the web, the Dell pages describe it 
  best,
  and the contrast on that 24 has to be seen to be believed.  I actually 
  turned
  it down!

 I would second the Dell's, specifically the UltraSharp line.  I have a
 19 Ultrasharp as my primary monitor and a 19 Dell Standard as a
 secondary monitor.  The Ultrasharp has DVI and VGA, a built in USB hub
 and is great to look at.


Thanks, Preston.

So:: boiling it down to a make and a line, now Chuck [[ and you ]]
give thumbs-up on the Dell.  UltraSharp, rt?

A personal note from the cheapes--er, *thriftiest* guy alive:
for a new display, price isn' the driving force.  it's quality--
which includes durabiility, function, c.  (actually, i wouldn't
mind 19+.) 20 [[[ and when the hell are we going to join the 18th
Century and go-metric?! ]]] 20 is about the max since i cram
as many xterms with tiny fonts as possible.  so
brightness+contrast matter.   [[ if i could get out easily, i
might check out the 24 ... but that would only give me LCD-envy!!
--ah, *life* :-| ]]


Anyhow, ao far, i'm looking at the Hanns-G, the Samsung SyncMaster
(941BW), And possobily the VIewSonic.  And the Dell UltraSharp.

(gReat if Costco has these; but i'll try egghead.com too.)

Anybody here in the States have any other recommmendation,
plese gimmmee a shout:-)

gary



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

 --
  Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Hi

I'm a computer parts reseller in Australia (If that actually counts
for anything).

We personally prefer Samsung (3 years on site warranty) for most of
our displays here in the office and to customers.

And please please check the warranty terms, some will say 3 years
onsite, and in fine print, pick up and return, so you'll be out of a
monitor whilst its being repaired.

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


Re: local mirrors of ports and packages?

2008-07-29 Thread Coert Waagmeester

On Tue, 2008-07-29 at 16:47 -0400, Bob Johnson wrote:
 On 7/29/08, Coert Waagmeester [EMAIL PROTECTED] wrote:
  Hi all!
 
 
 
  I am quite new to FreeBSD. I am quite a boffin on Linux though.
 
  What I would like to know is, how can I make local mirrors of ports and
  packages? I live in South-Africa, and bandwidth is painfully slow and
  expensive.
 
  How many data would it be in total?
 
 Does fetching from an existing mirror in South Africa help, e.g.
 cvsup.za.freebsd.org or ftp.za.freebsd.org?
 
 
 -- Bob Johnson
[EMAIL PROTECTED]

Yes, I am currently rsyncing:
ftp://ftp.is.co.za/FreeBSD/ports/i386/packages-7-stable/

Is this the correct data? And where in FreeBSD do I change the mirror
list or installation source?


Thank you in advance,
Coert

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


Re: local mirrors of ports and packages?

2008-07-29 Thread Kris Kennaway

Coert Waagmeester wrote:

Hi all!



I am quite new to FreeBSD. I am quite a boffin on Linux though.

What I would like to know is, how can I make local mirrors of ports and
packages? I live in South-Africa, and bandwidth is painfully slow and
expensive.

How many data would it be in total?


Consider that if bandwidth is expensive then you probably don't want to 
download data you are not going to use.


The ports tree is only a few hundred MB uncompressed (about 50MB or so 
compressed), and cvsup or portsnap updates are small (you only download 
the changes).  That is presumably the best option.


If you want to mirror the full ports CVS repository it is a few GB.  If 
you want to mirror packages, then you're looking at tens of gigabytes 
that are updated every few days.


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


pxeboot

2008-07-29 Thread David Collins
Hi,

I am not sure if this is the correct list to post this to, and if it
isn't please could you point me to where it should go.

I have recently turned to freeBSD and so far I love it. I have a small
laptop that I use for playing around and general fiddling. I was using
the Debian netinstall and booting over pxe/tftp when I wanted to
reinstall. I started looking at the automated install, but it seemed
very complex. I have been looking at the freeBSD option and it seems
that the automated intall is very simple (at least from a user point
of view).

I have been trying to get pxeboot to work, so far with no luck. I have
a dhcp/tftp server set up and I am able to push pxeboot across the
network, so I assume that is all ok. NFS is also setup, at least I was
getting nfs errors that I don't have anymore. I copied the contents of
the 7.0 cd into the my tftpboot folder and changed the contents for
loader.conf and loader.rc according to here
http://www.locolomo.org/pub/pxeboot/pxeboot.html and
http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml and so far I
am able to get a prompt come up but I am unable to get any further. As
soon as I enter anything the computer immediately reboots so i am
unable to see any error messages. I assume the paths are relative to
the tftp server. Can anyone give me quick example to get me off to a
start.

Thanks

David Collins


Here are my config files, I think that is all of them
# cat /etc/exports
/usr/tftpboot/freeBSD7.0 -alldirs -ro -maproot=root

# cat /usr/local/etc/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
authoritative;

ddns-update-style none;

subnet 192.168.2.0 netmask 255.255.255.0 {
  range 192.168.2.8 192.168.2.15;
  #filename /pxelinux.0;
  filename /freeBSD7.0/boot/pxeboot;
  next-server 192.168.2.4;
  option routers 192.168.2.4;
  option root-path /usr2/tftpboot/freeBSD7.0;
}

# grep tftp /etc/inetd.conf
tftpdgram   udp waitroot/usr/libexec/tftpd  tftpd
-l -s /usr/tftpboot

#cat /usr/tftpboot/freeBSD7.0/boot/loader.rc
 echo Loading Kernel...
 set choice=freebsd-ide
 read -t 5 -p Type in your selection EXACTLY:  choice
 include /boot/loader.rc-$choice
 read -t 5 -p Type in your selection EXACTLY:  choice
 read -t 5 -p Type in your selection EXACTLY:  choice
 load /boot/kernel/kernel
 load linux.ko
 echo \007\007
 set vfs.root.mountfrom=ufs:/dev/md0c

#cat /usr/tftpboot/freeBSD7.0/boot/loader.conf
 init_path=/stand/sysinstall
 rootfs_load=YES
 rootfs_name=/boot/mfsroot
 rootfs_type=mfs_root
 vfs.root.mountfrom=ufs:/dev/md0c
 autoboot_delay=5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Root boot/mount Password?

2008-07-29 Thread RW
On Sun, 27 Jul 2008 12:12:16 +0200
Roland Smith [EMAIL PROTECTED] wrote:


 Note that encrypting the partitions where the OS lives is not
 particularly usefull; there is nothing secret there. On the contrary,
 it would potentially make the encrypted partition vulnerable to a
 known plaintext attack.

The reason for doing it is to protect the OS from modification. For
that to be effective the /boot really needs to be on removable media.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.3+tmpfs

2008-07-29 Thread Alexandre Biancalana
On 7/29/08, Kris Kennaway [EMAIL PROTECTED] wrote:
 Alexandre Biancalana wrote:

  Hi List,
 
   Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary
  clamav+ripmime files to speedup a mail filter server.
 

  It's not stable on 7.0 or 8.0 either, so no :)

Any viable alternative ? mdconfig -t malloc maybe ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


difficulty building a cross-compiler with a fresh install

2008-07-29 Thread Wyatt Neal
greetings,

i've been running with a freebsd 6.1 system for a few days and i'm
having some oddities when trying to build a cross compiler on the
system.

the first issue that shows is:

In file included from archive.c:132:
sysdep.h:173:21: libintl.h: No such file or directory

this comes from the libintl.h being located in /usr/local/include
instead of /usr/include.  a simple modification to the CFLAGS as so:

export CFLAGS=-I /usr/local/include

has resolved binutils building correctly.  a build of gcc shows the
same issue; however, gcc fails to build with the following error:

gcc -c   -I /usr/local/include -DIN_GCC -DCROSS_COMPILE  -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long-DHAVE_CONFIG_H-I. -I. -I. -I./. -I./../include
\
./config/i386/i386.c -o i386.o
./config/i386/i386.c:1033: error: `ix86_svr3_asm_out_constructor'
undeclared here (not in a function)
./config/i386/i386.c:1033: error: initializer element is not constant
./config/i386/i386.c:1033: error: (near initialization for
`targetm.asm_out.constructor')
./config/i386/i386.c:1033: error: initializer element is not constant
./config/i386/i386.c:1033: error: (near initialization for `targetm.asm_out')
./config/i386/i386.c:1033: error: initializer element is not constant
./config/i386/i386.c:1033: error: (near initialization for `targetm.sched')
./config/i386/i386.c:1033: error: initializer element is not constant
./config/i386/i386.c:1033: error: (near initialization for `targetm.calls')
./config/i386/i386.c: In function `ix86_file_end':
./config/i386/i386.c:4839: warning: implicit declaration of function
`ASM_DECLARE_FUNCTION_NAME'
gmake[1]: *** [i386.o] Error 1


both binutils and gcc are being built from the source from ftp.gnu.org
following along with
http://docs.freebsd.org/info/gcc/gcc.info.Cross-Compiler.html

i've not encountered this error before on the various linux systems so
i'm assuming it's something that i'm doing with being new to freebsd.
i've been able to compile the above code on my ubuntu system without
issue as well so i'm fairly certain it's something i'm screwing up on
freebsd.

bintuils 2.18 config string:
./configure --target=i386v --program-prefix=i386v- --prefix=/usr/local

gcc 3.4.4 config string:
./configure --target=i386v --program-prefix=i386v- --prefix=/usr/local
--program-suffix=

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


question about new monitor...

2008-07-29 Thread Gary Kline
i'm on newegg.com that has a whole slew of options for narrowing the
field.  

q's:  is a higher contrast ratio better than a lower ratio?
is the widescreen better than the std?  --i think widescreen is
16x9, standard is 4x3.   i'm thinking of sticking w ith 19;is
there any reason i should go = 20?

thanks,

gary

ps: so far, samsung look s good, v'sonic next



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Mail Heading to dead.letter

2008-07-29 Thread Andy Christianson
Whenever I send any email from my normal user account, it goes straight to
dead.letter, even if I attempt to mail a local user. When I try to send mail
as root, it simply does not send. I have a very basic, updated FreeBSD 7.0
installation. Mail has not worked since I installed 7.0 about 42 days ago. I
am able to ping internet addresses as well as well as resolve domain names.

At the very least, can someone point me in the correct direction to start
debugging this? I have read relevant sections in the FreeBSD handbook as
well as sendmail manpages, etc.

Thanks in advance for any help!

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


Re: question about new monitor...

2008-07-29 Thread Gary Kline
On Tue, Jul 29, 2008 at 06:16:35PM -0700, Gary Kline wrote:
   i'm on newegg.com that has a whole slew of options for narrowing the
   field.  
 
   q's:  is a higher contrast ratio better than a lower ratio?
   is the widescreen better than the std?  --i think widescreen is
   16x9, standard is 4x3.   i'm thinking of sticking w ith 19;is
   there any reason i should go = 20?
 
   thanks,
 
   gary
 
   ps: so far, samsung look s good, v'sonic next
 


I've changed my mind:: if I go to 20 i can get widescreen
with 1680x1050, so my current 1284x1024 would fit.  IFF
xorg know what kind of beast this is:-)

-g

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: 6.3+tmpfs

2008-07-29 Thread Kris Kennaway

Alexandre Biancalana wrote:

On 7/29/08, Kris Kennaway [EMAIL PROTECTED] wrote:

Alexandre Biancalana wrote:


Hi List,

 Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary
clamav+ripmime files to speedup a mail filter server.


 It's not stable on 7.0 or 8.0 either, so no :)


Any viable alternative?


Of course :)


mdconfig -t malloc maybe ?


-t swap is faster and has fewer downsides.

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


Re: 6.3+tmpfs

2008-07-29 Thread Alexandre Biancalana
On 7/29/08, Kris Kennaway [EMAIL PROTECTED] wrote:

  Of course :)


  mdconfig -t malloc maybe ?
 

  -t swap is faster and has fewer downsides.

Great !! I should read *all* the man before post...

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


Re: question about new monitor...

2008-07-29 Thread Chris Hill

On Tue, 29 Jul 2008, Gary Kline wrote:


On Tue, Jul 29, 2008 at 06:16:35PM -0700, Gary Kline wrote:

i'm on newegg.com that has a whole slew of options for narrowing the
field.

q's:  is a higher contrast ratio better than a lower ratio?


Generally, yes. Contrast ratio in a display is analogous to dynamic 
range in audio.



is the widescreen better than the std?  --i think widescreen is
16x9, standard is 4x3.


Correct about the aspect ratios. As for better, it depends on whether 
your graphics card can run at those resolutions.



I've changed my mind:: if I go to 20 i can get widescreen
with 1680x1050, so my current 1284x1024 would fit.


1280x1024 is actually a 5:4 aspect, but people use it on a 4:3 display. 
I'm doing that right now :^) But if you send it to a 16:9 display it 
will probably appear stretched unless you adjust the display so it's 
effectively not a widescreen display anymore.


Every LCD or DLP or plasma display has a native resolution, which is the 
actual number of pixels in its imaging device. Nowadays they all have 
internal scan converters so that you could, for instance, send your 
1280x1024 to a display of some other native resolution and get a 
picture, subject to some limits (e.g., I doubt any 1024x768 LCD monitor 
would display a 3200x2400 signal). But it will always look best at the 
native resolution anyway, so you're on the right track.



IFF xorg know what kind of beast this is:-)


Well, yeah, that's the elephant in the room, isn't it?

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


Re: Component-based Operating System.

2008-07-29 Thread Chad Perrin
On Mon, Jul 28, 2008 at 05:54:47PM -0400, Chuck Robey wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Ivan Voras wrote:
  Juan Carlos Villalobos wrote:
 
  Hello,
 
  I am writing a paper on Component-based Operating Systems. I just
  wanted to know if FreeBSD is an Operating System engineered based on
  Components.
 
  I appreciate your input on this.
  
  Components is a wide, wide term. Since FreeBSD as an operating system
  consists of separate libraries, headers, executables, and both the
  kernel and the userland have subsystems that are more-or-less autonomic
  and independent, you could say it's componentized. You need to be more
  specific to get a more specific answer.
  
  
 
 Yeah, that's true, but not very informative.  Look, I don't follow OSes all 
 that
 much anymore, but if I had to call up an OS that would be made up of more of a
 set of indenpendent pieces, I think I would choose the GNU Hurd OS.  From
 everything I read, it was never very successful, if one counts the ability to
 return some good throughput as being successful ... or, maybe they have some
 other characteristic which I'm not aware of.
 
 Anyhow, the HURD (at least in concept) is far, far more of a component based 
 OS
 than anything else I'm aware of is.  It's an interesting concept, at the very
 least, and I do understand it works.

There are a bunch of modular microkernel architectures out there.
Another that comes immediately to mind is the MIT Exokernel, for
instance.

Of course, last I checked, nobody was calling them component-based
operating systems (especially since, in most cases, they're research
kernels with a fine dusting of barely enough stuff to make them run over
the top, and not really useful OSes).  Microsoft has been using the
phrase component based to talk about some of its OS research efforts,
but as far as I'm aware MS has abandoned that market-speak.

So . . . I still have no idea what the OP means by component-based
operating systems.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Friedrich Nietzche: Those who know that they are profound strive for
clarity.  Those who would like to seem profound to the crowd strive for
obscurity.


pgpo5CIpv5jBO.pgp
Description: PGP signature


Re: upgrade from 6.3 to 7.0

2008-07-29 Thread darko gavrilovic
On Sat, Jul 26, 2008 at 6:45 AM, Daniel Bye 
[EMAIL PROTECTED] wrote:

 On Sat, Jul 26, 2008 at 08:38:08AM +0200, Wojciech Puchar wrote:
  k
  Hi
  
  I ve got 6.3 stable database server.  Can i directly upgrade my server
 from
  6.3 to 7.0
  
  yes.
  anyway - if your server works fine - why?

 Because 7 is demonstrably faster than 6.x?


Define faster than 6.x?

:-)




 Because local policy requires
 the upgrade? Because he wants to run 7?

 --
 Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \




-- 
regards,
dg

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


Re: help

2008-07-29 Thread Chad Perrin
On Tue, Jul 29, 2008 at 12:57:28PM -0500, David Kelly wrote:
 On Tue, Jul 29, 2008 at 09:09:15AM +0300, John Dakos [ Enovation Technologies 
 ] wrote:
 
 [2224 lines deleted]
 
 If you want help, start by learning that quoting entire email digests is
 frowned upon.

. . . and try actually adding some text of your own while you're at it.

Yikes.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Albert Camus: An intellectual is someone whose mind watches itself.


pgpnbNDgnWSLl.pgp
Description: PGP signature


Re: formatting the time in tcsh prompt

2008-07-29 Thread Chad Perrin
On Tue, Jul 29, 2008 at 03:00:50PM -0400, Greg Larkin wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Chad Perrin wrote:
 | This might be slightly off-topic, I suppose -- but since (t)csh is the
 | default shell for FreeBSD, I figured this might be a good place to ask.
 |
 | I'm aware of the %T option for showing 24-hour time in my tcsh prompt,
 | but it doesn't do exactly what I would like.  Inserting a call to the
 | date command so I can have the exact formatting I want appears to fail by
 | only calculating the time once, and showing the same time every time the
 | prompt appears -- which means that, several hours later, I'm still
 | looking at the time from when the shell instance was started.
 |
 | The prompt setting using the date command that I used is as follows:
 |
 |   set prompt = [`date +'%H%M'`] %~%# 
 |
 ...
 | There must be some way to do this.  Right?
 |
 
 Hi Chad,
 
 Right!  Try this:
 
 set prompt=' % '
 alias precmd 'printf [%s] `date +'%H%M'`'

Most excellent!  Thank you.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Peter Norvig: Use the most natural notation available to solve the
problem, and then worry about writing an interpreter for that notation.


pgphfjVCEuFet.pgp
Description: PGP signature


Re: email disclaimer insert; remove and instert

2008-07-29 Thread lyd mc
Hi guys,

I think I should stick to currently available  feature offered by  mimedefang  
or altermime for  the disclaimer  thing. 

Thank you darko, odhiambo and jeffrey for your time. 

Best regards,

alydiomc





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


Re: difficulty building a cross-compiler with a fresh install

2008-07-29 Thread Dan Nelson
In the last episode (Jul 29), Wyatt Neal said:
 i've been running with a freebsd 6.1 system for a few days and i'm
 having some oddities when trying to build a cross compiler on the
 system.
 
 the first issue that shows is:
 
 In file included from archive.c:132:
 sysdep.h:173:21: libintl.h: No such file or directory
 
 this comes from the libintl.h being located in /usr/local/include
 instead of /usr/include.  a simple modification to the CFLAGS as so:
 
 export CFLAGS=-I /usr/local/include
 
 has resolved binutils building correctly.  a build of gcc shows the
 same issue; however, gcc fails to build with the following error:
 
 gcc -c   -I /usr/local/include -DIN_GCC -DCROSS_COMPILE  -W -Wall
 -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
 -Wno-long-long-DHAVE_CONFIG_H-I. -I. -I. -I./. -I./../include
 ./config/i386/i386.c -o i386.o
 ./config/i386/i386.c:1033: error: `ix86_svr3_asm_out_constructor' undeclared 
 here (not in a function)
 ./config/i386/i386.c:1033: error: initializer element is not constant
 ./config/i386/i386.c:1033: error: (near initialization for 
 `targetm.asm_out.constructor')
 ./config/i386/i386.c:1033: error: initializer element is not constant
 ./config/i386/i386.c:1033: error: (near initialization for `targetm.asm_out')
 ./config/i386/i386.c:1033: error: initializer element is not constant
 ./config/i386/i386.c:1033: error: (near initialization for `targetm.sched')
 ./config/i386/i386.c:1033: error: initializer element is not constant
 ./config/i386/i386.c:1033: error: (near initialization for `targetm.calls')
 ./config/i386/i386.c: In function `ix86_file_end':
 ./config/i386/i386.c:4839: warning: implicit declaration of function 
 `ASM_DECLARE_FUNCTION_NAME'
 gmake[1]: *** [i386.o] Error 1
 
 both binutils and gcc are being built from the source from
 ftp.gnu.org following along with
 http://docs.freebsd.org/info/gcc/gcc.info.Cross-Compiler.html
 
 i've not encountered this error before on the various linux systems
 so i'm assuming it's something that i'm doing with being new to
 freebsd. i've been able to compile the above code on my ubuntu system
 without issue as well so i'm fairly certain it's something i'm
 screwing up on freebsd.
 
 bintuils 2.18 config string:
 ./configure --target=i386v --program-prefix=i386v- --prefix=/usr/local
 
 gcc 3.4.4 config string:
 ./configure --target=i386v --program-prefix=i386v- --prefix=/usr/local
 --program-suffix=
 
 thoughts?

Take a look at the devel/cross-binutils and devel/cross-gcc ports.  The
cross-gcc port is at 4.2.3, so you may have to just copy what it does and
build gcc-3.4.4 manually.

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


setting the other end's TCP segment size

2008-07-29 Thread perryh
 [TCP] splits traffic to 'segments' using its own logic ...

Is there a simple way for a FreeBSD system to cause its peer
to use a transmit segment size of, say, 640 bytes -- so that
the peer will never try to send a packet larger than that?

I'm trying to get around a network packet-size problem.
In case it matters, the other end is SunOS 4.1.1 on a sun3, and
I've been unable to find a way to limit its packet size directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting the other end's TCP segment size

2008-07-29 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 07:36:34 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On Tue, 29 Jul 2008 21:04:53 -0700, [EMAIL PROTECTED] wrote:
 [TCP] splits traffic to 'segments' using its own logic ...

 Is there a simple way for a FreeBSD system to cause its peer
 to use a transmit segment size of, say, 640 bytes -- so that
 the peer will never try to send a packet larger than that?

 I'm trying to get around a network packet-size problem.  In
 case it matters, the other end is SunOS 4.1.1 on a sun3, and
 I've been unable to find a way to limit its packet size
 directly.

 Setting the interface MTU should do it, i.e.:

 ifconfig re0 mtu 640

 Not all interfaces support setting the MTU and some may have
 range restrictions though.

In particular, this seems to work with my wlan0 interface, but not with
my re0 interface.  The wlan0 interface correctly limits the maximum TCP
segment size to 500 bytes when I set the MTU:

# ifconfig wlan0 | fgrep mtu
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
# ifconfig wlan0 down; ifconfig wlan0 mtu 50 up

Then a tcpdump to save SSH traffic to a particular host, and a dump of
the resulting pcap shows:

# tcpdump -s 2000 -l -vvv -w save.pcap 'host a.b.c.d port 22'
Got 42^C
# echo ` tcpdump -n -l -vvv -r save.pcap 2/dev/null | \
 sed -e 's/.* length //' -e 's/).*//' ` | fmt
60 60 52 91 52 91 500 500 340 356 52 52 76 204 196 500 260 52 68
52 100 100 116 116 500 132 52 500 84 52 500 196 52 84 116 100 164
436 52 100 132 52

This should work for *both* sides of the connection because of the
initial maximum segment size negotiation between the two TCP hosts.
See for example the two first packets of the capture I mentioned above,
and look for the 'mss' option:

07:38:19.554338 IP (tos 0x0, ttl 64, id 44805, offset 0, flags [DF],
  proto TCP (6), length 60) 192.168.1.???.53468  X.Y.Z.W.22:
  S, cksum 0x20d6 (correct), 4195632487:4195632487(0) win 65535
  mss 460,nop,wscale 3,sackOK,timestamp 62534308 0
07:38:19.591065 IP (tos 0x0, ttl 54, id 39804, offset 0, flags [DF],
  proto TCP (6), length 60) X.Y.Z.W.22  192.168.1.???.53468:
  S, cksum 0x7f2f (correct), 901580944:901580944(0) ack 4195632488 win 65535
  mss 460,nop,wscale 3,sackOK,timestamp 3188303166 62534308

The MSS advertised is less than 500 to leave some space for the IP and
TCP headers, but the full IP datagram _length_ that I displayed in the
fmt(1) output above shows that the full MTU is used some times for the
IP datagrams sent or received.

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


carp+openospfd

2008-07-29 Thread Alexandre Biancalana
Hi list,  (I already ask this on -net, but I get no answers)

 I have two 100Mbit link (L2L, lan to lan) between the company and our
datacenter, on each side I have two redudant (pf+carp) firewalls.

 I configured one vlan for each 100Mbit link and used carp to do the
failover between machines on each side, the vlan interfaces are
configured without ip address (with Max's
carpdev patch), only carp interfaces have ips.

 I want to use OpenOSPFD to distribute our internal routes and do
automatic failover+loadbalance of this two 100Mbit links.

 This work ? Someone have a similar setup ? Any hints ?

 I'm using FreeBSD 7, OpenOSPFD 4 (from ports) and Max's carpdev patch.


 Best Regards,

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


Re: setting the other end's TCP segment size

2008-07-29 Thread Giorgos Keramidas
On Tue, 29 Jul 2008 21:04:53 -0700, [EMAIL PROTECTED] wrote:
 [TCP] splits traffic to 'segments' using its own logic ...

 Is there a simple way for a FreeBSD system to cause its peer
 to use a transmit segment size of, say, 640 bytes -- so that
 the peer will never try to send a packet larger than that?

 I'm trying to get around a network packet-size problem.  In
 case it matters, the other end is SunOS 4.1.1 on a sun3, and
 I've been unable to find a way to limit its packet size
 directly.

Setting the interface MTU should do it, i.e.:

ifconfig re0 mtu 640

Not all interfaces support setting the MTU and some may have
range restrictions though.

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


[jira] Created: (TUSCANY-2512) Client Exceptions whilst processing interface.java with binding.ws

2008-07-29 Thread Dave Sowerby (JIRA)
Client Exceptions whilst processing interface.java with binding.ws
--

 Key: TUSCANY-2512
 URL: https://issues.apache.org/jira/browse/TUSCANY-2512
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Assembly Model
Affects Versions: Java-SCA-Next
 Environment: Windows XP, with both J2SE 1.5.0_10 and IBM JDK 2.3 
(1.5.0)
Reporter: Dave Sowerby


I have a Service interface which exposes the following two operations:

public String sayHello(String name);

public void throwException() throws WSException;

When I attempt to use the Node API to fetch a reference to a service exposing 
these operations I get Exceptions whilst the runtime attempts to generate a 
wsdl model of the service interface.  

If I comment out throwException() I get:
 org.apache.tuscany.sca.interfacedef.wsdl.impl.InvalidWSDLException: Element 
cannot be resolved: {http://ws.example.com/}arg0

(Full stack at to install and run Linux I must *enable* native sata in the bios.


--

Christer Hermansson

http://www.chdevelopment.se


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