Re: QEMU + FreeBSD

2009-06-27 Thread Adam Vande More
On Fri, Jun 26, 2009 at 9:37 AM, Jim stapleton...@gmail.com wrote:

 I have installed FreeBSD 7.2 on my notebook in the last week, and
 installed QEmu as well.

 I cannot seem to get the network interface working. It works on my
 desktop machine, but that is running 7.0

 looking around, I tried to find some other options, and went here:
 http://wiki.freebsd.org/qemu

 and got stuck at this step:
  # sysctl net.link.ether.bridge_cfg=fxp0,tap0
  # sysctl net.link.ether.bridge.enable=1

 because nothing matching net.link.ether.bridge* exists.

 Does anyone know of a current good setup document?

 thanks,
 -Jim Stapleton
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


There is vde2 port for it depending networking needs,  standard dhcp/nat
slirp type should work straight from standard install of qemu though.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which latex should I install

2009-06-27 Thread Roland Smith
On Sat, Jun 27, 2009 at 01:14:55AM +0200, Polytropon wrote:
 On Fri, 26 Jun 2009 09:32:31 -0400, Daniel Underwood djuatde...@gmail.com 
 wrote:
  Hopefully Polytropon will chime in on this, but I had to install
  TeXLive for everything to work.
 
 Ere I am, J. H., the ghost in the machine. :-)
 
 I've never tried TeXLive, I have to admit, because I NEVER had ANY
 problem using the teTeX package. And yes, I don't build it from
 source because pkg_add -r is so much comfortable.

TeXLive now has FreeBSD binary packages (i386  amd64) as well.

  Suggestion: try teTeX.  If you encounter problems, then install TeXLive.
 
 It would be nice to hear what - in such a case - has been the
 problem with teTeX that TeXLive then solved. As I said, I never
 found myself in such a situation, and I'm using LaTeX for
 nearly everything.

There are a lot of things that TeXLive has that teTeX doesn't;

- latin modern fonts [http://www.gust.org.pl/projects/e-foundry/latin-modern]
- tex gyre fonts [http://www.gust.org.pl/projects/e-foundry/tex-gyre/]

Both of these font families have a much greater range of diacretical
markers available. And they look very good. Latin Modern is an expanded
and improved version of Computer Modern. Both families are written as
OpenType fonts.

- XeTeX [http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiitem_id=xetex]

Better support for typesetting in non-european languages.

- LuaTeX [http://www.luatex.org/]

Integration of the Lua scripting language into TeX. This will make TeX
more powerfull, and the writing of macro packages easier.

- conTeXt [http://en.wikipedia.org/wiki/ConTeXt]

- more recent releases, with updated macro packages.
- more macro packages available and integrated.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpQXtrlpCsTj.pgp
Description: PGP signature


Re: Which latex should I install

2009-06-27 Thread Patrick Reich
On Fri, 2009-06-26 at 20:26 +, freebsd-questions-requ...@freebsd.org
wrote:
 Message: 12
 Date: Fri, 26 Jun 2009 18:40:44 +0200
 From: Roland Smith rsm...@xs4all.nl
 Subject: Re: Re: Which latex should I install
 To: af300...@gmail.com
 Cc: freebsd-questions@freebsd.org
 Message-ID: 20090626164044.ga31...@slackbox.xs4all.nl
 Content-Type: text/plain; charset=us-ascii
 
 On Fri, Jun 26, 2009 at 03:27:51PM +0100, Anton Shterenlikht wrote:
  On Fri, Jun 26, 2009 at 10:21:37AM -0400, Daniel Underwood wrote:
Is there a FBSD port of TeXLive?
   
   No, but it's not necessary.  Just go here
   http://www.tug.org/texlive/acquire.html and download the DVD
 image.
  
  well.. I'll wait for some kind sole to put a texlive port together.
  Tetex port has been enough for me for some years now.
 
 The thing is that teTeX hasn't been updated in years. It has in fact
 been deprecated in favor of TeXLive. This is not a big problem with
 the
 basic TeX engine, because that doesn't change that much. But pdfTeX (a
 TeX that generates PDF output instead of DVI) has been evolving
 rapidly. And you'll miss out on several years of updates of the macro
 packages (like LaTeX and ConTeXt).
 
 Another consideration is that TeXLive contains a much larger choice of
 additional packages than teTeX.
 
 So I would advise you to install TeXLive. The latest DVD comes with
 FreeBSD binaries.
 
 Look at the mailing list archives for threads called LaTeX oder
 teTeX
 in October 2007, and Installing latest version of LaTeX in June
 2009. In those threads I've posted some instructions on how to get
 TeXLive to work. Installation is pretty easy, but you have to change
 login.conf and manpath.conf to use the binaries and manpages. Normally
 TeXLive keeps everything under its own tree (/usr/local/texlive), so
 it
 won't mess up the trees /usr/local/{bin,share,...}. Do _not_ tell the
 installer to put symbolic links in /usr/local/bin! That way removing
 TeXLive is as easy as removing /usr/local/texlive.

One thing to add here is that the ports tree remains tied to
teTeX.  If you install TexLive (either from DVD or Romain's)
and then install a port like texmacs, lyx, texmaker, or auctex
to edit your files, you'll pull in teTeX as a dependency.  You
end up with both teTeX and TeXLive installed.  If someone knows
how to avoid the duplicity, please do chime in - I'm not a fan
of having both.  I require TeXLive for the mathematics typesetting
I do.

Sincerely,
Pat


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


Prosper Investment

2009-06-27 Thread Morris WATSON
If you indigence to lock in a unvarying monthly profits stream from your
portfolio, then it's time to leave behind your investments. Thanks to the
introduction of a brand new assets, there's a whole new world of weekly
income just waiting for you. Plenty of people are already using these new
ways to fabricate a fat dividends weekly.
For income junkies, there's nothing sweeter than a honest-to-god yield. So
if you get a impassion from cashing a huge stream of dividends, then you're
missing discernible on some of the highest profit on the planet. I'm
speaking about what has been the most important financial invention -
http://groups.yahoo.com/group/gicicofefytiv58/message/1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Firefox crashes on yahoo.com

2009-06-27 Thread Manish Jain


Hi,

This seems to be a strange problem with Firefox which I never 
encountered on my old system. Both Firefox2 and Firefox3 work well the 
other sites I have tried accessing, but crash on navigating to www.yahoo.com



/usr/home/emmjanex # firefox3 http://www.yahoo.com 
[1] 2668
/usr/home/emmjanex # NP_Initialize
New
SetWindow
SetWindow
NewStream
WriteReady
Write
decoding...
The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadImplementation (server does not implement operation)'.
  (Details: serial 31 error_code 17 request_code 140 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

[1]+  Exit 1  firefox3 http://www.yahoo.com



There is nothing relevant to the crash in Xorg.0.log or console.log

--
Regards
Manish Jain
invalid.poin...@gmail.com
+91-96500-10329

Laast year I kudn't spell Software Engineer. Now I are won.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which latex should I install

2009-06-27 Thread Roland Smith
On Sat, Jun 27, 2009 at 01:00:21AM -0500, Patrick Reich wrote:
 One thing to add here is that the ports tree remains tied to
 teTeX.  If you install TexLive (either from DVD or Romain's)
 and then install a port like texmacs, lyx, texmaker, or auctex
 to edit your files, you'll pull in teTeX as a dependency.  You
 end up with both teTeX and TeXLive installed.  If someone knows
 how to avoid the duplicity, please do chime in - I'm not a fan
 of having both.  I require TeXLive for the mathematics typesetting
 I do.

What I do is change the Makefiles of the ports in question to remove the
dependancies on teTeX. My way of doing that is creating a patch for the
Makefile and re-applying that after each update of the ports tree.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpIrL00FWZT4.pgp
Description: PGP signature


Re: Which latex should I install

2009-06-27 Thread Glyn Millington
Patrick Reich rei...@austin.rr.com writes:

 One thing to add here is that the ports tree remains tied to
 teTeX.  If you install TexLive (either from DVD or Romain's)
 and then install a port like texmacs, lyx, texmaker, or auctex
 to edit your files, you'll pull in teTeX as a dependency.  You
 end up with both teTeX and TeXLive installed.  If someone knows
 how to avoid the duplicity, please do chime in 

Hi Patrick,


Just to say that duplicity usually means something like deceitful and
dishonest behaviour - duplication is what you want to avoid!  I only
mention it because this is a slip that could get you into serious
trouble in the wrong context!!  :-)

You are right about the ports tree and my way round this has been to edit
the relevant port Makefie and simply remove the dependency under
BUILD_DEPENDS, LIB_DEPENDS and RUN_DEPENDS.  Most things then find
TeXLive and build themselves nicely after that. There may be an automated
way of doing this but I haven't found it yet.


atb







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


Re: torrents.freebsd.org

2009-06-27 Thread Chris Rees
2009/6/27 Peter peterp...@aboutsupport.com:


 Chris Cowart wrote:
 Hello,

 I'm currently trying to setup a bittorrent tracker to distribute files,


 Hi,

 Try http://www.freenas.org/ -- it comes with web panel and has
 Bittorent module along other modules.

 Peter

http://erdgeist.org/arts/software/opentracker/

This software is EASY, and very configurable.

The world's largest bittorrent tracker uses it...

Chris



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Adding data to existing CD/DVD

2009-06-27 Thread Carmel NY
On Fri, 26 Jun 2009 16:40:46 -0400
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:

 You need to *not* fixate the disk, and on subsequent sessions you need
 to tell mkisofs where to start the new image.  The burning command
 also needs to know that it's a multi-session disk.  See the -C
 option for mkisofs, and the -multi option for cdrecord.
 
 My crib sheet for burning disks provides an example:
 
 # first session
 TZ=UTC-5 mkisofs -R $filenames |cdrecord -v driveropts=burnfree -multi
 -data -tao -
 
 #other sessions
 OFST=`cdrecord -msinfo`
 echo $OFST
 TZ=UTC-5 mkisofs -M $dv -C $OFST -R $filenames |cdrecord -v
 driveropts=burnfree -tao -multi -data -eject -
 
OK, using your instructions, I am able to create the disk just fine.
However, when I attempt to add data to it, it bombs out.

I created a script and then used it to try and add two files to the
disk using your instructions.

This is the output:

$ Update-CD.sh Joker-1.csv k3b.txt
Joker-1.csv k3b.txt
0,11702
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 J\ufffdrg 
Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
mkisofs: Invalid argument. Open by 'devname' not supported on this OS. Cannot 
open SCSI driver.
mkisofs: Invalid argument. Unable to open previous session image -C
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 0
Device type: Removable CD-ROM
Version: 0
Response Format: 1
Vendor_info: 'PHILIPS '
Identifikation : 'DVD8801 '
Revision   : 'GW02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B 
Profile: 0x001B 
Profile: 0x001A 
Profile: 0x0016 
Profile: 0x0015 
Profile: 0x0014 
Profile: 0x0013 
Profile: 0x0011 
Profile: 0x0010 
Profile: 0x000A 
Profile: 0x0009 (current)
Profile: 0x0008 
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R
Drive buf size : 1073152 = 1048 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data  unknown length
Total size:0 MB (00:00.00) = 0 sectors
Lout start:0 MB (00:02/00) = 0 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in:  -11634 (97:26/66)
  ATIP start of lead out: 359846 (79:59/71)
Disk type:Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
cdrecord: WARNING: Total disk size unknown. Data may not fit on disk.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Starting to write CD/DVD at speed 32 in real TAO mode for multi session.
Last chance to quit, starting real write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
cdrecord: Premature EOF on stdin.
cdrecord: Input buffer error, aborting.
cdrecord: fifo had 1 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

As you can see, nothing was written. I am using brand new CD/R disks
that work on other platforms so I don't think that is the problem.
since I can create the original disc, I can obviously write to one. do
you have any ideas what the problem might be?

Thanks!

-- 
Carmel
car...@hotmail.com

WARNING TO ALL PERSONNEL: Firings will continue until morale improves.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Adding data to existing CD/DVD (FIXED)

2009-06-27 Thread Jerry
I found the problem. I had to manually set the '$dv variable.
Actually, I have CDR_DEVICE=3,0,0 set in the environment  so all I had
to do was use for mkisofs.

It still outputs some error notations; however, I assume that they are
harmless.

Thanks for your assistance.

-- 
Jerry
ges...@yahoo.com

When God saw how faulty was man He tried again and made woman.  As to
why he then stopped there are two opinions.  One of them is woman's.

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


cant burn a cd iso

2009-06-27 Thread Daniel Leal

Hi !

I am trying to burn a iso in my laptop with freebsd 7.2

Installed cdrtools and then kldload atapicam.

Then I looked for the cdrom:
#cdrecord -scanbus

Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 
J?rg Schilling

Using libscg version 'schily-0.8'.
scsibus2:
  2,0,0   200) 'PIONEER ' 'DVD-RW  DVR-K17A' '1.51' Removable CD-ROM
  2,1,0   201) *
  2,2,0   202) *
  2,3,0   203) *
  2,4,0   204) *
  2,5,0   205) *
  2,6,0   206) *
  2,7,0   207) *

