Re: www/linux-flashplayer7 - now works with SOUND on youtube

2007-07-14 Thread Jim Capozzoli

On 7/12/07, Chad Perrin [EMAIL PROTECTED] wrote:

On Thu, Jul 12, 2007 at 11:18:42PM +0100, Jamie Jones wrote:
  On Thu, 12 Jul 2007 20:19:02 +
  Pollywog [EMAIL PROTECTED] wrote:
 
   On Thursday 12 July 2007 19:35:47 RW wrote:
  
   
I don't recall ever having a problem with sound on youtube with
Flash7
- the problems were with Flash9 which relies on ALSA.

 Are you using it with the linux-binary ?

 I don't know anyone who has managed to get sound from youtube (other sites 
are ok)
 with linux-flashplugin7 under a native browser with the pluginwrapper before 
now!

The Linux Flash plugin is working fine, including sound, on YouTube, with
my FreeBSD-native browser.  I'm using the nspluginwrapper port for a
plugin wrapper (as opposed to the linuxpluginwrapper).



   Does that mean Flash9 is a no-go on FreeBSD?
 
  It means there's no sound with Flash9.

 The flashplugin9 port comes with lofi's compiled libflashsupport tuned to 
OSS,
 so that shouldn't be an issue.

 Indeed, I just tried flash9 again, and I do get sound (the other issues with 
flash9
 are another story)

Yeah . . . Flash 9 is quite broken for me.

--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Paul Graham: Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Indeed, nspluginwrapper works very fine for me with 6-stable packages.
The youtube homepage seems to crash, but that's what google is for :)
nspluginwrapper seems more simple to setup then linuxpluginwrapper,
no configuration files.  I've never gotten linuxpluginwrapper to work,
either, so...

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


Re: Using FreeBSD iconv on Linux

2007-07-14 Thread Dan Nelson
In the last episode (Jul 13), Manjunath Warad said:
 Can someone direct me as how to use FreeBSD iconv on linux? I know
 there exists a GNU iconv on linux; however, I am interested in using
 FreeBSD iconv.
 
 I would be grateful if someone let me know how to get the complete
 package [source code and makefiles] on windows machine and if
 possible let me know what are the changes involved to port the source
 code and makefiles to build in Linux.

The sources are at
ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/bland/ , but it
really hasn't been updated since 2000.  All the FreeBSD ports depend on
GNU iconv.

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


Trailing / required in URL

2007-07-14 Thread Kjell
On my old R4.6 server  I get a “The connection has timed out” error when I 
enter  http://192.168.1.1/test while http://192.168.1.1/test/ serves the 
expected page.

On my new R6.2 server http://192.168.1.1/test  works as expected.

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


max resolution with vesa driver on amd64 system running FreeBSD 6.2

2007-07-14 Thread Dino Vliet
Hi folks,

I'm having problems with my monitor on freebsd. The vesa driver uses 1024X768 
while the monitor is capable of doing 1680x1050.

Observed here as well:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+bug/5801

Using the nv driver is no option because it freezes my system and I have to 
turn the power down to start booting the system again.

Am I in a problematic situation now because:

1) Vesa isn't capable of using higher resolutions?
2) I can use NV because the driver isn't ok on my amd64 system
3) Nvidia doesn't provide a FreeBSD version of their nvidia driver on AMD64 
based systems?

Brgds


 
   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kmail Problems after update

2007-07-14 Thread Zbigniew Komarnicki
Dnia sobota, 14 lipca 2007 04:38, Dantavious napisał:
   Hi.
 It seems that after my update to kde 3.5.7, my kmail filters do not work.
 They only work if I select each message and apply the filter manually. If I
 try to do several at a time kmail crashes. Anyone else seeing this or know
 what I can do to fix this.
 Derrick

Hi Derrick,
I have also this same problem.

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


Obmenu

2007-07-14 Thread Graham Bentley

Hi All,

I was wondering if anyone can shed any light on this, I have come accross
it before but cant remember how to resolve ?

I think there are some Perl modules to install and vaguely recall something
to do with cpan but thats about it.

I downloaded the latest obmenu [a graphical menu editor for OpenBox] and
foloowed the instructions - results below ;

$ su root
Password:
3bsd# python setup.py install
running install
running build
running build_py
creating build
creating build/lib
copying obxml.py - build/lib
running build_scripts
creating build/scripts-2.4
copying and adjusting obmenu - build/scripts-2.4
copying and adjusting pipes/obm-xdg - build/scripts-2.4
copying and adjusting pipes/obm-dir - build/scripts-2.4
copying and adjusting pipes/obm-moz - build/scripts-2.4
copying and adjusting pipes/obm-nav - build/scripts-2.4
changing mode of build/scripts-2.4/obmenu from 644 to 755
changing mode of build/scripts-2.4/obm-xdg from 644 to 755
changing mode of build/scripts-2.4/obm-dir from 644 to 755
changing mode of build/scripts-2.4/obm-moz from 644 to 755
copying build/lib/obxml.py - /usr/local/lib/python2.4/site-packages
byte-compiling /usr/local/lib/python2.4/site-packages/obxml.py to obxml.pyc
running install_scripts
copying build/scripts-2.4/obmenu - /usr/local/bin
copying build/scripts-2.4/obm-xdg - /usr/local/bin
copying build/scripts-2.4/obm-dir - /usr/local/bin
copying build/scripts-2.4/obm-moz - /usr/local/bin
copying build/scripts-2.4/obm-nav - /usr/local/bin
changing mode of /usr/local/bin/obmenu to 755
changing mode of /usr/local/bin/obm-xdg to 755
changing mode of /usr/local/bin/obm-dir to 755
changing mode of /usr/local/bin/obm-moz to 755
changing mode of /usr/local/bin/obm-nav to 755
running install_data
creating /usr/local/share/obmenu
copying obmenu.glade - /usr/local/share/obmenu
copying icons/mnu16.png - /usr/local/share/obmenu
copying icons/mnu48.png - /usr/local/share/obmenu
3bsd# exit
exit
$ obmenu
Traceback (most recent call last):
  File /usr/local/bin/obmenu, line 21, in ?
import obxml, gtk, gtk.glade, gobject, random, time, os, sys
ImportError: No module named gtk



If anyone could help with this it would be greatly appreciated.

Thanks!







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


mod_security2

2007-07-14 Thread Bazy
Hi guys,

Do any of you use mod_security2?

An article just came up on HowToForge about it, and I'm skeptic about 
installing it on my FreeBSD box.
Is mod_security2 ok? Will it load the CPU? Will it make apache22 slow?

http://www.howtoforge.com/apache2_mod_security_debian_etch ModSecurity is an 
Apache module that provides intrusion detection and prevention for web 
applications. It aims at shielding web applications from known and unknown 
attacks, such as SQL injection attacks, cross-site scripting, path traversal 
attacks, etc.

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


Re: Finally Converting From Bind 8 - Bind 9

2007-07-14 Thread Alex Zbyslaw

Tim Daneliuk wrote:


Alex Zbyslaw wrote:


Tim Daneliuk wrote:


2) Better still is there some sort of include mechanism where I could
   keep a flat file of public host information for use by db.external,
   but include it into db.internal.



I don't think there is, but let someone who uses bind more than I do 
give a definitive on that :-)


What you *can* do, irrespective of bind version, is to have two files 
which you pre-process with m4, and have a third file which m4 
includes on both the others.


So you start with:

   internal.M4 which includes shared
   external.M4 which also includes shared
   shared which gets included in the other two.

Then m4 internal.M4  internal and m4 external.M4 - external.

Bind then loads internal and external.



A reasonable and very Unix-ish solution, certainly.  Though, I think
the subsequent post on this thread regarding $INCLUDE is probably more
elegant ;)

Certainly, since bind supports it (it's even in my Bind 8 book, though I 
never noticed it before).


Of course, you can do a heck of a lot more with m4, and it's not limited 
to bind, but in this case I would say that simplicity wins hands down ;-)


--Alex


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


Re: Obmenu

2007-07-14 Thread Olivier Regnier

Graham Bentley a écrit :

Hi All,

I was wondering if anyone can shed any light on this, I have come accross
it before but cant remember how to resolve ?

I think there are some Perl modules to install and vaguely recall 
something

to do with cpan but thats about it.

I downloaded the latest obmenu [a graphical menu editor for OpenBox] and
foloowed the instructions - results below ;

