What is *** WRONG *** with my network?

2005-05-02 Thread Fafa Diliha Romanova
Hello.

Something is terribly wrong here:

1. My name server setup is disfunctional.
2. My web, mail and fileserver is disfunctional.
3. I cannot SSH and FTP into certain servers.
4. I cannot ping my IP from the outside.
5. All this despite PF being disabled.

My configuration has been running flawlessly for
the past few months before these strange errors
hit me three days ago.

I know for a fact that this is not related to a
misconfigured rc.conf, pf.conf or named.conf.
I haven't run a makeworld lately, nor have I
upgraded any ports.

# uname -rs
#
FreeBSD 5.4-STABLE

# ifconfig
#
lnc0: flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
inet 213.187.XXX.XX netmask 0xff00 broadcast 213.187.XXX.XX
inet6 fe80::200:4bff:fe30:1e94%lnc0 prefixlen 64 scopeid 0x1
ether 00:00:4b:30:1e:94
ep0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.187.1 netmask 0xff00 broadcast 192.168.187.255
inet6 fe80::2a0:24ff:fe1b:2ba6%ep0 prefixlen 64 scopeid 0x2
ether 00:a0:24:1b:2b:a6
media: Ethernet 10baseT/UTP
pflog0: flags=0 mtu 33208
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4

# netstat -rn
#
netstat: kvm not available
Routing tables
rt_tables: symbol not in namelist

Somebody please assist me.
This is a medical emergency!

Thank you.

-- Fafa

-- 
___
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-02 Thread Fafa Diliha Romanova

Thank you Jerry!
I'll get right on the building!

 These are signs of a kernel that is out of sync with the rest of world.
 You said you didn't run a makeworld recently, but what about rebuilding
 the kernel?

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Truth @ 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-01 Thread Fafa Diliha Romanova

I haven't done anything out of the ordinary.

/etc/rc.d/named reload (or stop or start)

doesn't say anything weird.

Thanks,
-- Fafa

- Original Message -
From: Ed Stover [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: My BIND is tWisted!!!
Date: Sat, 30 Apr 2005 20:11:28 -0600

 
 On Sat, 2005-04-30 at 09:19 -0500, Fafa Diliha Romanova wrote:
  hey!
 
  My BIND just stopped working!
 
  1) My domain is still registered
  2) My configuration hasn't changed since it stopped working.
 prior to that, it has been running flawlessly for months.
 
  There is nothing in my /var/named/log, so I am totally
  clueless. /etc/rc.conf contains named_enable=YES
 
  Since my /var/named/etc/namedb configuration is in fact
  100% operational, I've decided to rule that out in this
  plea for help. The problem must lie elsewhere.
 
  Anyone able to help?
 
  All the best,
  -- Fafa
 
 First off, what have you done with that machine before it stopped
 working? when you try to start named does it produce any error
 messages?

-- 
___
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-01 Thread Fafa Diliha Romanova

Hehe :) Yeah  named is running.

/etc/rc.d/named start  ps -ax | grep named:

  247  ??  Ss 0:00.79 /usr/sbin/syslogd -l /var/run/log -l 
/var/named/var/run/log -s
  261  ??  Ss 0:37.36 /usr/sbin/named -u bind -t /var/named

-- Fafa

- Original Message -
From: Ed Stover [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: My BIND is tWisted!!!
Date: Sun, 01 May 2005 11:45:24 -0600

 
 On Sun, 2005-05-01 at 05:32 -0500, Fafa Diliha Romanova wrote:
  I haven't done anything out of the ordinary.
 
  /etc/rc.d/named reload (or stop or start)
 
  doesn't say anything weird.
 
  Thanks,
  -- Fafa
 
  - Original Message -
  From: Ed Stover [EMAIL PROTECTED]
  To: Fafa Diliha Romanova [EMAIL PROTECTED]
  Subject: Re: My BIND is tWisted!!!
  Date: Sat, 30 Apr 2005 20:11:28 -0600
 
On Sat, 2005-04-30 at 09:19 -0500, Fafa Diliha Romanova wrote:
hey!
   
My BIND just stopped working!
   
1) My domain is still registered
2) My configuration hasn't changed since it stopped working.
   prior to that, it has been running flawlessly for months.
   
There is nothing in my /var/named/log, so I am totally
clueless. /etc/rc.conf contains named_enable=YES
   
Since my /var/named/etc/namedb configuration is in fact
100% operational, I've decided to rule that out in this
plea for help. The problem must lie elsewhere.
   
Anyone able to help?
   
All the best,
-- Fafa
   
   First off, what have you done with that machine before it stopped
   working? when you try to start named does it produce any error
   messages?
 
 You are not being helpful. lol, try this
 /usr/local/etc/rc.d/bind start
 ps -ax |grep named
   Now is there a named running?

-- 
___
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 with PF (thanks)

2005-04-30 Thread Fafa Diliha Romanova

Hello!

Problems:

  1. BIND stops workin after a while
  2. I cannot establish SSH connections
  3. I cannot FTP to certain sites
  4. PF crashes my computer on FTP uploads

So I'm seeking solutions to these problems.
And maybe ways to SIMPLIFY my pf.conf:

-

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 all so much!
-- Fafa

-- 
___
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: Please help me with PF (thanks)

2005-04-30 Thread Fafa Diliha Romanova

Hello Bob!

Actually, yeah. Strange ...
I guess it's a BIND issue then.

But my BIND setup has been running flawlessly for months
now. I haven't committed any changes to my configuration since
it stopped working. Nothing in /var/log ...

Thanks,
-- Fafa

- Original Message -
From: [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Please help me with PF (thanks)
Date: Sat, 30 Apr 2005 08:06:49 -0400

 
 Simple question, do problems 1, 2,  3 still happen when you comment
 out the pf statements in rc.conf and run with out a firewall?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Fafa Diliha
 Romanova
 Sent: Saturday, April 30, 2005 7:51 AM
 To: [EMAIL PROTECTED]
 Subject: Please help me with PF (thanks)
 
 
 
 Hello!
 
 Problems:
 
1. BIND stops workin after a while
2. I cannot establish SSH connections
3. I cannot FTP to certain sites
4. PF crashes my computer on FTP uploads
 
 So I'm seeking solutions to these problems.
 And maybe ways to SIMPLIFY my pf.conf:
 
 -
 
 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 all so much!
 -- Fafa
 
 --
 ___
 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]

-- 
___
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]


My BIND is tWisted!!!

2005-04-30 Thread Fafa Diliha Romanova
hey!

My BIND just stopped working!

1) My domain is still registered
2) My configuration hasn't changed since it stopped working.
   prior to that, it has been running flawlessly for months.

There is nothing in my /var/named/log, so I am totally
clueless. /etc/rc.conf contains named_enable=YES

Since my /var/named/etc/namedb configuration is in fact
100% operational, I've decided to rule that out in this
plea for help. The problem must lie elsewhere.

Anyone able to help?

All the best,
-- Fafa

-- 
___
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]


My BIND is tWisted!!!

2005-04-30 Thread Fafa Diliha Romanova
Hello!

I forgot to ammend:

Because of this, I have these problems:

1. I cannot make SSH connections
2. I cannot connect to certain FTP sites
3. My reverse DNS lookup isn't working

Thanks,
-- Fafa
-- 
___
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-04-30 Thread Fafa Diliha Romanova

Nah, their name servers are all as they were.

Thanks,
-- Fafa

- Original Message -
From: [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: My BIND is tWisted!!!
Date: Sat, 30 Apr 2005 10:54:00 -0400

 
 
 
 it is not uncommon for ISP to change the name of their DNS server or
 its IP address.  check your bind conf for hard coded items.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Fafa Diliha
 Romanova
 Sent: Saturday, April 30, 2005 10:33 AM
 To: [EMAIL PROTECTED]
 Subject: My BIND is tWisted!!!
 
 
 Hello!
 
 I forgot to ammend:
 
 Because of this, I have these problems:
 
 1. I cannot make SSH connections
 2. I cannot connect to certain FTP sites
 3. My reverse DNS lookup isn't working
 
 Thanks,
 -- Fafa
 --
 ___
 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]

-- 
___
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: ftpd: user needs to upload in mode 777

