Re: UUID in fstab.

2013-08-21 Thread varanasi sainath
Thanks for the support.

I want to use the uuid's found using sysctl -a in fstab.
/dev/gptid/ has only uuid for boot partition.

Cheers
Sainath


On Wed, Aug 21, 2013 at 11:48 AM, Warner Losh i...@bsdimp.com wrote:

 /dev/gptid/$UID

 maybe what you are looking for?

 Warner

 On Aug 21, 2013, at 12:16 AM, varanasi sainath wrote:

  Hello,
 
  How to find UUID's for Disk volumes.
 
  I have used sysctl -a | grep uuid and was able to find
  typefreebsd-swap/type
  rawuuidb55ff220-dcdd-11e2-a324-00155d55b20c/rawuuid
 
  typefreebsd-ufs/type
  rawuuidb55762fc-dcdd-11e2-a324-00155d55b20c/rawuuid
 
  are these the corresponding UUID's for swap and ufs.
 
  I din't find /dev/ufsid folder to get the UUID's
 
  I have used glabel and was able to create labels, system boots well,
  everything works fine but I don't want to use labels (operating
 constraint:
  to create labels I have to boot into single user mode, is there a way to
  create labels on mounted partitions (I hope not)).
 
  I found gptid folder which has boot UUID can this be used?
 
  How to use UUID's in fstab?
 
  I have tried using
  # DeviceMountpointFStype  Options Dump
  Pass#
  uuid=b55762fc-dcdd-11e2-a324-00155d55b20c  /  ufs  rw 1 1
 
  that din't work.
 
  I found (from a post) /dev/ufsid/uuid should be used in fstab but I
 don't
  see ufsid in /dev. Do we need to create this or does the system does it?
 
  Note:
  Using FreeBSD 9.1. created partitions using the guided partition tool.
 
  Reason: using a SCSI storage driver which changes the drive name
  accordingly but freebsd installer (boot) is unable to find the drives
 which
  results in boot failure.
 
  Thanks,
  Sainath.*
  *
  *
  *
  *Learning is the key to excellence.*
  ___
  freebsd-driv...@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
  To unsubscribe, send any mail to 
 freebsd-drivers-unsubscr...@freebsd.org




-- 
Sainath Varanasi
Hyderabad
09000855250
*My Website : http://s21embedded.webs.com
**Linked In Profile : http://in.linkedin.com/pub/sainathvaranasi

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


pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without argument), ignoring

2013-08-21 Thread alexus
I just update snort (using portmaster -PP snort) and now I'm getting this:

# pkg_info | grep ^snort
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
pkg_info: corrupted record for package snort-2.9.3.1 (pkgdep line without
argument), ignoring
snort-2.9.3.1   Lightweight network intrusion detection system
#

any ideas how to address it?
thanks in advance!

-- 
http://alexus.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


Invitation: Hello dear @ Wed Aug 21, 2013 7:30pm - 8:30pm (hellentolbe...@gmail.com)

2013-08-21 Thread Miss Hellen Tolbert

You have been invited to the following event.

Title: Hello dear
Hello,

My name is Miss Hellen Tolbert, It give me a great pleasure to write you. I  
was browsing when i came across your email and I was attracted to write to  
you so that we can be friends if you will have the desire as me. i will be  
very happy to be in communication with you so that we can get to know each  
other better and see what happens in future. I will like you to reply to my  
email (hellentolb...@ymail.com) so that i can tell you more about my self  
and give you my pictures. I will be waiting to hear from you. Have a  
blessed day.


Thanks
Miss Hellen Tolbert.
When: Wed Aug 21, 2013 7:30pm – 8:30pm Eastern Time
Calendar: hellentolbe...@gmail.com
Who:
(Guest list is too large to display)

Event details:  
https://www.google.com/calendar/event?action=VIEWeid=amxlcGd0YW4wdmgwZHF0b25mcDZ2czZvNG8gZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmctok=MjQjaGVsbGVudG9sYmVydDJAZ21haWwuY29tMDc4ZjExODAxMTFiZWY2MGQ3Njg2NmNmMzk0YTFmNzQ2NDkyMDU5NActz=America/New_Yorkhl=en


Invitation from Google Calendar: https://www.google.com/calendar/

You are receiving this courtesy email at the account  
freebsd-questions@freebsd.org because you are an attendee of this event.


To stop receiving future notifications for this event, decline this event.  
Alternatively you can sign up for a Google account at  
https://www.google.com/calendar/ and control your notification settings for  
your entire calendar.
___
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 9.2

2013-08-21 Thread ajtiM
http://forums.macrumors.com/showthread.php?t=1619404

It is helpful too…


On Aug 15, 2013, at 4:14 PM, Doug Hardie bc...@lafn.org wrote:

 
 On 15 August 2013, at 06:37, ajtiM lum...@gmail.com wrote:
 
 
 How will be ATI supported in FreeBSD 9.2, please? I like bluetooth mouse. Is 
 it supported?
 
 I try Linux Mint and it works perfect. I am downloading live CD for NetBSD 
 (jibbed) and I will see how is works but I like to install FreeBSD (not 
 double boot, just FreeBSD).
 
 
 See:  http://docs.freebsd.org/cgi/mid.cgi?28915479-B712-4ED0-A041-B75F2F59FECA
 
 Thats not a complete answer as I don't use any of the user interface stuff.  
 However, it will give a starting point for you.  I have updated my two newest 
 minis to run 9.2 (latest candidate).
 
 

Mitja

http://www.redbubble.com/people/lumiwa

___
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: dig

2013-08-21 Thread Frank Leonhardt

On 22/08/2013 00:34, Doug Hardie wrote:

There appears to be a problem with dig and the +trace option in 9.2.  I believe 
its also in 9.1.  The command:

dig freebsd.org +trace

Only yields a dumb response.  No useful information is provided.  Running the 
same command on FreeBSD 7.2 yields a complete trace with lots of useful 
information.
___



Works for me on 9.0 and 9.1 (and 8.2, 7.1, 7.0)

Is there something wrong with your local bind configuration?

Regards, Frank.


___
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: dig

2013-08-21 Thread Doug Hardie

On 21 August 2013, at 17:02, Doug Hardie bc...@lafn.org wrote:

 
 On 21 August 2013, at 16:46, Frank Leonhardt fra...@fjl.co.uk wrote:
 
 On 22/08/2013 00:34, Doug Hardie wrote:
 There appears to be a problem with dig and the +trace option in 9.2.  I 
 believe its also in 9.1.  The command:
 
 dig freebsd.org +trace
 
 Only yields a dumb response.  No useful information is provided.  Running 
 the same command on FreeBSD 7.2 yields a complete trace with lots of useful 
 information.
 ___
 
 
 Works for me on 9.0 and 9.1 (and 8.2, 7.1, 7.0)
 
 Is there something wrong with your local bind configuration?
 
 Regards, Frank.
 
 No.  The 7.2 config is identical to the 9.1 and there is no bind running on 
 the 9.2.
 
 

___
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: dig

2013-08-21 Thread Robert Huff

   There appears to be a problem with dig and the +trace option in
   9.2.  I believe its also in 9.1.  The command: 
  
   dig freebsd.org +trace
  
   Only yields a dumb response.  No useful information is
  provided.  Running the same command on FreeBSD 7.2 yields a
  complete trace with lots of useful information.
  
  Works for me on 9.0 and 9.1 (and 8.2, 7.1, 7.0)

And on:

FreeBSD 10.0-CURRENT #0 r248938: Sun Mar 31 06:24:42 EDT 2013  amd64 


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: dig

2013-08-21 Thread Colin House

On 22/08/2013 9:34 AM, Doug Hardie wrote:

There appears to be a problem with dig and the +trace option in 9.2.  I believe 
its also in 9.1.  The command:

dig freebsd.org +trace

Only yields a dumb response.  No useful information is provided.  Running the 
same command on FreeBSD 7.2 yields a complete trace with lots of useful 
information.


Have you tested against another NS?  I ran into a similar problem when 
setting up unbound as a local recursor recently on a 9.1-STABLE 
(r251985) box.


dig +trace domain would return (next to) nothing.  dig +trace domain 
@8.8.8.8 worked as expected.


I found it was the access-control configuration of unbound.  Changing my 
access-control: ::1 allow to access-control: ::1 allow_snoop 
restored the +trace functionality.


I'm not sure how this translates with bind.. Perhaps the defaults have 
changed between the versions that you're running (if you're running the 
base versions on 7.2 and 9.1) or your recursive server isn't allowing it 
on 9.2?  Fwiw, in unbound, allow allows recursive lookups, 
allow_snoop allows both recursive and non-recursive lookups.


- Col
___
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: Renumber users and groups

2013-08-21 Thread Olivier Nicole
Thank you,

 Those solutions sound pretty handy if I need to move the files at the
 same time. mtree should do this in-place with minimal fuss as it's just
 confirming permissions and ownership on all files.
 I also just thought of an idea I need to benchmark: running mtree with
 and without nscd. I bet nscd could speed it up a lot.

I did try mtree on my own files, counting for 20% of the total size,
and it took only seconds.

I bet other users may have many more smaller files, but it's all a
matter of minutes, so it is fast enough.

Best regards,

Olivier
___
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: VPN where local private address collide

2013-08-20 Thread Adam Vande More
On Sun, Aug 18, 2013 at 7:17 AM, Terje Elde te...@elde.net wrote:

 On 18. aug. 2013, at 02.43, Adam Vande More wrote:
   What about SSL/TLS for example?  How would the router swap the header
 in an encrypted session?
 
  Same as it would any sessions since only the payload is encrypted.  What
 Frank calls basic nat, most people call static nat(at least people who have
 read enough Cisco docs) and it works just fine. Also you are confusing
 headers.

 The point I was aiming for was that even if you were to swap the IPs in
 the IP-header on the gateway, some protocols still reference the IPs inside
 the TCP-payload,


Yes like IPSec as I mentioned.


 and while you can rewrite that on a NAT-box using an application level
 gateway, you can not do that if the session is using SSL or TLS.


Complete BS.



 I was referring to headers *inside* the SSL/TLS-layers.  I thought that
 was obvious, but I see I might not have been clear enough.


Not clear in the least.  Expanding on what is so difficult about might do a
lot of us some good.



 Yes, you can often still resolve it on the server, but just how messy does
 one want to get stacking workaround on top of workaround,


Despite your protestations to the contrary,  NAT and SIP work quite weil
together in basic configurations including TLS and the OP's scenario.   I
can't explain your difficulties but perhaps when you aren't at a mobile
device you could answer a question in depth.


The server would register that the phone is available at 192.168.0.200
 (locally, in lan_b), while the server would actually need to send to
 192.168.2.200, in order to reach 192.168.0.200 in lan_a.




 Exactly how this would behave depends on a lot of factors, but you'd
 quickly end up with a situation in which the phone *appears* to work, can
 register against the server and call out (both client-initiated), but where
 incoming calls just don't work (sent to 192.168.0.200 in lan_b, rather than
 in lan_a).


Could you could post your config to demonstrate what you are doing
incorrectly?

-- 
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: pkgng problem

2013-08-20 Thread krad
must be code unrot


On 19 August 2013 16:13, Michael W. Lucas mwlu...@michaelwlucas.com wrote:

 For the archives:

 I left the problem alone for a few days, with no changes on my side.

 Came back Monday. Tried again. Everything worked on the affected
 machines.

 ==ml

 --
 Michael W. Lucas  -  mwlu...@michaelwlucas.com, Twitter @mwlauthor
 http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
 Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
 coupon code ILUVMICHAEL gets you 30% off  helps me.
 ___
 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: jail.conf ignoring exec.fib?

2013-08-20 Thread Arthur Chance

On 19/08/2013 21:02, Karl Pielorz wrote:



--On 17 August 2013 17:32:18 +0100 Arthur Chance free...@qeng-ho.org
wrote:


What do you get in the jail from

sysctl net.fibs
sysctl net.my_fibnum

?


I didn't know those sysctl's existed :)


I only stumbled on them by doing

sysctl -a | grep fib

It's often surprising what you find that way.

 If I fire up the jail, and jexec

to it, and run the above - I get:


root@jail:/ # sysctl net.fibs
net.fibs: 4
root@jail:/ # sysctl net.my_fibnum
net.my_fibnum: 0


(I have 'ROUTETABLES=4' in the Kernel, so the 4 above is correct).


That's for a jail which has:


jail {
 jid = 100;
 exec.fib = 1;
  ...


In /etc/jail.conf

So, on the surface it looks like 'exec.fib' is being ignored :( I tried
it without quotes as well, to no avail.



In the source the exec.fib parameter is given as an integer, so the 
quotes probably shouldn't be there, but I'm not sure whether it matters. 
There's definitely a setfib call in the source that's done if exec.fib 
exists. All I can think of right now is that you try firing up the jail 
using the -v verbose flag. This should show everything the jail command 
does as the jail is created.


--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
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: copying milllions of small files and millions of dirs

2013-08-20 Thread krad
When i migrated a large mailspool in maildir format from the old nfs server
to the new one in a previous job, I 1st generated a list of the top level
maildirs. I then generated the rsync commands + plus a few other bits and
pieces for each maildir to make a single transaction like function. I then
pumped all this auto generated scripts into xjobs and ran them in parallel.
This vastly speeded up the process as sequentially running the tree was far
to slow. THis was for about 15 million maildirs in a hashed structure btw
so a fair amount of files.


eg

find /maildir -type d -maxdepth 4 | while read d
do
r=$(($RANDOM*$RANDOM))
echo rsync -a $d/ /newpath/$d/  /tmp/scripts/$r
echo some other stuff  /tmp/scripts/$r
done

ls /tmp/scripts/| while read f
echo /tmp/scripts/$f
done | xjobs -j 20










On 19 August 2013 18:52, aurfalien aurfal...@gmail.com wrote:


 On Aug 19, 2013, at 10:41 AM, Mark Felder wrote:

  On Fri, Aug 16, 2013, at 1:46, Nicolas KOWALSKI wrote:
  On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:
  Is there a faster way to copy files over NFS?
 
  I would use find+cpio. This handles hard links, permissions, and in case
  of later runs, will not copy files if they already exist on the
  destination.
 
  # cd /source/dir
  # find . | cpio -pvdm /destination/dir
 
 
  I always found sysutils/cpdup to be faster than rsync.

 Ah, bookmarking this one.

 Many thanks.

 - aurf
 ___
 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: copying milllions of small files and millions of dirs

2013-08-20 Thread krad
whops that should have been

ls /tmp/scripts/| while read f
echo sh /tmp/scripts/$f
done | xjobs -j 20


On 20 August 2013 08:32, krad kra...@gmail.com wrote:

 When i migrated a large mailspool in maildir format from the old nfs
 server to the new one in a previous job, I 1st generated a list of the top
 level maildirs. I then generated the rsync commands + plus a few other bits
 and pieces for each maildir to make a single transaction like function. I
 then pumped all this auto generated scripts into xjobs and ran them in
 parallel. This vastly speeded up the process as sequentially running the
 tree was far to slow. THis was for about 15 million maildirs in a hashed
 structure btw so a fair amount of files.


 eg

 find /maildir -type d -maxdepth 4 | while read d
 do
 r=$(($RANDOM*$RANDOM))
 echo rsync -a $d/ /newpath/$d/  /tmp/scripts/$r
 echo some other stuff  /tmp/scripts/$r
 done

 ls /tmp/scripts/| while read f
 echo /tmp/scripts/$f
 done | xjobs -j 20










 On 19 August 2013 18:52, aurfalien aurfal...@gmail.com wrote:


 On Aug 19, 2013, at 10:41 AM, Mark Felder wrote:

  On Fri, Aug 16, 2013, at 1:46, Nicolas KOWALSKI wrote:
  On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:
  Is there a faster way to copy files over NFS?
 
  I would use find+cpio. This handles hard links, permissions, and in
 case
  of later runs, will not copy files if they already exist on the
  destination.
 
  # cd /source/dir
  # find . | cpio -pvdm /destination/dir
 
 
  I always found sysutils/cpdup to be faster than rsync.

 Ah, bookmarking this one.

 Many thanks.

 - aurf
 ___
 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: copying milllions of small files and millions of dirs

2013-08-20 Thread Frank Leonhardt

On 20/08/2013 08:32, krad wrote:

When i migrated a large mailspool in maildir format from the old nfs server
to the new one in a previous job, I 1st generated a list of the top level
maildirs. I then generated the rsync commands + plus a few other bits and
pieces for each maildir to make a single transaction like function. I then
pumped all this auto generated scripts into xjobs and ran them in parallel.
This vastly speeded up the process as sequentially running the tree was far
to slow. THis was for about 15 million maildirs in a hashed structure btw
so a fair amount of files.


eg

find /maildir -type d -maxdepth 4 | while read d
do
r=$(($RANDOM*$RANDOM))
echo rsync -a $d/ /newpath/$d/  /tmp/scripts/$r
echo some other stuff  /tmp/scripts/$r
done

ls /tmp/scripts/| while read f
echo /tmp/scripts/$f
done | xjobs -j 20



This isn't what I'd have expected, as running operations in parallel on 
mechanical drives would normally result in superfluous head movements 
and thus exacerbate the I/O bottleneck. The system must be optimising 
the requests from 20 parallel jobs better than I thought it would to 
climb out from that hole far enough to get a net benefit. Did you 
remember how any other approaches performed?


___
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: Why does CD ripping fail?

2013-08-20 Thread Bernt Hansson

On 2013-08-19 16:12, Ben Laurie wrote:

On 19 August 2013 09:15, Rares Aioanei bsdlis...@gmail.com wrote:


On Mon, 19 Aug 2013 05:35:48 -0400
Ben Laurie b...@links.org wrote:


Using grip, trying to rip a CD, I get:

(cd0:ahcich3:0:0:0): MODE_SENSE(6) failed, increasing minimum CDB
size to 10 bytes
(cd0:ahcich3:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
(cd0:ahcich3:0:0:0): CAM status: SCSI Status Error
(cd0:ahcich3:0:0:0): SCSI status: Check Condition
(cd0:ahcich3:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(cd0:ahcich3:0:0:0): Command byte 2 is invalid

and no audio data is ripped. Unsure what changed, because this used to
work, which is a little frustrating. I think I updated ports since it
last worked.


Those usually indicate hardware issues. I'd start by checking
connectors, cables and the like and go on from there.



Even though I get the TOC? This seems a little unlikely...


But none the less.
___
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: VirtualBox: reproductible panic

2013-08-20 Thread Patrick Lamaiziere
Le Fri, 09 Aug 2013 23:06:01 +0200,
David Demelier demelier.da...@gmail.com a écrit :

 Hello,
 
 I can reproduce a panic by just starting a virtual machine with
 VirtualBox 4.2.16_2.
 
 Unfortunately, as the kmod driver is not built with debug symbols I
 could not provide much information.

Debug symbols are in option in the port (make config)
It's hard to say without a bt.

Regards
___
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: VirtualBox: reproductible panic

2013-08-20 Thread David Demelier
On 20.08.2013 11:21, Patrick Lamaiziere wrote:
 Le Fri, 09 Aug 2013 23:06:01 +0200,
 David Demelier demelier.da...@gmail.com a écrit :
 
 Hello,

 I can reproduce a panic by just starting a virtual machine with
 VirtualBox 4.2.16_2.

 Unfortunately, as the kmod driver is not built with debug symbols I
 could not provide much information.
 
 Debug symbols are in option in the port (make config)
 It's hard to say without a bt.
 
 Regards
 

Yes, I finally made DEBUG symbols enabled, there is the panic backtrace:

Unread portion of the kernel message buffer:


Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer = 0x20:0x80b7ddb5
stack pointer   = 0x28:0xff80e7d64540
frame pointer   = 0x28:0xff80e7d64550
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 25056 (VirtualBox)
trap number = 9
panic: general protection fault
cpuid = 1
KDB: stack backtrace:
#0 0x80948376 at kdb_backtrace+0x66
#1 0x8090dece at panic+0x1ce
#2 0x80cf2c20 at trap_fatal+0x290
#3 0x80cf3431 at trap+0x241
#4 0x80cdc863 at calltrap+0x8
#5 0x80b7ee97 at vm_map_lookup_entry+0xb7
#6 0x80b82790 at vm_map_lookup+0x50
#7 0x80b78a6e at vm_fault_hold+0x15e
#8 0x80b7b0c3 at vm_fault+0x73
#9 0x80cf2e9f at trap_pfault+0x12f
#10 0x80cf36e4 at trap+0x4f4
#11 0x80cdc863 at calltrap+0x8
Uptime: 1h9m58s
Dumping 459 out of 3043 MB:..4%..11%..21%..32%..42%..53%..63%..74%..81%..91%

Reading symbols from /boot/kernel/if_lagg.ko...Reading symbols from
/boot/kernel/if_lagg.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_lagg.ko
Reading symbols from /boot/kernel/if_msk.ko...Reading symbols from
/boot/kernel/if_msk.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_msk.ko
Reading symbols from /boot/kernel/acpi_video.ko...Reading symbols from
/boot/kernel/acpi_video.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi_video.ko
Reading symbols from /boot/modules/vboxdrv.ko...Reading symbols from
/boot/modules/vboxdrv.ko.symbols...done.
done.
Loaded symbols for /boot/modules/vboxdrv.ko
Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from
/boot/kernel/fdescfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/fdescfs.ko
Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from
/boot/kernel/ng_ubt.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ubt.ko
Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from
/boot/kernel/ng_hci.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_hci.ko
Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from
/boot/kernel/ng_bluetooth.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_bluetooth.ko
Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from
/boot/kernel/netgraph.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/netgraph.ko
Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from
/boot/kernel/ng_l2cap.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_l2cap.ko
Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from
/boot/kernel/ng_btsocket.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_btsocket.ko
Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from
/boot/kernel/ng_socket.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_socket.ko
Reading symbols from /boot/kernel/pf.ko...Reading symbols from
/boot/kernel/pf.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/pf.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/vkbd.ko...Reading symbols from
/boot/kernel/vkbd.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/vkbd.ko
Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.ko
Reading symbols from /boot/kernel/radeon.ko...Reading symbols from
/boot/kernel/radeon.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/radeon.ko
Reading symbols from /boot/kernel/drm.ko...Reading symbols from
/boot/kernel/drm.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/drm.ko
#0  doadump (textdump=value optimized out) at pcpu.h:234
234 pcpu.h: No such file or directory.
in pcpu.h
#0  doadump (textdump=value optimized out) at pcpu.h:234
No locals.
#1  0x8090d9a6 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:449
_ep = (struct eventhandler_entry *) 0x0
_el = (struct eventhandler_list *) 0xfe0004914000
first_buf_printf = 1
#2  0x8090dea7 in panic (fmt=0x1 Address 0x1 out of bounds) at

Re: jail.conf ignoring exec.fib?

2013-08-20 Thread Karl Pielorz



--On 20 August 2013 08:27 +0100 Arthur Chance free...@qeng-ho.org wrote:


In the source the exec.fib parameter is given as an integer, so the
quotes probably shouldn't be there, but I'm not sure whether it matters.


I tried it just as 'exec.fib = 1;' originally, and it makes no difference :(


There's definitely a setfib call in the source that's done if exec.fib
exists. All I can think of right now is that you try firing up the jail
using the -v verbose flag. This should show everything the jail command
does as the jail is created.


Ok, I tried that and got:


root# jail -v -c jail
jail: run command: /sbin/mount -t devfs -oruleset=4 . /usr2/jails/jail/dev
jail: jail_set(JAIL_CREATE) persist name=jail devfs_ruleset=4 jid=100 
path=/usr2/jails/jail host.hostname=jail.somedomain.com 
ip4.addr=192.186.0.20 allow.raw_sockets

jail: created
jail: run command in jail: /bin/sh /etc/rc
Setting hostname: jail.somedomain.com
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
32-bit compatibility ldconfig path: /usr/lib32
Creating and/or trimming log files.
ln: /dev/log: Operation not permitted
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Starting cron.

Tue Aug 20 11:39:20 UTC 2013
jail: jail_set(JAIL_UPDATE) jid=100 nopersist


Certainly more detail, but no mention of fib's :( - I tried it both with, 
and without quotes around the FIB value. You can also see I have raw 
sockets available for debugging.


-Karl
___
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


Custom Software for Municipalities

2013-08-20 Thread Jerry
I have been charged with investigation alternate software packages for
use in our community. The one shown at this URL:
http://www.granvillecounty.zpuser.com/ is an example of what I am
referring to. This is the home URL for that software:
http://zoneprosoftware.com/support/index.htm

I work for a town in the county shown above. We are investigating the
possibility of setting up something like this on the town's web site to
assist our citizens in searching for information. This project has a
one year lead-in time, so it is not particularly time sensitive at this
moment. We are still in the preliminary stage. The system will
undoubtedly be using Microsoft 2013 servers, although I could always
get a FreeBSD server integrated into the system if I could find a
viable piece of software to handle the job that the ZonePro software
does.

I have not been able to locate an open-source application that works in
a similar manner. Perhaps someone might be familiar with one or has
heard of one.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: Custom Software for Municipalities

2013-08-20 Thread Mark Felder
This literally looks like a CRUD interface that could easily be rebuilt.
PHPMyEdit, Dadabik, and others provide easy ways to produce these
interfaces from database tables.

For the record I wouldn't recommend Dadabik unless it does something
specific that you need (postgres or sqlite support, I suppose). The
developer is strange and doesn't understand open source licenses. A year
or so ago I paid him $5 to get a copy of his program, received GPLv2
code, and then he got angry and started threatening me when I published
it on github with some minor cleanup and translation fixes. He's since
changed the license to something else.
___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-20 Thread Warren Block

On Mon, 19 Aug 2013, Juris Kaminskis wrote:


ok I realised the problem was that i sent plain text to filter instead a
postscript.

when I run now:

lpr test.ps

no error messages appear anymore except that in the /var/spool/hp which is
my spooling directory in the status file I have Sending to 192.168.1.105
and printer is silent


I would get the filter working alone before involving the extra 
complication of lpd.  The documentation at the foo2xqx home page may 
help: http://foo2xqx.rkkda.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: copying milllions of small files and millions of dirs

2013-08-20 Thread Warren Block

On Mon, 19 Aug 2013, Mark Felder wrote:


On Fri, Aug 16, 2013, at 1:46, Nicolas KOWALSKI wrote:

On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:

Is there a faster way to copy files over NFS?


I would use find+cpio. This handles hard links, permissions, and in case
of later runs, will not copy files if they already exist on the
destination.

# cd /source/dir
# find . | cpio -pvdm /destination/dir



I always found sysutils/cpdup to be faster than rsync.


sysutils/clone may do better as well.
___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-20 Thread Polytropon
On Tue, 20 Aug 2013 07:31:09 -0600 (MDT), Warren Block wrote:
 I would get the filter working alone before involving the extra 
 complication of lpd.  The documentation at the foo2xqx home page may 
 help: http://foo2xqx.rkkda.com/

That is a good advice. I'd suggest to use a PS test page as
input, let it run through the filter, and send its output
directly to the printer (with netcat if networked, with 
to /dev/lpt or /dev/ulpt if local). If _that_ part is
working, integrate it with the LPD subsystem or CUPS.


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


buildworld breaks at xinstall (9.2)

2013-08-20 Thread Rudy


When I svnup and make buildworld, I get a failure at xinstall.

THings

Any chance that FreeBSD will be fixed to allow upgrading in place from 9.1?

http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/181344
___
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: Custom Software for Municipalities

2013-08-20 Thread Outback Dingo
On Tue, Aug 20, 2013 at 8:52 AM, Mark Felder f...@freebsd.org wrote:

 This literally looks like a CRUD interface that could easily be rebuilt.
 PHPMyEdit, Dadabik, and others provide easy ways to produce these
 interfaces from database tables.

 For the record I wouldn't recommend Dadabik unless it does something
 specific that you need (postgres or sqlite support, I suppose). The
 developer is strange and doesn't understand open source licenses. A year
 or so ago I paid him $5 to get a copy of his program, received GPLv2
 code, and then he got angry and started threatening me when I published
 it on github with some minor cleanup and translation fixes. He's since
 changed the license to something else.



I concur, whats posted looks like a joke... can be reproduced by any decent
php dev
in probably a few hours, and im sure theres plenty of engines open source
already
available


 ___
 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: jail.conf ignoring exec.fib?

2013-08-20 Thread Arthur Chance

On 20/08/2013 12:50, Karl Pielorz wrote:



--On 20 August 2013 08:27 +0100 Arthur Chance free...@qeng-ho.org wrote:


In the source the exec.fib parameter is given as an integer, so the
quotes probably shouldn't be there, but I'm not sure whether it matters.


I tried it just as 'exec.fib = 1;' originally, and it makes no
difference :(


There's definitely a setfib call in the source that's done if exec.fib
exists. All I can think of right now is that you try firing up the jail
using the -v verbose flag. This should show everything the jail command
does as the jail is created.


Ok, I tried that and got:


root# jail -v -c jail
jail: run command: /sbin/mount -t devfs -oruleset=4 . /usr2/jails/jail/dev
jail: jail_set(JAIL_CREATE) persist name=jail devfs_ruleset=4 jid=100
path=/usr2/jails/jail host.hostname=jail.somedomain.com
ip4.addr=192.186.0.20 allow.raw_sockets
jail: created
jail: run command in jail: /bin/sh /etc/rc
Setting hostname: jail.somedomain.com
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
32-bit compatibility ldconfig path: /usr/lib32
Creating and/or trimming log files.
ln: /dev/log: Operation not permitted
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Starting cron.

Tue Aug 20 11:39:20 UTC 2013
jail: jail_set(JAIL_UPDATE) jid=100 nopersist


Certainly more detail, but no mention of fib's :( - I tried it both
with, and without quotes around the FIB value. You can also see I have
raw sockets available for debugging.


I can't test this directly, as I'm running a generic kernel so only have 
one fib. However, if I add the invalid (under GENERIC) exec.fib = 1; 
to my jail.conf and try launching the jail with -v I get (slightly cut)


testjail: run command: /sbin/mount -t devfs -oruleset=4 . 
/jails/jail/testjail/root/dev
testjail: jail_set(JAIL_CREATE) persist name=testjail enforce_statfs=2 
ip6=disable path=/jails/jail/testjail/root 
host.hostname=testjail.home.qeng-ho.org allow.set_hostname=false 
ip4.addr=172.16.4.2 securelevel=1

testjail: created
testjail: run command in jail: /bin/sh /etc/rc
jail: testjail: setfib: Invalid argument
jail: testjail: /bin/sh /etc/rc: failed
testjail: removed

so it certainly has tried the setfib and knows it has failed.

And that's just made me think of something else - I have a horrible 
feeling that jexec will attach to the jail using whatever fib it's 
running under, i.e. the fib from the host environment. Do you have (or 
can you enable) ssh running in the jail? If so, log into the jail that 
way, and see what


sysctl net.my_fibnum

shows then, because you'll be running under the environment created by 
/etc/rc.


--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
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 here? Can't reinstall graphics/lcms2

2013-08-20 Thread Walter Hurry
$ sudo portupgrade -f graphics/lcms2
[Reading data from pkg(8) ... - 544 packages found - done]
---  Reinstalling 'lcms2-2.5' (graphics/lcms2)
---  Building '/usr/ports/graphics/lcms2'
===  Cleaning for lcms2-2.5
===  lcms2-2.5 has known vulnerabilities:
lcms2-2.5 is vulnerable:
lcms2 -- Null Pointer Dereference Denial of Service Vulnerability

WWW: http://portaudit.FreeBSD.org/9a0a892e-05d8-11e3-
ba09-000c29784fd1.html
= Please update your ports tree and try again.
*** [check-vulnerable] Error code 1

Stop in /usr/ports/graphics/lcms2.
*** [build] Error code 1

Stop in /usr/ports/graphics/lcms2.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/
portupgrade20130820-93880-13u5qwy env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=lcms2-2.5 UPGRADE_PORT_VER=2.5 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! graphics/lcms2 (lcms2-2.5)(unknown build error)
$

I have of course updated the ports tree but it made no difference.

___
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: VPN where local private address collide

2013-08-20 Thread Terje Elde
On Aug 20, 2013, at 8:33 AM, Adam Vande More amvandem...@gmail.com wrote:
 and while you can rewrite that on a NAT-box using an application level 
 gateway, you can not do that if the session is using SSL or TLS.
 
 Complete BS.

This seems to come down to a misunderstanding in the examples drawn up, and of 
TCP/IP-headers (outside the SSL/TLS encryption) and SIP-headers (inside the 
SSL/TLS encryption).

Noone is arguing that SSL/TLS would give any troubles with changing TCP or 
IP-headers during NAT, and that part seams clear both to the OP and myself.

It's the SIP-headers inside an encrypted SSL/TLS-session that a NAT-layer 
wouldn't be able to change, even if it wanted to (and arguably outside the 
scope of NAT).

 I was referring to headers *inside* the SSL/TLS-layers.  I thought that was 
 obvious, but I see I might not have been clear enough.
 
 Not clear in the least.  Expanding on what is so difficult about might do a 
 lot of us some good.

Read up if you'd like:

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg268807.html

I'm not quite sure what part isn't clear, so please email me if there is 
anything.  Preferrably off-list, this tread seems to be stearing towards you 
calling BS based on a misunderstanding, and that's probably not adding a lot of 
value to -questions.

 Yes, you can often still resolve it on the server, but just how messy does 
 one want to get stacking workaround on top of workaround,
 
 Despite your protestations to the contrary,  NAT and SIP work quite weil 
 together in basic configurations including TLS and the OP's scenario.   I 
 can't explain your difficulties but perhaps when you aren't at a mobile 
 device you could answer a question in depth.
 
 
 The server would register that the phone is available at 192.168.0.200 
 (locally, in lan_b), while the server would actually need to send to 
 192.168.2.200, in order to reach 192.168.0.200 in lan_a.
  
 
 Exactly how this would behave depends on a lot of factors, but you'd quickly 
 end up with a situation in which the phone *appears* to work, can register 
 against the server and call out (both client-initiated), but where incoming 
 calls just don't work (sent to 192.168.0.200 in lan_b, rather than in lan_a).
 
 Could you could post your config to demonstrate what you are doing 
 incorrectly?

I'm not doing anything incorrectly or otherwise, and I'm not having any 
difficulties with anything.  I drew up an example, to illustrate a point.

And I know very well that NAT and SIP with TLS *can* work quite well in such a 
setup.  In fact, I'm even arguing it.  If the server does the right thing in a 
non-standard scenario, things can work quite well out of the box even.  
However, if the server doesn't do the right thing in this scenario, you might 
have a good bunch of debugging on your hands.

I've never argued that you can't get it to work, I'm arguing that the farther 
away from standards you go, the more you might break and have to fix or find 
workarounds for.

Terje

___
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: What's wrong here? Can't reinstall graphics/lcms2

2013-08-20 Thread Kurt Buff
On Tue, Aug 20, 2013 at 10:23 AM, Walter Hurry walterhu...@gmail.com wrote:
 $ sudo portupgrade -f graphics/lcms2
snip
 = Please update your ports tree and try again.
 *** [check-vulnerable] Error code 1

 I have of course updated the ports tree but it made no difference.

Try updating ports again. I was successful in updating lcms2 this
morning on a couple of boxes, after failures yesterday.

Kurt
___
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: What's wrong here? Can't reinstall graphics/lcms2

2013-08-20 Thread Ryan Frederick
There was an entry in vuxml for lcms2  2.5 earlier this week that 
initially included 2.5 accidentally. It's been corrected now, so an 
update of your ports vulnerability database should allow you to 
install/update lcms2.


Ryan


On 08/20/2013 01:15 PM, Kurt Buff wrote:

On Tue, Aug 20, 2013 at 10:23 AM, Walter Hurry walterhu...@gmail.com wrote:

$ sudo portupgrade -f graphics/lcms2

snip

= Please update your ports tree and try again.
*** [check-vulnerable] Error code 1

I have of course updated the ports tree but it made no difference.


Try updating ports again. I was successful in updating lcms2 this
morning on a couple of boxes, after failures yesterday.

Kurt
___
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: ipfw confusion

2013-08-20 Thread Dan Lists
You might turn on logging and post the logs of what is being blocked.
Sometimes things are being blocked by rules you do not expect.


On Mon, Aug 19, 2013 at 4:18 PM, Gary Aitken vagab...@blackfoot.net wrote:

 On 08/19/13 00:36, Jason Cox wrote:
  Are you sure that your DNS requests are over TCP? DNS primarily uses UDP
 to
  serve requests. TCP is used when the response data size exceeds 512 bytes
  (I think), or for tasks such as zone transfers. I know a few resolver
  implementations use TCP for all queries, but most I have used not. You
  might want to add rules to allow UDP as well.

 There are identical rules included for udp:

 21149 allow udp from any to 12.32.44.142 dst-port 53 in via tun0 keep-state
 21169 allow udp from any to 12.32.36.65 dst-port 53 in via tun0 keep-state

 One of the requests which is being refused is a zone transfer request from
 a secondary which is a tcp request.  Others are probably udp.

  On Sun, Aug 18, 2013 at 11:06 PM, Gary Aitken vagab...@blackfoot.net
 wrote:
 
  I'm having some weird ipfw behavior, or it seems weird to me, and am
  looking
  for an explaination and then a way out.
 
  ipfw list
  ...
  21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup
  keep-state
  21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup
  keep-state
  ...
  65534 deny log logamount 5 ip from any to any
 
  tail -f messages
  Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error
  sending response: permission denied
 
  12.32.36.65 is the addr of the internal interface (xl0) on the firewall
and is the public dns server.
  12.32.44.142 is the addr of the external interface (tun0) which is
 bridged
  on a
  dsl line.
 
  It appears that a dns request was allowed in, but the response was not
  allowed
  back out.  It seems to me the above rules 21109 and 21129 should have
  allowed
  the request in and the response back out.
 
  It's possible a request could come in on 12.32.44.142,
  which is why 21109 is present;
  although I know I am getting failures to reply to refresh requests
  from a secondary addressed to 12.32.36.65
 
  What am I missing?
 
  Is there a problem if the incoming rule is for tun0,
  which gets passed to named
  since 12.32.44.142 is on the physical machine running named,
  but named pumps its response out on 12.32.36.65,
  relying on routing to get it to the right place,
  and that fails to match the state tracking mechanism
  which started with 12.32.44.142?
  ___
  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

___
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: Custom Software for Municipalities

2013-08-20 Thread James Gosnell
I've done better looking MVC framework websites using PHP Yii Framework,
Perl Catalyst or Perl Mojolicious. It was a while ago, but I had no
experience with MVC back then. It took me about a week to completely grok
the frameworks and concepts (like authorization model abstraction). After
you have knowledge of the framework, I would say it would take a day to
make the simple CRUD layout that you see and then a week or two to polish
it off. I would conservatively give a programmer a month to complete and
polish a similar system, with all the database design, modifications to the
views, models and controllers. It looks like the programmer might of been
using ASP MVC, but I can't fully tell. I'd recommend you go with an
open-source stack of FreeBSD, PostgreSQL Database and one of the Frameworks
I mentioned above. I'd recommend Ruby on Rails if I knew more about it. I
have no knowledge of Python MVC frameworks.


On Tue, Aug 20, 2013 at 7:37 AM, Jerry je...@seibercom.net wrote:

 I have been charged with investigation alternate software packages for
 use in our community. The one shown at this URL:
 http://www.granvillecounty.zpuser.com/ is an example of what I am
 referring to. This is the home URL for that software:
 http://zoneprosoftware.com/support/index.htm

 I work for a town in the county shown above. We are investigating the
 possibility of setting up something like this on the town's web site to
 assist our citizens in searching for information. This project has a
 one year lead-in time, so it is not particularly time sensitive at this
 moment. We are still in the preliminary stage. The system will
 undoubtedly be using Microsoft 2013 servers, although I could always
 get a FreeBSD server integrated into the system if I could find a
 viable piece of software to handle the job that the ZonePro software
 does.

 I have not been able to locate an open-source application that works in
 a similar manner. Perhaps someone might be familiar with one or has
 heard of one.

 --
 Jerry ♔

 Disclaimer: off-list followups get on-list replies or get ignored.
 Please do not ignore the Reply-To header.
 __

 ___
 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




-- 
James Gosnell, ACP
___
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

oMEGA-MUSiC.se - Free MP3 Download - News ... - Xmarks

2013-08-20 Thread Nomen Nescio
http://www.omegamusic.se/
___
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


ipfw confusion

2013-08-19 Thread Gary Aitken
I'm having some weird ipfw behavior, or it seems weird to me, and am looking
for an explaination and then a way out.

ipfw list
...
21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup 
keep-state
21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup keep-state
...
65534 deny log logamount 5 ip from any to any

tail -f messages
Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error 
sending response: permission denied

12.32.36.65 is the addr of the internal interface (xl0) on the firewall
  and is the public dns server.
12.32.44.142 is the addr of the external interface (tun0) which is bridged on a 
dsl line.

It appears that a dns request was allowed in, but the response was not allowed
back out.  It seems to me the above rules 21109 and 21129 should have allowed
the request in and the response back out.

It's possible a request could come in on 12.32.44.142, 
which is why 21109 is present;
although I know I am getting failures to reply to refresh requests 
from a secondary addressed to 12.32.36.65

What am I missing?

Is there a problem if the incoming rule is for tun0, 
which gets passed to named 
since 12.32.44.142 is on the physical machine running named,
but named pumps its response out on 12.32.36.65,
relying on routing to get it to the right place,
and that fails to match the state tracking mechanism 
which started with 12.32.44.142?
___
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: ipfw confusion

2013-08-19 Thread Jason Cox
Are you sure that your DNS requests are over TCP? DNS primarily uses UDP to
serve requests. TCP is used when the response data size exceeds 512 bytes
(I think), or for tasks such as zone transfers. I know a few resolver
implementations use TCP for all queries, but most I have used not. You
might want to add rules to allow UDP as well.


On Sun, Aug 18, 2013 at 11:06 PM, Gary Aitken vagab...@blackfoot.netwrote:

 I'm having some weird ipfw behavior, or it seems weird to me, and am
 looking
 for an explaination and then a way out.

 ipfw list
 ...
 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup
 keep-state
 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup
 keep-state
 ...
 65534 deny log logamount 5 ip from any to any

 tail -f messages
 Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error
 sending response: permission denied

 12.32.36.65 is the addr of the internal interface (xl0) on the firewall
   and is the public dns server.
 12.32.44.142 is the addr of the external interface (tun0) which is bridged
 on a
 dsl line.

 It appears that a dns request was allowed in, but the response was not
 allowed
 back out.  It seems to me the above rules 21109 and 21129 should have
 allowed
 the request in and the response back out.

 It's possible a request could come in on 12.32.44.142,
 which is why 21109 is present;
 although I know I am getting failures to reply to refresh requests
 from a secondary addressed to 12.32.36.65

 What am I missing?

 Is there a problem if the incoming rule is for tun0,
 which gets passed to named
 since 12.32.44.142 is on the physical machine running named,
 but named pumps its response out on 12.32.36.65,
 relying on routing to get it to the right place,
 and that fails to match the state tracking mechanism
 which started with 12.32.44.142?
 ___
 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




-- 
Jason Cox
___
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


Why does CD ripping fail?

2013-08-19 Thread Ben Laurie
Using grip, trying to rip a CD, I get:

(cd0:ahcich3:0:0:0): MODE_SENSE(6) failed, increasing minimum CDB size to
10 bytes
(cd0:ahcich3:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
(cd0:ahcich3:0:0:0): CAM status: SCSI Status Error
(cd0:ahcich3:0:0:0): SCSI status: Check Condition
(cd0:ahcich3:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in
CDB)
(cd0:ahcich3:0:0:0): Command byte 2 is invalid

and no audio data is ripped. Unsure what changed, because this used to
work, which is a little frustrating. I think I updated ports since it last
worked.

TOC works, btw.

Running 9.0-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: FreeBSD on ThinkPad W530

2013-08-19 Thread Ian Smith
On Wed, 14 Aug 2013 15:40:58 +0200, vermaden wrote:
  Hi and thanks for reply ;)
  
   Yay another FreeBSD laptop user!
  
  I use FreeBSD for dekstop/workstation for I do not remember how long:
  http://vermaden.deviantart.com/art/CorporateBSD-FreeBSD-at-Work-190680188
  
   Please do this:
   * join the freebsd-mobile list;* create PRs for each of your problems with 
   -10 above!;
  
  Here are created PRs:
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=181281
  stack trace after successfull 'umount /mnt' (SDHC card mounted as msdosfs)
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=181282
  3h of work on battery on FreeBSD while 10h on Windows

Hi; I'm only going to address this one, so chopping mercilessly ..

  http://www.freebsd.org/cgi/query-pr.cgi?pr=181283
  acpi_ibm module is useless on ThinkPad W530
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=181285
  x11/xorg does not start if Nvidia Optimus is enabled on
  
   * the power utilisation thing is going to be fun to track down - what kind 
   of
   CPU is in there? Is it a recent Intel? I'm playing around with their tools 
   at the
   moment; maybe we can look at the power the CPU is consuming and then
   add on the power from each of the other parts in your laptop until we
   figure out what's drawing said power

Can't fault the comprensiveness of your PR 181282 :)  I did notice:

dev.cpu.0.cx_lowest: C1

As a starting point, try following mav@'s excellent Tuning Power guide:
https://wiki.freebsd.org/TuningPowerConsumption

I don't know what the i7 or your BIOS does about C-states, but using C2 
and especially if you can get to C3 or equivalent could give a big win; 
with other tunings Alexander managed to double battery life (on a C2D)

You said powerd was 'working' but without indication of effectiveness, 
such as what CPU speeds correspond to idle/light load/full load etc?
You may want to try tuning its default modes/idle/busy settings, and 
measure real power used at different freqs.

I suggest trying the advice there to disable p4tcc and acpi_throttle, 
reducing number of P-states considerably.  Then 'service powerd stop', 
run powerd -v in a console and measure power consumption at various 
loads and CPU frequencies.  If you have no wattmeter, acpiconf -i0 may 
serve as a guide (though you do have to wait a while for changes to be 
reflected); for such monitoring (albeit with working acpi_ibm) I use:

smithi on t23% cat ~/bin/t23stat
#!/bin/sh
echo -n `date` 
sysctl dev.cpu.0.freq dev.cpu.0.cx_usage
sysctl dev.acpi_ibm | egrep 'fan_|thermal'
sysctl hw.acpi.thermal.tz0.temperature
acpiconf -i0 | egrep 'State|Remain|Present|Volt'

smithi on t23% t23stat
Mon Aug 19 22:09:15 EST 2013 dev.cpu.0.freq: 733
dev.cpu.0.cx_usage: 0.05% 99.94% 0.00% last 529us
dev.acpi_ibm.0.fan_speed: 2254
dev.acpi_ibm.0.fan_level: 1
dev.acpi_ibm.0.thermal: 47 46 42 -1 -1 -1 29 -1
hw.acpi.thermal.tz0.temperature: 47.0C
State:  discharging
Remaining capacity: 95%
Remaining time: 2:36
Present rate:   17313 mW
Present voltage:12236 mV

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


Re: ipfw gateway rerouting

2013-08-19 Thread Michael Sierchio
# my kernel has
# options ROUTETABLES=16

GATEWAY_0=10.3.255.0
GATEWAY_1=10.3.255.1

setfib 0 route add default $GATEWAY_0
setfib 1 route add default $GATEWAY_1

ipfw table 1 add $NET_0 0
ipfw table 1 add $NET_1 0
ipfw table 1 add $NET_2 1
ipfw table 1 add $NET_3 0

ipfw add 00500 setfib tablearg ip from any to any in lookup src-ip 1

rule 500 will cause traffic from NET_2 to go out a different gateway (if
it's not destined for a local net - presumably other rules will handle
those cases)

# man setfib
# man ipfw (see the section on the setfib action)




On Sun, Aug 18, 2013 at 3:15 PM, Jos Chrispijn ker...@webrz.net wrote:

 Can someone please hint me to to good explanatory site that explains how
 to reroute a network server to different/non standard network gateway(s)
 with ipfw?

 thanks,
 Jos Chrispijn
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org 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: Why does CD ripping fail?

2013-08-19 Thread Rares Aioanei
On Mon, 19 Aug 2013 05:35:48 -0400
Ben Laurie b...@links.org wrote:

 Using grip, trying to rip a CD, I get:
 
 (cd0:ahcich3:0:0:0): MODE_SENSE(6) failed, increasing minimum CDB
 size to 10 bytes
 (cd0:ahcich3:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
 (cd0:ahcich3:0:0:0): CAM status: SCSI Status Error
 (cd0:ahcich3:0:0:0): SCSI status: Check Condition
 (cd0:ahcich3:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
 field in CDB)
 (cd0:ahcich3:0:0:0): Command byte 2 is invalid
 
 and no audio data is ripped. Unsure what changed, because this used to
 work, which is a little frustrating. I think I updated ports since it
 last worked.

Those usually indicate hardware issues. I'd start by checking
connectors, cables and the like and go on from there.
___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-19 Thread Juris Kaminskis
ok I realised the problem was that i sent plain text to filter instead a
postscript.

when I run now:

lpr test.ps

no error messages appear anymore except that in the /var/spool/hp which is
my spooling directory in the status file I have Sending to 192.168.1.105
and printer is silent



___
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: Why does CD ripping fail?

2013-08-19 Thread Ben Laurie
On 19 August 2013 09:15, Rares Aioanei bsdlis...@gmail.com wrote:

 On Mon, 19 Aug 2013 05:35:48 -0400
 Ben Laurie b...@links.org wrote:

  Using grip, trying to rip a CD, I get:
 
  (cd0:ahcich3:0:0:0): MODE_SENSE(6) failed, increasing minimum CDB
  size to 10 bytes
  (cd0:ahcich3:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
  (cd0:ahcich3:0:0:0): CAM status: SCSI Status Error
  (cd0:ahcich3:0:0:0): SCSI status: Check Condition
  (cd0:ahcich3:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
  field in CDB)
  (cd0:ahcich3:0:0:0): Command byte 2 is invalid
 
  and no audio data is ripped. Unsure what changed, because this used to
  work, which is a little frustrating. I think I updated ports since it
  last worked.

 Those usually indicate hardware issues. I'd start by checking
 connectors, cables and the like and go on from there.


Even though I get the TOC? This seems a little unlikely...
___
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: pkgng problem

2013-08-19 Thread Michael W. Lucas
For the archives:

I left the problem alone for a few days, with no changes on my side.

Came back Monday. Tried again. Everything worked on the affected
machines.

==ml

-- 
Michael W. Lucas  -  mwlu...@michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code ILUVMICHAEL gets you 30% off  helps me.
___
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


Addition?

2013-08-19 Thread Jenny Frost
Hi there,

Cheeky me!?

I came across your page with grammar exercises at
http://web008.pavilion.net/fr/gallery/npgallery.html
and wondered if you might be interested in mentioning my grammar checker?

It's located here: http://www.grammarcheck.net/

It's totally free, checks for grammar and spelling mistakes, and gives
instant feedback.

Please have a look at it before you decide.

That would be awesome. Thanks!

Best wishes,

Jenny


Jennifer Frost
GrammarCheck.net
___
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: copying milllions of small files and millions of dirs

2013-08-19 Thread Mark Felder
On Fri, Aug 16, 2013, at 1:46, Nicolas KOWALSKI wrote:
 On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:
  Is there a faster way to copy files over NFS?
 
 I would use find+cpio. This handles hard links, permissions, and in case 
 of later runs, will not copy files if they already exist on the 
 destination.
 
 # cd /source/dir
 # find . | cpio -pvdm /destination/dir
 

I always found sysutils/cpdup to be faster than rsync.
___
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: ipfw confusion

2013-08-19 Thread OpenSlate ChalkDust
On Sun, Aug 18, 2013 at 8:06 PM, Gary Aitken vagab...@blackfoot.net wrote:

 I'm having some weird ipfw behavior, or it seems weird to me, and am
 looking
 for an explaination and then a way out.

 ipfw list
 ...
 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup
 keep-state
 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup
 keep-state
 ...
 65534 deny log logamount 5 ip from any to any

 tail -f messages
 Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error
 sending response: permission denied

 12.32.36.65 is the addr of the internal interface (xl0) on the firewall
   and is the public dns server.
 12.32.44.142 is the addr of the external interface (tun0) which is bridged
 on a
 dsl line.

 It appears that a dns request was allowed in, but the response was not
 allowed
 back out.  It seems to me the above rules 21109 and 21129 should have
 allowed
 the request in and the response back out.

 It's possible a request could come in on 12.32.44.142,
 which is why 21109 is present;
 although I know I am getting failures to reply to refresh requests
 from a secondary addressed to 12.32.36.65

 What am I missing?

 I think you need explict rules like

n allow tcp from 12.32.44.142 to any dst-port 53 out via tun0 setup
keep-state

careful I'm just winging the syntax, better check the docsa for sure.
-- 
Gary Dunn
Open Slate Project
http://openslate.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: copying milllions of small files and millions of dirs

2013-08-19 Thread aurfalien

On Aug 19, 2013, at 10:41 AM, Mark Felder wrote:

 On Fri, Aug 16, 2013, at 1:46, Nicolas KOWALSKI wrote:
 On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote:
 Is there a faster way to copy files over NFS?
 
 I would use find+cpio. This handles hard links, permissions, and in case 
 of later runs, will not copy files if they already exist on the 
 destination.
 
 # cd /source/dir
 # find . | cpio -pvdm /destination/dir
 
 
 I always found sysutils/cpdup to be faster than rsync.

Ah, bookmarking this one.

Many thanks.

- aurf
___
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: ipfw confusion

2013-08-19 Thread Dan Lists
On Mon, Aug 19, 2013 at 1:06 AM, Gary Aitken vagab...@blackfoot.net wrote:


 ipfw list
 ...
 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup
 keep-state
 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup
 keep-state
 ...
 65534 deny log logamount 5 ip from any to any

 What am I missing?


Do you have a check-state rule earlier in your rules?

1000 check-state

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


Re: jail.conf ignoring exec.fib?

2013-08-19 Thread Karl Pielorz



--On 17 August 2013 17:32:18 +0100 Arthur Chance free...@qeng-ho.org 
wrote:



What do you get in the jail from

sysctl net.fibs
sysctl net.my_fibnum

?


I didn't know those sysctl's existed :) If I fire up the jail, and jexec to 
it, and run the above - I get:



root@jail:/ # sysctl net.fibs
net.fibs: 4
root@jail:/ # sysctl net.my_fibnum
net.my_fibnum: 0


(I have 'ROUTETABLES=4' in the Kernel, so the 4 above is correct).


That's for a jail which has:


jail {
jid = 100;
exec.fib = 1;
 ...


In /etc/jail.conf

So, on the surface it looks like 'exec.fib' is being ignored :( I tried it 
without quotes as well, to no avail.


-Karl
___
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: ipfw confusion

2013-08-19 Thread Gary Aitken
On 08/19/13 11:53, OpenSlate ChalkDust wrote:
 On Sun, Aug 18, 2013 at 8:06 PM, Gary Aitken vagab...@blackfoot.net wrote:
 
 I'm having some weird ipfw behavior, or it seems weird to me, and am
 looking
 for an explaination and then a way out.

 ipfw list
 ...
 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup
 keep-state
 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup
 keep-state
 ...
 65534 deny log logamount 5 ip from any to any

 tail -f messages
 Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error
 sending response: permission denied

 12.32.36.65 is the addr of the internal interface (xl0) on the firewall
   and is the public dns server.
 12.32.44.142 is the addr of the external interface (tun0) which is bridged
 on a
 dsl line.

 It appears that a dns request was allowed in, but the response was not
 allowed
 back out.  It seems to me the above rules 21109 and 21129 should have
 allowed
 the request in and the response back out.

 It's possible a request could come in on 12.32.44.142,
 which is why 21109 is present;
 although I know I am getting failures to reply to refresh requests
 from a secondary addressed to 12.32.36.65

 What am I missing?

 I think you need explict rules like
 
 n allow tcp from 12.32.44.142 to any dst-port 53 out via tun0 setup
 keep-state

Why would rules like that be necessary, given the conversation is initiated
from the outside?  Shouldn't setup keep-state let the whole conversation, 
both directions, through?

On 08/19/13 13:36, Dan Lists wrote:

 Do you have a check-state rule earlier in your rules?
 
 1000 check-state

Yes:

00500 check-state





___
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: ipfw confusion

2013-08-19 Thread Gary Aitken
On 08/19/13 00:36, Jason Cox wrote:
 Are you sure that your DNS requests are over TCP? DNS primarily uses UDP to
 serve requests. TCP is used when the response data size exceeds 512 bytes
 (I think), or for tasks such as zone transfers. I know a few resolver
 implementations use TCP for all queries, but most I have used not. You
 might want to add rules to allow UDP as well.

There are identical rules included for udp:

21149 allow udp from any to 12.32.44.142 dst-port 53 in via tun0 keep-state
21169 allow udp from any to 12.32.36.65 dst-port 53 in via tun0 keep-state

One of the requests which is being refused is a zone transfer request from 
a secondary which is a tcp request.  Others are probably udp.

 On Sun, Aug 18, 2013 at 11:06 PM, Gary Aitken vagab...@blackfoot.netwrote:
 
 I'm having some weird ipfw behavior, or it seems weird to me, and am
 looking
 for an explaination and then a way out.

 ipfw list
 ...
 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup
 keep-state
 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup
 keep-state
 ...
 65534 deny log logamount 5 ip from any to any

 tail -f messages
 Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error
 sending response: permission denied

 12.32.36.65 is the addr of the internal interface (xl0) on the firewall
   and is the public dns server.
 12.32.44.142 is the addr of the external interface (tun0) which is bridged
 on a
 dsl line.

 It appears that a dns request was allowed in, but the response was not
 allowed
 back out.  It seems to me the above rules 21109 and 21129 should have
 allowed
 the request in and the response back out.

 It's possible a request could come in on 12.32.44.142,
 which is why 21109 is present;
 although I know I am getting failures to reply to refresh requests
 from a secondary addressed to 12.32.36.65

 What am I missing?

 Is there a problem if the incoming rule is for tun0,
 which gets passed to named
 since 12.32.44.142 is on the physical machine running named,
 but named pumps its response out on 12.32.36.65,
 relying on routing to get it to the right place,
 and that fails to match the state tracking mechanism
 which started with 12.32.44.142?
 ___
 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: Tex Live vs. print/texlive-full (was Re: texlive and package updating)

2013-08-19 Thread Roland Smith
On Fri, Aug 16, 2013 at 08:43:13AM +0200, Aymeric Mansoux wrote:
 Hello,
 
 On Sat, August 10, 2013 6:03 pm, Nikola Pavlović wrote:
  On 09/08/13 18:40, Tim Daneliuk wrote:
  I've given up on all OS distribution-based TexLive drops.  I install
  texlive manually from their installer 

Same here. I generally don't update TeX more than once a year, which works
fine for me.

  and then run tlmgr under
  cron control nightly to keep it up-to-date.  I do this on
  FreeBSD (my primary dev and server platform) as well as all
  linux instances in my environment.  It makes things a lot simpler.
 
 
  How do you manage dependency tracking errors?

My solution to this problem was to maintain my own patches for ports that I
used that relied on TeX. These patches would point to the relevant binaries
without adding dependencies. I would apply these patches after running portsnap
and before running portmaster.

Luckily, TeXLive pretty much has everything TeX-related you'll ever need. And
after switching from emacs to vim, I also don't need auctex anymore. Other
ports have made TeX an optional dependency. Currently none of the ports that I
use require TeX.

  The last time I've
  installed it the way you do was on Slackware and since it doesn't do any
  dependency tracking there were no problems (as long as the binaries were
  in PATH).  I can imagine ports and pkg tools on FreeBSD complaining
  about missing TeX packages, and AFAIK Debian based Linux distributions
  will certainly complain (I think there is a workaround, but it involves
  messing with dpkg).
 
 I am also curious about this one. Any guideline or special considerations
 regarding the use of the Tex Live distribution straight into FreeBSD would
 be very helpful. Or is it just a matter of following this:
 http://www.tug.org/texlive/quickinstall.html

Those instructions pretty much cover what you have to do.

I add the path to the TeXLive binaries in /etc/login.conf instead of in one of
the shell rc files. And since I like using TeX fonts, I added the directories
for e.g. the tex-gyre fonts to the GS_FONTPATH environment variable, so that
ghostscript can find them if necessary.


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)


pgpbE1eiSZmyE.pgp
Description: PGP signature


Re: undelete files in msdosfs

2013-08-19 Thread Roland Smith
On Sun, Aug 18, 2013 at 09:28:03PM +0200, Polytropon wrote:
 On Sun, 18 Aug 2013 19:00:39 +0200, Matthias Apitz wrote:
  After a nice day in the fields, my wife deleted accidently the pictures
  in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have
  some FreeBSD 10-CUR tool to undelete the files, as there are some for M$?

 We have plenty of them. From my unbelievable list of tools for
 data recovery and regarding that you are trying to recover files
 from a camera: photorec. It's in the ports collection.

For the archives, it's in the sysutils/testdisk port. 
(Not the first place one would look, I'd say)

Nice find, BTW. One for the list of recovery tools indeed.

 In the
 same context, magicrescue is worth mentioning. If they all
 fail, consider using TSK.

 Note: Do _not_ do ANY writes to the card! Mount it -o ro if needed.
 Make an 1:1 copy (using dd_rescue from ports), work with that
 copy. Everything that slips through fat fingers could reduce the
 chance of a successful recovery session. I know it. ;-)

If you took any more pictures with the same card in the camera, it is almost
guaranteed that some of the original pictures will not be recoverable because
they've been overwritten.

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)


pgpFOrLvvyEwq.pgp
Description: PGP signature


Re: where to start with PGP/GPG?

2013-08-18 Thread Graham Todd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I never needed to use pgp till now.
So I'm not sure where to start.
Is security/gnupg the way to go?
Any other advice?

Thanks
Anton

You might like to look at:

http://www.cyberdelix.net/tech/bsd-gpg.htm

as a start.  Its got a list of related artcles with the page that
might give you some other directions in which to look.

The gnupg-users mailing list MIGHT be able to give you more
FreeBSD-specific help, but I must confess I have not seen any FreeBSD
specific answers or questions for a long time. Anyway, here is the URL
for the mailing list(s):

http://www.gnupg.org/documentation/mailing-lists.en.html


++ Graham Todd
Using gNewSense Linux 3.0 Parkes

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlIQjpQACgkQklFwVWr4Yu+KDQCgmdb5GN4HufoirmxOISbKayAl
Fw0AoOX2qeMft3ogEiM38ho2Fjkzurnj
=VE0D
-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


Re: VPN where local private address collide

2013-08-18 Thread Frank Leonhardt

On 18/08/2013 00:29, Terje Elde wrote:

 The obvious answer is IPv6, of course. I'm surprised no one has 
mentioned it yet.


You seemed dead set on not renumbering the networks, and moving to 
IPv6 would not only be just that, but also be harder than just 
renumbering IPv4-nets, so you answered that question for us already.


I was being ironic ;-)

I'm not sure that TLS would cause more problems than any other packets, 
but as you point out, the exercise is bound to be full of pooh traps as 
yet undiscovered. FTP should be interesting, for a start. But for most 
things, why would swapping an IP address in the packet header cause any 
kind of problem as long as it was done consistently?


Apparently Cisco routers manage to sort this all out as a matter of 
course, which goes some way to explaining why they cost so much. There 
are lots of corporate networks on 10.x.x.x, and I'm told this kind of 
caper is used to sort them out when they collide. Paying for a Cisco VPN 
could easily work out cheaper than reconfiguring a large corporate LAN, 
but I don't have the budget for either. Unfortunately this goes beyond 
my current knowledge of FreeBSD's networking layers so I may be busy for 
some time.


Regards, Frank.


___
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: VPN where local private address collide

2013-08-18 Thread Terje Elde
On 18. aug. 2013, at 12.20, Frank Leonhardt wrote:
 I'm not sure that TLS would cause more problems than any other packets, but 
 as you point out, the exercise is bound to be full of pooh traps as yet 
 undiscovered. FTP should be interesting, for a start. But for most things, 
 why would swapping an IP address in the packet header cause any kind of 
 problem as long as it was done consistently?

I was cutting corners and trying to keep the reply short (was on cellphone at 
the time), and I think the word headers might have lead to some crosstalk.

For TCP/IP itself, just consistently swapping the IP would solve the problem.  
That'd fix a lot, and things like like ssh and http should work fine with that.

If we look at other things though, like SIP, it's not that easy.  I'm using SIP 
as an example just because it illustrates the point nicely, and I know it well.

For SIP, you'd have the IP in multiple places:

TCP/IP - the connection to the server.
SIP - The application protocol
RTP - Payload in the application protocol, carrying media-metadata

Now, you'd get the connection to the server (TCP/IP), but for registering 
against the SIP-server, the client would include it's IP in the SIP-layer as 
well, in a http-like header.  It'd tell the server where it would want to be 
contacted for things like incoming calls.  Initially this would point to the 
clients perspective of the IP, and not to the IP it were to carry after NAT.  
That is, the client would be able to register, but for incoming calls the 
server would try to contact the IP in the wrong place.

For placing calls, you'd also have information about where media-streams should 
go in RTP, both IP and port numbers.  This would also carry wrong information 
if you're merely changing the IP/port in TCP/IP-layers.

Both of these can be resolved wither in the router/firewall/NAT-box, or worked 
around on the server, but it's not pretty by a long shot, and it's completely 
avoidable if you can avoid the NAT.

 There are lots of corporate networks on 10.x.x.x, and I'm told this kind of 
 caper is used to sort them out when they collide. Paying for a Cisco VPN 
 could easily work out cheaper than reconfiguring a large corporate LAN, but I 
 don't have the budget for either.

This kind of thing *can* be used to sort out colliding subnets, but that 
doesn't mean it *should* be used to resolve the issue(s).

You mentioned that a Cisco-guy said this would work, and explained details of 
how to do it.

I'm thinking that the same Cisco-guy could also give details on how to drop a 
rack full of Juniper-equipment out of a 10th floor window, in order to replace 
it with Cisco-gear.  It's quite possible to do that, but again, that doesn't 
mean you should.

I think the gist of the issue here is that you have a problem, and you're 
(correctly) thinking you can solve a lot if you NAT the two networks together.  
That's not wrong, it's completely true.  You can get a lot to work in that way.

Then you also have some random-looking guy on a mailing-list telling you that 
Yes, you can do that.  But you shouldn't.  I get how hard it can be to take 
that kind of advice, especially when you know and have been told that it's 
quite possible.

If you really, really want to explore that route, then here's one way to go 
about it:

Use the VPN just to get the link up, don't worry about using NAT with MPD.  
It's nice to keep all of the nat/firewall-bits in a single place, and pf is a 
good solution to it.

If you're running the VPN off of the primary gateway, this should be fairly 
straight-forward, and you should be able to use something like this:

pf.conf on gateway/vpn-endpoint in lan_a:

lan_a = 192.168.0.0/24
lan_b = 192.168.0.0/24
vpn_a = 192.168.1.0/24
vpn_b = 192.168.2.0/24

binat on $vpn_if from $lan_a to any - $vpn_a


pf.conf on gateway/vpn-endpoint in lan_b:

lan_a = 192.168.0.0/24
lan_b = 192.168.0.0/24
vpn_a = 192.168.1.0/24
vpn_b = 192.168.2.0/24

binat on $vpn_if from $lan_b to any - $vpn_b


The VPN-tunnel itself could ignore any concept of the conflicting 
192.168.0.0/24-range, and simply deal with 192.168.1.0/24 being on one end, and 
192.168.2.0/24 on the other.


If you're standing in lan_a, and your local address is 192.168.0.182, and you'd 
like to reach 192.168.0.17 in lan_b, you'd talk to 192.168.2.17.

In lan_a, the conneciton would be seen as 192.168.0.182 - 192.168.2.17.

Crossing the lan_a VPN-endpoing going into the tunnel, it'd get rewritten to be 
192.168.1.182 - 192.168.2.17.
Crossing the lan_b VPN-endpoint going into lan_b, it'd get rewritten to be 
192.168.1.182 - 192.168.0.17

You'd then hit the right server.

The response from 192.168.0.17 (in lan_b) would get routed back over the 
VPN-tunnel, since it's sent to 192.168.1.182.

That is, in lan_b the response would be 192.168.0.17 - 192.168.1.182.

Crossing the lan_b VPN-endpoing going into the tunnel, on the way back to 
lan_a, it'd get rewritten to be 192.168.2.17 - 

Re: VPN where local private address collide

2013-08-18 Thread Terje Elde
On 18. aug. 2013, at 02.43, Adam Vande More wrote:
  What about SSL/TLS for example?  How would the router swap the header in an 
  encrypted session?
 
 Same as it would any sessions since only the payload is encrypted.  What 
 Frank calls basic nat, most people call static nat(at least people who have 
 read enough Cisco docs) and it works just fine. Also you are confusing 
 headers.

The point I was aiming for was that even if you were to swap the IPs in the 
IP-header on the gateway, some protocols still reference the IPs inside the 
TCP-payload, and while you can rewrite that on a NAT-box using an application 
level gateway, you can not do that if the session is using SSL or TLS.

I was referring to headers *inside* the SSL/TLS-layers.  I thought that was 
obvious, but I see I might not have been clear enough.

Yes, you can often still resolve it on the server, but just how messy does one 
want to get stacking workaround on top of workaround, just to avoid renumbering 
the network?

Terje

___
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: Mouse Trails?

2013-08-18 Thread Gary Aitken
On 08/17/13 19:08, cpghost wrote:
 On 08/17/13 18:14, Walter Hurry wrote:
 On Sat, 17 Aug 2013 17:31:26 +0200, Polytropon wrote:

 Good ole Xeyes... ;-) But beware, xeyes crashes X server right now! Using
 
 xeyes-1.1.1
 xorg-server-1.7.7_8,1
 
 on
 FreeBSD 9.2-PRERELEASE #0 r253323 Sat Jul 13 21:00:32 CEST 2013 amd64
 
 I'm not the only one who's got X server crashes with xeyes:
 
 http://lists.freebsd.org/pipermail/freebsd-x11/2012-May/011833.html
 
 @Polytropon: what version of xeyes/xorg-server are you using?

pkg_info | grep xeyes
xeyes-1.1.1 A follow the mouse X demo
pkg_info | grep xorg-server
xorg-server-1.7.7_8,1 X.Org X server and related programs

Works fine here, amd64.

How soon does it crash?
  First mouse movement, program startup, or what?

The behavior I see is:
  mouse is visible
  start typing in xterm and cursor disappears
  xeyes comes up with eyes pointing to where cursor was
  a second or so later the cursor reappears
  move the cursor and eyes follow it

Gary
___
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: Mouse Trails?

2013-08-18 Thread cpghost
On 08/18/13 16:48, Gary Aitken wrote:
 On 08/17/13 19:08, cpghost wrote:
 On 08/17/13 18:14, Walter Hurry wrote:
 On Sat, 17 Aug 2013 17:31:26 +0200, Polytropon wrote:
 
 Good ole Xeyes... ;-) But beware, xeyes crashes X server right now! Using

 xeyes-1.1.1
 xorg-server-1.7.7_8,1

 on
 FreeBSD 9.2-PRERELEASE #0 r253323 Sat Jul 13 21:00:32 CEST 2013 amd64

 I'm not the only one who's got X server crashes with xeyes:

 http://lists.freebsd.org/pipermail/freebsd-x11/2012-May/011833.html

 @Polytropon: what version of xeyes/xorg-server are you using?
 
 pkg_info | grep xeyes
 xeyes-1.1.1 A follow the mouse X demo
 pkg_info | grep xorg-server
 xorg-server-1.7.7_8,1 X.Org X server and related programs
 
 Works fine here, amd64.
 
 How soon does it crash?
   First mouse movement, program startup, or what?

At program startup.

Using fluxbox here. I'll try with another WM. Maybe it's a
WM problem?

No other programs cause X server crashes here. I must say
that it caught me by surprise!

 The behavior I see is:
   mouse is visible
   start typing in xterm and cursor disappears
   xeyes comes up with eyes pointing to where cursor was
   a second or so later the cursor reappears
   move the cursor and eyes follow it
 
 Gary
 

-cpghost

-- 
Cordula's Web. http://www.cordula.ws/

___
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: VPN where local private address collide

2013-08-18 Thread Frank Leonhardt


On 18/08/2013 12:51, Terje Elde wrote:

On 18. aug. 2013, at 12.20, Frank Leonhardt wrote:

I'm not sure that TLS would cause more problems than any other packets, but as 
you point out, the exercise is bound to be full of pooh traps as yet 
undiscovered. FTP should be interesting, for a start. But for most things, why 
would swapping an IP address in the packet header cause any kind of problem as 
long as it was done consistently?

I was cutting corners and trying to keep the reply short (was on cellphone at 
the time), and I think the word headers might have lead to some crosstalk.

For TCP/IP itself, just consistently swapping the IP would solve the problem.  
That'd fix a lot, and things like like ssh and http should work fine with that.

If we look at other things though, like SIP, it's not that easy.  I'm using SIP 
as an example just because it illustrates the point nicely, and I know it well.

For SIP, you'd have the IP in multiple places:

TCP/IP - the connection to the server.
SIP - The application protocol
RTP - Payload in the application protocol, carrying media-metadata

Now, you'd get the connection to the server (TCP/IP), but for registering 
against the SIP-server, the client would include it's IP in the SIP-layer as 
well, in a http-like header.  It'd tell the server where it would want to be 
contacted for things like incoming calls.  Initially this would point to the 
clients perspective of the IP, and not to the IP it were to carry after NAT.  
That is, the client would be able to register, but for incoming calls the 
server would try to contact the IP in the wrong place.

For placing calls, you'd also have information about where media-streams should 
go in RTP, both IP and port numbers.  This would also carry wrong information 
if you're merely changing the IP/port in TCP/IP-layers.

Both of these can be resolved wither in the router/firewall/NAT-box, or worked 
around on the server, but it's not pretty by a long shot, and it's completely 
avoidable if you can avoid the NAT.


There are lots of corporate networks on 10.x.x.x, and I'm told this kind of 
caper is used to sort them out when they collide. Paying for a Cisco VPN could 
easily work out cheaper than reconfiguring a large corporate LAN, but I don't 
have the budget for either.

This kind of thing *can* be used to sort out colliding subnets, but that 
doesn't mean it *should* be used to resolve the issue(s).

You mentioned that a Cisco-guy said this would work, and explained details of 
how to do it.

I'm thinking that the same Cisco-guy could also give details on how to drop a 
rack full of Juniper-equipment out of a 10th floor window, in order to replace 
it with Cisco-gear.  It's quite possible to do that, but again, that doesn't 
mean you should.

I think the gist of the issue here is that you have a problem, and you're 
(correctly) thinking you can solve a lot if you NAT the two networks together.  
That's not wrong, it's completely true.  You can get a lot to work in that way.

Then you also have some random-looking guy on a mailing-list telling you that Yes, 
you can do that.  But you shouldn't.  I get how hard it can be to take that kind of 
advice, especially when you know and have been told that it's quite possible.

If you really, really want to explore that route, then here's one way to go 
about it:

Use the VPN just to get the link up, don't worry about using NAT with MPD.  
It's nice to keep all of the nat/firewall-bits in a single place, and pf is a 
good solution to it.

If you're running the VPN off of the primary gateway, this should be fairly 
straight-forward, and you should be able to use something like this:

pf.conf on gateway/vpn-endpoint in lan_a:

lan_a = 192.168.0.0/24
lan_b = 192.168.0.0/24
vpn_a = 192.168.1.0/24
vpn_b = 192.168.2.0/24

binat on $vpn_if from $lan_a to any - $vpn_a


pf.conf on gateway/vpn-endpoint in lan_b:

lan_a = 192.168.0.0/24
lan_b = 192.168.0.0/24
vpn_a = 192.168.1.0/24
vpn_b = 192.168.2.0/24

binat on $vpn_if from $lan_b to any - $vpn_b


The VPN-tunnel itself could ignore any concept of the conflicting 
192.168.0.0/24-range, and simply deal with 192.168.1.0/24 being on one end, and 
192.168.2.0/24 on the other.


If you're standing in lan_a, and your local address is 192.168.0.182, and you'd 
like to reach 192.168.0.17 in lan_b, you'd talk to 192.168.2.17.

In lan_a, the conneciton would be seen as 192.168.0.182 - 192.168.2.17.

Crossing the lan_a VPN-endpoing going into the tunnel, it'd get rewritten to be 
192.168.1.182 - 192.168.2.17.
Crossing the lan_b VPN-endpoint going into lan_b, it'd get rewritten to be 
192.168.1.182 - 192.168.0.17

You'd then hit the right server.

The response from 192.168.0.17 (in lan_b) would get routed back over the 
VPN-tunnel, since it's sent to 192.168.1.182.

That is, in lan_b the response would be 192.168.0.17 - 192.168.1.182.

Crossing the lan_b VPN-endpoing going into the tunnel, on the way back to lan_a, 
it'd get 

Re: Mouse Trails?

2013-08-18 Thread Walter Hurry
On Sun, 18 Aug 2013 18:29:23 +0200, cpghost wrote:

 On 08/18/13 16:48, Gary Aitken wrote:
 On 08/17/13 19:08, cpghost wrote:
 On 08/17/13 18:14, Walter Hurry wrote:
 On Sat, 17 Aug 2013 17:31:26 +0200, Polytropon wrote:
 
 Good ole Xeyes... ;-) But beware, xeyes crashes X server right now!
 Using

 xeyes-1.1.1 xorg-server-1.7.7_8,1

 on FreeBSD 9.2-PRERELEASE #0 r253323 Sat Jul 13 21:00:32 CEST 2013
 amd64

 I'm not the only one who's got X server crashes with xeyes:

 http://lists.freebsd.org/pipermail/freebsd-x11/2012-May/011833.html

 @Polytropon: what version of xeyes/xorg-server are you using?
 
 pkg_info | grep xeyes xeyes-1.1.1 A follow the mouse X demo
 pkg_info | grep xorg-server xorg-server-1.7.7_8,1 X.Org X server and
 related programs
 
 Works fine here, amd64.
 
 How soon does it crash?
   First mouse movement, program startup, or what?
 
 At program startup.
 
 Using fluxbox here. I'll try with another WM. Maybe it's a WM problem?
 
 No other programs cause X server crashes here. I must say that it caught
 me by surprise!
 
 The behavior I see is:
   mouse is visible start typing in xterm and cursor disappears xeyes
   comes up with eyes pointing to where cursor was a second or so later
   the cursor reappears move the cursor and eyes follow it

No problem for me since Polytropon suggested it. I'm on amd64 - WM is 
Openbox.

___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-18 Thread Juris Kaminskis
as suggested i tried now foo2xqx filter. My printcap entry:
---
HP:\
:lp=:\
:sh:\
:mx#0:\
:rm=192.168.1.105:\
:rp=raw:\
:sd=/var/spool/hp:\
:if=/usr/bin/foo2xqx-wrapper:\
:lf=/var/log/lpd-errs:\
---

Now I get following errors in log file:

---
Aug 18 21:16:17 laptops lpd[11798]: lpd startup: logging=0
Aug 18 21:16:17 laptops foo2xqx-wrapper: foo2xqx-wrapper -w132 -l66 -i0 -n
root
Aug 18 21:16:18 laptops lpd[11799]: restarting HP
Aug 18 21:16:18 laptops foo2xqx-wrapper: foo2xqx-wrapper -w132 -l66 -i0 -n
root
Aug 18 21:16:19 laptops lpd[11799]: restarting HP
Aug 18 21:16:19 laptops foo2xqx-wrapper: foo2xqx-wrapper -w132 -l66 -i0 -n
root
Aug 18 21:16:19 laptops lpd[11799]: restarting HP
Aug 18 21:16:19 laptops foo2xqx-wrapper: foo2xqx-wrapper -w132 -l66 -i0 -n
root
Aug 18 21:16:19 laptops lpd[11799]: restarting HP
Aug 18 21:16:19 laptops foo2xqx-wrapper: foo2xqx-wrapper -w132 -l66 -i0 -n
root
Aug 18 21:16:19 laptops lpd[11799]: HP: job could not be sent to remote
host (cf
Aug 18 21:16:20 laptops lpd[11799]: mail sent to user root about job
unknown o
---

why foo2xqx-wrapper is forcing restart for the printer?



2013/8/6 Juris Kaminskis juris.kamins...@gmail.com


 after several trials and errors and reading through FreeBSD handbook I am
 at dead end on how to proceed further, hope someone can guide me.

 my /etc/printcap entry:
 ---
 HP:\
 :rm=192.168.1.105:sd=/var/spool/hp:lf=/var/log/lpd-errs:\
 :if=/usr/local/libexec/hp-network:
 ---

 my /usr/local/libexec/hp-network entry:
 ---
 #!/bin/sh
 #
 # hp-network - Text filter for HP printer `NPI2B483C' listening
 # on port 9100. Installed in /usr/local/libexec/hp-network
 #
 exec /usr/libexec/lpr/lpf $@ | /usr/local/libexec/netprint 192.168.1.105
 9100
 ---

 my /usr/local/libexec/netprint entry:
 ---
 !/usr/bin/perl -w
 #
 # netprint - Text filter for printer attached to network
 # Installed in /usr/local/libexec/netprint
 #

 $#ARGV eq 1 || die Usage: $0 printer-hostname port-number;

 $printer_host = $ARGV[0];
 $printer_port = $ARGV[1];
 use Socket;

 $protocol = getprotobyname('tcp');
 $address = inet_aton(192.168.1.105);
 $sockaddr = sockaddr_in($printer_port, $address);

 socket(PRINTER, PF_INET, SOCK_STREAM, $protocol)
   || die Can't create TCP/IP stream socket: $!;
 connect(PRINTER, $sockaddr) || die Can't contact $printer_host: $!;

 while (STDIN) { print PRINTER; } exit 0;
 ---

 Now my /var/log/lpd-errs is empty and in spool directory I have following
 after running command lptest 20 5 | lpr -P HP :

 content of /var/spool/hp
 total 16
 -rw-r--r-- 1 root juris 4 Aug 6 21:55 .seq
 -rw-rw 1 daemon juris 70 Aug 6 21:55 cfA014laptops
 -rw-rw 1 root juris 605 Aug 6 21:55 dfA014laptops
 -rw-rw-r-- 1 root juris 0 Aug 6 21:55 errs.ukc0YLC
 -rw-rw-r-- 1 root juris 5 Aug 6 21:55 lock

 My printer is not responding in any way, it keeps on flashing Ready. it is
 on the internal network having ip 192.168.1.105

 thanks
 Juris


___
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


undelete files in msdosfs

2013-08-18 Thread Matthias Apitz

Hello,

After a nice day in the fields, my wife deleted accidently the pictures
in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have
some FreeBSD 10-CUR tool to undelete the files, as there are some for M$?
Thanks

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-18 Thread Chris Hill

On Sun, 18 Aug 2013, Juris Kaminskis wrote:


as suggested i tried now foo2xqx filter. My printcap entry:
---
HP:\
:lp=:\
:sh:\
:mx#0:\
:rm=192.168.1.105:\
:rp=raw:\
:sd=/var/spool/hp:\
:if=/usr/bin/foo2xqx-wrapper:\
:lf=/var/log/lpd-errs:\
---

^
That backslash needs to go, for one thing. The backslash indicates 
continuation on the next line, but I don't know what would happen if 
there is no next line. In other words, the last line should NOT end with 
a backslash.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
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


ipfw gateway rerouting

2013-08-18 Thread Jos Chrispijn
Can someone please hint me to to good explanatory site that explains how 
to reroute a network server to different/non standard network gateway(s) 
with ipfw?


thanks,
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: undelete files in msdosfs

2013-08-18 Thread Jerry
On Sun, 18 Aug 2013 19:00:39 +0200
Matthias Apitz articulated:

 After a nice day in the fields, my wife deleted accidently the
 pictures in her cam; the microSD mounts fine in FreeBSD as -t
 msdosfs; do we have some FreeBSD 10-CUR tool to undelete the files,
 as there are some for M$?

There are dozens of Microsoft based applications that are intended to
undelete a file, assuming you have not otherwise over written the file
or messed up the file system. I even saw one designed just for cameras.
Google is your friend.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-18 Thread Juris Kaminskis
Yes indeed, i corrected, but i have still the problem
2013. gada 18. aug. 22:01 Chris Hill ch...@monochrome.org rakstīja:

 On Sun, 18 Aug 2013, Juris Kaminskis wrote:

  as suggested i tried now foo2xqx filter. My printcap entry:
 ---
 HP:\
 :lp=:\
 :sh:\
 :mx#0:\
 :rm=192.168.1.105:\
 :rp=raw:\
 :sd=/var/spool/hp:\
 :if=/usr/bin/foo2xqx-wrapper:\
 :lf=/var/log/lpd-errs:\
 ---

 ^
 That backslash needs to go, for one thing. The backslash indicates
 continuation on the next line, but I don't know what would happen if there
 is no next line. In other words, the last line should NOT end with a
 backslash.

 HTH.

 --
 Chris Hill   ch...@monochrome.org
 ** [ Busy Expunging / ]

___
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: undelete files in msdosfs

2013-08-18 Thread Frank Leonhardt
I wrote something to do this a long time back, but I doubt I can find 
the source quickly. The easiest way would be to download a forensic 
live-CD like DEFT, which includes Undelete 360. Possibly over-kill but 
it's handy to have one around. Most of these forensic tools use a GUI.


There is a program called fatback in the ports collection but I haven't 
tried it. The tools on these forensic live-CDs are likely to be more 
powerful by a long way.


Regards, Frank.

On 18/08/2013 18:00, Matthias Apitz wrote:

Hello,

After a nice day in the fields, my wife deleted accidently the pictures
in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have
some FreeBSD 10-CUR tool to undelete the files, as there are some for M$?
Thanks

matthias


___
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: undelete files in msdosfs

2013-08-18 Thread Polytropon
On Sun, 18 Aug 2013 19:00:39 +0200, Matthias Apitz wrote:
 After a nice day in the fields, my wife deleted accidently the pictures
 in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have
 some FreeBSD 10-CUR tool to undelete the files, as there are some for M$?

We have plenty of them. From my unbelievable list of tools for
data recovery and regarding that you are trying to recover files
from a camera: photorec. It's in the ports collection. In the
same context, magicrescue is worth mentioning. If they all
fail, consider using TSK.

Note: Do _not_ do ANY writes to the card! Mount it -o ro if needed.
Make an 1:1 copy (using dd_rescue from ports), work with that
copy. Everything that slips through fat fingers could reduce the
chance of a successful recovery session. I know it. ;-)







-- 
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: undelete files in msdosfs

2013-08-18 Thread Matthias Apitz
El día Sunday, August 18, 2013 a las 03:23:18PM -0400, Jerry escribió:

 On Sun, 18 Aug 2013 19:00:39 +0200
 Matthias Apitz articulated:
 
  After a nice day in the fields, my wife deleted accidently the
  pictures in her cam; the microSD mounts fine in FreeBSD as -t
  msdosfs; do we have some FreeBSD 10-CUR tool to undelete the files,
  as there are some for M$?
 
 There are dozens of Microsoft based applications that are intended to
 undelete a file, assuming you have not otherwise over written the file
 or messed up the file system. I even saw one designed just for cameras.
 Google is your friend.

Thanks for your reply, but luckily we do not have any Microsoft infected
computer at home (and we will no have).

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ f: +49-170-4527211
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: Setup HP Laserjet 1120m over network with LPD

2013-08-18 Thread Warren Block

On Sun, 18 Aug 2013, Juris Kaminskis wrote:


Yes indeed, i corrected, but i have still the problem


Please don't top-post, it makes responding more difficult.

lpd will restart a queue when it gets an error from a filter.  Manually 
test the filter before trying to use it with lpd.

___
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: undelete files in msdosfs

2013-08-18 Thread Polytropon
On Sun, 18 Aug 2013 20:28:53 +0100, Frank Leonhardt wrote:
 I wrote something to do this a long time back, but I doubt I can find 
 the source quickly. The easiest way would be to download a forensic 
 live-CD like DEFT, which includes Undelete 360. Possibly over-kill but 
 it's handy to have one around. Most of these forensic tools use a GUI.

Or UBCD, if I remember correctly. It also offers some of those
tools, usually the text-mode variants (not CLI, but dialog-driven)
which allow you to perform the tasks quickly and safely.



 There is a program called fatback in the ports collection but I haven't 
 tried it. The tools on these forensic live-CDs are likely to be more 
 powerful by a long way.

Most of the programs can be used from within FreeBSD. As I said,
there are many of those available for free. Some of them require
the user to _know_ what he does. The more complex the recovery
task is, the more knowledge is involved. GUIs are good to hide
this fact, and in worst case, you lose your data. Of course there
is no problem delegating the recovery task to a service center
for $$$. And sometimes, if you look close enough, you can see
that those are using the free tools. :-)






-- 
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: undelete files in msdosfs

2013-08-18 Thread iamatt
Its called backups.   Not trying to be a dick but it's 2013. Not 1983.
Plenty of online backup/archive options.  As always. Test restores
periodically.
On Aug 18, 2013 2:30 PM, Matthias Apitz g...@unixarea.de wrote:

 El día Sunday, August 18, 2013 a las 03:23:18PM -0400, Jerry escribió:

  On Sun, 18 Aug 2013 19:00:39 +0200
  Matthias Apitz articulated:
 
   After a nice day in the fields, my wife deleted accidently the
   pictures in her cam; the microSD mounts fine in FreeBSD as -t
   msdosfs; do we have some FreeBSD 10-CUR tool to undelete the files,
   as there are some for M$?
 
  There are dozens of Microsoft based applications that are intended to
  undelete a file, assuming you have not otherwise over written the file
  or messed up the file system. I even saw one designed just for cameras.
  Google is your friend.

 Thanks for your reply, but luckily we do not have any Microsoft infected
 computer at home (and we will no have).

 matthias

 --
 Sent from my FreeBSD netbook

 Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ f:
 +49-170-4527211
 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-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: undelete files in msdosfs

2013-08-18 Thread CeDeROM
On Sun, Aug 18, 2013 at 7:00 PM, Matthias Apitz g...@unixarea.de wrote:
 After a nice day in the fields, my wife deleted accidently the pictures
 in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have
 some FreeBSD 10-CUR tool to undelete the files, as there are some for M$?

/usr/ports/sysutils/testdisk

http://www.cgsecurity.org/wiki/TestDisk

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.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: undelete files in msdosfs

2013-08-18 Thread Polytropon
On Sun, 18 Aug 2013 15:01:37 -0500, iamatt wrote:
 Its called backups.   Not trying to be a dick but it's 2013. Not 1983.

But it doesn't help when Johnny Fatfingers presses the wrong
buttons on the camera _prior_ to archiving the photos. :-)



 Plenty of online backup/archive options. 

