Re: Jail and disk space

2005-06-06 Thread Tim Aslat
On Sun, 5 Jun 2005 02:00:35 -0500
DrVince [EMAIL PROTECTED] wrote:
 Could I use quota to limit jails?

Not really, but you might be able to use a memory disk (man md,
mdconfig) to limit the entire jail to a set size.

I haven't tried this myself, but I'm guessing something like this should
work.

#--- create jail script ---
#!/bin/sh
ID=${ARGV[1]}
DEST=/jails/jail.${ID}
IMAGE=/jails/images/jail.${ID}

# create a blank disk image of 512 Mb
dd if=/dev/zero of=${IMAGE} bs=1024k count=512
mdconfig -a -t vnode -f ${IMAGE} -u ${ID}
bsdlabel -w md${ID} auto
newfs md${ID}c
mount /dev/md${ID}c ${DEST}

# create jail using created image
cd /usr/src
mkdir -p ${DEST}
make world DESTDIR=${DEST}
cd etc
make distribution DESTDIR=${DEST}
mount_devfs devfs ${DEST}/dev
cd ${DEST}
ln -sf dev/null kernel
# End script ---

Again, I haven't tested this, I've just copied  pasted from the
various man pages into a semi-coherent script.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: drivers

2005-05-29 Thread Tim Aslat
On Mon, 30 May 2005 08:42:26 +0930
Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 Nowhere is a good place to send 10 MB of illegible log output.  Please
 don't. 

I agree.

 Do you really expect people to read this?  It's incorrectly coded, and
 it's far too long.  Many people pay for their mail; you have cost me
 personally $2.00 to download this message. 

Knowing what kind of setup you have Greg, I can believe that.

Although it has opened up a rather large can of worms.  Can the list
maintainers restrict message sizes to less than a meg?  I honestly
can't imagine any possible reason for sending an attachment larger than
500K (shar files, etc) to a public mailing list.

Is it worth looking into doing this, or am I barking up the wrong
metaphor?

Regards

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: drivers

2005-05-29 Thread Tim Aslat
On Mon, 30 May 2005 10:03:03 +0930
Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 I suppose it's reasonable.  On the other hand, in my recollection this
 is the first time this has happened.

Maybe it's the first, but I'm guessing it won't be the last. Now that
people have seen its possible, we can probably expect some individuals
to gain some small amusement by sending huge attachments to the list.

I propose that we decide on a realistic size limit for freebsd-*
mailing lists.  My suggestion is 500K.

Regards

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Exim

2005-05-19 Thread Tim Aslat
On Thu, 19 May 2005 22:03:32 -0400
Joe Wood [EMAIL PROTECTED] wrote:

 Can someone point me to a good how-to on setting up Exim on FreeBSD
 5.4? I've looked in a few places but haven't seen anything informative
 yet. 

cd /usr/ports/mail/exim  make install clean

That's the only part that's FreeBSD specific.  Any other Exim tutorials
should be fine from this point on.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: backup

2005-05-12 Thread Tim Aslat
On Thu, 12 May 2005 21:05:35 -0400 (EDT)
Matt Juszczak [EMAIL PROTECTED] wrote:
 My server has an 18 gig drive in it. I'm looking to do incremental
 backups  every night, where my entire /ext partition will be mirrored
 elsewhere  (/ext is the only thing with anything special on it that
 would need to be  recreated).
 
 I was thinking of either backing up to my home machine, which for the
 most  part has a static IP (dynamic every 3-4 months), or getting an
 external  hard drive.  The server is a 1U.
 
 Does anyone have any suggestions, both for how to do this, and what
 kind  of media to use?  (External hard drive, tape drive, remote
 backup to my  home machine, etc.)

I currently backup a 80Gb partition via my office DSL link using a
script based around rsync (/usr/ports/net/rsync).  it's one of the most
brilliant programs around for this kind of thing.

A quick search on google.com should provide examples of other people's
scripts  solutions.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: creating a local cvsup mirror.

2005-05-02 Thread Tim Aslat
In the immortal words of Derrick MacPherson
[EMAIL PROTECTED]...

 I want to create a local mirror for my internal freebsd systems. I
 seem to be confusing articles that are 'how to mirror' and 'how to be
 a mirror'. Is there some details/info out there that could be of help?
 I would have thought it would be enough to be running ports/net/cvsup-
 mirror would be enough on the server, and then the clients here would
 use 'cvsup -h my_cvs_server ports-all' but I end up seeing:
 May  2 12:40:49 cvs cvsupd[57822]: =3 Unknown collection ports-all
 
 So if someone can clarify/point/whatever, much appreciated.

check out /usr/ports/net/cvsup-mirror/
it sets up a local cvsup mirror which you can use locally

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wmv to avi

2005-03-30 Thread Tim Aslat
In the immortal words of Gert Cuykens [EMAIL PROTECTED]...
 is there a tool you can convert wmv mov rm to something standaart ?
 what about mpeg to something smaller ?
 can mplayer do this ?
 
 PS is totem better then mplayer ?

For starters, there are a number of tools you can use.  I have a
preference for transcode, mencoder does a nice job as well. 

look in the ports collection under multimedia.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: reconfigure php4-extensions

2005-02-02 Thread Tim Aslat
In the immortal words of Richard Bradley [EMAIL PROTECTED]...
 What should I do to add a new extension?

Try make config


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Remote hardware identification

2005-01-12 Thread Tim Aslat
Hi All,

I have a remote server which I inherited which I have no real
specifications for except the basic dmesg output.  This machine needs
more RAM and rather than buying 5 sticks of varying types for the job,
is there some way to identify the type of ram needed?  All I know is
that it's a P4 class machine with DDR ram, I'm just not sure of the
speed.  Or is it possible to mix'n'match the ram speeds?

