Re: Dan Gillmor could use some help

2005-04-22 Thread Dirk-Willem van Gulik


On Thu, 21 Apr 2005, Alexander Chamandy wrote:

  I have a ThinkPad X40 and am looking for a version of Linux that
  recognizes all the hardware, including the Wi-Fi, and handles
  suspend/resume. I installed Xandros Linux, which handled the hardware
  perfectly but not suspend/resume.

I followed these instructions:

http://www.iosn.net/Members/kaeru/articles/freebsd/x40/index_html

and things work fine.

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


Re: can't start Apache 1.3 server in freeBSD 4.9 release #0

2004-09-13 Thread Dirk-Willem van Gulik


On Sun, 12 Sep 2004, Sujit Dey wrote:

  127.0.0.1, but using /usr/local/sbin/apachectl start, can't start
 the Apache server. It is giving httpd can not be started. I followed

 [alert] mod_unique_id: unable to gethostbyname()

Set the hostname in /etc/rc.conf (add 'hostname='www.foo.com' in the
/etc/rc.conf file),

# /etc/rc.conf
...
hostname=www.foo.com

and/or add it to the /etc/hosts file as

# /etc/hosts
::1 localhost localhost.foo.com www.foo.com
127.0.0.1 localhost localhost.foo.com www.foo.com

and/or edit /usr/local/etc/apache/httpd.conf and uncomment and set the
value in 'ServerName' in the top 1/3 of the file:

#/usr/local/etc/apache/httpd.conf

#
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# www instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName www.foo.com


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


Re: Update Databases from Webserver

2004-09-07 Thread Dirk-Willem van Gulik


On Mon, 6 Sep 2004, FreeBSD Mail Lists wrote:

 I would like to see how other people are updating backend databases
 (postgresql on FreeBSD, internal network) from a webserver (apache,php
 on FreeBSD, dmz network) through a firewall.  Pretty much what I am
 trying to learn is how to take private information (credit card numbers,
 etc.) and write it to a backend database without leaving any huge holes
 for hacking.  Should this be done or am I barking up the wrong tree,
 should there be an intermediary step?  I have been trying to find
 information books/web that gives a real nuts and bolts way of trying to
 do this stuff and am not having a lot of luck.  Any pointers books or
 sites would be appreciated.

First thing to consider - do you -have- to store things like credit card
numbers ? Most clearing houses can be negotiated with on-line; during the
transaction and all you need to capture is an authorization ack. That
already makes things a lot safer.

Secondly - carefully consider what you need to have on your webserver; do
you really have to store a name/address there long term; or is a login and
some preferences enough ?

Thirdly consider making the flow a one way street: using things like a PGP
email with just the public key on the web server; i.e. shunt any private
information into an encrypted email - send it to your systems in-house;
and only have the decryption key behind the firewall; and thus only
keeping the bare essentials on your server.

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


Re: Advice on webmail server

2004-08-26 Thread Dirk-Willem van Gulik
On Thu, 19 Aug 2004, Jerry McAllister wrote:

  I thought of Squirrelmail as the likely candidate. Mostly internal

Make sure that you compile/activate SSL support in to the imap client
linked in with PHP - See the relevant make files in ports (it is something
like WITH_SSL=YES). OR search for my name, squirrelmail and imap for a
patch which allows localhost non-ssl and public-ssl. As otherwise you may
find it hard to enforce SSL on the outside connections while also making
it work with Squirrelmail.

You propably also want to pick apache with ssl - just to ensure some level
of privacy and safety.

  going to make the 4x72.8G a raid5 and that be the mail spool
  partition. Is that sound like a good idea?

Combined with quota's if you are using user-level accounts (but you may
want to look into cyrus - although a pain to setup; it does allow for a
lot of automation when your userbase often mutates).

  I've not used FreeBSD for anything like this before and frankly am not
  sure what changes from default I should use, if any. Should I stick
  with 4.10, or is 5.2.1 OK? Any sysctl changes? Default kernel OK?

I'd consider quota's (see the Handbook) and adding the firewall (with a
default ACCEPT) just in case you later need to block something abused.

 stick with 4.10 for now.

Aye - you should be fine for the next years.

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


Re: apache permission problem please help

2004-08-25 Thread Dirk-Willem van Gulik

Apache (propably) runs as the 'www' user and group.

So each file (and path) needs to be readable by

-  the www group
OR  the www users must be a member of the group
of the diretory
OR  the world

And each directory needs the 'x' access flag set.

See the man pages for chmod, chown and chgrp for more details

Example:

drwxr-xr-x  10 dirkx  staff512 Nov 12  2003 swad
-rw-r--r--   1 dirkx  staff 711332 Sep 24  2003 tabellenWADI.pdf

Can be seen by www (world readable and directory has x)

drwxr-x--  10 dirkx  staff512 Nov 12  2003 swad
-rw-r   1 dirkx  staff 711332 Sep 24  2003 tabellenWADI.pdf

Cannot be seen by www UNLESS www is a member of 'staff' (i.e. www is in
the staff line in /etc/group).

drwx  10 dirkx  staff512 Nov 12  2003 swad
-rw-   1 dirkx  staff 711332 Sep 24  2003  tabellenWADI.pdf

Can never be seen by the web server as it runs as 'www'.

Note that the web server needs to traverse the entire path; so for a file
ro dir /home/dirkx/public_html/index.html check:

/
/home
/home/dirkx
/home/dirkx/pulic_html

for an x in world/other or the right group
and the file

/home/dirkx/public_html/index.html

for read. If you want something different read the manual of apache, and
in particular the SUID mode. See also the FAQ of apache.

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


Re: WPC11 ver 3 or bust...

2004-07-08 Thread Dirk-Willem van Gulik

On Wed, 7 Jul 2004, Eric Crist wrote:

 wi0: wi_cmd: busy bit won't clear

What firmware are you using on the card ? You propably want:

wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary 1.01.01, Station 1.05.06

or higher. And in your kernel you are just using

device  pccard  # PC Card (16-bit) bus
device  wlan
device  wi

and have switched off cbb, pcic and cardbus ?

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


Re: dhclient with reconfigured SSID

2004-06-28 Thread Dirk-Willem van Gulik


On Sun, 27 Jun 2004, Stephan van Beerschoten wrote:

 Why idea how I can preconfigure an SSID for dhclient ?

Just use
ifconfig wi0 ssid FOO

to lock it.

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


Re: dhclient with reconfigured SSID

2004-06-28 Thread Dirk-Willem van Gulik

On Mon, 28 Jun 2004, Stephan van Beerschoten wrote:

 Will this lock the ssid during reboots as well ? If not, that actually
 is what I am looking for.

Ah - ok - putting into /etc/r.conf

ifconfig_wi0=ssid foo

will lock it during/after reboots; but kills the DHCP. Options are

-   Do above but add
dhclietn wi0
to your /etc/rc.local

-   Leave ifconfig_wi0=DHCP in rc.conf
and do a 'man dhclient-script' and
accordingly create a

/etc/dhclient-enter-hooks

with the text

#!/bin/sh
ifconfig wi0 ssid f00

add 'if [ x${interface} = xwi0 ]; then' ..'fi'
around it if you want it only to happen for wi0.

What the second option does is run an extra script early in the dhcp
cycle whcih sets your interface to the right ssid.

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


Re: Starting Apache on 4.10 stable at boot time

2004-06-18 Thread Dirk-Willem van Gulik


On Fri, 18 Jun 2004, Gareth Bailey wrote:

 Does starting apache at boot time differ on 4.10 to 5.2? I
 have the apache.sh script in rc.d/ and it has correct
 privileges.

Anything in /var/log/httpd_error_log ? In particular check any
critical erros from mod_unique_id about (reverse) resolution
of host names.

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


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Dirk-Willem van Gulik


On Fri, 23 Apr 2004, Darryl Hoar wrote:

 I have a spare PC with Freebsd installed on it.  Can I configure
 this machine to be a wireless access point ?

Install a prism 2 card and do something like (assuming fxp0
is your upstream iface and wi0 your card in AP mode).

rc.conf
ifconfig_wi0=inet 10.0.0.1/24 ssid myap channel 11 mediaopt hostap
gateway_enable=YES
natd_enable=YES
natd_interface=fxp0

Then install from ports isc-dhcpd with a config like:

ddns-update-style none;
always-broadcast on;

subnet 10.0.0.0 netmask 255.255.255.0 {
range  10.0.0.10 10.0.0.100;
option broadcast-address 10.0.0.255;
option subnet-mask 255.255.255.0;
option routers 10.0.0.1;
}