2005-04-29 Thread Fafa Diliha Romanova

She is using ImageVue: http://www.imagevuex.com/imagevue

She she creates her directories and uploads her images at the same
place where thumbnails and image description text files are generated,
in /usr/home/azmimi/www/content ...

If I quit inetd and go for pure-ftpd for instance, then I mess up my
PF's FTP proxy. Mode 777 has to be *just* for her.

Thanks.

- Original Message -
From: Chad Morland [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: ftpd: user needs to upload in mode 777
Date: Thu, 28 Apr 2005 17:39:35 -0400

 
 What photo album is she using? I don't think it is the picture files
 themselves that need such liberal permissions. Perhpas the directory
 where the thumnails are stored should be writable by the webserver
 user.
 
 This message is really off-topic. Consult the docs for the photo-album
 software. I'm sure your answer is in there.
 
 -CM
 
 On 4/28/05, Fafa Diliha Romanova [EMAIL PROTECTED] wrote:
  hello!
 
  i got this user who only connects to her account with ftp
  to upload pictures to her photoalbum. all the files she uploads
  has to be in mode 777 for the photoalbum to work properly;
  to generate thumbnails etc.
 
  hence, i've set her .login_conf to:
 
  me:\
   :umask=0:
 
  but still the files she upload aren't in mode 777.
  does anybody know?
 
  thanks,
  fafa
 
  --
  ___
  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]
 

-- 
___
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]


ftpd: user needs to upload in mode 777

2005-04-28 Thread Fafa Diliha Romanova
hello!

i got this user who only connects to her account with ftp
to upload pictures to her photoalbum. all the files she uploads
has to be in mode 777 for the photoalbum to work properly;
to generate thumbnails etc.

hence, i've set her .login_conf to:

me:\
  :umask=0:

but still the files she upload aren't in mode 777.
does anybody know?

thanks,
fafa

-- 
___
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's ftp-proxy outside inetd (with pure-ftpd)

2005-04-28 Thread Fafa Diliha Romanova
hey

i am trying to disable inetd.
i've installed pure-ftpd to replace ftpd.

but since i'm running pf, i wonder what happens to this inetd.conf entry:

ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy

how is this applied now?

thanks!
-- fafa
-- 
___
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]


HELP ME WITH PF! (5th plea)

2005-04-28 Thread Fafa Diliha Romanova
hello!

1) i have reasons to believe that pf causes my server to crash
whenever i upload/download.

http://www.home.no/hedhnta/pf.conf

2) i also need to type some three stupid commands after every
reboot for my nat to work. i have to type:

pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

3) how does this ftp-proxy work if i want to disable inetd, and
switch ftpd with pure-ftpd? i am referring to this line in my
/etc/inetd.conf:

ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy

i'd be VERY happy if someone could help me.
as all other people in trouble would be.

thanks :)

-- fafa

-- 
___
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: It keeps CRrrASHING!!

2005-04-26 Thread Fafa Diliha Romanova

Hello Tomas!

It must be PF.
Whenever I download, it crashes.

Everytime I reboot after crash, I have to type:

# pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

For my int_if to get Internet access.
Anyway, here is my pf.conf:

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 all

# *** Outgoing
#
#
passout on $ext_if inet proto tcp \
from any to any flags S/SA keep state
passout on $ext_if inet proto { 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 and HTTP
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80 } 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

Thanks,
Fafa

- Original Message -
From: Tomas Quintero [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: It keeps CRrrASHING!!
Date: Mon, 25 Apr 2005 12:43:35 -0400

 
 On 4/25/05, Fafa Diliha Romanova [EMAIL PROTECTED] wrote:
  Hey!
 
  I am running FreeBSD 5.4-STABLE on a Pentium 120.
 
  Since three days ago, it has been crashing regularly, leaving me with
  no choice but to shut it off and back on. I have absolutely no idea what
  might be wrong. The server has a lot of free HD space. It ain't
  experiencing no overload that I'm aware of. Everything should be smooth.
 
  Maybe it's the network interface. Or the fact that I just replaced
  IPFW with PF. Because this only seems to happen when I surf the net and
  download stuff from the workstation behind it.
 
 It may also be your PF.conf or your NIC. I am running a 5.3-RELEASE
 box w/ PF routing 3 DSL circuits. Upon early installation, it was
 extremely slow on one circuit which was determined to be a NIC. Later
 on, the system would hardlock as soon as a user attempted to access
 the internet. What was occuring to my knowledge is there is a bug
 associated with static-port in the NAT line. You may consider posting
 part if not most of your pf.conf to see if any issues could be
 underlying in it.
 
 
 --
 -Tomas Quintero

-- 
___
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 problem!!!

2005-04-25 Thread Fafa Diliha Romanova
Hello!

I am running FreeBSD 5.4-STABLE, with PF as firewall and NAT server.

My question is: Why do I have to type this after everytime I've rebooted
to make my NAT gateway server allow Internet access to my workstation?

# pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

Here is my /etc/pf.conf:

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 all

# *** Outgoing
#
#
passout on $ext_if inet proto tcp \
from any to any flags S/SA keep state
passout on $ext_if inet proto { 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 and HTTP
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80 } 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

Thanks all!
-- Fafa

-- 
___
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]


It keeps CRrrASHING!!

2005-04-25 Thread Fafa Diliha Romanova
Hey!

I am running FreeBSD 5.4-STABLE on a Pentium 120.

Since three days ago, it has been crashing regularly, leaving me with
no choice but to shut it off and back on. I have absolutely no idea what
might be wrong. The server has a lot of free HD space. It ain't
experiencing no overload that I'm aware of. Everything should be smooth.

Maybe it's the network interface. Or the fact that I just replaced
IPFW with PF. Because this only seems to happen when I surf the net and
download stuff from the workstation behind it. 

# 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 #1: Wed Apr 13 18:30:43 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NINJA
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
  Origin = GenuineIntel  Id = 0x52c  Stepping = 12
  Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
real memory  = 100663296 (96 MB)
avail memory = 93040640 (88 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
pci0: display, VGA at device 8.0 (no driver attached)
lnc0: PCNet/PCI Ethernet adapter port 0xff80-0xff9f irq 10 at device 11.0 on p
ci0
lnc0: Attaching PCNet/PCI Ethernet adapter
lnc0: Ethernet address: 00:00:4b:30:1e:94
lnc0: if_start running deferred for Giant
lnc0: PCnet-PCI
pci0: multimedia, audio at device 17.0 (no driver attached)
pci0: display, VGA at device 19.0 (no driver attached)
orm0: ISA Option ROMs at iomem 0xed000-0xedfff,0xc-0xc7fff on isa0
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
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
ep0: 3Com 3C509B-Combo EtherLink III (PnP) at port 0x210-0x21f irq 3 on isa0
ep0: Ethernet address: 00:a0:24:1b:2b:a6
unknown: PNP0303 can't assign resources (port)
psmcpnp0: 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 119753102 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
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
pflog0: promiscuous mode enabled
pflog0: promiscuous mode disabled
lnc0: promiscuous mode enabled

# grep Apr 25 /var/log/messages

Apr 25 14:16:57 ninja kernel: lnc0: Start of packet found before end of 
previous in transmit ring -- Resetting
Apr 25 14:19:39 ninja kernel: lnc0: Start of packet found before end of 
previous in transmit ring -- Resetting
Apr 25 14:22:14 ninja kernel: lnc0: Start of packet found before end of 
previous in transmit ring -- Resetting
Apr 25 14:28:20 ninja sshd[878]: error: PAM: authentication error for johann 
from urban.terrabionic.lan
Apr 25 14:44:26 ninja syslogd: kernel boot file is /boot/kernel/kernel
Apr 25 14:44:26 ninja kernel: Copyright (c) 1992-2005 The FreeBSD Project.
Apr 25 14:44:26 ninja kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 
1991, 1992, 1993, 1994
Apr 25 14:44:26 ninja kernel: The Regents of the University of California. All 
rights reserved.
Apr 25 14:44:26 ninja kernel: FreeBSD 5.4-STABLE #1: Wed Apr 13 18:30:43 CEST 
2005
Apr 25 14:44:26 ninja kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NINJA
Apr 25 14:44:26 ninja kernel: Timecounter i8254 frequency 1193182 Hz quality 0
Apr 25 14:44:26 ninja kernel: CPU: Pentium/P54C (119.75-MHz 586-class CPU)
Apr 25 14:44:26 ninja kernel: Origin = GenuineIntel  Id = 0x52c  Stepping = 12
Apr 25 14:44:26 ninja kernel: Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
Apr 25 14:44:26 ninja kernel: real memory  = 100663296 (96 MB)
Apr 25 14:44:26 ninja kernel: avail memory = 93040640 (88 MB)
Apr 25 14:44:26 ninja kernel: Intel Pentium detected, installing workaround for 
F00F bug
Apr 25 14:44:26 ninja kernel: npx0: math processor on motherboard
Apr 25 14:44:26 ninja kernel: npx0: INT 16 interface
Apr 25 14:44:26 ninja kernel: cpu0 on 

PF: Blocks my workstation on boot

2005-04-21 Thread Fafa Diliha Romanova
Hello.

I have to write this command on my server after every reboot to allow
my workstation to access the Internet through it:

# pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

My pf.conf looks like this:

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 all

# *** Outgoing
#
#
passout on $ext_if inet proto tcp \
from any to any flags S/SA keep state
passout on $ext_if inet proto { 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 and HTTP
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80 } 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

Thanks all,
-- Fafa

-- 
___
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]