$ su root
Password:
3bsd# python setup.py install
running install
running build
running build_py
creating build
creating build/lib
copying obxml.py - build/lib
running build_scripts
creating build/scripts-2.4
copying and adjusting obmenu - build/scripts-2.4
copying and adjusting pipes/obm-xdg - build/scripts-2.4
copying and adjusting pipes/obm-dir - build/scripts-2.4
copying and adjusting pipes/obm-moz - build/scripts-2.4
copying and adjusting pipes/obm-nav - build/scripts-2.4
changing mode of build/scripts-2.4/obmenu from 644 to 755
changing mode of build/scripts-2.4/obm-xdg from 644 to 755
changing mode of build/scripts-2.4/obm-dir from 644 to 755
changing mode of build/scripts-2.4/obm-moz from 644 to 755
copying build/lib/obxml.py - /usr/local/lib/python2.4/site-packages
byte-compiling /usr/local/lib/python2.4/site-packages/obxml.py to 
obxml.pyc

running install_scripts
copying build/scripts-2.4/obmenu - /usr/local/bin
copying build/scripts-2.4/obm-xdg - /usr/local/bin
copying build/scripts-2.4/obm-dir - /usr/local/bin
copying build/scripts-2.4/obm-moz - /usr/local/bin
copying build/scripts-2.4/obm-nav - /usr/local/bin
changing mode of /usr/local/bin/obmenu to 755
changing mode of /usr/local/bin/obm-xdg to 755
changing mode of /usr/local/bin/obm-dir to 755
changing mode of /usr/local/bin/obm-moz to 755
changing mode of /usr/local/bin/obm-nav to 755
running install_data
creating /usr/local/share/obmenu
copying obmenu.glade - /usr/local/share/obmenu
copying icons/mnu16.png - /usr/local/share/obmenu
copying icons/mnu48.png - /usr/local/share/obmenu
3bsd# exit
exit
$ obmenu
Traceback (most recent call last):
  File /usr/local/bin/obmenu, line 21, in ?
import obxml, gtk, gtk.glade, gobject, random, time, os, sys
ImportError: No module named gtk



If anyone could help with this it would be greatly appreciated.

Thanks!







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

Hello Graham,
---
File /usr/local/bin/obmenu, line 21, in ?
   import obxml, gtk, gtk.glade, gobject, random, time, os, sys
ImportError: No module named gtk
---

You must first install py-gtk2 = 
http://www.freshports.org/x11-toolkits/py-gtk2/
To install the port: |make -C /usr/ports/x11-toolkits/py-gtk2/ install 
clean|

After run obmenu.

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


X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro[SOLVED]

2007-07-14 Thread Byron Campbell
This is weird, but the fix for my system (thanks Albert) is 
to force the AGP to PCI bus by setting the appropriate (or 
maybe inappropriate:-) option in the Device section of my 
xorg.conf, i.e:


Section Device
Option           BusType PCI
        Identifier         Card0
Driver             radeon
VendorName  ATI Technologies Inc
BoardName    RV350 AP [Radeon 9600]
BusID             PCI:1:0:0
EndSection


Haven't tried to play video clips yet, but dragging an 
xterm around the on desktop (xfce4) is very smooth now.

Byron - WA4GEG

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


Re: Transfering a File From One Server To Another

2007-07-14 Thread Norberto Meijome
On Fri, 13 Jul 2007 09:41:21 -0700 (PDT)
Pat Singer [EMAIL PROTECTED] wrote:

 however nc didn't work because it doesn't accomodate authentication

Hi Pat,
I'm curious...what does authentication (and nc not supporting it) have to do 
with the situation you explained?  I mean...u log in before hand to each 
machine, then transfer the data between each socket handled by each nc 
instance... 
thanks :)
B

_
{Beto|Norberto|Numard} Meijome

All parts should go together without forcing. You must remember that the parts 
you are reassembling were disassembled by you.
 Therefore, if you can't get them together again, there must be a reason. 
 By all means, do not use hammer.
   IBM maintenance manual, 1975

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


Re: mod_security2

2007-07-14 Thread Norberto Meijome
On Sat, 14 Jul 2007 13:03:24 +0300
Bazy [EMAIL PROTECTED] wrote:

 An article just came up on HowToForge about it, and I'm skeptic about 
 installing it on my FreeBSD box.
 Is mod_security2 ok? 

I dont know, sorry

 Will it load the CPU?

more than not running it? definitely. Too much that is unacceptable for your 
needs? i dont think we can tell, give it a try in a test server and see how it 
affects your loads.

 Will it make apache22 slow?

along the same lines :) executing code that is not directly related to serving 
your pages will mean your server will have less time for processing the web 
requests... is this acceptable, given the benefits you may get? i dont know :)

 
 http://www.howtoforge.com/apache2_mod_security_debian_etch ModSecurity is an 
 Apache module that provides intrusion detection and prevention for web 
 applications. It aims at shielding web applications from known and unknown 
 attacks, such as SQL injection attacks, cross-site scripting, path traversal 
 attacks, etc.

it sounds like a pretty useful module...may be doing some heavy lifting though..

let us know what you find out :)

_
{Beto|Norberto|Numard} Meijome

Life is not measured by the number of breaths we take, but by the moments that 
take our breath away.

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


Re: mod_security2

2007-07-14 Thread Manolis Kiagias
Bazy wrote:
 Hi guys,

 Do any of you use mod_security2?

 An article just came up on HowToForge about it, and I'm skeptic about 
 installing it on my FreeBSD box.
 Is mod_security2 ok? Will it load the CPU? Will it make apache22 slow?

 http://www.howtoforge.com/apache2_mod_security_debian_etch ModSecurity is an 
 Apache module that provides intrusion detection and prevention for web 
 applications. It aims at shielding web applications from known and unknown 
 attacks, such as SQL injection attacks, cross-site scripting, path traversal 
 attacks, etc.

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

   
I used to have mod_security (the original one, not 2) on my debian
server. It works great, the increase in security outweighs the few more
resources the server needs. Will it slow you down? That depends on your
hardware and the amount of traffic you are receiving. Mine was (is) a
small web server and there was no noticeable performance penalty from
mod_security. And it does all that is promised in the article you found.
In fact I was tempted to move to mod_security2 when I upgraded my apache
server, but mod_security2 has different directives / rules and could not
find a good tutorial at the time to convert my original rules.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel G965 chipset?

2007-07-14 Thread Antony Mawer

On 14/07/2007 8:07 AM, Bruce Caruthers wrote:
...

=== My Question:
So, can I use an Intel motherboard with the 965
chipset?  If not, what is the latest chipset I can
use which will meet my needs?


We use the 965 based boards for many of our servers and they work fine - 
the only gotchas I have come across has been the onboard IDE controller 
is a Marvell ATA controller, and not supported by the drivers in 
6.2-RELEASE. I made a back-port of the -CURRENT driver to 6.2 some 
months ago and have not had any problems (although the CD-ROM connected 
to said IDE channel is only used for the installation process!).


I would imagine that the driver is likely present in 6-STABLE and the 
upcoming 6.3 release later this year.


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


Re: Installing in a logical partition

2007-07-14 Thread Ian Smith
On Fri, 13 Jul 2007 19:44:57 +0200 h p [EMAIL PROTECTED] wrote:

  I try to install FreBSD 6.2 as third OS on my laptop (after Windows XP
  and Gentoo Linux).
  
  I only have a logical partition left for it. sysinstall only shows
  four slices on my hard drive, ad4s1 - ad4s4. ad4s4 is correctly
  recognized as a DOS extended partition, but the logical partitions
  inside it are not displayed - so I can't select the slice I have set
  aside for FreeBSD.
  
  Is this possible? I don't find that limitation in the handbook, and it
  seems utterly anachronistic to me. What can I do to get around this?

Josh is right; you can't install to or boot from a 'logical partition',
it needs to be one of the 4 primary slices.

That said, FreeBSD can access each 'logical drive' in the 'extended
partition' (FAT16/32, NTFS and HPFS (r/o), probably ext2fs, and of
course UFS), here as ad4s5, ad4s6 .. 

Are all three of ad4s1 to ad4s3 now in use for XP and Gentoo?  Do you
have other 'logical drives' already in ad4s4 that can't go elsewhere? 

Could you maybe install Gentoo in the 'extended partition', freeing up
its primary slice for FreeBSD?

Cheers, Ian

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


Re: Using FreeBSD iconv on Linux