So I try to burn the iso with the comand:
 # cdrecord -v dev=2,0,0 myfile.iso

It seams to start correctly, but in the midle gave me the input/output 
error:

Can someone help me please?

Thanks

Here is all what I could get from the -v option:cdrecord: No write mode 
specified.


cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.

cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 
Jrg Schilling

TOC Type: 1 = CD-ROM
scsidev: '2,0,0'
scsibus: 2 target: 0 lun: 0
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 0
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'PIONEER '
Identifikation : 'DVD-RW  DVR-K17A'
Revision   : '1.51'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0012
Profile: 0x0002
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support 
code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for 
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/


Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1267712 = 1238 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data   616 MB   Total size:  708 MB (70:12.05) = 
315904 sectors

Lout start:  708 MB (70:14/04) = 315904 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type B, low Beta category (B-) (4)
ATIP start of lead in:  -11834 (97:24/16)
ATIP start of lead out: 359849 (79:59/74)
Disk type:Short strategy type (Phthalocyanine or similar)
Manuf. index: 24
Manufacturer: SONY Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 43945
Starting to write CD/DVD at speed 24 in real TAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01:  499 of  616 MB written (fifo 100%) [buf  79%]  
20.6x.cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error

CDB:  2A 00 00 03 E6 A9 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 71 00 03 00 56 42 66 0E 00 00 00 00 0C 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00

Sense Key: 0x3 Medium Error, deferred error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 5653094 (not valid)
cmd finished after 0.001s timeout 40s
write track data: error after 523585536 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing  time:  287.920s
Average write speed  15.0x.
Min drive buffer fill was 42%
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: 
retryable error

CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 72 03 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00

Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x03 (session fixation error - incomplete track in 
session) Fru 0x0

Sense flags: Blk 0 (not valid)
cmd finished after 1.353s timeout 480s
cmd finished after 1.353s timeout 480s
cdrecord: Cannot fixate disk.
Fixating time:1.467s
cdrecord: fifo had 8311 puts and 8248 gets.
cdrecord: fifo was 0 times empty and 2899 times full, min fill was 85%.


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


Re: cant burn a cd iso

2009-06-27 Thread Zhang Weiwu
Daniel Leal wrote:
 Hi !
 It seams to start correctly, but in the midle gave me the input/output
 error:
 Can someone help me please?

I guess you first try to burn something with a different CDR (better
CD-RW in order not to waist), try different speed (set to speed=4 and
see). Both helps locating the problem.

I would also try to use a Linux Live CD so if it also does not work in
Linux, you can suspect more on hardware problems then your FreeBSD setup.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


scripting suggestion: how to make this command shorter

2009-06-27 Thread Zhang Weiwu
Hello. I wrote this one-line command to fetch a page from a long uri,
parse it twice: first time get subject  second time get content, and
send it as email to me.

$ w3m -dump 
'http://search1.taobao.com/browse/33/n-g,w6y4zzjaxxymvjomxy40--commend-0-all-33.htm?at_topsearch=1ssid=e-s5'
 | grep -A 100 对比 | mail -a 'Content-Type: text/plain; charset=UTF-8' -s 
'=?UTF-8?B?'`w3m -dump 
'http://search1.taobao.com/browse/33/n-g,w6y4zzjaxxymvjomxy40--commend-0-all-33.htm?at_topsearch=1ssid=e-s5'
 | grep 找到.*件 | base64 -w0`'?=' zhangwe...@realss.com


The stupid part of this script is it fetches the page 2 times and parse
2 times, thus making the command very long. If I can write the command
in a way that the URI only appear once, then it is easier for me to
maintain it. I plan to put it in cron yet avoid having to modify two
places when the URI changes (and it does!).

How do you suggest optimizing the one-liner?

By the way I feel it stupid having to wrap the subject by using:
$ mail -s '=?UTF-8?B?'`echo $subject | base64`'?='

instead of
$ mail -s $subject

Because mail(1), as defined, intelligent user agent, should know the
current locale is UTF-8 and should know UTF-8 header must be base64
encoded for RFC compatibility. Yet it also should know if mail body is
UTF-8 the header 'Content-Type: text/plain; charset=UTF-8' must not be
omitted in case of UTF-8 content. I think this is a bug, as both are
required by RFC. How do you think?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Newsletter #1 - Outdoor Furniture

2009-06-27 Thread Decofinder
   
If you are having trouble viewing this email, click here (HTML Version)

 Send to a friend Send to a friend   fr gb
http://www.decofinder.com
Newsletter by Decofinder Newsletter by Decofinder

OUTDOOR FURNITURE

