Re: OT: Robotics or embedded or hardware programming... what is this called?

2012-06-25 Thread Ian Smith
On Fri, 22 Jun 2012 06:47:48 -0600 (MDT), Warren Block wrote:
  On Fri, 22 Jun 2012, Ian Smith wrote:
  
   I thought I saw something somewhere (maybe just wishful thinking) about
   FreeBSD on the Arduino, which normally runs a sort of embedded Linux,
   that could be very interesting; the hardware is cheap (kits at Jaycar
   stores in Australia anyway), very modular design, and there are heaps of
   fascinating projects.  I want the quadricopter to follow me around the
   room at parties - at my age I need something really impressive :)
  
  Well, there is devel/arduino.  It's not emdedded Linux, but an IDE for
  writing and downloading code.  The Arduino is a small embedded controller
  based on the Atmel AVR microcontrollers.  They are quite powerful, easy to
  program, and accessible for experimenters.  You can skip the Arduino
  environment if you like, using the same lower-level tools like avr-gcc
  directly.  And the Arduino board can be used as a programmer, downloading
  code to plain AVR chips and avoiding the need for more Arduino boards.  Talk
  about the Arduino on FreeBSD is generally on the freebsd-embedded mailing
  list.

Thanks Warren.  I got the wrong idea that Arduino ran an embedded Linux 
from a friend, a Linux-using Electrical Engineer, but not a programmer. 
I'd also (too) briefly glanced at www.arduino.cc and noted Windows, Mac 
and Linux references, and Linux binaries, but had no idea you had ported 
the GUI.  Could you perhaps try pushing the FreeBSD port upstream to 
Arduino, so people can find out that it exists from there?

I hope to explore further once I get 9.x running; this 8.2-R system 
is chokka, not enough remaining space for a JDK, nor even a JRE :)

  The Microchip PIC microcontrollers compete with the AVR.  There are some
  FreeBSD ports for programming those, but there are many varying chips and the
  hardware needed to program some of them differs.  I don't know if there is
  anything directly comparable to the Arduino IDE.  ARM processors have become
  so cheap that they are starting to compete in this arena also.