Reasons not being able to FXP?

2005-04-19 Thread Fafa Diliha Romanova
Hey!

I'm on a FreeBSD 4.11-RELEASE jail.
I've setup ftpd on port 21 from /etc/inetd.conf.
Its portrange according to the firewall is in the clear.

People can connect, but they cannot FXP using FlashFXP in Windows.
Does anyone know why they can't? I'm all out of ideas.

Thank you,
Fafa

-- 
___
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]


Enable SHMEM inside a jail?

2005-04-17 Thread Fafa Diliha Romanova
Hello all!

I'm root inside a FreeBSD 4.11-RELEASE jail, and I need to enable
SHMEM. I cannot recompile the kernel, because I cannot reboot the server.

Would anyone happen to have any suggestions?

Thank you,
-- Fafa

-- 
___
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 it doing?! HP DVD 630i (aka 630c)

2005-03-25 Thread Fafa Diliha Romanova
Hey.

My HP DVD 630c all of a sudden stopped working. It ejects half-way out and is 
really difficult to eject back in, or even out when I want that. It won't burn 
any CDs or DVDs, and I can't control it from the computer (reading disc info, 
ejecting it etc).

So what's going on?
Has anyone experienced this before?

My computer (HP DC7100) and its HP DVD 630c are all new, I've barely even used 
them before this happened!

Thanks,
-- Fafa

-- 
___
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 beautify gpg+mutt in freebsd

2005-03-25 Thread Fafa Diliha Romanova
hello

i'm a stupid newbie.

but i'm trying to get a decent gpg+mutt setup.

i've generated my public key but i think that signing using that
is a bad idea. people get confused, thinking they're attachments that
they are unable to open. besides, mutt gives them bad names like
untitled(2) or 1.dat.


1) what other options do i have for signing my messages? i like the
   way hushmail for instance signs my messages:

   btw this is a signature right ... not the public key?
   is it easy generating a signature?


   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1

   Example message

   -BEGIN PGP SIGNATURE-
   Note: This signature can be verified at https://www.hushtools.com/verify
   Version: Hush 2.4

   wkYEARECAAYFAkJEgdgACgkQgrhgoMygEH5zuACgoKvM67sQV6aVK+3oECyZvBMhjFQA
   oLwM/S0bteviF5SD5wNhBU3DULWs
   =cTDp
   -END PGP SIGNATURE-


2) that looks, however, kinda messy.
   is it possible making my signature more good looking? like this,
   maybe, more consistent and solid?


   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1

   Example good looking message

   -BEGIN PGP SIGNATURE-
   Version: GnuPG v1.2.6 (FreeBSD)

   wkYEARECAAYFAkJEgdgACgkQgrhgoMygEH5zuACgoKvM67sQV6aV
   0bteviF5SD5wNhBU3DULWs0bteviF5SD5wNhBU3DULWs0bteviF5
   -END PGP SIGNATURE-


3) the same applies to the end of my public key.
   it ends like this:

   EORr3YWE6W98CMw/QYpjTGmxOIhJBBgRAgAJBQJBgkwYAhsMAAoJEHhe0auuyFds
   WJsAni5+AYlGlvGI83Py3yBVTs7LL8ZOAJ9jhl7rS+NublDbxLGMeTL6MTxYIw==
   =+Wyz

   being very concerned about aesthetics, that orphan =+Wyz really
   bugs me. is there no way of telling gpg that i want clean slices?


*** here is my .muttrc pertaining to gpg:

source ~/.gpgrc

set pgp_replysign
set pgp_replyencrypt
set pgp_verify_sig=yes
set pgp_sign_as=AEC8276C
set pgp_strict_enc

unset pgp_autosign
unset pgp_autoencrypt


*** and here is my .gpgrc:

set pgp_decode_command=/usr/local/bin/gpg %?p?--passphrase-fd 0? --no-verbose 
--quiet --batch --output - %f
set pgp_verify_command=/usr/local/bin/gpg --no-verbose --quiet --batch 
--output - --verify %s %f
set pgp_decrypt_command=/usr/local/bin/gpg --passphrase-fd 0 --no-verbose 
--quiet --batch --output - %f
set pgp_sign_command=/usr/local/bin/gpg --no-verbose --batch --quiet --output 
- --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f
set pgp_clearsign_command=/usr/local/bin/gpg --no-verbose --batch --quiet 
--output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f
set pgp_encrypt_only_command=pgpewrap /usr/local/bin/gpg --batch --quiet 
--no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- 
%f
set pgp_encrypt_sign_command=pgpewrap /usr/local/bin/gpg --passphrase-fd 0 
--batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? 
--armor --always-trust -- -r %r -- %f
set pgp_import_command=/usr/local/bin/gpg --no-verbose --import -v %f
set pgp_export_command=/usr/local/bin/gpg --no-verbose --export --armor %r
set pgp_verify_key_command=/usr/local/bin/gpg --verbose --batch --fingerprint 
--check-sigs %r
set pgp_list_pubring_command=/usr/local/bin/gpg --no-verbose --batch --quiet 
--with-colons --list-keys %r
set pgp_list_secring_command=/usr/local/bin/gpg --no-verbose --batch --quiet 
--with-colons --list-secret-keys %r
set pgp_good_sign=`gettext -d gnupg -s 'Good signature from ' | tr -d ''`


what am i missing out on?

i appreciate any help i can get ...

and i promise to remain in this community till i'm in you people's
shoes, so i can return this help to someone as dumb as me :)

best wishes,
-- fafa

-- 
___
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]


Managing virtual e-mails

2005-03-20 Thread Fafa Diliha Romanova

Hello.

I am running the Postfix+Courier on MySQL setup found on:

http://www.high5.net/howto

I am wondering how to add and delete users, as well as adding
and deleting aliases -- and managing my virtual e-mail database
in general -- using a pure, clean and efficient approach,
rather than having to use Postfixadmin, which I find to be sort
of unprofessional and bloated with bad design.

For instance, I managed to avoid using the PHPMyAdmin, and
instead got all my setup recorded in clean text:

USE mysql;
CREATE DATABASE gtg_mail;
GRANT USAGE ON gtg_mail.* TO [EMAIL PROTECTED] IDENTIFIED BY 'gatNanav';
GRANT CREATE, SELECT, INSERT, DELETE, UPDATE ON gtg_mail.* TO [EMAIL PROTECTED];
FLUSH PRIVILEGES;

USE gtg_mail;
CREATE TABLE admin (
  username varchar(255) NOT NULL default '',
  password varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (username),
  KEY username (username)
) TYPE=MyISAM COMMENT='Postfix: virtual admins';

USE gtg_mail;
CREATE TABLE alias (
  address varchar(255) NOT NULL default '',
  goto text NOT NULL,
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (address),
  KEY address (address)
) TYPE=MyISAM COMMENT='Postfix: virtual aliases';

