fwe driver under 6.0-RELEASE

2005-12-20 Thread Jonathon McKitrick
Hey guys, I just got a new laptop, and I'm trying to get the onboard ethernet over firewire to work so I can download the iwi driver. :-) I can't seem to ping anything, even the router, after bringing up fwe0. Are there any tricks to this I need to be aware of? jm --

Re: How do I re-format 'dangerously dedicated' drive?

2005-11-21 Thread Jonathon McKitrick
On Sun, Nov 20, 2005 at 07:26:33PM -0500, Lowell Gilbert wrote: : Jonathon McKitrick [EMAIL PROTECTED] writes: : : I don't have an MS-DOS floppy, and I think my CDROM isn't booting because the : HD is 'dangerously dedicated,' even though it is a bootable CD and the BIOS is : set to boot

How do I re-format 'dangerously dedicated' drive?

2005-11-20 Thread Jonathon McKitrick
Hi all, I don't have an MS-DOS floppy, and I think my CDROM isn't booting because the HD is 'dangerously dedicated,' even though it is a bootable CD and the BIOS is set to boot it first. I want to totally clear my drive so I can reinstall from scratch from CDROM. How can I do this? jm --

HyperTerm-like connection via serial port??

2005-11-17 Thread Jonathon McKitrick
Hi all, I have an external device that takes ascii serial commands at the standard 9600 baud, 8-N-1 protocol. Under Win32, I would use HyperTerm to connect and send commands and read responses. What program and/or settings would I use with FreeBSD to do the same thing? jm --

Implementing software licensing in FreeBSD

2005-10-12 Thread Jonathon McKitrick
Setting aside opinions on copy protection and licensing, suppose I wanted to implement such a scheme. The key itself might be a network license, or an encrypted file containing license info and system-specific info. But the real issue is how to protect the code that accesses the key. I know

mmap versus malloc

2005-10-09 Thread Jonathon McKitrick
If I want to write an assembly language program without using libc, is it ok to use mmap and a file descriptor of -1 to allocate memory? jm -- What's good for the goose is good for the gander. What the hell is a gander, anyway? ___

Hidden spot on hard drives?

2005-10-05 Thread Jonathon McKitrick
the company where I work (with Windows) is evaluating a copy protection product that stores info somewhere on the HDD where the user cannot touch it, a format will not erase it, and Norton Ghost will not find it. 1. Any idea where this info could be stored? 2. Any way the same thing could be

Re: Hidden spot on hard drives?

2005-10-05 Thread Jonathon McKitrick
On Wed, Oct 05, 2005 at 11:55:18AM -0700, Joe S wrote: : Jonathon McKitrick wrote: : the company where I work (with Windows) is evaluating a copy protection : product that stores info somewhere on the HDD where the user cannot touch : it, : a format will not erase it, and Norton Ghost

Register usage for pointer access

2005-09-26 Thread Jonathon McKitrick
Other than the fact that scanning, moving, and so on use esi as the source register and edi as the destination, is there are other reason to use one over the other for general pointer use? jm -- ___ freebsd-questions@freebsd.org mailing list

Problems making CD backups

2005-09-12 Thread Jonathon McKitrick
I'm trying to use a cron script with mkisofs and burncd every weekend. But after taking a long time to do nothing, burncd never returns from burning and fixating the CD, and looking at the CD itself shows no recorded area reflecting. Trying to mount the CD gives a 'device busy' error. Is my

Re: Linking standalone NASM binary with libc

2005-09-01 Thread Jonathon McKitrick
for that? ;-) Jonathon McKitrick -- Hoppiness is a good beer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Linking standalone NASM binary with libc

2005-08-30 Thread Jonathon McKitrick
On Tue, Aug 30, 2005 at 01:37:02PM +0300, Giorgos Keramidas wrote: : On 2005-08-30 04:29, Jonathon McKitrick [EMAIL PROTECTED] wrote: : : I'm doing some experimentation with assembly code based on the int80h.org : tutorials. But since I am going to use malloc and some other functions, : I

Linking standalone NASM binary with libc

2005-08-29 Thread Jonathon McKitrick
Hi all, I'm doing some experimentation with assembly code based on the int80h.org tutorials. But since I am going to use malloc and some other functions, I need to make my code link with libc rather than stand totally on its own. ld -s -o foo foo.o -lc leaves 'environ' and '__progname'

