Re: KERNEL - knowing what programs use/need modules

2012-01-01 Thread Matt Mullins
On Tue, Dec 27, 2011 at 8:34 AM, Damien Fleuriot m...@my.gd wrote:
 Now, I'm wondering why in the world a server would need umass, ums and cam ?

 My understanding is that ums is the USB mouse, which we're never going
 to need.

 Umass would be USB mass storage, which again we're never going to need.

You appear to be correct with these two.  My gut tells me these types
of things would be loaded when the corresponding devices are plugged
into the system, but if that's wrong, surely someone here will speak
up.

 Regarding CAM I have absolutely no idea why the module is loaded either.

That's the SCSI/ATA subsystem; if this is the only of your firewalls
to have this module, perhaps it has different disk adapter hardware
than the others or another sysadmin decided to load it manually?

 Are there any ways of finding what programs, if any, require or use said
 modules ?

I'd probably start with judicious use of sysutils/lsof to find any
programs that have the relevant device nodes open.  grep -Rl through
your binary directories might also find something, but I'd expect a
very high false-positive rate with that.

Hope any of this helps,
Matt Mullins
___
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: Single user mode exits unexpectedly

2012-01-01 Thread Janos Dohanics
On Sat, 31 Dec 2011 09:39:41 +0100
Polytropon free...@edvax.de wrote:

 On Sat, 31 Dec 2011 00:57:04 -0500, Janos Dohanics wrote:
  I have just rebuilt world and kernel according to the Handbook,
  installed the new kernel, rebooted, logged in, issued sudo shutdown
  now - the machine entered single user mode, then immediately exited
  without any intervention by me and continued to boot into multiuser
  mode.
 
 That's not the procedure required. From the comment section
 of /usr/src/Makefile:
 
  1.  `cd /usr/src'   (or to the directory containing your source
 tree).
  2.  `make buildworld'
  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is
 GENERIC).
  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is
 GENERIC). [steps 3.  4. can be combined by using the kernel target]
  5.  `reboot'(in single user mode: boot -s from the loader
 prompt).
  6.  `mergemaster -p'
  7.  `make installworld'
  8.  `make delete-old'
  9.  `mergemaster'(you may wish to use -i, along with -U
 or -F).
 10.  `reboot'
 11.  `make delete-old-libs' (in case no 3rd party program uses them
 anymore)
 
 Step 5: reboot _into_ single user mode. After installing
 the kernel and shutting down the system, let it come up
 to the kernel loader. You can enter that stage by pressing
 the space bar several times. If I remember correctly,
 you'll then see prompt

Well, rebuilt World, kernel, installed kernel, rebooted into single
user mode, installed world, but still have the same problem. When going
from multi user mode to single user mode: the computer immediately exits
single user mode and boots into multi user mode. When starting the
system and booting into single user mode, this does not happen.

I'd appreciate your suggestions...

-- 
Janos Dohanics
___
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 Kernel Internals Documentation

2012-01-01 Thread Jerry
On Sun, 01 Jan 2012 09:03:38 +1000
Da Rock articulated:

 Mac doesn't support all hardware from what I understand, and the only 
 system with 100% hardware support is Winblows. Given the design 
 philosophy of Winblows, how well written do you think the hardware 
 drivers are coded? For that matter, how well do you think the
 hardware is made? From my meanderings on this list and others a lot
 of hardware needs software compensation for it to work as well as it
 does on FreeBSD and even linux.

I am sure that you will be happy to supply verifiable documentation to
support your claims.

As for the the quality of the hardware, that would be solely dependent
on the devices manufacturer. The drivers are obviously coded in a
fashion that allows the device to operate in its environment. Any
further discussion is impossible without defining some specific
parameters.

The basic problem is that open-sore users are by and large suffering
from a sour grapes philosophy. It is a common school yard
phenomena; however, it is usually outgrown at some time in an
individuals lifetime. However, unfortunately, that is not written in
concrete either.

Tempora mutantur, however with the exception of Ubuntu the rest of
the open-sore community, to various degrees, continue to stagnate.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
It does not matter if you fall down as long as you
pick up something from the floor while you get up.
___
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: Re: FreeBSD Kernel Internals Documentation

2012-01-01 Thread sykadul
Ladies and gentleman, I will be unplugged from my email until the 17th of 
January.

In the mean time here's a video of a bunny opening your mail 
http://www.youtube.com/watch?v=LMyaRmTwdKs

Your mail will not be forwarded and I will contact you when I come back, 
alternatively you can contact one of the other administrators or email 
i...@astalavista.com

Merry christmas and a happy new year!

Best regards,
Sykadul


___
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 Kernel Internals Documentation

2012-01-01 Thread Da Rock

On 01/01/12 21:42, Jerry wrote:

On Sun, 01 Jan 2012 09:03:38 +1000
Da Rock articulated:


Mac doesn't support all hardware from what I understand, and the only
system with 100% hardware support is Winblows. Given the design
philosophy of Winblows, how well written do you think the hardware
drivers are coded? For that matter, how well do you think the
hardware is made? From my meanderings on this list and others a lot
of hardware needs software compensation for it to work as well as it
does on FreeBSD and even linux.

I am sure that you will be happy to supply verifiable documentation to
support your claims.
If you want to verify, then by all means parouse this list and others 
(even in the linux community) over the past _five_ (thats 5) years.

As for the the quality of the hardware, that would be solely dependent
on the devices manufacturer. The drivers are obviously coded in a
fashion that allows the device to operate in its environment. Any
further discussion is impossible without defining some specific
parameters.
A lot of hardware is now run using firmware, which may or may not 
contain a bug or two which may work better in M$ behemoth but will 
usually die a lot faster, and reduce its usable life- not to mention 
speed. A lot of updates include fixes for these, which may or may not 
solve the problems.

The basic problem is that open-sore users are by and large suffering
from a sour grapes philosophy. It is a common school yard
phenomena; however, it is usually outgrown at some time in an
individuals lifetime. However, unfortunately, that is not written in
concrete either.

Tempora mutantur, however with the exception of Ubuntu the rest of
the open-sore community, to various degrees, continue to stagnate.
I'm sorry but I'm really pissed off tonight and you're attitude is 
really rubbing me the wrong way. If you want to be best mates with Gates 
and his horde then by all means... but this is a genuine discussion in 
an attempt to resolve _these_ issues, and clarify points as to why 
things are a certain way. If you don't agree, then be silent and ignore 
what you perceive to be crap, or at the very least _try_ not to be so 
aggressive and offensive. A lot of us on this list do this as common 
courtesy.

___
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 Kernel Internals Documentation

2012-01-01 Thread Jerry
On Sun, 01 Jan 2012 22:56:45 +1000
Da Rock articulated:

 On 01/01/12 21:42, Jerry wrote:
  On Sun, 01 Jan 2012 09:03:38 +1000
  Da Rock articulated:
 
  Mac doesn't support all hardware from what I understand, and the
  only system with 100% hardware support is Winblows. Given the
  design philosophy of Winblows, how well written do you think the
  hardware drivers are coded? For that matter, how well do you think
  the hardware is made? From my meanderings on this list and others
  a lot of hardware needs software compensation for it to work as
  well as it does on FreeBSD and even linux.
  I am sure that you will be happy to supply verifiable documentation
  to support your claims.
 If you want to verify, then by all means parouse this list and others 
 (even in the linux community) over the past _five_ (thats 5) years.

I am not sure what parouse means. There are a Shane, Dawn and Nicole
Parouse. Are you referring to them? Perhaps you meant peruse. In any
case, I did not make the claim therefore I am not required to obtain,
nor verify the existence of such data. While I don't dispute that you
might actually be able to find one or two such devices, would you care
to investigate the totally number of devices, especially higher end
devices that work fully under Windows as opposed to either not working
or working is a crippled state on FreeBSD? I tend not to include Ubuntu
since they have made huge strides in making hardware work correctly
under their environment. Seems strange that they can achieve what
FreeBSD considers either unobtainable or unnecessary (sour grapes).

{OK, let the blame game begin --  after all, it is ALWAYS someone
elses fault}

  As for the the quality of the hardware, that would be solely
  dependent on the devices manufacturer. The drivers are obviously
  coded in a fashion that allows the device to operate in its
  environment. Any further discussion is impossible without defining
  some specific parameters.
 A lot of hardware is now run using firmware, which may or may not 
 contain a bug or two which may work better in M$ behemoth but will 
 usually die a lot faster, and reduce its usable life- not to mention 
 speed. A lot of updates include fixes for these, which may or may
 not solve the problems.

And the world may or may not end on Dec 21, 2012 or a meteor may or may
not strike the earth today, or WTF are you babbling about?
Throwing in a citation or two would certainly help. Furthermore, what is
your problem with updates? I am notified of several everyday,
sometimes actually running into the hundreds and on two occasions the
thousands on FreeBSD. You might really want to rethink that statement.
And remember, those are only for applications on my PC. I don't know
the  actually number of updates issued per day by FreeBSD for its
entire ports collection.

By the way, any firmware, software, whatever, designed for any
environment may or may not contain a bug. You have now officially won
the award the most retarded statement I have heard to start off the new
year. Congratulations!

  The basic problem is that open-sore users are by and large suffering
  from a sour grapes philosophy. It is a common school yard
  phenomena; however, it is usually outgrown at some time in an
  individuals lifetime. However, unfortunately, that is not written in
  concrete either.
 
  Tempora mutantur, however with the exception of Ubuntu the rest of
  the open-sore community, to various degrees, continue to stagnate.
 I'm sorry but I'm really pissed off tonight and you're attitude is 
 really rubbing me the wrong way. If you want to be best mates with
 Gates and his horde then by all means... but this is a genuine
 discussion in an attempt to resolve _these_ issues, and clarify
 points as to why things are a certain way. If you don't agree, then
 be silent and ignore what you perceive to be crap, or at the very
 least _try_ not to be so aggressive and offensive. A lot of us on
 this list do this as common courtesy.

Ah, there we are. That good old socialist/fascist call to arms,
You're either with us, or against us. You so clearly define what is
the basic problem with FreeBSD in general. The sour grapes attitude
is so clearly self evident. You would rather spend your time defending
something that doesn't work as fully functional as it could be if the
developers stopped patting themselves on the back for accomplishing
what other OSs had already done 3 or more years earlier and rather
attempted to bring the OS on par with those competing OSs.

Yes indeed, New Year, same old bullshit.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
If it smells it's chemistry, if it crawls it's biology, if it doesn't
work it's physics.
___
freebsd-questions@freebsd.org mailing list

Re: Re: FreeBSD Kernel Internals Documentation

2012-01-01 Thread sykadul
Ladies and gentleman, I will be unplugged from my email until the 17th of 
January.

In the mean time here's a video of a bunny opening your mail 
http://www.youtube.com/watch?v=LMyaRmTwdKs

Your mail will not be forwarded and I will contact you when I come back, 
alternatively you can contact one of the other administrators or email 
i...@astalavista.com

Merry christmas and a happy new year!

Best regards,
Sykadul


___
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


axe(4) and Plugable USB2-E1000 (or: general USB Ethernet advice)

2012-01-01 Thread Rotate 13
I am looking for a USB ethernet adapter which works with very stable
driver in FreeBSD.  To effect this end, I went through section 4 man
pages, and made list of drivers for USB ethernet chips.  The problem
is, many are apparently not widely available or in current production
- but I found ASIX AX88178 and ASIX AX88772 (axe(4)) in various
devices from http://plugable.com/ .  I am mostly interested in ASIX
AX88178 due to faster speed (albeit limited by USB2 speed).

My questions:

* Does anybody have good or bad experience with Plugable USB2-E1000
(ASIX AX88178) in FreeBSD?  Stability is utmost concern, followed by
performance.  I note, Amazon.com page for product says also it has
Realtek RTL8211CL PHY - I do not understand why, and cannot find info
explaining this.  Is perhaps slower USB2-E100 with ASIX AX88772 more
compatible?

* Any advice on rock-solid usage of USB Ethernet in FreeBSD, and
pointers to other products will be much appreciated.

Thanks in advance.
___
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: sour grapes .. was FreeBSD Kernel Internals Documentation

2012-01-01 Thread doug
I wish someone with some FreeBSD weight would make this request, but I think 
this thread got a little off topic.


The main thrust of the FreeBSD project seems to be making the best server OS 
possible. That I think they do that pretty well. I have long held that to be 
viable long term in the server game you have to at least be credible in the 
desktop game. I hope some of the desktop projects will bear fruit in this area. 
If I were not too old and (more to be point) too obsolete technically I would 
put my efforts where my thoughts lead me. As it is, I use FreeBSD as a desktop 
because it requires me to get into areas just administering a server farm would 
never take me. The upsie fpr me is that never crashes. That it works okay on an 
800MHz, 500MB old dell server does not hurt either. The pain that comes with 
that is my choice.


That said, FreeBSD has a giant disadvantage in the desktop world. In trying to 
find if there will be any sort for my current laptop I came across a comment 
from Robert Noland saying that Xorg is becoming more and more Linux centric. 
That is a problem the FreeBSD project can not overcome. That along with the way 
Intel does its video drivers makes supporting new stuff non trivial if not 
daunting.


___
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: sour grapes .. was FreeBSD Kernel Internals Documentation

2012-01-01 Thread Jeffrey McFadden
On Sun, Jan 1, 2012 at 12:41 PM, doug d...@fledge.watson.org wrote:

 I wish someone with some FreeBSD weight would make this request, but I
 think this thread got a little off topic.


Oh buddy...


 The main thrust of the FreeBSD project seems to be making the best server
 OS possible. That I think they do that pretty well. I have long held that
 to be viable long term in the server game you have to at least be credible
 in the desktop game. I hope some of the desktop projects will bear fruit in
 this area.


I bought into FreeBSD as PC-BSD and am enjoying it greatly.  It beats
Windows, for me, and makes considerably more structural sense than the
Linuxes I have experienced (Debian and, more recently, Ubuntu.) The boot
configuration and directory structure is more comprehensible.

If I were not too old and (more to be point) too obsolete technically I
 would put my efforts where my thoughts lead me. As it is, I use FreeBSD as
 a desktop because it requires me to get into areas just administering a
 server farm would never take me. The upsie fpr me is that never crashes.
 That it works okay on an 800MHz, 500MB old dell server does not hurt
 either. The pain that comes with that is my choice.


I never had the skill and still don't.  As users go I'm pretty
knowledgeable, and in fact was once a Windows network desktop tech in a big
hospital corporation, but as far as writing code and making a serious
difference, nope, sorry, I never learned how.


 That said, FreeBSD has a giant disadvantage in the desktop world. In
 trying to find if there will be any sort for my current laptop


I don't know what your current laptop is, but PC-BSD is running fine on my
Sony Vaio VPC-EC2TFX/W1, on my Asus eee, and it runs acceptably on my
Toshiba Satellite U505-S2950, although it tend to forget the screen size on
that one and need to be reminded from time to time.

I came across a comment from Robert Noland saying that Xorg is becoming
 more and more Linux centric. That is a problem the FreeBSD project can not
 overcome.


Sure it can, the same way Linux got where it is today - get people's
interest.  I think PC-BSD should help.  Or, some FreeBSD project people can
contribute to the Xorg project as well... it's not over, we're just where
we are.


 That along with the way Intel does its video drivers makes supporting new
 stuff non trivial if not daunting.


And that, alas, is beyond my ability to even address.

Jeff


 __**_
 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: axe(4) and Plugable USB2-E1000 (or: general USB Ethernet advice)

2012-01-01 Thread Jeffrey McFadden
On Sun, Jan 1, 2012 at 10:26 AM, Rotate 13 rabg...@gmail.com wrote:

 I am looking for a USB ethernet adapter which works with very stable
 driver in FreeBSD.  To effect this end, I went through section 4 man
 pages, and made list of drivers for USB ethernet chips.  The problem
 is, many are apparently not widely available or in current production
 - but I found ASIX AX88178 and ASIX AX88772 (axe(4)) in various
 devices from http://plugable.com/ .  I am mostly interested in ASIX
 AX88178 due to faster speed (albeit limited by USB2 speed).

 My questions:

* Does anybody have good or bad experience with Plugable USB2-E1000
 (ASIX AX88178) in FreeBSD?  Stability is utmost concern, followed by
 performance.  I note, Amazon.com page for product says also it has
 Realtek RTL8211CL PHY - I do not understand why, and cannot find info
 explaining this.  Is perhaps slower USB2-E100 with ASIX AX88772 more
 compatible?

* Any advice on rock-solid usage of USB Ethernet in FreeBSD, and
 pointers to other products will be much appreciated.ss G USB


I can't address your other questions, but the Belkin Wireless G USB adapter
model FSD7050 is working without fail for me, and last I knew was still on
the market.

Jeff


 Thanks in advance.
 ___
 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: sour grapes .. was FreeBSD Kernel Internals Documentation

2012-01-01 Thread C. P. Ghost
On Sun, Jan 1, 2012 at 7:41 PM, doug d...@fledge.watson.org wrote:
 That said, FreeBSD has a giant disadvantage in the desktop world. In trying
 to find if there will be any sort for my current laptop I came across a
 comment from Robert Noland saying that Xorg is becoming more and more Linux
 centric. That is a problem the FreeBSD project can not overcome.

Did he mean frameworks like evdev(4) and so?

http://www.x.org/archive/X11R7.5/doc/man/man4/evdev.4.html

Stuff like this really ought to be backported to FreeBSD, either
directly or by providing more Linuxisms on our side. It only
shows that our Linuxulator framework isn't compatible enough
with Linux and needs to be extended. There's no /technical/
reason why it can't be done.

And yes, it's a pain. But if most 3rd party software developers
converge towards a Linux standard (whatever that moving
target standard may be), we may have to inch towards this
standard too. That kind of convergence happened in the Unix
world all the time, including with POSIX. Now Linux is the new
de facto standard platform the 3rd party software, we may as
well adapt FreeBSD/Linuxulator.

Kind regards and a Happy New Year. ;-)

-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


Happy New Year to FreeBSD members...

2012-01-01 Thread Al Plant


Aloha!

Wishing all our listers a happy and prosperous new year.

 Thanks for your help.

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

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


Re: freebsd-questions Digest, Vol 395, Issue 10

2012-01-01 Thread Jeffrey McFadden
On Sat, Dec 31, 2011 at 6:00 AM, freebsd-questions-requ...@freebsd.orgwrote:

 Send freebsd-questions mailing list submissions to
freebsd-questions@freebsd.org



 Matthew Seaman wrote:


 Message: 9
 Date: Sat, 31 Dec 2011 09:34:02 +
 From: Matthew Seaman m.sea...@infracaninophile.co.uk
 Subject: Re: very small network
 To: freebsd-questions@freebsd.org
 Message-ID: 4efed70a.8080...@infracaninophile.co.uk
 Content-Type: text/plain; charset=iso-8859-1

 On 31/12/2011 04:12, Jeffrey McFadden wrote:
  I bought into FreeBSD with a DVD of PC-BSD.  It's great, but the PC-BSD
  user manual is not up to the level of the FreeBSD manual.  In the latter
 I
  have found, as you all suggested, all the necessary information.
 
  I haven't set the network up yet but I expect to be able to run both
 server
  and client NFS on each machine to enable networking both ways.  They are
  all laptops of one sort  or another (Asus eee, Toshiba Satellite, late
  model Sony Vaio)  and it sort of depends on where I sit which machine
 needs
  to be client and which server, if that makes any sense.

 Perfect sense.

 One thing I'd expect PC-BSD to have (or at least to make easy to enable)
 is Apple-esque zeroconf networking.  That means you should be able to
 plug a new build machine into your network, and it will discover other
 machines on the net and give you the ability to mount filesystems, or
 print to attached printers, and all without having a designated central
 controlling server.  I take it this is the sort of thing you mean by
 setting up your network?


As I look, yes, PC-BSD does have such a thing, and it has a network
browser built into it, too.  It almost looks like it is designed to use
Samba even between BSD machines; does this make sense?


 This is a very attractive model as it is very simple from the user point
 of view.  You don't necessarily need to have any dedicated servers,
 although such things as a DHCP server are still useful (I suspect your
 broadband router probably has that function).  On the other hand, it is
 probably a bit harder to set up than a strict client-server setup with
 dedicated servers.


It is attractive, but I don't see any way to configure exported filesystems
other than going back to NFS, which is all right, but I'm trying to
understand what this other option might mean to me.


 The key software requirement here is to set up multicast DNS.  There are
 a number of packages in the ports to do this -- mDNSresponder, howl, but
 what I'd recommend is avahi as it is best integrated with other software
 packages.  For the shared networking thing, you can use samba between
 FreeBSD machines, but you'll need to build samba from ports since the
 AVAHI option isn't enabled by default.


As you may know, PC-BSD has a system they call PBI (Push Button
Installation) to install pre-built packages via a software manager app on
the system.  Needless to say, it does not offer all 23K+ ports.  There is a
.PBI version of Samba; I wonder if it has Avahi enabled by default.


Cheers,

Matthew


Thanks for the help,

Jeff




___
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


Fwd: DNS

2012-01-01 Thread Daniel Lewis
-- Forwarded message --
From: Daniel Lewis innervisionnetw...@gmail.com
Date: Sat, Dec 31, 2011 at 6:50 PM
Subject: DNS
To: freebsd-questions@freebsd.org


Im new to freebsd 8.2 and the unix world. How do i setup dns to support my
domain www.innervisionnetworks.com??? Registar asking for nameserver info
and not ip address. How do I setup nameserver and point to my directory
with html document inside???




Thankyou,
Daniel Lewis
___
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: DNS

2012-01-01 Thread Waitman Gobble
On Sun, Jan 1, 2012 at 12:20 PM, Daniel Lewis
innervisionnetw...@gmail.comwrote:


 Im new to freebsd 8.2 and the unix world. How do i setup dns to support my
 domain



Hi Daniel,

You probably want to use ISC bind in /usr/ports/dns

I recommend you read the O'Reilly book DNS and BIND.


Basic process -


Install and configure bind. If possible set up on two or more machines/ip.
IMHO it's less hassle to set up duplicate masters and rsync changes from
your 'main' install instead of setting up master/slave configurations.

create zone file for your domain, ie

$TTL 86400
example.com.IN  SOA ns1.example.com. n...@example.com. (
2012010210
28800
7200
1209600
86400 )
example.com.NS  ns1.example.com.
example.com.NS  ns2.example.com.
example.com.MX  0 mail.example.com.
example.com.A   192.168.0.133
www.example.com.A   192.168.0.133
*   IN  CNAME   www.example.com.

cname is good for people who enjoy making typos like  and ww


add your domain zone file to named.conf, ie

zone example.com IN {
type master;
file example.com.hosts;
};


reload nameserver

rndc reload

export your nameservers to root ns, this process varies for registrar -
look for use my own nameserver or create nameservers based on domain in
your registrar help docs. Maybe you can contact internic/nsi directly
instead (?). Back in the old days users just spread around copies of the
hosts file.

Have fun.

Waitman Gobble
San Jose California USA
___
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: Thinkpad w500 microphone with Conexant CX20561 (Hermosa)

2012-01-01 Thread Eric Schuele
On 01/01/2012 15:23, Lyubomir Grigorov wrote:
 I assume you are using Skype with linuxator? In this case, are the sound 
 devices in Skype set to OSS? From the PC-BSD forum, the following got sound 
 working for me, since OSS wasn't showing as an option:

hmm.  well. thats a good quesiton (with linuxulator?) now that you
mention it.
The port is marked BROKEN.  and if you unmark it as such you can't get
the distfiles.  So I pulled them off a machine I had it one from some
time (years?) back and built it.  It built fine.  Runs fine.  Digging
into var/db/pkg/skype* ... +CONTENTS says linux this and that  so
I'd dare to say yes then.

There does not seem to be a config option in Skype that I can find to
set it to use OSS.  Just says '/dev/dsp' and /dev/dsp0'.

 
 # pkg_add -r linux-f10-alsa-plugins-oss
 # cp /compat/linux/etc/alsa/pcm/pcm-oss.conf-dist 
  /compat/linux/etc/alsa/pcm/
 

I'm not seeing the above in the ports tree.  :/

 Lyubomir Grigorov (bgalakazam)




signature.asc
Description: OpenPGP digital signature


Re: DNS

2012-01-01 Thread Waitman Gobble
On Sun, Jan 1, 2012 at 2:54 PM, Robert Huff roberth...@rcn.com wrote:


 Walter Alejandro Iglesias writes:

   Time ago I made the attempt to setup my own DNS in the same
   machine I had my web server running.  DNS was the only thing I
   was not able to automatically update in the system with my
   scripts each time a new customer purchased a service.  It would
   be wonderful for me if you or anyone here at least confirm me if
   it is really possible.

 What is possible - updating using scripts, or running BIND on
 the same machine as a web server (presumably Apache)?
While I'm sure someone has written them, I don't know of any
 scripts that will update (whatever that means) BIND configuration
 files that are included either as part of the base system or as
 ports.
However, running BIND and Apache is certainly possible - the
 machine I'm typing this on does exactly that.


Robert Huff


I agree with Robert, it's generally no problem, at least technically, to
run BIND on the same machine. (Unless in certain situations I can think of
at the moment) you are running your httpd server on a non-public network
behind a firewall, doing certain things with NAT on the router, or running
httpd on a private machine that only gets traffic from a public-facing
cache/proxy like squid. These situations don't rule out use but could cause
'looping' or otherwise cause problems depending on how your network and
name system is setup.

It is better to have more than one machine running name services, if
possible. Also a good idea to prohibit zone transfers and recursive
lookups, or at least limit very carefully.

You should be able to set up a zone update thing for your customers, just
keep TTL somewhat short, and update your serial # in the zone so that
external caches will pull the updates (using date and/or time is probably
best.) And you probably don't want the daemon/nobody httpd user fooling
around with the zone files or named process directly so it's best to set a
signal in your script like 'touch /tmp/updatebind' or something and have a
cron job check for the 'signal'.

Waitman
___
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: DNS

2012-01-01 Thread Walter Alejandro Iglesias
On Sun, Jan 01, 2012 at 05:54:59PM -0500, Robert Huff wrote:
 
 Walter Alejandro Iglesias writes:
 
   Time ago I made the attempt to setup my own DNS in the same
   machine I had my web server running.  DNS was the only thing I
   was not able to automatically update in the system with my
   scripts each time a new customer purchased a service.  It would
   be wonderful for me if you or anyone here at least confirm me if
   it is really possible. 
 
   What is possible - updating using scripts, or running BIND on
 the same machine as a web server (presumably Apache)?
   While I'm sure someone has written them, I don't know of any
 scripts that will update (whatever that means) BIND configuration
 files that are included either as part of the base system or as
 ports.
   However, running BIND and Apache is certainly possible - the
 machine I'm typing this on does exactly that.
 
 
   Robert Huff
 


I wrote a bunch of sh scripts to update sendmail, apache, add
system users, etc.  Those scripts were executed by cron.  I
wrote a simple php client panel too.  So, the sh scripts read
the data from mysql (I wrote those scripts originally in
Slackware and more late I left unfinished its migration to
freebsd) and updated the system.

For updating BIND I meant that the scripts (using sed) add
zones in the zone files and restart bind, in the same way they
add new virtual server entries in httpd.conf and restart apache.

Sure, like you say, it is possible running BIND and Apache.
But, is it possible|convenient that the name server reside in
the same machine that host (with apache) the domain names served
by it?  Perhaps you find stupid my question, but believe me, I
am lost :-).

Or to simplify the question, what is needed to run a DNS?
What I know:

Edit the zone files.
Run bind.
Register the names ns1.mysite.com, ns2..., (some trick here?)
Obviously adding them to the registrar of the domains served.


Walter



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

2012-01-01 Thread Walter Alejandro Iglesias
On Sun, Jan 01, 2012 at 03:24:59PM -0800, Waitman Gobble wrote:
 On Sun, Jan 1, 2012 at 2:54 PM, Robert Huff roberth...@rcn.com wrote:
 
 
  Walter Alejandro Iglesias writes:
 
Time ago I made the attempt to setup my own DNS in the same
machine I had my web server running.  DNS was the only thing I
was not able to automatically update in the system with my
scripts each time a new customer purchased a service.  It would
be wonderful for me if you or anyone here at least confirm me if
it is really possible.
 
  What is possible - updating using scripts, or running BIND on
  the same machine as a web server (presumably Apache)?
 While I'm sure someone has written them, I don't know of any
  scripts that will update (whatever that means) BIND configuration
  files that are included either as part of the base system or as
  ports.
 However, running BIND and Apache is certainly possible - the
  machine I'm typing this on does exactly that.
 
 
 Robert Huff
 
 
 I agree with Robert, it's generally no problem, at least technically, to
 run BIND on the same machine. (Unless in certain situations I can think of
 at the moment) you are running your httpd server on a non-public network
 behind a firewall, doing certain things with NAT on the router, or running
 httpd on a private machine that only gets traffic from a public-facing
 cache/proxy like squid. These situations don't rule out use but could cause
 'looping' or otherwise cause problems depending on how your network and
 name system is setup.
 
 It is better to have more than one machine running name services, if
 possible. Also a good idea to prohibit zone transfers and recursive
 lookups, or at least limit very carefully.
 
 You should be able to set up a zone update thing for your customers, just
 keep TTL somewhat short, and update your serial # in the zone so that
 external caches will pull the updates (using date and/or time is probably
 best.) And you probably don't want the daemon/nobody httpd user fooling
 around with the zone files or named process directly so it's best to set a
 signal in your script like 'touch /tmp/updatebind' or something and have a
 cron job check for the 'signal'.
 
 Waitman


Thanks Waitman,

The true is I am a bit lost, perhaps (here is late, 00:54) I am
a bit hungry and tired :-).  I will dinner, sleep and tomorrow
morning with a fresh mind I will reread carefully this last
message.  I'll buy the book you advised too.


Walter



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

2012-01-01 Thread Waitman Gobble


 Sure, like you say, it is possible running BIND and Apache.
 But, is it possible|convenient that the name server reside in
 the same machine that host (with apache) the domain names served
 by it?  Perhaps you find stupid my question, but believe me, I
 am lost :-).

 Or to simplify the question, what is needed to run a DNS?
 What I know:

 Edit the zone files.
 Run bind.
 Register the names ns1.mysite.com, ns2..., (some trick here?)
 Obviously adding them to the registrar of the domains served.


Walter




Yes, you can run BIND on the same FreeBSD machine as your web server.
You have to have your nameserver listed with internic (for .com and .net -
ie, your nameserver has to show up in the NAMESERVER whois (note: different
than DOMAIN whois) on http://www.internic.net/whois.html) and also for each
TLD you want to provide service for (ie, .org, .mobi, etc etc) .
If you are using opensrs it's pretty simple to list your nameserver with
local and foreign tlds, but with other Registrars - you'd have to check
into the details. It's generally easier to use a local domain for the
nameservers (ie, ns1.example.mobi for .mobi domains.) but it is also
possible to use foreign nameservers (ie, ns1.example.com to resolve
www.example.mobi - is considered foreign)

Waitman
___
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: Thinkpad w500 microphone with Conexant CX20561 (Hermosa)

2012-01-01 Thread Eric Schuele
On 01/01/2012 16:45, Lyubomir Grigorov wrote:
 Yes, it does sound like it, as there is no native Skype for FreeBSD, so you 
 are using the linux layer. If you are missing OSS from devices, then it is 
 not 
 installed. Once you install the port, configure it use OSS. For all 3 
 dropdowns 
 under the Devices settings.
 
 I'm not seeing the above in the ports tree.  :/
 The port is here:
 $ pwd
 /usr/ports/audio/linux-f10-alsa-plugins-oss

Definitely not in my ports tree.  I'm running amd64, and my ports tree
is old.  Either could be the culprit?  I'll update and see what I get.

 
 --
 Lyubomir Grigorov (bgalakazam)
 Cheers.




signature.asc
Description: OpenPGP digital signature


Re: Thinkpad w500 microphone with Conexant CX20561 (Hermosa)

2012-01-01 Thread Lyubomir Grigorov
Definitely not in my ports tree.  I'm running amd64, and my ports tree
is old.  Either could be the culprit?  I'll update and see what I get
Well I update on a daily basis, but I am pretty sure this is an older port. In 
any case, you know

# portsnap fetch
# portsnap update

P.S. I was interested in a W500, but due to it being ATI, I rather go with 
T400 or X200 because of the Intel graphics. If no 3D acceleration is fine by 
you, W500 is a beast by all means.
___
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: DNS

2012-01-01 Thread Robert Huff

Walter Alejandro Iglesias writes:

  Perhaps you find stupid my question, but believe me, I am
  lost :-).

Where you are now, so once were most of us.  :-)

  Sure, like you say, it is possible running BIND and Apache.
  But, is it possible|convenient that the name server reside in
  the same machine that host (with apache) the domain names served
  by it?  

Possible: I'm doing it.
Convenient?  Depends on what you consider convenient
The machine in question only serves a few zones, and only
changes its IP occesionally.
When it does, I have a script which will change the config file
for sshd, and another which changes most (but not all) settings for
bind.  Elapsed time (assuming I remember all the bits): 5 minutes,
plus a re-boot and checking the numbers.


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: Thinkpad w500 microphone with Conexant CX20561 (Hermosa)

2012-01-01 Thread Eric Schuele
On 01/01/2012 18:43, Lyubomir Grigorov wrote:
 Definitely not in my ports tree.  I'm running amd64, and my ports tree
 is old.  Either could be the culprit?  I'll update and see what I get
 Well I update on a daily basis, but I am pretty sure this is an older port. 
 In 
 any case, you know
 
 # portsnap fetch
 # portsnap update

After updating... still not there.  No package available either.  :/

 
 P.S. I was interested in a W500, but due to it being ATI, I rather go with 
 T400 or X200 because of the Intel graphics. If no 3D acceleration is fine by
 you, W500 is a beast by all means.
 ___
 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
 
 




signature.asc
Description: OpenPGP digital signature


RE: DNS

2012-01-01 Thread Kevin Zheng
Hello,

I've been using FreeBSD as a local nameserver (with my own .local
domains!) for quite some time. FreeBSD comes with a name server already
installed; you don't need to get it from the ports, although I'm not
sure what difference it makes. The one that comes with FreeBSD can be
enabled with named_enable=YES in /etc/rc.conf. The configuration files
are in /etc/namedb/.

Getting a book about BIND really helps learning it. The examples are
especially useful. BIND can be a little daunting to learn, but it all
clicks in the end.

If you want to use BIND for mass hosting, you can consider hooking BIND
up to MySQL or a similar database. I haven't personally tried it, so I
cannot vouch for it to work. It may be what you're looking for, though.
You can have a look at this link: http://mysql-bind.sourceforge.net/.

Hopefully, this helps.

Sincerely,
Kevin Zheng
___
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: CPU MHz discrepency

2012-01-01 Thread Marco Steinbach

Dennis Glatting wrote on 31.12.2011 16:52:
Curios here. 


My BIOS reports my CPU at 4,023 MHz but when FreeBSD boots it says
3973.35-MHz. How is this determined? Seems like an off-by-one error
somewhere.

MB: ASUS Crosshair V FORMULA, latest BIOS, overclocked.

dmesg output:

Tasha dmesg
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-STABLE #7: Fri Dec 30 18:15:12 PST 2011
root@Tasha:/disk-1/src/sys/amd64/compile/TASHA amd64
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD FX(tm)-8150 Eight-Core Processor(3973.35-MHz
K8-class CPU)
  Origin = AuthenticAMD  Id = 0x600f12  Family = 15  Model = 1
Stepping = 2


In your case you might want to take a look at the printcpuinfo function 
in ${SRC_BASE}/sys/md64/amd64/identcpu.c for starters.  Especially the 
CPUCLASS_K8 case in the second switch statement.


MfG CoCo

___
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: buildworld error 8.2-STABLE amd64

2012-01-01 Thread Marco Steinbach

Janos Dohanics wrote on 31.12.2011 19:56:

Buildworld stopped with this error (with updated source):

[...]
cc -O3  -DNEED_SOLARIS_BOOLEAN

[...]


I have posted the build log at
http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld

Would you please advise?


Quoting /usr/share/examples/etc/make.conf:

# CFLAGS controls the compiler settings used when compiling C code.
# Note that optimization settings other than -O and -O2 are not recommended
# or supported for compiling the world or the kernel - please revert any
# nonstandard optimization settings to -O or -O2 -fno-strict-aliasing
# before submitting bug reports without patches to the developers.

The error you're seeing is a result from using O3 for building the 
source in question -- At least my 8.2-STABLE ran into the same problem, 
once I used O3, instead of the default '-O2 -pipe'.


MfG CoCo

___
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 Kernel Internals Documentation

2012-01-01 Thread Chad Perrin
On Sun, Jan 01, 2012 at 09:14:20AM -0500, Jerry wrote:
 On Sun, 01 Jan 2012 22:56:45 +1000 Da Rock articulated:
 
  If you want to verify, then by all means parouse this list and others 
  (even in the linux community) over the past _five_ (thats 5) years.
 
 I am not sure what parouse means. There are a Shane, Dawn and Nicole
 Parouse. Are you referring to them? Perhaps you meant peruse.

I think you had no doubt at all that Da Rock meant peruse here, and
you should check whether the walls of your house are made of durable
material before you start throwing stones.  Check, for instance, you
habitual inability to properly use apostrophes to indicate the possessive
form of a word, or your error in using the plural form phenomena where
the singular phenomenon is appropriate.  These observations of your
relative illiteracy come from a single paragraph, by the way, but until I
saw your play dumb to call someone dumb approach to discussion, I felt
it appropriate to point out your own failings along the same lines -- not
because these specific failings invalidate anything else you say, but
because you're kind of a mean-spirited little hypocrite.

In short, trying to paint people who disagree with you in the colors of
stupidity for a single spelling error when your errors are fairly
numerous is not a winning strategy.



 I tend not to include Ubuntu since they have made huge strides in
 making hardware work correctly under their environment. Seems strange
 that they can achieve what FreeBSD considers either unobtainable or
 unnecessary (sour grapes).
 
 {OK, let the blame game begin --  after all, it is ALWAYS someone
 elses fault}

That must be why you blame everything you perceive as a problem in
regards to open source software on sour grapes.


 
  I'm sorry but I'm really pissed off tonight and you're attitude is
  really rubbing me the wrong way. If you want to be best mates with
  Gates and his horde then by all means... but this is a genuine
  discussion in an attempt to resolve _these_ issues, and clarify
  points as to why things are a certain way. If you don't agree, then
  be silent and ignore what you perceive to be crap, or at the very
  least _try_ not to be so aggressive and offensive. A lot of us on
  this list do this as common courtesy.
 
 Ah, there we are. That good old socialist/fascist call to arms,
 You're either with us, or against us.

I think the statement was more like Someone who calls it 'open sore' is
clearly a mean-spirited jackass who likes making trouble, rather than
Down with the bourgeoisie!  I just figured I'd help clarify.



 You so clearly define what is the basic problem with FreeBSD in
 general. The sour grapes attitude is so clearly self evident. You
 would rather spend your time defending something that doesn't work as
 fully functional as it could be if the developers stopped patting
 themselves on the back for accomplishing what other OSs had already
 done 3 or more years earlier and rather attempted to bring the OS on
 par with those competing OSs.

What do you define with your hanging around sniping at people and
sabotaging discussions attitude?  In the years I have been on this list,
it seems like you have demonstrated a rabid hatred of all things related
to FreeBSD and most things related to open source software in general,
which makes me wonder why you hang around this mailing list.

If I hated something that much, I would avoid it.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.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