USE gtg_mail;
CREATE TABLE domain (
  domain varchar(255) NOT NULL default '',
  description varchar(255) NOT NULL default '',
  aliases int(10) NOT NULL default '0',
  mailboxes int(10) NOT NULL default '0',
  maxquota int(10) NOT NULL default '0',
  transport varchar(255) default NULL,
  backupmx tinyint(1) NOT NULL default '0',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (domain),
  KEY domain (domain)
) TYPE=MyISAM COMMENT='Postfix: virtual domains';

USE gtg_mail;
CREATE TABLE domain_admins (
  username varchar(255) NOT NULL default '',
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  KEY username (username)
) TYPE=MyISAM COMMENT='Postfix: virtual domain admins';

USE gtg_mail;
CREATE TABLE mailbox (
  username varchar(255) NOT NULL default '',
  password varchar(255) NOT NULL default '',
  name varchar(255) NOT NULL default '',
  maildir varchar(255) NOT NULL default '',
  quota int(10) NOT NULL default '0',
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (username),
  KEY username (username)
) TYPE=MyISAM COMMENT='Postfix: virtual mailboxes';

USE gtg_mail;
CREATE TABLE vacation (
  email varchar(255) NOT NULL default '',
  subject varchar(255) NOT NULL default '',
  body text NOT NULL,
  cache text NOT NULL,
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (email),
  KEY email (email)
) TYPE=MyISAM COMMENT='Postfix: virtual vacation';

USE gtg_mail;
CREATE TABLE log (
  timestamp datetime NOT NULL default '-00-00 00:00:00',
  username varchar(255) NOT NULL default '',
  domain varchar(255) NOT NULL default '',
  action varchar(255) NOT NULL default '',
  data varchar(255) NOT NULL default '',
  KEY timestamp (timestamp)
) TYPE=MyISAM COMMENT='Postfix: log';

-- 
___
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: Managing virtual e-mails

2005-03-20 Thread Fafa Diliha Romanova

And if I cannot code?
... Will you code one for me?

- Original Message -
From: Haulmark, Chris [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Managing virtual e-mails
Date: Sun, 20 Mar 2005 11:53:29 -0500

 
 Someone broke the silence:
 
  Hello.
 
  I am running the Postfix+Courier on MySQL setup found on:
 
  http://www.high5.net/howto
 
  I am wondering how to add and delete users, as well as adding
  and deleting aliases -- and managing my virtual e-mail database
  in general -- using a pure, clean and efficient approach,
  rather than having to use Postfixadmin, which I find to be sort
  of unprofessional and bloated with bad design.
 
  For instance, I managed to avoid using the PHPMyAdmin, and
  instead got all my setup recorded in clean text:
 
 
 You can just create any applications that has SQL capabilities.  Code
 your own PHP website with administration functions? Python application?
 C application? Ruby application?...the list goes on.
 
 Chris
 
 snip

-- 
___
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: IPv6 in rc.conf only: create gif0 / add route?

2005-03-20 Thread Fafa Diliha Romanova

Hello again!

Your answers were a bit out of my league:

  here is my rc.conf so far. i'm not sure if it's working
  i haven't had a chance to reboot yet.
 
  please let me know what you think of it?
 
  # *** IPv6 configuration
  #
  ipv6_enable=YES
  ipv6_gateway_enable=YES
  cloned_interfaces=gif0
  ipv6_network_interfaces=gif0
  ipv6_defaultrouter=fe80::
  ifconfig_gif0=inet 213.181.153.22 213.121.24.85
  ipv6_ifconfig_gif0_alias1=2001:618:400:33bb::1 prefixlen 64
  ipv6_ifconfig_gif0_alias2=2001:618:400:33bb::2 prefixlen 64
  ipv6_ifconfig_gif0_alias3=2001:618:400:33bb::3 prefixlen 64
  ipv6_firewall_enable=YES
  ipv6_firewall_type=open
  rtadvd_enable=YES
  rtadvd_interfaces=gif0
 
 You have nothing to specify the ipv6 part of the gif tunnel. should 
 have 2 ipv6 addresses usualy on a /128.

Could you please provide me with an example?

 Your ipv6 default gateway is a fe80: address (link local.) Usualy 
 it would be your next hop out onto the ipv6 internet (in my case 
 the other side of the ipv6 part of the gif tunnel.)

How should my gateway be?

 You are advertising your machine as an ipv6 router but only on the 
 gif interface, thus any ipv6 hosts you have on your network wont 
 see the router advertisment packets and wont autoconfigure to the 
 range you are advertising.

My network interface connecting me to the Internet is lnc0.
Should rtadvd be advertising it instead?

 Hope you get it working, I'm no expert but it works for me :)

Now now :) You seem to know your way.

All the best,
-- Fafa

  - Original Message -
  From: Vince [EMAIL PROTECTED]
  To: 'Fafa Diliha Romanova' [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: RE: IPv6 in rc.conf only: create gif0 / add route?
  Date: Mon, 14 Mar 2005 20:26:53 -
 
 
  Since you are using a gif interface I assume you use a tunnel for your ipv6
  connection.
 
  Here is the relevant parts of my rc.conf which works
  (I use a H.E. ipv6 tunnel (http://tunnelbroker.net)
  but any gif tunnel should be similar)
 
  gif_interfaces=gif0  # create the gif
  gifconfig_gif0=62.140.220.90 64.71.128.83  # setup the ipv4 endpoints of
  the tunnel
  ipv6_enable=YES# Set to YES to set up for IPv6.
  ipv6_gateway_enable=YES
  ipv6_network_interfaces=gif0 fxp0  # List of network interfaces (or
  auto).
  ipv6_defaultrouter=2001:470:1F01:::120# Set to IPv6 default
  gateway
  ipv6_ifconfig_gif0=2001:470:1F01:::121 2001:470:1F01:::120
  prefixlen 128 #setup ipv6 tunnel
  ipv6_ifconfig_fxp0=2001:470:1F01:244::1 prefixlen 64 #set fxp0 ipv6
  address
  rtadvd_enable=YES  # Set to YES to enable an IPv6 router
  rtadvd_interfaces=fxp1 fxp0 wi0   # Interfaces rtadvd sends RA
  packets.
 
 
  Some lines may wrap.
  Vince
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Fafa
  Diliha Romanova
  Sent: 13 March 2005 20:11
  To: [EMAIL PROTECTED]
  Subject: IPv6 in rc.conf only: create gif0 / add route?
 
  Hey!
 
  I am trying to add my entire IPv6 setup into rc.conf.
  But it seems it won't automagically create gif0, nor will it add
  the default route. This is my rc.conf:
 
  # *** IPv6 configuration
  #
  ipv6_enable=YES
  ipv6_gateway_enable=YES
  ipv6_network_interfaces=gif0
  ipv6_defaultrouter=fe80::%gif0
  ipv6_ifconfig_gif0=inet 213.183.143.59 213.121.24.85
  ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::1 prefixlen 64
  ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::2 prefixlen 64
  ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::3 prefixlen 64
  ipv6_firewall_enable=YES
  ipv6_firewall_type=open
  rtadvd_enable=YES
  rtadvd_interfaces=gif0
 
  Is anybody able to tell what I lack?
  I certainly cannot ping6 6bone.net after reboot.
 
  Thanks!
 
  All the best,
  -- Fafa

-- 
___
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]


Anybody using BTExact's IPv6 tunnel?

2005-03-20 Thread Fafa Diliha Romanova

If you are, please show me your working setup :)

Either in the form of rc.conf, or a custom shell script.

Thank you,
-- Fafa

-- 
___
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]


Stupid ASCII loader prompt

2005-03-13 Thread Fafa Diliha Romanova
hello

i find that loader prompt very frustrating:

1. it is *VERY* unprofessional
2. having that demon in there, it invites evil into my world
3. it's bad for my image too, when other people see it,
   they laugh and go:

   is THAT your supersystem? blah

somebody please tell me, how do i remove it?
i don't want anything to do with it.

thanks,
-- fafa

-- 
___
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: chmod equivalent to find commands

2005-03-13 Thread Fafa Diliha Romanova

Thank you for your kind assistance!

That was exactly what I was looking for.

But after the constructive response from many other kind souls
on this list, I have decided to stick with my find command
for now and keep your recursive chmod as an alternate.