You rpopralby want do add a crrect
option domain-name-servers 10.0.0.1;
etc, etc.

The above is not secure in any way - so you may want to add WEP
for a start and then get more serious; add ipfw packet filtering
and nail things shut.

DW.

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


Re: FreeBSD router: Can my internet provider detect my home network?

2004-04-09 Thread Dirk-Willem van Gulik
On Apr 9, 2004, at 8:33 AM, Rob wrote:

I plan to have a FreeBSD (4.9 stable) system serving as a router
between my provider and a set of my home computers connected
via a home network.
My provider does not really like this, but I don't care so much,
as long as s/he cannot detect (too easily) my home network.
Most ISP's do not care a toss, expcept perhaps for port 25
and port 80.
However there is a fair chunk of software (we did some, and found
there was competition :-) which uses TCP sequence numbers to
detect NAT. Various forms of through-nat fingerprinting can also be
used to make a stab as to wether there is 1 or 1 machines behind
a router. (Note that for legal reasons only the case N=1 versus N1
is of interested; generally not the exact number) Even if the TCP
and signatures are cloaked there is some easy to run software which
will look at application level signatures (HTTP Agent strings) or things
as simple as two IM log in's in parallel. The objective is generally
to run such software over the 2-5% of your top bandwidth hoggers
to bring it down to a small number - and look at those in depth. What
you are really after is blatent abuse.
Dw

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


Re: startssl at boot time

2004-04-08 Thread Dirk-Willem van Gulik
On Apr 8, 2004, at 12:58 AM, RYAN vAN GINNEKEN wrote:

THANKS but i already have that line in my rc.conf file and the log 
entries that i have submitted to this list are not from a reboot but 
rather apachectl stop and start or startssl.  So when i run a startssl 
i get the randomness i need however when i just use apachectl start 
which is 99.9% the same command it does not.  honestly i am stumped 
hope you have some more wisdom to share.  There is also the line about 
ssl cache i have do some googleing but have not been able to come up 
with anything that helps.
The trouble you are having is not with the SSLCache (which you should 
enable regardless, but for
different reasons). If you already do rand_irqs's in your rc.conf and 
you safe/load the entropy over
boot time; then that is about the best you can do in assuring there is 
'real' entropy in the /dev/random
sort of getting into special kernels and/or hardware.

So next step is to read the comments in the section 'Pseudo Random 
Number Generator' and the
mod_ssl manual and deceide if in -your- case you can get away with less 
randomness.  In some
specific cases you can.

What is puzzling is that, assuming that the log file you are showing us 
is complete, is that
you are -not- getting the fatal

	error Failed to generate temporary 512 bit RSA private key.

S o it may be worth to switch logging to 'debug' level and double check 
that not
something else (e.g. DNS timeout, lack of a ca-bundle/chain) is biting 
you. There is a
very complete FAQ on ssl and apache in the apache bundle.

Dw

Matthew Seaman wrote:

On Wed, Apr 07, 2004 at 03:39:42PM -0600, RYAN vAN GINNEKEN wrote:


Seems to initialize ssl but my ssl page still does not work however 
my
regular page does work.  Here is a print out of the log file when i 
do
an apachectl stop and apachectl startssl.  when i use startssl
everything work great including my ssl page.