2007-07-14 Thread Dan Nelson
In the last episode (Jul 14), Manjunath Warad said:
 From: Dan Nelson [mailto:[EMAIL PROTECTED] 
 In the last episode (Jul 13), Manjunath Warad said:
  Can someone direct me as how to use FreeBSD iconv on linux? I know 
  there exists a GNU iconv on linux; however, I am interested in using 
  FreeBSD iconv.
  
  I would be grateful if someone let me know how to get the complete
  package [source code and makefiles] on windows machine and if
  possible let me know what are the changes involved to port the
  source code and makefiles to build in Linux.
 
 The sources are at
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/bland/ , but
 it really hasn't been updated since 2000.  All the FreeBSD ports
 depend on GNU iconv.
 
 Thanks for your reply Dan, You mean, FreeBSD iconv is using GNU iconv
 library internally? I was interested in the iconv source code. Please
 let me know whether FreeBSD has its own source code for iconv.

There is no iconv at all in the base system.  Any port that requires
iconv sets the USE_ICONV Makefile variable, which will add the
converters/libiconv (GNU iconv) port as a dependency.

The link I gave above is for a BSD-licensed version of iconv, but it
never got into the base system, just the ports tree.

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


Re: Garbled text in xterm

2007-07-14 Thread Lowell Gilbert
Hmm.  I've never heard of any symptoms quite like this.
A few stabs in the dark:

 What happened if you used no xorg.conf at all?  Did you get the same
xterm problem?

 Do you have a locale set?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Attansic L1 Gigabit Ethernet Adapter

2007-07-14 Thread Lowell Gilbert
Jose Luis Alarcon Sanchez [EMAIL PROTECTED] writes:

 My PC box have this Ethernet adapter (Linux kernel description):

 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter 
 (rev b0)

Attansic is now part of Atheros, but I can't find enough information
on that card to try matching it to a driver.

If you have the hardware available, you might try booting from a CD
and see if it is recognized.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Data corruption with Ide Raid Card

2007-07-14 Thread Ian Lord
Hi,

 

On our dev environnement, we have a clone server with a Promise FastTrak
Tx2000 Pata Raid Card

 

When we installed freebsd, it got detected and I didn't do anything special
during the installation.

 

Yesterday, a hard drive failed. Freebsd crashed with write errors on screen.
I rebooted and removed the hard drive marked as dead in the raid controller.

 

Freebsd booted up no problem, but I lost a couple of tables in some
databases in mysql.

 

Is there anything I forgot/did wrong to get into this problem ? or is it
just that these controllers are so crappy that explain the corruption ?

 

I more used to scsi hardware raid controllers in freebsd and never had a
data corruption problem before even when disk died or because we hot-removed
them.

 

Any idea ?

 

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


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-14 Thread Tek Bahadur Limbu

Nikola Lecic wrote:

On Sat, 14 Jul 2007 00:32:54 +0545
Tek Bahadur Limbu [EMAIL PROTECTED] wrote:


Hi All,

Due to a power outage, my FreeBSD-6.1 (i386) machine got rebooted. 
However, upon reboot right after the initial startup menu, it simply

hangs.

I tried rebooting the machine several times but in vain.

My Bios detects my hard drive. Also since I get the initial startup 
menu, something must be wrong or corrupted in the Boot loader.


Can somebody point me or give me any hints about fixing this problem.
I have really some information in my hard drive which I want to keep
or restore.


Hello Tek,

The first thing I'd do is to download FreeSBIE (if you already don't
have it), boot from it and do some initial inspection of the main drive.

Then you will probably collect some more data about status of file
systems etc. that will allow people from this list to share with you
much more useful advices than it's possible at the moment.


Hi Nikola,

Thank you for your tips. I will download the FreeSBIE live CD tomorrow 
and follow it up with your suggestions.


One thing I find FreeBSD very fussy and sensitive in comparison to Linux 
OSes is that whenever there is an power outage, something wrong is bound 
to happen. Maybe, it was made to happen this way but living in here over 
the other side of the world, we do have to face power outages despite 
our best efforts.


Thanking you...




Nikola Lečić






--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

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


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-14 Thread Pollywog
On Saturday 14 July 2007 17:36:05 Tek Bahadur Limbu wrote:


 Thank you for your tips. I will download the FreeSBIE live CD tomorrow
 and follow it up with your suggestions.

 One thing I find FreeBSD very fussy and sensitive in comparison to Linux
 OSes is that whenever there is an power outage, something wrong is bound
 to happen. Maybe, it was made to happen this way but living in here over
 the other side of the world, we do have to face power outages despite
 our best efforts.

Before I installed FreeBSD, I had been using PC-BSD on the same laptop on 
which I now have FreeBSD.  I had only been running PC-BSD on the laptop for a 
little over a week, when it crashed.  I rebooted the machine and I had an 
unbootable system.   It would start to boot and then lockup as soon as KDE 
appeared, so I think the problem wasn't PC-BSD but KDE.  I then installed 
FreeBSD.  If this happens again, I will try installing gdm or xdm to see if 
that fixes the problem.

Because of your experience as described in this thread, I think I will put off 
installing FreeBSD on my desktop machines until I have an uninterruptible 
power supply (UPS) installed.  I don't know if there are certain models of 
UPS's that will work with FreeBSD better than others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-14 Thread Manolis Kiagias


Pollywog wrote:
 On Saturday 14 July 2007 17:36:05 Tek Bahadur Limbu wrote:

   
 Thank you for your tips. I will download the FreeSBIE live CD tomorrow
 and follow it up with your suggestions.

 One thing I find FreeBSD very fussy and sensitive in comparison to Linux
 OSes is that whenever there is an power outage, something wrong is bound
 to happen. Maybe, it was made to happen this way but living in here over
 the other side of the world, we do have to face power outages despite
 our best efforts.
 

 Before I installed FreeBSD, I had been using PC-BSD on the same laptop on 
 which I now have FreeBSD.  I had only been running PC-BSD on the laptop for a 
 little over a week, when it crashed.  I rebooted the machine and I had an 
 unbootable system.   It would start to boot and then lockup as soon as KDE 
 appeared, so I think the problem wasn't PC-BSD but KDE.  I then installed 
 FreeBSD.  If this happens again, I will try installing gdm or xdm to see if 
 that fixes the problem.

 Because of your experience as described in this thread, I think I will put 
 off 
 installing FreeBSD on my desktop machines until I have an uninterruptible 
 power supply (UPS) installed.  I don't know if there are certain models of 
 UPS's that will work with FreeBSD better than others.
   
Generally the APC UPSes work fine with FreeBSD. There is the apcupsd
port for controlled unattended shutdowns. They work fine in Linux too
with the same program.
You may also find other solutions that work fine with the nutups program.
As for failing to reboot after a power failure, you must have been
terribly unlucky...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS Problems/Questions