Thinks in advance

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote hardware identification

2005-01-12 Thread Tim Aslat
In the immortal words of Andras Kende [EMAIL PROTECTED]...
 I would get a brand name DDR400 PC3200 since its backward compatible
 with lower speeds (PC2100 PC2700), unless it's more highend server
 motherboard with ECC or Registered memory...

Thanks for the tip.  Its not a high-powered server, it's just an hour
away and I don't want to look like an idiot showing up with the wrong
kind of RAM.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which OS should we use?

2005-01-11 Thread Tim Aslat
In the immortal words of Paul Schmehl [EMAIL PROTECTED]...
 We're getting ready to create some new servers from scratch 
 (format/install).  We've been using 4.9 and 4.10 for a while now with
 no problems.  We've got one 5.3 box setup for test purposes.
 
 On this list I have seen comments about instability issues in 5.3. 
 These servers need to be stable.  Should we install 4.10/11?  Or move
 up to 5.3?

Personally, I would consider moving to the 5.x branch as it has now been
declared to be the Stable branch, and the 4.x versions won't be
supported much longer.  I've set up several servers using 5.3 and they
seem reasonably stable.

I'm now in the process of upgrading one of my older servers to 5.3 from
4.8.

Of course, others may have different ideas, but in the end, if the test
server you set up works like it should, what reason do you have for not
using it?

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VMWare Workstation?

2004-12-21 Thread Tim Aslat
In the immortal words of Tom Vilot [EMAIL PROTECTED]...
 I have not yet tried this ... but has anyone gotten VMWare workstation
 running on FreeBSD? Of course, I don't mean running FreeBSD as a
 client OS in, say, Linux or Windows. But running it as the host OS.

I have, until I upgraded my machine.  I was running VMware workstation 3
under FreeBSD 5.2.1 without incident, however when I upgraded my machine
to a P4-2.6G with HyperThreading, it stopped working because the linux
emulation can't cope with SMP.

If you are running a uniprocessor system it should work fine.

Good Luck

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why reccomend Bash shell?

2004-12-15 Thread Tim Aslat
In the immortal words of Adam [EMAIL PROTECTED]...
 In Greg Lehey's book The Complete FreeBSD he reccomends changing the
 default shell for users to bash shell. -p. 94

Because that is his shell of choice.  I prefer to use TCSH for the same
reason.  

 What are the Pro's/Con's of using bash as opposed to the other shells?

It depends entirely on what you are used to, both are good at what they
do, both are easily scriptable, both are well documented, and both are
widely used.

The only drawback I have found with tcsh is the fact that if you install
new software in your $PATH, then you need to type 'rehash' to let tcsh
see it.

However this being said, I should  point out that tcsh is part of the
base system on FreeBSD whereas bash is a port and must be installed
separately.

In short, play with both and make up your own mind.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mailavenger + Qmail

2004-11-18 Thread Tim Aslat
Hi All,

I was wondering if anyone on the list has any experience with
MailAvenger, preferably in conjunction with Qmail, that they could
provide me with some hints.  The mailavenger website isn't all that
helpful with setting it up.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: re bittorrent

2004-11-07 Thread Tim Aslat
In the immortal words of Quinn Ellis [EMAIL PROTECTED]...
 Why do you download with bittorrent as opposed to FTP?

Distributed sources, this way FTP servers don't get as hammered if parts
of the download are coming from multiple sources.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Filesystem quotas

2004-11-03 Thread Tim Aslat
In the immortal words of Chris Burchell [EMAIL PROTECTED]...
 In testing features on a FreeBSD mini installation I have modified the
 /etc/fstab file so that the / partition is 'rq' instead of 'rw' - this
 was done to enable quotas so I could try working with them.
 (the man page said 'rq' was read/write/with quotas)

Actually I think you will find that is internal codes, try using the
userquota option as well as rw
eg: 
/dev/ad0s1h/home   ufs  rw,userquota,groupquota   1  1

Cheers

Tim



-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Image capture

2004-11-02 Thread Tim Aslat
In the immortal words of Olivier Nicole [EMAIL PROTECTED]...
 I have an application that does image capture for video surveillance.
 
 It was designed on 4.x, nowdays running on 4.10 and using a video
 capture card with a Brooktree 484 chipset. The capture function is
 copied from the meteor example.
 
 Now I am requested to port that application to 25 new boxes. Ideally
 I'd love to locates hardware that work with the existing software but
 I will never be able to find bktr 484 card.
 
 And the solution must be cheap (so firewire may not be the solution).
 
 I cannot spend too much time testing so would prefer to stick to 4.10,
 and certainly cannot spend money on a solution that may not work.
 
 I am looking for any advice in the USB direction or traditionnal PCI
 video capture card.

Actually, I hvan't heard of a brooktree 484 card, don't you mean 848?

Seriously, if the card is using the supplied BT driver from FreeBSD,
then you have the luxury of using any of the BT chipsets (878 is
popular and readily available).  Failing that, it really depends on how
your application is accessing the capture device.  If it is just copying
data from the raw device, then you can use the Hauppauge PVR series
cards which I absolutely love, having used them in a surveillance
application myself recently.

IF the card you are looking at really is the 848 chipset, then you
should be able to use any of the brooktree cards without needing to
change the driver at all.   

Snippet from the /usr/src/sys/dev/bktr/bktr_tuner.h file
--
 * This is part of the Driver for Video Capture Cards (Frame grabbers)
 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878,
Bt879 * chipset.
--

Cheers  good luck

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is my computer under spec?