Forcing symbol resolution in lib rather than bin

2005-08-19 Thread Jonathon McKitrick
I have a binary that links to a shared object library. That .so calls a routine in an archive library (.a). When I link the main app with -lar-a it works fine, even though the function is actually called in the .so. But when I link the .so with -lar-a, the linker doesn't resolve the symbol!

Re: Forcing symbol resolution in lib rather than bin

2005-08-19 Thread Jonathon McKitrick
the standard one. I know you're a big fan of bsd.xxx.mk ;-) Doesn't ld *statically* link code from .a archives? Jonathon McKitrick -- Hoppiness is a good beer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: Forcing symbol resolution in lib rather than bin

2005-08-19 Thread Jonathon McKitrick
want is there ('T'). And reading about ld(1) talks about the '-(' option for searching the .a archives until there are no unresolved symbols. But it still doesn't find mine unless I link it with the binary, not the calling shared object. Jonathon McKitrick -- Hoppiness is a good beer

Re: Forcing symbol resolution in lib rather than bin

2005-08-19 Thread Jonathon McKitrick
On Fri, Aug 19, 2005 at 11:14:40PM +0300, Giorgos Keramidas wrote: : On 2005-08-19 21:03, Jonathon McKitrick [EMAIL PROTECTED] wrote: : On Fri, Aug 19, 2005 at 10:47:48PM +0300, Giorgos Keramidas wrote: : : # flame:/tmp/jcm-lib/foobar$ LD_LIBRARY_PATH=`pwd`/../libbar ./foobar : : # libfoo

Re: Forcing symbol resolution in lib rather than bin

2005-08-19 Thread Jonathon McKitrick
On Fri, Aug 19, 2005 at 11:29:26PM +0300, Giorgos Keramidas wrote: : On 2005-08-19 21:26, Jonathon McKitrick [EMAIL PROTECTED] wrote: : : Got it! I recalled something des or phk wrote me a while ago, then I skimmed : the manpage again. I have to put the .a files AFTER the object files where

Re: Nightly backup using CD-ROM

2005-08-17 Thread Jonathon McKitrick
On Wed, Aug 17, 2005 at 09:54:23AM -0400, Lowell Gilbert wrote: : Jonathon McKitrick [EMAIL PROTECTED] writes: : : I found a post from last November with a small script for backing up to CD-ROM : with sessions. : : http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064117

Nightly backup using CD-ROM

2005-08-16 Thread Jonathon McKitrick
Hi all, I found a post from last November with a small script for backing up to CD-ROM with sessions. http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064117.html My question is how can I access the data on the CD between backups without having to run fixate? It obviously

Spontaneous reboot before AND after memory swap

2005-05-20 Thread Jonathon McKitrick
me 1G. But a buildworld fails with signal 11 and memtest still causes the reboot. Any ideas? Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

libtool or gnome upgrade recently?

2005-05-09 Thread Jonathon McKitrick
I cvsupped all the ports a few days ago, and gnomevfs2 didn't work. It failed in libtool somewhere. I waited a few days, and suddenly it was working again. I'm just curious - what broke? jm -- ___ freebsd-questions@freebsd.org mailing list

Re: Understanding port version numbering

2005-05-02 Thread Jonathon McKitrick
On Sat, Apr 30, 2005 at 03:14:13PM -0400, Lowell Gilbert wrote: : Jonathon McKitrick [EMAIL PROTECTED] writes: : : Is there any particular scheme for ports using decimals, commas, and/or : underscores in the version numbers? Is there any way to tell if it means a : patch level, a FreeBSD-port

Understanding port version numbering

2005-04-30 Thread Jonathon McKitrick
Is there any particular scheme for ports using decimals, commas, and/or underscores in the version numbers? Is there any way to tell if it means a patch level, a FreeBSD-port only update, and so on? jm -- ___ freebsd-questions@freebsd.org mailing

Re: Common Lisp on FreeBSD

2005-04-10 Thread Jonathon McKitrick
On Fri, Apr 08, 2005 at 10:51:52AM -0400, Lowell Gilbert wrote: : Depends on what you're doing. Other than clisp, the Common Lisp : implementations in ports are pretty much all derived from the same : origin (the CMU implementation), so you might as well just try them : and see what you like; the

Common Lisp on FreeBSD