2007-07-14 Thread Jason Morgan
On Sat, Jun 30, 2007 at 07:33:19PM -0400, Jason Morgan wrote:
 On Sat, Jun 23, 2007 at 07:42:24PM -0400, Jason Morgan wrote:
  On Sat, Jun 23, 2007 at 12:46:27PM -0700, Michael Smith wrote:
   Hello Jason:
   
   On Jun 23, 2007, at 9:34 AM, Jason Morgan wrote:
   
   I've been having some trouble with NFS performance for some time and
   now that class is out, I've had a bit of time to investigate but I'm
   stuck. Below are the details of my investigation. Hopefully, someone
   here can give me some advice.
   
   The basic problem is that my NFS performance is very slow. Right now,
   I am connecting two workstations to a NFS server, which has my home
   directory, etc, mounted. They are connected over a gigabit network
   (right now with mtu set to 7000, which is supported by all hardware --
   changing it to 1500 has no effect on performance, which is
   strange). Each system is running 6.2-RELEASE or -STABLE. Each system
   is also using the following network card:
   
   # ifconfig sk0
   sk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 7000
   options=bRXCSUM,TXCSUM,VLAN_MTU
   inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255
   ether 00:17:9a:bb:05:87
   media: Ethernet autoselect (1000baseTX full- 
   duplex,flag0,flag1)
   status: active
   
   # dmesg | grep sk
   skc0: D-Link DGE-530T Gigabit Ethernet port 0xec00-0xecff mem
 0xfdff8000-0xfdffbfff irq 18 at device 10.0 on pci0
   skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
   sk0:  Marvell Semiconductor, Inc. Yukon on skc0
   sk0:  Ethernet address: 00:17:9a:XX:XX:XX
   
   ## Server /etc/rc.conf settings
   
   rpcbind_enable=YES
   rpc_lockd_enable=YES
   rpc_statd_enable=YES
   nfs_server_enable=YES
   nfs_server_flags=-u -t -n 12
   nfs_bufpackets=32
   mountd_flags=-r
   
   
   ## Client /etc/rc.conf settings
   
   nfs_client_enable=YES
   nfs_bufpackets=32
   nfsiod_enable=YES
   nfsiod_flags=-n 6
   rpc_lockd_enable=YES
   rpc_statd_enable=YES
   rpcbind_enable=YES
   
   ## /etc/exports
   
   /usr -alldirs,maproot=root client1 client2
   
   
   For performance benchmarking, I am using dd. Locally from the server,
   this is a representative result when writing a 1GB file:
   
   ## Local write test (for an upper-bound on what to expect).
   
   # dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
   1000+0 records in
   1000+0 records out
   1048576000 bytes transferred in 19.580184 secs (53552919 bytes/sec)
   
   Connecting from a client (both clients get approximately the same
   results).
   
   ## Remote connection (UDP), mounted in /etc/fstab as with flags:
   ## rw,-U,-3,-r=32768,-w=32768
   
   # dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
   1000+0 records in
   1000+0 records out
   1048576000 bytes transferred in 101.151139 secs (10366428 bytes/sec)
   
   ## Remote connection (TCP), mounted in /etc/fstab as with flags:
   ## rw,-T,-3,-r=32768,-w=32768
   
   # dd if=/dev/zero of=./nfs.dat bs=1024k count=1000
   1000+0 records in
   1000+0 records out
   1048576000 bytes transferred in 59.668585 secs (17573334 bytes/sec)
   
   As can be seen above, TCP is much faster than UPD. I have tried many
   different mount settings and these are the best results I could
   get. To test whether or not I have having network issues, I
   transferred the same nfs.dat file via a http connection and got
   ~32MB/sec -- almost 2x the speed of the TCP NFS connection. 32MB/sec
   is about what I would expect given that my fastest write speed is
   ~50MB/sec.
   
   At this point I am stumped. I have tried increasing/changing the
   number of nfsiod servers as well as nfs_bufpackets. No matter what
   settings I change, the results are always the same. I get only two
   errors, first on /var/log/messages on the server I have just begun
   seeing:
   
   Jun 22 21:13:47 crichton routed[666]: sendto(dc1, 224.0.0.2):  
   Operation not permitted
   Jun 22 21:13:47 crichton routed[666]: sendto(sk0, 224.0.0.2):  
   Operation not permitted
   Jun 22 21:13:50 crichton routed[666]: sendto(dc1, 224.0.0.2):  
   Operation not permitted
   Jun 22 21:13:50 crichton routed[666]: sendto(sk0, 224.0.0.2):  
   Operation not permitted
   
   This appeared after I added a route; however, I added the route after
   many of the tests were done. I get the same results now as before the
   new route. On one of the clients (the one running 6.2-RELEASE-p1), I
   also get a nasty error:
   
   nfs/tcp clnt: Error 60 reading socket, tearing down TCP connection
   
   This cropped up last night after I tweaked some settings. They have
   now been changed back, but I still get this error. The other client is
   unaffected.
   
   I appreciate any help people can provide on tracking down the
   issues. Sorry about the long email -- just trying to be thorough. Of
   course, I've searched the Internet and can't find any clear assistence
   on these issues.
   
   Cheers,
   ~Jason
   
   We use the 

Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-14 Thread Pollywog
On Saturday 14 July 2007 18:39:04 Manolis Kiagias wrote:


 Generally the APC UPSes work fine with FreeBSD. There is the apcupsd
 port for controlled unattended shutdowns. They work fine in Linux too
 with the same program.
 You may also find other solutions that work fine with the nutups program.
 As for failing to reboot after a power failure, you must have been
 terribly unlucky...

My crash was unrelated to a power failure.  We have lots of those in this part 
of California (Humboldt County) but this was on a laptop.  It was just a 
crash that forced me to reboot, then the machine would not start properly.

Thanks for the info about UPS's.  I will start looking around and I will be 
sure to buy one before the rains start in October.

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


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-14 Thread Nikola Lecic
On Sat, 14 Jul 2007 23:21:05 +0545
Tek Bahadur Limbu [EMAIL PROTECTED] wrote:

 One thing I find FreeBSD very fussy and sensitive in comparison to
 Linux OSes is that whenever there is an power outage, something wrong
 is bound to happen. Maybe, it was made to happen this way but living
 in here over the other side of the world, we do have to face power
 outages despite our best efforts.

My experiences are completely opposite. I find UFS stability and
integrity superior to that of ext2/ext3 in cases such as power
failures, and UFS background fsck-ing as a fascinating feature. (After
power failure, UFS usually needs zero repairs thanks to soft updates.)

What other wrong things you experienced? I agree with Manolis that you
simply must have been terribly unlucky.

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


Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
Hello!

I have a script launched from cron every morning, that gets certain data over 
the Internet from a remote computer, compares the new data with that from the 
previous day, and outputs the difference (if any).

I'm relying on the fact, that cron e-mails me the output of each job.

However, I modified the script recently to produce the output (if any) in 
HTML, rather than in plain-text format.

The HTML arrives by e-mail just as well as plain text used to, but no e-mail 
program will render it as such, because neither the cron(8), nor the mail(1),
which cron uses to send e-mail, creates MIME messages...

How can I force the ``Content-Type: text/html'' header without hacking cron's 
sources? I'd rather avoid poluting my script with e-mail sending code...

Maybe, cron should apply file(1)-like logic to the e-mailed content?

Thanks for any hints. Yours,

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


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-14 Thread Peter Boosten


Pollywog wrote:

 Because of your experience as described in this thread, I think I will put 
 off 
 installing FreeBSD on my desktop machines until I have an uninterruptible 
 power supply (UPS) installed.  

Hmmm, it's just the experience of one person. I've encountered several
power failures and not once my FreeBSD boxes failed to boot afterwards.

Peter
-- 
http://www.boosten.org
___
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 start apache22 without ssl

2007-07-14 Thread pj

Norberto Meijome wrote:

On Fri, 13 Jul 2007 13:27:41 -0400
pj [EMAIL PROTECTED] wrote:


Somethings isn't quite right here.
It was suggested I load the accf_http from the /boot/loader.conf file. I 
did. So, now I removed the line from /boot/loader.conf; it is empty of 
any directives. I rebooted and accf_http.ko is no longer in the kernel - 
according to kldstat.


man loader.conf

Once you understand what loader.conf is for, and what a kernel module is, you
should understand what has happened.


ps xa | grep htt gives

 /usr/local/sbin/httpd - DNOHTTPACCEPT

Something is fishy here... any thoughts?


nothing fishy at all. read the man, read about kernel modules, read :)


Why me? I always seem to get these weird anomalies... :(


sorry to break it to you, but odds are it's due to your current lack of
understanding of the system, rather than the universe poised against you :)
don't worry, it's fixable (understanding, not the universe ;) ).

Good luck,
_
{Beto|Norberto|Numard} Meijome

There are two kinds of stupid people. One kind says,'This is old and therefore
good'. The other kind says, 'This is new, and therefore better.'
 John Brunner, 'The Shockwave Rider'.

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

Well, I don't think the universe is against me. I rather think that 
there is a really serious lack of communications skills among many 
programmers. I find that often the simplest installations are overly 
complicated and convoluted, if you will. For example, I have been 
strugglling with the installation of CUPS. For some reason the CUPS 
metaport would not install. I finally decided to install only the 
cups-base and then the configuration and implementation were child's 
play. No need to install gnu-ghostscript of gutenprint or any of the 
other stuff - I just put the ppd file for my specific printer in the 
cups/ppd directory, tweaked the configuration and bingo. The same for 
OpenOffice.org... I had to figure out a way to simplify the installation 
and had no need to go through 12 hours of compilation from the source 
code. The binary was a snap, once I figured it out. Apache22 and Samba 
had me confused for a while, but with a little help from the mailing 
list I got straightened out and it all works like a charm.


But the httpd -DNOHTTPACEPT remains a mystery; after removing the 
loader.config entry, I rebooted, checked the kldstat, found the module 
no longer loaded in the kernel but the ps waux | grep httpd still came 
up with -DNOHTTPDACCEPT. I did not do any further tweaking or make any 
changes to apache22 and now it boots correctly and the -DNOHTTPDACCEPT 
is no longer there. Now, wouldn't you say that is weird. But then, I do 
admit that I do not understand the system.