I keep a local mirror of all my modified configuration files
(gives me easy backup and a great deal control over my system).
I needed this command to quickly change permissions and
ownership of the homedir I store them in.

Thanks again!
-- Fafa

- Original Message -
From: Loren M. Lang [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: chmod equivalent to find commands
Date: Sun, 13 Mar 2005 02:09:12 -0800

 
 On Sat, Mar 12, 2005 at 06:53:59AM -0500, Fafa Diliha Romanova wrote:
  hello.
 
  i know there's an equivalent to these two find commands that
  can be summed up in one chmod command:
 
  find . -type d -exec chmod 755 {} \;
  find . -type f -exec chmod 644 {} \;
 
 The EXACT equivalent would be:
 
 find . -type d -exec chmod u=rwx,go=rx {} \;
 find . -type f -exec chmod u=rw,go=r {} \;
 
 But I take it that that isn't exactly what your looking for.  Your
 probably looking for something like chmod -R u=rwX,go=rX .
 
 
  it fixes my permissions ...
  i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX
 
 This may work it depends on exactly what you need to do and how bad your
 permissions are messed up.  Instead of a+rX, it might be better to do
 go+rX since you already have u covered, but I don't think it will make a
 big difference.  Also, this adds to the existing permissions, it won't
 take away any permissions like my example earlier does.  Lastly, the big
 difference between this and the find version is that the find version,
 both mine and yours, will set the execute bit on all directories and not
 on any normal files where the recursive chmod with the X permission with
 set the x permission on any file/directory that already has at least one
 type of execute permission already set and not on any other files or
 directories.  So if your permissions are messed so badly that you have
 directories without any execute permission, this won't fix that.  The
 find version on the other hand will ignore everything that is not a
 normal file or directory (i.e. fifos, sockets, device files), but this
 probably won't be a big deal either.  The single recursive chmod I gave
 you will most likely be what you need.
 
 
  what would be the best solution here?
 
  thanks,
  -- fafa
 
  -- ___
  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]
 
 --
 I sense much NT in you.
 NT leads to Bluescreen.
 Bluescreen leads to downtime.
 Downtime leads to suffering.
 NT is the path to the darkside.
 Powerful Unix is.
 
 Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
 Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 
 2.dat 

-- 
___
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: chmod equivalent to find commands

2005-03-13 Thread Fafa Diliha Romanova

I think it's really best that I stick to my find commands.

chmod -R u=rwX,go=rX . worked really fast but it also made all
my files executable.

Bad idea, asking for such a command.

By the way, umask 022? What is meant by that?

- Original Message -
From: Loren M. Lang [EMAIL PROTECTED]
To: Giorgos Keramidas [EMAIL PROTECTED]
Subject: Re: chmod equivalent to find commands
Date: Sun, 13 Mar 2005 02:15:00 -0800

 
 On Sat, Mar 12, 2005 at 09:53:02PM +0200, Giorgos Keramidas wrote:
  On 2005-03-12 10:30, Eric McCoy [EMAIL PROTECTED] wrote:
  Fafa Diliha Romanova wrote:
   hello.
  
   i know there's an equivalent to these two find commands that
   can be summed up in one chmod command:
  
   find . -type d -exec chmod 755 {} \;
   find . -type f -exec chmod 644 {} \;
 
  Uhm, why?  Even if that were possible, isn't clarity more important that
  stuffing as many actions as possible in one line?
 
  What you list above is similar to the way I use for changing the
  permissions of files/dirs and it works all the time.
 
  There's no reason to try to write one, long, complicated command just
  for the sake of making it one command instead of two.  Otherwise, you
  may as well do more complex stuff like:
 
 Summing it up into one command does not neccessarily mean it's longer or
 more complicated.  I use the following command all the time to fix
 permissions similar to what he seems to be doing.  Though it's not
 technically equivalent, it's probably all he needs.
 
 chmod -R u=rwX,go=rX .
 
 My umask of 022 simplifies the command to the following:
 
 chmod -R =rwX .
 
 
  find . | while read line; do
  mode=''
  [ -d ${line} ]  mode=0755
  [ -f ${line} ]  mode=0644
 
  [ -n ${mode} ]  echo chmod ${mode} \${line}\
  done | sh
 
  But this is getting quickly very difficult to remember easily and repeat
  consistently every time you want to do something similar :)
 
   what would be the best solution here?
  
   I would do it the same way you do, but with xargs instead:
  
   find . -type X -print0 | xargs -0 chmod XXX
 
  This is an excellent way to do this, IMHO.
 
   If you were feeling crazy and use sh:
  
   find . | while read path; do \
 if [ -d $path ]; then chmod 755;
 else chmod 644; fi; \
   done
 
  I guess you meant to write:
 
  find . | while read path; do \
if [ -d $path ]; then chmod 755 ${path};
else chmod 644 ${path}; fi; \
  done
 
  Otherwise, many chmod failures are the only result.
 
  But this has a minor buglet.  It will change everything that is not a
  directory to mode 0644.  This mode is ok for files, but it may not be ok
  (or it may even fail) for other stuff (symbolic links, for instance).
 
  - Giorgos
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 --
 I sense much NT in you.
 NT leads to Bluescreen.
 Bluescreen leads to downtime.
 Downtime leads to suffering.
 NT is the path to the darkside.
 Powerful Unix is.
 
 Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
 Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 
 2.dat 

-- 
___
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: Stupid ASCII loader prompt

2005-03-13 Thread Fafa Diliha Romanova

Thank you!

 I don't see much difference between seeing a giant daemon, a giant window,
 and a giant apple on startup.

Like the words of a blind man.

 It's not a demon, but a daemon.

  demon
   n 1: one of the evil spirits of traditional Jewish and Christian
belief [syn: {devil}, {fiend}, {daemon}, {daimon}]

 All my friends think it's so much cooler than that penguin they used to
 see.

Keep your friends close, but your enemies closer.

 All that aside, I think putting beastie_disable=YES in
 /boot/loader.conf will do the trick.

Excellent! THANK YOU! :)

Such a thing cannot be centralized to rc.conf instead?

Thanks,
-- Fafa

-- 
___
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]


Trying to turn ipv6.sh into rc.conf directives ...

2005-03-13 Thread Fafa Diliha Romanova
Hey!

I'm trying to centralize my system by placing as much as possible
into rc.conf. I also think it looks prettier that way.

These settings were given to me by BTExact:

 ifconfig gif create
 ifconfig gif0 inet 213.188.174.11 213.121.24.85
 ifconfig gif0 inet6 2001:614:365::d5bb:b546 prefixlen 128
 route add -inet6 default 'fe80::%gif0'
 ifconfig lnc0 inet6 2001:614:365:6ad9:: prefixlen 64
 sysctl -w net.inet6.ip6.forwarding=1
 /usr/sbin/rtadvd lnc0

So far I've converted them to this:

 ipv6_enable=YES
 ipv6_gateway_enable=YES
 ipv6_network_interfaces=gif0
 ipv6_defaultrouter=2001:614:365::
 ipv6_network_interfaces=gif0 lnc0
 ipv6_ifconfig_gif0=inet 213.188.174.11 213.121.24.85
 ipv6_ifconfig_gif0=inet6 2001:614:365::d5bb:b546 prefixlen 128
 ipv6_ifconfig_lnc0=inet6 2001:614:365:6ad9:: prefixlen 64
 ipv6_network_interfaces=gif0 lnc0
 ipv6_firewall_enable=YES
 ipv6_firewall_type=open
 rtadvd_enable=YES
 rtadvd_interfaces=lnc0

Does that look alright to you IPv6 gurus?
Will I now be able to reboot with a fully functional IPv6 connection?

Thank you,
-- Fafa

-- 
___
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]


portsdb -uU error (I also need some tips)

2005-03-13 Thread Fafa Diliha Romanova

Hello!

There's been a lot of mess in my ports lately.
I want to get rid of this:

pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded
pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded

Which pops up every time I install/deinstall a port or package.
I have done a 'pkgdb -F' which seemed to work.

Upon 'portsdb -uU' I get:

#