2005-04-08 Thread Jonathon McKitrick
Hi all, I noticed that the clisp port is marked broken, so I have to look at other choices. Does anyone have any thoughts on the other Lisp ports as a good system to learn on and use? jm -- ___ freebsd-questions@freebsd.org mailing list

Re: How to include header files in makefiles

2005-03-26 Thread Jonathon McKitrick
that is important, other than being part of the native BSD platform? Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: How to include header files in makefiles

2005-03-18 Thread Jonathon McKitrick
. : I honestly keep on switching back and forth, between thinking that the : best make is bmake, or gmake. They both have key items that make them : uniquely better. I haven't decided yet. Most BSD people are (predictably) anti-gmake. I have to use gmake for a Linux project I'm on. Jonathon

How to include header files in makefiles

2005-03-17 Thread Jonathon McKitrick
Hi all, I'm setting up a build system for a small project and I want to use included makefiles. I have a base.mk that looks like this: .PATH.h : ../ ../include .INCLUDES : .h CFLAGS = -O -pipe -Wall -g CFLAGS += $(.INCLUDES) OBJS = ${SRCS:R:S/$/.o/g} and a bin.mk that looks like

Re: Which lib for pthreads?

2005-03-07 Thread Jonathon McKitrick
it as well. Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Which lib for pthreads?

2005-03-07 Thread Jonathon McKitrick
. Maybe I'm still doing something wrong, but this DID solve the problem. Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Which lib for pthreads?

2005-03-06 Thread Jonathon McKitrick
On Sat, Mar 05, 2005 at 07:18:31PM -0600, Dan Nelson wrote: : In the last episode (Mar 05), Jonathon McKitrick said: : Linux lets me use -pthread, but under BSD I get 'undefined symbol : pthread_mutex_lock.' : : What's the correct linker syntax for pthreads? : : That would be it. It should

Re: Which lib for pthreads?

2005-03-06 Thread Jonathon McKitrick
On Sun, Mar 06, 2005 at 11:39:55PM +0200, Giorgos Keramidas wrote: : On 2005-03-06 21:32, Jonathon McKitrick [EMAIL PROTECTED] wrote: : On Sat, Mar 05, 2005 at 07:18:31PM -0600, Dan Nelson wrote: : :In the last episode (Mar 05), Jonathon McKitrick said: : : Linux lets me use -pthread, but under

Which lib for pthreads?

2005-03-05 Thread Jonathon McKitrick
Hi all, Linux lets me use -pthread, but under BSD I get 'undefined symbol pthread_mutex_lock.' What's the correct linker syntax for pthreads? jm -- ___ freebsd-questions@freebsd.org mailing list

_init and dynamically loaded libraries