[Wed Apr 07 13:20:08 2004] [info] Init: Seeding PRNG with 0 bytes of 
entropy
[Wed Apr 07 13:20:08 2004] [warn] Init: Session Cache is not 
configured
[hint: SSLSess

The fact that you can do an apachectl startssl and have everything
work as desired means that you're 99.99% of the way to gettting it all
to work.  The modification to the apache2.sh script I sent you last
time sould force that script to always run 'apachectl startssl'
itself, so that shouldn't be the problem.
Hmmm... I think that perhaps the problem arises from when the
apache2.sh script is run.  I'm guessing that the 'Seeding PRNG' line
is significant -- it aparently means that there is no random data yet
available from /dev/random at the point when apache is started up in
the boot sequence.  As you're running 4.9, that can be cured by
telling the system to use some appropriate IRQs as sources of
randomness.  First run:
   % vmstat -i

and look for the IRQs where there are a lot of interrupts generated.
Not the 'clk' or 'rtc' interrupts, as those are clock ticks, firing at
regular intervals, which is worse than useless as a source of
randomness.  I find that irq12 (psm0 -- the mouse), irq1 (atkbd0 --
the keyboard), irq11 (mux -- multiplex: but this is network activity
mostly) and irq15 (mux -- multiplex again, but disk activity mostly)
work well for me, but you will have to choose 2 or 3 or 4 suitable
IRQs on your own system to harvest for randomness.
Then add them to /etc/rc.conf

   rand_irqs=1 11 12 15

Then reboot.  (See rndcontrol(8) for more details)

With luck, and a following wind, there will be sufficient system
activity during startup that there will be sufficient random data
available to prime the PRNG used by OpenSSL, which should let apache
start up automatically.
	Cheers,

	Matthew


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


Re: Apache dies for the second night in a row at the same time.

2004-04-01 Thread Dirk-Willem van Gulik
On Apr 1, 2004, at 10:57 AM, Mark wrote:

Kevin Greenidge wrote:

Wanted to see if anyone can point me in the right direction. This is
the second night that apache went down at the same exact time. I used
Are you having a log rotate in your crontab ? The log file details are 
not
those of an apache server exiting.

Dw

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


Re: web server

2004-03-09 Thread Dirk-Willem van Gulik
On Mar 9, 2004, at 4:09 AM, Blain M Gatterdam wrote:

Is it possible to turn my pc into a web server? I would 
like to
make it so that certain people can remotely access my computer and 
edit the
web-page (s). is this possible or can I do something like it? If so, 
im a
What you need is a WebServer which speaks DAV - the Distributed 
Authorting
and Versioning protocol.

Use ports or packages (if you do not know what these are - see the 
'handbook'
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/) 
specifically:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
and
http://www.freebsd.org/ports/
Then install the ports/packages:

apache
mod_dav
Then follow the instructions with came with apache; or try

	http://www.lugatgt.org/articles/webdav/ - section 2.2 onwards.

If this is too complex - consult a good book on apache.

Dw

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


Re: Jabberd Instructions

2004-03-01 Thread Dirk-Willem van Gulik
On Mar 1, 2004, at 3:34 PM, Warner Joseph wrote:
instructions for setting up jabberd on FreeBSD?

cd /usr/ports/et/jabberd
sudo make all install
then goto /usr/local/etc - check the jabberd.xml file - edit
where needed and start from rc.d. Most defaults are fine
for you esp. if you do not do any confernencing.
Dw.


Re: VPN via ssh ?

2004-02-29 Thread Dirk-Willem van Gulik
On Feb 29, 2004, at 2:27 AM, stan wrote:

I can connect to my home machines from work using runsocks ssh. Now 
it
seems to me that I ought to be able to build a full blown VPN tunnel 
using
this, right?
You'll need to run PPP inside it.  I use the simple scripts at

	http://www.webweaving.org/vpn-tools/

One -BIG- problem with any type of tunnels over TCP (ssh is TCP) is that
any TCP connections inside that tunnel get mightlily confused when tere
is a packet drop/retry on the outer tunnel; as the inner tunnels come to
about the same conclusion at the same time. And you get lovely little
avelances and your pipes wadded up.
Dw

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


Re: Wireless networking with DHCP tickets

2004-02-26 Thread Dirk-Willem van Gulik
On Feb 26, 2004, at 10:47 AM, Tiarnan O'Corrain wrote:

According to Orange WiFi, this is because the DHCP server sends
some kind of a keep-alive ticket to the client every 2 minutes, and
if the client does not respond, the lease is revoked.
This functionality seems to rely on some non-standard features of the

This is rather normal; and unless you have some firewall set up too 
strict
works just fine with macosx/freebsds normal dhclient. See RFC3202 (the
newer force-renew) and RENEWING/REBINDING in rfc 2131.

Dw

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


Re: Problems with Apache 1.3 segfaulting in 5.2.1-RC?

2004-02-18 Thread Dirk-Willem van Gulik
On Feb 18, 2004, at 5:38 PM, Linh Pham wrote:

Has anyone ran into problems with Apache 1.3.x segfaulting (signal 11)
under FreeBSD 5.2.1-RC[12]? I had to recently re-install FreeBSD on my
home server and grabbed the latest src-all for RELENG_5_2, which ended
up being for 5.2.1-RC2. Afterwards, I compiled and installed Apache 1.3
plus PHP5 and PostgreSQL and got it up and running without any 
problems.

Easiest thing is to obtain a core dump; see the man page for 'ulimit', 
check
'/etc/login.conf' and the apache directive for this.

Otherwise - if it happens a LOT - you can run (from screen if needed)

	gdb /usr/local/sbin/httpd -X

it will then run single process/thread mode; and if there is a segfault 
you'll
inmediately see the culprit. This is generally too slow for a production
server; but will easily handle hobby sites.

Given your setup my guess is some PHP5 plugin (I had similar issues
until I fixed/recompiled gd).
Dw.

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


Re: root is full

2004-02-18 Thread Dirk-Willem van Gulik
On Feb 18, 2004, at 9:00 PM, Will Prater wrote:

My root partition is full, but I cannot figure out how it got filled 
so fast the last security check claimed there to be 5% of capacity and 
now its at 108%. Where else can I check to see what is filling the 
root partition?
Try
cd /
du -sk *
Dw

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


RE: problem with 2 nics in same box

2004-01-03 Thread Dirk-Willem van Gulik

  I don't want the interface without an IP to EVER transmit
  outbound.
 A firewall could accomplish this...

Or simply do not assign an IP address at all. And if you want to go below
IP; check out the -arp option in the ifconfig man page.

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


Re: ip addressing in freebsd

2003-12-28 Thread Dirk-Willem van Gulik


On Sun, 28 Dec 2003, niraj kumar wrote:

 1. in freebsd we can have two ip address for a single host like 2.0.0.1
  17.0.0.1 by using ifconfig but why can't we assign two ip like 2.0.0.1
  2.0.0.2 (i know that both r in same network)

In your rc.conf:

ifconfig_fxp0=...2.0.0.1
ifconfig_fxp0_alias0=...2.0.0.2 netmask 255.255.255.255
ifconfig_fxp0_alias1=...2.0.0.3 netmask 255.255.255.255

See /etc/defaults/rc.conf for more examples.

 3 where i can find more about this (links)

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

chapters on networking and setup

 4. where is the code of the ip resolution in thekernel

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

chapters on the kernel and references for the OS internals.

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


Re: doubts

2003-12-23 Thread Dirk-Willem van Gulik


On Tue, 23 Dec 2003, manish gautam wrote:

 1. How to enable telnet service in freebsd 4.7 ?

You may want to look at 'ssh' - it is used in the same
way as telnet; i.e. 'ssh hostname' and is more secure.

For telnet; edit /etc/inetd.conf - and uncomment the line with telnet
(remvoe the #) and either send a kill -1 to the inetd application (ensure
rc.conf contains inetd_enable=YES) or reboot.

See the chapter on inetd in:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

for more details.

 2. How to use ethereal to capture network packet on freebsd 4.7 ?

See the chapter 'packages and ports' in

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

for details on hwo to install etherreal and then do a

man ethereal

for details on ethereal its use. See the chapter on Network Interface
cards in

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

for details on your network cards (the interface you are referred to in
the above 'man ethereal' page).

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


Re: Licensing issues

2003-12-19 Thread Dirk-Willem van Gulik


On Fri, 19 Dec 2003, Elektronix Support wrote:

 versions of FreeBSD on our hardware solutions, and sell to him. The
 organization we will sell this to is the end-user.
..
 I need to know if we can install FreeBSD and charge our customer for this,
 or if there are restrictions we must be aware of.

In eveyr copy of freebsd you will find a license file in de / or root
directory. A copy is also at

http://www.freebsd.org/copyright/freebsd-license.html
http://www.freebsd.org/copyright/license.html
http://www.freebsd.org/copyright/LEGAL

and included below. For your case the key pat is clause 1 and 2:

1 Redistributions of source code must retain the above copyright notice,
  this list of conditions and the following disclaimer.

2 Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.

As you can see you can essentially do what you want, and charge what you
want, for the code. There are however some restrictions with respect to
liability, trademark and use of the name.

So yes - propably no problem - but you do not want to take my word for it
- but discuss it with a Norwegian expert.

Secondly note certain 'ports' (i.e. optional additional packages) may have
different rules. Several companies provide vendor support/consulting on
FreeBSD and may also be able to help. I know that in our company this is
an often asked question (for the Netherlands that is - no idea of
Norwegian rules ;_).

Dw

# $FreeBSD: src/COPYRIGHT,v 1.4 1999/09/05 21:33:47 obrien Exp $
#   @(#)COPYRIGHT   8.2 (Berkeley) 3/21/94

All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite
Releases is copyrighted by The Regents of the University of California.

Copyright 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California.  All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
   must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
   may be used to endorse or promote products derived from this software
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

The Institute of Electrical and Electronics Engineers and the American
National Standards Committee X3, on Information Processing Systems have
given us permission to reprint portions of their documentation.

In the following statement, the phrase ``this text'' refers to portions
of the system documentation.

Portions of this text are reprinted and reproduced in electronic form in
the second BSD Networking Software Release, from IEEE Std 1003.1-1988, IEEE
Standard Portable Operating System Interface for Computer Environments
(POSIX), copyright C 1988 by the Institute of Electrical and Electronics
Engineers, Inc.  In the event of any discrepancy between these versions
and the original IEEE Standard, the original IEEE Standard is the referee
document.

In the following statement, the phrase ``This material'' refers to portions
of the system documentation.

This material is reproduced with permission from American National
Standards Committee X3, on Information Processing Systems.  Computer and
Business Equipment Manufacturers Association (CBEMA), 311 First St., NW,
Suite 500, Washington, DC 20001-2178.  The developmental work of
Programming Language C was completed by the X3J11 Technical Committee.

The views and conclusions contained in the software and documentation are
those of the authors and should not be interpreted as representing 

Re: 2 ip-addr for 1 netcard...

2003-12-15 Thread Dirk-Willem van Gulik


On Mon, 15 Dec 2003, flux wrote:

 How do I assign two IP addresses for one netcard?

Just use the command 'man ifconfig' and check out the section
on 'alias'. In general it is somethign like


vi /etc/rc.conf

and near

ifconfig_rl0=10.11.0.2/24

add things like

ifconfig_rl0_alias0=10.11.0.66/32
ifconfig_rl0_alias1=10.11.0.67/32
ifconfig_rl0_alias2=10.11.10.1/24

The manual equivalent is:

ifconfig fxp0 alias 1.2.3.4 netmask 255.255.255.255

to add an extra IP to the intel fxp0 card with IP address 1.2.3.4 which
must be inside the currently assigned netmask for that interface or

ifconfig fxp0 alias 1.2.5.4 netmask 255.255.255.0

to assign a second IP and submask.

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


Re: Lots of disks.

2003-12-10 Thread Dirk-Willem van Gulik


On Mon, 8 Dec 2003, Lewis Thompson wrote:

   Is it even possible to have 4 IDE disks?  I know the performance
 would be terrible but I have considered this and realised it is
 irrelevant since the box only has a 10Mbit connection (it's for storing
 large data files (videos, etc.)).

Yes - you many also want to look at 3ware their IDE cards (which can
handle 4 8 or 16 disks). That is an easy/cheap way to add some IDE disks
to your machine. See http://www.ironsystems.com/ and ASA computers for
some inspiration and configs. We've used the latter for 'cheap' but low
quality storage in the 0.5-2Tb for things like large datafiles. For
certain things it can be very effective and under the 5k sort of value.

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


Re: Block IP

2003-11-26 Thread Dirk-Willem van Gulik


On Tue, 25 Nov 2003, Grant Peel wrote:

 Can I block a certain IP address at the machine or interface level using
 freebsd? (No at the Apache or Sendmail level).

 CyberLaert monioting one of my hosts at the rate of 1.2 GB oer day!

Easiest and quickest is to install the firewall - if it is not already in
your kernel, simply load it as a dynamic module. In a pinch (and if the
person causing problem is doing this by accident) you can try something
like route add 12.34.56.78/32 127.0.0.1 which will make the tcp
handshake break. Which may cause the other end to realize somethign is
amiss. But it does not really stop the traffic.

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


Re: driver for webcam?

2003-11-22 Thread Dirk-Willem van Gulik


On Sat, 22 Nov 2003 [EMAIL PROTECTED] wrote:

 The webcam I have is a USB Intel CS330 create and
 share. usbdevs -v shows 'power 500mA, config 1,
 product 0x0401(0x0401), vendor 0x0733(0x0733), rev
 0.90', so I guess my kernel setting is correct.

This is a SPCA561 camera.

See this page for NetBSD patches

http://www2.starcat.ne.jp/~takam/bsd/NetBSD.html

which you may get to work perhaps on FreeBSD after some
fiddling.

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


Re: RFC 868 timeserver for freebsd

2003-11-14 Thread Dirk-Willem van Gulik


On Fri, 14 Nov 2003, Roger 'Rocky' Vetterberg wrote:

 According to the manufacturer, the interfaces requires a timeserver that
 supports the RFC 868 protocoll, which ntpd and msntp doesnt seem to do.
 I've found several references to RFC's in the manpage of ntpd, however,
 it does not mention 868.

You may want to uncomment the line 'time' in inetd - if I recall correctly
that is the one you are after (set set inetd_enable=yes, etc).


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


Re: Is Java/Tomcat on FBSD practical?

2003-11-05 Thread Dirk-Willem van Gulik

 My biggest problem has been Java.  I've done the diablo 1.3 package and
 java seemed to work (java -v), but when I install Tomcat it won't start.
 I've done the same install on mac and windows with no problem.  The
 stack trace is completely alien to me and I can try to get it if it
 would help.

If the stacktrace looks like it is some VM issue - posting it here may
help - otherwise the tomcat folks may be a better bet.

One quick test - try running it as root and see if that changes anything -
some JDK version had that problem - which since is fixed if I recall
correctly.

 I'm basically wondering if running Tomcat or any other java on this
 machine is realistic or not.

We are using it with no great issue (other than that java can be quite
memory hungry :-)

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


Re: creating a small FreeBSD box

2003-11-05 Thread Dirk-Willem van Gulik

 I need to make a few FreeBSD boxes, these will all be limited in disk
 space,
 and act as firewall/router. (pentium and 300M disk)
  What I want is a limited operating system that has only the essential
 networking stuff, shell, and a custom kernel but for example no BIND and
 CVS.

For very few boxes just making an 'ideal' machine and cloning may be
easiest.

For a few boxes - Do a man sysinstall - and see the scripting section. Or
see this example:

http://www.horseplay.demon.co.uk/freebsd_post_sysinstall.html

for more complex setups - e.g. booting an install image off the net using
PXE boot or an etherboot floppy - see

http://www.xs4all.nl/~scorpio/sane2002/talk.pdf
http://www.horseplay.demon.co.uk/freebsd_pxe.html
http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml
http://wiki.wirelessleiden.nl/wcl/cgi-bin/moin.cgi/NodeFactory

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


Re: RedHat 7.2 - Freebsd - BIG PROBLEN

2003-11-04 Thread Dirk-Willem van Gulik

 ifconfig fxp0 193.108.24.75 netmask 255.255.255.255 up

 Looks impossible at freebsd...It says Network Unreachable. I read the man page
 of route; It says this happens when the host is more than one hop away.

Which it is - your netmask specifies tht just  193.108.24.75 is on that
wire. You propably want 255.255.255.0.

 But it is working with my old RedHat.

Either RH is wrong or you are using something like an aliased interface.

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


Re: SNMP help

2003-10-29 Thread Dirk-Willem van Gulik


On Wed, 29 Oct 2003, Ronnie Clark wrote:

 they have to have the ability to be polled by
 OpenView. So I have to load SNMP on these servers. Any
 suggestions as to what I should load to accomplish
 this?

Try:

http://www.freebsd.org/cgi/ports.cgi?query=snmpstype=all

and the one you propably one is net/ucd-snmp. Works splendidly with
OpenView. Also be sure to look at the script extension.

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


Re: Probably dumb apache question

2003-10-23 Thread Dirk-Willem van Gulik

 I have set up a new freebsd/apache/mod_ssl server. I want to force all
 connections to use SSL.

 I know I can simply turn off listening on port 80, but because I know people
 using this site will instinctivly type http instead of https, I'd like
 to force a redirect.

VirtualHost 209.132.96.45:80
# Redirect *everything* to SSL.
RewriteEngine on
RewriteRule ^(.*)   https://secure.foo.com$1 [R=301]

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


Re: barcode reader, card swiper

2003-10-06 Thread Dirk-Willem van Gulik


On Mon, 6 Oct 2003, Aaron wrote:

 I'm looking for a barcode reader for a bsd system.  Need the peripheral,
 and software to read it, from USB or keyboard or whatever interface is
 appropriate.

 Also same for CC swiper.

 Anyone aware of these sorts of things for BSD?

Most will work on the Serial port or have a 'wedge' to insert it into the
keyboard cable. In the latter case it wil simply appear as key presses.
Any shop selling POS equipment will have a wide array to choose from.

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


Re: mod_auth_pam/apache2

2003-09-24 Thread Dirk-Willem van Gulik


On Tue, 23 Sep 2003, John Morgan Salomon wrote:

 I'm trying to set up Apache 2 with mod_auth_pam (or, for that matter,
 anything that will let me use unix passwords to authenticate to a page.)
 mod_auth_external won't do, as I've run into inexplicable freezes
 compiling.

