Re: learn

2013-08-09 Thread Quark


- Original Message -
 From: Chris Hill ch...@monochrome.org
 To: Quark unixuser2000-f...@yahoo.com
 Cc: Mike Jeays mike.je...@rogers.com; me...@bris.ac.uk 
 me...@bris.ac.uk; freebsd-questions@freebsd.org 
 freebsd-questions@freebsd.org; aurfalien aurfal...@gmail.com
 Sent: Thursday, 8 August 2013 9:50 AM
 Subject: Re: learn
 
 On Thu, 8 Aug 2013, Quark wrote:
 
  On Aug 1, 2013, at 8:31 AM, Mike Jeays wrote:
 
 
 [ big snip ]
 
  Hell, I may even get a hoody from the store :)
 
  hey, where are the hoodies??? I found for mozilla  openSUSE on their 
  respective sites very good looking hoodies, but nor FreeBSD I won't 
  hesitate to order one for reasonable price of 20-30 USD
 
 https://www.freebsdmall.com/cgi-bin/fm/scan/fi=prod_bsd/tf=list_order/sf=category/se=shirts?id=bipk46TBmv_pc=267
 
 FreeBSD Mall, then shirts and jackets. They cost a little more than 
 that, though.
 
 -- 
 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
 
thanks all, this looks good,
https://www.freebsdmall.com/cgi-bin/fm/bsdpullover.bk?id=wQnRGQDnmv_pc=31
___
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


if_bridge and ng_netflow

2013-08-09 Thread Volodymyr Kostyrko

Hi all.

I have one machine with bridge configured. Recently I thinked about 
capturing all traffic on the bridge with ng_netflow.


1. ng_ether doesn't attach to bridge0 interface:

# ngctl list | grep ether
  Name: rl0 Type: ether   ID: 0034   Num hooks: 2
  Name: ste0Type: ether   ID: 0035   Num hooks: 2
  Name: wlan0   Type: ether   ID: 0036   Num hooks: 2

2. If I attach all physical interfaces to netflow I get no statistics 
for data originating from server. I.e. I see all inbound traffic but I 
see no outbound traffic.


Maybe I'm just doing everything wrong? I'm adding interfaces to netflow 
this way:


connect wlan0: netflow0: upper iface2
connect wlan0: netflow0: lower iface3
connect netflow0: netflow0: out2 out3