2005-03-03 Thread Jonathon McKitrick
I'm having some trouble getting _init() to run when I use dlopen() to load a library. I get this: one.o: In function `_init': /usr/home/jcm/exp/modules/libone/one.c:7: multiple definition of `_init' /usr/lib/crti.o(.init+0x0): first defined here With other signatures, _init() never gets

Re: Blocking on multiple threads with timeout

2005-02-28 Thread Jonathon McKitrick
a thread for each device to send the command and wait for it, then wait for all the threads to finish. This way, total initialization will be only as long as the longest init, rather than the sum of all the times. Jonathon McKitrick -- My other computer is your Windows box

Blocking on multiple threads with timeout

2005-02-27 Thread Jonathon McKitrick
. Is there a similar way with pthreads that I can use that will kill the threads after a certain time, but without spinlocking? After a minute of spinning, my laptop fan kicks on, and I'd like to be a bit more reasonable about my CPU cycle demands. :-) Jonathon McKitrick -- My other computer is your Windows box

Question about GDB under BSD

2005-02-23 Thread Jonathon McKitrick
I love stl::string(s). They work very well for many application-level projects. But I hate how GDB steps into their code during next stepping. Is there a way I can skip this inline code that is part of stl strings? Unfortunately, 'next' doesn't help, since much of the stl code is 'inline.'

Re: Best way to share data between threads

2005-02-22 Thread Jonathon McKitrick
On Tue, Feb 22, 2005 at 08:38:11AM +0200, Giorgos Keramidas wrote: : On 2005-02-22 05:50, Jonathon McKitrick [EMAIL PROTECTED] wrote: : : Hi all, : I'm porting some libraries from Win32 to BSD/Linux. In the original : code, I receive a Windows event with an attached COM object. : : Under

Re: Best way to share data between threads

2005-02-22 Thread Jonathon McKitrick
no way of knowing. Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Best way to share data between threads

2005-02-21 Thread Jonathon McKitrick
Hi all, I'm porting some libraries from Win32 to BSD/Linux. In the original code, I receive a Windows event with an attached COM object. Under *nix, what is the best way to copy this? A message, followed by accessing shared memory between threads? jm --

Makefile and directory layout

2005-02-16 Thread Jonathon McKitrick
/ Makefile src/ bar.c Is there a better way? Especially for header files just needed internally for the library itself versus headers shared between modules? Jonathon McKitrick -- My other computer is your Windows box

Example BSD Makefiles *outside* the src tree??

2005-02-05 Thread Jonathon McKitrick
Hi all, does anyone know of any project out there I could get my hands on that use BSD make? Obviously the src tree is not a good place to learn the basics, but most makefiles I run across are for GNU make and/or are too complex to learn the basics from. jm --

Re: Example BSD Makefiles *outside* the src tree??

2005-02-05 Thread Jonathon McKitrick
On Sat, Feb 05, 2005 at 12:21:48PM -0500, Lowell Gilbert wrote: : Jonathon McKitrick [EMAIL PROTECTED] writes: : : does anyone know of any project out there I could get my hands on that use : BSD make? Obviously the src tree is not a good place to learn the basics, : but most makefiles I run

Re: Docs for Berkeley Make?

2005-02-04 Thread Jonathon McKitrick
On Fri, Feb 04, 2005 at 01:20:02AM -0800, Ted Mittelstaedt wrote: : The difference is in the extra candy, which you really don't need or want : to use anyway, unless the project becomes gigantic. : : There's only a handful of open source projects out there which justify : the extra : fancy

Re: Docs for Berkeley Make?

2005-02-03 Thread Jonathon McKitrick
On Wed, Feb 02, 2005 at 01:23:23PM +1030, Greg 'groggy' Lehey wrote: : Older revisions of the O'Reilly book cover the Berkeley make. : : No, unfortunately not. Firstly this is a completely different book, : and secondly the old (Oram/Talbott) book also didn't cover Berkeley : Make. There's a

Re: Unix equivalent of a variant??

2005-02-02 Thread Jonathon McKitrick
On Wed, Feb 02, 2005 at 09:04:20AM -0500, Jason Stewart wrote: : Hey everyone, : : I'm finally doing something very exciting here at work: porting software to : Unix! : : I need the equivalent of a variant, however. A hold-everything variable : that can be any type in C/C++. Is there

Unix equivalent of a variant??

2005-02-01 Thread Jonathon McKitrick
Hey everyone, I'm finally doing something very exciting here at work: porting software to Unix! I need the equivalent of a variant, however. A hold-everything variable that can be any type in C/C++. Is there something already out there I can use or should I just roll my own? jm --

Docs for Berkeley Make?

2005-01-29 Thread Jonathon McKitrick
Hi all, I just got the O'Reilly book on GNU Make, but I'd really like to focus on Berkeley Make when possible. Where can I find some good examples (other than the source tree makefiles, which are very complex) and documentation on the differences between the two versions of make? TIA, jm --

Re: BSD equivalents of autoconf, automake, etc.

2004-12-20 Thread Jonathon McKitrick
On Sun, Dec 19, 2004 at 01:14:48AM -0800, Ted Mittelstaedt wrote: : WHY? : --8-- : : You don't need an install script. Whomever is building the RPM : or whomever is creating the FreeBSD port has their own ideas of : where they want things to be installed and has no interest in :

Berkeley make vs GNU make

2004-12-17 Thread Jonathon McKitrick
Is there a good doc out there explaining the differences? I cannot seem to find anything with either google or teoma. jm -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: BSD equivalents of autoconf, automake, etc.

2004-12-17 Thread Jonathon McKitrick
On Thu, Nov 18, 2004 at 06:51:06PM +0100, Matthias Buelow wrote: : Jonathon McKitrick wrote: : : This is exactly what I needed. I wanted to experiment with building, : installing, linking, and the same with my own test 'libraries.' It looks : like this is much easier than autoconf. : : Why do

Re: When to use 'portupgrade -R'

2004-12-13 Thread Jonathon McKitrick
On Fri, Dec 10, 2004 at 02:24:02PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote: : If you're upgrading gnome2, what you *really* wanna : do is use the FreeBSD-Gnome Project's gnome_upgrade.sh : script. Can't say for sure about gnome-lite, though :-| This never works for me. Somewhere in the

BSD library HOWTO?

2004-12-10 Thread Jonathon McKitrick
Hi all, I found some general guidelines in the Developer's Handbook, but is there a more detailed HOWTO somewhere on setting up and using a library? I'd like to get the whole low-down on sonames, links to libraries, compiling versus linking library names, and so on. jm --

When to use 'portupgrade -R'

2004-12-10 Thread Jonathon McKitrick
I've run into some problems using 'portupgrade -R' so I'm wondering if just using 'portupgrade' is good enough in most cases. I don't want a port to be upgraded without NECESSARY dependencies, but I don't want minor upgrades done UNNECESSARILY that might cause inconsistencies in the database.

Re: When to use 'portupgrade -R'

2004-12-10 Thread Jonathon McKitrick
On Fri, Dec 10, 2004 at 01:32:33PM -0600, Joshua Lokken wrote: : from 'man portupgrade(1)': : : -r : --recursive Act on all those packages depending on the : given packages as well. : : -R : --upward-recursive Act on all those packages required :

Re: When to use 'portupgrade -R'

2004-12-10 Thread Jonathon McKitrick
On Fri, Dec 10, 2004 at 02:04:26PM -0600, Joshua Lokken wrote: : required libraries. For example, although I usually install : XFree86-4 via the meta-port, when I want to upgrade it, I : generally run 'portupgrade -r XFree86-4-libraries', which first That might be a better way to do it. I'll

Re: When to use 'portupgrade -R'

2004-12-10 Thread Jonathon McKitrick
On Fri, Dec 10, 2004 at 05:08:44PM +0100, Peter Ulrich Kruppa wrote: : Hmm, I am afraid your question is a bit general ... I've tried the '-R' option before, and ended up with portupgrade telling me I had stale dependencies, and I never can get those fixed right. Maybe I should just stop using

How to use my laptop as a link between 2 other boxes

2004-12-05 Thread Jonathon McKitrick
I cannot get my wife's iBook to find my wireless hub. The next best idea is to install 2 cards in my laptop, with one wireless connecting to the gateway, and the other one connected to the iBook. How would I go about setting up the laptop to forward packets from the iBook to the gateway? Is it

Why these connections from 127.0.0.1?

2004-12-02 Thread Jonathon McKitrick
I'm trying to figure out why these messages are showing up: neptune kernel log messages: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:3746 flags:0x02 Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:2058 flags:0x02 Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:4293

Re: Why these connections from 127.0.0.1?

2004-12-02 Thread Jonathon McKitrick
On Thu, Dec 02, 2004 at 09:50:51AM -0300, Fernando Gleiser wrote: : On Thu, 2 Dec 2004, Jonathon McKitrick wrote: : : : I'm trying to figure out why these messages are showing up: : : neptune kernel log messages: : Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:3746 flags:0x02

Re: Why these connections from 127.0.0.1?

2004-12-02 Thread Jonathon McKitrick
On Thu, Dec 02, 2004 at 01:20:49PM -0300, Fernando Gleiser wrote: : In the original case, it seems he is not runing those services. When sendmail : (or whatever mta he's using) tries to make an ident lookup, it fails and : log in vain logs the connection attempt to the closed port (it only logs :

Re: Is this a hole in my firewall?

2004-11-30 Thread Jonathon McKitrick
On Mon, Nov 29, 2004 at 04:14:07PM +0100, Ruben de Groot wrote: : : allow ip from ${INTERNAL_NET} to any keep-state out xmit tun0 : : : : where INTERNAL_NET would be e.g. 192.168.0.0/24 I was checking out the man page, and I'm a little unclear on whether I want 'xmit' or 'via' in this rule.

Source tree hierarchy

2004-11-30 Thread Jonathon McKitrick
Why are there sometimes 2 levels of the same directory name, one beneath the other? Like sys and i386, for example? jm -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Source tree hierarchy

2004-11-30 Thread Jonathon McKitrick
On Tue, Nov 30, 2004 at 06:54:35PM +0200, Giorgos Keramidas wrote: : On 2004-11-30 15:32, Jonathon McKitrick [EMAIL PROTECTED] wrote: : : Why are there sometimes 2 levels of the same directory name, one beneath the : other? : : Like sys and i386, for example? : : They are different things

Re: Source tree hierarchy

2004-11-30 Thread Jonathon McKitrick
On Tue, Nov 30, 2004 at 07:16:02PM +0200, Giorgos Keramidas wrote: : The /usr/src/sys/i386 directory is AFAIK an `architecture' directory, : : The src/sys/i386/i386 directory is a `machine' related subdirectory. That makes sense. Interesting stuff. jm -- My other computer is your Windows box.