However, I am the greatest fan of understanding you could find. That's 
why I ask questions that may seem strange at times.
BTW, my advice to programmers and, for that matter, anyone in any kind 
of a project - think about the end user and how he will see the results 
of your works, how he will use it without having the creator's vision.


I enormously appreciate the help you and everyone who responded were 
able to offer. Hope I can do so for others as I grow with the system.

Phil
___
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 start apache22 without ssl

2007-07-14 Thread pj



sorry to break it to you, but odds are it's due to your current lack of
understanding of the system, rather than the universe poised against you :)
don't worry, it's fixable (understanding, not the universe ;) ).

Fortunately,most things are!
If I may add, for what it's worth, the only good thing I ever learned 
from a layer:


You can't fix 'stupid'. ;)

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


Re: 10Mbps versus 100Mbps Cable Modems

2007-07-14 Thread L Goodwin
They probably did it because the number of subscribers
has increased to the point that they need to start
limiting bandwidth to ensure that everyone gets their
fair share. They probably allowed subscribers to
exceed their allotted max bandwidth while the number
of subscribers was sufficiently low that they did not
have to worry about it. Now that they have a lot of
subscribers, they have to worry about it.

--- Sten Daniel Soersdal [EMAIL PROTECTED] wrote:

 fbsd2 wrote:
  Comclark cable in Angeles City Philippines has
 changed 
  from using 100Mbps Cable Modem to 10Mbps Cable
 Modem.
  To me this seems to be all wrong as all I see is
 slower response.
  Is there any technical or performance reason for
 any cable internet 
  provider to downgrade their network subscribers
 cable modems 
  from 100Mbps to 10Mbps? 
 
 That reason could be compatibility.
 
 If you see slower response then perhaps something is
 wrong.
 Perhaps you should call their support and verify
 that you do not have a 
 mismatched duplex setting?
 
 Mismatched duplex can come from misbehaving
 autonegotiation or that one 
 end is set to full-duplex while the other end is set
 to half-duplex, or, 
 one end is set to full-duplex and the other end is
 set to auto-negotiate 
 (which results in falling back to half-duplex).
 
 -- 
 Sten Daniel Soersdal
 ___
 freebsd-questions@freebsd.org mailing list

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



  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
Derek Ragona wrote:
= = I'd rather avoid poluting my script with e-mail sending code...
 
= You need to change your script to send the email itself.

Thank you, Derek, but -- as I stated already -- I wanted to see, if this can 
be avoided...

Since you posted your script, I'll comment on it. First of all, you don't need 
ksh for anything you are doing in this script. FreeBSD's /bin/sh is enough 
(we aren't Solaris :-) -- but is 9 times smaller here (amd64).

Now, instead of redirecting each line of output into MAILFILE, then mailing, 
and removing it, you should be either outputing everything directly into 
mail:

{
cat $REPORT_LOG_HEADER
echo$MAILFILE
echo$MAILFILE
echo BR BR  $MAILFILE


cat $REPORT_LOG_FOOTER
} | $MAIL -s the report name $MAILTO

or, if you want to use the temporary file, use exec to redirect into it 
_once_, instead of _on every line_:

exec  $MAILFILE
cat $REPORT_LOG_HEADER

printf  \n \nBRBR\n
$MAIL -s the report name $MAILTO  $MAILFILE
$RM $MAILFILE

This may look nicer, but is not, because temporary files are nasty, and you 
need to be sure, that you remove them in case you are interrupted (trapping 
signals, etc.)

I was surprised, one can not redirect into a pipe directly. The following did 
not work, as I expected, with neither /bin/sh nor /usr/local/bin/ksh93. The 
following, I thought, would be the same as my first example, only 
nicer-looking:

exec | $MAIL -s the report name $MAILTO
cat .

But it is not. So you have to chose from one of the first two examples. Yours,

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


Re: Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
= To accomplish this I have my cron job run a script like this

Sorry, I missed the most important part. Your script just uses /usr/bin/mail, 
the same way cron does. You are not adding anything, not already present in 
cron -- your script should simply produce output to stdout. Cron will mail 
all that to the address specified in MAILTO=... part of your crontab 
automatically.

AFAIK, to make the e-mail message treated as a MIME one, the MIME-Version: 
1.0 and Content-Type: ... have to be among _headers_.

I'm afraid, it is not possible to directly manipulate the message's headers 
using mail(1), which is why I asked my question in the first place...

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


Re: Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
On субота 14 липень 2007, Daniel Bye wrote:
=  How can I force the ``Content-Type: text/html'' header without hacking
=  cron's sources? I'd rather avoid poluting my script with e-mail sending
=  code...
= 
= Alter your script to add the 'Content-Type: text/html' header.

No, I'm afraid, doing this will make the quoted text part of the _body_ of the 
message.

=  Maybe, cron should apply file(1)-like logic to the e-mailed content?

= No, cron doesn't need any knowledge of how to render email.

I was not advocating adding such knowledge. My suggestion was to make cron add 
proper Content-Type, so that the /recepient's e-mail program/ will render the 
message correctly. My scripts generate HTML, someone else could be generating 
JPG images (from their web-camera, every morning)...

= The script itself doesn't have to send the mail - cron will handle that if
= there is any output when it exits, but you /can/ add headers to the message
= as you need.
= 
= Just make sure any custom headers come before the empty line delimiter
= between headers and body, and most mail readers should do the right thing.

The empty line is inserted by cron before any of the job's own output...

This method will not work, unless the e-mail reader (incorrectly) acts upon 
parts of the body as if they were headers...

Thanks! Yours,

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


GUI Mail Reader for FreeBSD ...

2007-07-14 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Does anyone know of a good mail reader that does:

  PGP, unicode *and* shows inline html

I'm tired of getting email from my family, for instance, that has inline images 
and having to look at each attachment seperately ... and have a friend that 
sends me email that has simplified chinese characters in it ... and others that 
send me PGP encrypted email ...

Mulberry is good, but doesn't do two of the three ... sylpheed does PGP and 
Unicode, but unless I'm missing a setting) doesn't do inline html ... and kmail 
doesn't do the unicode or inline images ...

So, is there anything that is good that actually does it all?


- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGmU9c4QvfyHIvDvMRAvU4AKCvBMFdj2aYVTvWQm8IwNHUT3/UxwCgqmkp
vmAsJotYb4qpkL4oYCs4Jv0=
=7Np1
-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: Can cron e-mail HTML?

2007-07-14 Thread Daniel Bye
Mikhail Teterin wrote:
 Hello!
 
 I have a script launched from cron every morning, that gets certain data over 
 the Internet from a remote computer, compares the new data with that from the 
 previous day, and outputs the difference (if any).
 
 I'm relying on the fact, that cron e-mails me the output of each job.
 
 However, I modified the script recently to produce the output (if any) in 
 HTML, rather than in plain-text format.
 
 The HTML arrives by e-mail just as well as plain text used to, but no e-mail 
 program will render it as such, because neither the cron(8), nor the mail(1),
 which cron uses to send e-mail, creates MIME messages...
 
 How can I force the ``Content-Type: text/html'' header without hacking cron's 
 sources? I'd rather avoid poluting my script with e-mail sending code...

Alter your script to add the 'Content-Type: text/html' header.

 Maybe, cron should apply file(1)-like logic to the e-mailed content?

No, cron doesn't need any knowledge of how to render email. Make sure
the output of your script includes the Content-Type header, which your
mail reader will spot and act upon accordingly. The script itself
doesn't have to send the mail - cron will handle that if there is any
output when it exits, but you /can/ add headers to the message as you need.

Just make sure any custom headers come before the empty line delimiter
between headers and body, and most mail readers should do the right thing.

HTH

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


Re: GUI Mail Reader for FreeBSD ...

2007-07-14 Thread jbarnet

Marc G. Fournier wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Does anyone know of a good mail reader that does:

  PGP, unicode *and* shows inline html

I'm tired of getting email from my family, for instance, that has inline images 
and having to look at each attachment seperately ... and have a friend that 
sends me email that has simplified chinese characters in it ... and others that 
send me PGP encrypted email ...


Mulberry is good, but doesn't do two of the three ... sylpheed does PGP and 
Unicode, but unless I'm missing a setting) doesn't do inline html ... and kmail 
doesn't do the unicode or inline images ...


So, is there anything that is good that actually does it all?


- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGmU9c4QvfyHIvDvMRAvU4AKCvBMFdj2aYVTvWQm8IwNHUT3/UxwCgqmkp
vmAsJotYb4qpkL4oYCs4Jv0=
=7Np1
-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]
  

