Re: downloading text files from apache

2004-03-03 Thread Asenchi
On Wed, 03 Mar 2004 16:55:46 +
Peter Risdon [EMAIL PROTECTED] wrote:

+ I'm not advocating that. I'm advocating that you understand what this
+ will do and why before thinking of doing it, and that in the meantime
+ you compress any text files you want to make available for download,
so + they download as .zip, .gz or whatever.

I am all for advocating people to read and learn.  But there is another
solution.  Depending on the browser/environment you could right click
and 'Save As'.

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


Re: /root file system full

2004-03-03 Thread Asenchi
On Thu, 4 Mar 2004 08:51:56 +1100 
Ron Joordens [EMAIL PROTECTED] wrote:

+ Good Morning,
 
+ My / filesystem is full. 109%. I want to know what is on the /
filesystem,+ what I can get rid of, how to get rid of it and how to
make sure that it+ doesn't happen again.
+ 
+ Any thoughts?

I have some so far.

You put in your subject that /root file system is full and in the body
of your message you put / is full.  These are acutally two different
things.  Are you using the 'root' account to log in to the system?  Are
you installing ports for the 'root' user or another system user (for ex:
your own personal user id)?

[snip]

+ I got a bit carried away installing ports during installation (a kid
in a+ candy store?) and currently have about 206 installed.

That isn't bad:

([EMAIL PROTECTED]): pkg_info | wc -l   [19:25 :: 004-03-03] 
218


Would+ that be on root?

Again, this raises red flags to me.  You want to make sure you are using
a different account than 'root'.  You should use su(1) to get to
superuser access.  Read more about it in the documentation.

I could be wrong, I just wanted to clarify.

Glad every thing has been going well.

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


fatal trap 12 (SMP related)

2003-06-23 Thread Asenchi
Hello,

I have installed 4.8-stable on my dual processor HP system.  I reconfigured the 
kernel, and everything worked fine.  Except now after a period of time (even Idle 
time, see below) my system has this error:

Fatal trap 12: page fault while in kernel mode
mp_lock = 0103; cpuid = 1; lapic.id = 
fault virtual address   = 0x30
fault code  = supervisor read, page not present
instruction number  = 0x8:0xc0205661
stack pointer   = 0x10:0xff80fcd0
frame pointer   = 0x10:0xff80fcd0
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = Idle
interrupt mask  = tty bio - SMP: XXX
trap number = 12
panic: page fault
mp_lock = 0103; cpuid = 1; lapic.id = 
boot() called on cpu#1
Uptime: 36m17s

I can see that this is a problem with the SMP config.  What I don't know is what to do 
with it, is it hardware, software.  I am not sure.  This is the first time I have ever 
been presented with this.

I do prefer maybe a point in the right direction rather than the answer as I learn a 
lot more reading up on it.  I just haven't been able to find anything, especially not 
knowing what I am looking for.

Can anyone point me in the right direction?

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


SMP: question

2003-06-19 Thread Asenchi
Hello,

I am trying to configure an dual processor server for the first time.  It is a 6 year 
old HP with PIII Xeon 500's.

The question I have is that when I boot into single user mode (as I have had problems 
in multi-user) it shows only one proc starting up.  This:

SMP: AP CPU #1 Launched!

Should this show the second one?

The problem in multi-user mode is that after boot, 5 minutes later when I am doing 
anything it reboots after 5 mins.

Any ideas?  Or where I can visit something online.  I haven't been able to find any 
really reliable SMP docs online.  And I could be blind but I can't find anything in 
the handbook.

Thanks,

Curt Micol

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


logging websites visited

2003-04-01 Thread Asenchi
Hello All,

I have a been googling and reading for about 3-4 weeks on this, and can't seem to find 
the answer to.  How do I log internet connections through my firewall.  I am running 
IPFW with Natd and I want to log who is going to what site.  Is there a way to do 
this? (I know, of course there is, ITS BSD!)

Can anyone help me?

Thanks,

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


Re: Floppy installalation

2003-02-27 Thread Asenchi
I think I have spoke to you before, go here:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.0-RELEASE/floppies/

download kern.flp mfsroot.flp and fixit.flp (in case).

That should take care of what you want.  Unless you don't have an
internet connection, in that case use a 5.0-release cd as your install
media.

Curt

On Thu, 2003-02-27 at 16:16, [EMAIL PROTECTED] wrote:
  I need to install 5.0 via floppy disks. The /bin does not exsist in 5
   only /base. Will the /bin directions from the handbook work the same?
 
   Is there a way to do a min install with floppies and then use
   /stand/sysinstall to finish it off?
 
   This is the break down, IBM ThinkPad 765D, to old to boot from CD ROM,
   Headless, cable, ftp all failed. Unit worked with Linux and is in good
   condition.
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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


Re: scroll mouse