And local options, because you have to trust your online
backup provider (except it's _yourself_ who provides and
maintains the systems).



 As always. Test restores
 periodically.

A backup that cannot be restored is _not_ a backup. :-)




-- 
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: undelete files in msdosfs

2013-08-18 Thread Polytropon
On Sun, 18 Aug 2013 22:09:57 +0200, CeDeROM wrote:
 On Sun, Aug 18, 2013 at 7:00 PM, Matthias Apitz g...@unixarea.de wrote:
  After a nice day in the fields, my wife deleted accidently the pictures
  in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have
  some FreeBSD 10-CUR tool to undelete the files, as there are some for M$?
 
 /usr/ports/sysutils/testdisk
 
 http://www.cgsecurity.org/wiki/TestDisk

That one is also on my famous list, and if I remember correctly,
also part of the UBCD for OS-less use. :-)



-- 
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: undelete files in msdosfs

2013-08-18 Thread Matthias Apitz
El día Sunday, August 18, 2013 a las 10:09:57PM +0200, CeDeROM escribió:

 On Sun, Aug 18, 2013 at 7:00 PM, Matthias Apitz g...@unixarea.de wrote:
  After a nice day in the fields, my wife deleted accidently the pictures
  in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have
  some FreeBSD 10-CUR tool to undelete the files, as there are some for M$?
 
 /usr/ports/sysutils/testdisk
 
 http://www.cgsecurity.org/wiki/TestDisk

