Re: intel 64-bit version?

2009-02-03 Thread Toni Schmidbauer
At Mon, 2 Feb 2009 15:40:16 +0100,
Andreas Rudisch wrote:
 You can use 7.1-RELEASE-i386 (32bit) or 7.1-RELEASE-amd64 (64bit)
 depending on whether or not you are going to run 64 bit software or
 want to use more than 4GB of RAM.

i would also recommend to use fbsd amd64 if you plan to use zfs. even 
if you do not have more than 4gb of memory installed in your system.

see

http://wiki.freebsd.org/ZFSTuningGuide

hth,
toni
-- 
Don't forget, there is no security | toni at stderror dot at 
-- Wulfgar | Toni Schmidbauer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr and /var was not properly dismounted...!

2009-01-31 Thread Toni Schmidbauer
At Sat, 31 Jan 2009 11:30:40 +0200,
thanos trompoukis wrote:
 WARNING:  /usr   was not properly dismounted...!
 WARNING:  /usr   was not properly dismounted...!

generally this happens if you just turn of your computer without a
proper 'shutdown -h now'. FreeBSD has to write cached filesystem data
from memory to the disk before a shutdown. if the system is switched
off before this sync, there is the possibility that your filesystem is
in an inconsistent state.

are you using soft-updates on this filesystem? you can check this with
the mount commando, for example:

/dev/mirror/rm0s1a on / (ufs, local, soft-updates)

if yes you should see a background fsck process running (check with
'ps ax | grep fsck') after the system boots. Check /var/log/messages
to see if there are any messages from fsck.

to be sure you can also boot the system into single user mode (use
menu item 4 on the FreeBSD boot screen) an run fsck manually
(e.g. 'fsck /dev/ad0s1f' where ad0s1f should be replaced with the
actual mount point of your /usr filesystem. maybe fsck has to fix the
filesystem and will ask some questions that you should answer with
'y'. a second run of fsck is not required but does not hurt just to be
sure the filesystem is consistent. after that you can just 'exit' the
single user shell to continue booting or reboot the system again.

remember to always use 'shutdown -h' or 'shutdown -p'.

please also consult the FreeBSD handbook at 

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

which contains a lot of information for newcomers. there are also
excellent books about FreeBSD available, just search amazon.

hth
toni
-- 
Don't forget, there is no security | toni at stderror dot at 
-- Wulfgar | Toni Schmidbauer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update install

2009-01-11 Thread Toni Schmidbauer
At Sun, 11 Jan 2009 00:16:25 +0100,
Franck Royer wrote:
 Thanks for all this infos. I have another question about the zfs kernel
 module : is it still in the GENERIC kernel in the release 7.1 ? Or do I
 need to include it and recompile the kernel before the first reboot ?

the module is included in the standard kernel, you just have to tell
the boot loader to load it on startup (/boot/loader.conf):

zfs_load=YES

and if your root filesystem is zfs

vfs.root.mountfrom=zfs:rpool/root

toni
-- 
Don't forget, there is no security | toni at stderror dot at 
-- Wulfgar | Toni Schmidbauer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update install

2009-01-10 Thread Toni Schmidbauer
At Sat, 10 Jan 2009 21:24:30 +0100,
Franck Royer wrote:
 r...@methrilla ~ $ freebsd-update install
 Installing updates...chflags: ///.cshrc: Operation not supported

i think i had the same problem updating one machine from 7.0 to 7.1-BETA2.
any chance that this file is on an zfs filesystem? if yes, i solved this issue
by commenting out the chflags calls in freebsd-update. 

maybe someone with more insight into zfs and freebsd-update can
elaborate on this issue.

toni
-- 
Don't forget, there is no security | toni at stderror dot at 
-- Wulfgar | Toni Schmidbauer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update install

2009-01-10 Thread Toni Schmidbauer
At Sat, 10 Jan 2009 22:18:57 +,
Thomas Sparrevohn wrote:
 If you are using version 13 of ZFS - you just need to run zfs upgrade -a 

thanks for the hint, i think you mean 'zpool upgrade'.

as far as i can tell fbsd 7.1 only supports version 6, this is what
'zpool upgrade -v' tells me. if i recall correctly there was an update
to version 13 in fbsd-current.

see also 

http://svn.freebsd.org/viewvc/base?view=revisionrevision=185029:

- chflags(2)
Not all the flags are supported. This still needs work.

toni
-- 
Don't forget, there is no security | toni at stderror dot at 
-- Wulfgar | Toni Schmidbauer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kernel panic

2009-01-02 Thread Toni Schmidbauer
At Thu, 1 Jan 2009 12:05:25 -0800 (PST),
Mark Busby wrote:

 Jan  1 08:56:39 mars savecore: reboot after panic: kmem_malloc(12288): 
 kmem_map too small: 128778240 total allocated

as you probably already know this means you ran out of kernel memory. 

 80211node  8081 21705K   - 8081  16,32,512

this is the only thing that catches my eye. but i dunno if 21mb for
80211node is an issue or not. but there is definitely something
leaking kernel memory.

i would try to run vmstat -z on a regular basis (how often depending
on when after a boot the crash happens) to find out what is leaking
memory. 

hth,
toni
-- 
Don't forget, there is no security | toni at stderror dot at 
-- Wulfgar | Toni Schmidbauer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Kernel panic: flush_pagedep_deps: flush failed

2008-05-20 Thread Toni Schmidbauer
At Tue, 20 May 2008 07:59:19 +0200,
Thomas Herzog wrote:
 cat /var/crash/info.1

follow this guide:

http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html

and post the results. if nobody answers, open a pr (problem report)

http://www.freebsd.org/send-pr.html

hth,
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: measure traffic caused by pppd (UMTS)

2008-05-18 Thread Toni Schmidbauer
At Sun, 18 May 2008 07:15:10 +0300,
Odhiambo Washington wrote:
 ..as in from ppp.linkdown?

i was using a custom script for umts startup/shutdown. but it should
work there as well. 

toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: measure traffic caused by pppd (UMTS)

2008-05-17 Thread Toni Schmidbauer
At Fri, 2 May 2008 11:46:46 +0200,
Matthias Apitz wrote:
 Sometimes when I travel around and can't see any usable WLAN I'm using
 the UMTS and PPPD, which works well but of course one must pay for this;

mb=`netstat -ib|awk '/tun0.*Link/ {mb=($6+$9)/1024^2; printf %.2f,mb}'`
date=`date +%s`
echo MB Transfered: $mb
echo $date $mb  ~/tmp/grps_kosten.txt

works for me. i'm using the above code snipped after shutting down
pppd.

hth
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS-Pool is lost after reboot ( amd64 )

2008-04-11 Thread Toni Schmidbauer
At Fri, 11 Apr 2008 09:12:55 +0200,
Norman Maurer wrote:
 Am Donnerstag, den 10.04.2008, 22:50 +0200 schrieb Toni Schmidbauer:
 If I run zpool import x1 it works. But as you say it should do it by its
 own. Maybe it whould be the best to open a bugreport ?

i had problems importing a zpool when /etc/rc.d/hostid did not
start. zfs stores this unique id on the disks to identify the system
which had the pool imported most recently.

when the on disk host id and the system host id differ you have force
the import (zpool import -f). which is dangerous if your pool is on
shared storage...

hth,
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS-Pool is lost after reboot ( amd64 )

2008-04-10 Thread Toni Schmidbauer
At Thu, 10 Apr 2008 21:22:42 +0200,
Norman Maurer wrote:
 All is fine till I reboot. The pool is just disappearing :-/

have you tried to import the pool?

zpool import x1

or just

zpool import

to list pools available to import.

maybe the pool isn't imported on boot, which should not happen, but
who knows...

zfs should remember the import/export status of the pool, so if the
pool is imported and you reboot, it should also get imported on the
subsequent boot.

hth
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg impossible problems

2007-11-15 Thread Toni Schmidbauer
At Wed, 14 Nov 2007 15:45:43 -0500,
Coleman Kane wrote:
 What version of pixman do you have installed? I experienced the same
 problems under pixman 0.9.5, and found that they are fixed in 0.9.6.
 FreeBSD has since updated the related port to match the new version.

pixman-0.9.5_2  Low-level pixel manipulation library

will try updating to 0.9.6, i will report if things get better here.

thanks
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg impossible problems

2007-10-03 Thread Toni Schmidbauer
At Sat, 22 Sep 2007 02:43:11 -0700 (PDT),
Dino Vliet wrote:
from time to time, Xorg crashes and won't restart (especially when I'm 
 using firefox) and I have found firefox.core, gnash.core and metacity.core 
 files in my home directory afterwards