Which module are you using ? From where ? (www.apache.org/~dirkx/ORA/..)

 authrequiredpam_unix.so service=system-auth debug
...
 [Tue Sep 23 18:00:25 2003] [error] [client ***.***.***.***] PAM: user
 'john' - n
 ot authenticated: Authentication failure

I notice you have a service= there - this may be the service name. I know
that the module I did for the ORA conf uses 'httpd' as the pam service
name.

 What I don't understand is why, if something like sshd can work fine with
 PAM, httpd doesn't let me authenticate.  Has anyone ever gotten this
 working?

Yes :-) But depending on how/what module you use you may also need to do a
AuthGROUP_Enabled yes as to use getgrnam() et.al. to do unix user
checking. Your config likely uses the GroupFile rather than unix groups.

Dw.


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


Re: Information needed

2003-09-23 Thread Dirk-Willem van Gulik


On Tue, 23 Sep 2003, Vincent Dorio wrote:

  What files and folders do I need to download from
 http://www.freebsd.org in order to have the latest and most complete
 version of BSD?

You propably want to first read - and then follow step by step:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

Dw.

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


Re: your mail

2003-08-28 Thread Dirk-Willem van Gulik


On Thu, 28 Aug 2003, Glitch Birkenstock wrote:

 Good Afternoon. Can yah please help me out?i live in Philippines.i am
 using windows here and i want to change it into FREEBSD new version. i
 already downloaded all files here:ftp://ftp5.us.freebsd.org/pub/FreeBSD/
 i read the txt files but it doesnt shows the manual on how to install.im
 kinda new to it.how can i install the FREEbsd?can i use it as dual?like
 windows and FREEBSD by booting or can select which one to use?All i want
 is to use both coz i really dont know if there is a
 word,exceel,photoshop,access,power point and frontpage just like in
 windows.can i use two OS (WIndows and FREEBSD)?Take Care.

Check out the file README.TXT which is at the location you mention above.
Then 'cd releases' and check out that README.TXT file, then cd for example
to '/pub/FreeBSD/releases/i386/5.1-RELEASE' and fetch the file INSTALL.TXT

ftp://ftp5.us.freebsd.org/pub/FreeBSD/releases/i386/5.1-RELEASE/INSTALL.TXT

Dw.

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


RE: Wireless question, maybe off topic

2003-08-14 Thread Dirk-Willem van Gulik

On Sat, 9 Aug 2003, Katinka Mills wrote:

 The Pringles antenna are not as good as people make out, a good yagi any day
 will out perform most anything else, as they are directional, most of the
 power is radiated forward, how much depends on the design.

The only 'hobbyist' antenna which we've had very good milage in actual
production use on in www.wirelessleiden.nl is the quad.

Virtually all others, even the simple slotted wave guide requires a
professional toolshop create due to the tolerance. Anything more complex
seems to require a full calibration setup to tune.

For verified instructions on the BiQuad antenna use version 0.2 of the
PDF:

http://www.wirelessleiden.nl/wcl/cgi-bin/moin.cgi/QuadAntenne

Dw

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


Re: open source content management systems?

2003-07-29 Thread Dirk-Willem van Gulik


On Mon, 28 Jul 2003 [EMAIL PROTECTED] wrote:

 i wanted to investigate open source content management systems in order
 to make our pages easier to create and update (preferably so i can do
 away with the majority of my ftp accounts and have my users create and
 update pages from a webbrowser),

If your users are dominantly on windows or macos(x) - then simply
installing 'mod_dav' from ports, WebDav will meet the above requirements.
(Called a 'WebFolder' on windows).

 and maintain a consistent layout scheme across the site.

Dw

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


Re: RAID HW

2003-07-29 Thread Dirk-Willem van Gulik