Thanks! This did what I was looking for.

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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: Pre-sales question

2013-08-18 Thread petersontr
Sir:

I would like to know if your freebsd OS 9.1 suite on CD(DVD) can be installed, 
and then run, on a Dell Inspiron 531S? I looked-over your website, and did not 
see a citation for that specific PC (though I did see it for others).

For your reference, my PC has a AMD Athlon(tm) 64 X2 Dual core processor 3800+ 
2.01 GHz. The operating system on it right now (Vista) is 32-bit. The PC can 
have up to 4GB of RAM. I have a 80GB Hard drive on it right now. I would like 
to hitch it to the PC using a USB cable.

If version 9.1 does run on that machine, then I may order a copy for myself.


R.S.V.P.,


Glen Peterson
Cedarburg, WI.
peterso...@aol.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: Pre-sales question

2013-08-18 Thread Thomas Mueller
I would like to know if your freebsd OS 9.1 suite on CD(DVD) can be installed, 
and then run, on a Dell Inspiron 531S? I looked-over your website, and did
+not see a citation for that specific PC (though I did see it for others).

 For your reference, my PC has a AMD Athlon(tm) 64 X2 Dual core processor 
 3800+ 2.01 GHz. The operating system on it right now (Vista) is 32-bit. The 
 PC can
 have up to 4GB of RAM. I have a 80GB Hard drive on it right now. I would like 
 to hitch it to the PC using a USB cable.

 If version 9.1 does run on that machine, then I may order a copy for myself.


 Glen Peterson
 Cedarburg, WI.
 peterso...@aol.com