2003-02-26 Thread Asenchi
On Wed, 2003-02-26 at 05:37, Thanos Tsouanas wrote:
 Hello everyone..
 I am having a similar problem which wont fix with those :(
 Im using 4.7-stable and a logitech usb mouse with wheel...
 
 from the XF86Config file...
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol MouseSystems
 Option  Device /dev/sysmouse
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 EndSection
 
 
 
 from the rc.conf file...
 
 moused_enable=NO
 moused_type=NO
To add on to what everyone else said, I would do this also:
 Option  Protocol auto
 Option  Device /dev/ums0

This should fix your problem.  I would take moused_enable=NO
completely out of rc.conf or comment it.  This way it doesn't run. 
Granted NO should work, but...

 
 
 from ps aux | grep mouse   
 root  99  0.3  0.1   912  512  ??  Ss   12:17PM   0:00.66 /usr/sbin/moused -p 
 /dev/ums0 -I
 /var/run/moused.ums0.pid
 
 
 I see in /dev that sysmouse is different from ums0...
 what changes shud i do?
 why is moused started?
 
 Thank you!

Good luck!

Curt
 
 __
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, more
 http://taxes.yahoo.com/
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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


Re: Floppy install

2003-02-26 Thread Asenchi
On Thu, 2003-02-27 at 00:52, Mike wrote:
 In the 4.7 release there is a /bin in 5.0 there is a /base will the
 instructions from 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-m
 edia.html
 Still work?

What version do you want to install?
 
 If there was a way to install minimum from floppies then use the CD ROM
 that would also be great!

I think more information is needed...

Curt


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


RE: Floppy install

2003-02-26 Thread Asenchi
On Thu, 2003-02-27 at 01:57, Mike wrote:
 I am stuck having to install FreeBSD via floppies. I would like to
 install 5.0. can I use the same way the handbook shows for 4.7?
 Or is there a way I can do a mini install and get the rest from my CD
 ROM. My CD wont boot, the headless install failed the ftp failed the lap
 link failed the BackPack CDROM failed. It's an IBM ThinkPad 765D. So now
 I am down to this.

What version of floppies do you have?  If you have 5.0, you can boot
with them, then select as you installation media the CD-Rom (if you have
5.0).  If you don't have 5.0 floppies, it might be easier to install 4.7
then update from a full install with cvsup.

Curt


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


Re: scroll mouse

2003-02-25 Thread Asenchi
I believe everyone is talking about:

[snip]
Option Protocol auto
[snip]

Curt

On Tue, 2003-02-25 at 14:25, Brian Henning wrote:
 
 - Original Message -
 From: Willie Viljoen [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; freebsd [EMAIL PROTECTED]; Brian
 Henning [EMAIL PROTECTED]
 Sent: Tuesday, February 25, 2003 1:18 PM
 Subject: Re: scroll mouse
 
 
  On Tuesday 25 February 2003 21:11, someone, possibly joshua lokken, typed:
   /usr/X11R6/lib/X11/XF86Config
   ...
   Section InputDevice
   Identifier Mouse0
   Driver mouse
   Option Protocol MouseSystems
   Option Device /dev/sysmouse
   Option Buttons 5
   Option ZAxisMapping 4 5
   EndSection
 
   You can try using the Auto protocol, that's always worked for me.  I
   don't spot any [obvious] problems...
  
   Joshua
 
  Joshua is spot on. With any PS/2 mouse that is properly supported by moused,
  you should use the auto protocol in your XF86Config. The reason for this
  specific problem is that the MouseSystems protocol (which is the obsolete
  protocol that used to be used for 3 button mice) does not have a Z axis.
  The auto protocol will work just fine though.
 
  Will
 
  --
  Willie Viljoen
  Freelance IT Consultant
 
  214 Paul Kruger Avenue, Universitas
  Bloemfontein
  9321
  South Africa
 
  +27 51 522 15 60
  +27 51 522 44 36 (after hours)
  +27 82 404 03 27 (mobile)
 
  [EMAIL PROTECTED]
 
 
 You are talking about Auto in the XF86Config file and not the rc.conf file,
 correct?
 Option Device auto
 i will give that a try.
 
 thanks,
 brian
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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


Re: make buildworld failure...

2003-02-19 Thread Asenchi
Sorry, I should have reported...

I just did another update, (with the same file) and used the GENERIC
kernel to build it.  Then reconfig'd my kern.

This fixed it.  Thanks for all of your help.

Curt Micol

On Wed, 2003-02-19 at 17:16, Kris Kennaway wrote:
 On Tue, Feb 18, 2003 at 08:43:48PM -0500, Asenchi wrote:
  I am not quite sure how I did this, considering I put:
  
  RELENG_4 in my sup file...
  
  Ok, so let me see if I can fix this, I would appreciate it if you
  could correct me if I am wrong.
  
  So I need to tag=RELENG_4 in my make file.  Why didn't this work the
  first time?  I used the file recommended in the handbook here:
  ftp://ftp.jp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/example
  s/cvsup/stable-supfile
  
  Why would this go to 5.0?
 
 I'd have to see the exact file you used.
 
 Kris



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



make buildworld failure...

2003-02-18 Thread Asenchi
Hello Everyone,

I have a little problem that popped up. I have searched, not
intensively, but for about an hour for an answer and am stumped.  I
actually don't even really know what to search for, but you should
always research before you ask...Here is the problem:

I just cvsup'd my sources and have been running through the processes
fine, but when I went to do:

palea# make kernel KERNCONF=PALEA

I get this error:
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf; 
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  config  -d /usr/obj/usr/src/sys/PALEA  /usr/src/sys/i386/conf/PALEA
config: /usr/src/sys/i386/conf/PALEA:76: devices with zero units are not
likely to be correct
*** Error code 1

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

Stop in /usr/src.
palea# 

I went to my kernel to look at line 76 and this is where it put me
(using vi):

(Cursor here)#Floppy Drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
device  fd1 at fdc0 drive 1

I can't figure this out.  As there is not 0 in the #Floppy Drives
line.

Here is:

palea# uname -a
FreeBSD palea.grebner.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Feb 10
16:10:13 EST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PALEA  i386

If there is anything else you need me to provide let me know.  Thank you
for any advice/suggestions you can give.

I love this os. Curt Micol


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



Re: make buildworld failure...

2003-02-18 Thread Asenchi
On Tue, 2003-02-18 at 15:58, IAccounts wrote:
  I went to my kernel to look at line 76 and this is where it put me
  (using vi):
 
  (Cursor here)#Floppy Drives
  device  fdc0at isa? port IO_FD1 irq 6 drq 2
  device  fd0 at fdc0 drive 0
  device  fd1 at fdc0 drive 1
 
  I can't figure this out.  As there is not 0 in the #Floppy Drives
  line.
 
 Post the few lines leading up to line 76. Many times, (I have noticed) a
 compiler will pooch on a line and give the line number of the following
 line.

I didn't see anything there, but take a look.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor
Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

device  isa
device  eisa
device  pci

#Floppy Drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
device  fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0 

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15

Is it just me that finds this strange?  Thanks. Curt Micol
 
 Perhaps this is the case here.
 
 Steve
 
 
 
  Here is:
 
  palea# uname -a
  FreeBSD palea.grebner.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Feb 10
  16:10:13 EST 2003
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PALEA  i386
 
  If there is anything else you need me to provide let me know.  Thank you
  for any advice/suggestions you can give.
 
  I love this os. Curt Micol
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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



RE: make buildworld failure...

2003-02-18 Thread Asenchi
I am not quite sure how I did this, considering I put:

RELENG_4 in my sup file...

Ok, so let me see if I can fix this, I would appreciate it if you
could correct me if I am wrong.

So I need to tag=RELENG_4 in my make file.  Why didn't this work the
first time?  I used the file recommended in the handbook here:
ftp://ftp.jp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/example
s/cvsup/stable-supfile

Why would this go to 5.0?

Curt Micol

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Kris Kennaway
 Sent: Tuesday, February 18, 2003 8:00 PM
 To: Asenchi
 Cc: [EMAIL PROTECTED]
 Subject: Re: make buildworld failure...


 On Tue, Feb 18, 2003 at 03:42:45PM -0500, Asenchi wrote:

  I get this error:
  mkdir -p /usr/obj/usr/src/sys
  cd /usr/src/sys/i386/conf;
 
 PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/us
 r/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/
 usr/bin  config  -d /usr/obj/usr/src/sys/PALEA
 /usr/src/sys/i386/conf/PALEA
  config: /usr/src/sys/i386/conf/PALEA:76: devices with
 zero units are not
  likely to be correct
  *** Error code 1

 You are trying to build a FreeBSD 5.0 kernel from a FreeBSD 4.x (or
 older) kernel configuration file.  This will not work :-)

 Did you really mean to upgrade to 5.0?

 Kris



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



RE: OT tunning network

2003-02-16 Thread Asenchi
I apologize, I was thinking the clients were outside...sorry I
mis-read your message.

 -Original Message-
 From: faisal gillani [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 16, 2003 3:09 PM
 To: Asenchi
 Subject: RE: OT tunning network



 --- Asenchi [EMAIL PROTECTED] wrote:
  I think most here are going to ask what type of
  connection you
  have...if you have a 56kbps, this is really good! :)
 


 i told the this issue is going on MY LAN  100mbps

  Curt
 
  For the willing and proud, FreeBSD. -no idea
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On
  Behalf Of
   faisal gillani
   Sent: Sunday, February 16, 2003 2:01 PM
   To: [EMAIL PROTECTED]
   Subject: OT tunning network
  
  
   Well sorry for this Ot Question
  
   i have a 100mbps network
   utp cable 10/100 mbps switch hub
   60 clients consisting of Linux , Windows  solaris
  O/S
   Dns is used for name resolution
   there is a local webserver Apache running on my
   network which provides large media files to
  clients as
   downloads...
   the problem that when clients downloads the
  download
   speed they get is ranging from 400kbps to 1.5 mbps
  ..
   both in rush hour  off hours .
   so i wanted to know is that normal ? if not then
  wat
   can be the problem  how can i fix it ?
  
   thankx for reading
  
   =
   *:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$
  
   __
   Do you Yahoo!?
   Yahoo! Shopping - Send Flowers for Valentine's Day
   http://shopping.yahoo.com
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body
  of the message
  
 


 =
 *:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$

 __
 Do you Yahoo!?
 Yahoo! Shopping - Send Flowers for Valentine's Day
 http://shopping.yahoo.com



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



RE: OT tunning network

2003-02-16 Thread Asenchi
I think most here are going to ask what type of connection you
have...if you have a 56kbps, this is really good! :)