Updating the ports index ... Generating INDEX.tmp - please wait..cannot create 
/tmp/index.UHO8TTKq/INDEX.tmp.desc.german: No such file or directory
*** Error code 2
1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the ports-all
collection, and have no refuse files.)  If that is the case, then
report the failure to [EMAIL PROTECTED] together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with make fetchindex.


*** Error code 1

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

Stop in /usr/ports.
No such file or directory - /tmp/INDEX8274.0
portsdb: index chmod error

#

So what is this?

Also, can anybody tell me if these commands are all I need to
do a full cleanup and upgrade of my ports?

This is my /root/make.PORTS:

#

cvsup -g -L 2 /etc/cvsupfile  pkgdb -F  portupgrade -ra  portsdb -uU  
portupgrade -ra  pkgdb -F

#

Thank you all so much!

All the best,
-- Fafa

-- 
___
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: portsdb -uU error (I also need some tips)

2005-03-13 Thread Fafa Diliha Romanova

Hey!

I haven't tried fetchindex or portmanager.
I'll try them now.

As for the make.PORTS, I run them inside screen, so incase
I need to answer something, it won't continue untill I do.

But do you guys have a suggestion to how a more efficient
make.PORTS could look like? Now I'll include

cd /usr/ports  make fetchindex

into it but how about the order and amount of instances of
each command etc?

Thanks.

- Original Message -
From: Jeff Hinrichs [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: portsdb -uU error (I also need some tips)
Date: Sun, 13 Mar 2005 12:55:25 -0600

 
 Fafa Diliha Romanova wrote:
  Hello!
 
  There's been a lot of mess in my ports lately.
  I want to get rid of this:
 
  pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded
  pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded
 
  Which pops up every time I install/deinstall a port or package.
  I have done a 'pkgdb -F' which seemed to work.
 
  Upon 'portsdb -uU' I get:
 
  #
 
  Updating the ports index ... Generating INDEX.tmp - please 
  wait..cannot create /tmp/index.UHO8TTKq/INDEX.tmp.desc.german: No 
  such file or directory
  *** Error code 2
  1 error
 
  
  Before reporting this error, verify that you are running a supported
  version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
  have a complete and up-to-date ports collection.  (INDEX builds are
  not supported with partial or out-of-date ports collections -- in
  particular, if you are using cvsup, you must cvsup the ports-all
  collection, and have no refuse files.)  If that is the case, then
  report the failure to [EMAIL PROTECTED] together with relevant
  details of your ports configuration (including FreeBSD version,
  your architecture, your environment, and your /etc/make.conf
  settings, especially compiler flags and WITH/WITHOUT settings).
 
  Note: the latest pre-generated version of INDEX may be fetched
  automatically with make fetchindex.
  
 
  *** Error code 1
 
  Stop in /usr/ports.
  *** Error code 1
 
  Stop in /usr/ports.
  No such file or directory - /tmp/INDEX8274.0
  portsdb: index chmod error
 
  #
 
  So what is this?
 
  Also, can anybody tell me if these commands are all I need to
  do a full cleanup and upgrade of my ports?
 
  This is my /root/make.PORTS:
 
  #
 
  cvsup -g -L 2 /etc/cvsupfile  pkgdb -F  portupgrade -ra  
  portsdb -uU  portupgrade -ra  pkgdb -F
 
  #
 
  Thank you all so much!
 
  All the best,
  -- Fafa
 
 This may not fix all of your problems, but doing a
   cd /usr/ports
   make fetchindex
 is much faster and less problematic than
   portsdb -uU

-- 
___
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]


If I have portmanager, do I need portupgrade?

2005-03-13 Thread Fafa Diliha Romanova

If I just do:

cvsup -g -L 2 /etc/cvsupfile  portmanager -u

Do I need portupgrade at all then?

Thanks.

- Original Message -
From: Jason Henson [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: portsdb -uU error (I also need some tips)
Date: Sun, 13 Mar 2005 19:01:03 +

 
 On 03/13/05 12:09:24, Fafa Diliha Romanova wrote:
 
  Hello!
 
  There's been a lot of mess in my ports lately.
  I want to get rid of this:
 
  pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded
  pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded
 
  Which pops up every time I install/deinstall a port or package.
  I have done a 'pkgdb -F' which seemed to work.
 
  Upon 'portsdb -uU' I get:
 
 It looks like a problem with /var/db/pkg.  You have time to wipe
 /var/db/pkg and remove all ports?  Try portmanager before you wipe 
 your  ports and db.
 
 Have you cd /usr/ports  mkae fetchindex?
 
 
  Stop in /usr/ports.
  No such file or directory - /tmp/INDEX8274.0
  portsdb: index chmod error
 
 
 chmod error?  Are you root or what?
 
  #
 
  So what is this?
 
  Also, can anybody tell me if these commands are all I need to
  do a full cleanup and upgrade of my ports?
 
  This is my /root/make.PORTS:
 
  #
 
  cvsup -g -L 2 /etc/cvsupfile  pkgdb -F  portupgrade -ra   portsdb
  -uU  portupgrade -ra  pkgdb -F
 
 
 Don't do pkgdb unattended, you may need to answer questions.  You 
 could  skip all this index stuff if you use portmanager.  But you 
 need
 /var/db/pkg in good condition to use pormanager, I think?
  #
 
  Thank you all so much!
 
  All the best,
  -- Fafa
 
 

-- 
___
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]


IPv6 in rc.conf only: create gif0 / add route?

2005-03-13 Thread Fafa Diliha Romanova
Hey!

I am trying to add my entire IPv6 setup into rc.conf.
But it seems it won't automagically create gif0, nor will
it add the default route. This is my rc.conf:

# *** IPv6 configuration
#
ipv6_enable=YES
ipv6_gateway_enable=YES
ipv6_network_interfaces=gif0
ipv6_defaultrouter=fe80::%gif0
ipv6_ifconfig_gif0=inet 213.183.143.59 213.121.24.85
ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::1 prefixlen 64
ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::2 prefixlen 64
ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::3 prefixlen 64
ipv6_firewall_enable=YES
ipv6_firewall_type=open
rtadvd_enable=YES
rtadvd_interfaces=gif0

Is anybody able to tell what I lack?
I certainly cannot ping6 6bone.net after reboot.

Thanks!

All the best,
-- Fafa

-- 
___
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]


Getting rid of message: unknown: PNP0700 can't assign resources (port)

2005-03-12 Thread Fafa Diliha Romanova
haye!

i'm just kinda tired of seeing this in my dmesg.
can i make my kernel ignore it?

thanks!

-- fafa
-- 
___
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]


chmod equivalent to find commands

2005-03-12 Thread Fafa Diliha Romanova
hello.

i know there's an equivalent to these two find commands that
can be summed up in one chmod command:

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

it fixes my permissions ...
i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX

what would be the best solution here?

thanks,
-- fafa

-- 
___
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: IPv6 setup script ... doesn't work!!

2005-03-10 Thread Fafa Diliha Romanova

Mario,

Thank you! I am beyond appreciation and respect to you!
I feel I also learned a lot about shell scripting while doing this.
You are truly a kind soul for letting your experience influence
my life, man. Again, thank you.

1) How would this setup look in rc.conf?
   Since FreeBSD 5 is all about centralizing, they say,
   I'd appreciate being able to move all my vital configuration
   into one place.

2) Does this code look OK now then?

case $1 in

  start)
 ifconfig gif create
 ifconfig gif0 inet 213.187.181.70 213.121.24.85
 ifconfig gif0 inet6 2001:618:400::d5bb:b546 prefixlen 128
 route add -inet6 default 'fe80::%gif0'
 ifconfig lnc0 inet6 2001:618:400:6ad9:: prefixlen 64
 sysctl -w net.inet6.ip6.forwarding=1
 /usr/sbin/rtadvd lnc0
 if [ $? = 0 ]; then
echo IPv6 activated.
 else
echo IPv6 activation failed. 12
exit 1
 fi
 ;;

  stop)
 killall -m rtadvd
 sysctl -w net.inet6.ip6.forwarding=0
 ifconfig fxp0 inet6 2001:618:400:6ad9:: prefixlen 64 delete
 route delete -inet6 default fe80::%gif0
 ifconfig gif0 inet6 2001:618:400::d5bb:b546 prefixlen 128 delete
 ifconfig gif0 delete
 if [ $? = 0 ]; then