You can go to ftp.freebsd.org/pub/FreeBSD and download iso files for FreeBSD 
amd64 and i386.

You can download FreeBSD 9.1 or the newest release candidate for 9.2 (now RC2) 
and install from CD or DVD.

Is that 80GB hard drive currently in the PC? 


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


freebsd 9.2 via svn

2013-08-18 Thread John
Hello list,

Is it safe to start using 9.2 in the svn repos? I have a line like
this in a daily crontab:

svn co svn://svn.us-east.freebsd.org/base/releng/9.1 /usr/src

Can I change that 9.1 to 9.2 now, or should I wait? I aim to follow
9.2-R with security updates.

thanks,
-- 
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: freebsd 9.2 via svn

2013-08-18 Thread Polytropon
On Mon, 19 Aug 2013 02:28:25 +0100, John wrote:
 Is it safe to start using 9.2 in the svn repos? I have a line like
 this in a daily crontab:
 
 svn co svn://svn.us-east.freebsd.org/base/releng/9.1 /usr/src
 
 Can I change that 9.1 to 9.2 now, or should I wait? I aim to follow
 9.2-R with security updates.

9.2-RELEASE hasn't been released yet. :-)

http://www.freebsd.org/releases/9.2R/schedule.html

If you don't use a custom kernel, why not use freebsd-update
and follow the 9.2-RELEASE path with the security updates?