I looked at PICs ages ago, but just wasn't enticed by their instruction 
set; as an old S/3[67]0 bod I've always fallen for the more orthogonal 
processors like the Signetics 2650 (hands up who's heard of that!), 
680[59]/68K and more lately AVRs, Harvard architecture despite little- 
endianness.  Not sure there's room left in my head for MIPS or ARM ..

   On the FreeBSD side there's advanced work, I gather, on ARM and Atmel
   MEGA 32-bit and MIPS platforms at least.  Personally I consider these
   'big iron' and far prefer writing in macro assembler for little Atmel
   Tiny25s and such, but that's strictly Look Ma, no OS! programming.
  
  Another option: the freebsd-wireless list has had some very interesting
  traffic about the TP-Link TL-WR1043ND, a $50 MIPS-based wireless router with
  Atheros 802.11n chipset, USB, and gigabit Ethernet which can run FreeBSD
  directly.  Not sure how usable it is at present.

Interesting.  I'm subs'd to wireless@ and embedded@ (previously small@) 
but obviously haven't been paying enough attention :)  Thanks again.

cheers, Ian
___
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


portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Dan Mahoney, System Admin

Hey there,

I'm presently in the process of trying to do a portupgrade from rt-3.8.8 
to 3.8.13.  By all estimations, this is a minor bump.


Already, I've encountered several annoyances due to ABI changes, such as 
the libtool2.4 fun.  With normal portupgrade, this forces you to go fix 
the dependent port.


Finally, I just applied -r, which should update all dependent packages, 
but it seems to upgrade them unconditionally.


Ergo, I've since built a new version of perl, a new verion of python, 
rebuilt every perl module on the system, am presently rebuilding apache22, 
and I'm sure the system will turn around and require me to rebuild 
postgres real soon.


You would think there's an option to portupgrade that says don't upgrade 
every single package I've got, but if somewhere in the dependency chain I 
need a newer version of a thing, then do it.


Am I just missing it in the manpages, or does such a thing really not 
exist?


-Dan

--

You recreate the stars in the sky with cows?

-Furrball, March 7 2005, on Katamari Damacy

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

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


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Damien Fleuriot


On 6/25/12 9:53 AM, Dan Mahoney, System Admin wrote:
 Hey there,
 
 I'm presently in the process of trying to do a portupgrade from rt-3.8.8
 to 3.8.13.  By all estimations, this is a minor bump.
 
 Already, I've encountered several annoyances due to ABI changes, such as
 the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
 the dependent port.
 
 Finally, I just applied -r, which should update all dependent packages,
 but it seems to upgrade them unconditionally.
 
 Ergo, I've since built a new version of perl, a new verion of python,
 rebuilt every perl module on the system, am presently rebuilding
 apache22, and I'm sure the system will turn around and require me to
 rebuild postgres real soon.
 
 You would think there's an option to portupgrade that says don't
 upgrade every single package I've got, but if somewhere in the
 dependency chain I need a newer version of a thing, then do it.
 
 Am I just missing it in the manpages, or does such a thing really not
 exist?
 
 -Dan
 

We've been happily using portmanager for ages, it does just that :)
___
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: Is ZFS production ready?

2012-06-25 Thread perryh
Edward M eam1edw...@gmail.com wrote:

  That reply was not meant for you, so why do you care?

If it wasn't meant for everyone on the list,
why was it sent to the 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: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Matthew Seaman
On 25/06/2012 08:53, Dan Mahoney, System Admin wrote:
 I'm presently in the process of trying to do a portupgrade from rt-3.8.8
 to 3.8.13.  By all estimations, this is a minor bump.
 
 Already, I've encountered several annoyances due to ABI changes, such as
 the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
 the dependent port.
 
 Finally, I just applied -r, which should update all dependent packages,
 but it seems to upgrade them unconditionally.
 
 Ergo, I've since built a new version of perl, a new verion of python,
 rebuilt every perl module on the system, am presently rebuilding
 apache22, and I'm sure the system will turn around and require me to
 rebuild postgres real soon.
 
 You would think there's an option to portupgrade that says don't
 upgrade every single package I've got, but if somewhere in the
 dependency chain I need a newer version of a thing, then do it.
 
 Am I just missing it in the manpages, or does such a thing really not
 exist?

It has been many years since I used portupgrade with any regularity, and
many of those neurones have been recycled.  However, I do recall
that:

   portupgrade -a should update all out-of-date ports on your system.

   portupgrade -r pkgname should update pkgname (if out of date) and
  all packages that depend on pkgname.

   portupgrade -R pkgname should update everything that pkgname depends
  on plus pkgname (if out of date).

'portupgrade -R' sounds like what you want.  I believe that the meaning
of the -r and -R flags in portupgrade is reversed from pkg_info(1) which
is annoyingly inconsistent.

Nowadays I usually use portmaster, where:

   portmaster pkgname

works equivalently to 'portupgrade -R pkgname' except that portmaster
/always/ reinstalls pkgname even if it is up to date.  ie. the standard
default action of portmaster is to do exactly what you want.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey





signature.asc
Description: OpenPGP digital signature


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Andrea Venturoli

On 06/25/12 10:40, Andrea Venturoli wrote:

On 06/25/12 09:53, Dan Mahoney, System Admin wrote:

Hey there,

I'm presently in the process of trying to do a portupgrade from rt-3.8.8
to 3.8.13.  By all estimations, this is a minor bump.

Already, I've encountered several annoyances due to ABI changes, such as
the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
the dependent port.

Finally, I just applied -r, which should update all dependent packages,
but it seems to upgrade them unconditionally.


-r will upgrade all dependent ports *if* a newer version is available.
-rf will upgrade all dependent ports unconditionally.






You would think there's an option to portupgrade that says don't
upgrade every single package I've got, but if somewhere in the
dependency chain I need a newer version of a thing, then do it.


I'm not sure what you mean.
I guess you waned portupgrade -R rt, which will upgrade all ports rt

  ^
  wanted

is depending on.





HTH.

  bye
 av.



___
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: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Andrea Venturoli

On 06/25/12 09:53, Dan Mahoney, System Admin wrote:

Hey there,

I'm presently in the process of trying to do a portupgrade from rt-3.8.8
to 3.8.13.  By all estimations, this is a minor bump.

Already, I've encountered several annoyances due to ABI changes, such as
the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
the dependent port.

Finally, I just applied -r, which should update all dependent packages,
but it seems to upgrade them unconditionally.


-r will upgrade all dependent ports *if* a newer version is available.
-rf will upgrade all dependent ports unconditionally.






You would think there's an option to portupgrade that says don't
upgrade every single package I've got, but if somewhere in the
dependency chain I need a newer version of a thing, then do it.


I'm not sure what you mean.
I guess you waned portupgrade -R rt, which will upgrade all ports rt 
is depending on.






HTH.

 bye
av.
___
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


Question about missing posix shared mutex

2012-06-25 Thread Daniel Ylitalo

Hi guys!

According to the sphinxsearch dev-team freebsd does not support posix 
pthread shared mutex but later on i found this post that gave some 
pointers that it might been implemented into freebsd 9:

http://freebsd.1045724.n5.nabble.com/What-is-the-status-of-thread-process-shared-synchronization-td4224458.html

However 9.0-RELEASE doesnt have it so i tried out 9-STABLE but it isnt 
in there either.


There is also a pretty long bugthread on sphinxsearch's bugtracker about it:
http://sphinxsearch.com/bugs/view.php?id=1041

Basically my question is if there is work being done on this and if we 
will see it in 9.1? Or should i abandon freebsd for our sphinxhosts? :(


Best regards
Daniel
___
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


printing jpeg slides to a Postscript printer

2012-06-25 Thread Matthias Apitz

Hello,

I have 10 jpeg slides (screen shoots) and I want to print them to a
Postscript printer (CUPS controlled), on each page 2 slides. I know I
could make some presentation from them or wrap them into a HTML file,
but I was thinking there must be some easy way with some tool from
our ports.

Any idea? Thanks in advance

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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-update from recent 8-STABLE to 9.0-RELEASE issues

2012-06-25 Thread Zane C. B-H.
Howdy!

Any one have any idea what is going on below?

[root@shiela]/root# uname -a
FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Sat 
Feb 25 04:55:35 CST 2012 
kits...@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila  amd64
[root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update5.FreeBSD.org... failed.
Fetching public key from update4.FreeBSD.org... failed.
Fetching public key from update3.FreeBSD.org... failed.
No mirrors remaining, giving up.
Exit 1
[root@shiela]/root#
___
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: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Wojciech Puchar

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


I am amazed anyone still has a working Zip drive!


I have 250MB zipdrive and 100MB disks. all works properly over USB
___
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: Understanding XDM

2012-06-25 Thread Zane C. B-H.
On Sun, 24 Jun 2012 22:19:54 +0200
Christian Graulund cutu...@gmail.com wrote:

 snip

The others have answered your questions concerning DM v. WM, but if
you are finding XDM annoying to configure, you may possible wish to
take a look at slim, x11/slim.
___
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: Question about missing posix shared mutex

2012-06-25 Thread Michael Powell
Daniel Ylitalo wrote:

 Hi guys!
 
 According to the sphinxsearch dev-team freebsd does not support posix
 pthread shared mutex but later on i found this post that gave some
 pointers that it might been implemented into freebsd 9:
 http://freebsd.1045724.n5.nabble.com/What-is-the-status-of-thread-process-
shared-synchronization-td4224458.html
 
 However 9.0-RELEASE doesnt have it so i tried out 9-STABLE but it isnt
 in there either.
 
 There is also a pretty long bugthread on sphinxsearch's bugtracker about
 it: http://sphinxsearch.com/bugs/view.php?id=1041
 
 Basically my question is if there is work being done on this and if we
 will see it in 9.1? Or should i abandon freebsd for our sphinxhosts? :(
 

Sorry not to answer your question, but have you tried installing any of the 
following from the ports system to see if they work?

http://www.freebsd.org/cgi/ports.cgi?query=sphinxstype=all

I do not use this and have no experience with it, but if these ports are 
indeed broken it might be nice for the port maintainer to know about. If 
they work, then why fuss over theoretics?

-Mike



___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Lars Eighner

On Mon, 25 Jun 2012, Matthias Apitz wrote:



Hello,

I have 10 jpeg slides (screen shoots) and I want to print them to a
Postscript printer (CUPS controlled), on each page 2 slides. I know I
could make some presentation from them or wrap them into a HTML file,
but I was thinking there must be some easy way with some tool from
our ports.

Any idea? Thanks in advance


I'll take that Any at face value.  Did you check your printer's manual?

Many printers these days can print photos stand-alone.  The least hassle
option might to be to load your photos on a card or memory stick, and use
your printer's stand-alone functions, since I gather from your question that
you are not embedding the photos in some larger document.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Matthias Apitz
El día Monday, June 25, 2012 a las 05:10:32AM -0500, Lars Eighner escribió:

  I have 10 jpeg slides (screen shoots) and I want to print them to a
  Postscript printer (CUPS controlled), on each page 2 slides. I know I
  could make some presentation from them or wrap them into a HTML file,
  but I was thinking there must be some easy way with some tool from
  our ports.
 
  Any idea? Thanks in advance
 
 I'll take that Any at face value.  Did you check your printer's manual?
 
 Many printers these days can print photos stand-alone.  The least hassle
 option might to be to load your photos on a card or memory stick, and use
 your printer's stand-alone functions, since I gather from your question that
 you are not embedding the photos in some larger document.

I was thinking in some UNIX way to do so, like:

1. converting the 10 jpeg to 10 .eps files
2. running psmerge to bring the 10 EPS files into one PS file
3. running psnup to get the 10 pages re-arranged, 2 on one page;

but psmerge does not produce something usefull;

I don't know if my printer has such options or if I can get access to
such stand-alone functions; it is our central printer and managed by IT;

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Zane C. B-H.
On Mon, 25 Jun 2012 11:15:36 +0200
Matthias Apitz g...@unixarea.de wrote:

 
 Hello,
 
 I have 10 jpeg slides (screen shoots) and I want to print them to a
 Postscript printer (CUPS controlled), on each page 2 slides. I know
 I could make some presentation from them or wrap them into a HTML
 file, but I was thinking there must be some easy way with some tool
 from our ports.
 
 Any idea? Thanks in advance

I would just load them up in print them in Libreoffice and print them
once I was happy with how the page layout looked.
___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Markus Hoenicka

Matthias Apitz g...@unixarea.de was heard to say:



I was thinking in some UNIX way to do so, like:

1. converting the 10 jpeg to 10 .eps files
2. running psmerge to bring the 10 EPS files into one PS file
3. running psnup to get the 10 pages re-arranged, 2 on one page;



If you're looking at 10 images, just fire up OpenOffice and make a  
presentation or a drawing with 2 images per page. Figure out the Unix  
way if you're looking at 10 images every day :-)


just my 2 cc
Markus
--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38


___
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: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Jakub Lach
In the next episode:

Modern home video with Betamax and LaserDisc ;)

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Omega-Zip-Drives-on-FreeBSD-8-tp5721532p5721678.html
Sent from the freebsd-questions mailing list archive at Nabble.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


question crash #144315

2012-06-25 Thread Корнев Юрий Юрьевич
Hello!

We have a problem provided in - kern/144315: [ipfw] [panic] freebsd 
8-stable reboot after add ipfw rules with netgraph ng_car

 Our assembly of freebsd:
  FreeBSD 8.1-RELEASE #0: Mon Sep 27 01:19:13 MSD 2010 
kain@shaper:/usr/obj/usr/src/sys/SHAPER  i386


  Reset occurs at different times, in not dependences on quantity of rules.

Thus when restarting the same rules, but thus system are applied remains in 
working condition.
With adding of the new subscriber in billing the script is executed
 example: $n_inet_login=100654

/sbin/ipfw table 10 add $2 $in
/sbin/ipfw table 20 add $2 $out
/usr/sbin/ngctl mkpeer ipfw: car $in upper
/usr/sbin/ngctl name ipfw:$in $n_inet_login
/usr/sbin/ngctl connect $n_inet_login: ipfw: lower $out
/usr/sbin/ngctl msg $n_inet_login: setconf { upstream={ cbs=$o_cbs ebs=$o_cbs 
cir=$n_cir greenAction=1 yellowAction=1 redAction=2 mode=3 } downstream={ 
cbs=$o_cbs ebs=$o_cbs cir=$n_cir greenAction=1 yellowAction=1 redAction=2 
mode=3 } }

To any moment simply passes system restarting.


There are questions:
1) Whether there is this problem in x64?
2) Whether Esti this problem in the freebsd-9 version (i386, x64)?
3) Or can eat any decision still?








-- 
С уважением,
 Корнев   Юрий Юрьевич  mailto:ukor...@city-link.info

___
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: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues

2012-06-25 Thread RW
On Mon, 25 Jun 2012 04:21:18 -0500
Zane C. B-H. wrote:

 Howdy!
 
 Any one have any idea what is going on below?
 
 [root@shiela]/root# uname -a
 FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD
 8.3-PRERELEASE #0: Sat Feb 25 04:55:35 CST 2012
 kits...@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila  amd64
 [root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade Looking up
 update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key
 from update5.FreeBSD.org... failed. Fetching public key from
 update4.FreeBSD.org... failed. Fetching public key from
 update3.FreeBSD.org... failed. No mirrors remaining, giving up. Exit 1
 [root@shiela]/root#

freebsd-update doesn't support development branches, you have to go
from security branch to security branch.
___
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: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Kaya Saman
On Mon, Jun 25, 2012 at 12:17 PM, Jakub Lach jakub_l...@mailplus.pl wrote:
 In the next episode:

 Modern home video with Betamax and LaserDisc ;)

 --
 View this message in context: 
 http://freebsd.1045724.n5.nabble.com/Omega-Zip-Drives-on-FreeBSD-8-tp5721532p5721678.html
 Sent from the freebsd-questions mailing list archive at Nabble.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


What's wrong with VHS and Cassette Tape?

VHS has superior resolution to HD because it's analog!!

:-P :-P :-P
___
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: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues

2012-06-25 Thread Zane C. B-H.
On Mon, 25 Jun 2012 12:26:12 +0100
RW rwmailli...@googlemail.com wrote:

 On Mon, 25 Jun 2012 04:21:18 -0500
 Zane C. B-H. wrote:
 
  Howdy!
  
  Any one have any idea what is going on below?
  
  [root@shiela]/root# uname -a
  FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD
  8.3-PRERELEASE #0: Sat Feb 25 04:55:35 CST 2012
  kits...@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila
  amd64 [root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade
  Looking up update.FreeBSD.org mirrors... 3 mirrors found.
  Fetching public key from update5.FreeBSD.org... failed. Fetching
  public key from update4.FreeBSD.org... failed. Fetching public
  key from update3.FreeBSD.org... failed. No mirrors remaining,
  giving up. Exit 1 [root@shiela]/root#
 
 freebsd-update doesn't support development branches, you have to go
 from security branch to security branch.

I know it can't be used to update to stable, but I've not encountered
any thing in the documentation saying it can't be used to update from
stable it to a release.

___
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: CLANG vs GCC tests of fortran/f2c program

2012-06-25 Thread jb
Jakub Lach jakub_lach at mailplus.pl writes:

 
  I am more concerned about an aspect of the language the clang tools are
  written in, namely the use of object-oriented paradigm of c++ (it is a
  phony
  paradigm, one that does not exist in nature or reality, which explains
  the failure rate of C++ OO projects historically and current usage
  decline).
  I sense that the relative slowness of generated code has to do with it.
  Perhaps
  some other attributes of that code's quality too, even if not now, then in
  the
  future.
 
 Yes, this is one thing really puzzled me. Maybe it's related to Apple's
 affinity 
 to Objective-C? 

Well, let me add some more and important facts to this discussion. 
If it caused so much emotions and name calling, then at least everybody should
know what this is all about.

Clang is a compiler front-end for C, C++, Objective-C and Objective-C++
programming languages and it uses LLVM as its back-end.

Both, clang and LLVM, are written in C++.

LLVM provides middle layers of compilation process and is e.g. responsible for
optimization of intermediate code, which next will be converted and linked into
machine-dependent assembly code.

Based on this source
  http://en.wikipedia.org/wiki/Objective-C
the Objective-C was influenced by Smalltalk's object-oriented programming
model, while C++ by Simula's.
This has implications for characteristics and performance of Objective-C,
for example:
- there are quite few important language elements in C++ that are not in
  Objective-C, like namespaces, multiple inheritance, operator overloading, etc
- ... Objective-C applications tend to be larger than similar C or C++
  applications because Objective-C dynamic typing does not allow methods to be
  stripped or inlined.
- ... Because Objective-C uses dynamic runtime typing and because all method
  calls are function calls (or, in some cases, syscalls), many common
  performance optimizations cannot be applied to Objective-C methods (for
  example: inlining, constant propagation, interprocedural optimizations, and
  scalar replacement of aggregates). This limits the performance of Objective-C
  abstractions relative to similar abstractions in languages such as C++ where
  such optimizations are possible.
- ... Objective-C is decidedly geared toward run-time decisions while C++ is
  geared toward compile-time decisions. The tension between dynamic and static
  programming involves many of the classic trade-offs in programming: dynamic
  features add flexibility, static features add speed and type checking.
  My Note: please keep in mind we are talking about language used for writing
  clang, a compiler tool.

So, Objective-C has disadvantage with regard to size od generated code,
performance, and optimization as compared to C++.

But both share OO (object-oriented) paradigm, which many pros consider
synthetic, or pulled out of thin air if you prefer, with negative effects on
devs mental health, design, and resulting code quality.

I hope I got all facts right -:)

It seems to me that switching to clang was a correct strategic decision for
reasons linked to GPLv3 license as described in my prior post and by other
thread posters.
But there seems to be some price paid related to written in C++ facts
described by me in both posts, which may make some people come to a conclusion
that the decision was based more on a political factor (Apple) than on
technical merits.
Because I did not participate or followed FreeBSD's internal process, I can
not express any opinion to what extend both factors were considered and
discussed.

OK. Judge for yourselves, and have fun.

jb


___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Matthias Apitz
El día Monday, June 25, 2012 a las 05:37:13AM -0500, Zane C. B-H. escribió:

  Postscript printer (CUPS controlled), on each page 2 slides. I know
  I could make some presentation from them or wrap them into a HTML
  file, but I was thinking there must be some easy way with some tool
  from our ports.
  
  Any idea? Thanks in advance
 
 I would just load them up in print them in Libreoffice and print them
 once I was happy with how the page layout looked.

I did this with OpenOffice 3.x and you have
- 10 times to Inser Picture
- 10 times pic-up the correct picture from the file dialog
- 10 times to move the picture to the correct place in the page
- 10 times to scale the image so that two fit and adjust them a bit
- 4 time Create new page

it took me something like half hour to get it printed; this is not even
an option if you do it only once :-(

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Wojciech Puchar

I did this with OpenOffice 3.x and you have
- 10 times to Inser Picture
- 10 times pic-up the correct picture from the file dialog
- 10 times to move the picture to the correct place in the page
- 10 times to scale the image so that two fit and adjust them a bit
- 4 time Create new page

it took me something like half hour to get it printed; this is not even
an option if you do it only once :-(


simplest case:

1)convert them in batch to postscript.

2)place it with mpage, many on one page.

there are probably other simple solutions.


more complex - 1 and use TeX :)
___
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: CLANG vs GCC tests of fortran/f2c program

2012-06-25 Thread Wojciech Puchar

 programming involves many of the classic trade-offs in programming: dynamic
 features add flexibility, static features add speed and type checking.
 My Note: please keep in mind we are talking about language used for writing
 clang, a compiler tool.

So, Objective-C has disadvantage with regard to size od generated code,
performance, and optimization as compared to C++.

But both share OO (object-oriented) paradigm, which many pros consider
synthetic, or pulled out of thin air if you prefer, with negative effects on
devs mental health, design, and resulting code quality.

I hope I got all facts right -:)


most probably, but what does it mean if clang have multiple layers, 
frontend, LLVM backend, etc. etc. for normal user who just needs C 
compiler.


It doesn't matter how it do this but what are the results.


It seems to me that switching to clang was a correct strategic decision for
reasons linked to GPLv3 license as described in my prior post and by other
thread posters.

You didn't wrote anything new here.


But there seems to be some price paid related to written in C++ facts
described by me in both posts, which may make some people come to a conclusion
that the decision was based more on a political factor (Apple) than on
technical merits.


It doesn't really care how clang is written but how it works. And it was 
political decision because compiler itself, on GPLv3 licence, does not 
block anyhow distributing it's output - binaries.


C++ libraries can be limiting, but... wasn't replaced.

If it would be truly about removing GPLv3 code that hurts, replacing 
libstdc++ would be first thing to do.


For now we have removed GPL code that doesn't hurt

___
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: CLANG vs GCC tests of fortran/f2c program

2012-06-25 Thread Vincent Hoffman
On 25/06/2012 13:56, Wojciech Puchar wrote:

 C++ libraries can be limiting, but... wasn't replaced.

 If it would be truly about removing GPLv3 code that hurts, replacing
 libstdc++ would be first thing to do.
I assume you mean like the new libc++? 
http://wiki.freebsd.org/NewC%2B%2BStack


 For now we have removed GPL code that doesn't hurt

 ___
 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


Re: CLANG vs GCC tests of fortran/f2c program