On Tue, 29 Jul 2003, Peter Rosa wrote:

 please, what RAID controller for ATA HDDs should I use in my new fileserver.
 There will be run 4.8 with samba (for Win clients) and netatalk (for Mac
 clients). I'm looking for some, which are officialy supported by FreeBSD,
 without any special requirements.

I've been very happy with the 4 port 3ware (twe)  cards. www.asacomputers.com
does rock solid reliable machines build around what works well, and what
works with freebsd with these cards.

Dw.

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


Re: dial up server

2003-07-24 Thread Dirk-Willem van Gulik


On Thu, 24 Jul 2003, adrian kok wrote:

 I want to provide dialup service for internet?

 Can freebsd provide dial up server, dhcp and
 authenication function?

 How can I configure and where can I get documentation

You want to look at the handbook - section 'Dial Up' which is on your
machine in /usr/share or at

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

Dw.

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


Re: hrmmm....?

2003-07-16 Thread Dirk-Willem van Gulik


On Tue, 15 Jul 2003, Neu, Benjamin S. wrote:

  I hope this isn't to broad of a question, but I just installed Apache13
 on my box (FreeBSD 5.1) the build went like butter... but can't start
 the server? # /usr/local/sbin/apachectl start: httpd could not be
 started

unless apachectl configtest gave you an error which was ignored; a simple;

tail /var/log/httpd-errorlog

will propably expose the issue in all its gory details.

Dw.
-- 
Dirk-Willem van Gulik / [EMAIL PROTECTED]

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


RE: hrmmm....?

2003-07-16 Thread Dirk-Willem van Gulik


On Wed, 16 Jul 2003, Neu, Benjamin S. wrote:

 Atención: I have fixed the problem, hours ago, but thanks. -B

No trouble - i missed that !

Dw.

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


Re: Backup over the internet.

2003-07-15 Thread Dirk-Willem van Gulik


On Tue, 15 Jul 2003, Nico Meijer wrote:

  What is the easy way to back up over the internet? What software
  should be used?

 You *could* use rsync. Performed over ssh, this enables you to backup
 quickly and safely, depending on what you'd like to backup. It's a
 killer tool, AFAIAC.

 http://rsync.samba.org/ and I guess `man rsync`.

amanda (www.amanda.org, or from ports) does a fine job if you have
multiple machines which needs to be backed-up.

Dw.

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


Re: the system startup (boot) information

2003-07-07 Thread Dirk-Willem van Gulik


On Mon, 7 Jul 2003, #ZOU ZIXUAN# wrote:

   how and where to read the system startup information?

cat /var/run/dmesg.boot

more /var/run/dmesg.boot

dmesg | more

Dw

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


Symbolic names for (ethernet) interfaces

2003-07-07 Thread Dirk-Willem van Gulik

How does one specify a 'symbolic' name for an ethernet interface; i.e. be
able to refer to rl0, vx1 or ep0 by a name like 'net0, net1' or 'net2'.

With net1 et.al. tied to a specific PCI slot or card Mac address. So that
it becomes easier to write HW independed rc.conf or zebra.conf files.

Thanks.

Dw

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


Re: Disable PING command

2003-07-03 Thread Dirk-Willem van Gulik


On Thu, 3 Jul 2003, Nucking Futs wrote:

 How would I go about disabling users command to ping?  If need be I would be
 willing to just disable the ping command altogether as a last resort.

Well - anyone could compile a fresh version; or copy a version from
another machine into his home dir or /tmp; but if you ignore that type of
level of ability in your user a small obstacle would be:

# ls -l /sbin/ping
-r-sr-xr-x  1 root  wheel  421060 Apr 28 15:49 /sbin/ping
# chmod a-rx /sbin/ping

which makes it executable only to the owner and those member of wheel.
Which users generally are not. But ping is not exactly a dangerous command
- so why worry about it ?

Dw

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


Re: VPN remote access server

2003-06-21 Thread Dirk-Willem van Gulik

 Node1 is already set up. Now I need to set up Node2. I have no idea how to
 do it. What programs do I use? How do I set them up? Where can I find some
 help on it? Please help. Thank you very much.

mpd

Use
pkg_add -r mpd
or
cd /usr/ports/net/mpd
make all install

Dw

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


Re: cmd to run after installing a new FreeBSD package

2003-06-18 Thread Dirk-Willem van Gulik


On Wed, 18 Jun 2003, Fox wrote:

  There is a FreeBSD command that you should run after installing a package,
  which will 'refresh' the path.  After running this command, you will have
  access to the new package command (ie. lynx).  It saves you having to logout
  and relog back in.

This depends on your shell. Some require the use of the command

rehash

csh and bash I think are guilty of this. The real shell /bin/sh is fine
and will pick it up itself.

From man csh
   rehash  Causes the internal hash table of the contents of the
   directories in the path variable to be recomputed.  This is
   needed if new commands are added to directories in the path
   while you are logged in.  This should only be necessary if
   you add commands to one of your own directories, or if a
   systems programmer changes the contents of a system direc-
   tory.


Dw

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


Re: Booting using serial console

2003-06-11 Thread Dirk-Willem van Gulik


On Tue, 10 Jun 2003, Gary Aitken wrote:

 I've made the serial console boot floppies, but get no response when I
 try to use them.

Give that I use that quite a lot with 4.8 - I'd expect that it perhaps is
something like COM1 not connected in the bios or on the motherboard ?

Dw

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


Re: Simple client/server

2003-06-10 Thread Dirk-Willem van Gulik


On Tue, 10 Jun 2003, Olivier Nicole wrote:

 I'd like to find an example of C programming for an Internet server
 (client I have done already).

Go to the bookshop and get Stevens; Unix Network Programming. You will not
regret this :)

 The idea is to write a tool that could jam the network with packets
 between client and server to check the maximum load a firewall can
 handle.

cd /usr/ports
- check the fair number of app's in 'INDEX' which
already do so

or http://www.freshports.org/benchmarks/, http://www.freshports.org/net/

or

cd /usr/poorts/benchmarks/netperf
make all install

read docs of netperf.

Use. Shivver. And discover that firewalls need more meaningful metrics.

DW

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


Re: Licencing

2003-05-28 Thread Dirk-Willem van Gulik


On Tue, 27 May 2003 [EMAIL PROTECTED] wrote:

 I work for Department National Defence in Canada.  I am aquiring on using
 your OS to load on 6 or 4 stand alone computers.  The purpose of these
 computers is to teach our naval personnal a basic unix knowledge for some of
 our systems.  How much would it cost to use this software on each computer?

It is open source.

 Is there any licencing agreement or terms I would have to follow?

Yes,

http://www.freebsd.org/copyright/freebsd-license.html

has the essense; or any installed system has much the same in the file

/COPYRIGHT

after installation. Additional restrictions may be found at

http://www.freebsd.org/copyright/copyright.html

Dw


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


Re: Question

2003-05-27 Thread Dirk-Willem van Gulik


On Tue, 27 May 2003, Doychin Lyudmilov Karakashev wrote:

 We are group of boys who have the idea to make a new OS that will use FreeBSD 
 kernel. Can you give us the not compiled kernel of FreeBSD to use it? Naturally, 
 FreeBSD will be as well advertisized in our new operation system.

Downloadable as source or precompiled for your plesure and entertainment
at: http://www.freebsd.org/ click on - 'Getting FreeBSD'.

Dw.

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


Re: Protecting against fork bombs

2003-04-05 Thread Dirk-Willem van Gulik


On 5 Apr 2003, Adam wrote:

 In light of the recent problems with cyclic Xft dependencies, it has
 become painfully obvious how quickly a fork bomb can bring my computer
 to a complete halt.

ulimit -u 100

does not do that for you adequately enough (or setting the same in
/etc/login.conf (field maxproc)) ??

Dw/

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


Re: PCMCIA wireless nic

2003-03-26 Thread Dirk-Willem van Gulik


On Wed, 26 Mar 2003, Brian Henning wrote:

 ok, the wi0 driver loaded and it recognized the mac address. The only thing that
 went wrong was the led on the card was blinking green. I don't know if that is

That means it aint talking to no basestation. Putting the card in mode 3 /
managed mode and then do:

ifconfig wi0 ssid any

should do the trick, assuming that there is a base station. Or replace ANY
by the locale SSID (wireless network name).

Dw.

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


Re: Load testing tool with apache ?

2003-03-24 Thread Dirk-Willem van Gulik


On Mon, 24 Mar 2003, Thomas von Hassel wrote:

 Some time ago i found a small webserver load generator that apparently
 came with apache. Anyone know what its called, or am i imagining stuff ?

'ab'

it is usually in 'support' or in bin.

Dw


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