Re: Caching DNS for dialup

2004-11-30 Thread Jonathon McKitrick
On Tue, Nov 30, 2004 at 09:00:03AM +, Martin Hepworth wrote: : Jonathon : : presumably all the nameserver is doing is forwarding requests to your : ISP, as set in the named.boot file? also I guess you're running bind in : which case it will cache automatically. I believe so. I set up a

Re: Is this a hole in my firewall?

2004-11-29 Thread Jonathon McKitrick
On Mon, Nov 29, 2004 at 12:30:20PM +0100, Ruben de Groot wrote: : He's using ppp-nat. So packets from his laptop will first hit rule #300 and : only after that get nat'ed. I believe this is normal behaviour. Ah, yes. I always forget about ppp-nat. So, then, is this the best way to allow my

Re: Is this a hole in my firewall?

2004-11-29 Thread Jonathon McKitrick
On Mon, Nov 29, 2004 at 03:09:30PM +0100, Ruben de Groot wrote: : On Mon, Nov 29, 2004 at 01:21:14PM +, Jonathon McKitrick typed: : On Mon, Nov 29, 2004 at 12:30:20PM +0100, Ruben de Groot wrote: : : He's using ppp-nat. So packets from his laptop will first hit rule #300 and : : only after

Re: Is this a hole in my firewall?