3. Ok, I can do this other way (sorry, I'm bad at netflow scripting):

mkpeer eiface ether ether
rmhook ngeth0: ether

ifconfig ngeth0 up
ifconfig bridge0 span ngeth0

And again I see only inbound packets. I see no packets coming from me.

Is there any other working way to get stats from bridge interface?

--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Question about usbhid.h and dev/usb/usbhid.h

2013-08-09 Thread David Demelier
Hi,

I'm currently writing a USB driver for the SFML framework. I'm reading
the code of SDL and seen the usage of usbhid.

However, /usr/include/usbhid.h and /usr/include/dev/usb/usbhid.h are
different. But they have both some common functions and the same data
definition.

For instance, enum and structures are identical, but the second one
has much more #define about hid usages.

Why are these files so much different and still having some identical
definitions? Isn't better to add full definitions and data to the
second one and just add a #include dev/usb/usbhid.h in
/usr/include/usbhid.h?

Regards,

-- 
Demelier David
___
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


texlive and package updating

2013-08-09 Thread Jerry
Port:   texlive-full-20120701
Path:   /usr/ports/print/texlive-full
Info:   TeX Live, Full Version
Maint:  h...@freebsd.org

With: TEX_DEFAULT=texlive placed in the /etc/make.conf file.

My question is how do I update the packages since the package updater
has apparently been deliberately disabled? I install/update dozens of
packages each week on my Windows machine, so I know that they are
available.

Also. all of the *-freebsd-doc-* ports are bonked due to the
use of texlive. Is there any headway being made on that front?

-- 
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: texlive and package updating

2013-08-09 Thread Tim Daneliuk

On 08/09/2013 11:36 AM, Jerry wrote:

Port:   texlive-full-20120701
Path:   /usr/ports/print/texlive-full
Info:   TeX Live, Full Version
Maint:  h...@freebsd.org

With: TEX_DEFAULT=texlive placed in the /etc/make.conf file.

My question is how do I update the packages since the package updater
has apparently been deliberately disabled? I install/update dozens of
packages each week on my Windows machine, so I know that they are
available.

Also. all of the *-freebsd-doc-* ports are bonked due to the
use of texlive. Is there any headway being made on that front?


I've given up on all OS distribution-based TexLive drops.  I install
texlive manually from their installer 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.

-

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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-09 Thread Al Plant

Warren Block wrote:

On Tue, 6 Aug 2013, Juris Kaminskis wrote:


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.


Are you sure about that model number?  I can't find specs for a Laserjet 
1120M.  There is a Laserjet M1120.  It's a Winprinter.


The file entries are confusing and use some non-base programs.  You may 
be mixing the base system's lpr/lpd with the CUPS versions of the same 
names from ports.


For plain lpr/lpd, I have this article:
http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




Aloha,

I, like Warren , think your entry is too comlpicated and I have a very 
old HP 1100 LaserJet that works on lpr using apsfilter  from ports.

I have only 5 lines in my printcap file.


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

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


VirtualBox: reproductible panic

2013-08-09 Thread David Demelier
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.

Is this problem already reported?

Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer = 0x20:0x806f8e8f
stack pointer   = 0x28:0xff80e7ce0a10
frame pointer   = 0x28:0x817364000
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 = 1854 (VirtualBox)
trap number = 9
panic: general protection fault
cpuid = 1
KDB: stack backtrace:
Uptime: 3m9s
Dumping 302 out of 3054 MB:..6%..11%..22%..32%..43%..53%..64%..74%..85%..96%

Reading symbols from /boot/modules/vboxdrv.ko...done.
Loaded symbols for /boot/modules/vboxdrv.ko
Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.ko
#0  doadump (textdump=value optimized out) at pcpu.h:234
234 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0  doadump (textdump=value optimized out) at pcpu.h:234
#1  0x in ?? ()

Regards.

-- 
David Demelier
___
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


Commercial Licensing

2013-08-09 Thread Someth San
Hello,

I'm interested in installing FreeBSD into a small form factor PC for
commercial use and was wondering whether there is a EULA in place for that
purpose. I would like to avoid the open source requirement of disclosing my
codes to a public community.

If you can provide some information/direction in this regard, I would
greatly appreciate it.

Thank you.

Regards,

Someth San
Indesyne Inc.


___
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: Commercial Licensing

2013-08-09 Thread James Gosnell
I'm not a lawyer, but you need to read the BSD license. You can pretty much
do anything you want with something that is licensed by it.


On Fri, Aug 9, 2013 at 8:41 PM, Someth San s...@indesyne.com wrote:

 Hello,

 I'm interested in installing FreeBSD into a small form factor PC for
 commercial use and was wondering whether there is a EULA in place for that
 purpose. I would like to avoid the open source requirement of disclosing my
 codes to a public community.

 If you can provide some information/direction in this regard, I would
 greatly appreciate it.

 Thank you.

 Regards,

 Someth San
 Indesyne Inc.


 ___
 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


Re: Commercial Licensing

2013-08-09 Thread mikel king
Greetings Someth,

With FreeBSD you are free use as you see fit. Think of the BSD license in terms 
of 'Free' beer and not the freedom to look under the hood like some other mock 
free licenses. If this were not the case then Apple would not have been able to 
derive Mac OS X from FreeBSD and close the source of their product. 

The nature of the various FreeBSD licenses allow for you to do this with the 
exception of some newer versions of the license the include an anti relicensing 
clause which essentially prohibits you from taking a BSD licensed code based 
and relicensing it under one of the GPL versions. At this point those sorts of 
addendum's are rare but definitely becoming more popular. 

Ultimately there is not requirement that you give back to the BSD community in 
the form of your code additions however you are strongly encourage to do so, 
the choice is yours.

Finally I would recommend consulting an IP attorney for a review of the current 
license just to ensure that everything is still as it was explained to me a 
long time ago by mine.

Regards,
Mikel

On Aug 9, 2013, at 9:41 PM, Someth San s...@indesyne.com wrote:

 Hello,
 
 I'm interested in installing FreeBSD into a small form factor PC for
 commercial use and was wondering whether there is a EULA in place for that
 purpose. I would like to avoid the open source requirement of disclosing my
 codes to a public community.
 
 If you can provide some information/direction in this regard, I would
 greatly appreciate it.
 
 Thank you.
 
 Regards,
 
 Someth San
 Indesyne Inc.
 
 
 ___
 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: Commercial Licensing

2013-08-09 Thread James Gosnell
GPL'ed software in the base system: https://wiki.freebsd.org/GPLinBase


On Fri, Aug 9, 2013 at 9:58 PM, kpn...@pobox.com wrote:

 On Fri, Aug 09, 2013 at 08:41:04PM -0500, Someth San wrote:
  Hello,
 
  I'm interested in installing FreeBSD into a small form factor PC for
  commercial use and was wondering whether there is a EULA in place for
 that
  purpose. I would like to avoid the open source requirement of disclosing
 my
  codes to a public community.

 This requirement of disclosure isn't so much an open source thing, it's
 required by some popular licenses (like the GPL). The rather large group
 of people in software has groups that prefer restrictive licenses like the
 GPL, and other groups who prefer licenses with fewer restrictions.

 Be aware that FreeBSD isn't covered by a single license. Rather, it is
 made up of a large number of pieces of software that came from various
 sources over a lot of years.

 In general FreeBSD tries to avoid using those kinds of license that you
 are saying you want to avoid. But in the set of all software that make up
 FreeBSD there is still code left covered by it. With a little care you can
 avoid getting bitten by this. Which leads to my next point...

  If you can provide some information/direction in this regard, I would
  greatly appreciate it.

 I want to second the advice of talking to a lawyer who specializes in
 copyright. The lawyer should be working for you and paid by you (or your
 business, etc). Any time real money is involved you should hire a lawyer.

 Any time real money is involved you should hire a lawyer. Any time the
 outcome matters you should hire a lawyer.

 Seriously, your use of the term EULA shows you need to talk to a lawyer.

 Give your lawyer the FreeBSD source code and your lawyer can look at it
 and advise you.

 But don't let this scare you. With a little care you will probably be just
 fine.

 --
 A method for inducing cats to exercise consists of directing a beam of
 invisible light produced by a hand-held laser apparatus onto the floor ...
 in the vicinity of the cat, then moving the laser ... in an irregular way
 fascinating to cats,... -- US patent 5443036, Method of exercising a cat
 ___
 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