Curt

For the willing and proud, FreeBSD. -no idea
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 faisal gillani
 Sent: Sunday, February 16, 2003 2:01 PM
 To: [EMAIL PROTECTED]
 Subject: OT tunning network


 Well sorry for this Ot Question

 i have a 100mbps network
 utp cable 10/100 mbps switch hub
 60 clients consisting of Linux , Windows  solaris O/S
 Dns is used for name resolution
 there is a local webserver Apache running on my
 network which provides large media files to clients as
 downloads...
 the problem that when clients downloads the download
 speed they get is ranging from 400kbps to 1.5 mbps ..
 both in rush hour  off hours .
 so i wanted to know is that normal ? if not then wat
 can be the problem  how can i fix it ?

 thankx for reading

 =
 *:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$

 __
 Do you Yahoo!?
 Yahoo! Shopping - Send Flowers for Valentine's Day
 http://shopping.yahoo.com

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



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



RE: dhcp

2003-02-06 Thread Asenchi
also maybe check /etc/rc.local to make sure that it isn't starting there
either.  If dhclient is running on startup then in your local daemons, then
it will also cause this problem.

Attach as bill suggested those files and this will help tons.

Curt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Moran
Sent: Thursday, February 06, 2003 3:09 PM
To: Jason Cave
Cc: [EMAIL PROTECTED]
Subject: Re: dhcp


Jason Cave wrote:
 When I do dhclient rl0, and it doesnt give an on screen error it just
 sets the ip to 0.0.0.0.  Other times it spouts alot of text with this
 line at the top.  Feb  5 22:17:52 c68 dhclient: Can't bind to dhcp
 address: Address already in use.

This means there is already a dhclient running.  (you can't run it twice
on the same network card).  That particular error is probably a result
of your experimenting, and is probably not the cause of your problem.

Please send your configuration information.  Attach /etc/rc.conf to your
next email, as well as the output of 'ifconfig -a' (while the machine is
plugged in and having trouble)

Please look in /var/log/messages for any dhclient errors.  Actually, do
this:
grep 'dhclient' /var/log/messages  /some/file
and attach /some/file to the next email (along with the other requested
output).

 My isp says its not a problem with
 their system.

I'll bet they're correct.

 Nor is there any settings to stop the machine from using
 the dhcp server.

What do you mean by this?  That the ISP won't change or that FreeBSD won't?
The latter is definately untrue, FreeBSD can be configured to use or not
use DHCP as you desire.

 Thank you for all the assistance so far.