echo IPv6 deactivated.
 else
echo IPv6 deactivation failed 12
exit 1
 fi
 ;;

  restart)
 $0 stop
 echo Pausing 5 seconds before restart ...
 sleep 5
 $0 start
 ;;

  *)
  echo Usage: `basename $0` {start|stop|restart} 12
  exit 1

esac
exit 0

3) By the way, are you up for hire?

All the best,
-- Fafa

- Original Message -
From: Mario Hoerich [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: IPv6 setup script ... doesn't work!!
Date: Thu, 10 Mar 2005 02:02:21 +0100

 
 # Fafa Diliha Romanova:
  # ifconfig gif create
 
 Try uncommenting this (by removing the '#').
 
   gifconfig gif0 inet 213.187.181.70 213.121.24.85
 
 Looks like a typo, this is probably just ifconfig.
 
 
   route add -inet6 default fe80::%gif0
 
 The shell will mangle this.  Quote it, like 'fe80::%gif0'.
 
 
   ifconfig fxp0 inet6 2001:618:400:6ad9:: prefixlen 64
 
 Replace every occurence of fxp0 with your ethernet NIC (i.e. xl0).
 
 
   sysctl ?w net.inet6.ip6.forwarding=1
^^
 Another typo, this is supposed to be -w.
 
 
   echo IPv6 activation complete! ||
   { echo IPv6 activation failed! 12; exit 1; }
   ;;
 
 Eh? So if echo on stdout fails, we're moving to stderr?
 What am I missing here?
 
 I'd guess the actual intent was more like
 
  /usr/sbin/rtadvd fxp0
  if [ $? = 0 ]; then
  echo IPv6 activated.
  else
  echo IPv6 activation failed. 12
  exit 1
  fi
 
 
   gifconfig gif0 delete
   echo IPv6 deactivation complete! ||
   { echo IPv6 deactivation failed! 12; exit 1; }
   ;;
 
 More junk code.
 
 
echo Usage: $0 {start|stop|restart}
 
  echo Usage: `basename $0` {start|stop|restart}  12
 
 
  Where did I go wrong?
 
 You didn't.  The script is rotten.
 
 Regards,
 Mario

-- 
___
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]


/usr/local/etc/rc.d scripts: echo on startup

2005-03-10 Thread Fafa Diliha Romanova
hello.

i'm just wondering how to deal with the way the rc.d scripts echo on startup.
like, some of the rc.d scripts contain the echo  daemon, while some echo 
daemon,
so on startup whereas it should look like:

daemon daemon deamon

it may look like:

daemondaemon daemon 1.2 Loaded successfully!daemon

is there a uniform way to identify echos and make them display properly?
thanks!

all the best,
fafa

-- 
___
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]


IPv6 setup script ... doesn't work!!

2005-03-09 Thread Fafa Diliha Romanova
Hello!

I just registered with BTExact, and they sent me ipv6.sh:

#!/bin/sh

case $1 in

  start)
#ifconfig gif create
 gifconfig gif0 inet 213.187.181.70 213.121.24.85
 ifconfig gif0 inet6 2001:618:400::d5bb:b546 prefixlen 128
 route add -inet6 default fe80::%gif0
 ifconfig fxp0 inet6 2001:618:400:6ad9:: prefixlen 64
 sysctl ?w net.inet6.ip6.forwarding=1
 /usr/sbin/rtadvd fxp0
 echo IPv6 activation complete! ||
 { echo IPv6 activation failed! 12; exit 1; }
 ;;

  stop)
 killall -m rtadvd
 sysctl -w net.inet6.ip6.forwarding=0
 ifconfig fxp0 inet6 2001:618:400:6ad9:: prefixlen 64 delete
 route delete -inet6 default fe80::%gif0
 ifconfig gif0 inet6 2001:618:400::d5bb:b546 prefixlen 128 delete
 gifconfig gif0 delete
 echo IPv6 deactivation complete! ||
 { echo IPv6 deactivation failed! 12; exit 1; }
 ;;

  restart)
 $0 stop
 echo Pausing 5 seconds before restart ...
 sleep 5
 $0 start
 ;;

  *)
  echo Usage: $0 {start|stop|restart}
  exit 1

esac
exit 0

I get this when I run it:

gifconfig: not found
ifconfig: interface gif0 does not exist
fe80::%gif0: bad value
ifconfig: interface fxp0 does not exist
sysctl: unknown oid '?w'
IPv6 activation complete!

I have this configuration in /etc/rc.conf:

# *** IPv6 configuration
#
gif_interfaces=gif0
ipv6_enable=YES
ipv6_gateway_enable=YES
ipv6_defaultrouter=-interface gif0
ipv6_network_interfaces=gif0 lnc0 ep0
ipv6_firewall_enable=YES
ipv6_firewall_type=open
rtadvd_enable=YES
rtadvd_interfaces=ep0

Where did I go wrong?

Thanks! And all the best,
-- from Fafa!

-- 
___
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: Default security: other users can ACCESS MY HOMEDIR?!

2005-03-09 Thread Fafa Diliha Romanova

Hello, Stevan!

How do I make my system and adduser use this as default?

Thanks!

-- Fafa

- Original Message -
From: Stevan Tiefert [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: Default security: other users can ACCESS MY HOMEDIR?!
Date: Tue, 1 Mar 2005 13:35:00 +0100 (CET)

 
 Hello Fafa,
 
 use chmod 700 $HOMEDIR for your HOMEDIR. Then only you can read, write
 and execute your HOMEDIR.
 
 With regards
 Stevan Tiefert
 
 
 On Tue, 1 Mar 2005, Fafa Diliha Romanova wrote:
 
  hey
 
  i didn't realize all my users had full access to my homedir!
  that kinda sucks, me who thought i had everything private and locked down
 
  what chmod should i set my homedir to then?
  and how do i set my system to chmod all new homedirs to that chmod?
 
  thanks!
  --
  ___
  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]
 
 

-- 
___
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]


FreeBSD for the organization

2005-03-08 Thread Fafa Diliha Romanova
to my fellow peers; hello.

i'm the board member of this organization.
so far i'm using mysql databases for our forum and webmail.

what i need to know, and i barely know mysql at all,
is how it is best to create and maintain effective member
databases on a freebsd system.

any suggestions are welcome.

all the best,
fafa

-- 
___
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]


Default security: other users can ACCESS MY HOMEDIR?!

2005-03-01 Thread Fafa Diliha Romanova
hey

i didn't realize all my users had full access to my homedir!
that kinda sucks, me who thought i had everything private and locked down

what chmod should i set my homedir to then?
and how do i set my system to chmod all new homedirs to that chmod?

thanks!
-- 
___
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 KIND OF SH*T IS THIS: telnet and ssh

2005-02-17 Thread Fafa Diliha Romanova
let's get straight to it:

whenever i telnet or ssh to something that's offline, i get e.g.:
ssh: hostname.domain.com: hostname nor servname provided, or not known

comeon, can't you guys at least change it to:
ssh: hostname.domain.com: unknown

thanks,
fafa
-- 
___
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]


WEIRD: telnet

2005-02-13 Thread Fafa Diliha Romanova
what's with this badly written error message?

# telnet localhost:61
localhost:21: hostname nor servname provided, or not known

have somebody compromised my telnet maybe?

thanks,
fafa
-- 
___
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]


make world: HOW CLEAN IS IT?

2005-02-12 Thread Fafa Diliha Romanova
hello

when i rebuild my system to stay up to date,
does it leave behind many obsolete files to clog up
my pure system?

i am *VERY* conscious on cleanliness;

does freebsd keep track of absolutely EVERY file
it creates?

also, do you guys have any tips/tricks on how to do
system cleanup chores? like scripts, commands etc.?

thanks,
fafa

-- 
___
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: make world: HOW CLEAN IS IT?

2005-02-12 Thread Fafa Diliha Romanova

but in my mail i asked: what to do?