I use Thunderbird. It's nice.

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


Re: Can cron e-mail HTML?

2007-07-14 Thread Daniel Bye
Mikhail Teterin wrote:
 = Alter your script to add the 'Content-Type: text/html' header.
 
 No, I'm afraid, doing this will make the quoted text part of the _body_ of 
 the 
 message.

Ack. Yes, you're quite right. Sorry for the bum advice.

 =  Maybe, cron should apply file(1)-like logic to the e-mailed content?
 
 = No, cron doesn't need any knowledge of how to render email.
 
 I was not advocating adding such knowledge. My suggestion was to make cron 
 add 
 proper Content-Type, so that the /recepient's e-mail program/ will render the 
 message correctly. My scripts generate HTML, someone else could be generating 
 JPG images (from their web-camera, every morning)...

Hmm, an interesting idea. Now I understand what you meant, that is.

 = The script itself doesn't have to send the mail - cron will handle that if
 = there is any output when it exits, but you /can/ add headers to the message
 = as you need.
 = 
 = Just make sure any custom headers come before the empty line delimiter
 = between headers and body, and most mail readers should do the right thing.
 
 The empty line is inserted by cron before any of the job's own output...
 
 This method will not work, unless the e-mail reader (incorrectly) acts upon 
 parts of the body as if they were headers...

Yep, absolutely right. Got my wrong brain on today!

So it's beginning to look as if your best bet is in fact to make your
script handle sending the mail, and to only have cron itself mail
anything that is the result of an error arising from your script. Not
the cleanest solution, but one that will get your messages formatted
exactly how you want them.

Cheers,

Dan

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


RE: 10Mbps versus 100Mbps Cable Modems

2007-07-14 Thread fbsd2
This is right off the cable internet service providers website.

Plan NamePlan Type  (Speed Max)   (Speed Min)
Exceed 788   Residential   384 kbps   32 kbps
Exceed 1350 Residential   512 kbps   64 kbps
Exceed 2000 Comm w/o IP   768 kbps   128 kbps
Exceed 3500 Comm w/o IP   1024 kbps 192 kbps
Exceed 4000 Comm w/ IP 1024 kbps 192 kbps

So 10Mbps = 10240kbps  and 1024kbps = 1Mbps
Then a 10Mbps cable modem can feed their network faster
than even the fastest service plan they offer.

Do I have correct understanding now?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of L Goodwin
Sent: Saturday, July 14, 2007 4:54 PM
To: Sten Daniel Soersdal; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: 10Mbps versus 100Mbps Cable Modems

They probably did it because the number of subscribers
has increased to the point that they need to start
limiting bandwidth to ensure that everyone gets their
fair share. They probably allowed subscribers to
exceed their allotted max bandwidth while the number
of subscribers was sufficiently low that they did not
have to worry about it. Now that they have a lot of
subscribers, they have to worry about it.

--- Sten Daniel Soersdal [EMAIL PROTECTED] wrote:

 fbsd2 wrote:
  Comclark cable in Angeles City Philippines has
 changed
  from using 100Mbps Cable Modem to 10Mbps Cable
 Modem.
  To me this seems to be all wrong as all I see is
 slower response.
  Is there any technical or performance reason for
 any cable internet
  provider to downgrade their network subscribers
 cable modems
  from 100Mbps to 10Mbps?

 That reason could be compatibility.

 If you see slower response then perhaps something is
 wrong.
 Perhaps you should call their support and verify
 that you do not have a
 mismatched duplex setting?

 Mismatched duplex can come from misbehaving
 autonegotiation or that one
 end is set to full-duplex while the other end is set
 to half-duplex, or,
 one end is set to full-duplex and the other end is
 set to auto-negotiate
 (which results in falling back to half-duplex).

 --
 Sten Daniel Soersdal
 ___
 freebsd-questions@freebsd.org mailing list

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




  __
__
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
___
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: 10Mbps versus 100Mbps Cable Modems

2007-07-14 Thread Jeff Mohler

Yup..and it goes back to my original point.

If it saves $5/box times 100,000 units and they charge you the same for the
box rental/purchase, its a good business decision.



On 7/14/07, fbsd2 [EMAIL PROTECTED] wrote:


This is right off the cable internet service providers website.

Plan NamePlan Type  (Speed Max)   (Speed Min)
Exceed 788   Residential   384 kbps   32 kbps
Exceed 1350 Residential   512 kbps   64 kbps
Exceed 2000 Comm w/o IP   768 kbps   128 kbps
Exceed 3500 Comm w/o IP   1024 kbps 192 kbps
Exceed 4000 Comm w/ IP 1024 kbps 192 kbps

So 10Mbps = 10240kbps  and 1024kbps = 1Mbps
Then a 10Mbps cable modem can feed their network faster
than even the fastest service plan they offer.

Do I have correct understanding now?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of L Goodwin
Sent: Saturday, July 14, 2007 4:54 PM
To: Sten Daniel Soersdal; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: 10Mbps versus 100Mbps Cable Modems

They probably did it because the number of subscribers
has increased to the point that they need to start
limiting bandwidth to ensure that everyone gets their
fair share. They probably allowed subscribers to
exceed their allotted max bandwidth while the number
of subscribers was sufficiently low that they did not
have to worry about it. Now that they have a lot of
subscribers, they have to worry about it.

--- Sten Daniel Soersdal [EMAIL PROTECTED] wrote:

 fbsd2 wrote:
  Comclark cable in Angeles City Philippines has
 changed
  from using 100Mbps Cable Modem to 10Mbps Cable
 Modem.
  To me this seems to be all wrong as all I see is
 slower response.
  Is there any technical or performance reason for
 any cable internet
  provider to downgrade their network subscribers
 cable modems
  from 100Mbps to 10Mbps?

 That reason could be compatibility.

 If you see slower response then perhaps something is
 wrong.
 Perhaps you should call their support and verify
 that you do not have a
 mismatched duplex setting?

 Mismatched duplex can come from misbehaving
 autonegotiation or that one
 end is set to full-duplex while the other end is set
 to half-duplex, or,
 one end is set to full-duplex and the other end is
 set to auto-negotiate
 (which results in falling back to half-duplex).

 --
 Sten Daniel Soersdal
 ___
 freebsd-questions@freebsd.org mailing list

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





  __
__
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
___
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]


___
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 start apache22 without ssl

2007-07-14 Thread mrspock
 Norberto Meijome wrote:
 On Fri, 13 Jul 2007 13:27:41 -0400
 pj [EMAIL PROTECTED] wrote:

 Somethings isn't quite right here.
 It was suggested I load the accf_http from the /boot/loader.conf file.
 I
 did. So, now I removed the line from /boot/loader.conf; it is empty of
 any directives. I rebooted and accf_http.ko is no longer in the kernel
 -
 according to kldstat.

 man loader.conf

 Once you understand what loader.conf is for, and what a kernel module
 is, you
 should understand what has happened.

 ps xa | grep htt gives

  /usr/local/sbin/httpd - DNOHTTPACCEPT

 Something is fishy here... any thoughts?

 nothing fishy at all. read the man, read about kernel modules, read :)

 Why me? I always seem to get these weird anomalies... :(

 sorry to break it to you, but odds are it's due to your current lack of
 understanding of the system, rather than the universe poised against you
 :)
 don't worry, it's fixable (understanding, not the universe ;) ).

 Good luck,
 _
 {Beto|Norberto|Numard} Meijome

 There are two kinds of stupid people. One kind says,'This is old and
 therefore
 good'. The other kind says, 'This is new, and therefore better.'
  John Brunner, 'The Shockwave Rider'.

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

 Well, I don't think the universe is against me. I rather think that
 there is a really serious lack of communications skills among many
 programmers. I find that often the simplest installations are overly
 complicated and convoluted, if you will. For example, I have been
 strugglling with the installation of CUPS. For some reason the CUPS
 metaport would not install. I finally decided to install only the
 cups-base and then the configuration and implementation were child's
 play. No need to install gnu-ghostscript of gutenprint or any of the
 other stuff - I just put the ppd file for my specific printer in the
 cups/ppd directory, tweaked the configuration and bingo. The same for
 OpenOffice.org... I had to figure out a way to simplify the installation
 and had no need to go through 12 hours of compilation from the source
 code. The binary was a snap, once I figured it out. Apache22 and Samba
 had me confused for a while, but with a little help from the mailing
 list I got straightened out and it all works like a charm.

 But the httpd -DNOHTTPACEPT remains a mystery; after removing the
 loader.config entry, I rebooted, checked the kldstat, found the module
 no longer loaded in the kernel but the ps waux | grep httpd still came
 up with -DNOHTTPDACCEPT. I did not do any further tweaking or make any
 changes to apache22 and now it boots correctly and the -DNOHTTPDACCEPT
 is no longer there. Now, wouldn't you say that is weird. But then, I do
 admit that I do not understand the system.

 However, I am the greatest fan of understanding you could find. That's
 why I ask questions that may seem strange at times.
 BTW, my advice to programmers and, for that matter, anyone in any kind
 of a project - think about the end user and how he will see the results
 of your works, how he will use it without having the creator's vision.

 I enormously appreciate the help you and everyone who responded were
 able to offer. Hope I can do so for others as I grow with the system.
 Phil