Hope we get this figured out for you.


 Jason Cave
 [EMAIL PROTECTED]


 From: Bill Moran [EMAIL PROTECTED]
 To: Jason Cave [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: dhcp
 Date: Thu, 06 Feb 2003 14:31:34 -0500

 Jason Cave wrote:

 When I do dhclient it just sets the ip to 0.0.0.0.  I know it sets it
 to this as it couldnt find the dhcp server.


 How do you know that the cause of the failure is that it can't find the
 server?  Do you get an error message?  What does it say?

 Is there a way to have it look at a specific ip for the dhcp server?


 Not that I know of.

 Are you using the same NIC as when it worked?  Many ISPs require you to
 register a MAC address before they will assign an IP.

 Is there any information in /var/log/messages about the failure?

 It use to work with versions 4.5 and 4.6.  I am unable to locate
 either of these older versions on the network.  Anyone know where to
 get this the older versions?


 Behaviour has not changed in 4.7, to my knowledge.  My machine here
 has been
 4.6 and is now 4.7 and still works fine as a dhclient.

 You should still be able to download 4.6.2 isos from the ftp sites.
 And if
 you want to go back further, you can use cvsup to downgrade a 4.7
 system.
 (just use a RELENG_4_5 tag)

 All replies are appreciated.


 Hope this is helpful.

 Jason Cave
 [EMAIL PROTECTED]

 From: Bill Moran [EMAIL PROTECTED]
 To: Jason Cave [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: dhcp
 Date: Thu, 06 Feb 2003 09:28:45 -0500

 Jason Cave wrote:

 Is there another way for FreeBSD to check for a DHCP server, like =
 another program.  dhclient just says
 address family and protocal family are incompatable.  FreeBSD use to =
 work and other Linux OS's can
 see it without problems.  Its a connection where the DHCP server
 has to =
 assign the ip or the ip isnt
 allowed outside the network.



 I've never seen dhclient have trouble with any DHCP server.

 What version of FreeBSD?  You say it used to work, when did it
 stop working?
 Did you upgrade?

 --
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com




 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
 http://join.msn.com/?page=features/junkmail





 --
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com



 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus


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




--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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


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



RE: Good way of upgrading from FreeBSD 4.5?

2003-02-05 Thread Asenchi
Johannes,

My interpretation of your email is that you need to look into CVSup.  Read
this link:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

And when it comes to making the make.conf file, read this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

These will help you upgrade your entire os without much hassle.  You could
also Google cvsup and see what you find there...

Hope this helps,

Curt Micol

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Johannes
Angeldorff
Sent: Wednesday, February 05, 2003 11:14 AM
To: [EMAIL PROTECTED]
Subject: Good way of upgrading from FreeBSD 4.5?


Dear FreeBSD:ers,

I am happy to use FreeBSD for web, mail and applications serving. But
when I come to the question about how to upgrade to a newer FreeBSD
version, I really could need your expertise!

We have two FreeBSD 4.5 boxes. Both boxes have been installed with
FreeBSD 4.5 from CD, and then tweaked with reconfigured kernels and a
few applications installed, mainly qmail (replacing sendmail),
mod-php, mysql, pico and a few more. Both boxes have around 25 users
each. Both boxes have tweaked settings in /etc/rc.conf and some other
/etc/-files.

My question is, if anyone can give a hint on how to upgrade safely
from FreeBSD 4.5 to FreeBSD 5.0...?

If we download FreeBSD 5.0 and install it on our FreeBSD 4.5 boxes,
what will we have to do? Is there risk that all settings, contents
and installed applications will be erased?

Very thankful for all help on this matter...!
--
Regards,
Smartnet Sverige AB

Johannes Angeldorff

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


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



RE: Good way of upgrading from FreeBSD 4.5?

2003-02-05 Thread Asenchi
Sorry, when it comes to making your supfile...my apologies.

Curt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Asenchi
Sent: Thursday, February 06, 2003 12:24 AM
To: Johannes Angeldorff; [EMAIL PROTECTED]
Subject: RE: Good way of upgrading from FreeBSD 4.5?


Johannes,

My interpretation of your email is that you need to look into CVSup.  Read
this link:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

And when it comes to making the make.conf file, read this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

These will help you upgrade your entire os without much hassle.  You could
also Google cvsup and see what you find there...

Hope this helps,

Curt Micol

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Johannes
Angeldorff
Sent: Wednesday, February 05, 2003 11:14 AM
To: [EMAIL PROTECTED]
Subject: Good way of upgrading from FreeBSD 4.5?


Dear FreeBSD:ers,

I am happy to use FreeBSD for web, mail and applications serving. But
when I come to the question about how to upgrade to a newer FreeBSD
version, I really could need your expertise!

We have two FreeBSD 4.5 boxes. Both boxes have been installed with
FreeBSD 4.5 from CD, and then tweaked with reconfigured kernels and a
few applications installed, mainly qmail (replacing sendmail),
mod-php, mysql, pico and a few more. Both boxes have around 25 users
each. Both boxes have tweaked settings in /etc/rc.conf and some other
/etc/-files.

My question is, if anyone can give a hint on how to upgrade safely
from FreeBSD 4.5 to FreeBSD 5.0...?

If we download FreeBSD 5.0 and install it on our FreeBSD 4.5 boxes,
what will we have to do? Is there risk that all settings, contents
and installed applications will be erased?

Very thankful for all help on this matter...!
--
Regards,
Smartnet Sverige AB

Johannes Angeldorff

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


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


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



RE: Firewall + DHCP (STILL)

2003-01-27 Thread Asenchi
Hello,

I emailed and receive some help this past weekend.  Thank you all for
responding, however none of the suggestions were able to cure my problem.

Here is the issue:
I am setting up a firewall, IPFW + NATD that will act as a gateway.  I have
two NIC's that are configured.  The OIF will be connected to a cable modem
that assigns connections by DHCP.  I am not able to keep a connection with
my OIF concerning this.

It did work once.  However when I removed the 'all any to any' rule in
rc.firewall it dropped.  Never to connect again.

Some of the suggestions so far have been:
commenting out the ifconfig_vr0='DHCP' DONE
This suggest that your dhclient can not bind to the port it needs. You may
want to check what is bound to that port. See 'lsof' and 'netstat'. DONE

I have tried both of these.  Here is a schematic of the ideal situation:

NET -- Cable Modem  Firewall (IPFW + NAT, Gateway)  Internal NET.

Can someone please help me?  I really appreciate the help so far.

Thanks,

Curt Micol

PS: Below is a bunch of info on my setup, let me know if you want more. Oh
and I know that there is no ip assigned to vr0, this is bsd, not me. I have
tried to assign one and have also set 'ifconfig_vr0=DHCP' in rc.conf.

#uname -a
FreeBSD world.attbi.com 4.7-STABLE FreeBSD 4.7-STABLE #6: Fri Jan 24
22:05:56 EST 2003 asenchi@world:/usr/obj/usr/src/sys/ASENCHI  i386

#vi /etc/rc.firewall
#FIREWALL RULES

fwcmd=/sbin/ipfw

oif=vr0
onet=`ifconfig vr0 | grep inet  | awk '{print $6}'`
omask=`ifconfig vr0 | grep inet  | awk '{print $4}'`
oip=`ifconfig vr0 | grep inet  | awk '{print $2}'`

iif=rl0
inet=192.168.0.0
imask=255.255.255.0
iip=192.168.0.1

${fwcmd} -f flush

${fwcmd} add 0050 divert natd all from any to any via ${oif}

${fwcmd} add 0200 allow all from any to any
${fwcmd} add 0500 allow all from ${iip} to ${inet}:${imask}
${fwcmd} add 0501 allow all from ${inet}:${imask} to ${iip}
${fwcmd} add 0502 allow tcp from any to any established
${fwcmd} add 0503 deny all from ${inet}:${imask} to any in via ${oif}
${fwcmd} add 0504 deny all from ${onet}:${omask} to any in via ${iif}
${fwcmd} add 0505 pass all from any to any frag
${fwcmd} add 0506 pass tcp from any to ${oip} 53 setup
${fwcmd} add 0507 pass udp from any 53 to ${oip}
${fwcmd} add 0508 pass udp from ${oip} 53 to any
${fwcmd} add 0509 pass udp from ${oip} to any 53 keep-state
${fwcmd} add 0510 allow tcp from any to any 22 setup
${fwcmd} add 0511 allow tcp from any 22 to any setup
${fwcmd} add 0550 allow udp from any to any 68 out via ${oif}
${fwcmd} add 0551 allow udp from any 68 to any out via ${oif}
${fwcmd} add 0552 allow udp from any 67 to any in via ${oif}

#ps -acux
USER  PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
root  225  0.0  0.1   420  216  v1  R+   10:30PM   0:00.00 ps
root1  0.0  0.1   552  316  ??  ILs   5:28PM   0:00.01 init
root2  0.0  0.0 00  ??  DL5:28PM   0:00.00 pagedaemon
root3  0.0  0.0 00  ??  DL5:28PM   0:00.00 vmdaemon
root4  0.0  0.0 00  ??  DL5:28PM   0:00.00 bufdaemon
root5  0.0  0.0 00  ??  DL5:28PM   0:00.00 vnlru
root6  0.0  0.0 00  ??  DL5:28PM   0:00.01 syncer
root   25  0.0  0.0   212   96  ??  Is5:28PM   0:00.00 adjkerntz
root   66  0.0  0.3   944  728  ??  Is   10:28PM   0:00.00 dhclient
root  114  0.0  0.1   432  288  ??  Is   10:28PM   0:00.00 natd
root  137  0.0  0.3   972  656  ??  Ss   10:28PM   0:00.08 syslogd
root  145  0.0  0.3  1056  696  ??  Is   10:28PM   0:00.00 inetd
root  147  0.0  0.3  1024  764  ??  Is   10:28PM   0:00.00 cron
root  149  0.0  0.7  2324 1744  ??  Is   10:28PM   0:00.00 sshd
qmaild173  0.0  0.2   896  392 con- I10:28PM   0:00.00 tcpserver
root  174  0.0  0.2   896  392 con- I10:28PM   0:00.00 tcpserver
qmails175  0.0  0.2   940  500 con- I10:28PM   0:00.03 qmail-send
qmaill180  0.0  0.2   896  504 con- I10:28PM   0:00.00 splogger
root  181  0.0  0.2   896  476 con- I10:28PM   0:00.00 qmail-lspawn
qmailr182  0.0  0.2   896  412 con- I10:28PM   0:00.00 qmail-rspawn
qmailq183  0.0  0.2   884  440 con- I10:28PM   0:00.00 qmail-clean
root  184  0.0  0.3   952  644  v0  Is+  10:28PM   0:00.00 getty
root  185  0.0  0.4  1268  948  v1  Is   10:28PM   0:00.03 login
root  186  0.0  0.3   952  644  v2  Is+  10:28PM   0:00.00 getty
root  187  0.0  0.3   952  644  v3  Is+  10:28PM   0:00.00 getty
root  188  0.0  0.3   952  644  v4  Is+  10:28PM   0:00.00 getty
root  189  0.0  0.3   952  644  v5  Is+  10:28PM   0:00.00 getty
root  190  0.0  0.3   952  644  v6  Is+  10:28PM   0:00.00 getty
root  191  0.0  0.3   952  644  v7  Is+  10:28PM   0:00.00 getty
asenchi   198  0.0  0.2   636  440  v1  I10:28PM   0:00.01 sh
root  209  0.0  0.4  1484 1084  v1  S10:29PM   0:00.08 csh
root0  0.0  0.0 00  ??  DLs   5:28PM   0:00.00 swapper

RE: Firewall + DHCP (STILL)

2003-01-27 Thread Asenchi

What do you mean by not able to _keep_ a connection?  Are you saying that
your DHCP addy expires and can't be renewed?  Or is there something more to
the problem (i.e., the link layer connection fails?)

It won't pick up an ip from my provider.  When I boot up, ifconfig in dmesg
shows an ip, but nothing will connect.  If I do an 'ifconfig -a' it will
show up 0.0.0.0.

To clarify:
if you type:
killall dhclient
ifconfig vr0 inet 10.1.1.1 netmaks 255.0.0.0
ifconfig
Does it display the 10.1.1.1 address, or is there still no ip addy on
vr0?

Yes I can configure it for an address...I think it has something to do with
dhclient.

 ${fwcmd} add 0200 allow all from any to any

If this is truely the firewall rules you are using, then every rule after
this one is redundant, as this constitutes an open firewall, which is
almost the same as no firewall at all (except for the divert rule).

Yes I am aware of this.  I have it in there to try and get a connection.  It
normally isn't in there.

Are you trying to get DHCP addys on both interfaces?

Sorry I tried switching cards and settings.  Now I am sticking with vr0.
Nothing happened(ens) either way.

Ok, here is my rc.conf.  I took your advice and configured the lo0.  I
included all my info again just in case, with rc.conf at the top.  It is all
the same info as I am on a windows machine as well.  So transferring from
floppy becomes a hassle.

Thank you very much for your help.

Curt Micol

#vi /etc/rc.conf
# -- sysinstall generated deltas -- # Thu Nov 14 10:01:53 2002
# Created: Thu Nov 14 10:01:53 2002
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#Network Stuff
hostname=world.attbi.com
ifconfig_vr0=DHCP
ifconfig_rl0=inet 192.168.0.1 netmask 255.255.255.0
ifconfig_lo0=inet 127.0.0.1 netmask 255.0.0.0
gateway_enable=YES

#Misc Options
inetd_enable=YES
kern_securelevel_enable=NO
nfs_reserved_port_only=YES
ntpdate_enable=YES
ntpdate_flags=clock.linuxshell.net
sshd_enable=YES
sshd_flags=-4
usbd_enable=NO
syslogd_enable=YES
syslogd_flags=-ss
clear_tmp_enable=YES
icmp_drop_redirect=YES
icmp_log_redirect=YES
icmp_bmcastecho=NO
fsck_y_enable=YES
linux_enable=NO
moused_enable=NO
portmap_enable=NO

#Firewall
firewall_enable=YES
#firewall_type=OPEN
firewall_type=/etc/rc.firewall
firewall_quiet=YES
firewall_logging=YES
log_in_vain=YES

#NATD
natd_enable=YES
natd_interface=vr0
natd_flags=-f /etc/natd.conf

sendmail_enable=NONE

#qmail options
qmail_smtp_enable=YES
qmail_pop_enable=YES
qmail_enable=YES

#uname -a
FreeBSD world.attbi.com 4.7-STABLE FreeBSD 4.7-STABLE #6: Fri Jan 24
22:05:56 EST 2003 asenchi@world:/usr/obj/usr/src/sys/ASENCHI  i386

#vi /etc/rc.firewall
#FIREWALL RULES

fwcmd=/sbin/ipfw

oif=vr0
onet=`ifconfig vr0 | grep inet  | awk '{print $6}'`
omask=`ifconfig vr0 | grep inet  | awk '{print $4}'`
oip=`ifconfig vr0 | grep inet  | awk '{print $2}'`

iif=rl0
inet=192.168.0.0
imask=255.255.255.0
iip=192.168.0.1

${fwcmd} -f flush

${fwcmd} add 0050 divert natd all from any to any via ${oif}

${fwcmd} add 0200 allow all from any to any
${fwcmd} add 0500 allow all from ${iip} to ${inet}:${imask}
${fwcmd} add 0501 allow all from ${inet}:${imask} to ${iip}
${fwcmd} add 0502 allow tcp from any to any established
${fwcmd} add 0503 deny all from ${inet}:${imask} to any in via ${oif}
${fwcmd} add 0504 deny all from ${onet}:${omask} to any in via ${iif}
${fwcmd} add 0505 pass all from any to any frag
${fwcmd} add 0506 pass tcp from any to ${oip} 53 setup
${fwcmd} add 0507 pass udp from any 53 to ${oip}
${fwcmd} add 0508 pass udp from ${oip} 53 to any
${fwcmd} add 0509 pass udp from ${oip} to any 53 keep-state
${fwcmd} add 0510 allow tcp from any to any 22 setup
${fwcmd} add 0511 allow tcp from any 22 to any setup
${fwcmd} add 0550 allow udp from any to any 68 out via ${oif}
${fwcmd} add 0551 allow udp from any 68 to any out via ${oif}
${fwcmd} add 0552 allow udp from any 67 to any in via ${oif}

#ps -acux
USER  PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
root  225  0.0  0.1   420  216  v1  R+   10:30PM   0:00.00 ps
root1  0.0  0.1   552  316  ??  ILs   5:28PM   0:00.01 init
root2  0.0  0.0 00  ??  DL5:28PM   0:00.00 pagedaemon
root3  0.0  0.0 00  ??  DL5:28PM   0:00.00 vmdaemon
root4  0.0  0.0 00  ??  DL5:28PM   0:00.00 bufdaemon
root5  0.0  0.0 00  ??  DL5:28PM   0:00.00 vnlru
root6  0.0  0.0 00  ??  DL5:28PM   0:00.01 syncer
root   25  0.0  0.0   212   96  ??  Is5:28PM   0:00.00 adjkerntz
root   66  0.0  0.3   944  728  ??  Is   10:28PM   0:00.00 dhclient
root  114  0.0  0.1   432  288  ??  Is   10:28PM   0:00.00 natd
root  137  0.0  0.3   972  656  ??  Ss   10:28PM   0:00.08 syslogd
root  145  0.0  0.3  1056  696  ??  Is   10:28PM   0:00.00 inetd
root  147  0.0  0.3  1024

RE: Firewall + DHCP (STILL)

2003-01-27 Thread Asenchi
I can't figure this out?  I want to reiterate my appreciation for your help.
It still isn't working.

I added:
network_interfaces=vr0 rl0 lo0
and even rebooted to see if that would work (rather than using
/etc/netstart) nothing.

I guess let me ask this, if you were going to setup a firewall running natd,
configured with two nics and the oif connected to DHCP would you do this
following?

Base install,
Kernel reconfig installing ipfw + natd
configuring in rc.conf oif card w/ DHCP and internal with generic ip's
config rc.firewall

what am i missing? again thank you...

frustrated,

curt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Moran
Sent: Monday, January 27, 2003 11:57 PM
To: Asenchi
Cc: freebsd-questions@FreeBSD. ORG
Subject: Re: Firewall + DHCP (STILL)


Asenchi wrote:
What do you mean by not able to _keep_ a connection?  Are you saying
that
your DHCP addy expires and can't be renewed?  Or is there something more
to
the problem (i.e., the link layer connection fails?)

 It won't pick up an ip from my provider.  When I boot up, ifconfig in
dmesg
 shows an ip, but nothing will connect.  If I do an 'ifconfig -a' it will
 show up 0.0.0.0.

OK, that clears that up.

To clarify:
if you type:
killall dhclient
ifconfig vr0 inet 10.1.1.1 netmaks 255.0.0.0
ifconfig
Does it display the 10.1.1.1 address, or is there still no ip addy on
vr0?

 Yes I can configure it for an address...I think it has something to do
with
 dhclient.

Ok, so it appears as though the NIC and the driver are working ...

${fwcmd} add 0200 allow all from any to any

If this is truely the firewall rules you are using, then every rule after
this one is redundant, as this constitutes an open firewall, which is
almost the same as no firewall at all (except for the divert rule).

 Yes I am aware of this.  I have it in there to try and get a connection.
It
 normally isn't in there.

Gotcha, so for now we're ruling out the firewall as a problem, good
strategy.

 #vi /etc/rc.conf
 # -- sysinstall generated deltas -- # Thu Nov 14 10:01:53 2002
 # Created: Thu Nov 14 10:01:53 2002
 # Enable network daemons for user convenience.
 # Please make all changes to this file, not to /etc/defaults/rc.conf.
 # This file now contains just the overrides from /etc/defaults/rc.conf.
 #Network Stuff
 hostname=world.attbi.com

Try adding a line at this point in the file (actually, I don't think it
really matters exactly _where_ you put it in the file)
network_interfaces=vr0 rl0 lo0
And see if things start acting nicer.  This may solve the problem, let
me know either way.

 ifconfig_vr0=DHCP
 ifconfig_rl0=inet 192.168.0.1 netmask 255.255.255.0
 ifconfig_lo0=inet 127.0.0.1 netmask 255.0.0.0
 gateway_enable=YES

Snip the remaining rc.conf and other sys info

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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


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



RE: Firewall + DHCP (STILL)

2003-01-27 Thread Asenchi
Well I think I fixed it...However it seems to be a weird fix.  Here is what
I did.

After startup, the system couldn't find any routing information.  I would
disable the firewall, natd anything but it wouldn't load up any routes.  so
i decided to kill dhclient, and by chance i ran /etc/netstart and dhclient
restarted with DHCP parameters for my card.  Works perfect...only thing is,
if i ever reboot the machine i hvae to kill dhclient everytime to get a
connection...

anyone know why? anything I can do to stop this?

Thanks Bill for your help,

Curt Micol


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



Firewall + Cable Modem

2003-01-25 Thread Asenchi
Hello All,

I have worked by butt off on this, reading everything I could find on the
subjects.  Some reason I can't get this to work.  I know it is probably
really simple, but could someone please help me?

I am configuring an IPFW firewall that will act as a gateway and run natd.
It will be on a Dynamic IP cable modem.  There will be 25 users behind it.
I cannot get my card to remain connected, it keeps dropping its addressing,
or so it appears in IFCONFIG.  I have included below outputs of various
processes for you all.  Thank you in advance for any help you are able to
offer.

Curt Micol

#uname -a
FreeBSD world.attbi.com 4.7-STABLE FreeBSD 4.7-STABLE #6: Fri Jan 24
22:05:56 EST 2003 asenchi@world:/usr/obj/usr/src/sys/ASENCHI  i386

#vi /etc/rc.conf
# -- sysinstall generated deltas -- # Thu Nov 14 10:01:53 2002
# Created: Thu Nov 14 10:01:53 2002
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#Network Stuff
hostname=world.attbi.com
ifconfig_vr0=DHCP
ifconfig_rl0=inet 192.168.0.1 netmask 255.255.255.0
ifconfig_xl0=inet 192.168.1.1 netmask 255.255.255.0
gateway_enable=YES

#Misc Options
inetd_enable=NO
kern_securelevel_enable=NO
nfs_reserved_port_only=YES
ntpdate_enable=YES
ntpdate_flags=clock.linuxshell.net
sshd_enable=YES
sshd_flags=-4
usbd_enable=NO
syslogd_enable=YES
syslogd_flags=-ss
clear_tmp_enable=YES
icmp_drop_redirect=YES
icmp_log_redirect=YES
icmp_bmcastecho=NO
fsck_y_enable=YES
linux_enable=NO
moused_enable=NO
portmap_enable=NO

#Firewall
firewall_enable=YES
#firewall_type=OPEN
firewall_type=/etc/rc.firewall
firewall_quiet=YES
firewall_logging=YES
log_in_vain=YES

#NATD
natd_enable=YES
natd_interface=vr0
natd_flags=-f /etc/natd.conf

sendmail_enable=NONE

#qmail options
qmail_smtp_enable=YES
qmail_pop_enable=YES
qmail_enable=YES

#ps -acux
USER  PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
root 1033  0.0  0.1   420  248  v0  R+3:20AM   0:00.00 ps
root1  0.0  0.1   552  316  ??  ILs   9:43PM   0:00.01 init
root2  0.0  0.0 00  ??  DL9:43PM   0:00.00 pagedaemon
root3  0.0  0.0 00  ??  DL9:43PM   0:00.00 vmdaemon
root4  0.0  0.0 00  ??  DL9:43PM   0:00.02 bufdaemon
root5  0.0  0.0 00  ??  DL9:43PM   0:00.05 vnlru
root6  0.0  0.0 00  ??  DL9:43PM   0:00.47 syncer
root   25  0.0  0.0   212   96  ??  Is9:43PM   0:00.00 adjkerntz
root   62  0.0  0.3   944  728  ??  Is2:43AM   0:00.00 dhclient
root  130  0.0  0.3   972  656  ??  Ss2:43AM   0:00.26 syslogd
root  138  0.0  0.3  1024  764  ??  Is2:43AM   0:00.01 cron
root  140  0.0  0.7  2324 1744  ??  Is2:43AM   0:00.00 sshd
qmaild164  0.0  0.2   896  392 con- I 2:43AM   0:00.00 tcpserver
root  165  0.0  0.2   896  392 con- I 2:43AM   0:00.00 tcpserver
qmails166  0.0  0.2   948  508 con- I 2:43AM   0:00.10 qmail-send
qmaill171  0.0  0.2   896  504 con- I 2:43AM   0:00.02 splogger
root  172  0.0  0.2   896  476  ??  I 2:43AM   0:00.01 qmail-lspawn
qmailr173  0.0  0.2   896  412  ??  I 2:43AM   0:00.00 qmail-rspawn
qmailq174  0.0  0.2   884  440  ??  I 2:43AM   0:00.00 qmail-clean
root  175  0.0  0.4  1268  948  v0  Is2:43AM   0:00.03 login
root  177  0.0  0.3   952  644  v2  Is+   2:43AM   0:00.00 getty
root  178  0.0  0.3   952  644  v3  Is+   2:43AM   0:00.00 getty
root  179  0.0  0.3   952  644  v4  Is+   2:43AM   0:00.00 getty
root  180  0.0  0.3   952  644  v5  Is+   2:43AM   0:00.00 getty
root  181  0.0  0.3   952  644  v6  Is+   2:43AM   0:00.00 getty
root  182  0.0  0.3   952  644  v7  Is+   2:43AM   0:00.00 getty
asenchi   198  0.0  0.2   636  440  v0  I 2:43AM   0:00.01 sh
root  212  0.0  0.4  1488 1116  v0  S 2:44AM   0:00.21 csh
root  300  0.0  0.4  1268  948  v1  Is2:46AM   0:00.04 login
root  677  0.0  0.4  1492 1128  v1  I+3:01AM   0:00.08 csh
root 1022  0.0  0.1   432  308  ??  Ss3:19AM   0:00.00 natd
root0  0.0  0.0 00  ??  DLs   9:43PM   0:00.00 swapper

#/etc/netstart
Doing stage one network startup:
Doing initial network setup:.
vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::240:33ff:fe5a:748a%vr0 prefixlen 64 scopeid 0x1
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 00:40:33:5a:74:8a
media: Ethernet autoselect (100baseTX full-duplex)
status: active
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=3rxcsum,txcsum
inet6 fe80::204:76ff:fec5:f4a2%xl0 prefixlen 64 scopeid 0x2
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
ether 00:04:76:c5:f4:a2
media: Ethernet autoselect (none)
status: no carrier
rl0: flags=8843UP

RE: phoenix

2003-01-25 Thread Asenchi
I have tried to install gtk1.2 but get an error similar to this:

Error, no iconv in C or libiconv (sorry I am writing this from my windows
machine so not sure of the exact error, but can post if necessary)

I am showing the port is broken however, it isn't even listed.  I am looking
here: /usr/ports/www/phoenix

Thank you,

Curt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben Williams
Sent: Saturday, January 25, 2003 4:08 AM
To: Asenchi
Cc: [EMAIL PROTECTED]
Subject: Re: phoenix



  Looks like you don't have gtk 1.2 installed. You can install it from
ports.

--
Benmailto:[EMAIL PROTECTED]

Saturday, January 25, 2003, 12:28:06 AM, you wrote:

A Ok, I am not sure why, but I can not get phoenix to work.  I have
A untar'd it and try:

A [asenchi@temple:~/phoenix] $ ./phoenix
A /phoenix-bin: error while loading shared libraries: libgtk-1.2.so.0:
A cannot open shared object file: No such file or directory

A FreeBSD temple.attbi.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0:
A Mon Jan 20 06:53:53 EST 2003 [EMAIL PROTECTED]:
A /usr/obj/usr/src/sys/ASENCHI  i386

A Thanks


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


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



RE: Firewall + Cable Modem

2003-01-25 Thread Asenchi
Where do you see that my firewall is set to accept by default?

how do I disable my firewall without recompiling a kernel?  Will
firewall_enable=NO actually work?  Won't this just set the default deny
rule as the firewall?

Why would I run INETD, I am not sure?  Most of the errors with DHCLIENT said
make sure there are certain services turned off in INETD.  Also, there isn't
a service listed in INETD that I believe I need to run this machine?  Do I?
Maybe I am not clear on something...

Thank you for your help, I really appreciate it.

Curt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew
Faircliff
Sent: Saturday, January 25, 2003 2:39 PM
To: Asenchi
Cc: [EMAIL PROTECTED]
Subject: Re: Firewall + Cable Modem


Hello,

It seems to me as though you are running two class C networks for your
internal computers (xl0 and rl0) and have your cable modem running under
vr0.

The NATD stuff looks cool. Disable your firewall (even though it seems to be
set to accept by default) and then fix your cable modem.

Try commenting out the ifconfig_vr0=DHCP line in your rc.conf.

Why are you not running INETD?

Matt.

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


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



phoenix

2003-01-24 Thread Asenchi
Ok, I am not sure why, but I can not get phoenix to work.  I have
untar'd it and try:

[asenchi@temple:~/phoenix] $ ./phoenix
./phoenix-bin: error while loading shared libraries: libgtk-1.2.so.0:
cannot open shared object file: No such file or directory

FreeBSD temple.attbi.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0:
Mon Jan 20 06:53:53 EST 2003 [EMAIL PROTECTED]:
/usr/obj/usr/src/sys/ASENCHI  i386

Thanks


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



question

2003-01-23 Thread Asenchi
Hello,

Could someone tell me where to get the clock in the bottom left hand
corner of this screenshot?
http://themes.freshmeat.net/screenshots/23716/

Is it native to Gnome?

Thanks,

Asenchi





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



Re: New to FreeBSD

2003-01-22 Thread Asenchi
On Wed, 2003-01-22 at 10:40, Nathan Kinkade wrote:
 On Wed, Jan 22, 2003 at 09:47:10AM +0200, JCBotha wrote:
  Dear Sir
  
  I am new to this operating system and became interested when I started to
  look at a solution for a network set-up. I do not know if I will be able to
  master this OS because I grew up with Windows and know nothing about UNIX OS
  systems. With windows I at least can help myself and find my way around.
  
  I need to set up a server that host an Internet (POP3) connection for three
  different networks that must not be able to communicate with one other. Top
  security is needed. The reason is this is a Teachers training collage, the
  one network is for the admin department and another for the staff and lastly
  the student network. Just by the way, will this modem connection be able to
  handle about 30 computers on the network. I know that an ISDN connection
  will be better but presently we do not have anything ells. The server that I
  would like to set up should be able to record all student activities in the
  sense to monitor the web pages visited and the printing that  has been done
  plus to forbid certain printings such as web pages.
  
  What do you suggest me to do, start from scratch and study a UNIX system or
  face the Windows server package.
  
  Yours truly
  
  JC Botha
 
 There is a tremendous amount of online documentation for FreeBSD (and
 many other UNIX derivative systems).  The first place to start is
 usually the FreeBSD Handbook at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
 (it's in other langs than English if you need them).  Also, the
 documentation that comes with each FreeBSD in the form of what are
 called man pages (manual pages) is very extensive and quite easy to
 use.  For more places on which to get help check out:
 http://www.freebsd.org/docs.html.  Of course, there are always support
 forums like this one (freebsd-question), as well as a couple of news
 groups.  There may very well be a FreeBSD users group near you as well.
 
 Per your own words, I suggest you start from scratch and study a UNIX
 system.  You will not regret the decision down the road.  You may find
 the learning curve somewhat steep if you have no familiarity with
 working at a command line.  However, once you hammer out some of the
 basics and begin to become proficient you will probably start to find MS
 Windows intolerably imposing and restrictive.
 
 Good luck,
 Nathan
 
 -- 
 GPG Public Key ID: 0x4250A04C
 gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
 http://63.105.21.156/gpg_nkinkade_4250A04C.asc
 

I agree with Nathan.  I picked up fBSD about a year and a half ago to
build a firewall.  Now I know how to configure most of the servers that
are needed, firewall, www, email.  I can setup a secure server in a half
a day and know my way around the system really well.

I won't lie to you, it takes time, but once you learn it you will never
understand why you use windows. (If it wasn't for my fiance I would use
fBSD all the time, but she isn't ready for the jump yet).

You should just jump in, there are tons of docs on the web...man pages
are amazing and the handbook is always up to date.

One thing I recommend, learn the command prompt before you put a gui
on.  That is one area that I really focused on, now I use a gui just b/c
it looks a little better.  Command line is the best way to work.

Welcome to the Real.

Asenchi



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



Re: New to FreeBSD

2003-01-22 Thread Asenchi
On Wed, 2003-01-22 at 12:25, Mark Rowlands wrote:
  I won't lie to you, it takes time, but once you learn it you will never
  understand why you use windows. (If it wasn't for my fiance I would use
  fBSD all the time, but she isn't ready for the jump yet).
 
 and you're still gonna marry her?good grief man, get your priorities 
 sorted!   
 
 ;-)
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

I know, I know...you are not the first to say that. :)


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



Re: New to FreeBSD

2003-01-22 Thread Asenchi
Well when the source becomes available on March 1st for Wife 1.0 I will
cvsup to the latest release...

:)


On Wed, 2003-01-22 at 14:29, Kirk Strauser wrote:
 
 At 2003-01-22T18:23:43Z, Asenchi [EMAIL PROTECTED] writes:
 
  I know, I know...you are not the first to say that. :)
 
 Let me be #3, then.  I set my wife on a FreeBSD workstation back before the
 upgrade from Fiance 1.0.  Get with the program, man!  :)
 -- 
 Kirk Strauser
 In Googlis non est, ergo non est.



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