- Original Message -
From: Chris [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: make world: HOW CLEAN IS IT?
Date: Sat, 12 Feb 2005 05:54:10 -0600

 
 Fafa Diliha Romanova wrote:
  hello
 
  when i rebuild my system to stay up to date,
  does it leave behind many obsolete files to clog up
  my pure system?
 
  i am *VERY* conscious on cleanliness;
 
  does freebsd keep track of absolutely EVERY file
  it creates?
 
  also, do you guys have any tips/tricks on how to do
  system cleanup chores? like scripts, commands etc.?
 
 The best clean-up scripts are the ones you create yourself to do 
 exactly what you want it to do. In any event, peruse /etc/periodic.
 
 
 -- Best regards,
 Chris
 
 Old age is always fifteen years older than I am.

-- 
___
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: make world: HOW CLEAN IS IT?

2005-02-12 Thread Fafa Diliha Romanova

hey;

  i am *VERY* conscious on cleanliness;
 
  does freebsd keep track of absolutely EVERY file
  it creates?
 
 Nope, it mostly doesn't keep track of them at all.

that's *VERY* bad.

FUTURE FEATURE? ultimate control.

YES! YESS! YESSS!

Thanks,
fafa

-- 
___
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]


I can't BOOT! You all need to WAKE UP and HELP a BROTHER!!!

2005-02-11 Thread Fafa Diliha Romanova

Hello!

I am running a new HP Compaq DC7100 CMT. For more information, check:
http://www.antonline.com/p_PC928A-ABA--DC7100-CMT-P4-3.0-512MB-40GB-DVD-WXPP-3-3-3-_102136.htm

I've been trying to install FreeBSD 5.3-RELEASE for a long time now.
Nobody has bothered to offer me a solution. Let alone a reason!

FreeBSD doesn't boot at all. It doesn't enter the loader prompt, it reboots
before it gets to it. Hence, I've been getting a lot of shit for not being
verbose enough. I've tried disabling ACPI and DMA from the BIOS, which doesn't
contain no settings relating to my use of OS.

I decided to try OpenBSD. And perhaps get more info out of it. But it seems
to be having a problem with my USB, freezing at boot:

uvm_fault[0xd05d62a0, 0x0, 0, 1) - e
kernel: page fault trap, code = 0
Stopped at usb_schedsoftintr+0x10: movl 0x4(%edx),%eax
ddb

But I need USB for almost all my devices, keyboard, mouse. So I grabbed this:

[ dmesg ]

OpenBSD 3.6-current (RAMDISK) #542: Sun Feb  6 14:27:42 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK
cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,PNI,MWAIT,CNXT-ID
real mem  = 1073209344 (1048056K)
avail mem = 975433728 (952572K)
using 4278 buffers containing 53764096 bytes (52504K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(e6) BIOS, date 06/16/04, BIOS32 rev. 0 @ 0xeb560
pcibios0 at bios0: rev 2.2 @ 0xeb560/0x4aa0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9600/240 (13 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2640
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xd000 0xcd000/0x1000 0xce000/0x2000 0xe9c00/0x6400!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 915G/P/GV Host rev 0x04
ppb0 at pci0 dev 1 function 0 Intel 915G/P/GV PCIE rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x3e50 rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
vendor ATI, unknown product 0x3e70 (class display subclass miscellaneous, rev 
0x00) at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x03
pci3 at ppb2 bus 3
Broadcom BCM5751 rev 0x01 at pci3 dev 0 function 0 not configured
Intel 82801FB USB rev 0x03 at pci0 dev 29 function 0 not configured
Intel 82801FB USB rev 0x03 at pci0 dev 29 function 1 not configured
Intel 82801FB USB rev 0x03 at pci0 dev 29 function 2 not configured
Intel 82801FB USB rev 0x03 at pci0 dev 29 function 3 not configured
Intel 82801FB USB rev 0x03 at pci0 dev 29 function 7 not configured
ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xd3
pci4 at ppb3 bus 4
Creative Labs SoundBlaster Audigy LS rev 0x00 at pci4 dev 4 function 0 not 
configured
vendor Creative Labs, unknown product 0x7005 (class input subclass 
miscellaneous, rev 0x00) at pci4 dev 4 function 1 not configured
vendor ATT/Lucent, unknown product 0x048c (class communications subclass 
miscellaneous, rev 0x03) at pci4 dev 9 function 0 not configured
ATT/Lucent FW322 1394 rev 0x61 at pci4 dev 11 function 0 not configured
pcib0 at pci0 dev 31 function 0 Intel 82801FB LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8163B, 0B15 SCSI0 5/cdrom 
removable
atapiscsi1 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: HP, DVD Writer 630c, AH26 SCSI0 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 3
cd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801FB SATA rev 0x03: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST3160023AS
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ffed netmask ffed ttymask ffef
rd0: fixed, 3800 blocks
wd0: no disk label
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02

[ ps 

what a fucking serious problem: really, it *doesn't* boot

2005-02-09 Thread Fafa Diliha Romanova

really, what's wrong?

i've installed freebsd 5.3 on my entire harddrive.
but with the standard or freebsd's mbr, it doesn't make any difference:

ONCE MY COMPUTER ENTERS FREEBSD IT REBOOTS INSTEAD OF BOOTING!

computer: hp compaq dc7100
harddrive: seagate barracuda 7200.7 160gb (st3160023as)

more: http://reviews.zdnet.co.uk/hardware/desktops/0,39023849,39164152,00.htm
  
http://reviews-zdnet.com.com/HP_Compaq_Business_Desktop_dc7100/4507-3118_16-30919191.html

i don't know what to do. i can't see what's wrong, since it won't tell
me anything. as i said, all it does is to reboot. in an infinite loop.

thanks you all,
faffa

-- 
___
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]


MAJOR DISFUNCTION? Compute reboots instead of booting!

2004-12-25 Thread Fafa Diliha Romanova

   Dear all of you,


   My computer (HP Compaq DC7100) refuses to boot to FreeBSD. It enters
   the= MBR, I then select FreeBSD

   in the bootloader and the computer reboots! What kind of behavior is
   thi= s, and why won't it give FreeBSD a chance?


   I'm aware that some UNIX systems need a patch to work on this type of
   co= mputer:

   [1]http://www5.   
itrc.hp.com/service/patch/wrap.do?pageKey=patch.jsp.archiveJumpadmi
   t= =552267591+1103976356811+28353475


   But in my case, what do I need to do? Disabling ACPI in the BIOS
   doesn't= work.

   I'm informed (when I reinsert my S-ATA HD) that if I'm running UNIX, I
   s= hould enable it in the BIOS.

   But guess what? There are no such options. Believe me I've looked.


   Does anybody know what's going on?


   Thanks.

   Dr. Galvin Hobbes @ FTEG


   -- 

   ___
   Sign-up f= or Ads Free at Mail.com
   [2]http://www.mail.com/?sr=signup

References

   1. 3Dhttp://www5.itrc.hp.com/service/patch/wrap.do?pageKey=patch   2. 
3Dhttp://mail01.mail.com/scripts/payment/adtracking.cgi?bannercode___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MAJOR DISFUNCTION! Computer reboots instead of booting FreeBSD!

2004-12-25 Thread Fafa Diliha Romanova

   Dear all of you,


   My computer (HP Compaq DC7100) refuses to boot to FreeBSD. It enters
   the= MBR, I then select FreeBSD

   in the bootloader and the computer reboots! What kind of behavior is
   thi= s, and why won't it give FreeBSD a chance?


   I'm aware that some UNIX systems need a patch to work on this type of
   co= mputer:

   [1]http://www5.   
itrc.hp.com/service/patch/wrap.do?pageKey=patch.jsp.archiveJumpadmi
   t= =552267591+1103976356811+28353475


   But in my case, what do I need to do? Disabling ACPI in the BIOS
   doesn't= work.

   I'm informed (when I reinsert my S-ATA HD) that if I'm running UNIX, I
   s= hould enable it in the BIOS.

   But guess what? There are no such options. Believe me I've looked.


   Does anybody know what's going on?


   Thanks.

   Dr. Galvin Hobbes @ FTEG
   -- 

   ___
   Sign-up f= or Ads Free at Mail.com
   [2]http://www.mail.com/?sr=signup

References

   1. 3Dhttp://www5.itrc.hp.com/service/patch/wrap.do?pageKey=patch   2. 
3Dhttp://mail01.mail.com/scripts/payment/adtracking.cgi?bannercode___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]