2004-11-01 Thread Tim Aslat
In the immortal words of R. W. [EMAIL PROTECTED]...
 It depends on the memory, it's  probably PC100 or PC133.  PC133 is
 still widely available and an extra 256MB would make a considerable 
 difference. I have  a 700MHz P3 with 512 MB, and it's fine for
 ordinary desktop use.  
 
 PC100 is harder to find and more expensive.

I've managed to use PC133 ram in an older system with no problems,
except I couldn't mix'n'match with the PC100 ram that was already in
there as it caused some interesting instabilities.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is my computer under spec?

2004-10-31 Thread Tim Aslat
In the immortal words of Loren M. Lang [EMAIL PROTECTED]...
 I have been having performance problems with my computer for months,
 ever since I did a fresh install of freebsd 5.2.1.  I thought the
 situation might change after debugging was turned off in RELENG_5 so I
 upgraded a couple weeks ago to 5.3-BETA7, but only saw slight
 improvements.  I'm running Xorg, fvwm 2.4, several xterms, vncviewer,
 mozilla, xmms, and xine and my system was really running slow.  At
 some point mozilla was killed because the system was out of swap
 space.  I have a pentium celeron 3 600 MHz, with 128 megs of ram, 30
 gig hd, 256 meg swap.  Is my system just under spec for freebsd 5.x or
 is something else wrong?

First thing to check is how much ram is being used by the system.  the
Top command is your best friend in this case, check to see what kind of
memory usage each program has.  It will also show how much CPU usage
they are using.  

 I didn't really think this should push a system like this that hard. 
 I might try running linux on it in a similar configuration to compare
 and maybe think about some more ram if it also has problems.

I would be suspecting RAM is your main bottleneck.  Does your hard drive
seem to be constantly working?

I have 512Mb of ram installed and I'm still using some swap (33%) but I
also have quite a number of programs running continuously (firefox,
sylpheed-claws, several aterms, xmms,wmweather+, fluxbox-devel and a few
other odda  sods).  I could probably optimise this, but the actual swap
appears to be reasonably well managed and doesn't thrash my hard drives.

I think you will find the machine is fine, for most things, just needs a
little more RAM.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl vs php round 1

2004-10-26 Thread Tim Aslat
In the immortal words of Gert Cuykens [EMAIL PROTECTED]...
 Dame you, now i still don't know which one to use PS what about python
 ? Doesn't google and nasa use python, i wonder why. It has defenatly
 the coolest name meaning i can make phyton aplications sounds way
 cooler then perl or php or java :P

The simplest answer is, pick one, learn it, then use it.  They all have
pros and cons.  I tend to mix and match with Perl  PHP depending on
what I need.  If I need web output I use PHP, if I need console output/
background stuff then I use Perl.

I suggest that you look at example code from each one, and pick
whichever one you understand the most from reading the code.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl vs php round 1

2004-10-25 Thread Tim Aslat
In the immortal words of Gert Cuykens [EMAIL PROTECTED]...
 Can you do as much with perl as you can do with php ?

Depends on who is doing it.  I can do more with Perl than with PHP, but
I know someone else who can do more with PHP than Perl.  It isn't the
language that is the limiting factor, it's the experience/training/skill
of the person doing it.

It's like asking what weighs more, a kilogram of bricks, or a kilogram
of feathers.  They are the same, they just look different.

Perhaps if you gave us some indication of what you had in mind we could
give you more information.


Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw - denying all - what port for OE

2004-10-12 Thread Tim Aslat
In the immortal words of David Banning
[EMAIL PROTECTED]...

 My server is my desktop. My ipfw rules follow. Whenever I take
 out line 12000 is runs fine. When I put it back in I can't run
 OE. 
snip

You might want to try something like:

ipfw add allow ip from any to me 25  # SMTP
ipfw add allow ip from any to me 52  # DNS
ipfw add allow ip from any to me 67  # DHCP
ipfw add allow ip from any to me 80  # HTTP
ipfw add allow ip from any to me 110 # POP3
ipfw add allow ip from any to me 143 # IMAP
ipfw add allow ip from any to me 443 # HTTPS

and so forth.  Note the from any to me rather than from any to any

Hope this helps

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP address conflicts

2004-09-27 Thread Tim Aslat
 of this network is standardised, some buildings switches are in a
central location, others are in the building itself, some are even daisy
chained through different buildings.  It's a nightmare.

 When that is done at least you can contain it - if the kiddie is doing
 a MAC spoof then he's going to be isolated to the building that all
 the dumb hubs and switches are on that he is in and all the users in
 that building will be trashed - but at least the rest of the school
 won't be.

This might be a good stopgap measure in this case, definitely better
than setting up the arp tables manually.

 Right now you have it at the early stages.  The people your battling
 are probably so stupid they are using Windows boxes and just changing
 the IP, and don't know the difference between a MAC spoof and a horse
 hoof.

Thankfully, I think you are right.  I just want to be a step or three
ahead of these people.

 But once you realize this is a layer-2 battle, and start fighting them
 effectively on the MAC front, they are going to learn quick.  Your a
 lot more vulnerable than you realize.  There's quite a lot that a
 knowledgeable network cracker can do to tear apart a network held
 together with bandaids and bailing wire.  You need to start banging
 the drum now for an immediate cash infusion, because a year from now
 when the network is offline for long periods and people are desperate,
 you won't have any credibility unless you have been predicting doom
 for a long enough time that their brains remember you have been doing
 it.

Should I get a sandwich board made up with The End of the World is
NIGH written on it?   It might work, it's a private/catholic school.  
Perhaps predictions of Armageddon would be better.. I might even be
able to dig up a few horsemen :)

Thanks for the suggestions, I'm sure I can implement most of them fairly
quickly, the rest might have to wail for next year's budget.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which Laser Printer for FreeBSD

