Wireless networking in ad-hoc mode?

2005-12-07 Thread Fafa Hafiz Krantz

Hello!

I need to connect my laptop to the wireless NIC on my FreeBSD 6.0-STABLE 
gateway.
It's ral0, and I've set it to ad-hoc mode. My laptop, running Windows XP, can 
see
the network bsd but not ping it / connect to it.

I used some ascii2hex converter that I found online to turn the wep key 1n4te
into 316E3474410D0B.

# ifconfig ral0 inet 192.168.0.1 netmask 255.255.255.0 media autoselect mode 
11b mediaopt adhoc ssid bsd wepmode on wepkey 316E3474410D0B

# dmesg | grep ral0
ral0: Ralink Technology RT2500 mem 0xfeafc000-0xfeafdfff irq 22 at device 1.0 
on pci2

# ifconfig ral0 -m
ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::214:85ff:fe1b:cbdf%ral0 prefixlen 64 scopeid 0x2
ether 00:14:85:1b:cb:df
media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
status: no carrier
ssid bsd channel 11
authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS
bintval 100

I appreciate this guys!
Thanks!

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


BUILD ERROR: From 5.4 to 6.0

2005-12-02 Thread Fafa Hafiz Krantz

Hi,

I got this FreeBSD 5.4-STABLE box.

I've followed UPGRADE, but still I get this error:

--
 stage 2.3: build tools
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh /usr/src/tools/install.sh  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk  -m 
/usr/src/share/mk /usr/obj/usr/src/make.i386/make -f Makefile.inc1  DESTDIR=  
BOOTSTRAPPING=504100 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
=== bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define'  
sh.err.h
cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh 
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'  
-I/usr/obj/usr/src/tmp/legacy/usr/include 
/usr/src/bin/csh/../../contrib/tcsh/tc.const.c 
/usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src/bin/csh/config.h 
/usr/src/bin/csh/../../contrib/tcsh/config_f.h 
/usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep 
'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' |  
sort  tc.const.h
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93,
 from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c:33:
/usr/include/wchar.h:33:18: cwchar: No such file or directory
cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2 -fno-strict-aliasing 
-pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh 
-D_PATH_TCSHELL='/bin/csh'  -I/usr/obj/usr/src/tmp/legacy/usr/include 
/usr/src/bin/csh/../../contrib/tcsh/gethost.c
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93,
 from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/include/wchar.h:33:18: cwchar: No such file or directory
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93,
 from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/include/wchar.h:35: error: syntax error before std
In file included from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/sh.h:97: error: syntax error before eChar
/usr/src/bin/csh/../../contrib/tcsh/sh.h:97: warning: data definition has no 
type or storage class
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:1304,
 from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: error: syntax error before 
readc
/usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: warning: data definition 
has no type or storage class
*** Error code 1

Stop in /usr/src/bin/csh.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Can anybody help me?

P.S. Please include my e-mail in the reply,
I am not yet registered with the questions mailinglist.

Thank you!

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Failure: make world: from 5.4 to 6

2005-11-08 Thread Fafa Hafiz Krantz

Hello.

Anybody know what's going on?

I tried upgrading but I get this.

Then I removed /usr/obj and /usr/src and I still get that:

In file included from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/sh.h:97: error: syntax error before eChar
/usr/src/bin/csh/../../contrib/tcsh/sh.h:97: warning: data definition has no 
type or storage class
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:1304,
 from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: error: syntax error before 
readc
/usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: warning: data definition 
has no type or storage class
*** Error code 1

Stop in /usr/src/bin/csh.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Thanks.

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


The best scripts ever (trick or treat)

2005-11-01 Thread Fafa Hafiz Krantz

kline at thought dot org thinks I'm spam.

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


mp3.sh: Asking for advice

2005-10-31 Thread Fafa Hafiz Krantz

Hello!

I got this script here:

#!/bin/sh
#
#   Generate SFV and M3U for MP3 releases.
#   $URBAN: mp3.sh,v 1.0 2005/10/24 15:05:09 fafa Exp $
#

for file in `find . -name \*.nfo | sed 's,^\./,,'`; do

directory=`dirname ${file}`
prefix=`basename ${file} | sed 's/.nfo//g'`
current=`basename ${directory}`
sfv=${directory}/${prefix}.sfv
m3u=${directory}/${prefix}.m3u

cd ${directory}

rm -f *.sfv
rm -f *.m3u

touch ${sfv}
if [ test `cfv -C *.mp3  /dev/null` -nq 0 ]
echo CFV returned non-zero result.
break
fi

cat ${current}.sfv | awk '! /^;/'  ${sfv}
rm -f ${current}.sfv

for mp3 in *.mp3;
do echo ${mp3}  ${m3u};
done

echo $directory: Done

done

In some cases though, an album contains two or more CDs -- making the files 
start
with 3 digits, and not 2 like normal -- such as cd/track: 101, 102 etc. for CD1 
and
201, 202 etc. for CD2. If this is the case, then one .m3u (playlist) should be
generated for each CD, like ${prefix}-cd1.m3u, ${prefix}-cd2.m3u etc.

Now, I'm a super newbie when it comes to scripting. I have no idea what to do. 
I've
been told I can use sed, or maybe echo $filename | egrep 
'^[[:digit:]]{2}[^[:digit:]]'
but I am clueless as to how I could make that all work with my script.

If anybody has a clue, please do share it :)

Thanks you all ...

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


The best scripts ever (trick or treat)

2005-10-31 Thread Fafa Hafiz Krantz
 | --al | --a)
all=yes; fopt= ;;

-h | -help | --help | --hel | --he)
usage ;;

-l | -list | --list | --lis | --li | --l)
list=yes ;;

-v | -version | --version | --versio |\
--versi | --vers)
version ;;

-*) die $ac_option: $ac_invalid ;;
*)  argv=$argv $ac_option ;;
esac
done

case $ac_prev in
) ;;
*)  die Missing argument to --`echo $ac_prev | sed 's/_/-/g'` ;;
esac

# *** Real work starts here.
# Test for specific features.
#
case $argv
in
) case $list in
yes)  top= ;; # Sort reads stdin.
*)  top=. ;;
esac
;;

*)  top=$argv  ;;
esac

# *** Print the directory tree.
#
case $list
in
no)   test -d $top || die $top: not a directory
cd $top; pwd; find . $fopt -print | mktree ;;
yes)  mktree  $top ;;
esac

exit 0

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Re: Maintaining my music collection (off topic)

2005-10-28 Thread Fafa Hafiz Krantz

Here's what I ended up with:

#!/bin/sh
#
#   Generate SFV and M3U for all releases.
#   $URBAN: mp3.sh,v 1.0 2005/10/24 15:05:09 fafa Exp $
#

for file in `find /home/mp3 -name \*.nfo`; do

DIRECTORY=`dirname ${file}`
PREFIX=`basename ${file} | sed 's/.nfo//g'`
CURRENT=`basename ${DIRECTORY}`
SFV=${DIRECTORY}/${PREFIX}.sfv
M3U=${DIRECTORY}/${PREFIX}.m3u

cd ${DIRECTORY}
rm -f *.sfv
rm -f *.m3u
touch ${SFV}
cfv -C *.mp3
cat ${CURRENT}.sfv | awk '! /^;/'  ${SFV}
rm -f ${CURRENT}.sfv

for mp3 in `find * -name \*.mp3 -maxdepth 1`; do
echo ${mp3}  ${M3U}
done

done

:)

- Original Message -
From: Will Maier [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: Re: Maintaining my music collection (off topic)
Date: Wed, 26 Oct 2005 14:47:39 -0500

 
 On Wed, Oct 26, 2005 at 06:39:48AM -0400, Parv wrote:
  Looks like this script is not going to work in FreeBSD /bin/sh.
  Install one of shells/bash* (guessing) ports and run this script
  under that shell (unless somebody does the conversion for you).
 
 FreeBSD sh (1) supports parameter expansion, including expansions used
 in the referenced function.
 
 --
 
 o--{ Will Maier }--o
 | jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
 | [EMAIL PROTECTED] | [EMAIL PROTECTED] |
 *--[ BSD Unix: Live Free or Die ]--*



--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Maintaining my music collection (off topic)

2005-10-26 Thread Fafa Hafiz Krantz

Hello!

I have a rather large collection of CDs and vinyls which I have
digitized for preservation. For instance:

+/usr/home/mp3
|+-instrumentals/
|| +-fat_jon_as_maurice_galactica-humanoid_erotica-cd-2001/
|| | 
+-00-fat_jon_as_maurice_galactica-humanoid_erotica-2001-back.jpg
|| | 
+-00-fat_jon_as_maurice_galactica-humanoid_erotica-2001-cd.jpg
|| | 
+-00-fat_jon_as_maurice_galactica-humanoid_erotica-2001-front.jpg
|| | 
+-00-fat_jon_as_maurice_galactica-humanoid_erotica-cd-2001.nfo
|| | +-01-at_the_bar.mp3
|| | +-02-14_years-nbd.mp3
|| | +-03-triple_gold_daytons.mp3
|| | +-04-no.mp3
|| | +-05-tell_me.mp3
|| | +-06-the_queen_and_i.mp3
|| | +-07-backseat_anonymous-.mp3
|| | +-08-change_your_mind.mp3
|| | +-09-exact_space.mp3
|| | +-10-i_dee.mp3
|| | +-11-rain_dance_remix_instrumental.mp3
|| | +-12-pretty_pussy_kitty_kat_ft_five_deez.mp3
|| | +-13-unnamed_track.mp3

Inside mp3/ there are a lot of subfolders and subsubfolders
containing my albums. My problem is that they all lack a Simple File
Verification file as well as a M3U playlist. Generating those
manually for each album is way too much.

I was wondering if anybody could assist me in building this script
to perform these tasks:

1) Go to all directories containing an .nfo file
2) Generate an .sfv file based on the .mp3 files in each directory
3) Remove .sfv comments created by the cfv tool
4) Give the .sfv file the same name as the as the .nfo file (except extension)
5) Do an ls *.mp3 and output it to the same file name as the other two files 
(except extension)