2004-11-29 Thread Jonathon McKitrick
On Mon, Nov 29, 2004 at 05:13:44PM +0200, Giorgos Keramidas wrote: : In general, it's not a bad idea. You won't have to remember to turn : on firewalling when the laptop is connected to a different network; one : that shouldn't really be trusted so much. Not a bad idea. I also use it on the

Caching DNS for dialup

2004-11-29 Thread Jonathon McKitrick
On Wed, Nov 24, 2004 at 05:07:20PM +, Peter Risdon wrote: : A caching DNS server would help conserve bandwidth on a dialup : connection - I generally run one myself with any connection with limited : bandwidth. After RTFM, I believe I have it up and running. ;-) Named is running, but how

Is this a hole in my firewall?

2004-11-27 Thread Jonathon McKitrick
Here are my rules: [EMAIL PROTECTED]:~# ipfw show 00100 0 0 check-state 00200 2 144 allow ip from me to any keep-state out xmit tun0 00300 0 0 allow ip from any to any keep-state out xmit tun0 00400 0 0 deny tcp from any to any in recv tun0 established 00500 0 0 allow ip from any to any

Re: Is this a hole in my firewall?

2004-11-27 Thread Jonathon McKitrick
On Sun, Nov 28, 2004 at 03:31:35AM +0200, Giorgos Keramidas wrote: : AFAIK, rule 00300 will never be hit by packets going out tun0 as long as : you also have rule 00200 in there. Hmmm here's a run after having the laptop running for a bit. I don't see why 200 doesn't cover the case either.

Re: Is this a sign of memory going bad?

2004-11-26 Thread Jonathon McKitrick
On Thu, Nov 25, 2004 at 11:45:06PM -0500, Matt Emmerton wrote: : Given the cost of memory these days, swapping it out is generally cheaper : than the cost of random downtime and recovering from crashes in a production : environment. I am *really* not a hardware guy. I just had a box built and

Is this a sign of memory going bad?

2004-11-25 Thread Jonathon McKitrick
This is what I get from make buildworld. I've gotten signal 10, 11, and now 5. Is this bad memory? S -DYP -c /usr/src/lib/libc/../libc/net/res_debug.c -o res_debug.o cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DINET6 -DPOSIX_MISTAKE

Re: Is this a sign of memory going bad?

2004-11-25 Thread Jonathon McKitrick
On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote: : Jonathon McKitrick [EMAIL PROTECTED] writes: : : This is what I get from make buildworld. I've gotten signal 10, 11, and now : 5. : : Is this bad memory? : : That's a reasonable guess, but the only way to tell for sure