2012-06-25 Thread Wojciech Puchar


If it would be truly about removing GPLv3 code that hurts, replacing
libstdc++ would be first thing to do.

I assume you mean like the new libc++?
http://wiki.freebsd.org/NewC%2B%2BStack


yes. this is actually GREAT MOVE!
even if it's slower, object oriented languages are not about speed anyway.

This should be done first, not compiler.

Compiler - only after actually better would exist.
___
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: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues

2012-06-25 Thread RW
On Mon, 25 Jun 2012 06:53:45 -0500
Zane C. B-H. wrote:

 On Mon, 25 Jun 2012 12:26:12 +0100
 RW rwmailli...@googlemail.com wrote:
 

  freebsd-update doesn't support development branches, you have to go
  from security branch to security branch.
 
 I know it can't be used to update to stable, but I've not encountered
 any thing in the documentation saying it can't be used to update from
 stable it to a release.
 

From the man page:

... the FreeBSD Security Team only builds updates for releases shipped
in binary form by the FreeBSD Release Engineering Team



___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Matthias Apitz
El día Monday, June 25, 2012 a las 02:52:24PM +0200, Wojciech Puchar escribió:

 simplest case:
 
 1)convert them in batch to postscript.

I did this already with:

for i in *.jpg do ; convert $i $i.ps ; done

this works fin;

 
 2)place it with mpage, many on one page.

and now a

mpage -bA4 -4 *.ps  /tmp/all.ps

gives a 10 page PS file, each page divided by fine lines into 4 sub
pages; but on any of the 10 pages one of the slides is put into the
upper left sub page area; what I'm missing?

the man page of mpage says ... with the text reduced in size so that
several pages appear on one sheet of paper...; it seems it does work
with images, or?

matthias

-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Wojciech Puchar



On Mon, 25 Jun 2012, Matthias Apitz wrote:


El día Monday, June 25, 2012 a las 02:52:24PM +0200, Wojciech Puchar escribió:


simplest case:

1)convert them in batch to postscript.


I did this already with:

for i in *.jpg do ; convert $i $i.ps ; done

this works fin;



2)place it with mpage, many on one page.


and now a

mpage -bA4 -4 *.ps  /tmp/all.ps

gives a 10 page PS file, each page divided by fine lines into 4 sub
pages; but on any of the 10 pages one of the slides is put into the
upper left sub page area; what I'm missing?


-c___
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: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues

2012-06-25 Thread Zane C. B-H.
On Mon, 25 Jun 2012 14:12:36 +0100
RW rwmailli...@googlemail.com wrote:

 On Mon, 25 Jun 2012 06:53:45 -0500
 Zane C. B-H. wrote:
 
  On Mon, 25 Jun 2012 12:26:12 +0100
  RW rwmailli...@googlemail.com wrote:
  
 
   freebsd-update doesn't support development branches, you have
   to go from security branch to security branch.
  
  I know it can't be used to update to stable, but I've not
  encountered any thing in the documentation saying it can't be
  used to update from stable it to a release.
  
 
 From the man page:
 
 ... the FreeBSD Security Team only builds updates for releases
 shipped in binary form by the FreeBSD Release Engineering Team

Right, that is exactly what I was referring to. 9.0-RELEASE is one of
those as far as I know.

It is ambiguous as to if that means being upgraded from or to and the
error message given does not indicate what is being upgraded from is
not supported, so I am a bit confused on if this is to be expected or
not.
___
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: Intel X520-DA2 Supported in stable/8?

2012-06-25 Thread Andrew Boyer
You can probably turn hw.ixgbe.num_queues down to 2 or 4 and cut your mbuf 
consumption dramatically without noticing any loss of performance.

-A

On Jun 22, 2012, at 6:19 PM, Rick Miller wrote:

 On Fri, Jun 22, 2012 at 5:21 PM, Jack Vogel jfvo...@gmail.com wrote:
 Increase your system mbuf pool size, you do not want that failure to happen.
 
 Thanks, Jack.  I saw a thread where you discussed this.  You are
 referring to kern.ipc.nmbclusters, correct?
 
 Should I also adjust the following?
 
 hw.ixgbe.rxd
 hw.ixgbe.txd
 hw.ixgbe.num_queues
 hw.intr_storm_threshold

--
Andrew Boyerabo...@averesystems.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


Re: Intel X520-DA2 Supported in stable/8?

2012-06-25 Thread Rick Miller
On Fri, Jun 22, 2012 at 7:23 PM, Jack Vogel jfvo...@gmail.com wrote:
 Would probably be good to take care of the storm threshold if you haven't,
 set it to 0
 and you disable the check, that's what we do internally. As for the queues
 and number
 of descriptors, that's kind of up to you, different work loads and
 environments work best
 with different setups.

 Hopefully, when you get rid of the rx ring setup failure you will get things
 working.

Thanks, Jack.  I did get rid of the rx ring failure.  Link status
still shows no carrier.  I think everything looks right from the
host's perspective.

-- 
Take care
Rick Miller
___
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: OT: Robotics or embedded or hardware programming... what is this called?

2012-06-25 Thread Warren Block

On Mon, 25 Jun 2012, Ian Smith wrote:


On Fri, 22 Jun 2012 06:47:48 -0600 (MDT), Warren Block wrote:
 On Fri, 22 Jun 2012, Ian Smith wrote:

 Well, there is devel/arduino.  It's not emdedded Linux, but an IDE for
 writing and downloading code.  The Arduino is a small embedded controller
 based on the Atmel AVR microcontrollers.  They are quite powerful, easy to
 program, and accessible for experimenters.  You can skip the Arduino
 environment if you like, using the same lower-level tools like avr-gcc
 directly.  And the Arduino board can be used as a programmer, downloading
 code to plain AVR chips and avoiding the need for more Arduino boards.  Talk
 about the Arduino on FreeBSD is generally on the freebsd-embedded mailing
 list.

Thanks Warren.  I got the wrong idea that Arduino ran an embedded Linux
from a friend, a Linux-using Electrical Engineer, but not a programmer.
I'd also (too) briefly glanced at www.arduino.cc and noted Windows, Mac
and Linux references, and Linux binaries, but had no idea you had ported
the GUI.  Could you perhaps try pushing the FreeBSD port upstream to
Arduino, so people can find out that it exists from there?


There was an updated entry mentioning the port in the Playground, which 
now seems to have reverted back to the old not-yet-working procedure for 
FreeBSD 6.1.  And I see that 1.0.1 is out, so now the port needs to be 
updated.  There doesn't appear to be a way for me to edit that.  I can 
send mail to the site about mentioning the FreeBSD port on the downloads 
page.  Or you can, if you like.


Something I forgot to mention earlier is that it may now be possible to 
buy Arduinos or compatibles at Radio Shack stores in the US.

___
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: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread John Levine
You would think there's an option to portupgrade that says don't upgrade 
every single package I've got, but if somewhere in the dependency chain I 
need a newer version of a thing, then do it.

The problem is that the versioning in the ports system doesn't
distinguish between upgrades that present interface changes and
upgrades that are just nits, new features, or minor bug fixes.
Port makefiles can contain version dependency info, e.g., this
port needs at least version N.M of package X, but few of them do.

This has bitten me in the past with PHP and pcre.  In fact, PHP5
won't work with old versions of pcre, but the PHP port maintainer
refuses to put in version dependency info, because he thinks that
every port should be up to date all the time.

R's,
John
___
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: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Daniel Staal

On 2012-06-25 11:47, John Levine wrote:
You would think there's an option to portupgrade that says don't 
upgrade
every single package I've got, but if somewhere in the dependency 
chain I

need a newer version of a thing, then do it.


The problem is that the versioning in the ports system doesn't
distinguish between upgrades that present interface changes and
upgrades that are just nits, new features, or minor bug fixes.
Port makefiles can contain version dependency info, e.g., this
port needs at least version N.M of package X, but few of them do.

This has bitten me in the past with PHP and pcre.  In fact, PHP5
won't work with old versions of pcre, but the PHP port maintainer
refuses to put in version dependency info, because he thinks that
every port should be up to date all the time.