You can now design your
garden as an addition toLATEST NEWS...
your home! Garden
furniture, with its | PIERRE PAULIN  Pierre
innovative materials andPaulin, a key figure in French
unusual shapes, takes the   design, passed away last
indoors out to provide  Saturday at the age of 81. He
creative outdoor living furnished the Elysée Palace
areas. This dynamic new for G. Pompidou and F.
trend is reflected in the   Mitterand. Last year, a
increasing importance   retrospective of his work was
given to this sector in held at Mobilier National, the
professional trade fairs.   French furniture museum. His
Salone del Mobile inchairs with their clean lines
Milan in Italy, Feria deare in the MoMa collection inThe International
Madrid in Spain and New York. | PHILIPPE STARCK   Garden Festival
Maison  Objet in FranceDesign for Life is the
all feature flourishing reality show sponsored by
outdoor furnishing  Philippe Starck featuring
offerings. Garden   twelve British contestants.
furniture is no longer  The winner will be rewarded
confined to the classical   with a 6-month placement in
trio of garden table,   his Paris agency.|  SILVERA 
stackable chair and Opening of the new Silvera
Garden lounger. A whole show room in Paris (Avenue de
new range of products   Wagram) with an area designed
kept inside up until is by Patrick Jouin and a more
now being landscapedextensive offering comprising
including garden sofa,  very top-of-the-range  ...
garden coffee
table, garden side
table ...
Read more ...Read more ...   Read more ...
[IMG]
 ARMCHAIR | TRIBU[IMG]
   [IMG] Vincent VAN DUYSEN, elected designer of [IMG]
 the year by MaisonObjets - 2009 Scènes [IMG]
 d'Intérieur, has just launched the new  [IMG]
 NEUTRA collection for TRIBU.[IMG]

 TRIBU, a Belgian top-of-the-range outdoor
 furniture manufacturer, enlisted the
 services of the reputed Belgian designer
 to create a timeless design collection.
 He has developed an entire range of
 products with sober, elegant lines. The
 armchair, lounger, table and low table
 are perfect both indoors and outdoors.
 The low armchair in particular is the
 perfect illustration of what is no longer
 simply a new trend, namely the emergence
 of indoor-outdoor furniture.
 Read more ...
 TECTONA
In outdoor furniture, TECTONA is [IMG]
synonymous with unostentatious luxury.
More than ever before, Tectona is seeking
to push back the limits of garden
furniture. A new generation of
ultra-light furniture is making its
appearance for the first time. The AIR
collection, born of the union of
innovation and design, is surprisingly
light and sturdy. Thanks to a new
synthetic fibre and an aluminium frame,
the chair weighs less than 3 kilos! The
intelligent design of the collection
means that the low table doubles as a
foot-rest and sofa modules can be moved
around to form the outdoor living room of
your choice.

Inga Sempé designed the new Tectona Delta
garden shower whose simplicity and
elegance do...
Read more ...
 SABZ
   [IMG] SABZ launches the first on-line boutique
 dedicated to outdoor-indoor furniture.

 SABZ has a complete outdoor decoration
 offering to meet individual expectations
 no matter what the project: a design
 office, a store and a merchandising site.

 With its integrated design office, SABZ
 offers a global, customised approach to
 decorating outdoor areas designed as
 living areas.

 Change of location for Sabz which is
 presenting a specialised selection of
 furniture, lighting and 

Re: cant burn a cd iso

2009-06-27 Thread Bruce Cran
On Sat, 27 Jun 2009 12:37:22 +0100
Daniel Leal dfpl...@gmail.com wrote:

 Hi !
 
 I am trying to burn a iso in my laptop with freebsd 7.2
 
 Installed cdrtools and then kldload atapicam.
 
 Then I looked for the cdrom:
 #cdrecord -scanbus
 
 Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 
 J?rg Schilling
 Using libscg version 'schily-0.8'.
 scsibus2:
2,0,0   200) 'PIONEER ' 'DVD-RW  DVR-K17A' '1.51' Removable
 CD-ROM 2,1,0   201) *
2,2,0   202) *
2,3,0   203) *
2,4,0   204) *
2,5,0   205) *
2,6,0   206) *
2,7,0   207) *
 
 So I try to burn the iso with the comand:
   # cdrecord -v dev=2,0,0 myfile.iso

You could also add 'driveropts=burnfree' to enable buffer
underrun protection since it's not enabled by default. 

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


Re: PPPoE trouble handshaking

2009-06-27 Thread Nikos Vassiliadis

budsz wrote:

On Thu, Jun 25, 2009 at 9:03 PM, Nikos Vassiliadisnvass9...@gmx.com wrote:

budsz wrote:

On Thu, Jun 25, 2009 at 3:53 PM, Nikos Vassiliadisnvass9...@gmx.com
wrote:

budsz wrote:

I got problem with FreeBSD 7.2-STABLE as router. I use TPLINK modem as
bridging to my box.

Could you run tcpdump -ni rl1 while trying and post
it to the list?

If problem appear, I will do it. This problem not regularly, I got the
same problem 2 week ago and today. I don't know what happen exactly,
but I can dialing again after 3 hours.

So, your configuration works, but at times it gets disconnected.
And when that disconnection happens, it fails to re-connect. That
means that if you pull the modem's power plug, you'll be able to
establish a connection after some time and not immediately, right?

1) You should also enable echo along with enable lqr.

When you pull the FreeBSD's ethernet plug does it work?
2) You should watch the logs and wait for it to disconnect, plug
the ethernet in and wait to re-connect on its own.

3) Then you should try the same with the DSL line, pull the plug
from the modem and it should behave the same way, that is
disconnect and re-connect on its own.

Do these three steps and if everything works, wait for the
random disconnection to happen. It should behave the same way.

tcpdump is your friend while trying the above.


OK, dud. Right now I got some problem here output tcpdump -ni rl1:

20:14:58.764661 PPPoE PADO [Host-Uniq 0x009043C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:14:58.864426 PPPoE PADO [Host-Uniq 0x009043C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:00.799157 PPPoE PADI [Host-Uniq 0x408612C2] [Service-Name]
20:15:00.799165 PPPoE PADI [Host-Uniq 0x408612C2] [Service-Name]
20:15:04.014864 PPPoE PADO [Host-Uniq 0x408612C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:04.031335 PPPoE PADO [Host-Uniq 0x408612C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:05.905186 PPPoE PADI [Host-Uniq 0xC05C5CC2] [Service-Name]
20:15:05.905193 PPPoE PADI [Host-Uniq 0xC05C5CC2] [Service-Name]
20:15:08.964978 PPPoE PADO [Host-Uniq 0xC05C5CC2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:09.064289 PPPoE PADO [Host-Uniq 0xC05C5CC2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:11.011223 PPPoE PADI [Host-Uniq 0x008922C2] [Service-Name]
20:15:11.011231 PPPoE PADI [Host-Uniq 0x008922C2] [Service-Name]
20:15:14.164175 PPPoE PADO [Host-Uniq 0x008922C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:14.181137 PPPoE PADO [Host-Uniq 0x008922C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:16.117251 PPPoE PADI [Host-Uniq 0xC0595CC2] [Service-Name]
20:15:16.117259 PPPoE PADI [Host-Uniq 0xC0595CC2] [Service-Name]
20:15:19.248075 PPPoE PADO [Host-Uniq 0xC0595CC2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:19.264056 PPPoE PADO [Host-Uniq 0xC0595CC2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:22.367294 PPPoE PADI [Host-Uniq 0x007D22C2] [Service-Name]
20:15:22.367302 PPPoE PADI [Host-Uniq 0x408612C2] [Service-Name]
20:15:22.367311 PPPoE PADI [Host-Uniq 0x408612C2] [Service-Name]
20:15:25.464788 PPPoE PADO [Host-Uniq 0x007D22C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:25.480781 PPPoE PADO [Host-Uniq 0x408612C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:25.497286 PPPoE PADO [Host-Uniq 0x408612C2] [AC-Name
BRAS-D3-BDG-8Y224150703147] [Service-Name]
20:15:27.473336 PPPoE PADI [Host-Uniq 0x805B5CC2] [Service-Name]



Does this goes on for 3 hours?
I see nothing strange above, except that it goes no further
than the PADI/PADO sequence.

Do you have any firewall rules?

I would suggest asking your ISP about this strange phenomenon.

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


Re: kernel panic - umount xfs partition

2009-06-27 Thread Zbigniew Komarnicki
...
 # mount -t xfs -o ro /dev/ad0s2 /mnt
 # ls /mnt
 # cp /mnt/my_file /home/zbigniew

I forgot add here that I do then
# umount /mnt

and after that was kernel panic.

I'm sorry for the mistake.

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


Re: scripting suggestion: how to make this command shorter

2009-06-27 Thread Modulok
Zhang,

Perhaps you could put it into a text file and have cron simply execute
the text file. By doing so, you are free to break it up into a more
digestible format and start using programming constructs to make your
life easier. (Such as storing values in variables, or processing
standard input so the script can be called with various URL's and so
forth.) Your cron job could then simply execute /home/you/bin/foo,
where 'foo' is whatever you decide to name the script.

Is there any specific reason why this has to be all on one line?
-Modulok-

On 6/27/09, Zhang Weiwu zhangwe...@realss.com wrote:
 Hello. I wrote this one-line command to fetch a page from a long uri,
 parse it twice: first time get subject  second time get content, and
 send it as email to me.

 $ w3m -dump
 'http://search1.taobao.com/browse/33/n-g,w6y4zzjaxxymvjomxy40--commend-0-all-33.htm?at_topsearch=1ssid=e-s5'
 | grep -A 100 对比 | mail -a 'Content-Type: text/plain; charset=UTF-8' -s
 '=?UTF-8?B?'`w3m -dump
 'http://search1.taobao.com/browse/33/n-g,w6y4zzjaxxymvjomxy40--commend-0-all-33.htm?at_topsearch=1ssid=e-s5'
 | grep 找到.*件 | base64 -w0`'?=' zhangwe...@realss.com


 The stupid part of this script is it fetches the page 2 times and parse
 2 times, thus making the command very long. If I can write the command
 in a way that the URI only appear once, then it is easier for me to
 maintain it. I plan to put it in cron yet avoid having to modify two
 places when the URI changes (and it does!).

 How do you suggest optimizing the one-liner?

 By the way I feel it stupid having to wrap the subject by using:
 $ mail -s '=?UTF-8?B?'`echo $subject | base64`'?='

 instead of
 $ mail -s $subject

 Because mail(1), as defined, intelligent user agent, should know the
 current locale is UTF-8 and should know UTF-8 header must be base64
 encoded for RFC compatibility. Yet it also should know if mail body is
 UTF-8 the header 'Content-Type: text/plain; charset=UTF-8' must not be
 omitted in case of UTF-8 content. I think this is a bug, as both are
 required by RFC. How do you think?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Other browsers show the same behaviour (Firefox crashes on yahoo.com)

2009-06-27 Thread Manish Jain
The problem is not restricted to firefox or yahoo.com. There are other 
sites too where this happens. I built Galeon from ports, and it shows 
exactly the same behaviour as firefox2/firefox3 for those sites. So does 
Epiphany (installed from the distribution media).




Hi,

This seems to be a strange problem with Firefox which I never encountered on my 
old system. Both Firefox2 and Firefox3 work well the other sites I have tried 
accessing, but crash on navigating to www.yahoo.com


/usr/home/emmjanex # firefox3 http://www.yahoo.com 
[1] 2668
/usr/home/emmjanex # NP_Initialize
New
SetWindow
SetWindow
NewStream
WriteReady
Write
decoding...
The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadImplementation (server does not implement operation)'.
  (Details: serial 31 error_code 17 request_code 140 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

[1]+  Exit 1  firefox3 http://www.yahoo.com



There is nothing relevant to the crash in Xorg.0.log or console.log


--
Regards
Manish Jain
invalid.poin...@gmail.com
+91-96500-10329

Laast year I kudn't spell Software Engineer. Now I are won.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: The question of moving vi to /bin

2009-06-27 Thread Manish Jain



Hi,

I agree that vi is nowhere as easy to use as ee. Since a lot of people seem to 
be happy with ee, why not make it available under /bin so that that there is an 
easy-to-use, readily-working editor always available, even if you are in 
single-user mode ?

That in fact was the essence of this entire thread. The thing is /bin/ed and 
/rescue/vi have their unique problems and peculiarities. If at least there can 
be a general consensus that ee should be under /bin, a lot of people could 
possibly find it beneficial in emergencies. The problem again, I suspect, might 
be that moving ee to /bin would possibly need the terminal database to be kept 
under / directly, which goes against freebsd's obsession with a 
micro-minimalistic base.

One solution might be to keep a pared-down version of the database that 
provides only for the most commonly used terminals to be placed under /, and 
single-user mode set up to use this database.



Hi,

I agree that vi is nowhere as easy to use as ee. Since a lot of people 
seem to be happy with ee, why not make it available under /bin so that 
that there is an easy-to-use, readily-working editor always available, 
even if you are in single-user mode ?


That in fact was the essence of this entire thread. The thing is /bin/ed 
and /rescue/vi have their unique problems and peculiarities. If at least 
there can be a general consensus that ee should be under /bin, a lot of 
people could possibly find it beneficial in emergencies. The problem 
again, I suspect, might be that moving ee to /bin would possibly need 
the terminal database to be kept under / directly, which goes against 
freebsd's concept of a micro-minimalistic base.


One solution might be to keep a pared-down version of the database that 
provides only for the most commonly used terminals placed under  /  and 
single-user mode set up to use this database.


--
Regards
Manish Jain
invalid.poin...@gmail.com
+91-96500-10329

Laast year I kudn't spell Software Engineer. Now I are won.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Other browsers show the same behaviour (Firefox crashes on yahoo.com)

2009-06-27 Thread Morgan Wesström


Manish Jain wrote:
 The problem is not restricted to firefox or yahoo.com. There are other
 sites too where this happens. I built Galeon from ports, and it shows
 exactly the same behaviour as firefox2/firefox3 for those sites. So does
 Epiphany (installed from the distribution media).
 
 
 Hi,

 This seems to be a strange problem with Firefox which I never
 encountered on my old system. Both Firefox2 and Firefox3 work well the
 other sites I have tried accessing, but crash on navigating to
 www.yahoo.com

 /usr/home/emmjanex # firefox3 http://www.yahoo.com 
 [1] 2668
 /usr/home/emmjanex # NP_Initialize
 New
 SetWindow
 SetWindow
 NewStream
 WriteReady
 Write
 decoding...
 The program 'firefox-bin' received an X Window System error.
 This probably reflects a bug in the program.
 The error was 'BadImplementation (server does not implement operation)'.
   (Details: serial 31 error_code 17 request_code 140 minor_code 5)
   (Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
 function.)

 [1]+  Exit 1  firefox3 http://www.yahoo.com


 There is nothing relevant to the crash in Xorg.0.log or console.log
 

I'm not using X at all on my FreeBSD machines so I don't know if this is
related. We had a similar problem in Gentoo lately where Firefox simply
segfaulted on certain webpages. It was tracked down to librsvg and there
is a temporary patch for 2.22-2.26:
http://mirrors.evolva.ro/gentoo-portage/gnome-base/librsvg/files/librsvg-2.22.3-fix-segfault-with-firefox.patch
As I said, I don't know if this relates to FreeBSD in any way but to a
layman like myself it seems plausible since it's the same applications
involved and I can't see that there is a patch for this in Ports. Some
developer probably can make more sense out of this than I but I though
it was worth mentioning.

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


Stale lock files

2009-06-27 Thread Charles Howse

Hi,
What are stale lock files?
I've been having them for a few weeks now, they need to go away!


r...@curly /root# portupgrade -a
** Stale lock file was found. Removed.
** Stale lock file was found. Removed.
[...]

r...@curly /root# portversion -c
** Stale lock file was found. Removed.
#
#  p5-BerkeleyDB
#  needs updating (port has 0.39)
#
pkgs=$pkgs p5-BerkeleyDB-0.38

#
#  portaudit
#  needs updating (port has 0.5.13)
#
pkgs=$pkgs portaudit-0.5.12

#
#  ruby
#  needs updating (port has 1.8.7.160_3,1)
#
pkgs=$pkgs ruby-1.8.7.160_1,1


if [ X$pkgs != X ]; then
 portupgrade $@ $pkgs
fi


Thanks,
Charles
--
Pretty women make us BUY beer. Ugly women make us DRINK beer. - Al Bundy




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


Re: Best practices for securing SSH server

2009-06-27 Thread Jos Chrispijn


Daniel Underwood wrote:

laptop to connect to the server.  Due to the speed and location of the
connection, it's a relatively high-risk target.
  
Can you tell me what you mean with that? I mean, imho a server must been 
consider always a risk target.

Perhaps I don't understand.

Jos Chrispijn


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


Re: Stale lock files

2009-06-27 Thread Polytropon
On Sat, 27 Jun 2009 10:00:24 -0500, Charles Howse cho...@charter.net wrote:
 What are stale lock files?
 I've been having them for a few weeks now, they need to go away!

Lock files are used by several programs to indicate file-wise that
they are running. The lock file is created when the program starts,
and usually deleted when it ends. If it is interrupted (due to an
error or ^C), the lock file isn't removed.

Most programs remove stale lock files by theirselves when they are
started again (e. g. fetchmail).

It's possible that there are programs that refuse to start, because
the lock file (falsely) indicates that the program is already running.

The location of the lock file seems to depend on the respective
program.



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


Stale lock files

2009-06-27 Thread Robert Huff

Charles Howse writes:

  What are stale lock files?
  I've been having them for a few weeks now, they need to go away!
  
  r...@curly /root# portupgrade -a
  ** Stale lock file was found. Removed.
  ** Stale lock file was found. Removed.
  [...]
  
  r...@curly /root# portversion -c
  ** Stale lock file was found. Removed.

These are related to a (harmless) twitch in a recent version of
ruby.  Updating to the latest version fixed it for me.


Robert Huff

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


Re: scripting suggestion: how to make this command shorter

2009-06-27 Thread Zhang Weiwu
Modulok wrote:
 Zhang,

 Perhaps you could put it into a text file and have cron simply execute
 the text file. By doing so, you are free to break it up into a more
 digestible format and start using programming constructs to make your
 life easier. (Such as storing values in variables, or processing
 standard input so the script can be called with various URL's and so
 forth.) Your cron job could then simply execute /home/you/bin/foo,
 where 'foo' is whatever you decide to name the script.

 Is there any specific reason why this has to be all on one line?
 -Modulok-
Nothing more than curiosity and small benefit of not having to take care
one more file. I know what you mean:)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Best practices for securing SSH server

2009-06-27 Thread Jon Radel

Jos Chrispijn wrote:



Daniel Underwood wrote:

laptop to connect to the server.  Due to the speed and location of the
connection, it's a relatively high-risk target.
  
Can you tell me what you mean with that? I mean, imho a server must been 
consider always a risk target.

Perhaps I don't understand.


As I believe has already been answered in this thread, the better 
connected a server is to the Internet, the higher its value to several 
varieties of miscreants.  Given a choice between a server connected via 
a close to saturated T1 somewhere in the back waters of the Internet and 
a server with multiple 100mbps+ connections to key backbones, somebody 
interested in staging DOS attacks or using the server as a base to 
explore other networks or ... is likely to find the latter server of 
greater interest.  About the only advantage I can think of for the 
former is that it's probably, other things being equal, less likely to 
be properly maintained and monitored.


--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


IBM T43 - iwi0 firmware stuck issue

2009-06-27 Thread Siyan Hadzhiev

Hello List ,

I am new in this list , so if these is an old topic forgive me.I have 
successfully installed FreeBSD 7.2 to IBM T43 Laptop.I am using wireless 
network with WPA key.My Laptop has Intel Pro Wireless 2200.I installed 
iwi driver and firmware successfully.


I am successfully connecting to my home and ofis wireless networks with 
wpa supplicant.However every 4 or 5 minutes my connection gets down and i 
got iwi0: firmware stuck in state 4 , resetting  and then iwi0 device 
timeout  errors.These drops my connection , after that it take 30 seconds 
to my connection come back up.Then after 5 minutes again same errors and 
these goes on.


I search a little bit on Google however find nothing usefull.

Is there anybody who faced with same problem?
And is there any solutions or upgrades for that issue.

Best Regards
Siyan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Sua melhor opção em Hardware.

2009-06-27 Thread Avitech Tecnologia em Informática


 
http://www.avitechtecnologia.com.br/flashmkt3/track.aspx?i...@2258@AC26
A2E4-AE48-rmpH7mvZ8uw%3d512-AF99-E0B050D6B741   
 
http://www.avitechtecnologia.com.br/flashmkt3/pecas/5c52646/img/02.jpg
Prezado(a),
http://www.avitechtecnologia.com.br/flashmkt3/pecas/5c52646/img/02c.jpg
   
 
http://www.avitechtecnologia.com.br/flashmkt3/track.aspx?i...@2258@AC26
A2E4-AE48-rmpH7mvZ8uw%3d512-AF99-E0B050D6B741   
 
http://www.avitechtecnologia.com.br/flashmkt3/track.aspx?i...@2258@AC26
A2E4-AE48-rmpH7mvZ8uw%3d512-AF99-E0B050D6B741   
 
http://www.avitechtecnologia.com.br/flashmkt3/track.aspx?i...@2258@AC26
A2E4-AE48-rmpH7mvZ8uw%3d512-AF99-E0B050D6B741   
Solicite um contato
http://www.avitechtecnologia.com.br/flashmkt3/campanhas/contato.aspx?id
=2...@ac26a2e4-ae48-rmph7mvz8uw%3d512-af99-e0b050d6b741 
Indique para um amigo
http://www.avitechtecnologia.com.br/flashmkt3/campanhas/indique.aspx?id
=2...@ac26a2e4-ae48-rmph7mvz8uw%3d512-af99-e0b050d6b741 
 Em respeito a sua privacidade, se você não quiser receber mais
nossos e-mails, clique aqui
http://www.avitechtecnologia.com.br/flashmkt3/campanhas/descadastro.asp
x?id=2...@ac26a2e4-ae48-rmph7mvz8uw%3d512-af99-e0b050d6b741  para
remover seu endereço da nossa lista.

 

 
http://www.avitechtecnologia.com.br/flashmkt3/track.aspx?i...@2258@AC26
A2E4-AE48-rmpH7mvZ8uw%3d512-AF99-E0B050D6B741 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Stale lock files

2009-06-27 Thread Charles Howse


On Jun 27, 2009, at 10:42 AM, Robert Huff wrote:



Charles Howse writes:


What are stale lock files?
I've been having them for a few weeks now, they need to go away!

r...@curly /root# portupgrade -a
** Stale lock file was found. Removed.
** Stale lock file was found. Removed.
[...]

r...@curly /root# portversion -c
** Stale lock file was found. Removed.


These are related to a (harmless) twitch in a recent version of
ruby.  Updating to the latest version fixed it for me.


Thanks Robert and Polytropon,
Running 'portversion -c' after 'portupgrade -a' no longer shows any  
stale lock files.

Just wondering...is there any utility to find and remove these things?
Maybe a reboot?

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


Re: Stale lock files

2009-06-27 Thread Robert Huff

Charles Howse writes:

   ** Stale lock file was found. Removed.
  
  These are related to a (harmless) twitch in a recent version of
   ruby.  Updating to the latest version fixed it for me.
  
  Running 'portversion -c' after 'portupgrade -a' no longer shows
  any stale lock files.
  Just wondering...is there any utility to find and remove these
  things?  Maybe a reboot?

A successful run _after_ the aforementioned ruby upgrade should
remove all the laggards.


Robert Huff

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


Re: Other browsers show the same behaviour (Firefox crashes on yahoo.com)

2009-06-27 Thread Mel Flynn
On Saturday 27 June 2009 06:41:43 Manish Jain wrote:
 The problem is not restricted to firefox or yahoo.com. There are other
 sites too where this happens. I built Galeon from ports, and it shows
 exactly the same behaviour as firefox2/firefox3 for those sites. So does
 Epiphany (installed from the distribution media).

Galeon also uses mozilla engine. How about Opera?

  The program 'firefox-bin' received an X Window System error.
  This probably reflects a bug in the program.
  The error was 'BadImplementation (server does not implement operation)'.
(Details: serial 31 error_code 17 request_code 140 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
 that is, you will receive the error a while after causing it.
 To debug your program, run it with the --sync command line
 option to change this behavior. You can then get a meaningful
 backtrace from your debugger if you break on the gdk_x_error()
  function.)
 
  [1]+  Exit 1  firefox3 http://www.yahoo.com
 
  There is nothing relevant to the crash in Xorg.0.log or console.log

Yet, could you startup firefox with --sync to see where it crashes?

Unable to reproduce here.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ATI Radeon X600: no DRI upon X restart :-(

2009-06-27 Thread cpghost
On Sun, Feb 22, 2009 at 08:00:03AM +0200, Vladimir Kushnir wrote:
 Hi,
 Here's a problem. I start X from console via startx. For a long while DRI
 gets initialized only if X is started practically immediately after boot
 and only for the first time. Otherwise (if X is closed, then restarted,
 or something has been done prior to startx) I get :
 
 (EE) RADEON(0): [pci] Out of memory (-12)
 (EE) RADEON(0): [pci] PCI failed to initialize. Disabling the DRI.

Same problem here (misc/132403), with a Radeon HD 3200 and RadeonHD
driver:

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-STABLE amd64 
Current Operating System: FreeBSD phenom.cordula.ws 7.2-STABLE FreeBSD 
7.2-STABLE #0: Thu Jun 25 22:47:05 CEST 2009 
r...@phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 11 May 2009  08:48:10PM

[...]

(--) PCI:*(0...@1:5:0) ATI Technologies Inc Radeon HD 3200 Graphics rev 0, Mem 
@ 0xf000/134217728, 0xfe9f/65536, 0xfe80/1048576, I/O @ 
0xd000/256, BIOS @ 0x/65536

[...]

(II) LoadModule: radeonhd
(II) Loading /usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
(II) Module radeonhd: vendor=AMD GPG
compiled for 1.6.1, module version = 1.2.5
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0

[...]

(II) RADEONHD: version 1.2.5, built from dist of git branch master, commit 
cb54f48b

[...]

(**) RADEONHD(0): Option AccelMethod EXA
(**) RADEONHD(0): Option DRI True
(**) RADEONHD(0): Selected EXA 2D acceleration.
(II) RADEONHD(0): Unknown card detected: 0x9610:0x1462:0x7501.
If - and only if - your card does not work or does not work optimally
please contact radeo...@opensuse.org to help rectify this.
Use the subject: 0x9610:0x1462:0x7501: name of board
and *please* describe the problems you are seeing
in your message.
(--) RADEONHD(0): Detected an RS780 on an unidentified card
(II) RADEONHD(0): Mapped IO @ 0xfe9f to 0x8006b4000 (size 0x0001)
(II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location
(II) RADEONHD(0): ATOM BIOS Rom: 
SubsystemVendorID: 0x1002 SubsystemID: 0x1002
IOBaseAddress: 0xd000
Filename: MS7501_H_5.b
BIOS Bootup Message: 
B27721 RS780 DDR2 200e/500m 

(II) RADEONHD(0): Analog TV Default Mode: 1
(II) RADEONHD(0): Found default TV Mode NTSC
(--) RADEONHD(0): VideoRAM: 131072 kByte
(II) RADEONHD(0): Framebuffer space used by Firmware (kb): 20
(II) RADEONHD(0): Start of VRAM area used by Firmware: 0x7ffb000
(II) RADEONHD(0): AtomBIOS requests 20kB of VRAM scratch space
(II) RADEONHD(0): AtomBIOS VRAM scratch base: 0x7ffb000

[...]

(II) RADEONHD(0): Found libdri 5.4.0.
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci::01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci::01:05.0
(II) RADEONHD(0): Found libdrm 1.3.0.
(II) RADEONHD(0): Found radeon drm 1.29.0.

[...]

(II) Loading /usr/local/lib/xorg/modules//libexa.so
(II) Module exa: vendor=X.Org Foundation
compiled for 1.6.1, module version = 2.4.0
ABI class: X.Org Video Driver, version 5.0
(II) RADEONHD(0): FB: Allocated Offscreen Buffer at offset 0x00508000 (size = 
0x00CCD000)
(II) RADEONHD(0): FB: Allocated DRI Back Buffer at offset 0x011D5000 (size = 
0x0050)
(II) RADEONHD(0): FB: Allocated DRI Depth Buffer at offset 0x016D5000 (size = 
0x0050)
(II) RADEONHD(0): FB: Allocated GART table at offset 0x07FF (size = 
0x0001, end of FB)
(II) RADEONHD(0): FB: Allocated DRI Textures at offset 0x01BD5000 (size = 
0x0640)
(II) RADEONHD(0): Using 16 MB GART aperture
(II) RADEONHD(0): Using 2 MB for the ring buffer
(II) RADEONHD(0): Using 2 MB for vertex/indirect buffers
(II) RADEONHD(0): Using 12 MB for GART textures
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
[0] -1  0   0x000f - 0x000f (0x1) MX[B]
[1] -1  0   0x000c - 0x000e (0x3) MX[B]
[2] -1  0   0x - 0x0009 (0xa) MX[B]
[3] 0   0   0x000a - 0x000a (0x1) MS[B]
[4] 0   0   0x000b - 0x000b7fff (0x8000) MS[B]
[5] 0   0   0x000b8000 - 0x000b (0x8000) MS[B]
[6] -1  0   0x - 0x (0x1) IX[B]
[7] -1  0   0x - 0x00ff (0x100) IX[B]
[8] 0   0   0x03b0 - 0x03bb (0xc) IS[B]
[9] 0   0   0x03c0 - 0x03df (0x20) IS[B]
(II) RADEONHD(0): Mapped IO @ 0xfe9f to 0x8006b4000 (size 0x0001)
(II) RADEONHD(0): Mapped FB @ 0xf000 to 0x802a0 (size 0x0800)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open 

Re: Other browsers show the same behaviour (Firefox crashes on yahoo.com)

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 11:01 AM, Morgan
Wesströmfreebsd-questi...@pp.dyndns.biz wrote:

 I'm not using X at all on my FreeBSD machines so I don't know if this is
 related. We had a similar problem in Gentoo lately where Firefox simply
 segfaulted on certain webpages. It was tracked down to librsvg and there
 is a temporary patch for 2.22-2.26:
 http://mirrors.evolva.ro/gentoo-portage/gnome-base/librsvg/files/librsvg-2.22.3-fix-segfault-with-firefox.patch
 As I said, I don't know if this relates to FreeBSD in any way but to a
 layman like myself it seems plausible since it's the same applications
 involved and I can't see that there is a patch for this in Ports. Some
 developer probably can make more sense out of this than I but I though
 it was worth mentioning.


I didn't see any replies about ${OTHER_OS} -- Firefox 3.0.11 does not
crash on *buntu (don't ask) for me.  I just wanted to point that out.
I don't have FF3 on FreeBSD boxes to test.

Just thought I'd share.

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


apache22: Can't access startfile

2009-06-27 Thread Gary Kline

Can anybody remind me what all I need to do to create a new virtual
website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and have
bar be my new website?  I've seen this lynx error:
Can't access startfile before and can't remeber what I'm doing wrong.

thanks for some clues here,

gary

PS: yes, i edited the apache22/Includes/httpd-local.conf and restarted 
the
etc/rv.d/apache script... . 



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.98a release of Jottings: http://jottings.thought.org/index.php

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


Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:

        Can anybody remind me what all I need to do to create a new virtual
        website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and have
        bar be my new website?  I've seen this lynx error:
        Can't access startfile before and can't remeber what I'm doing wrong.

        thanks for some clues here,


Take a look at the error log for apache, as I suspect the following:
usually, apache wants to look in /usr/local/www/apache22/* for its
information.  If you have changed DocumentRoot, could you give us
snippets (if not all) of your httpd.conf ?



        PS: yes, i edited the apache22/Includes/httpd-local.conf and restarted 
 the
        etc/rv.d/apache script... .


Is this apache13, 20, or 22 by the way?

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


Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 6:41 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:

        Can anybody remind me what all I need to do to create a new virtual
        website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and have
        bar be my new website?  I've seen this lynx error:
        Can't access startfile before and can't remeber what I'm doing 
 wrong.

        thanks for some clues here,


 Take a look at the error log for apache, as I suspect the following:
 usually, apache wants to look in /usr/local/www/apache22/* for its
 information.  If you have changed DocumentRoot, could you give us
 snippets (if not all) of your httpd.conf ?



        PS: yes, i edited the apache22/Includes/httpd-local.conf and 
 restarted the
        etc/rv.d/apache script... .


 Is this apache13, 20, or 22 by the way?

Wow... I must really be loosing it... Forget I asked that last question. ;)

Gary, if the problem persists after my previous suggestions, could you
also include info from the error log?

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


Re: apache22: Can't access startfile

2009-06-27 Thread Gary Kline
On Sat, Jun 27, 2009 at 06:41:22PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:
 
         Can anybody remind me what all I need to do to create a new virtual
         website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and have
         bar be my new website?  I've seen this lynx error:
         Can't access startfile before and can't remeber what I'm doing 
  wrong.
 
         thanks for some clues here,
 
 
 Take a look at the error log for apache, as I suspect the following:
 usually, apache wants to look in /usr/local/www/apache22/* for its
 information.  If you have changed DocumentRoot, could you give us
 snippets (if not all) of your httpd.conf ?
 


This is the first change in 18 months.  The logs in
/usr/local/www/apache22/ haven't been touched for months.

I did remember to edit my named/* files, update the Date and restart.
Then I restarted other apache related scripts and binaries.  The next 
trick is a reboot.  That won't tell me too much.

 
 
         PS: yes, i edited the apache22/Includes/httpd-local.conf and 
  restarted the
         etc/rv.d/apache script... .
 
 
 Is this apache13, 20, or 22 by the way?
 

22

gary


 -- 
 Glen Barber

-- 
  Gary Kline  kl...@thought.org   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 freebsd-questions-unsubscr...@freebsd.org


The FreeBSD Diary: 2009-06-27

2009-06-27 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/. 

RECENT ARTICLES:

2-Dec : Obscuring smtp auth headers
 If you consider your smtp-auth location to be private, this is what you 
want. 
 http://freebsddiary.org/smtp-headers-rewrite-auth.php?2

29-Nov : OpenVPN - creating a routed VPN
 If you have multiple VPN clients, this is a practical solution. 
 http://freebsddiary.org/openvpn-routed.php?2

27-Nov : Creating your own Certificate Authority
 How to create a CA and generate your own SSL certificates
 http://freebsddiary.org/openvpn-easy-rsa.php?2

27-Nov : OpenVPN - getting it running
 Using OpenVPN to create a secure pathway between home and office 
 http://freebsddiary.org/openvpn.php?2

5-Oct : Removing dead mailing lists from Mailman
 Mailing lists can outlive their usefulness 
 http://freebsddiary.org/mailman-removing-dead-lists.php?2

30-Aug : gmirror - recovering from a failed HDD
 an HDD failed.  gmirror to the rescue. 
 http://freebsddiary.org/gmirror-failure.php?2

6-Jul : ezjail - A jail administration framework
 This makes jails easier 
 http://freebsddiary.org/ezjail.php?2

24-Jun : Adding gmirror to an existing installation
 Adding RAID-1 to an existing FreeBSD 7 installation
 http://freebsddiary.org/gmirror.php?2

20-Mar : ThinkPad x61s
 Unpacking the box, installing PC-BSD 
 http://freebsddiary.org/thinkpad-x61s.php?2

17-Mar : Using two monitors with X.org
 The GeForce 8600 GT with two monitors 
 http://freebsddiary.org/xorg-two-screens.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 freebsd-questions-unsubscr...@freebsd.org


Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 7:08 PM, Gary Klinekl...@thought.org wrote:
 On Sat, Jun 27, 2009 at 06:41:22PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:
 
         Can anybody remind me what all I need to do to create a new virtual
         website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and 
  have
         bar be my new website?  I've seen this lynx error:
         Can't access startfile before and can't remeber what I'm doing 
  wrong.
 
         thanks for some clues here,
 

 Take a look at the error log for apache, as I suspect the following:
 usually, apache wants to look in /usr/local/www/apache22/* for its
 information.  If you have changed DocumentRoot, could you give us
 snippets (if not all) of your httpd.conf ?



        This is the first change in 18 months.  The logs in
        /usr/local/www/apache22/ haven't been touched for months.

        I did remember to edit my named/* files, update the Date and restart.
        Then I restarted other apache related scripts and binaries.  The next
        trick is a reboot.  That won't tell me too much.


... especially since rebooting (ideally) shouldn't _fix_ apache22
problems.. If that works, it is only masking the real problem.

Do you remember any other major changes to your system or apache22
since your last reboot or apache update?

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


Re: apache22: Can't access startfile

2009-06-27 Thread Gary Kline
On Sat, Jun 27, 2009 at 06:54:33PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 6:41 PM, Glen Barberglen.j.bar...@gmail.com wrote:
  On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:
 
         Can anybody remind me what all I need to do to create a new virtual
         website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and 
  have
         bar be my new website?  I've seen this lynx error:
         Can't access startfile before and can't remeber what I'm doing 
  wrong.
 
         thanks for some clues here,
 
 
  Take a look at the error log for apache, as I suspect the following:
  usually, apache wants to look in /usr/local/www/apache22/* for its
  information.  If you have changed DocumentRoot, could you give us
  snippets (if not all) of your httpd.conf ?
 
 
 
         PS: yes, i edited the apache22/Includes/httpd-local.conf and 
  restarted the
         etc/rv.d/apache script... .
 
 
  Is this apache13, 20, or 22 by the way?
 
 Wow... I must really be loosing it... Forget I asked that last question. ;)
 
 Gary, if the problem persists after my previous suggestions, could you
 also include info from the error log?
 

:-) [above].   no the reboot got things launched.  my server is
sage.thought.org, but the mail, web, and dns stuff are all in 
a jail, aristotle.thought.org, so my guess is that things were 
blocked at sage.  i realize that's a really LAME excuse... :-)

if ever i find somebody out here in the seattle area to help me, i'll 
buy
a Dell and built ns1.thought.org as aristotle.thought.org; no mo' jails.

meanwhile, if anybody else has some clues re wha' happened, Pulleze clue
me in. there was nothing in the error log; it was dated 


2 drwxr-xr-x   3 www  www  1024 Jan 13  2008 error
4 drwxr-xr-x   3 www  www  3584 Jan 13  2008 icons
p0 16:29 Jail:: aristotle [5061]  
/usr/local/www/apache22


um, for apache22, the http.conf no longer has any of the virtual stuff. 
 
it's all in Include/httpd-local.conf.  Meanwhile, this newest apache is
getting to be a religion in its own right.   like emacs vs vim/vi, etc,
etc..

(*whew*)

gary


 -- 
 Glen Barber

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.98a release of Jottings: http://jottings.thought.org/index.php

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


Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 7:32 PM, Gary Klinekl...@thought.org wrote:

        :-) [above].   no the reboot got things launched.  my server is
        sage.thought.org, but the mail, web, and dns stuff are all in
        a jail, aristotle.thought.org, so my guess is that things were
        blocked at sage.  i realize that's a really LAME excuse... :-)


I'm confused.  Everything works now?

        if ever i find somebody out here in the seattle area to help me, i'll 
 buy
        a Dell and built ns1.thought.org as aristotle.thought.org; no mo' 
 jails.

        meanwhile, if anybody else has some clues re wha' happened, Pulleze 
 clue
        me in. there was nothing in the error log; it was dated


Perhaps the logs didn't rotate?  When was the last time that the
access log was 'touch'ed?


 2 drwxr-xr-x   3 www  www  1024 Jan 13  2008 error
 4 drwxr-xr-x   3 www  www  3584 Jan 13  2008 icons
 p0 16:29 Jail:: aristotle [5061]                          
 /usr/local/www/apache22


        um, for apache22, the http.conf no longer has any of the virtual stuff.
        it's all in Include/httpd-local.conf.  Meanwhile, this newest apache is
        getting to be a religion in its own right.   like emacs vs vim/vi, etc,
        etc..


True, true.  I don't _need_ vhosts on my FreeBSD box because it's
overkill for what I use apache for.  When I ran my site off of my own
hardware, I did need vhosts -- I had forgotten this.

Thanks for reminding me about how much I don't remember. ;)

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


Re: apache22: Can't access startfile

2009-06-27 Thread Gary Kline
On Sat, Jun 27, 2009 at 07:38:35PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 7:32 PM, Gary Klinekl...@thought.org wrote:
 
         :-) [above].   no the reboot got things launched.  my server is
         sage.thought.org, but the mail, web, and dns stuff are all in
         a jail, aristotle.thought.org, so my guess is that things were
         blocked at sage.  i realize that's a really LAME excuse... :-)
 
 
 I'm confused.  Everything works now?


still checking, but seem to.  i'll check my /var/log/httpd/* files next.
That excuse was my best SWAG, and nothing more.  sometimes, 
reinitializing
everything, the OS turns out to be smarter than the rest of us... 


 
         if ever i find somebody out here in the seattle area to help me, 
  i'll buy
         a Dell and built ns1.thought.org as aristotle.thought.org; no mo' 
  jails.
 
         meanwhile, if anybody else has some clues re wha' happened, Pulleze 
  clue
         me in. there was nothing in the error log; it was dated
 
 
 Perhaps the logs didn't rotate?  When was the last time that the
 access log was 'touch'ed?


where do i check, glen?  my favoite place to grep around is /var/logs,
and the httpd-error.log has some potentially serious [warn]ing messages,
but i'm not familiar with apache22.  until my network began falling 
apart
in dec, 2007, i was happy as a clam with apache13.  jon horne installed 
22 and things just-worked.  

can you or anybody else make sense of any of this::

[Sat Jun 27 15:50:12 2009] [notice] SIGHUP received.  Attempting to restart
[Sat Jun 27 15:50:12 2009] [warn] (2)No such file or directory: Failed to enable
 the 'httpready' Accept Filter
[Sat Jun 27 15:50:13 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 15:50:14 2009] [notice] Digest: generating secret for digest authent
ication ...
[Sat Jun 27 15:50:14 2009] [notice] Digest: done
[Sat Jun 27 15:50:15 2009] [notice] Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL
/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operati
ons
[Sat Jun 27 15:51:13 2009] [notice] caught SIGTERM, shutting down
[Sat Jun 27 15:51:15 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 15:51:17 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 15:51:18 2009] [notice] Digest: generating secret for digest authent
ication ...
[Sat Jun 27 15:51:18 2009] [notice] Digest: done
[Sat Jun 27 15:51:19 2009] [notice] Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL
/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operati
ons
[Sat Jun 27 16:10:54 2009] [notice] caught SIGTERM, shutting down
[Sat Jun 27 16:13:52 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 16:13:54 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 16:13:56 2009] [notice] Digest: generating secret for digest authent
ication ...
[Sat Jun 27 16:13:56 2009] [notice] Digest: done
[Sat Jun 27 16:13:57 2009] [notice] Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL
/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal 
operations
httpd-error.log: unmodified, readonly: line 48148 of 48148 [100%].



i dont think it is Urgent that this is fixed instantly-if-not-sooner
but if time, once some network wizard can drop by, sure...



 
 
  2 drwxr-xr-x   3 www  www  1024 Jan 13  2008 error
  4 drwxr-xr-x   3 www  www  3584 Jan 13  2008 icons
  p0 16:29 Jail:: aristotle [5061]                          
  /usr/local/www/apache22
 
 
         um, for apache22, the http.conf no longer has any of the virtual 
  stuff.
         it's all in Include/httpd-local.conf.  Meanwhile, this newest apache 
  is
         getting to be a religion in its own right.   like emacs vs vim/vi, 
  etc,
         etc..
 
 
 True, true.  I don't _need_ vhosts on my FreeBSD box because it's
 overkill for what I use apache for.  When I ran my site off of my own
 hardware, I did need vhosts -- I had forgotten this.
 
 Thanks for reminding me about how much I don't remember. ;)


oh, man, same here; and i was doing this stuff on my own until november,
'07   

i'm adding a clue to my ~/.HowTo file.   if httpd stuff w/ virt dirs 
fail:
REBOOT.

(*mumble*)


 
 -- 
 Glen Barber

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.98a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org 

Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 8:10 PM, Gary Klinekl...@thought.org wrote:
 On Sat, Jun 27, 2009 at 07:38:35PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 7:32 PM, Gary Klinekl...@thought.org wrote:
 
         :-) [above].   no the reboot got things launched.  my server is
         sage.thought.org, but the mail, web, and dns stuff are all in
         a jail, aristotle.thought.org, so my guess is that things were
         blocked at sage.  i realize that's a really LAME excuse... :-)
 

 I'm confused.  Everything works now?


        still checking, but seem to.  i'll check my /var/log/httpd/* files 
 next.
        That excuse was my best SWAG, and nothing more.  sometimes, 
 reinitializing
        everything, the OS turns out to be smarter than the rest of us...


I think they call that 'Skynet'. ;)



         if ever i find somebody out here in the seattle area to help me, 
  i'll buy
         a Dell and built ns1.thought.org as aristotle.thought.org; no mo' 
  jails.
 
         meanwhile, if anybody else has some clues re wha' happened, Pulleze 
  clue
         me in. there was nothing in the error log; it was dated
 

 Perhaps the logs didn't rotate?  When was the last time that the
 access log was 'touch'ed?


        where do i check, glen?  my favoite place to grep around is /var/logs,
        and the httpd-error.log has some potentially serious [warn]ing 
 messages,
        but i'm not familiar with apache22.

There should be a httpd-access.log -- 'ls -a' should show you the last
time it was modified, but reading the tail of it should show the last
time it was accepting input.

    until my network began falling apart
        in dec, 2007, i was happy as a clam with apache13.  jon horne installed
        22 and things just-worked.

        can you or anybody else make sense of any of this::

 [Sat Jun 27 15:50:12 2009] [notice] SIGHUP received.  Attempting to restart

SIGHUP on apache22 is normal, as it is indicating a forceful shutdown
(restart).

 [Sat Jun 27 15:50:12 2009] [warn] (2)No such file or directory: Failed to 
 enable
  the 'httpready' Accept Filter

This is a 'known issue'.  Irrelevant to your problems, AFAICT.

 [Sat Jun 27 15:50:13 2009] [warn] RSA server certificate CommonName (CN) 
 `aristo
 tle.thought.org' does NOT match server name!?

Edit either /etc/hosts or the vhost file to fix this -- whichever does
not contain the `hostname` info.

[snip]

 httpd-error.log: unmodified, readonly: line 48148 of 48148 [100%].

Try 'mv'ing httpd-error.log to httpd-error.log.bak and restarting
apache22 again -- see if this error persists.

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


Re: apache22: Can't access startfile

2009-06-27 Thread Gary Kline
On Sat, Jun 27, 2009 at 07:23:33PM -0400, Glen Barber wrote:
 
 
 ... especially since rebooting (ideally) shouldn't _fix_ apache22
 problems.. If that works, it is only masking the real problem.
 
 Do you remember any other major changes to your system or apache22
 since your last reboot or apache update?
 


other that editing my php files, i touch the computer very little.  
the last thing i did was to upgrade the hp kayak to 7.2.  but this
was technically sage.   the kayak is a SCSI box and dmesg spat out 
some
unusual GEOM_LABEL strings, then rm'd several ufsid labels.  [?]


i don't want to break anything, nor have hardware problems since this 
is 
an Old, 1998 box.


 -- 
 Glen Barber

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.98a release of Jottings: http://jottings.thought.org/index.php

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


Re: Best practices for securing SSH server

2009-06-27 Thread Daniel Underwood
 As I believe has already been answered in this thread, the better connected
 a server is to the Internet, the higher its value to several varieties of
 miscreants.  Given a choice between a server connected via a close to
 saturated T1 somewhere in the back waters of the Internet and a server with
 multiple 100mbps+ connections to key backbones, somebody interested in
 staging DOS attacks or using the server as a base to explore other
 networks or ... is likely to find the latter server of greater interest.
  About the only advantage I can think of for the former is that it's
 probably, other things being equal, less likely to be properly maintained
 and monitored.

Exactly.  For example, the server in question is a desktop machine
at work.  I regularly see transfer rates of 13MB/s.  It's at a major
university, which is by itself another high-risk factor, precisely
because there are so many (often weakly protected) high-speed
connections.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-06-27 Thread Marcel Moolenaar


On Jun 27, 2009, at 4:15 AM, Ivan Voras wrote:


Marcel Moolenaar wrote:

On Jun 25, 2009, at 4:02 AM, Anton Shterenlikht wrote:

dev_taste(DEV,mirror/gm0)
g_part_taste(PART,mirror/gm0)

GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid.
GEOM: mirror/gm0: using the primary only -- recovery suggested.
^^^

You created the mirror after the GPT, which means you destroyed
the GPT backup header. gmirror uses the last sector on the disk
for metadata and that by itself is a cause for various problems.
It's better to use gmirror per partition.


Or create the GPT partition inside the gmirror device - then the GPT  
backup table will be at last_sector-1, but...



You could run into a race condition between GPT and gmirror and
GPT winning (again the result of gmirror using the last sector
on a disk for metadata).


unfortunately this could still happen, and will lead to the same  
error if GPT is tasted first, since it is embedded in the first  
sector and will assume the whole drive is available to GPT, and will  
then proceed to not find its backup data in the last sector.


It looks to me like GEOM classes should have a priority field for  
tasting. Any objections to that idea?


Using the last sector is not only flawed because it creates a race
condition, it's flawed in the assumption that you can always make
a geom part of a mirror by storing meta-data on the geom without
causing corruption. This whole idea of using the last sector was
so that a fully partitioned disk with data could be turned into a
mirrored disk. A neat idea, but hardly the basis for a generic
mirroring implementation when it silently corrupts a disk.

I think it's better to change gmirror to use the first sector on the
provider. This never creates a race condition and as such, you don't
need to invent a priority scheme, that has it's own set of flaws on
top of it. The only downside is that it's not easy to make a fully
partitioned and populated disk part of a mirror: one would need to
move the data forward one sector to free the first sector. This we
can actually do by inserting a GEOM that does it while I/O is still
ongoing. The good thing is: we need a class that does exactly this
for implementing the move verb in gpart.

In other words: Solving the problem that putting the metadata in the
first sector creates, can and will be re-used in implementing the
gpart move partition feature. I doubt anyone will complain that
the creation of a mirror brings with it a few hours of disk activity
that does not inhibit normal operation...

--
Marcel Moolenaar
xcl...@mac.com



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


Serial to WiFi - Wireless Serial Server

2009-06-27 Thread Exemys
This is a message in multipart MIME format.  Your mail client should not be 
displaying this. Consider upgrading your mail client to view this message 
correctly.

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


mailman-with-htdig 2.1.12 does NOW build

2009-06-27 Thread Tim Kellers



Hi,

the Makefile try to get the patches for 2.2.12, but the newest from
www.openinfo.co.uk are still 2.1.11


= indexing-2.1.12-0.1.patch.gz doesn't seem to exist in
/usr/ports/distfiles/mailman.
= Attempting to fetch from http://www.openinfo.co.uk/mm/patches/444879/.
fetch:
http://www.openinfo.co.uk/mm/patches/444879/indexing-2.1.12-0.1.patch.gz:
Not Found
= Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mailman/.
fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mailman/indexing-2.1.12-0.1.patch.gz:
File unavailable (e.g., file not found, no access)
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/mailman and try again.
*** Error code 1

Stop in /usr/ports/mail/mailman.
*** Error code 1

Stop in /usr/ports/mail/mailman.

Maintainer does not answer.

My three options are:
- Wait
- Build without htdig
- Manually change Makefile for 2.1.12

Some suggestions ?

Kind regards,
Beat



Did you make any progress getting the index and htdig-mailman 2.12 files?

I finally downloaded the files for 2.11 and edited the patches replacing 
mailman 2.11 with 2.12 where ever referenced in the patch files.  
mailman-with-htdig portupgraded to v 2.12 fine and everything seems to 
be working as expected.


I have both those edited patchfiles if you need them.

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


Re: Best practices for securing SSH server

2009-06-27 Thread Polytropon
On Sat, 27 Jun 2009 21:17:11 -0400, Daniel Underwood djuatde...@gmail.com 
wrote:
 Exactly.  For example, the server in question is a desktop machine
 at work.  I regularly see transfer rates of 13MB/s.  It's at a major
 university, which is by itself another high-risk factor, precisely
 because there are so many (often weakly protected) high-speed
 connections.

That's a valid point, and I'd like to add that there is some
consideration: Servers are usually protected with proper means.
This goes especially for UNIX servers. Desktops, on the other
hand, can more easily be taken over (especially non-UNIX machines),
so if an attacker got his foot inside a network, it's very 
useful to him. There are even trading platforms where criminals
buy and sell whole networks of compromised PCs. Of course,
everything happening inside such networks should be seen as
what it is: a threat to security. Just imagine some clever
guy uses telnet inside such a network to configure the
server...



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