Re: 4 part domain names

2004-11-24 Thread Jonathon McKitrick
: Every unique combination of subdomain.domain.tld could point to an : arbitray other URL or IP. : For example : us.510.mail.example.com = example.com : de.510.mail.example.com = europe.mail.example.com I guess my question is this... if 'us' is the name of the node (machine) and 'example.com' is

Re: 4 part domain names

2004-11-24 Thread Jonathon McKitrick
On Wed, Nov 24, 2004 at 04:08:06PM +0100, Hexren wrote: : location. 510 could identify a rack or a datacenter so that : us.510.mail.example.com means a mail server in the datecenter with : the id 510 which serves the United States. So 'us.510.mail' is an atomic, arbitrary identifier. All three

4 part domain names

2004-11-23 Thread Jonathon McKitrick
AFAIK, a fully qualified domain name is like machine.domain.xxx but what about addresses like us.510.mail.yahoo.com?? Is there any hierarchy to the names in this case? jm -- ___ [EMAIL PROTECTED] mailing list

Re: 4 part domain names

2004-11-23 Thread Jonathon McKitrick
On Wed, Nov 24, 2004 at 12:48:49AM +0100, Hexren wrote: : Now add to that picture that every subdomain could be an alias for another : domain or point to an IP address, which incase of the IP address is : meaning a real machine. So that means that the right-most portion of the subdomain would be

BSD equivalents of autoconf, automake, etc.

2004-11-18 Thread Jonathon McKitrick
I'm starting to dabble in these self-contained self-building scripts and tools and so on, like automake, autoconf, libtool, and so on. Are these the preferred way of doing things on FreeBSD, or is there a better or more BSD-way of doing them? Some time ago, Terry Lambert suggested that tools

Re: BSD equivalents of autoconf, automake, etc.

2004-11-18 Thread Jonathon McKitrick
On Thu, Nov 18, 2004 at 06:32:21PM +0200, Giorgos Keramidas wrote: : The minimal Makefile for building a program in FreeBSD looks something : like this: : : PROG= foo : : .include bsd.prog.mk : : I can't even begin to describe all the 'make magic' that is hidden in :

Re: BSD equivalents of autoconf, automake, etc.

2004-11-18 Thread Jonathon McKitrick
On Thu, Nov 18, 2004 at 06:51:06PM +0100, Matthias Buelow wrote: : Jonathon McKitrick wrote: : : This is exactly what I needed. I wanted to experiment with building, : installing, linking, and the same with my own test 'libraries.' It looks : like this is much easier than autoconf. : : Why do

Re: BSD equivalents of autoconf, automake, etc.

2004-11-18 Thread Jonathon McKitrick
One of the reasons I have been asking this is I will be spearheading a side project at work to port a device driver (a library, really) from Win32 to Linux. I *really* don't want to use Linux to write this. Since it's really just going to be a shared library that talks to a serial port, most of

Question about page faults and swap space

2004-11-16 Thread Jonathon McKitrick
This is probably a dumb question, but it's been a long time since my OS theory classes. ;-) How can I get a page fault if swap space is never used? Why would anything be swapped out and yet not appear as usage on the swap partition, since that never goes away once used? jm --

Re: Question about page faults and swap space

2004-11-16 Thread Jonathon McKitrick
On Tue, Nov 16, 2004 at 10:14:11AM -0600, Dan Nelson wrote: : Accesses to executable images or mmaped files will cause page faults. : They'll show up as vnode pageins as opposed to swap pageins in vmstat : -s or systat -v. Ah, yes. I think I remember now. You don't actually 'load' all of an

Why use a firewall with dialup?

2004-11-13 Thread Jonathon McKitrick
I've been using one for some time, but now that I have a mini network, it has become a bit of a hassle updating the rules. If I disable all services but ssh, stay STABLE, and do not have a broadband connection, what danger is there? jm -- ___ [EMAIL

Re: Question about ISO filesystems and CD-R's

2004-11-02 Thread Jonathon McKitrick
On Wed, Nov 03, 2004 at 12:39:00AM +1100, Ian Smith wrote: : but you can keep on adding further ISO images to a CD-R (or CD-RW) until : it's full, using mkisofs + burncd at least. Very handy here for certain : types of backups, especially on a remote box visited weekly. Ah, that's exactly what