possible problems in bootup

2002-12-23 Thread Asenchi
Hello,

I am having what seem to be problems in the boot process.  When it gets to
the ata0 device it sits for about a minute then continues like normal.  Is
this supposed to happen, am I doing something that I just don't know about
to make this happen?

Any help would be appreciated.

Thanks,

Curt Micol


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



RE: translation to ipfw?

2002-12-15 Thread Asenchi
Hello Gary,

If you were to read this paper
(http://www.freebsd-howto.com/HOWTO/Ipfw-HOWTO
 33pgs.) it would describe ipfw.  It will also do some comparisons w/
ipf vs. ipfw

I guess I didn't really translate, but I figure you should understand
the syntax and the idea behind the translation.

Thx,

Curt Micol

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gary D Kline
Sent: Sunday, December 15, 2002 1:53 PM
To: FreeBSD Mailing List
Subject: translation to ipfw?




Hi Folks,

Can anybody translate the following ipf rules to ipfw for me?
Given a few examples as a template, I should be able to
handle the rest myself.

According to some -security postings from 2000, the thought was
that ipf was superior  is this still the case?

thanks in advance,

gary



pass out quick on dc0 proto tcp from any to any keep state
pass out quick on dc0 proto udp from any to any keep state
pass out quick on dc0 proto icmp from any to any keep state
block out quick on dc0 all

