Re: Even more documentation?

2008-04-25 Thread darren kirby
quoth the Edward Ruggeri:

 It seems like the man pages would be a good place to go, but my
 trouble with using them is that they're difficult to put together the
 information on different pages.  I suppose I want something like a
 textbook.  I dream of a KR type text that is very comprehensive and
 well-organized.

 If anyone has advice, I'd very much appreciate it!

Not sure how 'KR' like it is, but I have just finished reading 'Absolute 
FreeBSD' by Micheal W. Lucas. At 700+ pages it is almost textbook like. It 
seems comprehensive, and logically organized so that very little of the text 
depends on knowledge not yet explained.

Plus, it is witty and well written IMHO. Speaking as a moderately experienced 
Linux guy new to FreeBSD it has served me well. 

Also, There is 'The Complete FreeBSD' by Greg Lehey available from O'Reilley 
(and for download from the author's site) but I haven't (yet!) read it so I 
cannot say much about it...

Also, also, I seem to recall a 'further reading' section in the back of the 
FreeBSD handbook which had more suggestions.

 Sincerely,

 -- Ned Ruggeri

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Build a single kernel module?

2008-04-24 Thread darren kirby
quoth the Wojciech Puchar:
  today. The new card is a D-link DGE-530T which shall work with the 'sk'
  driver. My custom kernel does not have this driver.
 
  I wonder if I can build this single driver as a module to use with my
  already

 cd /usr/src/sys/modules/whatyouwant
 make


Thanks, I will remember this for the future.
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nfs firewall, hard vs soft mount

2008-04-24 Thread darren kirby
quoth the Colin Brace:
 Hi all,

 I have a FreeBSD v7 box set up as gateway/mailserver/WAP. I leave my WAP
 unencrypted, so my neighbors can use it, and use PF to allow just a few
 specific services (dhcp dns, http, https).

 I'd like to be able to mount a couple of NFS shares from a desktop box
 running Fedora on a wireless client. I've opened  the sunrpc and nfs ports
 in PF, but that doesn't seem to be enough. tcpdump indicates some high upd
 ports in the 40k-50k range are used in the nfs negotiation, but I can't
 figure out exactly what is going on. Does anyone know what additional ports
 need to be opened for nfs? Will I need to use PF to redirect this udf
 traffic to the fedora host or will it find the nfs server on its own?

'rpcinfo -p server' will show the ports/proto you need open. However, it 
should change some each time because rpc.mountd, rpc.statd, and lockd assign 
ports dynamically. You can set a few NFS options to lock these down:

Eg:
RPCMOUNTDOPTS=-p 4002
RPCSTATDOPTS=-p 4000

Sadly, I have only ever run an NFS server on Linux, so I do not know if there 
is a config to set these, or if you have to add the '-p n' to the startup 
scripts directly.

Also, On Linux you must set the lockd port at boot time. Perhaps there is a 
sysctl for this on FreeBSD?

HTH
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Build a single kernel module?

2008-04-23 Thread darren kirby
Hi all,

I recently built a custom kernel for my new FreeBSD 7.0-RELEASE system, and it 
is working well. Sadly, I had to purchase and swap out a nic on this machine 
today. The new card is a D-link DGE-530T which shall work with the 'sk' 
driver. My custom kernel does not have this driver.

I wonder if I can build this single driver as a module to use with my already 
built custom kernel. The handbook mentions using MODULES_OVERRIDE: If you 
want to update a kernel faster or to build only custom modules, you should 
edit /etc/make.conf before starting to build the kernel

So as I understand it, if I add MODULES_OVERRIDE = sk to make.conf then it 
will build only the sk module? The page [0] is light on details so I am 
unsure hoe to proceed with this, ie: I just do a normal 'make installkernel' 
or some other way?

Also, I did look around, but if there are some docs that speak more clearly to 
this issue a pointer would be great.

Thanks for consideration,
-d

[0] 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[solved] Re: Build a single kernel module?

2008-04-23 Thread darren kirby
quoth the darren kirby:

Please disregard. I have realized the module is called if_sk.ko, not sk.ko, so 
it is in fact built...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Filesystem full......

2008-04-21 Thread darren kirby
quoth the Martin Tournoij:
 On Mon, Apr 21, 2008 at 05:44:43PM +0200, Leslie Jensen wrote:
  During make installkernel KERNCONF=GENERIC I get
 
  /: write failed, filesystem is full
  install: /boot/kernel/wlan_tkip.ko.symbols: No space left on device
  *** Error code 71
 
  output of df -H gives
 
  Filesystem SizeUsed   Avail Capacity  Mounted on
  /dev/ad0s1a260M259M-20M   108%/
  devfs  1.0k1.0k  0B   100%/dev
  /dev/ad0s1g127G 30G 87G25%/home
  /dev/ad0s1e260M 26M213M11%/tmp
  /dev/ad0s1f 26G6.0G 18G25%/usr
  /dev/ad0s1d260M209M 30M87%/var
  /dev/ad4s1d387G119G237G33%/backup
  linprocfs  4.1k4.1k  0B   100%/usr/compat/linux/proc
 
  It's a system I've had for a few years, and it has been upgreded a few
  times before.
 
  My question is can I get around this or have I made my / slice to small?
 
  Thanks
 
  /Leslie

 256M should be enough.

Might not be. I have a brand new install here of 7.0 Release (I did build a 
second kernel), and df is reporting my '/' is 267M. I have /usr and /var 
(not /tmp) mounted elsewhere. My /tmp is only using 10K right now, and /home 
has nothing but .cshrc et al so if you want a backup kernel you may need more 
than 256M.  

Did the install yesterday so there is no cruft yet...

 You probably have some junk on the root filesystem, you may want to
 check /boot/kernel.old and /root

 You can use du -hxd1 to check the sizes of directories, and see which
 are taking up so much space.

 Regards,
 Martin Tournoij

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Filesystem full......

2008-04-21 Thread darren kirby
quoth the darren kirby:
 quoth the Martin Tournoij:
  On Mon, Apr 21, 2008 at 05:44:43PM +0200, Leslie Jensen wrote:
   During make installkernel KERNCONF=GENERIC I get
  
   /: write failed, filesystem is full
   install: /boot/kernel/wlan_tkip.ko.symbols: No space left on device
   *** Error code 71
  
   output of df -H gives
  
   Filesystem SizeUsed   Avail Capacity  Mounted on
   /dev/ad0s1a260M259M-20M   108%/
   devfs  1.0k1.0k  0B   100%/dev
   /dev/ad0s1g127G 30G 87G25%/home
   /dev/ad0s1e260M 26M213M11%/tmp
   /dev/ad0s1f 26G6.0G 18G25%/usr
   /dev/ad0s1d260M209M 30M87%/var
   /dev/ad4s1d387G119G237G33%/backup
   linprocfs  4.1k4.1k  0B   100%/usr/compat/linux/proc
  
   It's a system I've had for a few years, and it has been upgreded a few
   times before.
  
   My question is can I get around this or have I made my / slice to
   small?
  
   Thanks
  
   /Leslie
 
  256M should be enough.

 Might not be. I have a brand new install here of 7.0 Release (I did build a
 second kernel), and df is reporting my '/' is 267M. I have /usr and /var
 (not /tmp) mounted elsewhere. My /tmp is only using 10K right now, and
 /home has nothing but .cshrc et al so if you want a backup kernel you may
 need more than 256M.

 Did the install yesterday so there is no cruft yet...

Ahhh

Disregard this. I copied GENERIC kernel to kernel.good, plus the kernel 
install made kernel.old for total of three kernels. After removing one my '/' 
is  155M

Sorry,
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing Console Video Modes

2008-04-20 Thread darren kirby
quoth the Edward Ruggeri:
 I'm just reading through the manual for FreeBSD, and I am at section
 3.2.6 Changing Console Video Modes.  This discusses how to change
 the default console resolution.  I would try this out, but as I can
 only access my FreeBSD box remotely at the moment, I am hesitant to
 recompile the kernel with the necessary options (I currently get an
 error when running #vidcontrol -i mode: getting active vty:
 Inappropriate ioctl for device.  I assume this is because the current
 kernel is insufficient?).  

I got this error too, over a ssh connection. vidcontrol worked fine when I 
tried it from the physical console. This was after rebuilding the kernel 
however.

 I'm afraid my computer might need to be 
 booted by hand, which I wouldn't be able to do.

I guess I would say hold off until you have physical access, because it makes 
no difference unless you are sitting in front. Perhaps it works over serial? 
I am not sure.

 In any case, lacking the ability to experiment, I am curious about
 different video modes.  Will greater resolutions allow me to fit more
 text on the screen in the console?  

Yes. Plus it just looks nicer, for lack of a better term.

 Of course I know (maybe less than 
 I think) about resolution in terms of graphical environments (e.g.,
 can see more of a high-resolution image w/ a greater resolution), but
 is it the same for text?

Can't speak to this issue technically, but it essentially allows you to use 
much smaller, yet readable fonts in the console. 

 Thanks!

 Sincerely,

 -- Ned Ruggeri

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weather temperature indicator, KDE

2005-02-15 Thread darren kirby
quoth the Benjamin Dover:
 Does anyone know of a program for KDE that will just show the outside
 temperature down near the clock?  Something similar to the Windows
 version of WeatherBug.

Right-click on the panel, select Add - Applet - Kweather. 
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpgTQyyR187g.pgp
Description: PGP signature


Re: Freebsd vs. linux

2005-02-12 Thread darren kirby
quoth the David Kelly:

 Look closely at the Linux community and you'll find its mostly
 ex-Windows users focused on what Microsoft is doing. The desire is to
 one-up Microsoft at Microsoft's own game. Their definition of
 computer and human interface was written by Microsoft and still
 can't think outside of that box.

I think your interpretation here is a tad glib. Sure there are thousands of 
people coming to Linux because they 'hate' MS. Sure they don't know gcc from 
ppc but I don't think it is fair to call them the 'community', rather a small 
subset. Do you think these people are writing any software? Are they 
designing programming interfaces? Do they have a damn thing to do with the 
development of Linux or any of its supporting software? Hell no. They are 
just users clogging up the message boards and mailing lists with stupid 
questions. Human Interface? Am I missing something? Can you please tell me 
where the much superior FreeBSD human interface can be downloaded? In the 
console they are pretty much the same keystroke for keystroke, and on the 
desktop it is all the same software...

I run FreeBSD and Linux, and I love them both. I am trying to point out that 
when you slam Linux developers with pettiness and name calling that you are 
no better than all the lusers slamming MS, and thinking they're leet because 
they installed Fedora? I have noticed a lot of this on FreeBSD lists, and I 
think it is counterproductive because it is unprofessional and in the end 
more people using Linux means more people running free software which 
benefits _all_ of us...and besides, it is offensive to people like me that 
just like playing with 'nix boxes and run both.

Why can't you just run your FreeBSD and feel superior, silently?

 Look closely at the BSD community and you'll find those who are working
 at creating a better tool to serve their needs. Much debate about
 exactly what constitutes better so there is also quite a bit of
 experimenting. What you won't find is Microsoft as the yardstick by
 which BSD's measure.

 --
 David Kelly N4HHE, [EMAIL PROTECTED]
 
 Whom computers would destroy, they must first drive mad.

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

-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpViivpoUsPt.pgp
Description: PGP signature


Re: Freebsd vs. linux

2005-02-12 Thread darren kirby
quoth the Anthony Atkielski:
 darren kirby writes:
  I think your interpretation here is a tad glib.

 I think it's right on the money.  The entire Linux movement is fueled by
 hatred for Microsoft.  And the ultimate goal of the Linux movement is to
 build an OS that walks, talks, and quacks like Microsoft Windows, but
 doesn't come from Redmond.

That is just not right. Perhaps for Redhat, SuSe et al this may be the case, 
but what do you expect? MS is their primary (only?) competition. 

There are a million different reasons to run Linux, and a million different 
types of people that run it. I am part of the Linux community, or movement, 
or whatever you want to call it, and I sure as hell do not need people 
presuming to tell me my motives for running it.

 To me, that seems like a waste of time and energy.

To me, massive generalizations about the 'communities' of free *nix users, and 
all the bickering and infighting therein is a waste of time. Case in point: 
this email :)

 The idea in itself of building an alternative desktop operating system
 is fine.  But why does it have to look like Windows?  The more closely a
 system approaches the look and feel of Windows, the less reason there is
 to use that system instead of Windows.