have you tried to disable the gnash plugin in firefox? i had the same
issues (using the nv driver), disabling the gnash plugin seems to
prevent xorg from crashing.

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


Re: Qemu Network with two virtual boxes

2007-05-10 Thread Toni Schmidbauer
At Sat, 5 May 2007 08:21:47 +0200 (CEST),
P.U.Kruppa wrote:
 ___ _|_
 Real LAN |---|  192.168.10.1 |
 ---|   FreeBSD 6.2 |
|| ||
  |  __|_____|__  |
| | 192.168.10.5|  | 192.168.10.6 | |
| |   Win2k on  |  |  FreeBSD on  | |
| | Qemu|  | Qemu | |
|  ---  |
 ---
 
 My real LAN uses 192.168.10.1 as gateway to the Internet.
 
 For now I can only connect one of the two virtual boxes to my real
 network, but not both. This is how I do it:
 
 # kldload aio kqemu if_tap bridge
 # sysctl net.link.ether.bridge_cfg=rl0,tap0
 # sysctl net.link.ether.bridge.enable=1
 # qemu-system-x86_64 -hda Win2k.img -m 512 -localtime \
   -net tap -net nic
 
 When now I try to connect the second virtual box, it will steal the
 first box's network connection.

i think you need two seperate tap interfaces:

qemu -hda Win2k.img ... -net tap,ifname=tap0

and

qemu -hda freebsd.img ... -net tap,ifname=tap1

but i'm not sure about the bridge configuration. my guess is you need
two seperate clusters (see bridge(4))

sysctl net.link.ether.bridge_cfg=rl0:1,tap0:1,rl0:2,tap1:2

toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups permission problems

2007-05-10 Thread Toni Schmidbauer
At Thu, 03 May 2007 16:02:39 -0400,
Lowell Gilbert wrote:
  /usr/local/share/cups/templates/header.tmpl - Permission denied

i had the same problems a view days ago, problem was a wrong umask
when installing cups. there are two options:

1) reinstall cups and make sure your have umask 022 during make
install

2) make all files in /usr/local/share/cups accessible for cupsd.

make sure _all_ directories have the right permissions and are
accessible (usr local share cups ...)

toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mirroring: gvinum or gmirror?

2006-09-14 Thread Toni Schmidbauer
At Fri, 1 Sep 2006 09:54:02 -0400,
David Robillard wrote:
 Sounds like a good idea indeed. I've always followed Ralf S.
 Engelschall's instructions at http://people.freebsd.org/~rse/mirror/
 which involves using dump(8) to transfer the data onto the second disk
 once it's setup as a gmirror provider.

this has worked for me in the past:

http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html

regards
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Thinkpad

2006-09-14 Thread Toni Schmidbauer
At Sun, 10 Sep 2006 19:24:32 +0400,
gb wrote:
 Got hold of an old IBM X21 Thinkpad. Anyone out there have any
 recommendations for a good kernel  config  or whatever to squeeze the
 most of  this  little fellow?

a good starting point:

http://gerda.univie.ac.at/freebsd-laptops/index.pl?action=show_laptop_detaillaptop=9

lg
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slow system startup; recovering vi sessions

2006-06-07 Thread Toni Schmidbauer
At Wed, 7 Jun 2006 05:39:38 +0100 (BST),
dharam paul wrote:
 Is there a way to bring it out of this cycle of
 recovery so that the system boots faster.

normally vi recovery files are in /var/tmp/vi.recover. you can empty
this directory if you are sure that you do not need the saved files. 

hth,
toni 
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade question

2006-06-07 Thread Toni Schmidbauer
At Wed, 7 Jun 2006 09:38:36 -0400,
Michael S wrote:
 I have a portupgrade related question. I am behind a proxy and fetch
 doesn't appear to cope with it very well. I installed wget and it
 works great. I updated the pkgtools.conf to reflect that, however
 portupgrade insists on using fetch for some reason. At first I thought
 that portupgrade ignored its configuration file, however once or twice
 I misstyped something and it did catch it.

did your set HTTP_PROXY and FTP_PROXY in your shell environment?

see fetch(3).

hth,
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail client side smtp authentication problem

2006-06-06 Thread Toni Schmidbauer
At Mon,  5 Jun 2006 17:02:29 +0300 (EEST),
�� ��� wrote:
 sendmail client side smtp authentication problem
 
 My ISP wants my MTA authenticate itself from now on.
 So, I read cf/README, added FEATURE(authinfo) in my localhost.mc,
 created the file authinfo with one line

i added the following lines to /etc/mail/your.hostname.here.mc:

define(`SMART_HOST',`your.isp.smart.host')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl

then i created the dir /etc/mail/auth with mode 700 and the
file client-info with mode 600.

client-info has the following content:

AuthInfo:your.isp.smart.host U:username I:username P:password M:PLAIN

this worked for me.

hth,
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lm/temp monitoring

2006-06-06 Thread Toni Schmidbauer
At Tue, 6 Jun 2006 19:33:33 -0400,
Jim Stapleton wrote:
 What package contains the lm utility (driver?) use for temperature
 monitoring? What is a good package to get a reading of my
 CPU/Motherboard temperature reading in a semi-usr friendly format?

i'm using sysutils/mbmon on my athlon machines to monitor system temperature.

hth,
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw Kernel Module - Default to Accept?

2006-05-30 Thread Toni Schmidbauer
At Tue, 30 May 2006 09:04:09 -0700,
Drew Tomlinson wrote:
 I'm using FBSD 6.1.  When using the ipfw kernel module, is it possible
 to get ipfw loaded in a default to accept mode?  I've seen the
 kernel option to enable this when compiling statically but nothing
 specific to the kernel module.  Maybe there's a way to compile the
 kernel module with some entry in /etc/make.conf?  I've Googled but
 have not been able to turn up anything.

you can recompile the module, uncomment the line 

#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT

in /usr/src/sys/modules/ipfw/Makefile. next call make in the same
directory and copy the compiled module to /boot/kernel. i've done that
in the past, works like a charm.

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


Re: Serial console capable BIOSes?

2005-07-11 Thread Toni Schmidbauer
On Sun, Jul 03, 2005 at 11:17:14AM -0700, Steve Brown wrote:
 Does anyone have recommendations for motherboards (P3 or P4) with good
 BIOS serial console support that plays nicely with FreeBSD running a
 serial console on the same port?  Basically, I'd like to monitor the 
 pre-BSD boot process and the BSD boot process from a terminal window on 
 another machine.

we are using a sun v20z, which work's nice with 5.x. it's a rebranded
newisys maschine and serial over lan works like charm.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual Fibre Channel Host Adapter

2005-07-11 Thread Toni Schmidbauer
On Thu, Jun 30, 2005 at 02:10:18PM +0200, Valerio daelli wrote:
 we have a few FreeBSD 5.4 boxes on HP Proliant DL360 and DL380.
 We have to buy some Dual Fibre Channel Host Adapter for these hosts
 and we would like to know which are the best supported by FreeBSD.
 If you have any experience with Fibre Channel (e.g. bad drivers,
 bad compatibility) please let us know.

i would recommend a qlogic 2312 card. it's supported by the isp(4)
driver. 

i did some experimenting with the qlogic cards / freebsd and had
no issues. but i have to admit that currently i've no production 
machine running with that setup. 

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atheros supported wireless card not seen under 5.4 release - help please

2005-07-11 Thread Toni Schmidbauer
On Fri, Jul 01, 2005 at 11:56:20PM -0700, D. Goss wrote:
 Just went off to check GENERIC - I'm (obviously) new to this but it  seems 
 that ath is not in GENERIC, correct? 
  I'll try rebuilding with  it...

rebuilding the kernel is not necessary. you could do a kldload
if_ath after booting, or add 'if_ath_load=YES' to your
/boot/loader.conf

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WLAN Access Point without Prism Chip

2005-07-11 Thread Toni Schmidbauer
On Tue, Jul 05, 2005 at 02:27:07PM +0200, Tobias Tom wrote:
 I've found inside the manual that currently only Prism Chips are
 supported to create Access Points in FreeBSD (stable). I that still a
 valid statement, or is there any unofficial Solution which I could
 give a try?

afaik, ath(4) supports hostap. from the manpage:

Supported features include 802.11 and 802.3 frames, power
management, BSS, IBSS, and host-based access point operation 
modes.

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3 to 5.4

2005-06-21 Thread Toni Schmidbauer
On Mon, Jun 20, 2005 at 06:00:34PM -0600, Cartoon Factory wrote:
 I am a fairly novice user of FreeBSD. I just recently built two boxes with
 5.3, and now that 5.4 is out, I was curious how easy it would be to upgrade.
 The Migration guide deals with 4.X = 5... do I essentially follow the
 Source upgrade instructions? Is there a better/easier (for a novice!) way to
 do this, especially since I am already at 5.3? These boxes are active
 servers- how long would I be down? Is it even advisable for me to try this?

there should be no problems upgrading from 5.3 to 5.4. while building
userland / kernel and installing the kernel no downtime is
necessary. it's always advisable to try the update first on a
test system, even when this is your first time updating a
freebsd system. downtime depends on how fast your servers are and
how careful your are answering to mergemaster. on my athlon64 3200 rebooting + 
installworld + mergemaster takes about 15 minutes. 

read the following sections in the fabulous handbook:

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

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

and finally

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

so to upgrade to 5.4 tag=RELENG_5_4 is your friend.

to give a short summary:

0) su - root
1) cd /usr/src
2) cvsup -g -L2 your supfile here || make update (see make.conf)
2.1) READ UPDATING