2004-09-18 Thread Tim Aslat
In the immortal words of Ted Mittelstaedt [EMAIL PROTECTED]...
 Go buy a HP Laserjet 4M+ that's used.  For starters the things are
 indestructible
 you might have to do a feed roller replacement at 50,000 prints, but
 other than
 that you just keep putting toner and paper in it.  They are dirt cheap
 used and
 the remanufactured toner cartridges for them are also dirt cheap.  The
 PostScript
 is real PostScript.  They take an internal print server card that is
 also dirt
 cheap on the used market.

I agree.  I have one of these given to me, and I have to admit, it's
basically wonderful.  Everything works with it, it spits out pages
perfectly every time.  It's a bit slow to warm up, but that's bearable
considering all it's benefits.
I'm up to around 4000 pages since I bought a toner for it, and I will
probably just get a refill cartridge for less than AU$50.  

You can usually pick these units up at auction for around the $20 mark,
or sometimes less.  Mine came with a second paper tray and a jet-direct
card, and I'm sure there are other nice extras that people are willing
to include just to take it off their hands.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: increasing failed sshd logins/clearing breadcrumb trails

2004-09-14 Thread Tim Aslat
In the immortal words of Glenn Sieb [EMAIL PROTECTED]...
 I've been getting this for weeks. They're all under APNIC, and emails
 to [EMAIL PROTECTED] involved networks has gone unanswered.

I've been getting these as well, but from a multitude of address spaces.
 Not just APNIC.

 The easiest way to protect this is to check your sshd_config and set:
 PermitRootLogin no

Agreed.  However if you 'Absolutely' require something to be done
remotely as root, make it a pub/priv key sequence and limit the command
using the keys.  ie:
change sshd_config to PermitRootLogin without-password
and set up
command=/usr/local/bin/rsync --server --daemon . ssh-dss snip actual
key 
in the authorized_keys file.  This limits the abilities of the remoe
login to just running the rsync command with the specified switches. 
Anything else just doesn't work.

 Which, if you're exposed to the 'Net would be a sane practice--force 
 people to log in as themselves and su (or sudo or sudoscript) to root.

Very sane practice

 Admittedly, I am not sure about the rest of your posting. When I run 
 last, (on 4.10-STABLE) it shows logins back to the 1st of September.

It is possible that the box was compromised and the utmp/wtmp log
removed/edited/etc, and I would start looking immediately for other
traces of a possible intrusion.

Cheers  good luck

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Change root user name? possible?

2004-08-25 Thread Tim Aslat
In the immortal words of Charles Swiger [EMAIL PROTECTED]...
 Whether this gains you much security is another question entirely, and
 you risk breaking single-user mode and various low-level pieces of 
 software which expect root to exist, but it can be done.

I know it can be done, a couple of typos in vipw and I lost the root
account, very disconcerting, but single use mode still seemed to work,
probably because the toor account was still intact even though it has a
password of *.



-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apple 1gz Server -- FreeBSD?

2004-08-23 Thread Tim Aslat
In the immortal words of Forrest Aldrich [EMAIL PROTECTED]...
 We have a 1gz Apple 1U server here -- and I'm wondering if we could
 run a *BSD on it, other than Darwin.

Well, I think the motto of NetBSD says it all

Of course it runs NetBSD!

You might want to check the specifics over at http://www.netbsd.org top
be certain


Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samsung Cordless Mouse

2004-08-16 Thread Tim Aslat
In the immortal words of Greg 'groggy' Lehey [EMAIL PROTECTED]...

 More by accident than by design, I find myself the owner of a Samsung
 PS/2 Cordless Mouse.  To make identification easier, it doesn't have a
 model number, so I assume it's the only one they made.

I've come across one of these myself recently, interesting, but
practically useless.

 This mouse has five buttons: the normal three on top, and one on each
 side.  I can't find a way to get the side buttons to work, and looking
 on the web hasn't shown anything of interest.

There are several models and manufacturers of this kind of rodent.  You
might want to experiment with it in X (man xev is a good place to
start), but a simple solution is to see what it's detected as when the
system boots up.

 I don't suppose anybody knows this mouse, though I'd be interested in
 hearing if somebody has.  My real question is: how can I enable the
 side buttons?  There's obviously some kind of initialization sequence
 that is performed by the Microsoft drivers included with the mouse,
 but how do I find out what they do?  Is there some utility that runs
 under Microsoft and snoops what's going on on the PS/2 port?  I know
 of something similar for USB, but so far I've drawn a blank for PS/2.

The buttons are probably already enabled, but you might need to mess
with some X resources to make them do anything useful.

Also, try something like
Option Buttons 5 
int the /etc/X11/XF86Config file

 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original
 recipients. For more information, see
 http://www.lemis.com/questions.html

I'd like to but I don't have control over my upstream providers DNS or
mail settings so your mail server rejects anything I send and there's
not a lot I can do about it.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote backup hosting setup?

2004-08-03 Thread Tim Aslat
In the immortal words of Eric Crist [EMAIL PROTECTED]...
 I was recently contacted by a lawfirm that needs a remote backup
 solution to help bring their insurance rates down.  I've decided to go
 ahead and do this, as their needs are not that great.

Sounds simple enough

 What I'm asking, is how best to setup this situation.  I've never
 played with jails or anything, but I'm not sure if I really need to go
 that far.  I'm considering building a server that has ssh and sftp
 access. The plan is to allow them to upload at their pace, and provide
 next-day DVD/CD copies of their entire directory structure.

Try one of the multitude of rsync based scripts, you can even get some
very good incremental backups happening, and burning DVDs/ dumping to
tape/etc is simple enough top script as well.  Rsync by default works
over ssh so can be very secure.

The had part would be, how do these people want to retrieve the data?