There's also the issue of things like Perl modules - most of them will 
just work, even with a newer version of perl, but a few have sections 
that need to be compiled against perl itself.  So if you update the Perl 
port, you need to at least recompile those.  (I'm simplifying a bit.)  
But there is no good way to mark in general which ports will 'just work' 
with an updated dependency, and which care what version of the 
dependency was installed when they were compiled.  This is separate from 
versioned dependencies: Again to use Perl modules as an example, DBI for 
instance is will work with any version of perl since 5.8 or so - but if 
you change which version of perl you are using you'll need to recompile 
and reinstall.


Rebuilding everything is a bit overkill, but it beats missing one that 
needed to be rebuilt.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
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: Is ZFS production ready?

2012-06-25 Thread Edward M

On 06/25/2012 08:00 AM, per...@pluto.rain.com wrote:

Edward M eam1edw...@gmail.com wrote:


  That reply was not meant for you, so why do you care?

If it wasn't meant for everyone on the list,
why was it sent to the list?


by  accident. still learning how to use email client:-[ . once i
noticed my email was also  to this list. i was hoping subscribers 
would notice

it was  by mistake.

___
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: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Al Plant

Thomas Mueller wrote:

from Al Plant n...@hdk5.net:


Thanks



Of the 4 I had to play with one literally fell apart one scsi card is
throwing errors. The one I finally got working is an old IDE on a
FreeBSD 10 box that I experiment with. This should work fine to archive
the Omega disks we found.



 Again thanks for heading me on the right path.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740


What fell apart?  Was it the Iomega Zip drive, the disk, or the scsi card?

I assume Omega is a typo or memory lapse for what should be Iomega?

IDE has given way on modern motherboards in favor of SATA, but current OSes 
would still have IDE/ATAPI support.

You might still be advised to backup or transfer the data on Zip disks to CDs, 
DVDs or USB sticks or hard drives.

Remember, Zip disks are just glorified floppies.

Tom



##

Aloha,

Iomega yes. Button on front of one unit that released the disks played 
fell inside when pushed and the plastic cover fell off the top. Dried 
out from age probably.


We are going to put the diles on to flash drive and then onto cd's and 
DVD's as many files are .jpg or artwork video etc.




~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: changing md5 hashed for sha

2012-06-25 Thread Christopher J. Ruwe
On Sun, 24 Jun 2012 18:28:38 -0400
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:

 Christopher J. Ruwe c...@cruwe.de writes:
 
  For setting the dafault hash used to hash /etc/master.passwd, it has
  been recommended changing md5 for something more secure in the
  sense of being more expensive to crack.
 
  The handbook describes the procedure used in
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html.
  Allegedly, hashes which were hashed with one of the sha-functions
  begin with the character $6$.
 
  Afer having changed my /etc/login.conf accordingly and having reset
  the passwords, the given there is not md5 anymore (I have tried
  with md5), but does not begin with the character $6$, but, as md5,
  with $1$, which is supposed to be md5-hashed.
 
 I'm not following. Are you saying that you are resetting the passwords
 after setting login.conf, but new passwords aren't being created with
 the new hash type? 
 ___
 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

Yes, you are following correctly that the hash mechanism did not appear
to have changed. It was OSI-8 error on my part, as Mike Tancsa (one
message later) helped me to understand.

Cheers,
-- 
Christopher J. Ruwe
TZ: GMT + 2h


signature.asc
Description: PGP signature


Re: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Al Plant

Wojciech Puchar wrote:

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


I am amazed anyone still has a working Zip drive!


I have 250MB zipdrive and 100MB disks. all works properly over USB
___
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



Aloha Woj,

How did you get the drive to work with USB? By a hardware adapter? I 
read there is a USB to ide on the market.


--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: changing md5 hashed for sha

2012-06-25 Thread Christopher J. Ruwe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

oops ... forwarding to the list also


- -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 24 Jun 2012 19:06:07 -0400
Mike Tancsa m...@sentex.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 6/23/2012 9:37 AM, Christopher J. Ruwe wrote:
  For setting the dafault hash used to hash /etc/master.passwd, it 
  has been recommended changing md5 for something more secure in the 
  sense of being more expensive to crack.
  
  The handbook describes the procedure used in 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html.
 
 
  
 Allegedly, hashes which were hashed with one of the sha-functions
 begin
  with the character $6$.
  
  Afer having changed my /etc/login.conf accordingly and having
  reset the passwords, the given there is not md5 anymore (I have
  tried with md5), but does not begin with the character $6$, but, as
  md5, with $1$, which is supposed to be md5-hashed.
  
  I fear I am a bit dense here, what am I getting wrong?
 
 Are you sure you ran
 cap_mkdb /etc/login.conf
 after adjusting the values in login.conf ?
 
 Also, this will only work on relatively recent versions of FreeBSD.
 
   ---Mike
 
 
 - -- 
 - ---
 Mike Tancsa, tel +1 519 651 3400
 Sentex Communications, m...@sentex.net
 Providing Internet services since 1994 www.sentex.net
 Cambridge, Ontario Canada   http://www.tancsa.com/
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.14 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQEcBAEBAgAGBQJP551fAAoJEJXHwM2kc8rXS34H/j+uxWq8Pa9j0iXpehObx2iY
 LeeCZx7YbSv9AwGVHy/gTRtYP1uStBNn79oKV0ANSyjOT3F7l1MuygfJAqfXIKDm
 WdN4KX2D3tpAjVMdce1zX2rSy4OtXLYXpBXTiGmP2d/erAEtE9B8gJ8GQWDh0gWz
 14CkQyefcF2YvmepSj3+9P69EzjlEm6vDMPyY/nrMlJcT8+ujtZX325+kQzQiiFX
 FFasbqekazHCUnKGZZY9arY01AxPKg5e2PXFZPQf3qQy3jHqOupnM3ei3D39O9aV
 gqJ/k2XDPjZYqAIy0gyPi99q4fCueYQFQrm2tyeTkV6+OxM8kdD5czx/FvySiG8=
 =FVSP
 -END PGP SIGNATURE-

Ahhh  I am sure I did not run cap_mkdb. Didn't say so in the
relevant section of the handbook and I was to lazy to thooughly read the
manpage. Thanks, I have the correct hashes now.

Cheers,
- - -- 
Christopher
TZ: GMT + 2h
- -BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (FreeBSD)

iQIcBAEBAgAGBQJP6KvdAAoJEJTIKW/o3iwUATEQAO0tDflkfluM4wTiUvhFvN31
PLEZKGcOjDfVnXaIqRuu5D1pPWc532xeST2H3mLJVFktjatrx/LbEy7O5w3diB1J
zMM/SdiiSaIGyhSdWwTEgsGpd1jhG31RWGWtVLFzNMvfBpk/peiAbOwBcYqnKw85
zJOfDFLFcAkdP9jmiXF16iKCYcANK9R+2l0mCJ4qEdV6iIn8KAtrNxzS4i0ICzZB
jBPO+bVbNkU3S7U/EXm449EvOFk+tVLxZcny3hyYWyY9ccH9Z7kyXrPRrb7cspHp
iAKmWsJnntAlp7ogFYdjdOvbCeKfgtCGBnj8K9v7XYEs/KjUmschXYeIf4STsDL2
d7dLOMYz2fqYrH9toM0AvEPJuJR6cXm8XmLco7eBd2tjhdocSQ4t5nQXO/EhEGUs
ESJ+ibcGtpmbad8vY0z88AIUeyrq1pQ9Ve+ceu0uQ63UTnZb3Zfu8f3PsdtCzV/2
jDYmmB1f9gjPp/NEZXPlQT7r1fTlw2IDEmU/JJEghBUIiTVuWtOvkCqG9ErYIdJK
CWXV7slHlQ0d0ssCjL6wukTKpL0lS03YsvSYgoDee1h9fhLqaYpzhr+rduzxS79z
q8vyaz/SRUlebTcHRZMSW9+FA/eJ3NHEv6y+d0w08OrhqmOvOxpo1dKEBdWo/JTN
qP89RAUQLMfsp5NgU61o
=QvC/
- -END PGP SIGNATURE-
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (FreeBSD)

iQIcBAEBAgAGBQJP6LOeAAoJEJTIKW/o3iwUXE4QANZl/NvWTqumJJdh2p3aDUKd
F1jCYfXl7d1GI/2dxsMVfcSWqGnx6WL8wzQUKipHAfCDtILhEv+2XRQ2zLM+Snbn
qJz3D3Qb1ctSQdXlW5Q5bpxWxiG8+oTmXkEVxfZAkWB/RVxnMGT9r7OA6zmy0gV8
XY4zBYuqnYv4jhXj3FYeW0s5zUEqx8Hj71ymEd5p0Ssaai4di6BqWHcEEOi0hbN5
jJvs9TUC0O9Wz2jcxkquECXX+H6aneLThdITOHJ+U4LO53UXq4Ol6sbLWF0WEGNC
vHQGS235NvFo04rvqOeZtZUQt/OffOxovfO7IBwcT+KLIu8WTbOqRI2hosD0r2sl
2XogCK9VU+yjZVj3m4Te86dcHjt2Swqi/z1pgLui0XJBxJ4G2ZIqNR4e2LKWScXl
WvdIGoZtpsFgHlG/CcwDYLqg4tIHtRcyDhf5/XE2/Gar0q+o10k4NeRRQY891rVp
SkqSB1Bum1k0UOsCJ/WSbItY3MVHDcQ0YHav7J9I2XUk9DDW6W8AlIW6kpbo5tDR
vZOMBMwnDR1D8NKhJDW3Ac+gkbm6iXGUroeLQv0EfP6j9lnFDPd6tUvNg+mZzTXZ
pIhIQs93+Ksuhow3//h4AuuerE1xqGY6zzKxujrvEJ+4jUvu/8a/FA20nMqITYsh
rR8kLAbebAy4Lat+72n4
=P3wE
-END PGP SIGNATURE-
___
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

Xorg listening on the WAN?

2012-06-25 Thread Walter Hurry
FreeBSD 9.0-RELEASE

I think Xorg is listening on external addresses:

$ sockstat -46 |grep Xorg
root Xorg   1573  1  tcp6   *:6000*:*
root Xorg   1573  3  tcp4   *:6000*:*
$ netstat -a|grep x11
tcp4   0  0 *.x11  *.*LISTEN
tcp6   0  0 *.x11  *.*LISTEN

I'm new to FreeBSD, but if I interpret this correctly, x11 is listening 
for connections on port 6000 for connections from any IPv4 or IPv6 
address.

I don't think I'm in any immediate danger, as I am behind a router which 
will block incoming connection attempts, which (virtually) all seem to be 
on the http port (80) anyway.

But it would give me a warm fuzzy feeling to stop x11 listening 
externally at all - I don't think I need it. How can I go about that 
please?

In case it makes a difference, I am using XDM with standard LXDE. I do 
not use startx to initiate my sessions.

Thanks.


___
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: Xorg listening on the WAN?

2012-06-25 Thread Matthias Apitz
El día Monday, June 25, 2012 a las 06:58:25PM +, Walter Hurry escribió:

 $ netstat -a|grep x11
 tcp4   0  0 *.x11  *.*LISTEN
 tcp6   0  0 *.x11  *.*LISTEN
 
 I'm new to FreeBSD, but if I interpret this correctly, x11 is listening 
 for connections on port 6000 for connections from any IPv4 or IPv6 
 address.
 
 I don't think I'm in any immediate danger, as I am behind a router which 
 will block incoming connection attempts, which (virtually) all seem to be 
 on the http port (80) anyway.
 
 But it would give me a warm fuzzy feeling to stop x11 listening 
 externally at all - I don't think I need it. How can I go about that 
 please?

$ man Xorg | col -b | fgrep -- -nolisten

HIH

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: Xorg listening on the WAN?

2012-06-25 Thread Walter Hurry
On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote:

 $ man Xorg | col -b | fgrep -- -nolisten

Thanks for the pointer.

I'm probably being stupid here, and I should have mentioned that I had 
already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer 
is probably to put '-nolisten tcp' somewhere, but where?

As far as I can see, XDM invokes /usr/local/lib/X11/xdm/Xsession, which 
seems to do little more than call $HOME/.xsession. This last runs /usr/
local/bin/startlxde,  which in turn invokes /usr/local/bin/lxsession (a 
binary).

I have looked at 'man lxsession' and found it of little help. So I'm 
rather lost. Can you amplify a little?


___
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: Xorg listening on the WAN?

2012-06-25 Thread Matthias Apitz
El día Monday, June 25, 2012 a las 07:51:02PM +, Walter Hurry escribió:

 On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote:
 
  $ man Xorg | col -b | fgrep -- -nolisten
 
 Thanks for the pointer.
 
 I'm probably being stupid here, and I should have mentioned that I had 
 already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer 
 is probably to put '-nolisten tcp' somewhere, but where?

$ cat ~/.xserverrc
exec X -nolisten tcp -retro

HIH

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: printing jpeg slides to a Postscript printer

2012-06-25 Thread Roland Smith
On Mon, Jun 25, 2012 at 11:15:36AM +0200, Matthias Apitz wrote:
 
 Hello,
 
 I have 10 jpeg slides (screen shoots) and I want to print them to a
 Postscript printer (CUPS controlled), on each page 2 slides. I know I
 could make some presentation from them or wrap them into a HTML file,
 but I was thinking there must be some easy way with some tool from
 our ports.
 
For converting to postscript: graphics/jpeg2ps-a4 or graphics/jpeg2ps-letter.
Multiple page on one sheet with psnup from print/psutils-a4 or
print/psutils-letter. 

If you are already using it, LaTeX would also do the trick quite nicely.
Especially with the Beamer class for nicely styled and formatted slides.
[http://en.wikipedia.org/wiki/Beamer_%28LaTeX%29]

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


pgpUOpC4Btwca.pgp
Description: PGP signature


Re: Xorg listening on the WAN?

2012-06-25 Thread Matthias Apitz
El día Monday, June 25, 2012 a las 09:58:37PM +0200, Matthias Apitz escribió:

 El día Monday, June 25, 2012 a las 07:51:02PM +, Walter Hurry escribió:
 
  On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote:
  
   $ man Xorg | col -b | fgrep -- -nolisten
  
  Thanks for the pointer.
  
  I'm probably being stupid here, and I should have mentioned that I had 
  already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer 
  is probably to put '-nolisten tcp' somewhere, but where?
 
 $ cat ~/.xserverrc
 exec X -nolisten tcp -retro

sorry, it took me some time to remember where the pointer is:

$ man xinit | col -b | fgrep xserverrc

matthias

-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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


IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why?

2012-06-25 Thread Christopher J. Ruwe
On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some qjails,
8.3-RELEASE. The jails are connected all via lo0 on 10.0.0.0.

While by the large working as expected, I have noticed one pecularity I
have failed to pinpoint: When launching processes with some network
interaction, like sshing into one of the jails from the platform or
launching emacs, the command spends ages ( ~(1-2) minutes) idling?
(nothing happens) before becoming interactive.

For reasons unreleated, I have enabled NAT with ipf for the jails on
10.0.0.0/24 (to the external re0 IF and some IP) and, out of the blue,
logging into the jails or starting emacs became snappy again.

Why? Why does ipnatting jails which should be connected via the same lo0
on 10.0.0.0 have any impact? Don't get me wrong, I am not complaining
and it solved an issue which gave me kind of headaches, but I would like
to understand. 

Thanks and cheers,
-- 
Christopher
TZ: GMT + 2h


signature.asc
Description: PGP signature


fetch error

2012-06-25 Thread Fbsd8

I think I messed up the fetch setting in the envelope.

Running 9.0 and get this console msg.

env: usr/bin/fetch: No such file or directory

When I enter env command to show all values I see nothing about fetch.

___
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: Broken link on your website

2012-06-25 Thread Emma Haze
Hi!

Wanted to touch base real quick and see if you have had already looked into
my suggested resource and decide if it's a good replacement for the broken
link on your page?

Let me know what you think!

Emma



On Sun, May 6, 2012 at 1:37 AM, Emma Haze emmakh...@gmail.com wrote:

 Hi There,

 Sorry, I'm not sure whether I've already contacted you about this, so I
 apologize if I'm notifying you a second time. But I had noticed that you
 have a broken link on your page at cybershade.us/freebsd/www/securitylinking 
 to
 http://www.shmoo.com/securecode/, so I wanted to inform you in case you
 are not aware of this. And if you are still updating your website, I've
 included a similar resource on Secure Programming that you can replace the
 broken link with if you are interested. Thanks for maintaining a great site!

 Link: http://www.onlineitdegree.net/resources/secure-programming/

 Best Regards,
 Emma






___
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: Xorg listening on the WAN?

2012-06-25 Thread Walter Hurry
On Mon, 25 Jun 2012 22:05:50 +0200, Matthias Apitz wrote:

 El día Monday, June 25, 2012 a las 09:58:37PM +0200, Matthias Apitz
 escribió:
 
 El día Monday, June 25, 2012 a las 07:51:02PM +, Walter Hurry
 escribió:
 
  On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote:
  
   $ man Xorg | col -b | fgrep -- -nolisten
  
  Thanks for the pointer.
  
  I'm probably being stupid here, and I should have mentioned that I
  had already tried 'man Xorg' and 'man Xsession'. I appreciate that
  the answer is probably to put '-nolisten tcp' somewhere, but where?
 
 $ cat ~/.xserverrc exec X -nolisten tcp -retro
 
 sorry, it took me some time to remember where the pointer is:
 
 $ man xinit | col -b | fgrep xserverrc
 
Thanks again for your assistance. I didn't have a $HOME/.xserverrc, so I 
created one with your contents (permissions 744).

It doesn't seem to have made any difference at all, though. After 
restart, I am still getting the same output from netstat and sockstat.

So I'm still in the dark.


___
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: fetch error

2012-06-25 Thread Polytropon
On Mon, 25 Jun 2012 16:16:47 -0400, Fbsd8 wrote:
 I think I messed up the fetch setting in the envelope.
 
 Running 9.0 and get this console msg.
 
 env: usr/bin/fetch: No such file or directory
 
 When I enter env command to show all values I see nothing about fetch.

The env command is often used as a bridge to explicitely
call commands where the actual location is not known or cannot
be predicted, e. g.

#!/usr/bin/env bash

at the start of a bash script instead of

#!/bin/bash

Linuxism or when statically linked, as opposed to

#!/usr/local/bin/bash

default location on FreeBSD.



In what operation do you receive the message? Maybe some typo
in a shell script or Makefile?

Examine closely:

env: usr/bin/fetch: No such file or directory
 ^

The leading / is missing, because usr/bin/fetch would only
exist when $CWD is /, otherwise not; /usr/bin/fetch should
be correct.

% which fetch
/usr/bin/fetch
^

Here the correct path is provided. Maybe you ran into some script
that calls fetch the bridge way improperly?

Test:

% env usr/bin/fetch
env: usr/bin/fetch: No such file or directory

And now properly:

% env /usr/bin/fetch
usage: fetch [-146AadFlMmnPpqRrsUv] 

It seems that env is used here to set environment and execute
command; see man env for details.



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


Re: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Thomas Mueller
from Al Plant n...@hdk5.net:

 Aloha Woj,

 How did you get the drive to work with USB? By a hardware adapter? I
 read there is a USB to ide on the market.

I remember specifically that Iomega produced USB Zip drives, though not when 
they first produced SCSI, ATAPI and parallel-port Zip drives.

One problem with SCSI was so many different hardware interfaces in terms of 
number of holes/pins, meaning incompatibility.

Tom

___
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: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread RW
On Mon, 25 Jun 2012 00:53:50 -0700 (PDT)
Dan Mahoney, System Admin wrote:

 Hey there,
 
 I'm presently in the process of trying to do a portupgrade from
 rt-3.8.8 to 3.8.13.  By all estimations, this is a minor bump.
 
 Already, I've encountered several annoyances due to ABI changes, such
 as the libtool2.4 fun.  With normal portupgrade, this forces you to
 go fix the dependent port.

I don't know what you mean by that

 Finally, I just applied -r, which should update all dependent
 packages, but it seems to upgrade them unconditionally.

That's because the revisions numbers will have been bumped, it's
nothing to do with portupgrade.

 Ergo, I've since built a new version of perl, a new verion of python, 
 rebuilt every perl module on the system, am presently rebuilding
 apache22, and I'm sure the system will turn around and require me to
 rebuild postgres real soon.
 
 You would think there's an option to portupgrade that says don't
 upgrade every single package I've got, 

Firstly it doesn't. Secondly no one is forcing you to do this, if you
want to go through the ports and work out which need an update and which
don't then portupgrade will let you do that.

 but if somewhere in the
 dependency chain I need a newer version of a thing, then do it.
 
 Am I just missing it in the manpages, or does such a thing really not 
 exist?
 
 -Dan
 
___
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


IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why?

2012-06-25 Thread Robert Huff

Christopher J. Ruwe writes:

  On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some
  qjails, 8.3-RELEASE. The jails are connected all via lo0 on
  10.0.0.0.
  
  While by the large working as expected, I have noticed one
  pecularity I have failed to pinpoint: When launching processes
  with some network interaction, like sshing into one of the jails
  from the platform or launching emacs, the command spends ages (
  ~(1-2) minutes) idling?  (nothing happens) before becoming
  interactive.

If the number is very close to 90 seconds, my first guess would
be you have a DNS problem.


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: fetch error

2012-06-25 Thread Fbsd8

Polytropon wrote:

On Mon, 25 Jun 2012 16:16:47 -0400, Fbsd8 wrote:

I think I messed up the fetch setting in the envelope.

Running 9.0 and get this console msg.

env: usr/bin/fetch: No such file or directory

When I enter env command to show all values I see nothing about fetch.


The env command is often used as a bridge to explicitely
call commands where the actual location is not known or cannot
be predicted, e. g.

#!/usr/bin/env bash

at the start of a bash script instead of

#!/bin/bash

Linuxism or when statically linked, as opposed to

#!/usr/local/bin/bash

default location on FreeBSD.



In what operation do you receive the message? Maybe some typo
in a shell script or Makefile?

Examine closely:

env: usr/bin/fetch: No such file or directory
 ^

The leading / is missing, because usr/bin/fetch would only
exist when $CWD is /, otherwise not; /usr/bin/fetch should
be correct.

% which fetch
/usr/bin/fetch
^

Here the correct path is provided. Maybe you ran into some script
that calls fetch the bridge way improperly?

Test:

% env usr/bin/fetch
env: usr/bin/fetch: No such file or directory

And now properly:

% env /usr/bin/fetch
usage: fetch [-146AadFlMmnPpqRrsUv] 

It seems that env is used here to set environment and execute
command; see man env for details.





I get that env error when running the new csup. A few months back I was 
fooling around with pf firewall and was testing different env settings 
to test passive mode with pf. I think i changed this environment value 
and made a typo leaving off the leading /. I no longer remember the 
environment name I used when I did the typo. Can you help me with what 
the name is to use?



___
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: Intel X520-DA2 Supported in stable/8?

2012-06-25 Thread Rick Miller
Turns out the gbic in the switch was bad...I didn't think there was a
problem on the host, but you all still gave me some good info.  I
appreciate it!



On 6/25/12, Rick Miller vmil...@hostileadmin.com wrote:
 On Fri, Jun 22, 2012 at 7:23 PM, Jack Vogel jfvo...@gmail.com wrote:
 Would probably be good to take care of the storm threshold if you
 haven't,
 set it to 0
 and you disable the check, that's what we do internally. As for the
 queues
 and number
 of descriptors, that's kind of up to you, different work loads and
 environments work best
 with different setups.

 Hopefully, when you get rid of the rx ring setup failure you will get
 things
 working.

 Thanks, Jack.  I did get rid of the rx ring failure.  Link status
 still shows no carrier.  I think everything looks right from the
 host's perspective.

 --
 Take care
 Rick Miller


-- 
Sent from my mobile device

Take care
Rick Miller
___
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: Intel X520-DA2 Supported in stable/8?

2012-06-25 Thread Jack Vogel
Glad you figured it out.

Cheers,

Jack


On Mon, Jun 25, 2012 at 3:52 PM, Rick Miller vmil...@hostileadmin.comwrote:

 Turns out the gbic in the switch was bad...I didn't think there was a
 problem on the host, but you all still gave me some good info.  I
 appreciate it!



 On 6/25/12, Rick Miller vmil...@hostileadmin.com wrote:
  On Fri, Jun 22, 2012 at 7:23 PM, Jack Vogel jfvo...@gmail.com wrote:
  Would probably be good to take care of the storm threshold if you
  haven't,
  set it to 0
  and you disable the check, that's what we do internally. As for the
  queues
  and number
  of descriptors, that's kind of up to you, different work loads and
  environments work best
  with different setups.
 
  Hopefully, when you get rid of the rx ring setup failure you will get
  things
  working.
 
  Thanks, Jack.  I did get rid of the rx ring failure.  Link status
  still shows no carrier.  I think everything looks right from the
  host's perspective.
 
  --
  Take care
  Rick Miller
 

 --
 Sent from my mobile device

 Take care
 Rick Miller

___
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


DFS and Atheros

2012-06-25 Thread Wright, Brett
Hi All,

I recently read Adrian Chadd's Blog and was delighted to see that
FreeBSD has support for ETSI and FCC radar test patterns.

My question is whether the DFS implementation in FreeBSD suffers from
the same problem as madwifi-dfs suffered from which was a very high
false-positive rate? This meant that the madwifi DFS was virtually
unusable for practical purposes where high throughput was required...

Thanks
Brett


___
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


Latest News Events from Reading TownTalk

2012-06-25 Thread Reading TownTalk

[1]Reading [2]TownTalk Logo 
26th, June Newsletter [3]www.reading.towntalk.co.uk
  [4]TownTalk Menu

   Hey MRS ELFRIEDE BELL

[5]Armed Forces Day

Reading residents are getting set to honour and celebrate the brave
  men and women who have served the countrys armed forces.

[6]Armed Forces Day 

Armed Forces Day in Reading will be marked with a free event taking
   place in Broad Street and the Forbury Gardens on Saturday, June 30th.
   Reading Borough Council has organised a host of events which will take
   place from midday until 5pm. Armed Forces Day (formerly Veterans Day)
   was launched in 2006 to honour Britains armed forces past, present and
   future and is a celebration of the achie [...]

   [7][Read More]
  
[8]To reach over 10,000 subscribers in next month's Newsletter click
here

  [9]LOSING THE PLOT - A Tale of Love, Life and Allotments

Losing the Plot is a story of love love between people and the land,
 love between people and people, and love between people and their
 giant vegetables.

 [10]LOSING THE PLOT - A Tale of Love, Life and Allotments 

  Funded by Reading Borough Council and one of two new shows which
  Mikron will tour in 2012, Losing the Plot will be on at Forbury
Gardens , Reading on Sunday 1st July at 6.00pm. The show, written by
 Deborah McAndrew tells the stories of the gardeners of Thistledale
Allotments, a rag-bag bunch of diggers and dreamers. Strong
   personalities frequently clash over the best treatment for mealy bugs,
   [...]

  [11][Read More]
  
   [12]To reach over 10,000 subscribers in next month's Newsletter click
here

[13]Caversham Festival /p

  [14]Caversham Festival 

   Caversham Festival is back for a second year at Christchurch Meadows.
   It will be bigger and better than ever before, not taking place across
two days! www.cavershamfestival.co.uk [...]

  [15][Read More]
  
   [16]To reach over 10,000 subscribers in next month's Newsletter click
here

 [17]Race for Life

 [18]Race for Life 

Every two minutes someone in the UK is told they have cancer. Ladies
lets walk, jog, or run Cancer Research UK's Race for Life 2012. For
 more information visit the race for life website:
 www.raceforlife.cancerresearchuk.org [...]

  [19][Read More]
  
   [20]To reach over 10,000 subscribers in next month's Newsletter click
here
  TownTalk Footer
   TownTalk News  Events Alerts
  t: 0845 686 5855
  e: [21]i...@towntalk.co.uk [22]TownTalk Footer 
[23]TownTalk UK on Twitter   [24][black-icon-facebook.jpg] 
   [25][black-icon-linkedin.jpg] 
 Please click here to [26]unsubscribe from Reading TownTalk's Alert
  Service

References

   1. http://www.reading.towntalk.co.uk/
   2. http://www.towntalk.co.uk/
   3. http://www.reading.towntalk.co.uk/
   4. LYNXIMGMAP:file://localhost/tmp/tmpgH_3M0.html#navigation
   5. 
http://www.towntalk.co.uk/newsletter/trackback.php?id=2281item_id=27696table=news
   6. 
http://www.towntalk.co.uk/newsletter/trackback.php?id=2281item_id=27696table=news
   7. 
http://www.towntalk.co.uk/newsletter/trackback.php?id=2281item_id=27696table=news
   8. 
mailto:mediat...@towntalk.co.uk?subject=Feature%20inside%20Reading%20Newsletterbody=Please%20let%20me%20know%20how%20i%20can%20feature%20in%20next%20months%20newsletter.%0DReading%20Newsletter%20%20#2281
   9. 
http://www.towntalk.co.uk/newsletter/trackback.php?id=2281item_id=27697table=newsurl=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F
  10. 
http://www.towntalk.co.uk/newsletter/trackback.php?id=2281item_id=27697table=newsurl=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F
  11. 
http://www.towntalk.co.uk/newsletter/trackback.php?id=2281item_id=27697table=newsurl=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F
  12. 
mailto:mediat...@towntalk.co.uk?subject=Feature%20inside%20Reading%20Newsletterbody=Please%20let%20me%20know%20how%20i%20can%20feature%20in%20next%20months%20newsletter.%0DReading%20Newsletter%20%20#2281
  13. 

SOLVED: Xorg listening on the WAN? (was Xorg listening on the WAN?)

2012-06-25 Thread Walter Hurry
On Mon, 25 Jun 2012 20:33:15 +, Walter Hurry wrote:

 On Mon, 25 Jun 2012 22:05:50 +0200, Matthias Apitz wrote:
 
 El día Monday, June 25, 2012 a las 09:58:37PM +0200, Matthias Apitz
 escribió:
 
 El día Monday, June 25, 2012 a las 07:51:02PM +, Walter Hurry
 escribió:
 
  On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote:
  
   $ man Xorg | col -b | fgrep -- -nolisten
  
  Thanks for the pointer.
  
  I'm probably being stupid here, and I should have mentioned that I
  had already tried 'man Xorg' and 'man Xsession'. I appreciate that
  the answer is probably to put '-nolisten tcp' somewhere, but where?
 
 $ cat ~/.xserverrc exec X -nolisten tcp -retro
 
 sorry, it took me some time to remember where the pointer is:
 
 $ man xinit | col -b | fgrep xserverrc
 
 Thanks again for your assistance. I didn't have a $HOME/.xserverrc, so I
 created one with your contents (permissions 744).
 
 It doesn't seem to have made any difference at all, though. After
 restart, I am still getting the same output from netstat and sockstat.
 
 So I'm still in the dark.

Of course! Looking back at the output from sockstat in my original post, 
X is running under root, so no amount of tinkering with files in $HOME is 
going to change anything.

So I looked into XDM's configuration files in /usr/local/lib/X11/xdm, and 
found what change did the trick:

$ cat /usr/local/lib/X11/xdm/Xservers
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line).  If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well.  Each X terminal line should
# look like:
#   XTerminalName:0 foreign
#
:0 local /usr/local/bin/X -nolisten tcp :0

If there's batter way of doing this, please would someone let me know.


___
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


files need

2012-06-25 Thread j
I am a newbie to linux and unix. I want to install freebsd 8.3 and want to know 
what files I need to download.
___
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: files need

2012-06-25 Thread Polytropon
On Mon, 25 Jun 2012 21:53:37 -0700, j wrote:
 I am a newbie to linux and unix. I want to install freebsd 8.3
 and want to know what files I need to download.

You can find all required information on FreeBSD's website,
http://www.freebsd.org/

I recommend checking The FreeBSD Handbook regarding installation.
What files to obtain is also covered in that section (because it
depends on e. g. what architecture you want to use it, what kind
of media you need and how you want to download it).

For example, here you'll find the installation media:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/8.3/




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


Re: Xorg listening on the WAN?

2012-06-25 Thread Wojciech Puchar

Xorg -nolisten tcp to disable at all

to disable wan only use firewall

On Mon, 25 Jun 2012, Walter Hurry wrote:


FreeBSD 9.0-RELEASE

I think Xorg is listening on external addresses:

$ sockstat -46 |grep Xorg
root Xorg   1573  1  tcp6   *:6000*:*
root Xorg   1573  3  tcp4   *:6000*:*
$ netstat -a|grep x11
tcp4   0  0 *.x11  *.*LISTEN
tcp6   0  0 *.x11  *.*LISTEN

I'm new to FreeBSD, but if I interpret this correctly, x11 is listening
for connections on port 6000 for connections from any IPv4 or IPv6
address.

I don't think I'm in any immediate danger, as I am behind a router which
will block incoming connection attempts, which (virtually) all seem to be
on the http port (80) anyway.

But it would give me a warm fuzzy feeling to stop x11 listening
externally at all - I don't think I need it. How can I go about that
please?

In case it makes a difference, I am using XDM with standard LXDE. I do
not use startx to initiate my sessions.

Thanks.


___
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


Re: Xorg listening on the WAN?

2012-06-25 Thread Wojciech Puchar


I'm probably being stupid here, and I should have mentioned that I had
already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer
is probably to put '-nolisten tcp' somewhere, but where?

As far as I can see, XDM invokes /usr/local/lib/X11/xdm/Xsession, which


at Xservers file


seems to do little more than call $HOME/.xsession. This last runs /usr/
local/bin/startlxde,  which in turn invokes /usr/local/bin/lxsession (a
binary).

I have looked at 'man lxsession' and found it of little help. So I'm
rather lost. Can you amplify a little?


___
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


Re: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Wojciech Puchar



How did you get the drive to work with USB? By a hardware adapter? I


i have USB drives. not an adapter


read there is a USB to ide on the market.


I remember specifically that Iomega produced USB Zip drives, though not when 
they first produced SCSI, ATAPI and parallel-port Zip drives.

One problem with SCSI was so many different hardware interfaces in terms of 
number of holes/pins, meaning incompatibility.

Tom



___
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