-- 
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: freebsd 9.2 via svn

2013-08-18 Thread John
On Mon, Aug 19, 2013 at 04:17:02AM +0200, Polytropon wrote:

 9.2-RELEASE hasn't been released yet. :-)

well yes, there is that I suppose ;)

 If you don't use a custom kernel, why not use freebsd-update
 and follow the 9.2-RELEASE path with the security updates?

Not sure if this is logic or religon, but freebsd-update makes me
nervous. I'm allergic to automatic anything unless I've written it. The only
times I've run generic is when installing a new system, to see what I
need and what I don't. Maybe I'm just old.

thanks for the input,
-- 
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: freebsd 9.2 via svn

2013-08-18 Thread Polytropon
On Mon, 19 Aug 2013 04:22:15 +0100, John wrote:
  If you don't use a custom kernel, why not use freebsd-update
  and follow the 9.2-RELEASE path with the security updates?
 
 Not sure if this is logic or religon, but freebsd-update makes me
 nervous. I'm allergic to automatic anything unless I've written it. The only
 times I've run generic is when installing a new system, to see what I
 need and what I don't. Maybe I'm just old.

You demonstrated a valid argument for building from source.
Using freebsd-update, a binary method is used for updating
the _default_ system and the GENERIC kernel. If you have
custom settings and therefore _intend_ to build from source,
changing the version in your svn co command to the new
-RELEASE-pX branch (security update branch) is safe.