So far a friend of mine has helped me make this:

fix() {
find ${1+:$@} -name '*.nfo' | while read file ; do
cd ${file%/*}

if [[ $(ls *.sfv) ]]; then
(( recreate ))  do=1 || do=0
else do=1
fi

(( do ))  cfv -C *.mp3 || { echo SFV creation failed. ; return 1 ; } 
; ... filename code .. ;

cfv=$( ls *.cfv )
if [[ -n $cfv ]] ; then
echo SFV already exists.
else
Data=$( awk '! /^:/' $cfv )  echo $Data $cfv || echo 
Comment removal failed.
fi
}

But it doesn't really work.

# sh fix.sh
  fix.sh: 9: Syntax error: do unexpected (expecting ))

Maybe it also can be simplified?
I don't know much coding, but to me it looks kind of messy.

Well, that's it.
Thank you so much all!

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Re: Maintaining my music collection (off topic)

2005-10-26 Thread Fafa Hafiz Krantz

I don't know man,
the script is suppose to be valid sh.

# bash fix.sh
fix.sh: line 19: syntax error near unexpected token `}'
fix.sh: line 19: `}'

All the best,
Fafa

- Original Message -
From: Parv [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED]
Subject: Re: Maintaining my music collection (off topic)
Date: Wed, 26 Oct 2005 06:39:48 -0400

 
 in message [EMAIL PROTECTED],
 wrote Fafa Hafiz Krantz thusly...
 
  fix() {
  find ${1+:$@} -name '*.nfo' | while read file ; do
  cd ${file%/*}
   ^ ^
   ^ ^
 Looks like this script is not going to work in FreeBSD /bin/sh.
 Install one of shells/bash* (guessing) ports and run this script
 under that shell (unless somebody does the conversion for you).
 
 
- Parv
 
 --



--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


portupgrade + make_ports.sh: Fixing everything in one go

2005-09-24 Thread Fafa Hafiz Krantz

Hello!

I thought I'd ask you all if my make_ports.sh is as convenient as I think
it is, or if it's totally off track or what not:

# cat make_ports.sh

cvsup -g -L 2 /etc/cvsupfile
cd /usr/ports
make fetchindex
portupgrade -raP
portsdb -uU
pkgdb -F
portsclean -CDLP

As for portupgrade -raP I want it to only use packages since my system
is very slow, and recompiling all my ports is not an option. This command,
however, doesn't seem to work at all.

I get a lot of:

** The command returned a non-zero exit status: 1
** Failed to fetch ...

And it ends up compiling my ports instead ...

I truly hope anyone can help.
Thanks!

--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


what is stuck here?!

2005-08-23 Thread Fafa Hafiz Krantz

hello!

how come *nothing* happens when i rm -rf directory/?
it just won't move ...

top from another terminal tells me:
55272 root 1160 14396K 13768K RUN  0:27 36.13% 35.40% rm

what? the directory/ only contains a .maildir/, a .muttrc and an empty directory
it's not an immutable flag that has been set,
chflags -R nouchg directory/ stands equally still to rm -rf

even chown -R user:group directory/ is still.
have i been hacked?

--

Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.no
  User @ http://www.freebsd.org



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


converting from FREEBSD to DRAGONFLY

2005-08-23 Thread Fafa Hafiz Krantz

hello!

i'm about to convert from freebsd to dragonflybsd because i appreciate
a clean environment that is on the right route.

i'm wondering if those who have done the same might share their experiences
with me, so that my migration can become as painless as possible.
i'm particularly curious when it comes to reusing my configuration files,
and how much time that must be spent readapting them to dragonflybsd:

http://www.home.no/barbershop/server.rar

ofcourse i am prepared to deal with this on my own. i guess that's the only
way. unless somebody in here wants to pass on the help they once got, be
free to do so!

all the best,
fafa

--

Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.no



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Let's update FreeBSD vs Linux vs Windows XP

2005-06-25 Thread Fafa Hafiz Krantz

Hello!

We've all tried advocating FreeBSD by showing our friends the
infamous http://people.freebsd.org/~murray/bsd_flier.html comparison.
But despite its excellent, it has lost its integrity because its age.
Many things have changed since then, and on behalf of all those who
enjoy advocating FreeBSD: It's time we bring the truth out.

What do you all say? Instead of bugging Mr Murray Stokely about
updating it, why don't we just update it in this thread? If everybody
could contribute their bit of truth, I am willing to compile it into a
nicely written (and designed*) sequence of TXT, HTML and PDF and post
it back here. It is very important to get this situation straight.
So we all know where we stand. 

I have put an easier version of the comparison up at:

http://www.home.no/hedhnta/versus.txt

So please post corrections referring to each paragraph.
It would also be nice to include Mac OS X in this comparison.

* In line with:
  http://identity.berkeley.edu/downloads/ucb_design_style.pdf

Thank you all!
Now let's get down to work!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.no


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Explaining FreeBSD features

2005-06-20 Thread Fafa Hafiz Krantz

Hello.

I am curious why it's so difficult to get a simple and straight
forward list of FreeBSD's features, that normal people can understand?

I am trying to write one of the largest articles ever to be published
on www.PCWorld.no -- to only say good things about FreeBSD. But I want
it clear what good things to say.

http://www.freebsd.org/features.html is alright, but not the best.
Using super-advanced jargons, it says what they are, but not what they do.
At least not in a way normal people can understand.

http://www.apple.com/macosx/features/unix/ aims more towards the general
public, and does the job a little better. How ever they don't even
mention half of FreeBSD's features.

http://people.freebsd.org/~murray/bsd_flier.html is very, very good.
I get the feeling though, that it ain't like that no more.

Any idea, people?

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.no


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Explaining FreeBSD features

2005-06-20 Thread Fafa Hafiz Krantz

 This sounds good. How much time is left for you to write it?

A couple of weeks :)

So I have a lot of time to do research.

 FreeBSD is a typical system driven by technical people.

Clearly its weakest point.

 Or, as I describe it for myself, if I would know marketing,
 I would not write software.

If you knew them both, your powers wouldn't know limits.

  http://www.apple.com/macosx/features/unix/ aims more towards the general
  public, and does the job a little better. How ever they don't even
  mention half of FreeBSD's features.
 
 Not all applies to FreeBSD.

Hopefully one day they will.

  http://people.freebsd.org/~murray/bsd_flier.html is very, very good.
  I get the feeling though, that it ain't like that no more.
 
 It is a starting point but a bit outdated.

True.

I did e-mail this Murray, he told me he was working on a new one.

  Any idea, people?
 
 Not really as I also do not know the current status of your 
 article. I also have no idea what the target audience will be.

Actually, it's not only for the article.

I also want to create an introductory report where FreeBSD meets
the real life, and try to present it in the same professional
manner that Apple presents their Mac OS X.

Maybe some can even be used as wording for FreeBSD's new website,
which they desperately need.

 Let me give you some not to technical points for a start.
 
 FreeBSD strongest and also its weakest point is that it is 
 developed by serious people as a serious operating system who took 
 the work of a serious university as their base.
 
 This leads easily to misunderstandings when newcommers appearing at the scene.
 
 The main advantage of FreeBSD is its stability. It just runs like a 
 work horse.
 
 FreeBSD follows very strict principles once set. The number of 
 exceptions to be faced during operating a FreeBSD machine are 
 pretty much limited.
 
 All applications come via the ports tree and are delivered as 
 source or as a binary. The user can decide on what level he/she can 
 maintain the machine.
 
 The installation from source need compilations but it does not need 
 any knowledge of programming. Following the same steps for all 
 ports, is all the user has to do:
 
 cd to the directory in the ports tree
 make
 make install
 make clean
 
 I know some people who were to afraid to move to FreeBSD as they 
 believed installing from source is equal to being a programmer.

Yeah I know a lot of people like that :)

 I hope this will start a discussion to give you the strong points 
 of FreeBSD you need for the article.

Indeed, Erich.

Your kind gesture and true words have been very helpful.

Thank you!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.no


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Explaining FreeBSD features

2005-06-20 Thread Fafa Hafiz Krantz

Hello.

Thank you all for everything so far.

But I am not looking for comparisons.

I am looking for stuff that has been written so that people can understand.

Let's say this:

Multi-threaded SMP architecture capable of executing the kernel in parallel on 
multiple processors, and with kernel preemption, allowing high priority kernel 
tasks to preempt other kernel activity, reducing latency. This includes a 
multi-threaded network stack and a multi-threaded virtual memory subsystem. 
With FreeBSD 6.x, support for a fully parallel VFS allows the UFS file system 
to run on multiple processors simultaneously, permitting load sharing of 
CPU-intensive I/O optimization.

In the real world, that ought to sound more like:

FreeBSD includes support for symmetric multiprocessing and multithreading. This 
makes the kernel lock down levels of interfaces and buffers, minimizing the 
chance of threads on different processors blocking each other, to give maximum 
performance on multiprocessor systems.

Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


pf pfffffft pfft *) problem

2005-06-10 Thread Fafa Hafiz Krantz

hey!

pf blocks me from ftp'ing out from my workstation (behind my pf box) and i 
don't know why.
it only blocks, however, the ftp's i've been downloading a lot from during the 
past few days.
ftp'ing out *from* my pf box works just nicely.

some of my users report not being able to ssh in, too.

# tcpdump -n -e -ttt -i pflog0
#
24. 001750 rule 0/0(match): block in on rl0: IP 217.31.174.134:2200  
213.187.181.23 : FP 0:34(34) ack 1 win 5840

heeelp! :D

i didn't change my working configuration.
it's been working for months. until now ...

# cat /etc/pf.conf
#
int_if=ep0
ext_if=rl0

set block-policy drop
scrub   in all

nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

block   drop log all
passquick on { lo0 $int_if }

passout on $ext_if inet proto { tcp, udp, icmp } \
from any to any keep state

passin on $ext_if inet proto { tcp, udp } \
from any to ($ext_if) port 53
passout on $ext_if inet proto { tcp, udp } \
from any port 53 to any

passout on $ext_if inet proto udp \
from any to any port 123 keep state

passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 25, 80, 110, 113, 143 } \
flags S/SA keep state

passin on $ext_if inet proto tcp \
from any port 20 to ($ext_if) user proxy flags S/SA keep state

passin on $ext_if proto tcp \
from any to any port 31337 keep state
passin on $ext_if proto tcp \
from any to any port 5:5

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Where's the grammar: hostname nor servname provided, or not known

2005-05-28 Thread Fafa Hafiz Krantz

Hello!

Can someone please change this in the source:

   hostname nor servname provided, or not known

To for instance:

   Unknown location.

It appears for instance when I:

([EMAIL PROTECTED])(23:05:05/28/05)
(%:~) ssh fafef
ssh: fafef: hostname nor servname provided, or not known

([EMAIL PROTECTED])(23:11:05/28/05)
(%:~) telnet kask
kask: hostname nor servname provided, or not known

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Proper dual booting

2005-05-27 Thread Fafa Hafiz Krantz

Hello.

Here is what I see when I turn on my computer:

F1   FreeBSD
F5   Disk2

This doesn't look very good. How do I make it like this:

F1   FreeBSD
F2   Windows XP

I heard I had to rewrite code.
But that's pathetic! Plus, I'm kinda dumb.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Broadcom BCM5751 Gigabit Ethernet

2005-05-27 Thread Fafa Hafiz Krantz

Hello!

I got this Broadcom BCM5751 network interface that works just great in FreeBSD.
I was just wondering though, does anybody know where to find its Windows XP 
driver?

I need it to function in both sceneries.

I found an EXE on an Asus.com mirror, but it was some sort of floppy extractor 
and
not really the actual driver, or so it seemed, that I was looking for. I ain't 
got no floppies
anyway, they're all corrupt ;-)

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Files corrupt after copy!!!

2005-05-24 Thread Fafa Hafiz Krantz
 (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
kbd0 at atkbd0
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ulpt0: hp photosmart 7700 series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
umass0: hp photosmart 7700 series, rev 2.00/1.00, addr 2
ukbd0: Chicony Compaq Wireless HID Receiver, rev 1.10/2.10, addr 3, iclass 3/1
kbd1 at ukbd0
uhid0: Chicony Compaq Wireless HID Receiver, rev 1.10/2.10, addr 3, iclass 3/1
ums0: Chicony Compaq Wireless HID Receiver, rev 1.10/2.10, addr 3, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounter TSC frequency 3192016368 Hz quality 800
Timecounters tick every 10.000 msec
acd0: DVDROM HL-DT-STDVD-ROM GDR8163B/0B15 at ata0-master PIO4
acd1: DVDR HP DVD Writer 630/AH26 at ata0-slave PIO4
ad4: 152627MB ST3160023AS/3.20 [310101/16/63] at ata2-master SATA150
ad6: 152627MB ST3160023AS/3.20 [310101/16/63] at ata3-master SATA150
cd0 at ata0 bus 0 target 0 lun 0
cd0: HL-DT-ST DVD-ROM GDR8163B 0B15 Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata0 bus 0 target 1 lun 0
cd1: HP DVD Writer 630c AH26 Removable CD-ROM SCSI-0 device 
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
da0 at umass-sim0 bus 0 target 0 lun 0
da0: HP photosmart 7700 1.00 Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
Mounting root from ufs:/dev/ad4s1a

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


DMESG: MPTable: COMPAQ

2005-05-24 Thread Fafa Hafiz Krantz

Hey!

Here's the top of my dmesg:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #5: Wed May 18 12:52:43 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/URBAN
MPTable: COMPAQ   
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.02-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf34  Stepping = 4
  Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1073610752 (1023 MB)
avail memory = 1045262336 (996 MB)

What's with all the empty space inside:

MPTable: COMPAQ   

I'd really like to remove that somehow.
Can anyone help me?

Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


linux-firefox: Gtk-WARNING

2005-05-23 Thread Fafa Hafiz Krantz

Hello!

I need to use linux-firefox instead of the native port, because I need
support for Flash 7. Over 40% of all Flash websites on the Internet are
exported to this format, as it brings about many improvements, and I
do not want to be left behind.

I get this, however. It does not know how to use my GTK2 theme:

(linux-firefox-bin:73907): Gtk-WARNING **: Unable to locate theme engine in 
module_path: pixmap

Any idea?

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Please help me booooot!

2005-05-22 Thread Fafa Hafiz Krantz

hey!

i have two s-ata harddrives on this computer:

ad6, with FreeBSD 5.4-STABLE
and ad4, with Windows XP

when i boot either ad6 or ad4 alone, everything is cool.

when i plug both ad4 and ad6 into, i am brought to the freebsd
bootloader. however, half-way down the boot i get:

Mounting root from ufs:/dev/ad6s1a
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

when i switch ad6's cable over to ad4 and vice versa, my computer
doesn't boot past its bios at all. what's wrong here? i just need to
mount ad4 so i can back up some stuff, that's all. thank you so much!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Creative Sound Blaster Audigy LS

2005-05-18 Thread Fafa Hafiz Krantz

 By the way, Fafa, (currently) your best bet is to go with binary
 driver from http://www.opensound.com/ . It's free for personal use. I
 have myself an Audigy LS, I'll see what I can do with it later.

Apa khabar Ariff!

Thank you for your kind help.

And thank you for being the first Malay I've seen in here.
I guess we're on the right track after all.

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.no


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Dualboot confusion

2005-05-18 Thread Fafa Hafiz Krantz

Hello.

I am trying to run FreeBSD while my Windows XP harddrive is connected
to my computer. But they don't seem to like each other:

Mounting root from ufs:/dev/ad6s1a
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

FreeBSD was installed on ad6. When connecting both harddrives, it's still
ad6. It's hard for me to do anything after that, like specifying a manual
boot, because I only have a USB keyboard doesn't work then.

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


named is not running???

2005-05-18 Thread Fafa Hafiz Krantz

hey, got a strange problem here.

how do i find out _why_ named hasn't started even though it
claims it did? /var/log/messages doesn't contain anything.

# /etc/rc.d/named start
Starting named.

# /etc/rc.d/named status
named is not running.

thank you man!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


named is not running???

2005-05-18 Thread Fafa Hafiz Krantz

here's some more info:

# /usr/sbin/named -g
#
18-May-2005 21:52:14.136 starting BIND 9.3.1 -g
18-May-2005 21:52:14.144 found 1 CPU, using 1 worker thread
18-May-2005 21:52:14.307 loading configuration from '/etc/namedb/named.conf'
18-May-2005 21:52:14.352 listening on IPv4 interface lnc0, 213.187.185.43#53
18-May-2005 21:52:14.365 could not listen on UDP socket: address in use
18-May-2005 21:52:14.370 creating IPv4 interface lnc0 failed; interface ignored
18-May-2005 21:52:14.372 listening on IPv4 interface ep0, 192.168.187.1#53
18-May-2005 21:52:14.375 could not listen on UDP socket: address in use
18-May-2005 21:52:14.376 creating IPv4 interface ep0 failed; interface ignored
18-May-2005 21:52:14.376 listening on IPv4 interface lo0, 127.0.0.1#53
18-May-2005 21:52:14.379 could not listen on UDP socket: address in use
18-May-2005 21:52:14.380 creating IPv4 interface lo0 failed; interface ignored
18-May-2005 21:52:14.381 not listening on any interfaces
18-May-2005 21:52:14.485 could not get query source dispatcher (0.0.0.0#53)
18-May-2005 21:52:14.500 additionally listening on IPv4 interface lnc0, 
213.187.185.43#53
18-May-2005 21:52:14.511 could not listen on UDP socket: address in use
18-May-2005 21:52:14.516 creating IPv4 interface lnc0 failed; interface ignored
18-May-2005 21:52:14.520 additionally listening on IPv4 interface ep0, 
192.168.187.1#53
18-May-2005 21:52:14.524 could not listen on UDP socket: address in use
18-May-2005 21:52:14.528 creating IPv4 interface ep0 failed; interface ignored
18-May-2005 21:52:14.533 additionally listening on IPv4 interface lo0, 
127.0.0.1#53
18-May-2005 21:52:14.539 could not listen on UDP socket: address in use
18-May-2005 21:52:14.542 creating IPv4 interface lo0 failed; interface ignored
18-May-2005 21:52:14.546 loading configuration: address in use
18-May-2005 21:52:14.548 exiting (due to fatal error)

if it's already running, then why can't i reload?

# /etc/rc.d/named reload
#
named not running? (check /var/run/named/pid).

another strange thing is that this guy is my secondary dns.
i've added this to my named.conf:

zone high5.net {
type master;
file db.high5.net;
allow-transfer { 66.93.16.132; };
};

but /var/log/messages gives me:

May 18 19:26:08 ninja named[260]: client 66.93.16.132#54287: zone transfer 
'high5.net/AXFR/IN' denied

thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Fafa Hafiz Krantz

- Original Message -
From: Luca Micali [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED]
Subject: Re: Creative Sound Blaster Audigy LS
Date: Mon, 16 May 2005 11:04:16 +

 
 On 5/16/05, Fafa Hafiz Krantz [EMAIL PROTECTED] wrote:
 
  Hello.
 
  I've compiled device sound into my kernel, yet my Creative
  Sound Blaster Audigy LS isn't detected at boot-up.
 
  I take it that I do not need loader.conf settings if I already
  have sound compiled into my kernel?
 
 in 5.4...
 
 SYNOPSIS
   device sound
   device snd_emu10k1
 
 eventually, in loader.conf add the line:
 
 snd_emu10k1_load=YES
 
 hope it's helpful,
 Luca Micali

That didn't really work :(
Any other suggestions?

Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Creative Sound Blaster Audigy LS

2005-05-16 Thread Fafa Hafiz Krantz

Hello.

I've compiled device sound into my kernel, yet my Creative
Sound Blaster Audigy LS isn't detected at boot-up.

I take it that I do not need loader.conf settings if I already
have sound compiled into my kernel?

I am aware of that patch.
But it's already in FreeBSD isn't it?

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Burning with HP DVD Writer 630 (c/i)

2005-05-16 Thread Fafa Hafiz Krantz
 at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ulpt0: hp photosmart 7700 series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
umass0: hp photosmart 7700 series, rev 2.00/1.00, addr 2
ukbd0: Chicony Compaq Wireless HID Receiver, rev 1.10/2.10, addr 3, iclass 3/1
kbd1 at ukbd0
uhid0: Chicony Compaq Wireless HID Receiver, rev 1.10/2.10, addr 3, iclass 3/1
ums0: Chicony Compaq Wireless HID Receiver, rev 1.10/2.10, addr 3, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounter TSC frequency 3192022968 Hz quality 800
Timecounters tick every 10.000 msec
acd0: DVDR HP DVD Writer 630/AH26 at ata0-slave PIO4
ad6: 152627MB ST3160023AS/3.20 [310101/16/63] at ata3-master SATA150
da0 at umass-sim0 bus 0 target 0 lun 0
da0: HP photosmart 7700 1.00 Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
Mounting root from ufs:/dev/ad6s1a

# cdrecord -scanbus
#
Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004 Jörg 
Schilling
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0   100) 'HP  ' 'photosmart 7700 ' '1.00' Removable Disk
1,1,0   101) *
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *

# cdrecord dev=1,0,0 -checkdrive
#
Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004 Jörg 
Schilling
Using libscg version 'schily-0.8'.
Device type: Removable Disk
Version: 2
Response Format: 2
Capabilities   : 
Vendor_info: 'HP  '
Identifikation : 'photosmart 7700 '
Revision   : '1.00'
Device seems to be: Generic CCS Disk.

Please help me, someone.
I gotta burn CDs for people who like good music!

Thank you.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


How to replace words in all files?

2005-05-13 Thread Fafa Hafiz Krantz

Hello!

I have a bunch of configuration files which all contain the word,
or the reference to, my dysfunctional network interface lnc0. I used
to have this simple script -- to replace a word in all ASCII files
containing it -- with another word. In this case, I need to replace
the string `lnc0' with `rl0' in all my configuration files. And is
it possible having this script tell me what files it modified?

I promise I'll write it down this time :)
And be generous on handing it back out to the society!


--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Big delay between login as: and Password:

2005-05-13 Thread Fafa Hafiz Krantz

Hello :)

For some strange reason, this morning the delay disappeared!

 Define this a bit more. IE: from a remote PC, a remote site, etc. 
 If its the latter, then the lagg would be the latency between point 
 A and point B. Meaning, if the remote box is miles away, the route 
 to it may be diverted in some magical way as only the internet can 
 do.

I am trying to connect to this server from the workstation
behind it. It's in my attic, a few meters above my head.

 If however, the remote box is right next to you - well, who knows.
 I would also guess it would make a diff what you are running on the 
 box you are ssh'in into, IE: Are you running X on it, is it hosting 
 web pages, it is FTP, mail etc.

No X, but I am running tons of daemons on it.
Web, mail, FTP, SSH and all that.

 There are lots of factors but you need to be specific as to the 
 environment. Know what I mean?

Oh definately!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: How to replace words in all files?

2005-05-13 Thread Fafa Hafiz Krantz

 find / -name '*' -print | xargs grep lnc0
 - gives you all files in your system with lnc0 ...
 
 perl -pi.bak -pe 's/lnc0/rl0/' file1 file2 ... fileN
 - will replace lnc0 - rl0 in all specified files, with backuping of old
 files in *.bak

Thank you!

*nods in burning respect*

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


ZSH: Big delay on logon

2005-05-12 Thread Fafa Hafiz Krantz

Hello.

I'm on a Pentium 120 with FreeBSD 5.4-STABLE, and zsh-4.2.5.
When I log in, I have to wait in between 5 to 10 seconds before
the prompt displays. Even though I use a functional zshrc file
that has proven to work on other systems, things like auto
completion doesn't seem to work in this case.

# cat /etc/zshrc
#
http://www.home.no/hedhnta/zshrc

# cat /etc/zlogout
#
http://www.home.no/hedhnta/zlogout

# zsh -x
#
http://www.home.no/hedhnta/zsh-x

Somebody know?
Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Big delay on login: What's wrong?

2005-05-12 Thread Fafa Hafiz Krantz

- Original Message -
From: Andrei A. Voropaev [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED]
Subject: Re: Big delay on login: What's wrong?
Date: Thu, 12 May 2005 13:19:21 +0200

 
 On Thu, May 12, 2005 at 04:49:52AM -0500, Fafa Hafiz Krantz wrote:
 
  Hello.
 
  I'm on a Pentium 120 with FreeBSD 5.4-STABLE, and zsh-4.2.5.
  When I log in, I have to wait in between 5 to 10 seconds before
  the prompt displays. Even though I use a functional zshrc file
  that has proven to work on other systems, things like auto
  completion doesn't seem to work in this case.
 
  # cat /etc/zshrc
  #
  http://www.home.no/hedhnta/zshrc
 
  # cat /etc/zlogout
  #
  http://www.home.no/hedhnta/zlogout
 
  # zsh -x
  #
  http://www.home.no/hedhnta/zsh-x
 
  Somebody know?
 
 Most likely it has nothing to do with zsh. Once we had the same problem
 because one of the daemons (I think ident) was trying to connect back to
 the machine where connection was coming from to find out username there.
 And we had firewall that was blocking those connections. So, login had
 to wait till that daemon gave up.
 
 YMMV.
 
 --
 Minds, like parachutes, function best when open

That's strange.

I doubt I have any daemons running that PF doesn't allow.

# cat /etc/pf.conf
#

int_if=ep0
ext_if=lnc0

set block-policy drop
scrub   in all

nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

block   drop log all
passquick on { lo0 $int_if }

passout on $ext_if inet proto { tcp, udp, icmp } \
from any to any keep state

passin on $ext_if inet proto { tcp, udp } \
from any to ($ext_if) port 53
passout on $ext_if inet proto { tcp, udp } \
from any port 53 to any

passout on $ext_if inet proto udp \
from any to any port 123 keep state

passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep state

passin on $ext_if inet proto tcp \
from any port 20 to ($ext_if) user proxy flags S/SA keep state

passin on $ext_if proto tcp \
from any to any port 31337 keep state
passin on $ext_if proto tcp \
from any to any port 5:5

By the way, I like the slogan in your signature.
It's among the best I've ever heard, as it applies to all things.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


lnc0: Missed packet -- no receive buffer

2005-05-12 Thread Fafa Hafiz Krantz

Hey!

I get this message all the time. What does it mean?
Can it be prevented, or in worst cases ignored?

Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Big delay on login: What's wrong?

2005-05-12 Thread Fafa Hafiz Krantz

What up Andrei!

 I would simply change to some other shell and try to login. If delay
 disappears, then it's problem of zsh setup. If not, then it's problem
 outside of zsh.

I used to run tcsh before this.
No delay there, which brings me back to zsh.

Again, my setup is the same as on a computer where there is no delay.
Maybe because that's an Intel Pentium 3,2GHz whereas the one with the
delay is only 120MHz. Still, it shouldn't be like this.

Any idea?

  By the way, I like the slogan in your signature.
  It's among the best I've ever heard, as it applies to all things.
 
 One guy has commented it as Looks like today my mind is completely
 closed, so I'm doomed to crash into ground :)

Heheh :)

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Big delay between login as: and Password:

2005-05-12 Thread Fafa Hafiz Krantz

Hey!

I'm experiencing a rather unusual delay in between login as:
and Password: when I SSH in via PuTTY -- it lasts for about 1
minute, maybe a bit more. How can this be?

After I've logged in, there's an additional (5-10 seconds) delay
in the loading of zsh. This happened after I switched from tcsh to
zsh. I do not know whether the two delays are connected though.

I know my server is slow (P120), but not that slow!

http://www.home.no/hedhnta/zshrc
http://www.home.no/hedhnta/zsh-x

Can anyone help me?
Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: A beautiful dmesg! Maybe one day?

2005-05-11 Thread Fafa Hafiz Krantz

Clifton!

I've never read a better e-mail.

Thank you for your words, wise man.
I've been inspired now.

:)

- Original Message -
From: Clifton Royston [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED]
Subject: Re: A beautiful dmesg! Maybe one day?
Date: Tue, 10 May 2005 09:23:52 -1000

 
 On Tue, May 10, 2005 at 01:18:36PM -0500, Fafa Hafiz Krantz wrote:
 ...
  Real memory  = 100663296 (96 MB)
  Available memory = 93036544 (88 MB)
 
  Doesn't.
 
   As you suggested, I compared these with diff, ignoring the gratuitous
   spacing modification using diff -b.
In the end, I don't think I can consider even one of your changes to
   be an improvement.  The closest you came to a useful change was the
   capitalisation of Real memory, but that's hardly necessary, and
   the accompanying change to the next line upsets the formatting.
 
  Ofcourse it doesn't improve the functionality.
  And I get the feeling that's what you're all about.
 
Indeed, you understand correctly.  Functionality is exactly what the
 BSD family of OSs is all about.
 
Most kernel developers are busy with activities like improving system
 performance on multi-CPU systems, increasing OS reliability with SATA
 drives, and other activities of a deep and essential nature.  I don't
 generally tell the kernel developers what to do, because I know that
 they know their own knowledge domain far better than I do.
 
 [...]
   In short, I think you should find some other way to pretty up your FreeBSD
   boot.  As suggested earlier, try man splash.
 
  Again, I want it to look correct.
 
The appearance is a matter of personal taste, and de gustibus non
 disputandum. Your claim that your personal preference is correct
 does not cause other people to prefer it.
 
It should be clear by now that you are getting nowhere trying to
 persuade others to implement this for you, so your only course is to
 implement it yourself.  If these changes matter a great deal to you, I
 suggest you invest the sweat to change it on your own system.  You have
 all the sources, you have the power.  If you don't know how yet, you
 have the opportunity to learn.  If you succeed and post public patches
 to do it, then others can share the changes if they wish, and you will
 get some smidgen of positive recognition and credibility.
 
If this matters so much to you, it should be worth your effort.
 
If you are incapable of making these changes, then your preferences
 will get some smidgin less weight, as there will be that much less
 evidence that your opinions should be valued.  The open source world is
 largely a meritocracy and technocracy; this is not to say that
 politics and opinions play no part, but generally speaking working
 code wins.
 
Mostly people in the OSS world take it for granted that others
 understand this, which may be why nobody has told you this in so many
 words before now.
 
-- Clifton
 
 --
Clifton Royston  --  [EMAIL PROTECTED]
   Tiki Technologies Lead Programmer/Software Architect
 I'm gonna tell my son to grow up pretty as the grass is green
 And whip-smart as the English Channel's wide...
  -- 'Whip-Smart', Liz Phair



--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Some strange USB issues ...

2005-05-11 Thread Fafa Hafiz Krantz

Hey!

I have two problems, here on my FreeBSD 5.4-STABLE.

1) My USB keyboard:

   I have a wireless HP (KBR0133) keyboard, as well as an old
   Compaq keyboard wired to my box. The weird thing is that they
   tend to switch who gets to work. If the wireless doesn't work,
   the wired one works, and vice versa.

   I have no idea what's going on.

2) I followed this setup for my USB mouse (HP MUR0208):

   http://www.freebsddiary.org/usb-mouse.php

   But the strange thing is, sometimes the mouse works and
   sometimes it doesn't. When it doesn't work, the HP Wireless
   Desktop Receiver 1.0A doesn't allow its light to appear when
   I press the shiny black button.

   Again, I have no idea what's going on.

Both have no problems in Windows XP.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

 It's a question of letting DNS traffic _in_ to your nameserver:

 pass in on $ext_if inet proto { tcp, udp } \
   from any to ($ext_if) port 53
 
 ^^^ that lets the traffic in
 
 pass out on $ext_if inet proto { tcp, udp } \
   from ($ext_if) port 53 to any
 
 ^^^ and that lets it back out.
 
 If you add the query-source address * port 53; to your named.conf
 options section, that'll suffice; additionally, since your DNS query
 source port is then predictable, you can drop it from the DNS and NTP
 rule.

Hello again, Jan!

Well, I tried applying what you said now as well as last time you
said it -- but the problem is still there. Unless I uncomment the default
deny policy nothing seems to work. The problem must lie elsewhere in my
ruleset:

int_if=ep0
ext_if=lnc0

# *** Options
#
set block-policy drop

# *** Scrub incoming packets
#
scrub   in all

# *** NAT
#
nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

# *** Default deny policy
#
# block   drop log all

# *** Pass loopback traffic
#
passquick on { lo0 $int_if }

# *** Outgoing
#
passout on $ext_if inet proto { tcp, udp, icmp } \
from ($ext_if) to any keep state

# *** DNS
#
passin on $ext_if inet proto { tcp, udp } \
from any to ($ext_if) port 53
passout on $ext_if inet proto { tcp, udp } \
from ($ext_if) port 53 to any

# *** NTP
#
passout on $ext_if inet proto udp \
from ($ext_if) to any port { 53, 123 } keep state

# *** SSH, HTTP and Ident
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep state

# *** Active FTP
#
passin on $ext_if inet proto tcp \
from port 20 to ($ext_if) user proxy flags S/SA keep state

# *** Private FTP
#
passin on $ext_if proto tcp \
from any to any port 31337 keep state
passin on $ext_if proto tcp \
from any to any port 5:5

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

Correction:

Unless I COMMENT the default deny policy nothing seems to work.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

 It's a question of letting DNS traffic _in_ to your nameserver:

 pass in on $ext_if inet proto { tcp, udp } \
   from any to ($ext_if) port 53
 
 ^^^ that lets the traffic in
 
 pass out on $ext_if inet proto { tcp, udp } \
   from ($ext_if) port 53 to any
 
 ^^^ and that lets it back out.

Ok, after having added that it seems that my DNS works.
The same goes for my WWW and mail server.

SSH servers are all OK to connect to.

I have to wait like 5 minutes after booting my computer
before I can connect to those certain FTP sites. What's
that all about?

 If you add the query-source address * port 53; to your named.conf
 options section, that'll suffice; additionally, since your DNS query
 source port is then predictable, you can drop it from the DNS and NTP
 rule.

What do you mean by that?

Anyway, it's pretty close to perfection now :)

Jan, any idea how I can simplify my ruleset?
Also, I'm wondering if I can move the NAT part down below the Outgoing
so I can combine it with the Active FTP ruleset so they don't have to be
spread troughout the conf. Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED], Jan Grant [EMAIL PROTECTED]
Subject: Re: PF RULES! But mine doesn't ...
Date: Tue, 10 May 2005 13:50:27 +0300

 
 On 2005-05-10 05:09, Fafa Hafiz Krantz [EMAIL PROTECTED] wrote:
  It's a question of letting DNS traffic _in_ to your nameserver:
 
  pass in on $ext_if inet proto { tcp, udp } \
 from any to ($ext_if) port 53
 
  ^^^ that lets the traffic in
 
  pass out on $ext_if inet proto { tcp, udp } \
 from ($ext_if) port 53 to any
 
  ^^^ and that lets it back out.
 
  If you add the query-source address * port 53; to your named.conf
  options section, that'll suffice; additionally, since your DNS
  query source port is then predictable, you can drop it from the DNS
  and NTP rule.
 
  Hello again, Jan!
 
  Well, I tried applying what you said now as well as last time you
  said it -- but the problem is still there. Unless I uncomment the default
  deny policy nothing seems to work. The problem must lie elsewhere in my
  ruleset:
 
 Show us the output of:
 
   # pfctl -sr
 
 [snip ruleset]

Hello!

# pfctl -sr

No ALTQ support in kernel
ALTQ related functions disabled
scrub in all fragment reassemble
block drop log all
pass quick on lo0 all
pass quick on ep0 all
pass out on lnc0 inet proto tcp from (lnc0) to any keep state
pass out on lnc0 inet proto udp from (lnc0) to any keep state
pass out on lnc0 inet proto icmp from (lnc0) to any keep state
pass in on lnc0 inet proto tcp from any to (lnc0) port = domain
pass in on lnc0 inet proto udp from any to (lnc0) port = domain
pass out on lnc0 inet proto tcp from (lnc0) port = domain to any
pass out on lnc0 inet proto udp from (lnc0) port = domain to any
pass out on lnc0 inet proto udp from (lnc0) to any port = domain keep state
pass out on lnc0 inet proto udp from (lnc0) to any port = ntp keep state
pass in on lnc0 inet proto tcp from any to (lnc0) port = ssh flags S/SA keep 
state
pass in on lnc0 inet proto tcp from any to (lnc0) port = http flags S/SA keep 
state
pass in on lnc0 inet proto tcp from any to (lnc0) port = auth flags S/SA keep 
state
pass in on lnc0 inet proto tcp from any port = ftp-data to (lnc0) user = 62 
flags S/SA keep state
pass in on lnc0 proto tcp from any to any port = 31337 keep state
pass in on lnc0 proto tcp from any to any port 5:5

About the ALTQ thing, it should be in the kernel.
I just recompiled it with:

# *** Internet family options
#
device  pf  # OpenBSD PF firewall
device  pflog   # Logging support interface
device  altq# Alternate queuing
device  gif # IPv6 and IPv4 tunneling
device  faith   # IPv6-to-IPv4 translation
device  bpf # Berkeley Packet Filter

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: PF RULES! But mine doesn't ...

2005-05-10 Thread Fafa Hafiz Krantz

 The rules I suggested are so that external machines can talk to your DNS
 server (querying about the domain it is authoritative for), and so that
 responses can get back to those machines.
 
 Your nameserver, however, may also be trying to get requests out. When
 it does this, by default, it will use a random source-port. By
 specifying
 
 options {
   query-source address * port 53;
 }
 
 in your named.conf, your nameserver will _also_ use port 53 as the
 source port on any requests _that it originates_. (That's the
 distinction). If you do this, then you won't need port 53 mentioned in
 your other keep state rule.
 
 I suspect that this might actually be the cause of your transient FTP
 concern; you should try modifying your nameserver config before you go
 any further.

Great :) Thanks man, I'll try that.
Isn't this something that ought to be in every named.conf?

What ports do it go to by default?

 (This assumes that your resolv.conf is configured to use the local
 machine as a nameserver in the first instance. If that is not the case,
 then you will still need the port 53 clause in your DNS and NTP
 section, because other programs will use random ports in an attempt to
 get DNS queries out into the wild.)

No, my resolv.conf contains my ISP's nameservers.

 Your ruleset looks pretty simple, to be honest.

I've heard many experts say 'your ruleset looks like shit',
maybe because they're jealous of my nice headers ;)

Ok, so now my named.conf's option looks like this:

options {
directory /etc/namedb;
pid-file /var/run/named/pid;
query-source address * port 53;
};

Should I specify where to log to?
Because it doesn't log.

 I'm afraid that where the specifics of PF are concerned, I know nothing:
 the advice I've given you is just generic firewall stuff :-/ It looks to
 me like your PF config is set up to use some kind of FTP proxy running
 on localhost:8021. On the other hand, I could be barking up the wrong
 tree completely; I've pretty much run out of useful things to say about
 this config.

Well you do seem to me like a jack of all trades.

Have a wonderful day! :)

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: A beautiful dmesg! Maybe one day?

2005-05-10 Thread Fafa Hafiz Krantz

  We can't just forget about it and pray for it to go away.
 
  This is an aesthetic violation to FreeBSD's professional image,
  that is considered to be more important now than ever.
 
 There is no aesthetic violation to forget about or pray over.

I like to appreciate.
And it's easier to appreciate something that is CORRECT.

real memory  = 100663296 (96 MB)
avail memory = 93036544 (88 MB)

Looks like it's been written by some Linux geek.

Real memory  = 100663296 (96 MB)
Available memory = 93036544 (88 MB)

Doesn't.

 As you suggested, I compared these with diff, ignoring the gratuitous
 spacing modification using diff -b.
 
 In the end, I don't think I can consider even one of your changes to
 be an improvement.  The closest you came to a useful change was the
 capitalisation of Real memory, but that's hardly necessary, and
 the accompanying change to the next line upsets the formatting.

Ofcourse it doesn't improve the functionality.
And I get the feeling that's what you're all about.

 In short, I think you should find some other way to pretty up your FreeBSD
 boot.  As suggested earlier, try man splash.

Again, I want it to look correct.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: On removing ^M

2005-05-09 Thread Fafa Hafiz Krantz

- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: cpghost [EMAIL PROTECTED]
Subject: Re: On removing ^M
Date: Mon, 9 May 2005 13:29:46 +0300

 
 On 2005-05-09 12:21, cpghost [EMAIL PROTECTED] wrote:
  On Mon, May 09, 2005 at 12:34:08AM +0300, Giorgos Keramidas wrote:
  No tool is needed, as long as you have FreebSD's shell, sed  grep:
 
 $ find . | while read fname ;do
 if grep '^M' ${fname} /dev/null 21 ;then
 sed -i '' -e 's/^M//g' ${fname}
 fi
   done
 
  Wouldn't this also catch directories or special files with ^M in them?
  I'd add a -type f to find to avoid errors while trying to write to
  a directory:
 
  $ find . -type f | while read fname ;do
  if grep '^M' ${fname} /dev/null 21 ;then
  sed -i '' -e 's/^M//g' ${fname}
  fi
done
 
 Yes.  You're right, of course :-)


Very good! Thank you all!

So in conclusion, does this sh script look good?
I mean, can the first 3 commands be put like that?

$ chown -R fafa:wheel *

$ find . -type d -exec chmod 755 {} \;
$ find . -type f -exec chmod 644 {} \;

$ find . -type f | while read file ; do
   if grep '^M' ${file} /dev/null 21 ; then
   sed -i '' -e 's/^M//g' ${file}
   fi
done

Forever grateful! That's me.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


zsh login going remarkably slow

2005-05-09 Thread Fafa Hafiz Krantz

hey!

i just installed zsh on both my freebsd boxes.
on one of them it works like a charm. on the other, it doesn't.

for this other box, it takes a long time for the prompt to appear.
also for it to re-appear when i su to root.

this /etc/zshrc file are used for both:

umask 022

alias vi='vim'
alias j='jobs -l'
alias h='history'
alias ls='ls -G'
alias cd..='cd ..'
alias cd...='cd ../..'
alias cd='cd ../../..'
alias cd.='cd ../../../..'
alias cd..='cd ../../../../..'
alias cd/='cd /'
alias wf='w -f'
alias ws='w -s'
alias df='df -h'
alias ftp='lftp'

alias pfdump='tcpdump -n -e -ttt -r /var/log/pflog'
alias pfmon='tcpdump -n -e -ttt -i pflog0'
alias pfreload='pfctl -F all  pfctl -f /etc/pf.conf'

autoload -U compinit
compinit

zstyle ':completion:*' completer _complete _prefix
zstyle ':completion::prefix-1:*' completer _complete
zstyle ':completion:incremental:*' completer _complete _correct
zstyle ':completion:predict:*' completer _complete
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*' squeeze-slashes 'yes'
zstyle ':completion::complete:*' '\'
zstyle ':completion::complete:*:tar:directories' file-patterns '*~.*(-/)'
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~'
zstyle ':completion:*:matches' group 'yes'
zstyle ':completion:*:options' description 'yes'
zstyle ':completion:*:options' auto-description '%d'
zstyle ':completion:*:history-words' stop verbose
zstyle ':completion:*:history-words' remove-all-dups yes
zstyle ':completion:*:history-words' list false
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}

PROMPT=$'%{\e[01;34m%}(%{\e[22;34m%}%n%{\e[01;[EMAIL 
PROTECTED];34m%}%m%{\e[01;34m%})%{\e[01;34m%}%{\e[01;34m%}(%{\e[22;34m%}%D{%H:%M}%{\e[01;30m%}:%{\e[22;34m%}%D{%m/%d/%y}%{\e[01;34m%})%{\e[01;30m\e[00m%}\n%{\e[01;34m%}(%{\e[22;34m%}%#%{\e[01;30m%}:%{\e[22;34m%}%~%{\e[01;34m%})%{\e[01;30m\e[00m%}
 '

if [[ `whoami` = root ]] then
PROMPT=$'%{\e[01;31m%}(%{\e[22;31m%}%n%{\e[01;[EMAIL 
PROTECTED];31m%}%m%{\e[01;31m%})%{\e[01;31m%}%{\e[01;31m%}(%{\e[22;31m%}%D{%H:%M}%{\e[01;30m%}:%{\e[22;31m%}%D{%m/%d/%y}%{\e[01;31m%})%{\e[01;30m\e[00m%}\n%{\e[01;31m%}(%{\e[22;31m%}%#%{\e[01;30m%}:%{\e[22;31m%}%~%{\e[01;31m%})%{\e[01;30m\e[00m%}
 '
fi

i tried recompiling zsh, but that didn't make no difference.
i don't know how to capture the output of zsh -x.

zsh -x  file doesn't work, and my entire shell gets twisted after
running zsh -x.

last but not the least, i was wondering if anyone could help me
split my prompt line up. i've tried this here. it works, but i get
an error message saying there's no such command followed by a paste
of the 2nd line here. if it's due to the whitespace below PROMPT,
well i kinda want it there because it's superneat.

PROMPT=$'%{\e[01;34m%}(%{\e[22;34m%}%n%{\e[01;30m%}@'\
   $'%{\e[22;34m%}%m%{\e[01;34m%})%{\e[01;34m%}%{\e[01;34m%}('\
   $'%{\e[22;34m%}%D{%H:%M}%{\e[01;30m%}:%{\e[22;34m%}%D{%m/%d/%y}'\
   $'%{\e[01;34m%})%{\e[01;30m\e[00m%}%{\n%}%{\e[01;34m%}('\
   $'%{\e[22;34m%}%#%{\e[01;30m%}:%{\e[22;34m%}%~%{\e[01;34m%})'\
   $'%{\e[01;30m\e[00m%} '

thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: A beautiful dmesg! Maybe one day?

2005-05-08 Thread Fafa Hafiz Krantz

 This has nothing to do with order. It is in the same order as before,
 just in a less readable form. The extra line returns are nice thought.

I didn't mean order as in the arrangement.
But order as in tidyness, or to bring order to chaos.

The differences are very petite.

But they hold great power, at least in my opinion, as they would make
me feel a lot more pride every time I watch my boxes boot.

Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Want a logo competition? Do it properly.

2005-05-08 Thread Fafa Hafiz Krantz

 I really must say that Fafa is a useless troll.

Is the point of your rudeness towards me, whatever person I am,
of any more use to the FreeBSD community?

0 You're a troll!
1 No you're a troll!
0 No you!
1 NO!

 He requests his name not be on any mailing lists, yet acknowledges
 that it infact isn't even his/her name, and continues to mail the
 lists.

I asked for advice on how to clear names off mailinglists.
Not my own name, be it Fafa or be it Afaf, but the name of someone
I know who has been threatened by triads.

The only response I've gotten on that subject (THIS AIN'T IT, SO WHY
ARE YOU INTERMIXING YOU LITTLE *) is: you shold have been aware.

Oh well.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


PF RULES! But mine doesn't ...

2005-05-08 Thread Fafa Hafiz Krantz

Hello.

My ruleset is all twisted.
Unless I disable the default deny policy, this is what happens:

*  My nameserver setup goes disfunctional.
*  My web, mail and fileserver goes disfunctional.
*  I cannot SSH and FTP into certain servers.
*  I cannot ping my IP from the outside.

Can anyone tell what's wrong?
And maybe also how I can simplify my ruleset?

int_if=ep0
ext_if=lnc0

# *** Options
#
set block-policy drop

# *** Scrub incoming packets
#
scrub   in all

# *** NAT
#
nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

# *** Default deny policy
#
# block drop log all

# *** Pass loopback traffic
#
passquick on { lo0 $int_if }

# *** Outgoing
#
passout on $ext_if inet proto { tcp, udp, icmp } \
from ($ext_if) to any keep state

# *** Bootstrap
#
passout on $ext_if inet proto udp \
from any port 68 to any port 67 keep state

# *** DNS and NTP
#
passout on $ext_if inet proto udp \
from ($ext_if) to any port { 53, 123 } keep state

# *** SSH, HTTP and Ident
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep state

# *** Active FTP
#
passin on $ext_if inet proto tcp \
from port 20 to ($ext_if) user proxy flags S/SA keep state

Thank you so much.
Keep in touch!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.no

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


PF aliases -- how can these be improved?

2005-05-08 Thread Fafa Hafiz Krantz

Hey!

Here are some aliases I snagged of some dood on IRC:

How can these PF aliases be improved?
The last one doesn't really reload PF. I need to reboot for that.

   alias pfdump 'tcpdump -n -e -ttt -r /var/log/pflog'
   alias pfmon 'tcpdump -n -e -ttt -i pflog0'
   alias pfreload 'pfctl -f /etc/pf.conf'

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.no

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


On removing ^M

2005-05-08 Thread Fafa Hafiz Krantz

Good day all!

I am aware of the port unix2dos (dos2unix) as a tool to
remove ^Ms from ASCII files.

But if you execute dos2unix in a directory where some files
contain ^M (CR/LF) and some files don't (CR), then dos2unix
will make a mess of those files who don't.

I am wondering what is needed (what tool or what code) to
do a mass (recursive) removal of ^Ms?

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: What is --- WRONG --- with my network?

2005-05-07 Thread Fafa Hafiz Krantz

Hey!

 Offlist because this sounds like a general networking thing rather than
 anything fbsd-specific.

Alright. But just incase though ...

 Name resolution of nextgentel.{com,net} looks ok from here, if those IP
 addresses are accurate. When you say your nameserver is broken, what
 exactly do you mean by that? What's the evidence?

I know this sounds very strange;
but I mean that everything depending on my nameserver doesn't work.

I cannot visit http://www.example.com although apache2 is running.
I cannot receive e-mails to [EMAIL PROTECTED] although postfix is running.
I cannot SSH to ninja.example.com although my sshd is running.
I cannot FTP to ninja.example.com although the internal ftpd is running.

That's for the incoming.

For the outgoing, I can browse the WWW and make SSH/FTP connections
to certain sites (sites which don't try to resolve my IP).

Thanks, Jan.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: What is --- WRONG --- with my network?

2005-05-07 Thread Fafa Hafiz Krantz

Hello Alex (and Jan)!

 It could be that type slave files need to go in the subdirectory slave
 and type master files need to go in the subdirectory master.

named doesn't give me any errors.
As I previously stated, my setup has been running flawlessly for months.

 Check you /var/log/messages for errors about this.

That what I find strange too.
/var/log/messages doesn't contain anything but the snort initialization!
And /var/named/var/log is totally empty.

Here is my security run though. Maybe PF is denying something by default?
Even though I removed it from rc.conf at one time, and problems still persisted,
there might have been something evil lurking in the back. I've had this problem
with IPFW, where I'd have to compile an option into my kernel for it not to
block everything.

ninja.example.com pf denied packets:
 block drop log all [ Evaluations: 184912 Packets: 5453 Bytes: 536087 States: 
 0 ]

Mail in local queue:
-Queue ID- --Size-- Arrival Time -Sender/Recipient---
4E3A5154544 Fri May  6 15:09:27  [EMAIL PROTECTED]
(host London-com.mr.Outblaze.com[205.158.62.33] said:

 450 [EMAIL PROTECTED]: No thank you rejected:
 Domain not found (in reply to RCPT TO command)) [EMAIL PROTECTED]

I've put all relevant configuration (kernel, rc, pf, named etc.)
into: http://home.faeldryn.org/~mujahid/problem.tgz

Thanks guys!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: A beautiful dmesg! Maybe one day?

2005-05-07 Thread Fafa Hafiz Krantz

Hey!

 I personally find the old methode a lot easier to read, compared to
 the new one. If a change is wanted, why not make such a thing like
 this a kernel option?

Are you referring to the indenting?
Yeah your eyes would have to jump. A sacrifice necessary for order.

But the changes were not only in the indenting.
They were logical changes to areas that seemed neglected.

You should do a diff!

Take care :)

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-07 Thread Fafa Hafiz Krantz

 If only I was all of them. Point being, you're gonna make it, you'll
 survive. Enjoy the publicity, I'm sure you'll have the tabloids
 calling to ask who The GREAT FAFA is.

Hehe :)

I go under many names.

 I'm kinda forced to laugh about people suggesting the use of DMCA and
 other copyright laws/methods to force Fafa to disappear off the face
 of google.

Fafa has already been threatened with his doom.
Some members on this list, it seems, ain't got no heart.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Want a logo competition? Do it properly.

2005-05-07 Thread Fafa Hafiz Krantz

 I recall hearing of an announcement to comitters list that they'd get a vote.
 - though that's not on http://logo-contest.freebsd.org/announce.txt

Now we are talking :)

  They've certainly earned it.
 
 Yes.

Uhuh! Ain't nothing wrong with that.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


RE: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-07 Thread Fafa Hafiz Krantz

Chris, I'm surprised at you!  Why did you pass up the opportunity to
forge
Fafa's name as the sender, to illustrate the point to the
clueless better. ;-)

Oh dear, I guess I'm gonna get sued for identity theft!! ;-)

Ted, forging Fafa.

 -Original Message-
 From: Chris [mailto:[EMAIL PROTECTED]
 Sent: Saturday, May 07, 2005 2:05 PM
 To: Ted Mittelstaedt
 Cc: Fafa Hafiz Krantz; [EMAIL PROTECTED]; [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Subject: Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!


 Ted Mittelstaedt wrote:
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Fafa Hafiz
 Krantz
 Sent: Friday, May 06, 2005 3:40 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Mailinglist privacy: MY NAME ALL OVER GOOGLE!
 
 
 
 Hello.
 
 I have a big problem. My privacy has been violated.
 
 I had no idea when I first started writing posts to the FreeBSD
 mailinglist that it would be archived, let alone indexed by Google
 so that the world can spy on my words.
 
 
 
  Looks like you aren't acquainted with the legal doctrine of
  Fair Use.  Guess you will have to start using some other name
  online, since there's no way to prove that any of these alleged
  posts your claiming are violated, were in fact, actually made
  by the real Fafa Hafiz Krantz.
 
  Ted

 Awe Ted ... Yer a spoil-sport *laffs*


 --
 Best regards,
 Chris

 Real programmers know what saad means.


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


Re: System clean-up tool / technique?

2005-05-06 Thread Fafa Hafiz Krantz

Hey Philip!

Thanks for helping me out.

 There's another port* command I can't recall the name of that will 
 list ports that are not required by any other port which you can 
 then decide if you want to remove.  Might be an option to pkg_info, 
 I really don't remember.

That command sure sounds interesting :)

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Want a logo competition? Do it properly.

2005-05-06 Thread Fafa Hafiz Krantz

Hey!

I believe that the FreeBSD Project -- representing an open and
democratic rule and not a totalitarian power -- should allow its
users to decide what logo would be best suited. Hence, it would
be in the best interest for the future of this project to put
all logo submissions up for public display. This display should
be complimented by a voting system.

It is very important to get things right from the start. Look at
the NetBSD Project and their new logo for instance. The public
expressed great discontent about it, but only after the logo had
sunken deep into the cycles of production and the mentalities
of its contributors.

Even though designers do this for free (and I am sure most act
out of their love for the system and not because of the reward),
the framework of their profession should still apply. That is, a
contract protecting their rights from malicious intentions.

The FreeBSD Project should acknowledge that the elected designer
is entitled some say in the redesign of FreeBSD's website. Its
coders would most likely not know the first thing about design,
and hence compromise FreeBSD's image and its potential as
conceived by the designer. If the website design also should be
staged as a competition, it would be in the best interest of the
project to let the identity designer cooperate with the website
designer on the final outcome.

We all want what is best for FreeBSD.
Having said that, there should be no reason to fight over this.

A working design contract in need of modification:
http://www.aiga.org/resources/Content/1/4/6/documents/AIGA_contract.pdf

--

Fafa Hafiz Krantz
Research Designer @ http://www.bleed.no
Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-06 Thread Fafa Hafiz Krantz

Hello.

I have a big problem. My privacy has been violated.

I had no idea when I first started writing posts to the FreeBSD
mailinglist that it would be archived, let alone indexed by Google
so that the world can spy on my words.

Can the FreeBSD mailinglist administrators change my name and
e-mails, or delete my posts, if I can prove that I wrote them?

Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-06 Thread Fafa Hafiz Krantz

 No, that would be impossible.  Hint: third-party mirrors (i.e. Google).

What if ones life is at risk?

Would that be up to the 3rd party mirror administrators?

 This is a recurring theme.  It's really *NOT* the fault of the
 postmaster of FreeBSD.org that you posted to public mailing lists.

There should be a law protecting users against this.
There should be a way to help them!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


What is --- WRONG --- with my network?

2005-05-06 Thread Fafa Hafiz Krantz
  00   lnc0
   213.18X.XXX.69 00:90:d0:f4:d8:01  UHLW10   lnc0569

Somebody please assist me.
This is a medical emergency!

Tank you.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


A beautiful dmesg! Maybe one day?

2005-05-06 Thread Fafa Hafiz Krantz
: irq resource info is missing; assuming irq 12
unknown: PNP0700 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0680 can't assign resources (port)
unknown: PNP0680 can't assign resources (port)
Timecounter TSC frequency 119753009 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 38166MB WDC WD400AB-00BVA0/21.01H21 [77545/16/63] at ata0-master PIO4
Mounting root from ufs:/dev/ad0s1a

See the difference.
Appreciate the difference.
Commit the difference.

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: What is --- WRONG --- with my network?

2005-05-06 Thread Fafa Hafiz Krantz

 Unfortunately, you appear to be preemptively rejecting the most obvious
 advice, and implicitly asking that people start troubleshooting from
 the middle. Was your machine up without reboot for months? If so,
 there's no guarantee that the state of named.conf actually reflects the
 state of the previously running named prior to a reboot (alas, I've seen
 this all too often).

No, I had been rooting it quite often since I was testing PF.

 Can you begin by posting your fully-functional named.conf and
 resolv.conf? And possibly describing exactly what you mean by my
 nameserver is dysfunctional? Do you mean that you cannot resolve
 addresses from your host? Does dig work against your local nameserver
 instance? Can you see any of the root servers with dig? Is named just
 refusing to start? ... and so on.

# cat /var/named/etc/namedb/named.conf
#

   options {
directory /etc/namedb;
pid-file /var/run/named/pid;
   };

   zone . {
type hint;
file named.root;
   };

   zone domain.com {
type master;
file db.domain.com;
allow-transfer { 209.98.223.41; };
   };

   zone 3.0.7.5.0.0.4.0.8.1.6.0.1.0.0.2.ip6.arpa {
type master;
file db.terrabionic.com.rev;
allow-transfer { 209.98.223.41; };
   };

   zone terrabionic.lan {
type master;
file db.terrabionic.lan;
   };

   zone 187.168.192.in-addr.arpa {
type master;
file db.terrabionic.lan.rev;
   };

   zone 0.0.127.in-addr.arpa {
type master;
file db.localhost.rev;
   };

# cat /etc/resolv.conf
#

   domain  terrabionic.com

   nameserver  217.13.4.21
   nameserver  217.13.7.136

 You'll probably have to be more explicit about certain servers, too.
 Are they on-site? Off-site? If the latter, and the issue only appears
 with a subset of ssh servers, this may well be indicative of DNS
 problems again, since sshds can be configured to be more or less picky
 about the name resolution of their clients.

They were off-site FTP servers, some inside Norway and some outside. I'm
guessing it is those who check for reverse before they grant access.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: A beautiful dmesg! Maybe one day?

2005-05-06 Thread Fafa Hafiz Krantz

Hello Mr. Nelson and Mr. Losh!

 It's easy enough to change the format string in
 subr_bus.c:device_print_prettyname() to pad out the devicename.

I am not qualified to do this. I wish I were.
How about you guys? :)
 
 However, you may prefer to just put up a splash screen (see the 
 splash manpage), so the user doesn't even see the kernel messages
 at all.

We can't just forget about it and pray for it to go away.

This is an aesthetic violation to FreeBSD's professional image,
that is considered to be more important now than ever.

Now that we have logo and website design competitions going to
completely revamp of the FreeBSD of the 70s, perhaps it's also time
to update the ASCII design of this system?

 Many of his suggestions are subtle changes to the probe messages in
 addition to the format string.
 
 Warner

Indeed they are subtle.
But it's more like removing zits. With laser or whatever.

:)

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


System clean-up tool / technique?

2005-05-05 Thread Fafa Hafiz Krantz

Hey.

I am a very meticulous person.
I try to keep my systems as clean as possible.

I was wondering that others like me out there do to keep their
systems clean for stale files and files with no reference to
either the system, its ports and its users.

I understand that running make world's is one reason to a messy
system, among others such as plain binary carelessness?

So, does anyone have an application, a script or some kind of
tricky command to clean their system? All I know is to:

# rm -rf /usr/obj/*

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


A make world/kernel interface?

2005-05-04 Thread Fafa Hafiz Krantz

Hello.

Would it be a good idea having some sort of interface for
those who desire to have their system updating (make world and
kernel) made interactive? I am not talking a GUI here, but
something that can make it more convenient:

1. Put the entire process under one roof.
2. Be able to see the completion percentage
3. Be able to halt/resume the process
4. I'm sure there would be many other upsides to this

I hope somebody can turn this into something viable.

Thanks!

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Hello!

In an effort to balance the awareness and usage of free and open
source among the world's population, I am trying to obtain as many
open source masterplans (in PDF) as possible. I plan to have them
translated, revised and compiled into one masterplan above all
masterplans which I can then distribute to people who would need
it more than others, such as poor countries, etc.

These can either originate from:

1. Governments
2. Universities and RD agencies
3. Private Institutions

Do you have any?
Do you know how to obtain one from your country?

Please send them to me,
and thank you for listening!

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz
J.C. Roberts,

Where did this come from?

 What qualifications do you have that will convince us to believe you
 are able to just understand a single master plan, let alone properly
 combine all of them? Perhaps posting your IQ score would be
 sufficient.

You seem to be against the less fortunate.

Maybe you are a jew?
The one who men threw?
Go back to the zoo and start your argue. Only to find out.
Your head deserves my jackscrew.
Followed by some voodoo.
Ask your mom for the blood-wipe tissue.
No more IQ.

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Mario,

Nice ASCII logo.

I work for poor people through UNDP.
I am not a government nor Microsoft employee.

(Ask Bill)

 A lot of people in poor and developing countries are already
 aware that they should move towards open source, and they 
 themselves keep up with those master plans everyday ...

That is true.

They know they should move. But they do not really know how.
I have seen the quality of many 3rd world country masterplans.
They are poorly presented; their language and formatting is
bad; and most of them aren't based on facts.

Western masterplans are more decent and sustainable. If they
were to be adapted to 3rd world conditions, perhaps the
situation would progress angular, and 3rd world people
wouldn't have to struggle to keep up with their masterplans.

Thank you for replying, Mario.

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: My BIND is tWisted!!!

2005-05-03 Thread Fafa Hafiz Krantz

 Please do __NOT__ post your reply on top of a long quoted part of the
 original.  Both top-posting and failing to trim quoted material to the
 absolutely minimum necessary size are considered bad netiquette on
 this list.

Sorry!


 Having said that, you can check your /var/log/messages for interesting
 bits sent there by the named process as it starts:
 
   # tail -f /var/log/messages | grep named
 
 Then, restart your named and watch for interesting output.
 
 For extra bonus points, you can add a special named entry in your
 /etc/syslog.conf file:
 
   !named
   *.* /var/log/named.log
 
 which will direct only the messages from named to a special log file.
 Remember to restart syslogd after you add this to syslog.conf and then
 use tail -f on the named.log file to watch for named output.
 
 Then, after having all the necessary information from a named reload,
 you may have more hints and/or clues about what's wrong.

There has never been anything interesting in /var/log, I am afraid.
My world and kernel are making to solve this problem, though :)

http://lists.freebsd.org/pipermail/freebsd-questions/2005-May/085943.html

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Timo,

 please stop posting this!

Get your weak wood out of my wheels!
I fight poverty to avoid ending up like you.

  I work for poor people through UNDP.
 
 one more proof that there i) are wrong people in the wrong places and
 ii) much money is being wasted.

There are good people in the UNDP.

 it's not the lame presentation of even lamer masterplans that makes
 hundreds of thousands of people in the 3rd world die of hunger and
 deseases every month, no, it's that fucking capitalism!

Masterplans don't kill people!
Masterplans help them survive!

 you are in one of many key positions to change this. do something! and
 please stop driveling!

Stop trolling.

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Hello Joel!

 Pardon the top post, but master plans are for totalitarian governments 
 and bureaucracies. Their sole purpose is to assist in perpetuating 
 established institutions. (No institution is going to plan it's own 
 demise. Oh, and how well they serve their purpose is a subject of some 
 debate.)

I meant the sort of masterplans that are for people to follow.
And maybe, in some cases, democratic governments in countries where
there is no such thing as established institutions. 3rd world governments
have by now realized that it is wiser to privatize rather than to
perpetuate -- which again brings up plans for people to follow.

 Maybe what you should be asking for is examples of business plans, 
 although those are all too often used by the powers that be to keep 
 small businesses from growing and threatening the status quo. Informal 
 operating policies and such might also be of interest.

Right now any example will do.
Thank you for your worthy input!

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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