I believe you have forgotten to set:

 apache22_http_accept_enable=YES

in /etc/rc.conf.


  Eduardo.




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


Re: GUI Mail Reader for FreeBSD ...

2007-07-14 Thread Jona Joachim
On Sat, 14 Jul 2007 19:34:04 -0300
Marc G. Fournier [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 Does anyone know of a good mail reader that does:
 
   PGP, unicode *and* shows inline html

I use claws-mail and I love it. It can display inline html with the
dillo plugin.

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


Re: Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
On субота 14 липень 2007, Daniel Bye wrote:
= So it's beginning to look as if your best bet is in fact to make your
= script handle sending the mail.

Yeah, seems like it...

= Not the cleanest solution, but one that will get your messages formatted
= exactly how you want them.

Well, I started looking into how much effort would it be to translate the 
strings returned by libmagic(3)'s routines into Content-Type.

If it is easy enough, I could hack cron to analyze the job's output using 
magic_buffer(3) and set Content-Type if anything recognizable is detected...

The translation is the difficult part :-( Instead of the standardized

text/html

for example, libmagic returns:

HTML document text

It is trying to be human-readable, while I need the machine-readable strings.

There is stuff on-line that does the translation, but it is in much 
higher-level languages (like PHP), which think, hash-tables are free :-)

Oh, well...

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


Re: mod_security2

2007-07-14 Thread Paul Schmehl

--On July 14, 2007 1:03:24 PM +0300 Bazy [EMAIL PROTECTED] wrote:


Hi guys,

Do any of you use mod_security2?

An article just came up on HowToForge about it, and I'm skeptic about
installing it on my FreeBSD box. Is mod_security2 ok? Will it load the
CPU? Will it make apache22 slow?

http://www.howtoforge.com/apache2_mod_security_debian_etch ModSecurity
is an Apache module that provides intrusion detection and prevention for
web applications. It aims at shielding web applications from known and
unknown attacks, such as SQL injection attacks, cross-site scripting,
path traversal attacks, etc.

I use mod_security on apache13 on a server that gets about 7 million hits 
a month.  I haven't noticed any problems.  I've been using it for several 
years now.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: ssh-copy-id

2007-07-14 Thread Gustavo De Nardin

On 13/07/07, Pollywog [EMAIL PROTECTED] wrote:

Since FreeBSD does not have ssh-copy-id as part of the OpenSSH package, what
is the best way to copy a public key to an account on another host?  Some
Linuxes (Debian and Ubuntu) have a ssh-copy-id script for this in their
OpenSSH packages.


Well dunno about best way, but I used to do something like this..:
ssh $remote 'mkdir -m 600 .ssh  cat - .ssh/authorized_keys'
~/.ssh/id_rsa.pub

But of course ssh-copy-id is much smarter.

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


quick router question

2007-07-14 Thread Jonathan Horne
i want to build a quick a dirty router for a dev environment.  this freebsd is 
has 3 interfaces, and ill want anything to be able to access anything, no 
firewalling.

back in the day, i would accomplish the same thing in linux by 
setting /proc/sys/net/ipv4/ip_forward to 1.  is the be a network gateway 
from installation the only thing i need to set to allow this to happen?

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


OT: Does a low-cost, reliable switch exist?

2007-07-14 Thread Modulok

I run a small network of under 20 clients. As such we don't have $500+ to
drop on a Cisco switch. However the desktop consumer grade stuff is quickly
turning me into an insomniac. I'm tired of being woke at 3:00 am to go fix
network problems. Does anyone know if something like this exists? (see
below)

The dream: An ethernet switch that is, above all else, RELIABLE. I would
sacrifice everything for 24/7 reliability. A switch that can operate for
years without ever having to be power cycled, without ever locking up. A
switch that won't lock up if a single client starts flooding it with bogus
packets. A switch that won't try to 'auto-update' its onboard software. A
switch that won't lock up if there is a short in a cable. A switch that
won't lock up if two clients end up with the same MAC address. A switch that
will facilitate the examination and editing of its routing
tables, speed and duplex mode, as my experience with auto-negotiation casts
a very dark shadow upon its reliability. A switch that can loose contact
with a client and when it later regains contact, doesn't freak out and
require a power cycle. A switch that, if it requires an online configuration
interface, doesn't rely on the clients browser to have Java or JavaScript or
Flash enabled, this utterly rapes universal accessability. A switch that
doesn't try to sell itself on a bunch of bullshit features that nobody ever
uses, shown surrounded by pictures of people holding a laptop on one knee
while smiling cheek to cheek. A switch who's case doesn't look like a damn
spaceship, with no ventilation - A rectangular steel case would be fine,
thank you. A switch that doesn't require me to take out a second mortgage.

I know this is asking a lot of a switch that doesn't cost 2 thousand
dollars...but again I'll give up everything for reliability. I had thought
about using a hub instead, but we have some pretty heavy internal traffic.

Currently I'm using 3 Netgear GS108 Gigabit blue-box switches chained
together for local traffic, with a FreeBSD server acting as the gateway to
the outside world, running ipfw and natd. The switches eventually lock up.
Sometimes they work for a day, a week, even a month without problems. Then
at a random time of day or night, boom network goes down. It's not any
individual defective switch as I've tried re-ordering them several times as
well as testing them individually. The cables are all good and wired
correctly. I've pulled my hair out trying to find what's wrong. I'm not sure
I care anymore. I just need something stable enough that I can catch some
sleep without this re-occurring nightmare.

Is there hope? Thoughts? Suggestions?
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick router question

2007-07-14 Thread Modulok

On 7/14/07, Jonathan Horne [EMAIL PROTECTED] wrote:

i want to build a quick a dirty router for a dev environment.  this freebsd
is
has 3 interfaces, and ill want anything to be able to access anything, no
firewalling.

back in the day, i would accomplish the same thing in linux by
setting /proc/sys/net/ipv4/ip_forward to 1.  is the be a network gateway
from installation the only thing i need to set to allow this to happen?

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


You can set the sysctl variable like so:

sysctl net.inet.ip.forwarding=1;

You can make this change perist across a reboot by appending the
following to /etc/rc.conf:

gateway_enable=YES

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


Re: OT: Does a low-cost, reliable switch exist?

2007-07-14 Thread Kurt Buff

On 7/14/07, Modulok [EMAIL PROTECTED] wrote:
snip rantage

I just need something stable enough that I can catch some
sleep without this re-occurring nightmare.

Is there hope? Thoughts? Suggestions?
-Modulok-


Look at eBay for a used 24 port HP switch. They are reliable, and the
lifetime warranty doesn't go away because you bought it used. They
have serial console ports. In particular, take a look at the ProCurve
2510-24.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2007-06-24 - 2007-07-14

2007-07-14 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

9-Jul : Virus scanning
 Setting up amavisd and clamav on FreeBSD 
 http://freebsddiary.org/virus-scanning.php?2

9-Jul : Fighting spam with pf
 Spam is nasty.  pf is good. 
 http://freebsddiary.org/pf.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

___
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 start apache22 without ssl

2007-07-14 Thread Norberto Meijome
On Sat, 14 Jul 2007 16:44:54 -0400
pj [EMAIL PROTECTED] wrote:

 Well, I don't think the universe is against me. I rather think that 
 there is a really serious lack of communications skills among many 
 programmers.

hi Phil,
i think you are mistakenly believing everyone in this list are programmers. We
are not, as you can see from the variety of issues brought up. If you head to
-hackers@ you may find just kernel developers,though :)

 I find that often the simplest installations are overly 
 complicated and convoluted, if you will.