I've been using a similar approach with CVS to follow the
-STABLE branch with a custom kernel and custom settings for
building the system. If this makes me old, I should deserve
several birthday parties per year. ;-)



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


Mouse Trails?

2013-08-17 Thread Walter Hurry
My sight is deteriorating. I can still see and read the screen, but 
sometimes locating the mouse pointer (LXDE here) is difficult.

Is there a port which will give me mouse trails when the rodent is moved?

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: VPN where local private address collide

2013-08-17 Thread Frank Leonhardt

On 16/08/2013 20:30, Terje Elde wrote:

On 16. aug. 2013, at 19:17, Frank Leonhardt freebsd-...@fjl.co.uk wrote:

Has anyone actually done this, and if so, how?

This is wrong on so many levels, and you'll have to work around all og them. 
Yes, you can use nat, but what about adress-resolution? And so on.

If it's a specific thing you need to work - a spesific server for example - nat 
can work, but if you need general bridging, best to avoid conflicts.

Note that there are alternatives, such as L2-bridging rather than L3.

If you explain a bit more of the setup, and what you need to work, it'd be 
easier to suggest something.

Right now, we know bits of the setup, but not really what problem(s) you're 
trying to solve.




The setup is basically as described and the desired outcome is to NAT 
the other end so the addresses appear different. FWIW it only has to 
be done one way, which I didn't mention. Address resolution is not a 
problem - easily fixed at DNS. As I said, the only thing that cannot be 
changed are the local IP addresses in use, so thanks for heeding my 
warning. Lesser mortals might have change the ranges anyway. Yes, its 
obviously best to avoid conflicts but if you're bigger than Fred-in-shed 
you're going to get them.


What I'm asking (VPN NAT) is possible, and a recognised solution to the 
problem I've described - the big boys do it all the time, apparently. My 
local Cisco expert was able to talk me through doing it, but only on IOS 
:-( Basically you put the VPN traffic through a NAT table on both ends, 
so all the remote addresses get mapped to an alternative local range. 
You pretty much have to do it both ways (source and destination) or you 
won't get a reply.


I can think of dozens of workaround for specific situations (e.g. it it 
was to access a limited number of hosts, dual-home the ones you need) 
but this is specially a general solution.


I'm sure this is going to be a PITA to work out on FreeBSD, because I'm 
not that familiar with the tools. I was hoping someone had done it, but 
if I have to I may be gone for some time.



___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-17 Thread Matthias Petermann

Am 17.08.2013 03:22, schrieb Polytropon:

On Fri, 16 Aug 2013 18:07:25 -0700, Adrian Chadd wrote:

What keyboard / laptop has the key code '150' map to 'go to sleep' ?

My Sun Type 7 USB keyboard has the Copy key at code 150... :-)



In my case it is a Lenovo X121e.

Regards,
Matthias
___
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: Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-17 Thread Matthias Petermann
At the moment it is not clear to me at which layer the issue is  
originated. In fact the acpi_ibm module doesn't work completely for  
the Lenovo X121e (brightness control with Fn+F8/F7 nonfunctional), so  
the issue might be related to this. I shall file a PR during the day.


Kind regards,
Matthias


Zitat von Adrian Chadd adr...@freebsd.org:


Right, but this sounds like some bug to send upstream. Or at least patch in
our port(s) for this stuff.

What keyboard / laptop has the key code '150' map to 'go to sleep' ?



-adiran


On 16 August 2013 17:09, Matthias Petermann matth...@d2ux.org wrote:


 Hi,

a short update on this. I just found out: at least in Gnome 2 the behavior
can be prevented by using the gconf-settings tool, changing the value of
the key /apps/gnome-power-manager/buttons/suspend from suspend to
nothing. Seems like some ubuntu users had the same issue as I found the
workaround there.

Kind regards,
Matthias


Am 16.08.2013 08:44, schrieb Adrian Chadd:

Hi!

 I'm glad someone else is seeing this!

 I have the same behaviour with KDE4 on my T60 and T400. If I go to run
amiwm (because hey, Workbench is awesome!) it doesn't happen.

 .. and bah, I wish the resume worked for you. It works fine for me on
T42i, T60, T400.



 -adrian



On 15 August 2013 23:32, Matthias Petermann matth...@d2ux.org wrote:



Hello,

I have a Lenovo X121e running Current with X and the Gnome desktop.
Beside other issues[1] there is a strange behavior of Gnome-Desktop (and
GDM too). When I press Fn without any additional key, the device
immediately goes to sleep. As the X121e cannot resume properly from sleep,
this forces me to reboot.

This problem appears to be only exist when using Gnome / GDM.
Pure X with TWM doesn't have this issue.

I already tried to re-map the Fn key (I found in some mailing this might
have the keycode 150) to a less dangerous key:
$ xmodmap -e keycode 150 = Delete
this brought no change.

Has anyone an idea if Gnome re-maps the keys in some way or how I can
disable this? At the moment this is the only blocker to use this Laptop for
daily work, as I tend to accidently touch the Fn key more often than I want
to reboot ;-)

Thanks in advance  kind regards,
Matthias


[1]
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current
___
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



--
Matthias Petermann matth...@d2ux.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: jail.conf ignoring exec.fib?

2013-08-17 Thread Fbsd8

Karl Pielorz wrote:



--On 14 August 2013 08:58 -0400 Fbsd8 fb...@a1poweruser.com wrote:


The jail(8) man page lacks details about how to use exec.fib.

It requires either a new kernel (with options ROUTETABLES=2 or however
many you want), or a boot-time setting with net.fibs=2 in
/boot/loader.conf (requiring a reboot).


Yup, done that :)


setfib 1 route add default 198.192.64.21
creates routing table number 1 with that IP address.

In this example exec.fib=1 would be coded.

See setfib(8) and setfib(2) for details.


Yeah, I do that as well - but 'netstat -r -n' from within the jail shows 
the systems default routing table.


As opposed to 'setfib 1 netstat -r -n' (outside the jail) which shows 
fib either has no default gateway, or the one I set (which is right).


Just within the jail, it only every shows it's using the systems default 
routing table :(


Fib's work fine outside the jail (i.e. I can show them, set differing 
default gateways) - but no matter what I do, the 'exec.fib=' line in 
jail.conf seems to be ignored, when the jail is run up - it only ever 
sees the default routing table :(


-Karl




What your describing seems that the netstat command issued from within 
the jail is not JAIL aware. Develop another way from the host to 
verify that jail's  'exec.fib=' parameter is working 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


Torrent Link Dead

2013-08-17 Thread Jim Dunn
Hey, I noticed that the http://torrents.freebsd.org:8080/ link is dead
(it's listed on http://distrowatch.com/table.php?distribution=freebsd)

Thx!
-- 

*Jim Dunn*
*jimd...@usa.net* mailto:jimd...@usa.net

___
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: Mouse Trails?

2013-08-17 Thread Polytropon
On Sat, 17 Aug 2013 09:07:20 + (UTC), Walter Hurry wrote:
 My sight is deteriorating. I can still see and read the screen, but 
 sometimes locating the mouse pointer (LXDE here) is difficult.

If LXDE uses an ugly white mouse cursor, try changing it to
black (the normal color for mouse cursors on all serious GUI
systems). The classical way of solving the where is the mouse
cursor problem is to install xeyes. :-)



 Is there a port which will give me mouse trails when the rodent is moved?

This is usually done by the means of the desktop environment's
mouse configuration, but if I remember correctly, LXDE does not
offer this.

Additional software like Compiz could help you here: There
seems to be a plugin that adds a mouse trail.



-- 
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: Mouse Trails?

2013-08-17 Thread Walter Hurry
On Sat, 17 Aug 2013 17:31:26 +0200, Polytropon wrote:

 On Sat, 17 Aug 2013 09:07:20 + (UTC), Walter Hurry wrote:
 My sight is deteriorating. I can still see and read the screen, but
 sometimes locating the mouse pointer (LXDE here) is difficult.
 
 If LXDE uses an ugly white mouse cursor, try changing it to black (the
 normal color for mouse cursors on all serious GUI systems). The
 classical way of solving the where is the mouse cursor problem is to
 install xeyes. :-)
 
 
 
 Is there a port which will give me mouse trails when the rodent is
 moved?
 
 This is usually done by the means of the desktop environment's mouse
 configuration, but if I remember correctly, LXDE does not offer this.
 
 Additional software like Compiz could help you here: There seems to be a
 plugin that adds a mouse trail.

Thanks once again, Polytropon. The mouse pointer is indeed black.

LXDE only offers three mouse config options: acceleration, sensitivity 
and handedness (swap buttons).

I am reluctant to install Compiz, but xeyes looks to be just the ticket!

___
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: jail.conf ignoring exec.fib?

2013-08-17 Thread Arthur Chance

On 14/08/2013 16:49, Karl Pielorz wrote:



--On 14 August 2013 08:58 -0400 Fbsd8 fb...@a1poweruser.com wrote:


The jail(8) man page lacks details about how to use exec.fib.

It requires either a new kernel (with options ROUTETABLES=2 or however
many you want), or a boot-time setting with net.fibs=2 in
/boot/loader.conf (requiring a reboot).


Yup, done that :)


setfib 1 route add default 198.192.64.21
creates routing table number 1 with that IP address.

In this example exec.fib=1 would be coded.

See setfib(8) and setfib(2) for details.


Yeah, I do that as well - but 'netstat -r -n' from within the jail shows
the systems default routing table.

As opposed to 'setfib 1 netstat -r -n' (outside the jail) which shows
fib either has no default gateway, or the one I set (which is right).