If you are just handing them media once a day, then it's simple, but if
they want to retrieve it remotely as well, then you could be in for some
fun and games.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dumb perl upgrade question

2004-07-21 Thread Tim Aslat
In the immortal words of Brent Wiese [EMAIL PROTECTED]...
 Am I missing some environment variable somewhere or what?

Did you run 
use.perl port
after you upgraded the port?


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reading regular DVD's

2004-07-01 Thread Tim Aslat
In the immortal words of SmartServ Hosting [EMAIL PROTECTED]...

 dmesg | grep acd
 acd0: DVDR HL-DT-ST DVDRAM GSA-4082B at ata1-master UDMA33
 
 FreeBSD 5.2-CURRENT
 
 When I insert a DVD movie /dev/acd0c doesn't register therefore I
 cannot use mplayer or anything to view the DVD.

That's because under FreeBSD 5.1 and over, the device /dev/acd0c is no
longer used and only the base device /dev/acd0 is used

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP bandwidth

2004-07-01 Thread Tim Aslat
In the immortal words of John Lee [EMAIL PROTECTED]...
 i'm using a freebsd 4.10-stable server with 50 IP addresses.
 Is there any program i can install that will be able to tell me:
 
 - how much bandwidth (ie. kbps) each individual IP is using?
 
 trafcount seems to count total traffic only, any idea?

Try using the log functions of the ipfw system

ipfw add log ip from any to ip address 

an entry for each address would log all traffic to/from that address

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel P4 HT Technology

2004-06-21 Thread Tim Aslat
In the immortal words of [EMAIL PROTECTED]...
 Just want to ask if FreeBSD already supports Intel P4
 HT Technology.

Actually yes it does, please note the snippet from my dmesg output


CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2600.44-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
E,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 536805376 (511 MB)
avail memory = 511758336 (488 MB)
ACPI APIC Table: IntelR AWRDACPI
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1


Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installed perl 5.8. from the ports ??

2004-05-20 Thread Tim Aslat
In the immortal words of Shawn Guillemette [EMAIL PROTECTED]...
 Unfortunately I dont know what version I has using before. I was
 wondering if there was somthign I needed to do to stop using the older
 version and start using the new one?

check the /usr/ports/UPDATING file,  I think it's at the bottom of the
file anddescribes in detail how to upgrade from perl 5.6 to 5.8

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c and freebsd

2004-05-18 Thread Tim Aslat
In the immortal words of [EMAIL PROTECTED]
 hello i'm learing c and hoping to make bsd a life long friend. i'm
 thinking about building a cluster in total of about 20-25+ clients.
 does freebsd support c, i expect it to, and does that come with
 graphic functions and name a list of prog. languages that freebsd
 supports, please. coming from microsoft (the bastard) . please explain
 it in dummy terms , i'm 16 by the way, thanx a whole lot! 

Welcome to the club.

Of course FreeBSD supports C, that's he language it was written in.

As for clustering, I believe that just about any unix variant is capable
of it in some form or another.

Graphics functions are available, but it depends on what type you are
looking for.  In this case, the ports collection is your friend.

once you have FreeBSD installed, I recommend that you type 
man intro
man ports
man hier
and also read the handbook
less /usr/share/doc/handbook/book.txt

I suggest you spend some time reading the handbook before asking too
many questions on the mailing lists, as you will find the majority of
the answers in there.

Good luck  have fun

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5 rc.d scripts and /usr/local/etc/rc.d

2004-05-12 Thread Tim Aslat
In the immortal words of Chad Leigh -- Shire.Net LLC
[EMAIL PROTECTED]...
 The best way to handle rc.local, however, is to separate it
   out into rc.d/ style scripts and place them under 
 /usr/local/etc/rc.d/.

That's right

 So I created an rc.d style script for my own service and stuck it in 
 /usr/local/etc/rc.d/.  It does not have a .sh on the end as it should 
 run in a subshell as detailed in the rc man page.  I also added

There's your problem, all scripts in rc.d must have a .sh extension or
they will be ignored (unless included from another script/program)

rename to myscript.sh and it will work

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting Data on the Parallel Port

2004-05-05 Thread Tim Aslat
In the immortal words of Philippine FreeBSD Info [EMAIL PROTECTED]...
 Is there a simple way to set the D0 to D7 bits on the Parallel Port...