Re: Transparent proxy

2003-03-23 Thread Dirk-Willem van Gulik


On Sun, 23 Mar 2003, Maarten de Vries wrote:

 $ ipfw add 2350 fwd 192.168.1.1 3128 from any to any 80

You sure you have not some earlier rule which prevents it from hitting
this rule ? Also - if 192.168.1.1 is not this local machine's addr - but
on a differnet box; be sure to allow that machine to capture the
'destination any' - as the packet is not rewritten in any way.

DW.


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


Re: convert to jpegs

2003-03-22 Thread Dirk-Willem van Gulik


On Thu, 20 Mar 2003, Brian Henning wrote:

 i have a bunch of files of different image formats that i would like to
 convert to jpeg. is there a command line converter to be able to do them
 all in one shot? maybe with xv or xnview?

ImageMagic is one route; the URT or netPBM toolkit the other. With the
latter two you can do

for i.tiff in *
do
j=`basename $i .tiff`
cat $i tifftopnm | pnmscale 0.5 | cjpeg  $j.jpg
done

and so on. Combined URT and NetPBM support just about any format.

The Utah Raster Toolkit (urt) is a bit more advanced and very suitable for
scientific work where values and geoms are important; for visual work
netpbm is just fine.

Dw.


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


Re: NFS, something I should know?

2003-03-22 Thread Dirk-Willem van Gulik


On Thu, 20 Mar 2003, Jason Morgan wrote:

 I have set up NFS for the first time and am having a few problems;
..
 Does this look correct? OpenOffice crashes everytime I try to write to

Can you do something like this as the same user you are running open
office from; i.e. from an xterm or so:

From the client
echo Hello World  testfile.txt

and then do on the client and/or the server
cat testfile.txt

If that works; you can be fairly sure that it is propably not an NFS
problem you are chasing.

Dw


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


Re: Anyone use a commercial X-server?

2003-03-22 Thread Dirk-Willem van Gulik


On Sat, 22 Mar 2003, Rod Person wrote:

 I was wondering if anyone is using a commercial x server such as Xig or
 Metro-X with 4.7 or 5.0 and if so, what are you thought vs Xfree?

Xig rocks. Works well, effective and is a dream to configure, if you need
all the fancy accelleration on your card to work, of you nead dual heads
but do not have a few hours to set it up or if you need pre-press reliable
colour.

But if you have either a lot of experience, or a lot of time - XFree gets
you about as far.

Dw


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


Re: Three Terabyte

2003-03-20 Thread Dirk-Willem van Gulik

 Let's say I need 3Tb of cheap storage (preferably IDE disks) and I want it
 controlled by a FreeBSD system; how (if at all possible) would I do set that
 up in terms of hard- and software?

Depends on what access patterns you have; is it mostly dormant archiving;
or lots of access, concurrent, sequential ? How safe does the data need to
be; and against what (hardware failure, accidental rm -rf).

But check out the 3ware RAID card; I've had great luck with building NFS
servers with 8 or 16 disks as fairly dormant/archival style storage
depots.

Dw


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


Re: Intelligent Bandwidth Limiter?

2003-03-17 Thread Dirk-Willem van Gulik

On Sun, 16 Mar 2003, Tino Didriksen wrote:

 I have a dedicated server with 500GB monthly transfer limit, and I don't
 want to cross that limit. So, I want to impose an artificial maximum
 bandwidth, yet not until a certain threshold has been reached.

Check out ipa in ports and dummynet. I've had better (read more flexible)
experience with the latter. But unlike the first; which comes with good
examples and is self contianed; dummynet would require you to write some
shell/perl scripts, propably on a crontab which hourly access the
situation and throttle where appropriate. But unlike IPA dummynet can be
very selective; like wiht a firewall it is easy to except certain traffic
(on port, type, source, destination, etc) or extra curtail.

Dw


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


Re: isp control panel ?

2003-03-14 Thread Dirk-Willem van Gulik

 I looked at ispman ( www.ispman.org ) and it looks like what i need .
 is there a similar app for freebsd ?

There used to be a company called plesk.com which did a half decent
product like that. You may want to ping them.

Dw.


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


Re: MBR screwed up

2003-03-12 Thread Dirk-Willem van Gulik


On Wed, 12 Mar 2003, dick hoogendijk wrote:

 master drive, but what do I do to get rid of the old fbsd loader on the
 second and get a good windows-xp one?

On older windozes one would boot from floppy and do a

format.exe c: /mbr

Dw


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


Re: MBR screwed up

2003-03-12 Thread Dirk-Willem van Gulik


On Wed, 12 Mar 2003, Dirk-Willem van Gulik wrote:

 On older windozes one would boot from floppy and do a

   format.exe c: /mbr

Actually - my memory is fading; that should be fdisk. And a quick man
check on WinXP yeilds 'fixmbr' to be the equivalent:

fixmbr device name

fixmbr \Device\HardDisk0

without a device name it will write to the boot device. See also the man
page for 'fixboot'.

Dw


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


Re: Screen Shots

2003-03-09 Thread Dirk-Willem van Gulik

On Thu, 6 Mar 2003, Gerard Samuel wrote:

 For the life of me, I cannot remember the command line program to take
 screen shots.
 Its been a while.
 If someone could remind me with a man page would be great.

xwd -root
or
xwd -id /-name window (xev to get one easily)

xwdtopnm | ... cjpeg/pnmtopng etc..

Dw


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


Re: RAM

2003-03-02 Thread Dirk-Willem van Gulik

On Sat, 1 Mar 2003, Paul Patryas wrote:

 What is the minimal amount of RAM do you need to install FreeBSD
 4.6/5.0?

There is a lot of information on this in the INSTALL notes - and the
minumun suggested is 4Mb. I personally stick to 16Mb of memory as a
resonably minimum for a freebsd system connect to the internet which is to
do something useful at some point in time.

Dw




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


Re: roaring penguin pppoe ?

2003-02-19 Thread Dirk-Willem van Gulik


On Wed, 19 Feb 2003, Evren Yurtesen wrote:

 did anyone try roaring penguin pppoe server on freebsd? any advice?

Does normal freebsd 'man pppoed' not work for you ? Otherwise do

pkg_add -r rp-pppoe
or
cd /usr/ports/net/rp-pppoe
make install

and you get roaring penguin installed just fine.

Dw.


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



Re: s/key

2003-02-18 Thread Dirk-Willem van Gulik


On Tue, 18 Feb 2003, Robert Munn wrote:

 How do I turn off the prompt for an s/key password?  I started getting
 the request when I upgraded from 4.5 to 4.7

'man skey' or 'man skey.access' works; and also check things like the
Challenge in 'man sshd_config'.


Dw.


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



Re: Customizing /etc/motd

2003-02-13 Thread Dirk-Willem van Gulik


On Thu, 13 Feb 2003, Colin J. Raven wrote:

 I'd like to tweak /etc/motd to give ssh users a personalized login text.

su root
..type root password
vi /etc/motd

or, if you do not know the vi editor, use

su root
..type root password
ee /etc/motd

Done. One normally does not edit/change the first line with FreeBSD ..
as this line is replaced at boot time with the actual version number. If
you remove this line; then that will not happen.

Dw


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



RE: Customizing /etc/motd

2003-02-13 Thread Dirk-Willem van Gulik

For per user - you may do perhaps someting with /etc/csh.login (assuming
they are using csh). Like adding a check for a file and cating that.

Dw


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



Re: Temperature monitoring with ServerWorks chipset

2003-02-12 Thread Dirk-Willem van Gulik


On Thu, 13 Feb 2003, Philip Murray wrote:

 Has anyone got this working? I can't seem to get any values from any of the
 monitors in the ports collection (consolehm, xmbmon, lmmon, healthd).

Do a verbose boot (-v flag) - does it show these devices connecting to the
hardware ?

Dw.


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



Re: Procmail site-wide recipe's

2003-02-11 Thread Dirk-Willem van Gulik


On Tue, 11 Feb 2003, BSD Freak wrote:

 I am running a 4.7-R/sendmail mail server. I currently use procmail on a
 few email accounts using a .forward in each home directory. Does anyone
 know how I can make a procmail recipe apply to all users on the mail server?

Add to your sendmail.mc file

MAILER(procmail)

then add to your mailer table something like:

domain1.com procmail:/etc/maps/domain1.com.map
domain2.com procmail:/etc/maps/domain2.com.map

And the latter, domain1.com.map is your global map for that domain.

Note that changes to that file take instant effect; i.e. no sendmail
restart so you want to be more careful than normal perhaps.

Dw.


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



Re: Basic networking(ICS...)