Just within the jail, it only every shows it's using the systems default
routing table :(

Fib's work fine outside the jail (i.e. I can show them, set differing
default gateways) - but no matter what I do, the 'exec.fib=' line in
jail.conf seems to be ignored, when the jail is run up - it only ever
sees the default routing table :(


What do you get in the jail from

sysctl net.fibs
sysctl net.my_fibnum

?

You should be getting 2 and 1 respectively. If you are, what happens in 
the jail when you ping an address that's covered by the fib 0 default 
route but that should be unroutable in the jail? You will need to enable 
allow.raw_sockets for the jail temporarily to try that.


--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
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


NAT loopback using natd and ipfw

2013-08-17 Thread Frank Leonhardt
Does anyone know how to get NAT loopback (aka NAT hairpin or NAT 
reflection) working with natd and ipfw? It seems to work with the 
in-kernel NAT without the need for configuration, but not if you're 
using natd.


I have a feeling it may be something do do with the ipfw 
diverted-loopback test in natd but if I experiment and get it wrong 
it's five hours on the motorway for me.


Incidentally, I've set net.inet.ip.fw.one_pass set to 0 but it didn't help.

Thanks, Frank.

(By NAT loopback I mean the situation when you're using NAT to 
translate one WAN IP to many local LAN IPs (i.e. the usual). If a LAN 
machine tries to access the WAN IP, you need NAT to treat it as an 
incoming connection and port-forward it as appropriate to a LAN IP as if 
the packet had come from the Internet. This is not weird; it's what most 
home and small office routers do by default).


___
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: VPN where local private address collide

2013-08-17 Thread Terje Elde
On 17. aug. 2013, at 16:37, Frank Leonhardt freebsd-...@fjl.co.uk wrote:
 This is just the sort of problem Google will have when it buys Facebook :-)

Probably not. If Google were to buy Facebook, I'm confident they'd be able to 
renumber their networks if they have to. 

 Your explanation of the foul-up possible with NAPT is well made, although not 
 really talking about the kind of NAT used on Home/SME routers (one public 
 address hiding many private one) - I'm thinking of Basic NAT - one-to-one 
 replacement, not one-to-many. (i.e. static address assignment). All the 
 router (or firewall) needs to do is swap the IP address in the header as it 
 passes through, and swap it back when it returns. The two hosts shouldn't 
 notice a thing.

That's a good theory. In reality, it's much more complicated. 

What about SSL/TLS for example?  How would the router swap the header in an 
encrypted session?

(That's a likely scenario with blth VoIP, teleconferencing and ftp over ssl 
btw). 

Swapping headers is also a bit outside the scope of NAT, and over to 
application level gateway. I've seen probably hundreds of attempts at such 
solutions, most didn't work at all, and few - if any - worked well. 

 FWIW it works pretty well without NAT if you can avoid address conflicts, and 
 in a small installation its possible. But consider this really trivial 
 example:

If you're fine with the way it works without conflicts, why not just move 
things around? Change statically configured IPs, and narrow the DHCP scopes to 
avoid conflict?

 The obvious answer is IPv6, of course. I'm surprised no one has mentioned it 
 yet.

You seemed dead set on not renumbering the networks, and moving to IPv6 would 
not only be just that, but also be harder than just renumbering IPv4-nets, so 
you answered that question for us already. 

 mpd does handle NAT (Section 4.14 of its manual). It doesn't go in to great 
 detail execept to say it uses ng_nat, which in turn uses libalias (like 
 natd). Looking at the ng_nat 'C' interface, NGM_NAT_REDIRECT_ADDR sounds like 
 what I'm after but it all looks geared to NAPT (which is, I guess, what most 
 people use NAT for). And I've got this nagging feeling that ipfw is going to 
 be involved somewhere, just to make it really tricky.

If you do insist on shooting the networkowner(s) in the foot, pf would probably 
do fine for the NAT. 

Best of luck on your adventure sir, you'll need it. If not today, then some day 
ahead. Bring a towel. 

Terje

___
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: VPN where local private address collide

2013-08-17 Thread Adam Vande More
On Sat, Aug 17, 2013 at 6:29 PM, Terje Elde te...@elde.net wrote:

 On 17. aug. 2013, at 16:37, Frank Leonhardt freebsd-...@fjl.co.uk wrote:
  This is just the sort of problem Google will have when it buys Facebook
 :-)

 Probably not. If Google were to buy Facebook, I'm confident they'd be able
 to renumber their networks if they have to.

  Your explanation of the foul-up possible with NAPT is well made,
 although not really talking about the kind of NAT used on Home/SME routers
 (one public address hiding many private one) - I'm thinking of Basic NAT -
 one-to-one replacement, not one-to-many. (i.e. static address assignment).
 All the router (or firewall) needs to do is swap the IP address in the
 header as it passes through, and swap it back when it returns. The two
 hosts shouldn't notice a thing.

 That's a good theory. In reality, it's much more complicated.

 What about SSL/TLS for example?  How would the router swap the header in
 an encrypted session?


Same as it would any sessions since only the payload is encrypted.  What
Frank calls basic nat, most people call static nat(at least people who have
read enough Cisco docs) and it works just fine. Also you are confusing
headers.  IP itself has a header and TCP and UDP each have their own.
 SIP/TLS works just fine on static nat.   IPsec is different as it encrypts
the port info but there is almost always something can be done about this
at that level.

 Swapping headers is also a bit outside the scope of NAT

No, it's the entire point of NAT.  How do you think the Translation
occurs?  Again you are confusing header levels.  In general, NAT doesn't
care about whatever info is in the payload, only layer 3 and usually layer
4 and in certain configs layer 5 are pertinent to NAT configs.



-- 
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: Mouse Trails?

2013-08-17 Thread cpghost
On 08/17/13 18:14, Walter Hurry wrote:
 On Sat, 17 Aug 2013 17:31:26 +0200, Polytropon wrote:
 
 If LXDE uses an ugly white mouse cursor, try changing it to black (the
 normal color for mouse cursors on all serious GUI systems). The
 classical way of solving the where is the mouse cursor problem is to
 install xeyes. :-)
 
 I am reluctant to install Compiz, but xeyes looks to be just the ticket!

Good ole Xeyes... ;-) But beware, xeyes crashes X server right now! Using

xeyes-1.1.1
xorg-server-1.7.7_8,1

on
FreeBSD 9.2-PRERELEASE #0 r253323 Sat Jul 13 21:00:32 CEST 2013 amd64

I'm not the only one who's got X server crashes with xeyes:

http://lists.freebsd.org/pipermail/freebsd-x11/2012-May/011833.html

@Polytropon: what version of xeyes/xorg-server are you using?

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/

___
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: Myrinet 10Gb odd behavior - SOLVED

2013-08-17 Thread iamatt
Wow myricom still around...  used to use the lanai stuff never on bsd
though.  All FDR Infiniband these days.  Are you using the myrinet protocol
or ethernet,  just curious.  Glad you got it working!
On Aug 16, 2013 8:12 PM, aurfalien aurfal...@gmail.com wrote:


 On Aug 16, 2013, at 8:47 AM, aurfalien wrote:

  Forgot to mention my loader.conf;
 
  if_mxge_load=YES
  mxge_ethp_z8e_load=YES
  mxge_eth_z8e_load=YES
  mxge_rss_ethp_z8e_load=YES
  mxge_rss_eth_z8e_load=YES
 
 
  I blindly added these w/o thinking what they do.
 
  Should I simply only load the first line?
 
  - aurf
 
 
  On Aug 16, 2013, at 8:18 AM, aurfalien wrote:
 
  Hi,
 
  I've been suspecting my NIC is not up to par and notice this in the
 logs every few minutes;
 
  Aug 16 08:05:06 prometheus kernel: mxge0: slice 0 struck? ring state:
  Aug 16 08:05:06 prometheus kernel: mxge0: tx.req=1914503981
 tx.done=1914503810, tx.queue_active=0
  Aug 16 08:05:06 prometheus kernel: mxge0: tx.activate=0 tx.deactivate=0
  Aug 16 08:05:06 prometheus kernel: mxge0: pkt_done=1824019832
 fw=1824019931
  Aug 16 08:05:06 prometheus kernel: mxge0: Watchdog reset!
  Aug 16 08:05:06 prometheus kernel: mxge0: NIC did not reboot, not
 resetting
 
  Could tis be effecting throughput?
 
  My card is a Myri-10G-PCIE-8A
 
  I did install the Myrinet dev tools for FreeBSD and ran myri_info which
 yields;
 
  pci-dev at 05:00.0 vendor:product(rev)=14c1:0008(00)
   behind bridge root-port: 00:03.0 8086:3c08 (x8.1/x16.3)
  Myri-10G-PCIE-8A -- Link x8
   EEPROM String-spec:
   MAC=00:60:dd:45:73:23
   SN=413665
   PWR=100
   PC=10G-PCIE-8A-R
   PN=09-03852
   XFI=AEL1010
   TAG=ze_tools-1_4_45
 
   EEPROM MCP, PRESENT, length = 103384, crc=0x119daf46
   ETHZ::1.4.45 2009/08/22 18:57:06 self extracting firmware
   Bundle: exec_len=72144, PCI-ROM-len = 31232
   Running MCP:
   ETH ::1.4.55 -P- 2012/04/21 01:48:34 myri10ge firmware
 
  Any insights are appreciated.
 
  - aurf


 Did the ole RTFM and re programmed the firmware, all good now.

 - aurf
 ___
 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: Myrinet 10Gb odd behavior - SOLVED

2013-08-17 Thread aurfalien
Spoke to soon. Fine for a while (doing a 5 day rsync of 38TB) but getting those 
errors every 7 min.  And I'm only getting 1.24Gb/s over a 10Gb jumbo link.

Definitely causing connection issues.

Using it for ethernet.

Gonna go in tomorrow and give my Solarflare another shot as it was giving me 
issues but the rel notes say to try this, so I will;

 - The driver uses mbufs to store packet data which come from a set of pools
   of limted size. See man 7 tuning for more details. The following command
   can display the number of used and free mbufs within the pools the Solarflare
   driver uses

# vmstat -z | head -n 1; vmstat -z | grep mbuf
ITEM SIZE LIMIT  USED  FREE  REQUESTS  FAILURES
mbuf_cluster:2048,25600, 1408,  658,31604,0
mbuf_jumbo_page: 4096,12800,0,   76, 2063,0
mbuf_jumbo_9k:   9216, 6400,0,0,0,0
mbuf_jumbo_16k: 16384, 3200,0,0,0,0

  If a pool is exhausted (i.e. the failure count in the right hand column is
  non-zero, networking applications may hang or received packets may be dropped.
  Hence you may need to increase these limits using the following sysctls:
 kern.ipc.nmbclusters (for mbuf_cluster)
 kern.ipc.nmbjumbop   (for mbuf_jumbo_page)
 kern.ipc.nmbjumbo9   (for mbuf_jumbo_9k)
 kern.ipc.nmbjumbo16  (for mbuf_jumbo_16k)


- aurf



On Aug 17, 2013, at 8:14 PM, iamatt wrote:

 Wow myricom still around...  used to use the lanai stuff never on bsd though. 
  All FDR Infiniband these days.  Are you using the myrinet protocol or 
 ethernet,  just curious.  Glad you got it working!
 
 On Aug 16, 2013 8:12 PM, aurfalien aurfal...@gmail.com wrote:
 
 On Aug 16, 2013, at 8:47 AM, aurfalien wrote:
 
  Forgot to mention my loader.conf;
 
  if_mxge_load=YES
  mxge_ethp_z8e_load=YES
  mxge_eth_z8e_load=YES
  mxge_rss_ethp_z8e_load=YES
  mxge_rss_eth_z8e_load=YES
 
 
  I blindly added these w/o thinking what they do.
 
  Should I simply only load the first line?
 
  - aurf
 
 
  On Aug 16, 2013, at 8:18 AM, aurfalien wrote:
 
  Hi,
 
  I've been suspecting my NIC is not up to par and notice this in the logs 
  every few minutes;
 
  Aug 16 08:05:06 prometheus kernel: mxge0: slice 0 struck? ring state:
  Aug 16 08:05:06 prometheus kernel: mxge0: tx.req=1914503981 
  tx.done=1914503810, tx.queue_active=0
  Aug 16 08:05:06 prometheus kernel: mxge0: tx.activate=0 tx.deactivate=0
  Aug 16 08:05:06 prometheus kernel: mxge0: pkt_done=1824019832 fw=1824019931
  Aug 16 08:05:06 prometheus kernel: mxge0: Watchdog reset!
  Aug 16 08:05:06 prometheus kernel: mxge0: NIC did not reboot, not resetting
 
  Could tis be effecting throughput?
 
  My card is a Myri-10G-PCIE-8A
 
  I did install the Myrinet dev tools for FreeBSD and ran myri_info which 
  yields;
 
  pci-dev at 05:00.0 vendor:product(rev)=14c1:0008(00)
   behind bridge root-port: 00:03.0 8086:3c08 (x8.1/x16.3)
  Myri-10G-PCIE-8A -- Link x8
   EEPROM String-spec:
   MAC=00:60:dd:45:73:23
   SN=413665
   PWR=100
   PC=10G-PCIE-8A-R
   PN=09-03852
   XFI=AEL1010
   TAG=ze_tools-1_4_45
 
   EEPROM MCP, PRESENT, length = 103384, crc=0x119daf46
   ETHZ::1.4.45 2009/08/22 18:57:06 self extracting firmware
   Bundle: exec_len=72144, PCI-ROM-len = 31232
   Running MCP:
   ETH ::1.4.55 -P- 2012/04/21 01:48:34 myri10ge firmware
 
  Any insights are appreciated.
 
  - aurf
 
 
 Did the ole RTFM and re programmed the firmware, all good now.
 
 - aurf
 ___
 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: Mouse Trails?

2013-08-17 Thread Polytropon
On Sun, 18 Aug 2013 03:08:16 +0200, cpghost wrote:
 On 08/17/13 18:14, Walter Hurry wrote:
  On Sat, 17 Aug 2013 17:31:26 +0200, Polytropon wrote:
  
  If LXDE uses an ugly white mouse cursor, try changing it to black (the
  normal color for mouse cursors on all serious GUI systems). The
  classical way of solving the where is the mouse cursor problem is to
  install xeyes. :-)
  
  I am reluctant to install Compiz, but xeyes looks to be just the ticket!
 
 Good ole Xeyes... ;-)

Old but still useful in specific cases.



 But beware, xeyes crashes X server right now! Using
 
 xeyes-1.1.1
 xorg-server-1.7.7_8,1
 
 on
 FreeBSD 9.2-PRERELEASE #0 r253323 Sat Jul 13 21:00:32 CEST 2013 amd64

WHAT?! Unbelievable... that such a simple program could crash the
whole X server... Does this happen in similar programs (speyes,
wmeyes, xeyes+) too?



 @Polytropon: what version of xeyes/xorg-server are you using?

Currently none. My system is too old, I currently can't install any
new software without reinstalling the whole system. Still on 8.2 at
home, because I never touch a running system. :-)



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


Laptop Fn key causes X (Gnome 2) to sleep immediately

2013-08-16 Thread Matthias Petermann


Hello,

I have a Lenovo X121e running Current with X and the Gnome desktop. 
Beside other issues[1] there is a strange behavior of Gnome-Desktop (and 
GDM too). When I press Fn without any additional key, the device 
immediately goes to sleep. As the X121e cannot resume properly from 
sleep, this forces me to reboot.


This problem appears to be only exist when using Gnome / GDM.
Pure X with TWM doesn't have this issue.

I already tried to re-map the Fn key (I found in some mailing this might 
have the keycode 150) to a less dangerous key:

$ xmodmap -e keycode 150 = Delete
this brought no change.

Has anyone an idea if Gnome re-maps the keys in some way or how I can 
disable this? At the moment this is the only blocker to use this Laptop 
for daily work, as I tend to accidently touch the Fn key more often than 
I want to reboot ;-)


Thanks in advance  kind regards,
Matthias


[1] 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current

___
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


<    5   6   7   8   9   10   11   12   13   14   >