Now you seem to be implying that the only difference between any two operating 
systems is what the GUI looks like. 

 And why use UNIX as a basis for a desktop GUI?  Just because it's there?
 I know Apple was forced to resort to that, but that doesn't make it a
 good idea.

So what's your solution, feed the Redmond beast? No thanks.

  Do you think these people are writing any software? Are they designing
  programming interfaces? Do they have a damn thing to do with the
  development of Linux or any of its supporting software?

 Yes, a lot of them do.

In my experience, the developers are the quiet ones that speak with their 
software. It's the lusers that scream Linux is teh roxor everywhere you go. 
I am in full-on agreement that this particular group needs to grow up.

Again, I am not trolling, and I am not a Linux zealot. I run FreeBSD, Linux, 
Solaris and any other free unix I can get my hand on. Why? Because I think 
they're cool. All of them. Including Linux.

Peace,
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgp4drKpLi7Qk.pgp
Description: PGP signature


Re: Change Apache version string

2005-02-07 Thread darren kirby
quoth the Pat Maddox:
 I've got mod_php installed as well as mod_jk, so whenever there's a
 404 Apache displays
 Apache/2.0.52 (FreeBSD) PHP/4.3.10 mod_jk/1.2.6

 I'm not sure if I'm being overly paranoid, but I don't really like the
 fact that all that info gets displayed.  Is there any way I can change
 Apache's version string, like I can with any ftp or smtp daemon?