2003-02-11 Thread Dirk-Willem van Gulik


On Tue, 11 Feb 2003, Remington wrote:

 I think i jusr dial into the net(assume internal addres 192.168.0.1) and
 then i go to the other machine and i set the /etc/rc.conf,
 defaultrouter=192.168.0.1. I know i'm missing something, any help is
 greatly appreciated

Google:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/natd.html
http://www.muine.org/~hoang/freenat.html
http://www.kcgeek.com/content/features/1020842040.blather.howto/feature.html

Dw.


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



Re: resolv.conf

2003-02-10 Thread Dirk-Willem van Gulik


On Sun, 9 Feb 2003, Per Nilsson wrote:

 I got to have this to be enable to send mail, and from time to time, the
 file /etc/resolv.conf changes back to the standard:

 search
 nameserver 10.0.0.1
 nameserver 10.0.0.2

 and i dont know how to do to have the resolv.conf NOT to be changed

You propably have dhclient running, the DHCP deamon. Ever time your IP
lease expires (typically every 5 to 60 minutes) it will negotiate a new
IP address for you with your DHCP server. Along with the settings it get
from the DHCP server are DNS settings.

See man dhclient.conf or add in /etc a file

#/etc/dhclient.conf
supersede domain-name sparbanken.org

DW





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



Re: cleaning old messages from mailboxes

2003-02-06 Thread Dirk-Willem van Gulik


On Thu, 6 Feb 2003, Sergei Vyshenski wrote:

 Something like a batch analog of mail utility?

Check the 'formail' which comes with procmail.

Dw.


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



Re: X terminal saga continues

2003-02-06 Thread Dirk-Willem van Gulik


On Thu, 6 Feb 2003, J. Seth Henry wrote:

 Presently, I have a local .xsession in every user's home directory, which
 starts icewm. This is OK, as I can add it to /etc/skel, but it would be
 nice if there were an override file, which automatically started the wm.

Check out /usr/X11R6/lib/X11/Xsession which is the beast which kicks off
the .xsession. I've used an extra check at the end of the file:

global_startup=/usr/X11R6/lib/X11/xinit/xinitrc
startup=$HOME/.xsession
resources=$HOME/.Xresources

if [ -f $startup ]; then
exec $startup
if

if [-f $global_startup]; then
exec $startup
fi

if [ -f $resources ]; then
 xrdb -load $resources
fi

 So, it would appear to be a problem with Mozilla, but I can't figure out
 why it works when I start the application via an xterm?

You may (not) pick up a .Xmodmap; see /usr/X11R6/lib/X11/xinit/xinitrc
which you do not pick up with an ~/.xsession (for xdm) or ~/.xinitrc (for
startx) start method.

Dw


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



Re: FBSD firewall in front of windows IIS servers HOW

2003-02-04 Thread Dirk-Willem van Gulik


On Mon, 3 Feb 2003, Peter wrote:

   Just wondering what would be the best way to do this...

   INTERNETFBSD FIREWALLWINDOWS IIS SERVER Basically
 what would be the best way to have freebsd accept incoming connections,
 run them thru the firewall, and all the packets that pass forward them
 to internal windows machines.  I dont' want the windows boxen directly
 on the net, I want to put a FBSD firewall in front of them, and so far
 the best option I've found on how to do this is to have the windows
 boxen be 192.168.x.x and have the fbsd boxen forward all connections to
 public_ip to the windows box via natd.  Does this seem like a good
 plan? Or anyone know of another better way to do this?

Thought hat is a good way of doing things; I would strongly recommend,
if IIS is the only service, to do this differently and not do anything on
packet level but on app level:

internetpublicIP [ FreeBSD ]--private IP-- IIS
  apache proxy

I.e: not run any NAT, routing etc; but simply use apache configured as
a pass through proxy:

VirtualHost OUTSIDEIP:80
ProxyPass   /   http://192.168.1.2/
ProxyPassReverse/   http://192.168.1.2/
/VirtualHost

As this will allow apache to guard against bogus headers, buffer overuns
and the usal fun and games. See directives like:

LimitRequestBody
LimitRequestFields
LimitRequestFieldsize
LimitRequestLine

Though they are sensible set; if oyu use a lot of ASP/VB-script you may
want to reduce a few.

This will also speed up your installation considerbaly if you have a lot
of slow modem users or high packet drop.

Dw


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



Re: specifying the X window manager

2003-02-04 Thread Dirk-Willem van Gulik

I usually use:

.xinitrc

and note:

/usr/X11R6/lib/X11/xinit/xinitrc

see also /usr/X11R6/lib/X11/xdm/ for some defaults coming from Xdm.

Dw

On Tue, 4 Feb 2003, David Larkin wrote:

 I have installed my favourite X window manager.

 Can someone remind me how to configure startx to use it

 Thanks


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



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



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Dirk-Willem van Gulik


On Sun, 2 Feb 2003, Rich Fox wrote:

 Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
 which are used to postpone messages in Pine. Thus, when I use the key

I use:

ssh -e none freebsd-machien.domain.com

dw.


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



Re: Analog Modum

2003-02-01 Thread Dirk-Willem van Gulik


On Thu, 30 Jan 2003, Alex wrote:

 I'm looking for a analog modem. I didn't see any in the hardware lists.
 Can you please tell me which ones will work on FreeBSD?

Virtually all external modems which connect to the COM1/COM2 serial port
work perfectly fine.

Dw.


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



Re: Apache

2003-01-30 Thread Dirk-Willem van Gulik

 you have to recompile apache. mod_ssl comes with eapi
 (enhanced api) and the standard apache modules have to be aware
 of it.

You want to just use 'ports' for this - there is a ssl module port which
does all the right things. Compile and install this -before- you do PHP or
mod_perl; as the latter need the right (EAPI extended) header files.

Dw



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



RE: A vi for /bin?

2003-01-26 Thread Dirk-Willem van Gulik


 Assuming you have the object files from a buildworld hanging around, then
 cd /usr/obj/usr/src/usr.bin/vi
 cc -O -pipe -o vi *.o -lncurses -static  strip vi  mv vi /bin/
 should probably supply you with what you want.

When using VI in such a situation I usually also use rc.diskless2 to
create myself an environment with thing like /tmp|/var in mfs for tmp,
cuuu0 lock files and the lot.

Dw.


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



Re: A vi for /bin?

2003-01-26 Thread Dirk-Willem van Gulik


On Sat, 25 Jan 2003, Paul Hoffman wrote:

 - As pointed out off-line, you also need to get it the termcap library. Doing
 cp /usr/share/misc/termcap.db /root/.termcap.db

You propably want to strip that bugger down to its bones; they weight in
at around 2Mb including the un-db-ed version.

So for floppy/flashcard systems I do:

cat  /root/.termcap EOM
vt100|dec-vt100|vt100-am|vt100am|dec vt100:\
:do=2\E[B:co#80:li#24:cl=50\E[H\E[J:sf=2*\ED:\
:le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\
:is=\E\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:\
:if=/usr/share/tabset/vt100:nw=2\EE:ho=\E[H:\
:as=2\E(0:ae=2\E(B:\
:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||:\
:rs=\E\E[?1;3;4;5l\E[?7;8h:ks=\E[?1h\E=:ke=\E[?1l\E:\
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=\177:\
:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:\
:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:\
:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:sr=2*\EM:xn:\
:sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:UP=2\E[%dA:DO=2\E[%dB:RI=2\E[%dC:\
:LE=2\E[%dD:ct=2\E[3g:st=2\EH:ta=^I:ms:bl=^G:cr=^M:eo:it#8:\
:RA=\E[?7l:SA=\E[?7h:
EOM
(See /usr/src/share/termcap/termcap.src for the source).

cap_mkdb /root/.termcap

Dw


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



Re: Firewall + Cable Modem

2003-01-25 Thread Dirk-Willem van Gulik


On Sat, 25 Jan 2003, Asenchi wrote:

 I cannot get my card to remain connected, it keeps dropping its addressing,
 or so it appears in IFCONFIG.  I have included below outputs of various
 processes for you all.  Thank you in advance for any help you are able to
 offer.

With DHCP you get a lease for a certain period of time. Some ISP's have
very short lease times; and your system may not be quick enough to get a
lease. Another option is that you get your first lease before the firewill
is fully set up; but that you cannot negotiate a lease after the firewall
is there due to it blocking the negotiation process. Temporarily disabling
the firewall(and nat) will tell you this.

 Jan 25 03:03:00 world dhclient: Listening on BPF/vr0/00:40:33:5a:74:8a
 Jan 25 03:03:00 world dhclient: Sending on   BPF/vr0/00:40:33:5a:74:8a
 Jan 25 03:03:00 world dhclient: Can't bind to dhcp address: Address already
 in use

This suggest that your dhclient can not bind to the port it needs. You may
want to check what is bound to that port. See 'lsof' and 'netstat'.

Dw


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



Re: Epson LQ 550

2003-01-16 Thread Dirk-Willem van Gulik


On Thu, 16 Jan 2003, Blanka Neuhauserova wrote:

 That's it: no mention of either L{Q,X}-{80,550} AFAICT:

Duh - if you go through that list one by one... do make note of the
'epson'. And I would expect that a search for

ghostscript LQ 550

would propably point you to the 'omni' or lq driver as well. I found the
epson to be fine though.

Dw





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



Re: Epson LQ 550

2003-01-15 Thread Dirk-Willem van Gulik

I've not used one in a long time; but remember treating it as an
FX-80/RX-80 and it worked fine for me. The ghostscript did require a tweak
to ensure that all 24 pins are used.

Just run through the printing section in the manual to set it up.
Dw.


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



Re: /usr/src/UPDATING

2003-01-13 Thread Dirk-Willem van Gulik


On Mon, 13 Jan 2003, Giorgos Keramidas wrote:

 On 2003-01-13 11:42, [EMAIL PROTECTED] (JoeB) wrote:
  I have installed FBSD 4.7 using cdrom and /stand/sysinstall,
  selected standard install with user distribution which does not
  install any source.  This install config does not install
  /usr/src/UPDATING  directory.  Where else can I find this info??

 Select 'custom' install and make sure you install the `source'
 distributions.  You could also install everything manually by mounting
 the CDROM under /cdrom and then running as root:

   # cd /cdrom/src
   # sh install.sh all

 That should be easy and faster than searching through the menus for
 the right options :)

or use the command sysinstall (or /stand/sysinstall) choose

Config  Do post-install configuration of FreeBSD

Then choose:

 DistributionsInstall additional distribution sets

and select

[ ]  src   Sources for everything

and take things from there.

Dw.



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



Re: Apache stress testing tool ?

2003-01-08 Thread Dirk-Willem van Gulik

  |Anybody recommend a good/simple tool to load/stress test an apache
  |webserver ? (or any other webserver for that matter)
 
 Check out http://hammerhead.sourceforge.net/

Apache comes with 'ab' which does braindead hammering (and is rather good
at that) - or check out flood; also an apache project for more advanced
testing cycles.

Dw.


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



Re: Apache Wildcard Aliasing

2003-01-07 Thread Dirk-Willem van Gulik


On Tue, 7 Jan 2003, Rus Foster wrote:

  I'm trying to work out if there is a way that I can get apache to handel
 wildcard subdomains. Bascially what I would like is that if I have a user
 joe with the subdomain joe.fsck.me.uk that apache will automatically
 direct http://joe.fsck.me.uk and http://www.joe.fsck.me.uk to
 /home/joe/public_html. Is this possible or will I have to setup everyone
 manually?

You may be better off asking these questions to the apache crowd. Or check
the manual of apache.

Specifcally check out the mod_rewrite examples 
(...mod_rewrite/mod_rewrite_example.html)

Dw



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



Re: Shell guru needed.

2003-01-03 Thread Dirk-Willem van Gulik

Try any unix primer or

man find
or
find /my/unorganized/dir -name '*.pdf' -type f -exec echo mv {} /my/pdfs \;

and pray that you do not have files with identical names.

On Thu, 2 Jan 2003, mike wrote:

 Hey guys. heres the skinny. I have a huge library and i want to organize it. I want 
find to go through recursively, and move any pdf files it finds to a certain 
directory. I need an example piece of script on how i would confront this. It will 
save me hours if not days so thanks in advance.

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



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



Re: archos and freebsd

2003-01-03 Thread Dirk-Willem van Gulik

 On his page it says to compile firewire, sbp, scbus, da and umass.
 I'm cvsup'ed to 4.7 stable from release and did what he said.  When I
 try and 'mount -t msdos /dev/da0s1 /archos'  I get 'Device not
 configured'.

I take it you've seen /sys/dev/firewire/00README ?

Perhaps you want to do a verbose (-v) boot; and/or try pciconf -v -l.

As in the dmesg you supplied there does not seem to be a fwohci entry.
Which is the thing which connects to the actual hardware.

Dw.



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



Re: /etc/resolv.conf

2003-01-02 Thread Dirk-Willem van Gulik

Check out
dhclient
which uses the dhclient-script to overwrite your resolv.conf under certain
(such as the default) conditions.

Dw.

On Thu, 2 Jan 2003, McClain wrote:

 Hello ppl,

 i got a problem with /etc/resolv.conf. On every start up, it gets
 somehow overwritten with settings i had earlier. I just don't find
 the script/program which rewrites it. Can somebody please help me

 ...thanks in advance

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



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



Re: ssh+slrn screengarbage

2003-01-02 Thread Dirk-Willem van Gulik


On Thu, 2 Jan 2003, dick hoogendijk wrote:

 The ONLY way to work OK remotely is starting with:
 screen ssh remotehost My screen stays uncluttered. That nice, but I
 don't have an answer to the WHY ;-)

I've seen this behaviour regularly on (debian) linux to freebsd, solaris
or AIX terms. And not the other way round or between the others.

Dumming down the terminal with TERM does not always solves it; as TERM and
COLOR are ignored by linux for the first layer. That is why the screen
command makes it work.

Dw


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



Re: ssh+slrn screengarbage

2003-01-02 Thread Dirk-Willem van Gulik


On Thu, 2 Jan 2003, dick hoogendijk wrote:

 On 02 Jan Dirk-Willem van Gulik wrote:

 Am I to understand that a ssh connection _from_ my linux to my fbsd box
 does not have these problems? Linux does not use cons25, does it?

Linux its default terminal on the screen is 'Linux' which is close to a
vt100 terminal. Obviously changing the TERM value does not make it an
emulator :-)

Dw


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



Re: Water Damage

2002-12-30 Thread Dirk-Willem van Gulik

 I have carefully dried out all the units.

You may want to use some distilled water, or very clean water, if there is
any visible residue/chalk/salt on the boards.

What I normally do with WiFi equipment which got wet/soaked is to rinse
them well with very clean water and then dry them in an oven with the door
open or with a hair dryer. This works well. Note that water may collect in
places like coils and under IC's and inside drives. If it was salt water
then *immediately* rinse them with fresh water or demineralized water to
stop corrosion (and keep them wet until you can do so). Though with salt
water if the machine was on you are often too late. My experience is that
also normal tap water has enough conductivty to ruin a machine when it is
switched on before it is 100% dry everywhere. The high voltage power
supply is in my experience the first thing to give.

Dw


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



Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-26 Thread Dirk-Willem van Gulik


On Tue, 24 Dec 2002, Bill Moran wrote:

 other way of overcoming this limit?

find . -name *.html | xargs grep someting

Dw


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



Re: FreeBSD Terminal Server?

2002-12-23 Thread Dirk-Willem van Gulik

Check out pico bsd; cd /usr/src/release/. That may do what you want.


Dw

On Mon, 23 Dec 2002, Kevin Greenidge wrote:

 I am going to setup a Terminal Server and was
 wondering if there are any projects like
 http://ltsp.org i would rather use freebsd than linux
 if possible. Any suggestions are appriciated.

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



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



Re: Does FreeBSD work on Walmart's $199 Microtel box?

2002-12-06 Thread Dirk-Willem van Gulik

On Thu, 5 Dec 2002, Rich Morin wrote:

 A quick web search didn't bring up any answer to this.
 Does anyone here have the definitive word?

The most recent machinine I saw was running what seemed a fairly stock
Debian. So I'd expect you'd have little trouble up to console use; X 
may be compounded by the use of some highly integrated chipset.

Dw


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



Re: More then 4 IDE devices in one FreeBSD server.

2002-12-05 Thread Dirk-Willem van Gulik

On Tue, 3 Dec 2002, mike wrote:

 A: What is the hardware name of the device i am looking for that will
 allow more then 4 ide devices to one box.

Add extra IDE card(s).

 B: do you know of a brand name i should be looking for that you recommend,
 or even a retailer.

Quite happy with a machine with 1scsi+16ide disks based on an 8 port IDE
raid card delivered by www.asacomputers.com using a 3WARE Escalade IDE pci
card.  Though with hindsight I propably should have used 2 4 port IDE
cards instead; as I am often hitting card bandwidth.

DW


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



  1   2   >