Simplest option (I've been doing a bit of this myself lately) is to use
the ppi interface.  There is some example code (in C) to be found in
/usr/share/examples/ppi/ppilcd.c

Failing that, you could also try man ppi

 perhaps with a script I could make into a cron job.  I just want to
 turn on and off some things through out the day.  My buddy does this
 with his WhenDoze? machine and basic, and everyone knows FreeBSD does
 everything better!

I don't know for sure, but you can probably find something on CPAN in
the way of a Perl module for controlling the Parallel port.

Hope this helps

Cheers

Tim



-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newsyslog and apache

2004-04-22 Thread Tim Aslat
In the immortal words of Noah [EMAIL PROTECTED]...
 this advice does not give me many warm fuzzies - the website appears
 to be down.  any other util recommendations that rotate hundreds of
 apache logs files really well.  newsyslog is not meeting our
 requirements at the moment.

Have you tried using the internal rotation code in apache?

this excerpt from man rotatelogs should provide more information
   rotatelogs  is  a  simple  program for use in conjunction with
Apache's   piped logfile feature which can be used like this:

  TransferLog | rotatelogs /path/to/logs/access_log 86400

   This creates the files /path/to/logs/access_log. where 
is  the   system time at which the log nominally starts (this time
will always be   a multiple of the rotation time, so you can 
synchronize  cron  scripts   with it).  At the end of each rotation
time (here after 24 hours) a new   log is started.

Logging is internal to apache, and doesn't require apache to be
restarted.

Hope this helps

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newsyslog and apache

2004-04-22 Thread Tim Aslat
In the immortal words of Noah [EMAIL PROTECTED]...
 Okay this looks like a viable option.  can rotatelogs also age out and
 delete log files that are older than 30 days?  And does it compress
 the log files as well?

No, but it isn't hard to come up with a script to proces the logs in any
way you see fit.  Regardless of what you choose to do to the logs, you
don't have to restart apache, which I thought was the main object of
your question.

The main advantage to doing it this way is that the logs will be pretty
much rotated simultaneously by apache, so a couple of minutes after it's
scheduled, you can run a script to compress, analyse, delete or whatever
the rotated logfile.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SMP Top program

2004-02-22 Thread Tim Aslat
Hi All,

Just wondering if anyone can point me in the right direction here.  I'm
running a SMP system of dual Xeon CPU's with Htt and I'd like ot know if
there is a version of top which will show information for each CPU as
opposed to just the single set of data.

Is this even possible,, or am I barking up the wrong tree?

Regards

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba 3.x.x on FreeBSD 4.9

2004-01-15 Thread Tim Aslat
In the immortal words of Jeff Royle [EMAIL PROTECTED]...

 I have tried various versions of Samba 3.x.x on my FreeBSD 4.9 server 
 without success. (Including the current port)
 
 The install  goes smoothly however running testparm I encounter the 
 following errors...

snip

I'm having the same trouble on a 5.2-RELEASE isntallation.  Fresh
install of 5.2-RELEASE, cvsup ports, make install in net/samba-devel and
I'm getting the same problem.

Some things still work even with the errors, but others don't.

I realise this is a maintainer issu, however I would like some
indication of wether it's a localised problem or if it's common enough
that something needs to be done about it.

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba 3.x.x on FreeBSD 4.9

2004-01-15 Thread Tim Aslat
In the immortal words of Antoine Jacoutot [EMAIL PROTECTED]...
 This is how I install samba-devel on my 5-2 boxes without anyu
 problem:
 
 env CONFIGURE_ARGS=--with-ldap env 
 CONFIGURE_ENV=CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
 make -DWITHOUT_CUPS -DWITH_QUOTAS -DWITH_MSDFS -DWITH_ACL_SUPPORT
 -DWITH_LIBICONV install clean

SOunds ok to me, however I'm also using winbind  and attemting to use
ADS support (which doesn't work for me) 

make WITHOUT_CUPS=yes WITH_QUOTAS=yes WITH_WINBIND=yes
WITH_WINBIND_AUTH_CHALLENGE=yes KRB5_HOME=/usr WITH_ACL_SUPPORT=yes
WITH_LIBICONV=yes install clean

maybe I'm doing something wrong in this part.

I also have the heimdal port installed with WITH_LDAP=yes

Anyone got any suggestions?

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: web log and bandwidth usage

2003-11-25 Thread Tim Aslat
In the immortal words of Will Prater [EMAIL PROTECTED]...
 I am looking for a solution that will monitor bandwidth usage for 
 websites on a server. I would like to get notified if a certain site 
 has exceeded a certain limit. I could create such a script myself by 
 parsing the weblogs.. or parsing output from a web log analyzer such
 as analog, but I would like to see if there are any solutions that
 some of you may be employing before I spend development time on this.

check out mod_accounting, it's designed specifically for what you want.

 What might be some of the better choices for web log analysis as well?

I use webalizer but mostly I get what I need from mod_accounting (look
in ports under www)



-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: chroot users

2003-11-13 Thread Tim Aslat
In the immortal words of Shawn Guillemette [EMAIL PROTECTED]...
 I want to chroot users to there home directories so that I can allow
 them to use FTP and not worry about someone going lower then there
 home dir.. 

The default ftpd in FreeBSD works nicely, try looking in:

man ftpchroot

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make dev problems

2003-11-06 Thread Tim Aslat
In the immortal words of Jason Burris [EMAIL PROTECTED]...
 I need to compile a kernel with IPFW on a remote machine running
 FreeBSD4.7.  I followed the steps listed at:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Following the handbook isn't a bad start.

 In my COMPUTERNAME config file I've add the following three lines to
 the end for IPFW:
 
 options IPFIREWALL
 options IPFIREWALL_VERBOSE
 options IPFIREWALL_DEFAULT_TO_ACCEPT
 
 And I changed this line, which I read was necessary:
 
 ident COMPUTERNAME

Not bad, but a more secure way would be to default to deny rather than
accept, but that's personal preference.

 I'm able to run:
 
 /usr/sbin/config COMPUTERNAME
 cd ../../compile/COMPUTERNAME
 
 When I run
 
 make depend
 
 Everything runs fine until it dies with the error:
 
 make: don't know how to make iconv.h.
 Stop*** Error code 2
 Stop in /usr/src/sys/modules.***
 Error code 1
 
 I've checked and this file is in my /usr/src/sys directory.What am I
 doing wrong?  Do I even need this header to be compiled intothe
 kernel?

You might want to try the newer method of building a kernel.

cd /usr/src
make buildkernel KERNCONF=COMPUTERNAME
wait a bit
make installkernel KERNCONF=COMPUTERNAME

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make dev problems

2003-11-06 Thread Tim Aslat
In the immortal words of Jason Burris [EMAIL PROTECTED]...
 The system didn't have the sources, so I downloaded the first CD ISO
 and extracted them from there into:
 
 /usr/src/sys
 
 Could there be more sources that I need to extract?
 
 Also I tried the suggestion:
 
 cd /usr/src
 make buildkernel KERNCONF=COMPUTERNAME
 wait a bit
 make installkernel KERNCONF=COMPUTERNAME
 
 And I just got the message:
 
 make: don't know how to make buildkernel. Stop
 
 There is nothing in my /usr/src directory besides the /sys dir.

You only have the kernel sources, you need the rest of the base sources
and a make buildworld before you can compile the kernel.

You might want to consider installing cvsup (pkg_add -rv
cvsup-without-gui) and getting the latest version of the complete
sources.

for more details, the handbook is always a good source of information.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tradeshow Crowd Pullers

2003-08-14 Thread Tim Aslat
In the immortal words of Claire Q'vant [EMAIL PROTECTED]...
 Hmm. Starting X(albeit minimal) is not what I'm after,
 as it needs to appear as soon as the kernel is loaded
 - directly after the POST screen...
 The filesystem isn't mounted for a while after that,
 as the kernel detects hardware, and sets out
 resources, etc, and I'd like that to be
 graphical(represented, at least)

 It's worth consideration though, if nothing else
 happens...

This might be a stupid suggestion, but wouldn't it be simpler just to
hack the splash kernel module?  A couple of days of messing around might
come up with something that approximates what you are looking for.  If
all you want is eye-candy for impressing people, then it shouldn't
matter that it doesn't actually do anything.

Cheers

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: 82243020M: 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: server port

2003-07-16 Thread Tim Aslat
In the immortal words of Rus Foster [EMAIL PROTECTED]...
 Am I imagining it or is there a port for setting up a basic server? I
 can see it for looking

you might try

/usr/ports/misc/instant-server

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: 82243020M: 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I have a problems with SiS900 on ASUS chipset P4SDR-VM

2003-07-01 Thread Tim Aslat
In the immortal words of Vladislav Glazkov [EMAIL PROTECTED]...

Hi Vladislav,

I had the same problem with a Notebook I bought with exactly the same
chipset.  I couldn't make FreeBSD 4.7, 4.8 or 5.0 work but 5.1 works
like a charm.  You might consider using that version instead.

cheers

Tim


 My company buy a new parent payment of firm ASUS with built - in
 chipset - SiS.
 And in this connection there was a problem, and particulars can not 
 force to work network card(LAN) SiS900,
 which already built - in on this mothersboard under FreeBSD(4.7),
 gives out a mistake:
 sis0: MII without any PHY!
 device_probe_and_attach: sis0 attach returned 6
 
 Do you really help me, because ONLY FreeBSD must work only this 
 mothersboard! ???
 (when I am install Linux on this mothersboard, network card work full 
 correctly)
 
 # Specifications:
 mothresboard: ASUS P4SDR-VM (socket 478 for Intel P-4)
 Chipset: SiS 650Gl
 LAN (ICS1893Y LAN PHY)
 # =
 
 -- 
 With best regards,
 system administrator
 Vladislav Glazkov
 http://www.iks.ru
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: 82243020M: 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Online Content Management Tool - question

2003-06-26 Thread Tim Aslat
In the immortal words of admin [EMAIL PROTECTED]...
 other than zope - are there any good onlin content management tools
 out there that allow people to update webpages and cgi code easily?

You might want to try out phpwebthings
http://www.phpdbform.com

Modular, lots of features, themeable, and not too hard to work with.  
has just become version 1.0

Cheers

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: 82243020M: 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: time -h option not working?

2003-04-03 Thread Tim Aslat
In the immortal words of Carl Morley [EMAIL PROTECTED]...
 I just tried to use the time command to time a process, but with the
 -h(human readable) output option:
 
 Eg. time -h ping -c 5 some_ip_address
 
 But I get back:
 -h: Command not found.
 0.000u 0.000s 0:00.00 0.0%  0+0k 0+0io 0pf+0w
 

type which time and you will probably find that it's an internal command
to tcsh and the -h switch doesn't work except fr the actual base system
command



-- 
| The most exciting phrase to   | Tim Aslat [EMAIL PROTECTED] |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not Eureka! (I found it!)   | P: 82270800M: 0401088479 |
| but That's funny ...| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, Eureka is Greek for | The Ultimate Goody Fansite   |
| This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: identifying my network address

2003-03-09 Thread Tim Aslat
In the immortal words of David Banning [EMAIL PROTECTED]...
 I wasn't clear enough. I need to get the IP address in -unix-. 

Try looking at your environment variables

SSH_CLIENT='xxx.xxx.xxx.xxx 1220 22'
SSH_TTY=/dev/ttyp1


-- 
| The most exciting phrase to   | Tim Aslat [EMAIL PROTECTED] |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not Eureka! (I found it!)   | P: 82270800M: 0401088479 |
| but That's funny ...| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, Eureka is Greek for | The Ultimate Goody Fansite   |
| This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: identifying my network address

2003-03-09 Thread Tim Aslat
In the immortal words of Tim Aslat [EMAIL PROTECTED]...
 Try looking at your environment variables
 
 SSH_CLIENT='xxx.xxx.xxx.xxx 1220 22'
 SSH_TTY=/dev/ttyp1

Sorry, I should have been more specific, this is the ENV variables from
my server that I'm logged into via SSH showing the source (workstation)
address and port where
xxx.xxx.xxx.xxx client IP (x-server)  
1220 client port number 
22 host port number

Cheers

Tim

-- 
| The most exciting phrase to   | Tim Aslat [EMAIL PROTECTED] |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not Eureka! (I found it!)   | P: 82270800M: 0401088479 |
| but That's funny ...| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, Eureka is Greek for | The Ultimate Goody Fansite   |
| This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Can't start Mozilla

2003-02-13 Thread Tim Aslat
In the immortal words of Ihsan Junaidi Ibrahim
[EMAIL PROTECTED]...
   Ever since I upgraded to KDE 3.1 and all the relevant packages
   and ports, 
 I've been unable to use Mozilla. It will not even start. Here's the
 error message.

I'm getting the same messages, but here's more information

I don't use KDE/Gnome (I use fluxbox instead) and I'm getting the same
problems.  I have updated mozilla-devel to 1.3b,1 with the same
problems.  I've deleted the .mozilla directory and tried to restart with
the same results, except now I get a segmentation fault.

This has only happened in the past couple of days, and may have
something to do with the GTK libraries being upgraded rather than KDE.

Cheers

Tim

-- 
| The most exciting phrase to   | Tim Aslat [EMAIL PROTECTED] |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not Eureka! (I found it!)   | P: 82270800M: 0401088479 |
| but That's funny ...| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, Eureka is Greek for | The Ultimate Goody Fansite   |
| This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Can't start Mozilla

2003-02-13 Thread Tim Aslat
In the immortal words of Joe Marcus Clarke [EMAIL PROTECTED]...
 Unless you're using mozilla-devel-gtk2, then the recent GTK upgrade
 will not affect you.  If you are using the GTK-2 version, you should
 do a rebuild of it after making sure glib20, atk, pango, and gtk20 are
 all up-to-date.

Hmmm, ok.  any other ideas.  I've just done a complete upgrade of all my
mozilla (embedded  headers) to 1.3b,1 and I'm still seeing the same
thing.  I also totally wiped out the mozilla directories before doing
the installation.

Any other ideas?

Cheers

Tim

-- 
| The most exciting phrase to   | Tim Aslat [EMAIL PROTECTED] |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not Eureka! (I found it!)   | P: 82270800M: 0401088479 |
| but That's funny ...| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, Eureka is Greek for | The Ultimate Goody Fansite   |
| This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: smbus hardware monitoring problem

2003-01-21 Thread Tim Aslat
In the immortal words of Matthew Seaman
[EMAIL PROTECTED]...

 Of course, immediately I sent the above, I noticed what was wrong with
 that picture.
 
 Try adding
 
 device  amdpm
 
 to you kernel config...

Thank you.  It worked like a charm, and now that I know what I was
lacking, I discovered that it isn't actually listed in LINT hence the
reason I couldn't find it without help.

Of course, now that I know what it is, I'm finding all kinds of
information about it.  

I assume that it was a minor oversight not having this entry in LINT, or
are there a lot of things not there deliberately?

Cheers  thanks again

Tim

-- 
| The most exciting phrase to   | Tim Aslat [EMAIL PROTECTED] |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not Eureka! (I found it!)   | P: 82270800M: 0401088479 |
| but That's funny ...| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, Eureka is Greek for | The Ultimate Goody Fansite   |
| This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: smbus hardware monitoring problem

2003-01-21 Thread Tim Aslat
In the immortal words of Matthew Seaman
[EMAIL PROTECTED]...

 Errr...
 
 happy-idiot-talk:...sys/i386/conf:% grep amdpm LINT 
 # amdpm AMD 756 Power Management Unit
 device  amdpm
 
 Looks like it is in LINT to me.  Hmm...
 
 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/Attic/LINT?only_with_tag=RELENG_4
 
 Seems like it was an oversight that has been corrected only in the
 last two or so weeks.

Mine still shows nothing, but I haven't done a cvsup in about a week
(automatic on Saturday mornings with /etc/weekly.local)

- grep output -
bofh.zaphod [8:46am] [/usr/src/sys/i386/conf] grep apm LINT 
# apm: Laptop Advanced Power Management (experimental)
#  The flags takes the following meaning for apm0:
#  If apm is omitted, some systems require sysctl -w
kern.timecounter.method=1
device  apm0
#  apm under `Miscellaneous hardware'
# viapm VIA VT82C586B,596,686A and VT8233 SMBus controllers
device  viapm
bofh.zaphod [8:46am] [/usr/src/sys/i386/conf] 
- end grep output -

either that or my LINT file isn't being updated by cvsup?

Anyhow, thanks again for your help, it's saved the last of my hair
follicles from being forcibly removed.

Cheers

Tim


-- 
| The most exciting phrase to   | Tim Aslat [EMAIL PROTECTED] |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not Eureka! (I found it!)   | P: 82270800M: 0401088479 |
| but That's funny ...| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, Eureka is Greek for | The Ultimate Goody Fansite   |
| This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



smbus hardware monitoring problem

2003-01-20 Thread Tim Aslat
Hi All,

I'm having a spot of bother getting hardware monitoring working under
FreeBSD (4.7-RELEASE-p3).

I have a M7MKA mainboard (Biostar) slot A Athlon, with a AMD751/756
chipset.  According to the documentation I've found it has a winbond 
W83782D hardware monitor which is supposed to be supported by healthd.

My current attempt at kernel configuration has the following differences
from GENERIC.
 additional entries to GENERIC 
# trying to get smbus working for hardware monitoring
device  smbus   # Bus support, required for smb below.
device  intpm
device  alpm
device  ichsmb
device  viapm
device  smb

device  iicbus  # Bus support, required for 
device  iicbb
device  ic
device  iic
device  iicsmb  # smb over i2c bridge
device  pcf0
 end addition entries -

dmesg doesn't come up with any indication that smbus or smb devices are
found/configured and I'm beginning to tear my hair out.

Obviously I'm doing something really stupid or it would be working and
I'm at my wits end.

Can anyone give me a pointer in the right direction as I'm still fairly
new to the ins and outs of the kernel configurations under FreeBSD.

Cheers

Tim

-- 
| The most exciting phrase to   | Tim Aslat [EMAIL PROTECTED] |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not Eureka! (I found it!)   | P: 82270800M: 0401088479 |
| but That's funny ...| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, Eureka is Greek for | The Ultimate Goody Fansite   |
| This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message