3) rm -rf /usr/obj/*
4) make buildworld
5) make buildkernel
6) make installkernel
7) reboot to singlelooser mode
8) mount -a
9) mergemaster -p
10) cd /usr/src  make installworld
11) mergemaster
12) exit || reboot (to be sure everything works).

but please, read the documentation mentioned above BEFORE
starting your update, i'll give no warranty :-)!
 
hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: keyboard problem X won't start

2005-05-02 Thread Toni Schmidbauer
On Sun, May 01, 2005 at 10:19:17AM -0400, [EMAIL PROTECTED] wrote:
 (EE) Failed to load module speedo (module does not exit,0)
 (EE) Failed to load module Keyboard (module does not exit,0)
 (EE) No input driver matching 'Keyboard'
 No core keyboard
 
 Fatal server error:
 failed to inititalize core devices
 
 It seems the keyboard driver is missing.  Any suggestions to get it
 working are really appreciated.

seems like a wrong Driver in Section InputDevice
(/etc/x11/xorg.conf.) 

you do not say which version of x11/xorg you are running, but
here is my Section InputDevice for xorg 6.8.1

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel pc105
Option  XkbLayout de
Option  XkbVariant nodeadkeys
Option  XkbOptions ctrl:nocaps
EndSection

Xorg.0.log tells me:

(II) LoadModule: kbd
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor=X.Org Foundation

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_info output?

2005-05-02 Thread Toni Schmidbauer
On Sat, Apr 30, 2005 at 11:48:35PM -0700, David Armour wrote:
 pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v '^[[:space:]]*1' 

0) pkg_info

list all packages installed

1) sort

sort the resulting list from 0) by package name

2) sed -e 's/-[0-9].*$//'

delete everything after a dash followed by a number
followed by everything else. so autoconf-2.59_2 becomes autoconf.

3) uniq -c 

from the manpage:

 -c  Precede each output line with the count of the number of times
 the line occurred in the input, followed by a single space.

so counts how often autoconf is in the list resulting from 2)

4)  grep -v '^[[:space:]]*1'

delete every line starting (^) with one or more space characters  
followed by 1 in the list resulting from 3)

this deletes lines where only 1 version exists, e.g.:

 1 borg

3 autoconf
3 automake
6 docbook
2 gcc
2 glib
2 gtk
2 libtool
2 perl
2 xorg-fonts

so there are 3 versions of autoconf installed, 3 versions of
automake and so on.

the script is not quite correct because these two packages are
counted as two versions of xorg-fonts:

xorg-fonts-100dpi-6.8.2
xorg-fonts-75dpi-6.8.2

homework: find a version that works :-)

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail relay host problem

2005-04-29 Thread Toni Schmidbauer
On Thu, Apr 28, 2005 at 04:14:40PM -0400, Olaf Stein wrote:
 What I remember and what I did on this installation is the following:
  
 - add alias for existing user in /etc/mail/aliases
 - run newaliases
 - add relay-domains file in /etc/mail with the domains to deliver mail to
 - restart sendmail
  
 I am under the impression that with my old installation that was enough but
 I am not sure
 Fact is that it does not send any emails
 Am I missing something I still have to do or do you know locations of howtos
 for setting up sendmail for my purposes

what does mailq say? what happens when sending an e-mail with mail
-v? 

relay_domains contains domain- or hostnames sendmail will relay
for. where sendmail should forward (send to) your mails, depends
on MX or A DNS records, entries in the mailertable, or the DS
(smart host) statement in /etc/mail/sendmail.cf.

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cd-rom sysinstall fixit utility

2005-04-18 Thread Toni Schmidbauer
On Mon, Apr 18, 2005 at 01:05:53PM -0400, Darrel wrote:
 Is there actually a way to change the shell of root while logged in with
 the fixit utility on the cd-rom?

boot from the fixit cd/floppy, mount your root partition (e.g.
/dev/ad0s1a), edit /etc/passwd and change the shell to something
valid (/bin/csh should always work).

a quick search on google for freebsd fixit found the following, 
which might help:

http://www.freebsd-corp-net-guide.com/technotes/fixit.html

in your case, after mounting /dev/ad0s1a on /mnt, 
vi /mnt/etc/passwd - save, reboot and you should be fine.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login problems

2004-12-31 Thread Toni Schmidbauer
On Wed, Dec 29, 2004 at 03:10:16PM -0600, Nathan Kinkade wrote:
 On Wed, Dec 29, 2004 at 12:43:40PM -0600, Scott Stahl wrote:
 Have you viewed verbose connection messages with the ssh client?  Use
 can use the -v option to view more verbose messages, -vvv will give you
 a lot more.  This will at least let you know at which stage the
 connection is failing.

i would also run sshd with the debug flag enabled (-d).

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpuj77Xyo86U.pgp
Description: PGP signature


Re: login problems

2004-12-29 Thread Toni Schmidbauer
On Wed, Dec 29, 2004 at 12:43:40PM -0600, Scott Stahl wrote:
 I have two NICs in a development FreeBSD server I use, one public IP
 and one connected to my private network.
 
 I can SSH into the public IP but not the internal IP.  I get the
 username prompt but after I enter the login and press enter the
 session just hangs.
 
 The same happens for FTP but I don't get a prompt at all.

sounds mostly like a dns problem. do you dns set up for your
internal hosts? if not, put your internal ip's into /etc/hosts
on the freebsd server. 

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpNR5jcxj916.pgp
Description: PGP signature


Re: Question about updating 5.3

2004-12-09 Thread Toni Schmidbauer
On Wed, Dec 08, 2004 at 04:30:57PM -0800, sp0ng3b0b wrote:
 However, I recently read about make update. Should I be using this 
 instead? Any advice is appreciated.

make update only fetches the source + ports tree via cvsup.
it's just a more convenient way of calling cvsup. 

you have to make the following entries in /etc/make.conf to use
make update:

SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPHOST=your cvsup mirror here
SUPFILE=/etc/system.cvsup
PORTSSUPFILE=   /etc/ports.cvsup

make {build,install}world is still necessary.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpJPSz9zfIQw.pgp
Description: PGP signature


Re: pf log

2004-12-07 Thread Toni Schmidbauer
On Sun, Dec 05, 2004 at 09:16:36PM +0700, Muhammad Reza wrote:
 i have an error when try to read pf log via tcpdump on .5.3-stable
 
 ns2# /usr/sbin/tcpdump -n -e -ttt -i pflog0
 tcpdump: BIOCSETIF: pflog0: Network is down
 ns2# /usr/sbin/tcpdump -n -e -ttt -r /var/log/pflog
 tcpdump: fread: Unknown error: 0

- ifconfig pflog0 up solves the first issue

- is pflog_enable=YES in your rc.conf? if not do that and start
pflogd via /etc/rc.d/pflogd start

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpOCaiCsJXxr.pgp
Description: PGP signature


Re: AMD- XP

2004-11-29 Thread Toni Schmidbauer
On Mon, Nov 29, 2004 at 08:25:23PM -0800, j p wrote:
 i have a AMD XP 2200 chip. what version of freebsd i need to download.

ftp://your mirror here/pub/FreeBSD/ISO-IMAGES-i386/5.3/

the athlon xp is i386 compatible.

of course you can enable gcc optimization in /etc/make.conf after
installation with CPUTYPE=athlon-xp

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpzDq58BSvRR.pgp
Description: PGP signature


Re: Create Boot CD in OS X

2004-11-15 Thread Toni Schmidbauer
On Sun, Nov 14, 2004 at 06:11:25PM -0500, Peter H.Helck wrote:
 I've downloaded the FreeBSD 5.3 ISO images (disc 01 and 02) and burned 
 them onto CD's using MAC OS X 10.3 default settings. When installed 
 into an old Pentium PC CD rom, they are unreadable. I assume the method 
 of CD Rom burning may be at fault. Could you direct me to a site which 
 would help this newbie prepare the media properly. I know you are 
 incredibly busy since the release of 5.3 as stable, but would 
 appreciate any help possible.

hdiutil burn name.iso in terminal.app does the job for
me. never had problems booting from a cd burned like that.

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpOeAEFwKqwC.pgp
Description: PGP signature


Re: freebsd dies freequently

2004-11-02 Thread Toni Schmidbauer
On Mon, Nov 01, 2004 at 10:39:32PM -0500, Jian Guang Xu wrote:
 It would be great that if somebody could at least point me somewhere
 to go. Thank you in advance.

the only advice i can give you is, read that link:

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

and send a pr ( send-pr(1) )

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpHZ9DgOcufq.pgp
Description: PGP signature


Re: Linksys WPC11 v.4 problems in 5.2, 5.2.1 and 5.3-RC1

2004-10-24 Thread Toni Schmidbauer
On Sat, Oct 23, 2004 at 07:19:57PM -0500, Stephen P. Cravey wrote:
 I've just purchased a new 802.11b pcmcia card for a laptop and I'm
 getting errors when I insert it. Is this card not supported yet, other
 than debug sysctls, is there anythgin else I should check? Yes, i did
 add pccard_enable to rc.conf.

as far as i can tell, the wpc11 v4 doesn't use a prism chipset.
v3 has a prism chip which is perfectly supported.

a friend of mine had the same problems with the v4.

i don't know which chipset is in the v4, but it looks like it
isn't supported.

thank linksys, for that move...

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpQPrlo3EcRt.pgp
Description: PGP signature


Re: FreeBSD 4.10: slow ssh

2004-09-16 Thread Toni Schmidbauer
On Wed, Sep 15, 2004 at 02:59:38PM -0700, Mari Cariapa wrote:
 It takes about 15 seconds which normally should just take 2-3 seconds.  
 Any idea on how I can fix this?

probably a dns issue

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0yY2klH2yt.pgp
Description: PGP signature


Re: amd64

2004-09-08 Thread Toni Schmidbauer
On Tue, Sep 07, 2004 at 12:50:55PM -0700, ann kok wrote:
 I can't install cvsup-without-gui and said it doesn't
 support amd64

http://people.freebsd.org/~peter/cvsup-without-gui-16.1h.tbz

a simple google query would have revealed that link

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpW4dT7x9fb2.pgp
Description: PGP signature


Re: X issue

2004-08-25 Thread Toni Schmidbauer
On Tue, Aug 24, 2004 at 11:00:47PM -0500, Dustin wrote:
 I'm having some issues, I believe with XFree86.  I just installed FreeBSD 5.2.1 Rel, 
 installed XFree86 v 4.3.0, then ran CVsup to update my ports tree, then installed 
 Fluxbox from ports.  I managed to configure it well enough to get into Fluxbox, but 
 when I exited out from X, the system would hang.  I ended up having to hard-shut it 
 down after it hung.  Now I cannot get back into X.  When I run 'startx', the system 
 hangs.
 What kind of things can I try now?

- try if your box is reachable via network (ssh). if yes, kill XFree86
  this should relinquish your console

- look through /var/log/XFree86.0.log

- which kind of graphic card are you using?

- break your lines after 65 characters, so your e-mails become more
  readable to us

hth,
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpzCJ3rx7E5x.pgp
Description: PGP signature


Re: portscan looks like....

2004-08-24 Thread Toni Schmidbauer
On Tue, Aug 24, 2004 at 12:12:10AM -0400, Bob Ababurko wrote:
 PORT STATE SERVICE
 22/tcp   open  ssh
 25/tcp   open  smtp
 80/tcp   open  http
 111/tcp  open  rpcbind
 1023/tcp open  netvenuechat

with sockstat(1) its possible to list which daemon is listing on
which port. the column PID shows the corresponding process id.
a simple kill pid should be enough to stop that daemon. 

but indeed 1023 looks interesting. if you really don't know which
kind of daemon is listing on that port, i would try telneting to it.
hopefully it's not some kind of root backdoor :-)

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpnBdJAnzTBo.pgp
Description: PGP signature


Re: Procmail + Sieve ?

2004-08-04 Thread Toni Schmidbauer
On Tue, Jul 27, 2004 at 01:29:51PM +0200, Philipp Koock wrote:
 Now, exim recevies the mail, passes it to procmail via some kind of pipe 
 and procmail uses cyrdeliver to put mails into the corredsponding cyrus 
 imap mail folders ...
 
 now is there a way to put sieve between procmail and cyrus ?
 like make sieve filter all messages that procmail didn't ?
 
 removing the target mailbox from the cyrdeliver command doesn't help. How 
 do i pass mail to cyrus so that is still applys the sieve rules ?

sieve is integrated into cyrus. no need to change your
procmail rules. deliver(8) will apply the corresponding sieve
scripts and finally store the message in the right mailbox.

sieve scripts are installed via installsieve(1).

for more information see http://www.cyrusoft.com/sieve/

and please stop reposting the same question!

hth,
toni 
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpPfpnVs1sUE.pgp
Description: PGP signature


Re: Problem with gateway and ipfw in FreeBSD 5.2

2004-07-02 Thread Toni Schmidbauer
On Fri, Jul 02, 2004 at 11:23:05AM +0800, Tony Liew wrote:
 My problem, from FreeBSD I can ping outside and inside network.
 from Internal network, I can ping internal interface and external 
 interface of FreeBSD Router. But I cannot ping the modem IP address so 
 goes public DNS server on the internet.

does sysctl -w net.inet.ip.forwarding=1 help?

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpZmkQfUuRue.pgp
Description: PGP signature


Re: [OT] fetchmail, procmail and mutt (oh my!)

2004-07-01 Thread Toni Schmidbauer
On Wed, Jun 30, 2004 at 09:46:31PM -0500, Andrew L. Gould wrote:
 If I put 'mda /usr/local/bin/procmail' in the .fetchmailrc lines, 
 procmail puts the emails in the correct mbox files; but mutt complains 
 that the files are not valid email files and refuses to read them.

i've this line in my .fetchmailrc:

poll mailserver with proto imap user username pass pass mda '/usr/bin/procmail 
-d %T' ssl

i believe it's important to invoke procmail with the -d option,
but read procmail(1).

works like a charm for me.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp46OTsSKisx.pgp
Description: PGP signature


Re: mini itx

2004-07-01 Thread Toni Schmidbauer
On Wed, Jun 30, 2004 at 11:30:27PM +0100, arden wrote:
 has anyone used these boards with bds?

using a via epia cl6000e with 5.2.1, it's running my home firewall and
mailserver, no problems so far.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpyiaYYoYqAb.pgp
Description: PGP signature


Re: status of porting pf and spamd from OpenBSD to FreeBSD

2004-06-29 Thread Toni Schmidbauer
On Mon, Jun 28, 2004 at 01:36:55AM -0500, Jay Moore wrote:
 I heard some time ago that work was going on to port pf (and spamd, I think) 
 from OpenBSD to FreeBSD. I also recently saw an announcement on the FreeBSD 
 home page that Daniel Hartmeier had joined the FreeBSD team as a committer - 
 a further indication that this work is underway.
 
 I'm just curious to know the status of this effort, and any specifics on how 
 or when this will be done.

i am using pf under 5.2.1, works like a charm. just had to add:

options RANDOM_IP_ID

to my kernel config and install /usr/ports/security/pf.

dunno the status of spamd.

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpUSVO79eCE4.pgp
Description: PGP signature


Re: what types of network cards work with thinkpads?

2004-06-29 Thread Toni Schmidbauer
On Sun, Jun 27, 2004 at 04:01:17PM -0700, Gary Kline wrote:
   Well, I'm seeing some promising thinkpads over on ebay.
   Some with 10/100 netword card, most without.  Cann nybody
   clue me in on what types of laptop NICs work with FBSD?

http://gerda.univie.ac.at/freebsd-laptops/

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpm3u7CSfh07.pgp
Description: PGP signature


Re: Creating NTFS or FAT32 partition

2004-06-29 Thread Toni Schmidbauer
On Mon, Jun 28, 2004 at 01:39:53PM -0700, Alexander Kanchev wrote:
 I have a HDD attached to my computer and I need to format it with windows compatible 
 filesystem, like NTFS or FAT32. Is this possible to make this under FreeBSD ?

/usr/ports/emulators/mtools supports fat32

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpZoYD9RkbER.pgp
Description: PGP signature


Re: Hardware compatability list query (of d00m)

2004-06-12 Thread Toni Schmidbauer
On Fri, Jun 11, 2004 at 06:53:17PM +0100, Mike Woods wrote:
 Anyway, to the point, is there a big hardware compatability list anyway, 
 i dont mean like the one on freebsd.org rather a site stating actual 
 tried and tested cards and the like as opposed to chipsets and controllers ?

for laptops and pcmcia cards there is:

http://gerda.univie.ac.at/freebsd-laptops/

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpiHhbNjhYQI.pgp
Description: PGP signature


Re: 64 bits PCI gigabit Network card

2004-06-12 Thread Toni Schmidbauer
On Wed, Jun 09, 2004 at 12:54:56PM -0400, Peter Kok wrote:
 Does freebsd support 64 bits PCI gigabit Network card?
 
 how about D Link DGE-550SX

http://www.freebsd.org/releases/5.2.1R/hardware.html or
http://www.freebsd.org/releases/4.10R/hardware.html

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpPiEX7mzS98.pgp
Description: PGP signature


Re: Problem With Fix-It CD

2004-06-01 Thread Toni Schmidbauer
On Mon, May 31, 2004 at 08:12:15PM -0700, Rishi Chopra wrote:
 I'm unable to load the Fix-It CD; my computer will not boot the CD 
 directly, and a mounting error is given when I attempt to load the CD 
 using the boot diskettes.  I've tried taking my RAID array to another 
 machine, and the sysinstall program freezes when loading.  I've verified 
 that the CD (FreeBSD 5.1) is good.

the fixit cd is not bootable. you have to boot from the
installation cd, select fixit and insert the fixit cd.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp6PyBFvIBIM.pgp
Description: PGP signature


Re: FreeBSD to Windows No Reboot

2004-05-26 Thread Toni Schmidbauer
On Wed, May 26, 2004 at 09:20:07AM -0700, Bryan Maxwell wrote:
 Is there a way I can go from FreeBSD to windows without rebooting? 

no, that's not possible.

 Also if I have an active serial line sl0, can i run hyper terminal in 
 windows with that same line? 

don't know exactly what you mean, sorry.

 And lastly, is there a  hyperterminal
 program in FreeBSD 

tip(1) (comes with the base os) or /usr/ports/comms/minicom

 and do i have to turn off the SLIP sl0 for it to 
 run properly? Basically I have a PIC 16F819, it will respond to a 

don't know exactly what you mean, sorry.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpnfEoGdsXQO.pgp
Description: PGP signature


Re: Odd one: my root account disappears into hyperspace.

2004-05-26 Thread Toni Schmidbauer
On Wed, May 26, 2004 at 03:06:52PM +0100, Andy Holyer wrote:
 I ssh into my server as myself, and then su to root. At which point 
 something odd happens:
 
 a) the output of some shell commands seems to be redirected somewhere 
 other then my xterm;
 b) when I try to run emacs or vi, I get: emacs: standard input is not 
 a tty
 
 This doesn't happen when I log in as another user and try it. I've 
 tried comparing the contents of our two home directories, and there 
 appears no difference.

show us exactly what commands you are using. 

look for io redirections ( or  in bash) in your .profile, 
.bashrc, root's .profile and .bashrc and finally /etc/profile and 
any scripts that are called from within the mentioned files.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpVUcDxtMgUF.pgp
Description: PGP signature


Re: Postfix possibly ignoring myhostname and mydomainname?

2004-05-22 Thread Toni Schmidbauer
On Thu, May 20, 2004 at 01:13:19PM +0100, Edd wrote:
 I want postfix to send email from a domain name different to the one that
 it really is. This is because I have no real (as in on the net) domain
 associated with it, so I am going to use my website address so that the
 from field resolves and relays are happy to pass on my mail.

sorry, but this is definitely a postfix only question. i would
ask this on [EMAIL PROTECTED], people there are very
helpful.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpQd991Ob3uJ.pgp
Description: PGP signature


Re: arplookup error

2004-05-12 Thread Toni Schmidbauer
On Wed, May 12, 2004 at 08:20:07AM +0800, John Lee wrote:
 May 11 17:07:03 www /kernel: arplookup 63.223.76.1 failed: host is not on
 local network
 May 11 17:07:09 www /kernel: arplookup 63.171.211.198 failed: host is not on
 local network
 May 11 17:07:10 www /kernel: arplookup 63.167.125.251 failed: host is not on
 local network

looks like a wrong subnet mask. show us the output of

netstat -nr

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: Syerm temperature monitoring?

2004-05-12 Thread Toni Schmidbauer
On Tue, May 11, 2004 at 09:26:01PM -0400, stan wrote:
 Can I monitor the system temerature and voltages etc. under 4 STABLE?
 If so, what do I need to do this?

/usr/ports/sysutils/xmbmon

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: DHCP to Static

2004-05-12 Thread Toni Schmidbauer
On Tue, May 11, 2004 at 06:11:20PM -0500, Bryan Cassidy wrote:
 Just went and got an extra NIC card, and ordered static ip address and upgraded my 
 service. I have a quick question. If I am changing from dhcp to static is there 
 anything that I need to do in order to take advantage of static or to setup static? 
 Always had dhcp up until now. Not sure if I have to do anything to setup static. 
 Thanks

if you are getting your static ip-address from the dhcp server,
it will just work. if not you will need something like this in your
/etc/rc.conf:

ifconfig_fxp0=inet 192.168.1.2 netmask 255.255.255.0
defaultrouter=192.168.1.1

or take a look at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: startx failing to work after Gnome update

2004-05-09 Thread Toni Schmidbauer
On Fri, May 07, 2004 at 01:21:50PM -0700, Nicholas Jackson wrote:
 I've recently updated my Gnome packags to version 2.6 and since then, X 
 has failed to work when I start it as a non-root user. (It does work as 
 root)

seems like the setuid bit is missing on
/usr/X11R6/bin/Xwrapper-4. 

as user root try: 
chmod 4755 /usr/X11R6/bin/Xwrapper-4 

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: Problem with FreeBSD 4.8, ipf, ipfnat and forwarding for pcAnywhere

2004-05-07 Thread Toni Schmidbauer
On Thu, May 06, 2004 at 11:37:09PM -0500, adp wrote:
 And I am allowing in accessing via ipf:
 
 pass in quick proto tcp from any to public-ip port = 5631 group 200
 pass in quick proto udp from any to public-ip port = 5631 group 200
 pass in quick proto tcp from any to public-ip port = 5632 group 200
 pass in quick proto udp from any to public-ip port = 5632 group 200

normaly nat happens before the filtering rules are applied so i
would try the following:

pass in quick proto tcp from any to 192.168.99.9 port = 5631 group 200
.
.
.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: Connecting to a Headless machine, after install

2004-05-07 Thread Toni Schmidbauer
On Thu, May 06, 2004 at 11:58:43PM -0400, Bruce Hunter wrote:
 I see the boot process, but it gets to the date prompt but doesn't show 
 the login:

this is mentioned in the fabulous handbook:

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

17.6.5.4 Getting a Login Prompt on the Serial Console

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: find symbols in loadable kernel module

2004-05-04 Thread Toni Schmidbauer
On Mon, May 03, 2004 at 09:40:05PM +0200, elmar gerdes wrote:
 I'm looking for a mechanism that allows one loadable kernel module to
   find the symbols of another module,
 i.e. find a function 'foo' by its name and get the address of it,
 so I can call it.

sorry, i can't help you with that, but i would recommend asking
this question in [EMAIL PROTECTED]

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: recommends on the best webstats suite?

2004-05-03 Thread Toni Schmidbauer
On Sun, May 02, 2004 at 02:33:19PM -0700, Gary Kline wrote:
   I'd like input on which web stat suite to use.  Hopefully
   something that I can use by simply pointing at my /vay/log/httpd*
   file; it will magically create a graph of whatever.

http://www.mrunix.net/webalizer/  or
http://www.analog.cx/

i think analog is more customizable than webalizer, but don't
blame me for that.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: vinum on 5.2

2004-03-01 Thread Toni Schmidbauer
On Mon, Mar 01, 2004 at 10:37:01AM -0500, dave wrote:
 based on some internet research and a lot of doc readings, detailing an
 upcoming server install with vinum and raid1. I've now heard secondhand that
 vinum under 5.2 doesn't work with swap due to changes in the kernel and
 might not work at all after a few more modifications. I was wondering if
 there was any truth to this particularly how it relates to my procedure?

yes, sadly its true, mirroring swap is broken in 5.2, because swap
moved under geom and vinum has no idea about geom.

you can mirror your filesystems as usual, but swap has to be
mounted via /dev/ad0s1b e.g.

[EMAIL PROTECTED] is working hard on integrating vinum and geom, 
he is always looking for testers :-)

 Also, if it is so is there another package i could employ?

there is raidframe, but i dunno the status ...
http://people.freebsd.org/~scottl/rf/

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: vinum swap no longer working.

2003-12-29 Thread Toni Schmidbauer
On Mon, Dec 29, 2003 at 10:30:14AM -0500, Andrea Venturoli wrote:
 Can't help you, but I'm just curious...
 What is the point in mirroring a swap partition?
 Isn't this slowing the system down?

- yes, this is a bug in 5.2. greg lehey is working on it (i think
  so)

- mirroring swap _is_ useful because it's an backend store for
  memory pages. if you lose your swap partition and the kernel
  wants to page in, you or better the kernel will have a problem. 
  haven't tried that but i think the machine will panic.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: help

2003-12-29 Thread Toni Schmidbauer
On Mon, Dec 29, 2003 at 09:52:07PM -0800, Aeden wrote:
 Hi I am new to freebsd and unix. I would like you to help me if you can, i need some 
 tutorials or documets on unix commands and so and how to use bsd without X just the 
 shell can you give me information on websites which offer this service thank you!

 
http://www.google.com/search?q=unix+basicssourceid=mozilla-searchstart=0start=0ie=utf-8oe=utf-8
 
http://www.ee.surrey.ac.uk/Teaching/Unix/
 
and of course not to forget
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html  
 
hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: rsync and unattended ssh between 2 machines

2003-12-21 Thread Toni Schmidbauer
On Sat, Dec 20, 2003 at 07:53:08PM -0500, Brent Bailey wrote:
 ive been trying to get rsync to work with  unattended SSH and syncing of
 file systems
 
 Anyone have any good luck with doing this ? suggestions ?? any all all
 help is greatly appreciated

you have to create a rsa/dsa keypair without a passphrase
( ssh-keygen(1), just hit enter when asked for the passphrase ). 
save the public key on the remote maschine in
$HOME/.ssh/authorized_keys. then execute rsync with -e ssh.

for security reasons it is strongly recommended to do this as
non privileged user( _not_ root). use sudo to execute commands
as root when necessary.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: option to disable LKM

2003-12-07 Thread Toni Schmidbauer
On Sun, Dec 07, 2003 at 07:16:41PM -0500, fbsd_user wrote:
 I am looking for way to disable FBSD ability to use LKM (loadable
 kernel modules).

man securelevel(8)

so e.g. set kern_securelevel=1 in /etc/rc.conf

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: using bsd commands

2003-12-04 Thread Toni Schmidbauer
On Wed, Dec 03, 2003 at 09:35:13AM +0200, Mmin Maslak wrote:
 How can I list all files in a directory that are 7+ days old? (That is except last 7 
 days) 
 is that possible with use any command(s) on Freebsd4,x ?

man find(1)

find . -type f -atime +7d -print

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: icmp messages

2003-12-04 Thread Toni Schmidbauer
On Wed, Dec 03, 2003 at 09:15:00AM +0200, Petre Bandac wrote:
 I've googled around to find out EXACTLY what ping messages mean
 
 like 
 icmp: time exceeded in-transit [tos 0xc0] 

http://av.stanford.edu/books/tcpip/icmp_int.htm#6_0

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: getting DHCP-assigned IP address

2003-12-02 Thread Toni Schmidbauer
On Tue, Dec 02, 2003 at 05:05:06PM -0500, Michael A. Smith wrote:
 Is there an easy way to get the IP address that DHCP has assigned to an 
 interface?

ifconfig fxp0 | grep 'inet ' | cut -f 2 -d ' '

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: racoon configuration syntax errors

2003-11-06 Thread Toni Schmidbauer
On Thu, Nov 06, 2003 at 01:17:14PM -0600, Doug Poland wrote:
 2003-11-06 13:13:14: ERROR: cftoken.l:494:yyerror(): racoon.conf:99: A.A.A.A 
 syntax error
 2003-11-06 13:13:14: ERROR: cfparse.y:1397:cfparse(): fatal parse failure (1 errors)
 racoon: failed to parse configuration file.
 
 Here's the area around line 99 of my racoon.conf:  (The line numbers are not 
 actually in
 the racoon.conf file)
 
 98
 99 sainfo A.A.A.A
 100 {
 101 pfs_group 5;
 102 lifetime time 24 hour;
 103 encryption_algorithm blowfish ;
 104 authentication_algorithm hmac_sha1;
 105 compression_algorithm deflate ;
 106 }
 107

just to be sure, with A.A.A.A you have obfuscated your ip
adress, haven't you? there is not really A.A.A.A in your config
file?!

toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: Sendmail hosed after hostname changed

2003-11-05 Thread Toni Schmidbauer
On Wed, Nov 05, 2003 at 06:58:09PM +0800, LaWMAN wrote:
 Nov  5 18:33:50 hugs sendmail[72414]: hA5AXnFe072414: 
 [EMAIL PROTECTED], ctladdr=nobody (65534/65534), delay=00:00:01, 
 xdelay=00:00:00, mailer=relay, pri=30113, relay=localhost.my.domain., 
 dsn=4.0.0, stat=Deferred: Connection refused by localhost.my.domain.

seems like sendmail-submit is not running.

check if the following is set in your rc.conf

sendmail_flags=-L sm-mta -bd -q30m 
sendmail_submit_enable=YES  
sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost

by the way, which version of sendmail are you running?
sendmail-submit was introduced with version 8.12.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: Mounting USB drives and PCI USB and ieee1394 drives

2003-11-04 Thread Toni Schmidbauer
On Tue, Nov 04, 2003 at 08:45:20AM -0500, Alexander P. Goldhammer wrote:
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 over and over again then
 (da0:umass-sim0:0:0:0): got CAM status 0x4
 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
 (da0:umass-sim0:0:0:0): lost device
 (da0:umass-sim0:0:0:0): removing device entry
 
 I was reading through the rest of the man page for camcontrol but it is
 not clear to me that there is another command in camcontrol.
 
 Any ideas?

sorry, but now i think we reached the point where we will need
an usb and/or scsi specialist :-(

i would play with camcontrol reset (but _read_ the manpage
before), camcontrol rescan ...

sorry
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: Recommendations for wireless networking and FreeBSD

2003-11-03 Thread Toni Schmidbauer
On Mon, Nov 03, 2003 at 10:14:19AM -0800, John DeStefano wrote:
 I've just moved into an apartment in which drilling and running wires is taboo.  Has 
 anyone delved successfully into the realms of wireless networking their FreeBSD 
 groups?  My main server is running 4.8-STABLE, and I have a client machine running 
 5.1-RELEASE (which has been suspect to a lack of driver support for its onboard NIC 
 in FBSD anyway), but I am not married to any of these releases and would 
 up/downgrade if a solution was available.
 I'd also prefer a Wireless-G access point and adapter solution if possible, as 
 opposed to the much slower B solutions available.

man 4 wi. there you can find a list of support cards.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: Mounting USB drives and PCI USB and ieee1394 drives

2003-11-01 Thread Toni Schmidbauer
On Sat, Nov 01, 2003 at 02:50:13PM -0500, Alexander P. Goldhammer wrote:

i am really no scsi, usb, firewire specialist but i think for
some of your questions i can give an answer :-)

 (da0:umass-sim0:0:0:0): Read(6)/write(6) not supported, increasing the
 minimum_cmd_size to 10.

this is normal. 4.8 first tried 6 byte scsi commands. as the
messages says, for this device 10 byte scsi commands are required.
the default changed in 4.9 from 6 to 10 bytes for usb devices.

 #umass0: at hub0 port 1 (addr 2) disconnected
 (da0:umass-sim0:0:0): lost device
 (da0:umass-sim0:0:0): removing device entry
 umass0: detached
 
 My intuition tells me this is not good.

you should stop the drive before removing it (camcontrol stop
0:0:0). see camcontrol(8).

 (da0:umass-sim0:0:0:0): got CAM status 0x4
 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
 (da0:umass-sim0:0:0:0): lost device
 (da0:umass-sim0:0:0:0): removing device entry
 
 Does anyone have any ideas on how to address this/fix this?

when you stop the device (camcontrol), then remove it,
reattaching should work.

 b) If/when I plug it a USB/Firewire drive into this card how is the
 device name specified?  Or is there a command to figure this out? 

man 8 camcontrol

 c) Is msdos the correct filesystem designation?

if you share your data between windows and freebsd msdosfs is the
right fs. but be aware i had problems with huge partitions
and msdosfs see:

http://lists.freebsd.org/mailman/htdig/freebsd-stable/2003-May/000950.html
http://lists.freebsd.org/mailman/htdig/freebsd-stable/2003-October/004701.html

hth
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: mapping apps to keys in X Windows

2003-11-01 Thread Toni Schmidbauer
On Sat, Nov 01, 2003 at 05:31:17PM -0500, Dru wrote:
 Does any know if there are any tools or configurable scripts that come
 with X that allow a user to map an application to a shortcut key? Or is one
 supposed to instead use their window manager or an application in the ports
 collection (such as xbindkeys).

this is normaly a feature of your windowmanager. for example
under fvwm2(1):

Key g   A M Exec exec /usr/X11R6/bin/galeon

xbindkeys should work to.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: difficulties replacing bad libssl.so.3 with newly build libssl.so.3

2003-10-09 Thread Toni Schmidbauer
On Wed, Oct 08, 2003 at 04:31:21PM -0700, John Fox wrote:
 One of my aims was to replace libssl.so.3 with a fixed version, so (after
 making a backup copy of the current /usr/lib/libssl.so.3) I placed
 /usr/obj/usr/local/world_src/secure/lib/libssl/libssl.so.3 into /usr/lib
 and then attempted an https connection to the server. (Apache's mod_ssl
 was dynamically linked against libssl.so.3).  I found that my connection
 did not really work properly, creating errors such as these in the httpd
 error log:
 
   [Wed Oct  8 16:01:04 2003] [error] [client W.X.Y.Z] Invalid method in request 
 \x80C\x01\x03
   [Wed Oct  8 16:02:48 2003] [error] [client W.X.Y.Z] Invalid method in request 
 \x16\x03
   [Wed Oct  8 16:02:48 2003] [error] [client W.X.Y.Z] Invalid method in request 
 \x16\x03

just to be sure, have you restartet your apache (apachectl stop +
startssl?)

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: freebsd+postfix+mailscanner+uvscan

2003-10-09 Thread Toni Schmidbauer
On Thu, Oct 09, 2003 at 03:16:10PM +0800, [EMAIL PROTECTED] wrote:
 Anybody here has some links to help me out with this setup? Any help will be greatly 
 appreciated =). 

nothing freebsd specific but i used this documents:

http://lawmonkey.org/anti-spam.html
http://www.ijs.si/software/amavisd/
http://au2.spamassassin.org/index.html
http://au2.spamassassin.org/doc.html

to build a spam + virus scanning gateway.

hth
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: terminal emulation

2003-10-05 Thread Toni Schmidbauer
On Sun, Oct 05, 2003 at 05:35:02PM -0400, Alexey Koptsevich wrote:
 I would like to use FreeBSD machine as a serial console to another FreeBSD
 machine. Server part is described in the Handbook, but I have found
 nothing about client part. Which program should I use for terminal
 emulation? How can I make, for instance, xterm to communicate to the
 serial port?

man tip(1)

or install

/usr/ports/comms/minicom

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: rebuilding after CVSUP

2003-09-30 Thread Toni Schmidbauer
On Mon, Sep 29, 2003 at 03:41:54PM -0400, Brent Bailey wrote:
 Im running 5 4.8rc1 FBSD machines ..ive already done a cvsup ..im getting
 ready to do the rebuild of the systems
 
 Ive been reffering to the howtos on www.mostgraveconcern.com/freebsd
 
 but id like to get the lists opinion on this seeing as these are
 production machines im working on.

- first i would recommend reading the handbook about buildworld
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

- if this are production machines, i would use tag=RELENG_4_8
  so you are only updating to the latest security branch.
  developers at freebsd.org are currently preparing to release 4.9
  so -stable could be shaky.

- in a production environment, always try the update on a test maschine (which
  should be identical to the prod machines)

- you could try updating the servers over nfs, see the handbook mentioned above.

if you read the documentation really carefully, there is nothing to be afraid of.
i am updating my servers since 3 years via cvsup/installworld and never had a 
problem (thanks to the freebsd team :-).

hth,
toni 
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: Problem with running FWTK on FreeBSD 5.1

2003-09-30 Thread Toni Schmidbauer
On Tue, Sep 30, 2003 at 02:47:44PM +1000, Imran Ahmad wrote:
 I am running FreeBSD 5.1 on i386. I have compiled FWTK successfully and also most of 
 the application under FWTK are runnig fine.
 I have few ports configure to use plug-gw. I have defined these ports into 
 Services file and inetd.conf and inetd is running with out any option.
 But every time my users try to access plug-gw defined service, system is 
 generating the following error
  
 plug-gw[5235]: fwtkcfgerr: cannot decode datastream as port 

fwtk is a little bit outdated, i would recommend using xinetd:
(/usr/ports/security/xinetd)

service example
{
disable = no
socket_type = stream
wait = no
user = root
bind = your ip
redirect = destination ip port
}


or natd:

http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/004284.html

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: Mail Server

2003-09-30 Thread Toni Schmidbauer
On Tue, Sep 30, 2003 at 11:09:46AM +0200, Bernard Roux wrote:
 Please can you help me. I would like to setup a mail server using Freebsd. I
 have installed the software, but how do I configure Freebsd to become a mail
 server.

http://www.onlamp.com/pub/a/bsd/2003/08/21/postfix.html
http://ezine.daemonnews.org/200306/postfix-sasl.html
http://ezine.daemonnews.org/200309/postfix-spamassassin.html

http://bsdhound.dnsalias.net:81/downloads/Creating_a_Stable_Secure_FreeBSD_Mailserver.pdf
which is _very_ comprehensive

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: CUPS on SSL

2003-09-29 Thread Toni Schmidbauer
On Mon, Sep 29, 2003 at 02:50:48PM +0200, Guy Van Sanden wrote:
 I've recently set up my CUPS server with SSL protection (reconfigured the clients to 
 have 'Encryption Required' in the client.conf file.
 How can I verify that SSL is really working on that connection?  I am on a switched 
 network, so sniffing from another machine is difficult.

tcpdump on the cups server and check if incoming traffic is encrypted.
ethereal might be useful to.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: Can not find libintl.so.4?

2003-09-27 Thread Toni Schmidbauer
On Sat, Sep 27, 2003 at 01:10:27PM -0700, Darren Pilgrim wrote:
 I'm wondering, though, why this happened?  Is there is a more correct
 way to fix the problem?  Is this risk taken when one upgrades a
 massively interdependent set of installed ports?

i would recommend /usr/ports/sysutils/portupgrade. it handles all
the dependencies for you.

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: cvsup problem

2003-09-22 Thread Toni Schmidbauer
On Mon, Sep 22, 2003 at 01:40:56PM +, [EMAIL PROTECTED] wrote:
  # cvsup -g -L 2 /root/ports-supfile
  Parsing supfile /root/ports-supfile
  Connecting to cvsup1.FreeBSD.org
  Cannot connect to cvsup1.FreeBSD.org: Connection refused
  Will retry at 17:47:15

seems like cvsup1.freebsd.org is down, have you tried any other
cvsup server?

  bash-2.05b$ netstat -na |grep 5999
  tcp4   0  0  *.5999 *.*LISTEN

are you running a cvsup server? if you just would like to update
your ports-collections this is _not_ necessary.

 Two bits of information:
 
 * I am accessing via a firewall. I able to browse the web, send/get mail etc. 
 * I can ping to hosts in the internal network, but not external hosts.

can you telnet to port 5999 on cvsup1.freebsd.org (or any other
official cvsup server)? if yes, cvsup should work. if no, you 
need a plug-gw (fwtk, ipfw, pf ...)

by the why:

telnet cvsup1.freebsd.org 5999
Trying 198.104.69.57...
Connected to cvsup1.freebsd.org.
Escape character is '^]'.
! Access limit exceeded; try again later
Connection closed by foreign host.

cvsup1 is reachable again.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: cyrus-imapd and spamassassin

2003-09-13 Thread Toni Schmidbauer
On Sat, Sep 13, 2003 at 07:42:09PM +0200, Dick Hoogendijk wrote:
 Can anybody tell my how to use spamc w/ cyrus-imapd?

as always google knows the answer... a quick search on cyrus
spamc directed me to the following site:

http://subwiki.honeypot.net/cgi-bin/view/Freebsd/SendMailAndCyrus

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: freebsd sendmail problem .....

2003-09-11 Thread Toni Schmidbauer
On Thu, Sep 11, 2003 at 10:25:35AM +0530, Shrikant wrote:
 [EMAIL PROTECTED] Connecting to localhost.mydomain.com. via relay...
 [EMAIL PROTECTED] Deferred: Connection refused by localhost.mydomain.com.

sendmail 8.12.x must be running and listing on localhost to
send mail. this is a new feature so the sendmail binary has not to
be suid root.

check if you have enabled sendmail_submit:

sendmail_submit_enable=YES  # Start a localhost-only MTA for mail submission
sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost 

in /etc/rc.conf. per default (/etc/defaults/rc.conf) it should be running.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: kernel log message

2003-09-10 Thread Toni Schmidbauer
On Wed, Sep 10, 2003 at 04:52:43PM +0200, Hasse Hansson wrote:
  icmp redirect from 65.104.98.146: 204.152.184.189 = 65.104.98.145

is 65.104.98.146 your default router? it tells you that there is
a better way to the network 204.152.184.189.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: multiples gateways

2003-08-20 Thread Toni Schmidbauer
On Wed, Aug 20, 2003 at 09:25:47AM -0300, Marcelo Massel wrote:
  I ´ m using freebsd 5.0 and I need to know if it´s possible to use more than 
 one gateway?. I have two ethernet interfaces one with 10.10.10.254/24 and one with 
 the 10.10.50.254/24 which are  the gateways for two differents  LANs   .if its 
 posible to do it, how could i do it?

if i understand you correctly, 10.10.10.254 is the gw for
the 10.10.10.0/24 network and 10.10.50.254 is the gw for the
10.10.50.0/24 net. and you would like to connect these two
networks.
so the only thing you have to do is enable ip-forwarding
via sysctl -w net.inet.ip.forwarding=1 and change the
appropriate line in /etc/sysctl.conf (man 5 sysctl.conf).

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: fdisk: alternate boot code

2003-08-14 Thread Toni Schmidbauer
On Wed, Aug 06, 2003 at 08:22:43AM +, [EMAIL PROTECTED] wrote:
 I'd like to use fdisk and supply an alternate boot code using the -b option.  How do 
 I save the existing boot code within the MBR so as to pass it to fdisk though?  I'm 
 guessing I can use dd but I'm not sure how.

dd if=/dev/ad0 of=/boot/mbr.backup bs=512 count=1

hth,
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: How to send a PR without send-pr?

2003-08-14 Thread Toni Schmidbauer
On Tue, Aug 12, 2003 at 06:23:21PM +0200, Alexander Haderer wrote:
 hello,
 
 I have just made a new port which I want to make available for the ports 
 collection. The problem I have:
 
 - The web based PR submit form is down.
 - send-pr does not work for me because I am sitting behind a firewall
 
 We have a global mail server for our company that handles all mail traffic. 
 Users contact this mail server with their favourite mail clients (Netscape, 
 Kmail, Eudora, ...) via SMTP with auth or SMTP after POP. My FreeBSD 
 workstation from which I want to send the PR via send-pr has its default 
 sendmail config and can not send mail to anywhere outside the world. This 
 is no problem so far as I just use a Win-mail client for my mail 
 communication.
 
 When I run send-pr I get an email to my campus email account:

The original message was received at Tue, 12 Aug 2003 17:59:29 +0200 
(CEST)
from localhost.str.charite.de [127.0.0.1]
 
   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 554 [EMAIL PROTECTED]: Relay access denied)
...
 
 I asked the network admins how to configure my FreeBSD box and they told me 
 to set a relay host in my config. I looked into /etc/mail and 
 /usr/share/sendmail/cf/README and saw a lot of things I really don't want 
 to know about.
 
 Q1: How can I submit the PR without send-pr and without the web-interface?
 
 (or, if this to complicated:)
 
 Q2: Is there a chance to setup my local sendmail that it can send mail 
 worldwide?

trying to answer q2 because q1 was too complicated :-)

edit /etc/mail/submit.cf and change

D{MTAHost}[localhost] 

to

D{MTAHost}[global mail server]

restart sendmail. this is untested, so let me know if it works
for you.

because relaying over global mail server is only permitted
after a successfull pop login, use fetchmail just before sending
the mail:

fetchmail -c -p pop3 -u your username global mail server

hth,
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: Magicpoint HOWTO

2003-08-14 Thread Toni Schmidbauer
On Tue, Aug 12, 2003 at 06:51:13PM +0300, ODHIAMBO Washington wrote:
 I am faced with a presentation and I have no Winblows, just magicpoint.
 
 Does any soul in here know of a good tutorial for mgp? I have googled,
 perhaps with flaky search strings, but don't see a good one ;)

i did my first presentation with the help of
/usr/X11R6/share/doc/mgp/. there you can find a lot of examples.

hth,
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: how to learn freebsd?

2003-08-14 Thread Toni Schmidbauer
On Sat, Aug 09, 2003 at 04:58:59PM +0800, zd wrote:
 how to learn freebsd?

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

toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: restart apache on red hat (lil off list)

2003-08-14 Thread Toni Schmidbauer
On Fri, Aug 08, 2003 at 02:14:03PM +0530, Anil Garg wrote:
 (is  '/etc/rc.d/init.d/httpd restart' the right way to do it? or do we
 apachectl (if you whats the sytax).).

or service httpd restart.

please use http://www.redhat.com/mailman/listinfo/redhat-list/
next time asking a question about rh.

lg
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: update to 4-stable using a web proxy

2003-07-11 Thread Toni Schmidbauer
On Thu, Jul 10, 2003 at 05:47:24PM -0600, pura life CR wrote:
 hi, how is possible to update a freebsd host to 4-stable using a web proxy?
 I used to work with CVsup but It doesnt seem to work thorought proxy.
 Any other option?

http://www.cvsup.org/faq.html#fwtk

you could also use xinetd, ipfw, ipfilter, pf to implement port
forwarding.

hth,
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: How do you transfer a file.

2003-07-11 Thread Toni Schmidbauer
On Fri, Jul 11, 2003 at 09:04:45AM +0700, Roger Merritt wrote:
 This is helpful. I have a similar, but somewhat more complex problem. I 
 want to backup the entire /usr/home directory to another machine on the 
 network. FTP has not been disabled (yet) and I have NcFTP installed. ssh is 
 also set up between the two machines, so scp is available. The first 
 machine has very little disk space available, so I don't think I can tar 
 the directory tree on the native machine. I've also installed the rsync 
 port. I don't have a time problem, I could leave the job running overnight.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html#AEN15999

hth,

toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: funky dns required

2003-07-07 Thread Toni Schmidbauer
On Mon, Jul 07, 2003 at 03:59:12PM +1000, Andrew Thomson wrote:
 I currently have a caching nameserver on my local domain that really
 just caches and forwards to my primary nameserver.
 
 A lot of laptop users connect to the public ip of my mailserver as this
 is what they'd use if they were out of the office.
 
 However when they are in the office, it doesn't work so well. I've got
 some double nat magic on the firewall to attempt to overcome the problem
 however it just doesn't seem to work so well.
 
 As soon as I change the mailserver to the internal ip for these laptop
 users, everything works great. However having the laptop users change
 this everytime is not a workable solution.
 
 What I want to do is setup on my caching nameserver something so that
 when the laptop users requests the public name of my mailserver it
 acutally returns the internal ip. Everyone's happy!

look at bind 9 views. it's well documented in the bind 9
administrator manual available from
http://www.nominum.com/content/documents/bind9arm.pdf

hth,
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Re: Account Privilege

2003-07-01 Thread Toni Schmidbauer
On Tue, Jul 01, 2003 at 03:10:55PM -0400, Nucking Futs wrote:
 I'm trying to set up user accounts so that they can not view any further 
 than their home directory.  At the very least I don't want them to be able 
 to do a cd .. and view /usr/home and view the other user accounts 
 information. How would I set this up so they couldn't view other user 
 accounts or preferably any other part of the system.

- you could use bash -r (restricted bash)
- or chroot(8), on google i found the following article:
  http://www.tjw.org/chroot-login-HOWTO/ this how to is for linux
  but it should work on freebsd to.
- if you just want to restrict access to other users home
  dir's, creating a group per user and chmod 750 the users home
  dir should be sufficient. 

hth,
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


  1   2   >