# use next line if ISP uses DHCP
# pass in quick on dc0 proto udp from X.X.X.X/32 to any port = 68 keep
state

# Let in SSH on port 22
pass in quick on dc0 proto tcp from any to 216.231.43.140/32 port = 22
keep
state
pass in quick on dc0 proto udp from any to 216.231.43.140/32 port = 22
keep
state

.
.
.


# Let in FTP data connections
pass in quick on dc0 proto tcp from any to any port 7499  8501
pass in quick on dc0 proto tcp from any to any port = 21

# Let pings return
pass in quick on dc0 proto icmp from any to 216.231.43.140/32
icmp-type
echo



--
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public
service Unix


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


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



RE: cvsup

2002-12-15 Thread Asenchi
Have you:

#cd /usr/src

Then run make buildworld...

Curt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of lll 
Sent: Friday, December 13, 2002 2:09 AM
To: [EMAIL PROTECTED]
Subject: cvsup







Hello!
I have just made a cvsup to all source tree. All the files received is
with
,v. I cannot biuldwold because it says don't know how to make
buildworld.
I do
make buildworld from directory where is the new sources. What can I
do?
Thank you!

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail


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


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



RE: dos emulators

2002-12-15 Thread Asenchi
I wish I could go without using Foxpro.  The company I work for uses
it exclusively.  They are way behind times and I have talked to them
about porting data, but they won't budge.  So I thought I might see
if there was a way to get it on FreeBSD rather than w98 for obvious
reasons.