We can all help by suggesting better ways of doing things. And/or spending time
researching and devising new ways of making things better for everyone.

 For example, I have been 
 strugglling with the installation of CUPS. For some reason the CUPS 
 metaport would not install. I finally decided to install only the 
 cups-base and then the configuration and implementation were child's 
 play. 

then the issue most probably was with something other than just CUPS, but one
of the components  and their dependencies.

No need to install gnu-ghostscript of gutenprint or any of the 
 other stuff

well, now you have the experience to know that you dont need to install the
whole thing to have your system working the  way you want. Which, IMHO, is one
of the best things about OSS.

  - I just put the ppd file for my specific printer in the 
 cups/ppd directory, tweaked the configuration and bingo. The same for 
 OpenOffice.org... I had to figure out a way to simplify the installation 
 and had no need to go through 12 hours of compilation from the source 
 code. 

It only takes an hour , tops 3, to build on a P4 3.0 GHz with HT , 1 GB RAM.
I'll try to time it next time...

 The binary was a snap, once I figured it out. 
yes, learning to pick packages instead of building from ports is one of those
oh,this is so great moments. :)


 Apache22 and Samba 
 had me confused for a while, but with a little help from the mailing 
 list I got straightened out and it all works like a charm.
 
 But the httpd -DNOHTTPACEPT remains a mystery 

ok - did you read the man pages about /boot/loader.conf ? did you search the
web about how to use it?


; after removing the 
 loader.config entry, I rebooted, checked the kldstat, found the module 
 no longer 

WAD (Working As Designed) - if you don't tell the kernel to load a module via
adding it to /boot/loader.conf, the kernel won't do it by itself. Pretty simple
really. 
( of course, this refers to modules NOT built into the kernel, and those that
are not needed by other modules that  *are* listed in loader.conf)

 loaded in the kernel but the ps waux | grep httpd still came 
 up with -DNOHTTPDACCEPT. 

If Kernel does NOT have accf_http loaded, then apache will start with that
parameter. Simple as that.

In case you didnt come across this anywhere, you put in loader.conf information
for the boot process to process @ start up. kernel hints, as well as kernel
modules to load.

Now, in your if you remove your entry and reboot, the kernel wouldnt find the
instruction to load the module , so it wont do it. then apache starts, cant
find accf_http in the kernel and it'll start up with the -DNOmumblemumble to
prevent accessing code it isnt there in the kernel.

 I did not do any further tweaking or make any 
 changes to apache22 and now it boots correctly and the -DNOHTTPDACCEPT 
 is no longer there. Now, wouldn't you say that is weird. 

not at all. Re-read all the thread on this subject again, read about what
kernel modules are and how they are used,etc. 

If you still have questions, 

 But then, I do 
 admit that I do not understand the system.

Fixable too , to the level that you are  interested to, of course - nobody
expects you and every other user of FreeBSD to become kernel developers
(although it'd be OK if you did :) ).

Have you read the Handbook?
it is installed by default (i think) in your Fbsd system under
/usr/share/doc/handbook, and it's available in freebsd.org too.

There are LOTS of man pages with excellent information. FreeBSD is probably the
best documented OSS project of large size around. Beats most Linux
documentation hands down, IMHO.

The mailing lists are simply fantastic, and they all keep archives (as well as
several independent sites archiving them too). Check out the list of different
topics in 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL
(yes, part of the handbook), subscribe to as many topics you find interesting
(email is cheap!) and invest some time in it. Or just browse the archives.

Also, Dan Lagille maintains http://www.freebsddiary.org/ , a great site (some
would call now it 'blog' though it's been around for longer than the term ;) )
with specific solutions to issues or things Dan has had to do with FreeBSD.
It's a great read when you dont know what to learn next :)

 
 However, I am the greatest fan of understanding you could find. That's 
 why I ask questions that may seem 

Re: GUI Mail Reader for FreeBSD ...

2007-07-14 Thread Norberto Meijome
On Sun, 15 Jul 2007 01:10:49 +0200
Jona Joachim [EMAIL PROTECTED] wrote:

 I use claws-mail and I love it. It can display inline html with the
 dillo plugin.

yeah, claws-mail is superb. Thunderbird was becoming too sluggish for me (i 
switched over a year ago...claws- reminds me of another gem of email clients, 
XFMail, which i think is not being developed anymore). It is highly 
configurable. It has some bugs here and there, but nothing i can't live with 
(or without ).

I use the gtk-htmls plugin for html email viewing. it works fine, except that 
the default font (as sent from outlook / outlook express) shows too small (as 
in tiny)...but i cant be bothered trying to figure out how to change that :-)

i had used dillo, but i found that quite often it'd spin out of control or spaw 
process that wouldnt die easily. it was at least 6 months back (or more), so it 
may be different now.

GTKhtml2 , and dillo too, i think, allow you to prevent loading of remote 
images to prevent remote snooping on what you read or you dont.
_
{Beto|Norberto|Numard} Meijome

That's what I love about GUIs: They make simple tasks easier,
and complex tasks impossible.
   John William Chambless

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


Re: OT: Does a low-cost, reliable switch exist?

2007-07-14 Thread Norberto Meijome
On Sat, 14 Jul 2007 20:42:09 -0600
Modulok [EMAIL PROTECTED] wrote:

 Currently I'm using 3 Netgear GS108 Gigabit blue-box switches chained
 together for local traffic, with a FreeBSD server acting as the gateway to
 the outside world, running ipfw and natd. The switches eventually lock up.

I've given up on netgear for any new purchases...is still have a stack of
them,but wouldnt use them for anything critical.

 Sometimes they work for a day, a week, even a month without problems. Then
 at a random time of day or night, boom network goes down. It's not any
 individual defective switch as I've tried re-ordering them several times as
 well as testing them individually. The cables are all good and wired
 correctly. I've pulled my hair out trying to find what's wrong. I'm not sure
 I care anymore. I just need something stable enough that I can catch some
 sleep without this re-occurring nightmare.

Are the switches behind a UPS? 

I've found power spikes / brown-outs break absolute havoc with dumb switches.
they are back up, but in a zombie state. u need to power them down for a few
minutes (completelly unplugged from mains) for them to come back to life
properly.

 Is there hope? Thoughts? Suggestions?

add a simple timer to the power socket where the switch is plugged in and reset
them automatically every 24 hours or so ? If your network so critical that it
wouldn't support a daily  scheduled minor outage , then you should spend the $
in cisco, HP , 3com (i'd heard people swear by 3com...not sure if the old ones 
or current ones though..grep the archives), etc.

for a few ports (router), you could always build your own or buy one of the
small factor Soekris with freebsd in it, but i doubt you'll get more than 4
ports in one.

let us know what you come up with :)

B
_
{Beto|Norberto|Numard} Meijome

The only good bureaucrat is one with a pistol at his head.
Put it in his hand and it's goodbye to the Bill of Rights.
   H.L. Mencken

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


Re: mod_security2

2007-07-14 Thread Norberto Meijome
On Sat, 14 Jul 2007 17:38:44 -0500
Paul Schmehl [EMAIL PROTECTED] wrote:

 I use mod_security on apache13 on a server that gets about 7 million hits 
 a month.  I haven't noticed any problems.

paranoiawell, it could well be that the hack attempts that succeded were 
never detected by mod_security ;)  /

:-)

_
{Beto|Norberto|Numard} Meijome

Percusive Maintenance - The art of tuning or repairing equipment by hitting it.

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


Re: Trailing / required in URL

2007-07-14 Thread Norberto Meijome
On Sat, 14 Jul 2007 08:15:24 +0200
Kjell [EMAIL PROTECTED] wrote:

 On my old R4.6 server  I get a “The connection has timed out” error when I 
 enter  http://192.168.1.1/test while http://192.168.1.1/test/ serves the 
 expected page.
 
 On my new R6.2 server http://192.168.1.1/test  works as expected.

I think this would be related more to your webserver . If you have Apache 
installed, mod_dir is in charge of handling ending /..

http://httpd.apache.org/docs/2.2/mod/mod_dir.html



_
{Beto|Norberto|Numard} Meijome

FAST, CHEAP, SECURE: Pick Any TWO

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


email's time stamp

2007-07-14 Thread gahn
hello:

trying to understand the email's time stamps. how do i
determine the time stamps on those emails i received?
are those emails time stamped by the mail servers
originated those mails (in that particular time zone)?
or by the last mail relay server (in another time
zone) delivering those mails?

say some mails originated from one server is in asia
and final destination mail relay is in europe. so the
time stamps on those mails are in that particular asia
time zone or in the time zone of europe time zone?

thanks




   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]