In your apache conf file change ServerTokens directive:

### Set to one of:  Full | OS | Minor | Minimal | Major | Prod
### where Full conveys the most information, and Prod the least.
ServerTokens Prod

-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpRVzoHEDVBD.pgp
Description: PGP signature


Re: tinderbox ?

2005-02-04 Thread darren kirby
quoth the Gert Cuykens:
 On Fri, 4 Feb 2005 13:50:13 -0800, darren kirby

 [EMAIL PROTECTED] wrote:
  quoth the Gert Cuykens:
   what is a tinderbox ?
 
  The third result of a http://www.google.com/bsd search for 'tinderbox' is
  the Tinderbox FAQ, of which the first question is What is Tinderbox...
 
  --
  darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
  ...the number of UNIX installations has grown to 10, with more
  expected... - Dennis Ritchie and Ken Thompson, June 1972

 Is this something new from google? http://www.google.com/bsd

Sorry, meant to send that last one to the list. Not sure how old 
google.com/bsd is. At least a year I'd say...

-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpraMmiMsgd2.pgp
Description: PGP signature


Re: Change Bash-3.00 Prompt

2004-12-19 Thread darren kirby
quoth the Adam:
 I installed bash shell and now my prompt says bash-3.00#

 How do I change the text before the #?  I'd like it to say bash# instead of
 bash-3.00#.

 Thanks

Bash prompt is created from the env variable PS1 If really all you want is 
bash# then try:
$ export PS1=bash$ 
to make it permanent, add to (or edit) one of your bash startup files, 
probably /etc/profile for systemwide, or ~/.bashrc for users

I like a bit more info in my prompt, so I use:
PS1=\[\033[0;31m\][$(date +%H:%M)[EMAIL PROTECTED] \W]#\[\033[0m\]

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpQXGBbn4X38.pgp
Description: PGP signature