thanks for your help,

Curt Micol

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John
Bleichert
Sent: Saturday, December 14, 2002 2:55 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: dos emulators


On Sat, 14 Dec 2002, Jörg Sonnenberger wrote:
 Subject: Re: dos emulators

 On Sat, 14 Dec 2002 13:34:40 -0500
 Asenchi [EMAIL PROTECTED] wrote:

  Hello,
 
  I was wondering if any one new of a good DOS Emulator that will
run
  Foxpro 2.6.  Thanks.
 
  Running:
  4.7-release
 
  Curt Micol

 You can try at least bochs (slow) or dosemu (not sure, how it works
 under FreeBSD, never tried). Bochs is a PC emulator and really
 slow (emulates 80x86...) and is in ports, dosemu not.

 - Joerg


Several years ago, while on co-op, I had to port a bunch of aging
foxpro
data to a more modern rig. I had zero luck getting the DOS version of
FoxPro to run reliably in dosemu or Wine (in Linux) at the time, so I
viewed the format of the FoxPro data files (they were flat text files)
and
wrote some Perl to move it all into text and SQL statements to load it
into a more modern database.

In short, it may take you less time to reformat the data manually than
it
will to fsck around with FoxPro and get it to run reliably. So if
you're
porting data to a newer rig, think about it, if you just plain want to
run
FoxPro, don't ;)