Running STABLE ports on RELEASE

2004-11-01 Thread Jonathon McKitrick
I have been having terrible problems lately with portupgrade dumping core and gnome2 not wanting to build or run on my box. I'm thinking of wiping the drive and doing a clean installation of 4.10, installing packages for what I want, and then cvsupping the ports tree to get the latest versions

Re: Running STABLE ports on RELEASE

2004-11-01 Thread Jonathon McKitrick
On Mon, Nov 01, 2004 at 03:22:58PM +, Matthew Seaman wrote: : If it's the problem with the btree files in BerkeleyDB 1.65 that's : causing Ruby to core dump on you while running portsdb then running : 4.10-RELEASE won't help you. That problem was a bug in the base Ah, good to know. I

Fwd: problem with gtk2.0

2004-11-01 Thread Jonathon McKitrick
This issue has been plaguing me for a while now. Any idea what it could be? Here is the error I get building gtk20 from ports... Making all in stock-icons GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk- pixbuf-csource --raw

Re: Fwd: problem with gtk2.0

2004-11-01 Thread Jonathon McKitrick
On Mon, Nov 01, 2004 at 01:03:42PM -0800, Kent Stewart wrote: : I am an absolute believer in only running csh on root. If you want something : else, su - toor. I thought you might have been on to something. But alas, I got the same result. I'm posting the output to freesd-gnome to see if they

Question about ISO filesystems and CD-R's

2004-11-01 Thread Jonathon McKitrick
Question: If I have an iso image smaller than the CD-R I am burning it to, what happens to that extra space? Is it useless? Can I burn another iso fs to it later, overwriting the first? jm -- ___ [EMAIL PROTECTED] mailing list

Re: How to connect iBook to my BSD network

2004-10-28 Thread Jonathon McKitrick
On Thu, Oct 28, 2004 at 08:15:26AM +0100, Dick Davies wrote: : * Jonathon McKitrick [EMAIL PROTECTED] [1049 04:49]: : : Hi all, : : I have a 4.10 desktop with a wireless hub that my laptop connects to. It : works perfectly. : : Hey boy - how're things? Great! Wondered where you've been

Re: How to connect iBook to my BSD network

2004-10-28 Thread Jonathon McKitrick
: Most base stations have a DHCP server, but you need to turn it on. : Read the docs on the base station, then log in and see. I set my base Hmmm. The whole issue is we got this without docs from Ebay. : station so that 192.168.1.n , where 128n256 is assigned by the BS, : and the rest is

How to connect iBook to my BSD network

2004-10-27 Thread Jonathon McKitrick
Hi all, I have a 4.10 desktop with a wireless hub that my laptop connects to. It works perfectly. I just bought my wife an iBook with an AirPort wireless card and base. I have dhcp set up on my server, but I don't have to use it if it's not the best way. How can I configure both computers to

(OT) Emacs vs Xemacs

2004-10-11 Thread Jonathon McKitrick
I know this is not BSD specific, but I just wanted to get your opinions. I was wondering what might affect my decision which to use, other than licensing and (IIRC) the fancier font handling of Xemacs. jm -- ___ [EMAIL PROTECTED] mailing list

Re: (OT) Emacs vs Xemacs

2004-10-11 Thread Jonathon McKitrick
On Mon, Oct 11, 2004 at 05:26:54PM -0400, Lowell Gilbert wrote: : Jonathon McKitrick [EMAIL PROTECTED] writes: : : I know this is not BSD specific, but I just wanted to get your opinions. I : was wondering what might affect my decision which to use, other than : licensing and (IIRC

Re: What version of FBSD does Yahoo run?

2004-10-08 Thread Jonathon McKitrick
On Thu, Oct 07, 2004 at 11:39:05PM -0700, Ted Mittelstaedt wrote: : I'm sure that Yahoo, like any large commercial enterprise, has a whole : host of specific customizations that they have applied to FreeBSD, : and their version of FreeBSD doesen't look like what we have, at least not : where the

Re: What version of FBSD does Yahoo run?

2004-10-08 Thread Jonathon McKitrick
On Wed, Oct 06, 2004 at 03:44:13PM +0200, Remko Lodder wrote: : Apart from that: Why do you actually want to know? It's better not to : know the exact version since others might abuse that information and : hack into the company. That does not feel right, well not with me :-). I was just

  1   2   3   >