Good luck!

#  John Bleichert
#  http://vonbek.dhs.org/latest.jpg


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


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



dos emulators

2002-12-14 Thread Asenchi
Hello,

I was wondering if any one new of a good DOS Emulator that will run
Foxpro 2.6.  Thanks.

Running:
4.7-release

Curt Micol


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



could someone help me with this?

2002-12-07 Thread Asenchi
hey everyone,

just a quick question.

I want to know if anyone out there still runs
(or knows how to run) foxpro 2.6.  I heard that
it can be installed on BSD, and have searched
the archives.  I have seen some mention but they
are all extremely dated.  Does foxpro 2.6 still
work with 4.7?  Or for that matter any other release?

Thank you to anyone who can help me.  I am a year
old newbie and have gotten pretty familiar but
don't even know where to start with this one.

thank you very much.
ASENCHI


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


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



an amazingly silly question...

2002-12-05 Thread Asenchi
hey everyone,

just a quick question, hopeing someone will be able to help me.

I want to know if anyone out there still runs (or knows how to) foxpro 
2.6.  I heard that it
can be installed on BSD, and have searched the archives.  I have seen 
some mention but they
are all extremely dated.  Does foxpro 2.6 still work with 4.7?  Or for 
that matter any
other release?

Thank you to anyone who can help me.  I am a year old newbie and have 
gotten pretty familiar
but don't even know where to start with this one.

thank you very much.  Oh by the way, I appreciate everyone out there on 
theses lists, what a
great os BSD is.

ASENCHI


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


kernel build erro

2002-11-25 Thread Asenchi
I am using 4.7-RELEASE on a brand new handbuilt machine.  1+ghz amd, and
epox board.

I am trying to build my custom kernel and receive this:

linking kernel
vpo.o: In Function 'vpo.attach':
vpo.o(text+0xcb): undefined reference to 'cam_simq_alloc'
13 more similar messages -
Erro Code 1

And it stops.  Any ideas as to what my problem is?  The kernel config I am
using is a copy of one that is currently running on another system. (I have
made a couple of changes, but simply commenting what is different on this
system)

Thanks for any help,

ASENCHI



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