Re: shell stdin redirection: possible for ssh-password input?

2005-04-04 Thread Rob
Danny Howard wrote:
 
 Check out expect.  There's even a Perl module for
 it. Expect is the bad  old way we used to handle
 such problems.  It is this funky sub-language
 designed for completing interactive sessions in
 an automated way.

This is exactly what I need and it works beautifully.
Thanks so much!

 Also, please post from a legitimate e-mail address,
 in case someone were sufficiently good-natured to
 hit Reply instead of Reply All.

It IS a legitimate email address; it may look funny,
but I suppose that's allowed :).

Regards,
Rob.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD server behind router-NAT; how to configure sendmail?

2005-04-04 Thread Rob
Harald Schmalzbauer wrote:
 Am Sonntag, 3. April 2005 17:36 schrieb Rob:
There is a FAQ, that explains:

  If you want all outgoing SMTP connections to use
  port 2525, you can use this in your .mc file:

  define(`RELAY_MAILER_ARGS', `TCP $h 2525')
  define(`ESMTP_MAILER_ARGS', `TCP $h 2525')

I have put this in my hostname.mc file, but to no
avail. I'm probably not familiar enough with
sendmail way of doing things. But then this is
such a simple thing, that it should be easy.

I suppose that with netstat -a, there should be
a line with port 2525, if above works. But that is
not there.
 
 I'm not sure if I understand your problem correctly,
 but what you did with these defines is that
 sendmail contacts every other system at port 2525
 instead of 25, it's not listening on 2525, hence
 you can't see a tcp/2525 with netstat -a.
 
 But I think it should do what you want, if I
 understand your description right. If you want
 sendmail to listen at a custom port these defines
 are wrong. I don't have them in my mind right now,
 I'm sure you'll find the M4 defines at the sendmail
 FAQ, tell me if I can help.

Uh? So are the rules above right or not? I'm still
confused. The header of that particular FAQ was:
How do I send using an alternate port? and that's
what I want, unless my English is badly deteriorating,
which I often feel like when reading sendmail manual
pages :(.

Anyway, let's go back to what I want sendmail to do,
which is possibly a little more complicated than
just shifting to another outgoing port:

1) for local delivery, i.e. users on the PC, deliver
   to the local mailboxes (does that need port 25?).

2) for outgoing delivery, do that over an ssh-tunnel
   port, e.g. over port 2525:
   ssh -N -f -L 2525:localhost:25 smtp.my.isp

I can create the ssh-tunnel easily:
  telnet localhost 2525
connects me to the remote smtp server.

As you may have noticed, I am a very newbie to
sendmail configuration.

Thanks for your help!
Rob.



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formating a 1680k floppy

2005-04-04 Thread Jason Taylor
Kevin G. Eliuk wrote:
Jason Taylor wrote:
How do I format a 1680k floppy?  I tried:
%fdformat -s 2180 /dev/fd0
That just produces a line of errors.  That is ... instead of 
  I'm able to format the same floppy in Windows using WinImage.

Are you sure you don't mean 1720k?  Look at /etc/disktab for stressing 
a floppy.

I'm sure.  I get the same results trying to create a 1720k.
%fdformat -f 1680 /dev/fd0
fdformat: unknown format 1680 KB for drive type 1.44M
%fdformat -f 1720 /dev/fd0
fdformat: unknown format 1720 KB for drive type 1.44M
%fdformat -s 2180 /dev/fd0
Format 1680K floppy `/dev/fd0'? (y/n): y
Processing E^C--
%fdformat -s 2182 /dev/fd0
Format 1722K floppy `/dev/fd0'? (y/n): y
Processing E^C--
%
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some kind of intranet update system for FreeBSD?

2005-04-04 Thread Richard Caley
  It builds them all, but instals teh first one on this machine.
 
 
 Would it build all the modules three time, I wonder?

Seems to, but who cares? CPU cycles are cheap. I build on the machine
which serves as the  mail/news/dns/etc server, which is basicly idle
all the time (those services just don't take a noticable amount of
effort). It does the world and 4 or 5 kernels overnight, and it's only
a 500MHz machine with IDE disks etc.

  ^_^
 (O O) 
 \_/@@\
  \\~~/ 
~~
- RJC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Bachelier Vincent
Hi, I have a AMD64 and use FreeBSD 5.4 i386.
I have set CPUTYPE=k8 to optimize a little for my computer.
I have seen they set march=athlon-mp when it compile something.

Ok, I have see they is a difference between march=k8 and march=athlon-mp

Have a idea ?
Does I compile with march=k8 under cflags ?
for example: CFLAGS=-O2 -march=k8 -pipe
 CXXFLAGS=$CFLAGS

Well, what do you think ?
could I optimize more than CPUTYPE=k8 ?
ok see ya
-- 
Vincent Bachelier [EMAIL PROTECTED]
Language: Francais / English
Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux

Citation (fortune):

we will invent new lullabies, new songs, new acts of love,
we will cry over things we used to laugh 
our new wisdom will bring tears to eyes of gentile
creatures from other planets who were afraid of us till then 
in the end a summer with wild winds 
new friends will be.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Jonathan Chen
On Sun, Apr 03, 2005 at 08:06:16PM -0500, Brian John wrote:

[...]
 Ok, I think you may have pointed me to the source of the problem.  Here 
 is what my resolv.conf looks like after every time I reboot my compuer:
 search domain.actdsltmp
 nameserver 192.168.0.1
 nameserver 205.171.3.65

If /etc/resolv.conf changes after every reboot, I would say that either
your DHCP setup is at fault or your ppp.conf set needs to be looked
at. Can you be sure that your service provider isn't handing the
192.168.0.1 ip-address to you?

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: exec make buildworld

2005-04-04 Thread Jonathan Chen
On Mon, Apr 04, 2005 at 06:16:14AM +0200, Gert Cuykens wrote:
 On Apr 4, 2005 6:07 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
  Is it possible to do a ssh conection then do exec make buildworld on
  the remote system close the conection and do a conection again later
  and get the output from make buildworld again ?
  
 
 Doh i forgot the important part again, without using screen :)

# make buildworld  log.file 
# logout

Later:

# more log.file

-- 
Jonathan Chen [EMAIL PROTECTED]
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Dick Hoogendijk
On 04 Apr Bachelier Vincent wrote:
 Does I compile with march=k8 under cflags ?
 for example: CFLAGS=-O2 -march=k8 -pipe
CXXFLAGS=$CFLAGS
 
 Well, what do you think ?
 could I optimize more than CPUTYPE=k8 ?
 ok see ya

Don't have an answer to /your/ question, but mine is related (I think).
Is it still advisable to have -O -pipe in /etc/make.conf?
I have a duron 800. Does the -O2 flag give more errors or is it better
than using the -O?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfilter.log

2005-04-04 Thread Erik Nørgaard
Francis Whittington wrote:
Hi guys,
I've been following this guide:
http://www.unixguide.net/freebsd/fbsd_installguide/index.php
So far I have gotten the firewall/router to work. Everything seems to be okay, 
except I do not see anything being logged in ipfilter.log. My rc.conf options 
are:
moused_enable=YES
moused_port=/dev/psm0
moused_type=auto
moused_flags=-m 2=3
allscreens_flags=-m on -c blink -h 200
clear_tmp_enable=YES
hostname=gateway.fbsdbuds.com
saver=logo
ifconfig_rl0=DHCP
ipfilter_enable=YES
ipfilter_rules=/etc/ipf.rules 
ipmon_enable=YES
ipmon_flags=-Ds 
ipnat_enable=YES  
ipnat_rules=/etc/ipnat.rules
ifconfig_rl1=inet 10.0.10.2 netmask 255.255.255.248
gateway_enable=YES
Two things:
First: You can log directly to a file instead of through syslog:
ipmon_flags=-D /path/to/logfile
Second: Have you any rules in your ruleset with the log keyword?
Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFILTER and NFS

2005-04-04 Thread Erik Nrgaard
Matt Juszczak wrote:
---snip---
# Default pass out
pass out quick on em0 all keep state
# Fragmented/Short/Opts/Fprinting packets
block in quick on em0 all with ipopts
block in quick on em0 all with frag
block in quick on em0 proto tcp all with short
block in quick on em0 proto tcp all flags FUP
# Block local nets
block in quick on em0 from 255.255.255.255/32 to any
block in quick on em0 from 192.168.0.0/16 to any
block in quick on em0 from 172.16.0.0/12 to any
block in quick on em0 from 127.0.0.0/8 to any
block in quick on em0 from 10.0.0.0/8 to any
block in quick on em0 from 0.0.0.0/32 to any
---snip---
You haven't told a word about your network setup or server's ip, and I 
don't know your default rules. Your ruleset is mostly useless without 
that info.

Have you compiled with default block? If not, then your client is open 
to incoming connections from almost anywhere, and if you have, then your 
block rules have no use.

NFS is udp - I think you can force tcp, but I think this requires 
changes on the server also.

udp is state less, so state full filtering is somewhat a guess work. It 
works this way for say dns: Your host sends out a udp packet with a dns 
request, ip-filter knows dns and so expect udp packet back within 
usually a minute.

Now, ip-filter may not now nfs that well, or the nfs protocol may just 
be wierd. Since you know your nfs server, you could do:

  pass in quick proto udp from nfs server/32 to client/32
For clarity, I suggest you write two blocks of rules, incoming and 
outgoing, with both tcp and udp protocols for that server. It makes it 
easier to see what is going on.

Make sure you start your ruleset with your default rules explicit,
  block in  log all
  block out log all
and enable logging on _all_ block rules. Start ipmon to log to a 
separate file.

Default rules should never match, if they do it is indication that there 
is something you have not taken care of. OK, this is not strictly true, 
but if they never match then it indicates you have written an explicit 
rule for each posible packet - ie. you have thought about everything.

If you still have problems, submit your ipmon log file and your full 
tested ruleset.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Andrew P.
Dick Hoogendijk wrote:
On 04 Apr Bachelier Vincent wrote:
Does I compile with march=k8 under cflags ?
for example: CFLAGS=-O2 -march=k8 -pipe
 CXXFLAGS=$CFLAGS
Well, what do you think ?
could I optimize more than CPUTYPE=k8 ?

Don't have an answer to /your/ question, but mine is related (I think).
Is it still advisable to have -O -pipe in /etc/make.conf?
I have a duron 800. Does the -O2 flag give more errors or is it better
than using the -O? 

To quote the Handbook:
``The optimization -O2 is much slower, and
the optimization difference between -O and
-O2 is normally negligible.''
The only reason one would want to use -O2
would be perfectionism, I think :)
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Layer7 sniffer

2005-04-04 Thread Omer Faruk Sen
Hi, 

I am looking for a software that can extract and produce HTML outputs 
(online and offline) of my  gateway. I mean something like ntop but software 
should produce http statics (Who and when a http site visited and things 
like that) too. Since I am not going to install this on my gateway I will 
port mirror the traffic of my gateway to that machine. Something like sarg 
(for squid) maybe. 

Is there something like that you can advise me? I really need that. I was 
using ipaudit but it just gives me Layer 4 and Layer 3 traffic. 


---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
 

First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikakademi.com/freebsd.php 

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


Re: sendmail

2005-04-04 Thread Erik Nørgaard
Gert Cuykens wrote:
On Apr 1, 2005 9:59 AM, Erik Nørgaard [EMAIL PROTECTED] wrote:
As everyone else notes, this is not a job for e-mailing. Even if you
want to e-mail the file, it is not a job for sendmail. When you send
attachments they are typically base64 encoded, this explodes the file
from 5.5MB to about 8MB.
You can cut it up in two ways: Use transcode to make shorter clips and
send separately or convert the file to base64, then cut it up manually
and ask your friend to concateneate the attachments and deconvert from
base64.
The second option is the low tech - transcode is not designed to be user
friendly.
But, as everyone suggest: Setup anon ftp, an apache webserver, or give
ssh access - all of these are faster, simpler and better. This is
posible if you are not NAT'ed and have a reasonably fixed ip.

well i can setup a ftp but then i have to leave my pc on all the time
, people need to sleep you know and i cant sleep whith
PR in the background. irc wasnt made
to sent files either and look at it now , its more popular then ftp :)
more popular does not mean better, just more popular.
So how do i get a movie in my friends mailbox using sentmail ? I was
thinking in de lines of sendmail -t [EMAIL PROTECTED] -a movie.mpeg -m
hello.txt -s hello ?
there is a trick you may find handy: man mail it tells you all about 
the options and stuff. Then you'll find that something along the lines

 'cat movie.mpeg | mail -s movie [EMAIL PROTECTED]'
will fail, because you first have to convert your movie.mpeg to base64 
and wrap the lines at every 72 characaters.

But otherwise you do something like this:
  'cat body | mail -s subject [EMAIL PROTECTED]'
and the format of body is described in rfc2822 and others, eg. the 
mime-stuff in rfc2045-2048+/-

Read that, if you still have problems, then ask again.
It still may fail because the recipient won't take large mails, so you 
will have to chop it of as explained in previous mail.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade questions

2005-04-04 Thread Richard Danter
Thanks all for the help, it is working perfectly now!
Rich
RW wrote:
On Wednesday 30 March 2005 10:55, Darksidex wrote:
Richard Danter wrote:
1. If I do portupgrade -rR port it will recompile the new version of
port and related ports as expected but it will also try to compile up
any packages that are dependent. Is there a way to tell it not to
upgrade packages, or to upgrade them using a new package?
portupgrade -rRPP port = this will force portupgrade to use only ports


Also look at the HOLD_PKGS array in pkgtools.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HZ=1000 ?

2005-04-04 Thread Dick Hoogendijk
I read about polling and HZ=1000. The latter is not high enough for
vmware3 (it complains..). I read 'man polling' and learn something about
this, but I really want to know more about 'hz=1000'

The GENERIC has hz=100 as I recall (fbsd-4.11). Can somebody explain I
human language what happens if you raise this HZ? Is there a processor
related issue here? What exectly happens if you have 'hz=1000' or is it
maybe better to have 'hz=2000' ? I can't decide now because I don't
understand what happens.. So, anybody?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HZ=1000 ?

2005-04-04 Thread cpghost
On Mon, Apr 04, 2005 at 11:17:19AM +0200, Dick Hoogendijk wrote:
 I read about polling and HZ=1000. The latter is not high enough for
 vmware3 (it complains..). I read 'man polling' and learn something about
 this, but I really want to know more about 'hz=1000'
 
 The GENERIC has hz=100 as I recall (fbsd-4.11). Can somebody explain I
 human language what happens if you raise this HZ? Is there a processor
 related issue here? What exectly happens if you have 'hz=1000' or is it
 maybe better to have 'hz=2000' ? I can't decide now because I don't
 understand what happens.. So, anybody?

This is the frequency of the heart beat. Superficially, every 1/HZ second,
a clock tick happens and the kernel is invoked. Then stuff like cleanup and
scheduling a new thread happens (this is not the only time when threads
get scheduled though).

HZ=100 is good enough for most purposes. If the kernel needs to poll
some data faster and more frequently, you can crank up HZ to 1000 or
even higher. A system with higher HZ is usually also more responsive,
but this comes at a price:

* The overhead is higher (you need more time to do internal housekeeping,
  and there's less time available for userland threads)
* Processor caches are flushed more frequently, resulting in slower
  RAM access.

A high value for HZ is also not a good idea for slow(er) hardware
either.

Interestingly, HZ=100 has remained constant for decades (!), despite
CPUs getting faster all the time. This is an excellent value for most
typical usage patterns. Cranking it up should only be required for
special cases. Anyway, the HZ knob is there. Experiment with it until
you get optimal performance.

 dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
 ++ Running FreeBSD 4.11 ++ FreeBSD 5.3
 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: exec make buildworld

2005-04-04 Thread Andrew P.
Jonathan Chen wrote:
On Mon, Apr 04, 2005 at 06:16:14AM +0200, Gert Cuykens wrote:
On Apr 4, 2005 6:07 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
Is it possible to do a ssh conection then do exec make buildworld on
the remote system close the conection and do a conection again later
and get the output from make buildworld again ?
Doh i forgot the important part again, without using screen :)

# make buildworld  log.file 
# logout

It's kinda strange, but it didn't work for me yesterday.
The build stopped as soon as I logged out, I used
Ctrl-D instead of logout though.
What I find more comfortable is
# at + 1 minute
make buildworld
Ctrl-D
Some time after I have new mail, containing all the
output (stdout and stderr) from the task. That's cute.
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd disc 1

2005-04-04 Thread Andrew P.
Gert Cuykens wrote:
Who do i ask if he / she would like to put this to the distribution list 

[ ] cvsupdate-nogui
Cant we make some user freebsd-voting list were we can vote for changes :)

Come to think about it, I kinda miss this option, too.
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: just got DSL, can't surf or get mail

2005-04-04 Thread [EMAIL PROTECTED]
On Sun, 03 Apr 2005 20:06:16 -0500
Brian John [EMAIL PROTECTED] wrote:

 Ok, I think you may have pointed me to the source of the problem. 
 Here  is what my resolv.conf looks like after every time I reboot my
 compuer: search domain.actdsltmp
 nameserver 192.168.0.1
 nameserver 205.171.3.65
 
 Now, if I change it to this (using my secondary DNS server from my DSL
  modem's 'setup' page):
 search domain.actdsltmp
 nameserver 205.171.2.65
 
 ...everything works.  Is there a way that I could keep this from 
 changing every time that I reboot my computer?

this looks like your DSL-modem has a router-function (with DHCP and a
non-working DNS-server) or your ISP does hand out DHCP to you and
something goes wrong, or your ISP does not use DHCP and something else
goes wrong with the resolv.conf

what you can do is to put a line in /etc/rc.local which says this 
cp /etc/resolv.conf.good /etc/resolv.conf
where /etc/resolv.conf.good is your working resolv.conf

if DHCP is in use, either on your modem or by your ISP, then there's
normally a lease-time (if it's say e.g. 5 minutes, then your
/etc/resolv.conf will be overwritten) so you could turn the above line
into a cronjob

HTH

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


dummynet problems

2005-04-04 Thread Sergey Lapin
Hi, all! 
Here I have a problem with dummynet. System is FreeBSD-5.3-STABLE month ago. 
we have very small bandwidth from LAN. 
rl0 is internal interface. 

ipfw rukes are (fwcmd=/sbin/ipfw): 
${fwcmd} pipe 1 config bw 60Kbit/s 
${fwcmd} add 778 pipe 1 tcp from any
25,43,53,80,110,119,123,143,953,5190 to 192.168.0.0/25 out via rl0

${fwcmd} queue 1 config pipe 1 weight 100 mask dst-ip 0x queue 5 
${fwcmd} add 790 queue 1 log logamount 10 tcp from any to 192.168.0.99
out via rl0


${fwcmd} queue 2 config pipe 1 weight 100 mask dst-ip 0x0fff
buckets 150 queue 10
${fwcmd} queue 3 config pipe 1 weight 30 mask dst-ip 0x0fff
buckets 150 queue 10
${fwcmd} queue 4 config pipe 1 weight 70 mask dst-ip 0x0fff
buckets 150 queue 10
${fwcmd} add 791 queue 2 log logamount 10 tcp from any 5190 to
192.168.0.0/25  out via rl0
${fwcmd} add 795 queue 3 log logamount 10 tcp from any 80,3128,21,20
to 192.168.0.0/25  out via rl0
${fwcmd} add 792 queue 4 log logamount 10 tcp from any
25,110,43,53,119,123,143,953 to 192.168.0.0/25  out via rl0

Thanks a lot! 

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


Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Conrad J. Sabatier
On Mon, 4 Apr 2005 09:35:32 +0200, Bachelier Vincent
[EMAIL PROTECTED] wrote:

 Hi, I have a AMD64 and use FreeBSD 5.4 i386.

Why aren't you using the amd64 version of FreeBSD?

 I have set CPUTYPE=k8 to optimize a little for my computer.
 I have seen they set march=athlon-mp when it compile something.

I you were running amd64, you could use CPUTYPE=athlon64.

 Ok, I have see they is a difference between march=k8 and
 march=athlon-mp
 
 Have a idea ?

Yes, download the ISO for amd64 and install it.  :-)

 Does I compile with march=k8 under cflags ?
 for example: CFLAGS=-O2 -march=k8 -pipe
CXXFLAGS=$CFLAGS

I think the CXXFLAGS setting is unnecessary, as this will happen by
default.

 Well, what do you think ?

I think you should be running amd64.  :-)

 could I optimize more than CPUTYPE=k8 ?

Yes.  See above.  :-)

Seriously, though, the amd64 version of FreeBSD is quite stable and
usable, and would allow you to take full advantage of your machine's
64-bit architecture.  Why settle for less?

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


Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Conrad J. Sabatier
On Mon, 4 Apr 2005 10:13:51 +0200, Dick Hoogendijk [EMAIL PROTECTED]
wrote:
 
 Don't have an answer to /your/ question, but mine is related (I
 think). Is it still advisable to have -O -pipe in /etc/make.conf?
 I have a duron 800. Does the -O2 flag give more errors or is it
 better than using the -O?

-O2 is still iffy for certain architectures, but I believe it's OK
now for i386.  Go for it.  :-)

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


ssh key fingerprints

2005-04-04 Thread Erik Nørgaard
Hi,
How do I see the fingerprints of my ssh keys, both user and host keys?
I know I can get the fingerprint of the host key by removing the host 
from my known hosts and connecting, but there ought to be some more 
straight forward way, and what about the user keys?

And how do I determine the key lenght from the public key file?
Thanks, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mysql 4.1 on freebsd 4.8

2005-04-04 Thread Ray Watts
I have been trying to install mysql 4.1.10a on freebsd 4.8 but I get
the following error:

SuffFindDeps (pre-fetch)

  No known suffix on pre-fetch. Using .NULL suffix

not adding suffix rules

pre-fetch:@ = pre-fetch

pre-fetch:* = pre-fetch

Examining pre-fetch...non-existent...non-existent and no
sources...out-of-date.

pre-fetch:? =

pre-fetch: =

echo 

/bin/echo: 1: Syntax error: ( unexpected

*** Error code 2



How to repeat:
make distclean
make


Any ideas how to fix?

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


arplookup failed

2005-04-04 Thread Pat Maddox
I've got a system running 5.3-p6, and am getting this error every 20
minutes or so:
kernel: arplookup 69.61.54.33 failed: host is not on local network

I get that the host isn't on the network, but I don't have any idea
where the message is coming from.  It's in /var/log/messages, shows up
about every 20 minutes.  Any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfilter problems

2005-04-04 Thread Angelin Lalev
Thank You very much!
Well, the short answer is: there is no keep state in the line
  pass in quick on rl0 all
the dns reply you get back times out because your default rule is 
block and there is nowhere in the in rules for rl1 that allows the 
reply back.

This makes sense... And I probably have done huge mistake...
I thought that these rules are applied two times - once when the packet 
is about to enter
routing logic and once when it exits routing logic
the machine and once when the packet exits the machine (like ipfw).
If that was the case the
rule pass out quick on rl1 all keep state
would do...

Some recomendations:
1) I have a bit of dificulty understanding your network setup - why do 
you have two private networks on your external interface? May scetch 
in a diagram.

rl0 is connected to an internet caffe with some game servers. It has 
only one IP address
192.168.0.0/24.
rl1 is connected via ethernet to a wireless bridge.

The management address of the wireless bridge (provider's property)
is 10.1.6.1.   I added alias addr. 10.1.6.2/24 to the rl1, so I can ping 
it to test connectivity.

Recently we have connected some outer clients to the same ethernet 
network on wich is the wireless bridge. They have addresses 
192.168.5.0/24 and have for gateway the our freebsd machine. They use
squid server on the machine (like the machines on rl0 do) and need 
access to some game servers.

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


Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Gareth Bailey
I just got a Sempron 754, will it run under FreeBSD 4.11 i386?

I don't have time to reinstall the OS, so if the 754 doesn't run on
i386 i'll swop the chip for a socket A.

... or will the 754 be substantially quicker that the equivalent speed
Socket A? The machine is being used as a development server.

Thanks for your advice

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


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Andrew P.
Gareth Bailey wrote:
I just got a Sempron 754, will it run under FreeBSD 4.11 i386?
Yes, sure
I don't have time to reinstall the OS, so if the 754 doesn't run on
i386 i'll swop the chip for a socket A.
... or will the 754 be substantially quicker that the equivalent speed
Socket A? 
Not really, no
The machine is being used as a development server.
Thanks for your advice
Gareth
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: arplookup failed

2005-04-04 Thread Andrew P.
Pat Maddox wrote:
I've got a system running 5.3-p6, and am getting this error every 20
minutes or so:
kernel: arplookup 69.61.54.33 failed: host is not on local network
I get that the host isn't on the network, but I don't have any idea
where the message is coming from.  It's in /var/log/messages, shows up
about every 20 minutes.  Any ideas?

Maybe a direct route to that host is specified
in your routing table. Provide the output of
`netstat -rn` please.
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh key fingerprints

2005-04-04 Thread Svein Halvor Halvorsen

* Erik Nørgaard [2005-04-04 14:02 +0200]
  How do I see the fingerprints of my ssh keys, both user and host keys?

Excerpt from man ssh-keygen(1)

SYNOPSIS
 ssh-keygen -l [-f input_keyfile]

 -l  Show fingerprint of specified public key file.  Private RSA1 keys
 are also supported.  For RSA and DSA keys ssh-keygen tries to
 find the matching public key file and prints its fingerprint.

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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
 On Sun, Apr 03, 2005 at 08:06:16PM -0500, Brian John wrote:

 [...]
  Ok, I think you may have pointed me to the source of the problem.  Here
  is what my resolv.conf looks like after every time I reboot my compuer:
  search domain.actdsltmp
  nameserver 192.168.0.1
  nameserver 205.171.3.65

 If /etc/resolv.conf changes after every reboot, I would say that either
 your DHCP setup is at fault or your ppp.conf set needs to be looked
 at. Can you be sure that your service provider isn't handing the
 192.168.0.1 ip-address to you?

 Cheers.
 --
 Jonathan Chen [EMAIL PROTECTED]Once is dumb luck.
  Twice is coincidence.
  Three times and Somebody Is Trying To Tell You Something.

The 192.168.0.1 address is the ip address of my dsl modem.  Should that be
counted as a dns server?  Where does my DHCP setup live?  What should I
see in ppp.conf?

Thanks

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


Keeping installed packages up to date

2005-04-04 Thread Kenneth A. Bond
Hello,
I am a relatively new BSD user, making the move from
various Linux distros such as Debian GNU Linux. I have
been running Linux servers for quite some time in a
production environment, but based on recent events in
the Linux world, have made the decision to move to
FreeBSD.

I have made the move to FreeBSD due to its maturity,
stability and performance, not to mention that
extended releases are supported for two years from
their release, which is attractive in a
mission-critical environment.

I am trying to determine the best method of keeping my
installed packages up-to-date. My current environment
does not permit me to use CVSUP for synching my ports
tree (due to firewall constraints) so I have been
simply downloading the ports.tar.gz file from
ftp.freebsd.org.

I have followed the steps outlined in Richard
Bejtlich's document Keeping FreeBSD Applications
Up-To-Date
(http://www.taosecurity.com/keeping_freebsd_applications_up-to-date.html)
but I run into an issue where a number of installed
packages are either skipped or fail during
portupgrade.
My update process is as follows:

-Download port.tar.gz from ftp.freebsd.org
-Extract to /usr
-cd /usr/ports
-make fetchindex
-portsdb -u
-portversion -v -l 
-Check /usr/ports/UPDATING for information relating to
my applications
-portupgrade -varR or portupgrade -varRPP

My question is: is there an easier way of updating my
installed packages? The process described above is
incredibly time-consuming. I would like to know if
there is a less time consuming method, since I have
managers foaming at the mouth for my servers to be up
and online with the latest updates, as soon as
possible.

Please advise.

Thank you for your assistance.
KB


__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Andrew P.
Gareth Bailey wrote:
Thanks. Can anyone else comment on the following points?:
The 754 Sempron:
- Will run in FreeBSD 4.11 i386?
- Will not be faster than Sempron socket A?
Thanks
Gareth
I think you forgot to cc this message to
freebsd-questions. Anyways, to further
comment on these issues:
Sempron cores are identical in Socket A and
Socket 754 versions. Both support only 32-bit
instruction sets (i686 in terms of CPUTYPE
and i386 in terms of MACHINE). Any x86 OS
will run on Sempron/754 smoothly. Personally,
I think it's a much better choice than Celeron D.
Sempron/754 might be a little faster than
it's Socket A version - but that's _only_
because of the chipsets for Socket 754 are
more advanced than Socket A ones. I would
generally recommend using Sempron/754, as
you could upgrade to Athlon 64 later and
FreeBSD/x64 then. On the other hand, s754
will be deprecated in a few years in favour
of s939.
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: just got DSL, can't surf or get mail

2005-04-04 Thread cape canaveral
On Apr 3, 2005 9:12 PM, Anthony Atkielski [EMAIL PROTECTED] wrote:
 
 One you've changed resolv.conf, it should stay that way permanently
 across boots, unless you change it again.
 


dhclient will overwrite /etc/resolv.conf on boot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Freebsd Install Guide Available

2005-04-04 Thread Randy Pratt
On Mon, 4 Apr 2005 01:03:24 -0400
[EMAIL PROTECTED] wrote:

snip top-posted tirade

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chris Hill
 Sent: Sunday, April 03, 2005 10:47 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; Randy Pratt; Giorgos Keramidas;
 [EMAIL PROTECTED]; freebsd-questions@freebsd.org
 Subject: Re: New Freebsd Install Guide Available
 
 On Sun, 3 Apr 2005 [EMAIL PROTECTED] wrote:
 
  YES there is something major wrong with the official handbook.
 
 [snip]
 
  The FreeBSD Install Guide is mirrored at the following sites.
 
  http://freebsd.easyasthat.co.uk/
  http://www.unixguide.net/freebsd/fbsd_installguide/index.php
  http://freebsd.packards-home.net/index.php
  www.a1poweruser.com
  http://freebsdinfo.org/
  http://freebsd.a1poweruser.com:6088/
  http://freebsd.95mb.com/
 
 Since all of these URLs (those which respond, at least) go to
 essentially the same content, I have a few questions: 1) Who wrote
 this?
 1a) Could it be Joseph Barbish? 2) Regardless, could the author be
 persuaded to contribute his/her wisdom to the official
 documentation,
 rather than verbally trash the latter?
 
 Persipiring minds want to know.

Oops.. You're absolutely right Chris, it is the same:

  http://docs.freebsd.org/cgi/mid.cgi?20040308154441.GA73721

I didn't recognize the poster as the one who created that document and
tried to peddle it for money last year.  It was another of those
never-ending threads so rather than pollute the list lets just drop
this.  Its just not worth the time or bandwidth.

My apologies to the list.  I will be more careful in the future.

Best regards,

Randy


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


Re: New Freebsd Install Guide Available

2005-04-04 Thread Jerry McAllister
 
 As stated in the content displayed by those URL's  the Install guide
 is free to anyone to download and very plainly states the content is
 contributed to public domain.
 So  why are so many people asking the same question when the answer
 is so self evident?
 
 And this writer takes offence to anybody calling the promoting of
 this Install guide as verbally trashing the handbook.
 I don't need to do that.  Many others have done that over the years.
 Any regular reader of the list will know that the handbook content
 has had many people voicing concern over its  less than basic
 ability to convey meaningful instructions.  No need to open that
 flame war again.

 
Well, both types of documentation are needed.   The official formal
documentation, which, of necessity , needs to be written in a rather
formal language style and other explanitory docs for newbies and
those of us who need a more conversational and step by step style
at least to get started at things.   There are several good books
out with more conversational style and some reasonable web sites
with tutorials.
 
The only problem with many of the web sites and even the books is
that they tend to take a personal preference prejucidial attitude
toward things rather than encouraging readers to try out various
things and giving them instruction toward those other choices.
Some examples are installing and using Gnome.   To read some guides,
one would think it is impossible to run FreeBSD without Gnome.
Some seem to imply it is absolutely necessary to install a third
party MBR/boot manager such as Grub to boot FreeBSD, just because
they like it.  Some tend to think the only possible shell to use
is bash or sh and anyone using something else can't possibly get their
work done.  The list could go on.
 
But, in spite of that, the third party guides are useful and
helpful.   Just realize that, even more than the official handbook,
they represent personally unique situations, opinions and preferences
as well as useful information.
 
 ... much excised.

 Another important niche this FreeBSD Install Guide covers is that it
 is downloadable direct to ms/window boxes and can be viewed using
 the ms/explorer browser.  You UNIX purists have to accept the fact
 that there are many ms/win users who want to be FreeBSD users and
 dual win/FreeBSD users out there and this Install guide opens up a
 bridge to the FreeBSD operating system to service this untapped
 potential user group.  Just watch the posts on the list for the
 magnitude of ms/office top posters to bear out that truth.   The
 official handbook in its current format does not address this. Since
 its 3/1//05 public domain release this install guide has been
 visited 1500 times and downloaded 216 times.  This was mostly from
 people who responded from the UNIX news groups  postings.

I don't understand - the handbook is available online to any
web browser, including ms exploder.

Anyway, anything that helps people use FreeBSD is good.

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


mpd VPN Server / W2K Clients

2005-04-04 Thread Anton Zavrin
Hello Jonathan,

I found this thread from a long time ago at FreeBSD addicts:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-December/027869.ht
ml

I'm having absolutely identical problem with my MPD (it used to work and
then it just stopped, who knows why). I tried to follow up on that solution
you posted, but that page no longer opens up. Any help is greatly
appreciated.

Thank you much!

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005
 

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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
 On Apr 3, 2005 9:12 PM, Anthony Atkielski [EMAIL PROTECTED]
wrote:
 
  One you've changed resolv.conf, it should stay that way permanently
  across boots, unless you change it again.
 


 dhclient will overwrite /etc/resolv.conf on boot

How can I keep dhclient from doing this?

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


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Gareth Bailey
Thanks for the info Andrew.

Much appreciated,
Gareth


On Apr 4, 2005 3:33 PM, Andrew P. [EMAIL PROTECTED] wrote:
 Gareth Bailey wrote:
  Thanks. Can anyone else comment on the following points?:
 
  The 754 Sempron:
 
  - Will run in FreeBSD 4.11 i386?
  - Will not be faster than Sempron socket A?
 
  Thanks
 
  Gareth
 
 I think you forgot to cc this message to
 freebsd-questions. Anyways, to further
 comment on these issues:
 
 Sempron cores are identical in Socket A and
 Socket 754 versions. Both support only 32-bit
 instruction sets (i686 in terms of CPUTYPE
 and i386 in terms of MACHINE). Any x86 OS
 will run on Sempron/754 smoothly. Personally,
 I think it's a much better choice than Celeron D.
 
 Sempron/754 might be a little faster than
 it's Socket A version - but that's _only_
 because of the chipsets for Socket 754 are
 more advanced than Socket A ones. I would
 generally recommend using Sempron/754, as
 you could upgrade to Athlon 64 later and
 FreeBSD/x64 then. On the other hand, s754
 will be deprecated in a few years in favour
 of s939.
 
 Best wishes,
 Andrew P.

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


Sysinstall in Xterm in color ?

2005-04-04 Thread Andre Nas
Dear,
How to make sysinstall menu in xterm have origin color (blue yellow) not black 
and white.
I read a termcap and xterm-color but i could't understand (sorry im newbie)
 
Thank U
Andre



-
Find local movie times and trailers on Yahoo! Movies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Olaf van der Spek
On Apr 4, 2005 3:33 PM, Andrew P. [EMAIL PROTECTED] wrote:
 Gareth Bailey wrote:
  Thanks. Can anyone else comment on the following points?:
 
  The 754 Sempron:
 
  - Will run in FreeBSD 4.11 i386?
  - Will not be faster than Sempron socket A?
 
  Thanks
 
  Gareth
 
 I think you forgot to cc this message to
 freebsd-questions. Anyways, to further
 comment on these issues:
 
 Sempron cores are identical in Socket A and
 Socket 754 versions. Both support only 32-bit

Are you sure?
The s754 versions have an on die memory controller and a K8 core
(although with disabled 64-bit mode), which should make it
significantly faster then the K7 based Sempron on sA.

 instruction sets (i686 in terms of CPUTYPE
 and i386 in terms of MACHINE). Any x86 OS
 will run on Sempron/754 smoothly. Personally,
 I think it's a much better choice than Celeron D.
 
 Sempron/754 might be a little faster than
 it's Socket A version - but that's _only_
 because of the chipsets for Socket 754 are
 more advanced than Socket A ones. I would
 generally recommend using Sempron/754, as
 you could upgrade to Athlon 64 later and
 FreeBSD/x64 then. On the other hand, s754
 will be deprecated in a few years in favour
 of s939.

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


Re: Sound problem ...

2005-04-04 Thread Aaron Siegel
Chris

The /boot/defaults/loader.conf contains the defaults configurations and 
the /boot/loader.conf contains your custom configurations. It is the same a 
rc.conf and make.conf.   You should never change any of the files in the 
default directory, this is why they are not writeable.  When you perform an 
upgrade, the default files are replaced with the new file from the upgrade. 
So after an upgrade you will loose all the changes you made in the files 
contained in the defaults directories, and will have to reconfigure all those 
settings.   The  /etc/rc.conf, /etc/make.conf,  and /boot/loader.conf are not 
edited in the upgrade process so you will maintain all your configurations.   
You must create the /boot/loader file and add the appropriate lines to that 
file.

In summary,  do not make changes to the files in the defaults 
directory, /boot/defaults and /etc/defaults.

Aaron Siegel

On Sunday 03 April 2005 09:25, Chris wrote:


 While most of what you say is correct, and I have opted to use
 loader.conf for sound, this file is actually in /boot/defaults/loader.conf

 By default, /boot/loader.conf is either non-existant, or has very little
 in it.

 Telling the OP to look in /boot/loader.conf for the lines above will
 confuse him/her.

 In general, /boot/defaults/loader.conf is a great place to start. Much
 like /etc/defaults - these are set as the system defaults. putting the
 lines you want in /boot/loader.conf over rides the system defaults.

 Also worth noting (as with /etc/defaults) the user ought to get into the
 habit of editing the proper files instead of the system default files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade failing on firefox and thunderbird

2005-04-04 Thread Richard Danter
Hi all,
I am trying to update my installations of firefox and thunderbird. I 
have done this several times in the past with no problems but lately I 
get the following errors (see below). Anyone else seeing this? I can 
update other ports just fine...

Thanks
Rich
# portupgrade -rR firefox
---  Upgrading 'firefox-1.0.1_3,1' to 'firefox-1.0.2,1' (www/firefox)
---  Building '/usr/ports/www/firefox'
===  Cleaning for atk-1.9.1
===  Cleaning for unzip-5.52_1
===  Cleaning for zip-2.3_2
===  Cleaning for libiconv-1.9.2_1
===  Cleaning for bison-1.75_2
===  Cleaning for desktop-file-utils-0.10_2
===  Cleaning for gettext-0.14.1
===  Cleaning for glib-2.6.3_1
===  Cleaning for gmake-3.80_2
===  Cleaning for imake-6.8.2
===  Cleaning for libIDL-0.8.5_1
===  Cleaning for libtool-1.3.5_2
===  Cleaning for libtool-1.5.10_1
===  Cleaning for m4-1.4.1
===  Cleaning for pkgconfig-0.15.0_1
===  Cleaning for popt-1.7
===  Cleaning for jpeg-6b_3
===  Cleaning for lcms-1.14,1
===  Cleaning for libmng-1.0.8
===  Cleaning for png-1.2.8_1
===  Cleaning for tiff-3.7.1_2
===  Cleaning for perl-5.8.6_2
===  Cleaning for gnomehier-2.0_6
===  Cleaning for hicolor-icon-theme-0.5
===  Cleaning for shared-mime-info-0.16_1
===  Cleaning for freetype2-2.1.9
===  Cleaning for expat-1.95.8
===  Cleaning for intltool-0.33
===  Cleaning for libxml2-2.6.19
===  Cleaning for p5-XML-Parser-2.34_1
===  Cleaning for bitstream-vera-1.10_1
===  Cleaning for fontconfig-2.2.3,1
===  Cleaning for libXft-2.1.6_1
===  Cleaning for xorg-fonts-encodings-6.8.2
===  Cleaning for xorg-fonts-truetype-6.8.2
===  Cleaning for gtk-2.6.4_1
===  Cleaning for pango-1.8.1
===  Cleaning for xorg-clients-6.8.2
===  Cleaning for xorg-libraries-6.8.2
===  Cleaning for xterm-200_2
===  Cleaning for firefox-1.0.2,1
===  Found saved configuration for firefox-1.0.1_2,1
===  Extracting for firefox-1.0.2,1
= Checksum mismatch for firefox-1.0.2-source.tar.bz2.
===  Refetch for 1 more times files: firefox-1.0.2-source.tar.bz2
===  Found saved configuration for firefox-1.0.1_2,1
= firefox-1.0.2-source.tar.bz2 doesn't seem to exist in 
/usr/ports/distfiles/.
= Attempting to fetch from 
http://ftp.mozilla.org/pub/mozilla.org/firefox/relea
ses/1.0.2/source/.
fetch: 
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.2/source/fire
fox-1.0.2-source.tar.bz2: Unknown error: 0
= Attempting to fetch from 
http://www.gtlib.cc.gatech.edu/pub/mozilla.org/firef
ox/releases/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
http://mozilla.gnusoft.net/firefox/releases/1.0.2/so
urce/.
fetch: 
http://mozilla.gnusoft.net/firefox/releases/1.0.2/source/firefox-1.0.2-so
urce.tar.bz2: Not Found
= Attempting to fetch from 
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releas
es/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://ftp.belnet.be/packages/mozilla/firefox/release
s/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://ftp.fh-wolfenbuettel.de/pub/www/mozilla/firefo
x/releases/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://ftp.uni-bayreuth.de/pub/packages/netscape/mozi
lla/firefox/releases/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.m
ozilla.org/pub/firefox/releases/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://www.t.ring.gr.jp/pub/net/www/mozilla/firefox/r
eleases/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
http://www.t.ring.gr.jp/archives/net/www/mozilla/fir
efox/releases/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://ftp.rediris.es/mirror/mozilla/firefox/releases
/1.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://ftp.kaist.ac.kr/pub/mozilla/firefox/releases/1
.0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://mozilla.mirror.pacific.net.au/mozilla/firefox/
releases/1.0.2/source/.
fetch: 
ftp://mozilla.mirror.pacific.net.au/mozilla/firefox/releases/1.0.2/source
/firefox-1.0.2-source.tar.bz2: File unavailable (e.g., file not found, 
no access
)
= Attempting to fetch from 
ftp://ftp.chg.ru/pub/WWW/mozilla/firefox/releases/1.
0.2/source/.
fetch: firefox-1.0.2-source.tar.bz2: local modification time does not 
match remo
te
= Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: 

Re: portupgrade failing on firefox and thunderbird

2005-04-04 Thread Paul Waring
On Apr 4, 2005 4:31 PM, Richard Danter [EMAIL PROTECTED] wrote:
 I am trying to update my installations of firefox and thunderbird. I
 have done this several times in the past with no problems but lately I
 get the following errors (see below). Anyone else seeing this? I can
 update other ports just fine...

I had this problem last night with upgrading python, I found running:

cvsup /usr/ports/supfile

again and then running portupgrade python fixed things. No idea why,
best idea I can think of is that one of the files got corrupted during
transfer or there was network timeout on my end.

Obviously substitute /usr/ports/supfile for the location of your supfile. :)

Paul

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


Re: portupgrade failing on firefox and thunderbird

2005-04-04 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-04, Richard Danter scribbled these
curious markings:
 Hi all,

 I am trying to update my installations of firefox and thunderbird. I 
 have done this several times in the past with no problems but lately I 
 get the following errors (see below). Anyone else seeing this? I can 
 update other ports just fine...

Remove the firefox tarball from /usr/ports/distfiles and try again.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUWRSk/lo7zvzJioRAlwxAKCeeQZ59kj/bLWL1NMz5v5nRqrKxQCdEW9h
U+5cMkz0/eWKrxbaBj4VMS4=
=UdPL
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


xoasis hell PANIC

2005-04-04 Thread Chris Nye
my xoasis box rolled over  died sat

mail  web server down so have been trying to get it online for last 6 hrs.

system rebooted itself and I came in to screen to run fsck manually.

I did and it ran till lost+found fills up.

I manually mount with -fw and delete folder with rm-r

restart fsck and it finishs but autoanswers No
so I rebott the bos and it runs again till the folders fills up. 

Am I del new files every time or is it just repeating itself.

it appears to be old mail and snort logs

HELP!!

pa can't receive mail to theis accounbt since box is dead-- 
Christopher Nye AIA
Dir. of Information Services
630 495-1900

The information in this email is confidential and may be legally 
privileged. It is  intended solely for the addressee. Access to this
email by anyone else is unauthorized. 

If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance 
on it, is prohibited and may be unlawful. 


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


Securelevel dont let ipf read rules...

2005-04-04 Thread perikillo
 Hi all, i was testing my firewaill with Freebsd 4.11 Release and ipf on the 
kernel. I have ppp setup to run on every time i turn on the system, i was 
using securelevel=2 on the /etc/sysctl.conf
kern.securelevel=2
and /etc/rc.conf
/etc/rc.conf:
kernel_securelevel=2

After i see that my firewall was ready to start his job, i decide to change 
the secure level to paranoid level and change the secure level to 3:
/etc/sysctl.conf:
kern.securelevel=3
/etc/rc.conf:
kernel_securelevel=3

Went i restart my computer, and try to access with my other computer wich 
use Windows 2k, i try to access the internet, and see that my browser dont 
find nothing, make some test on it, but no access to the outside world. I go 
back to my firewall and test the conecction:

test#ifconfig

This show that i was conected, then test with ping, fastest_cvsup none of 
then reach the outside world. After this i test ipf :

test#ipfstat -hio
upsss, dont have any rules on my firewall, the i go to:

test# ee /var/log/console

I go to the end of the file and read my last boot up messages and see that 
went my system try read the /etc/ipf.rules and /etc/ipmon.rules the system 
secure level=3 on /etc/syctl.conf dont let ipf and ipnat to charge his rules 
set. 
Operation Not Permite (something like this  dont remember the right 
messages :-\)

/etc/sysctl.conf goes before /etc/rc.conf, i was thinking that if i setup 
securelevel=1 on sysctl.conf and then on rc.conf after ipf and ppp start, 
setup securelevel to 3, but my rc.conf dosent do nothing. 

How can i reach securelevel=3 and run my firewall, i dont want to input 
nothing directly i want that baby(freebsd) do every thing automatically, 
maybe i need to setup a script???

Or i am doing something wrong?

I read man init but dont see nothing about this issue...

Thanks all for your comments.
NOTE: Freebsd 4.11 Release, ipfilter compile in the kernel. This machine run 
only my firewall no servers is an old pentium 100Mhz. I try to write my best 
english.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which mail server is the best for me?

2005-04-04 Thread Jochen Keil
Kiffin Gish wrote:
I would like to setup a mail server but am a little confused about whether
to use sendmail, qmail, postfix or whatever. Basically my web server is a
simple one to be used for personal use with maybe no more than a 10-20 mail
accounts.
Those statements made by someone about qmail needing patches are not 
true. Qmail runs very good here with the same usage you described above.
Someone else said that qmail breaks standards. This is true but DJB 
gives a good explanation for this on his homepage. Anyway i never 
experienced problems because of this (maybe because it just works?).
Furthermore configuration isn't a pain in the ass. It takes you some 
time to get the idea but then qmail will reveal you endless possibilitys 
to configure qmail in a very easy and effective way (one word: 
dotfiles). There are also a lot of examples and FAQs on http://cr.yp.to.
Another point for qmail: it will run reliable with daemontools.
Finally just have a look at this:
$ du -sh qmail-1.03
1.4Mqmail-1.03
$ du -sh /usr/src/gnu/dist/sendmail/
12M /usr/src/gnu/dist/sendmail/
$ du -sh /usr/src/gnu/dist/postfix/
14M /usr/src/gnu/dist/postfix/
(postfix and sendmail are from the netbsd source but i don't think this 
matters.)

What are the advantages and/or disadvantages of each choice, and where can I
find more information comparing them?
Again i can only speak about my own experiences. I had bind running a 
long time until a friend convinced me to try djbdns. It was like: What? 
It's that easy to run a dnscache/server?. After that i followed his 
recommendation straight to qmail and i don't want to miss it anymore or 
feel the urge to try something different also i haven't run a mail 
server before.

So much for djb advocacy.
Greetings,
Jochen Keil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade failing on firefox and thunderbird

2005-04-04 Thread Kevin Kinsey
Richard Danter wrote:
Hi all,
I am trying to update my installations of firefox and thunderbird. I have
done this several times in the past with no problems but lately I get the
following errors (see below). Anyone else seeing this? I can update 
other ports just fine...

Thanks
Rich

Well, the output you sent tells us that you have a checksum
mismatch for the firefox tarball.  Basically, the firefox tarball is
corrupt - the system can't verify that it's the right file.
Most likely, a tarball was partially downloaded, and for some
reason was truncated before fetch got finished with it (e.g.
connection dropped, you control-C'ed out to do something
else, whatever), or it's possible that the file was simply
corrupted in transfer.
This is a pretty easy fix --- all you should have to do is delete
the bad tarball from /usr/ports/distfiles and start the process again.
HTH,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Andrew P.
Olaf van der Spek wrote:
On Apr 4, 2005 3:33 PM, Andrew P. [EMAIL PROTECTED] wrote:
Gareth Bailey wrote:
Thanks. Can anyone else comment on the following points?:
The 754 Sempron:
- Will run in FreeBSD 4.11 i386?
- Will not be faster than Sempron socket A?

Sempron cores are identical in Socket A and
Socket 754 versions. Both support only 32-bit

Are you sure?
The s754 versions have an on die memory controller and a K8 core
(although with disabled 64-bit mode), which should make it
significantly faster then the K7 based Sempron on sA.

Yeah, it appears I got a wrong idea from some poor
article. As a matter of fact, Sempron/sA is based
on Barton core, while Sempron/s754 is a K8 sister.
The latter has an on-chip memory controller and
SSE2 instruction set supported. They are pretty
same in all other aspects though, and I still
suppose the perfomance margin is negligible.
http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_11599_11604,00.html
Sempron/754 might be a little faster than
it's Socket A version - but that's _only_
because of the chipsets for Socket 754 are
more advanced than Socket A ones. I would
generally recommend using Sempron/754, as
you could upgrade to Athlon 64 later and
FreeBSD/x64 then. On the other hand, s754
will be deprecated in a few years in favour
of s939.

Even for Sempron?
Yeah, it has been announced a few times, that
Sempron/s939 will be available somewhen in 2005
as market requires:
http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_608,00.html
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: arplookup failed

2005-04-04 Thread Pat Maddox
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default69.61.54.161   UGS 0  838rl0
69.61.54.160/29link#1 UC  00rl0
69.61.54.161   00:02:85:0d:7c:80  UHLW10rl0156
127.0.0.1  127.0.0.1  UH  00lo0

Internet6:
Destination   Gateway   Flags 
Netif Expire
::1   ::1   UH  lo0
fe80::%rl0/64 link#1UC  rl0
fe80::20c:6eff:fe44:4391%rl0  00:0c:6e:44:43:91 UHL lo0
fe80::%lo0/64 fe80::1%lo0   U   lo0
fe80::1%lo0   link#2UHL lo0
ff01::/32 ::1   U   lo0
ff02::%rl0/32 link#1UC  rl0
ff02::%lo0/32 ::1   UC  lo0




On Apr 4, 2005 5:48 AM, Andrew P. [EMAIL PROTECTED] wrote:
 Pat Maddox wrote:
  I've got a system running 5.3-p6, and am getting this error every 20
  minutes or so:
  kernel: arplookup 69.61.54.33 failed: host is not on local network
 
  I get that the host isn't on the network, but I don't have any idea
  where the message is coming from.  It's in /var/log/messages, shows up
  about every 20 minutes.  Any ideas?
 
 Maybe a direct route to that host is specified
 in your routing table. Provide the output of
 `netstat -rn` please.
 
 Best wishes,
 Andrew P.

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


Re: *attaching* a file to /usr/bin/mail message

2005-04-04 Thread Ean Kingston
 On 2005-04-02 14:08, Colin J. Raven [EMAIL PROTECTED] wrote:
 Does anyone happen to know how you would *attach* *not readin the
 contents of, but actually *attach*) a file using /usr/bin/mail?

 Not very easily, is one answer.  You can probably get away with uuencode
 output filtered to the standard input of mail(1), but that's not really
 a MIME attachment.

Okay, if you really want to use mail, here is what a mail message
(suitable for sending through /usr/bin/mail looks like when it has a
UUEncoded attachement. Technically you are supposed to MIME-Encode the
attachment but pretty much every mail client that supports attachments
will read a UUEncoded attachment.

From: System Administrator[EMAIL PROTECTED]
To: test user[EMAIL PROTECTED]
Subject: Testing mail attachments.
Content-Type: multipart/mixed;
boundary=This_can_not_match_any_other_line_in_the_message
MIME-Verion: 1.0

--This_can_not_match_any_other_line_in_the_message
Content-Transfer-Encoding: quoted-printable
Content-type: text/plain

Hi, Attached is a simple text file to test multi-part sending. The file was
originally called sample.txt and was created on a SUN system.

Notice the string specified in the boundary=... bit in the headers. That
string should not occur anywhere in the body except as part of the mime
part delimitters.

--This_can_not_match_any_other_line_in_the_message
Content-Transfer-Encoding: x-uuencode
Content-Type: text/plain;
name=sample.txt
Content-Disposition: attachment;
filename=sample.txt

begin 644 sample.txt
M5AIR!IR!A('-A;7!L92!F:6QE('[EMAIL PROTECTED];!B92!U=65N8V]D960@
M=[EMAIL PROTECTED]@95L:79EF5D(%S(%N(4M;6%I; IA='1A8VAM96YT+B!)=!I
MRP@;V)V:6]UVQY([EMAIL PROTECTED]5X=!F:[EMAIL 
PROTECTED]AIR!S:]U;[EMAIL PROTECTED]@=AE
.(9O=7)T:!L:[EMAIL PROTECTED]@

end

--This_can_not_match_any_other_line_in_the_message--

You use it like this:

/usr/bin/mail [EMAIL PROTECTED]  mail_with_attachment.txt

Obviously, you will have to uuencode your own attachment and replace the
one from the example.


 On my system mail has no -a (attach) flag, and some Googling told me
 mailx might solve the problem, but /usr/bin/mailx just invokes mail

 Other mail user agents do have a -a flag though.  At least mail/mutt
 does and I've used it successfully in the past.  If you are not stuck
 with mail(1) only, you can always use mutt for this.

   mutt -a /path/to/file [EMAIL PROTECTED]

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



-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Olaf van der Spek
On Apr 4, 2005 6:13 PM, Andrew P. [EMAIL PROTECTED] wrote:
  Are you sure?
  The s754 versions have an on die memory controller and a K8 core
  (although with disabled 64-bit mode), which should make it
  significantly faster then the K7 based Sempron on sA.
 
 Yeah, it appears I got a wrong idea from some poor
 article. As a matter of fact, Sempron/sA is based
 on Barton core, while Sempron/s754 is a K8 sister.
 The latter has an on-chip memory controller and
 SSE2 instruction set supported. They are pretty
 same in all other aspects though, and I still
 suppose the perfomance margin is negligible.

Why do you expect so much performance to be lost compared to the Athlon 64 s754?
The Athlon 64 s754 is significantly faster than the Athlon XP.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: *attaching* a file to /usr/bin/mail message

2005-04-04 Thread Richard Caley
In article [EMAIL PROTECTED], Colin J Raven (cjr) writes:

cjr Does anyone happen to know how you would *attach* *not readin the
cjr contents of, but actually *attach*) a file using /usr/bin/mail?

The metamail package includes metasend, a script which will build a
MIME message you can then send to bin/mail or sendmail or whatever.

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

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


Re: mpd VPN Server / W2K Clients

2005-04-04 Thread Micheal Patterson


- Original Message - 
From: Anton Zavrin [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Monday, April 04, 2005 9:27 AM
Subject: mpd VPN Server / W2K Clients


 Hello Jonathan,

 I found this thread from a long time ago at FreeBSD addicts:

http://lists.freebsd.org/pipermail/freebsd-questions/2003-December/027869.ht
 ml

 I'm having absolutely identical problem with my MPD (it used to work and
 then it just stopped, who knows why). I tried to follow up on that
solution
 you posted, but that page no longer opens up. Any help is greatly
 appreciated.

 Thank you much!

 -- 
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005


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

Anton, some things too look for here. Are the remote systems using Win XP?
If so, are their firewalls configured to allow traffic from your network on
TCP ports 1723? Also, is GRE being blocked at any point between your mpd
system and their end? If it just stopped working, has anyone placed a
firmware firewall device in recently? Many of them that I've run across
recently don't even know what GRE is so a specific entry has to be made to
allow protocol 47 to pass freely in order to get pptp to function properly.

Hope it helps.

--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Michael C. Shultz
On Monday 04 April 2005 07:40 am, Brian John wrote:
  On Apr 3, 2005 9:12 PM, Anthony Atkielski
  [EMAIL PROTECTED]

 wrote:
   One you've changed resolv.conf, it should stay that way
   permanently across boots, unless you change it again.
 
  dhclient will overwrite /etc/resolv.conf on boot

 How can I keep dhclient from doing this?

 /Brian

Running chflags schg /etc/resolv.conf as root would keep
it from being changed. You still should figure out why
dhclient is putting the wrong info in resolv.conf though.

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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
 On Monday 04 April 2005 07:40 am, Brian John wrote:
   On Apr 3, 2005 9:12 PM, Anthony Atkielski
   [EMAIL PROTECTED]
 
  wrote:
One you've changed resolv.conf, it should stay that way
permanently across boots, unless you change it again.
  
   dhclient will overwrite /etc/resolv.conf on boot
 
  How can I keep dhclient from doing this?
 
  /Brian

 Running chflags schg /etc/resolv.conf as root would keep
 it from being changed. You still should figure out why
 dhclient is putting the wrong info in resolv.conf though.

How can I find that out?  Sorry, but I'm pretty new to networking in
FreeBSD (not networking in general) so I need a little bit of direction.

Thanks for the help

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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Michael C. Shultz
On Monday 04 April 2005 09:52 am, Brian John wrote:
  On Monday 04 April 2005 07:40 am, Brian John wrote:
On Apr 3, 2005 9:12 PM, Anthony Atkielski
[EMAIL PROTECTED]
  
   wrote:
 One you've changed resolv.conf, it should stay that way
 permanently across boots, unless you change it again.
   
dhclient will overwrite /etc/resolv.conf on boot
  
   How can I keep dhclient from doing this?
  
   /Brian
 
  Running chflags schg /etc/resolv.conf as root would keep
  it from being changed. You still should figure out why
  dhclient is putting the wrong info in resolv.conf though.

 How can I find that out?  Sorry, but I'm pretty new to networking in
 FreeBSD (not networking in general) so I need a little bit of
 direction.

 Thanks for the help

 /Brian

I'm not an expert on dhclient sorry, I just know that setting the 
immutable flag will keep things from changing your resolv.conf file.
Hopefully someone else will give you useful information about dhclient.

-Mike

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


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Andrew P.
Olaf van der Spek wrote:
On Apr 4, 2005 6:13 PM, Andrew P. [EMAIL PROTECTED] wrote:
Are you sure?
The s754 versions have an on die memory controller and a K8 core
(although with disabled 64-bit mode), which should make it
significantly faster then the K7 based Sempron on sA.
Yeah, it appears I got a wrong idea from some poor
article. As a matter of fact, Sempron/sA is based
on Barton core, while Sempron/s754 is a K8 sister.
The latter has an on-chip memory controller and
SSE2 instruction set supported. They are pretty
same in all other aspects though, and I still
suppose the perfomance margin is negligible.

Why do you expect so much performance to be lost compared to the Athlon 64 s754?
The Athlon 64 s754 is significantly faster than the Athlon XP.

I haven't seen any tests, yet I've seen Sempron/Socket-A
in action and it was impressive. I also have Athlon 64
and Athlon XP pc's at home and I don't think K8 is
so superior. In non-sse2 non-very-memory-intensive
applications it performs better, but not turbo-charged.
Besides, AMD is pricing Socket-A Semprons even higher
than s754 versions. Considering the fact that s754 is
clocked lower than sA of the same PR, it can be hard
to determine the speed difference.
Anyway, I really think there's nothing for us to
argue about :) Gareth is staying with s754 and we
should be glad for him :)
Very best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Free NCD Explora 451's to a good home

2005-04-04 Thread Harrison, Tom
Seth,

Do you still have the Explora 451's?


Tom Harrison
Distributed Computing Engineering
955-8344
4E-32K



-
A.G. Edwards  Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other 
than the recipient.

-

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


Re: arplookup failed

2005-04-04 Thread Andrew P.
Pat Maddox wrote:
On Apr 4, 2005 5:48 AM, Andrew P. [EMAIL PROTECTED] wrote:
Pat Maddox wrote:
I've got a system running 5.3-p6, and am getting this error every 20
minutes or so:
kernel: arplookup 69.61.54.33 failed: host is not on local network
I get that the host isn't on the network, but I don't have any idea
where the message is coming from.  It's in /var/log/messages, shows up
about every 20 minutes.  Any ideas?
Maybe a direct route to that host is specified
in your routing table. Provide the output of
`netstat -rn` please.

 DestinationGatewayFlagsRefs  Use  Netif
 default69.61.54.161   UGS 0  838rl0
 69.61.54.160/29link#1 UC  00rl0
 69.61.54.161   00:02:85:0d:7c:80  UHLW10rl0
 127.0.0.1  127.0.0.1  UH  00lo0
Hmm, according to this table every packet with
69.61.54.33 destination would be sent to
69.61.54.161 gateway, arplookup would not be
performed for the 33 address. What comes to my
mind is that some broken router might be messing
your routing table via ICMP (or do you use
a routing protocol like RIP or OSPF?) You might
need to run 'route monitor  route_changes.log '
for a few hours and post the log, for us to see
what's happening.
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Lowell Gilbert
Brian John [EMAIL PROTECTED] writes:

  On Apr 3, 2005 9:12 PM, Anthony Atkielski [EMAIL PROTECTED]
 wrote:
  
   One you've changed resolv.conf, it should stay that way permanently
   across boots, unless you change it again.
  
 
 
  dhclient will overwrite /etc/resolv.conf on boot
 
 How can I keep dhclient from doing this?

Configure it not to: according to man dhclient.conf, a 
prepend domain-name-servers mumble should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: exec make buildworld

2005-04-04 Thread Gert Cuykens
On Apr 4, 2005 12:03 PM, Andrew P. [EMAIL PROTECTED] wrote:
 Jonathan Chen wrote:
  On Mon, Apr 04, 2005 at 06:16:14AM +0200, Gert Cuykens wrote:
 
 On Apr 4, 2005 6:07 AM, Gert Cuykens [EMAIL PROTECTED] wrote:
 
 Is it possible to do a ssh conection then do exec make buildworld on
 the remote system close the conection and do a conection again later
 and get the output from make buildworld again ?
 
 
 Doh i forgot the important part again, without using screen :)
 
 
  # make buildworld  log.file 
  # logout
 
 It's kinda strange, but it didn't work for me yesterday.
 The build stopped as soon as I logged out, I used
 Ctrl-D instead of logout though.
 
 What I find more comfortable is
 # at + 1 minute
 make buildworld
 Ctrl-D
 
 Some time after I have new mail, containing all the
 output (stdout and stderr) from the task. That's cute.
 

i think it did not work because you have to do exec make buildworld 
log.file  logout dont know did not try it yet :)

Is ctrl+D the same as close exit or logout or does it stand for detach
and run in the background ? If i do ctrl +D in a terminal doing
nothing ? Will the terminal be runing forever in the background doing
nothing untill i kill it ?
Where can you find a list of csh ctrl commands ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xoasis hell over for now

2005-04-04 Thread Chris Nye
got her back up and running on my own. (it only took 8 hrs and got 
knows how many reboots). Don't know why she crashed  burned yet

Thanks anyway.
***

my xoasis box rolled over  died sat

mail  web server down so have been trying to get it online for last 6 
hrs.

system rebooted itself and I came in to screen to run fsck manually.

I did and it ran till lost+found fills up.

I manually mount with -fw and delete folder with rm-r

restart fsck and it finishs but autoanswers No
so I rebott the bos and it runs again till the folders fills up. 

Am I del new files every time or is it just repeating itself.

it appears to be old mail and snort logs

HELP!!

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


Re: Which mail server is the best for me?

2005-04-04 Thread matt virus
Bob Johnson wrote:

 I prefer Courier.  It is similar to qmail, but it doesn't require all 
 the patching that it takes to make qmail usable.  And unlike qmail, 
it  attempts to comply with email standards.
 http://www.courier-mta.org

 /usr/ports/mail/courier

 - Bob

It seems this port is broken...anyone have an idea what needs to be 
fixed to get it to run?

--
Matt Virus (veer-iss)
http://www.mattvirus.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: exec make buildworld

2005-04-04 Thread Charles Swiger
On Apr 4, 2005, at 1:54 PM, Gert Cuykens wrote:
 think it did not work because you have to do exec make buildworld 
log.file  logout dont know did not try it yet :)
Is ctrl+D the same as close exit or logout or does it stand for detach
and run in the background ?
Cntl-D when read as input means EOF.  The shell reads commands until it 
reaches the end of the shell script, or the end of user input, and then 
exits.  Cntl-D thus behaves similar to exit or logout.

[ EOF really is a state of mind, not a character. ]
 If i do ctrl +D in a terminal doing nothing ?
Your shell will exit.
Will the terminal be runing forever in the background doing
nothing untill i kill it ?
Nope.  Your terminal window will notice the child shell process go 
away, and will do the same thing.

Where can you find a list of csh ctrl commands ?
These aren't specific to csh, but see stty -a.
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd disc 1

2005-04-04 Thread Gert Cuykens
On Apr 4, 2005 12:04 PM, Andrew P. [EMAIL PROTECTED] wrote:
 Gert Cuykens wrote:
  Who do i ask if he / she would like to put this to the distribution list
 
  [ ] cvsupdate-nogui
 
  Cant we make some user freebsd-voting list were we can vote for changes :)
 
 Come to think about it, I kinda miss this option, too.
 
 Best wishes,
 Andrew P.


Alrighdy thats 2 votes already :) 
I say we go to the california and go run in circles holding a cvsup pannel :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: exec make buildworld

2005-04-04 Thread Gert Cuykens
On Apr 4, 2005 8:03 PM, Charles Swiger [EMAIL PROTECTED] wrote:
 On Apr 4, 2005, at 1:54 PM, Gert Cuykens wrote:
   think it did not work because you have to do exec make buildworld 
  log.file  logout dont know did not try it yet :)
 
  Is ctrl+D the same as close exit or logout or does it stand for detach
  and run in the background ?
 
 Cntl-D when read as input means EOF.  The shell reads commands until it
 reaches the end of the shell script, or the end of user input, and then
 exits.  Cntl-D thus behaves similar to exit or logout.
 
 [ EOF really is a state of mind, not a character. ]
 
   If i do ctrl +D in a terminal doing nothing ?
 
 Your shell will exit.
 
  Will the terminal be runing forever in the background doing
  nothing untill i kill it ?
 
 Nope.  Your terminal window will notice the child shell process go
 away, and will do the same thing.
 
  Where can you find a list of csh ctrl commands ?
 
 These aren't specific to csh, but see stty -a.
 

what does stty stand for ?

signal text terminal y... ?

FX-53U stty -a
speed 38400 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany imaxbel -ignbrk
brkint -inpck ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd -hupcl -clocal -cstopb -crtscts
-dsrflow -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
eol2 = undef; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
FX-53U 

So ^D stand for end of file, what does this mean time = 0; ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help with pf

2005-04-04 Thread LukeD
On Sun, 3 Apr 2005, Brian John wrote:
altq on $ext_if priq
queue mail priority 13
queue ssh priority 12
queue web priority 14
I see one syntactical thing you missed.
You have to define your child queues in your altq declaration.  Something 
like:
altq on $ext_if priq queue {mail, ssh, web}

Also, after you get the syntax right, unless the maximum bandwidth of your 
outside line is the same as the maximum bandwidth of your network card 
(does this ever happen?) you're going to want to use the bandwidth 
keyword in that declaration also, and pick a proper value for it. Picking 
the right bandwidth value seems to be an art form that requires a lot of 
trial and error and liberal use of pfctl -vvs queue

If traffic shaping isn't working and your queues are always empty, then 
the number is too high.  If the queues are filling up and dropping too 
many packets, then either the number is too low or you're just generating 
more traffic than you can handle well.

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


Re: exec make buildworld

2005-04-04 Thread Charles Swiger
On Apr 4, 2005, at 2:14 PM, Gert Cuykens wrote:
what does stty stand for ?
If you want a complete description, read the manpage.
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Outgoing port 113 connections

2005-04-04 Thread use-reply-to
My firewall keeps reporting that it denies outgoing 113 port
connections.

Why would I allow port 113 outgoing connections?  I don't seem to have
any problems at the moment.

Also, how would I identify which program is trying to connect to 113
port?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Outgoing port 113 connections

2005-04-04 Thread Bob Hall
On Mon, Apr 04, 2005 at 11:46:26AM -0700, [EMAIL PROTECTED] wrote:
 My firewall keeps reporting that it denies outgoing 113 port
 connections.
 
 Why would I allow port 113 outgoing connections?  I don't seem to have
 any problems at the moment.
 
 Also, how would I identify which program is trying to connect to 113
 port?

I think the first step is
grep 113 /etc/services
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: webalizer package installation

2005-04-04 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2005-04-04 20:24:00 +0530:
 Hello,

Hello, please keep this on questions@
 
 thanks a lot for info ..
 Previously there was no ports directory under /usr
 So I downloded all 12,### ports from net and extract them under /usr
 now when I 
 cd /usr/ports/graphics/gd
 or
 cd /usr/ports/graphics/png
 
 and give command make it gives following error 
 
 -bash-2.05b# pwd
 /usr/ports/graphics/png
 -bash-2.05b# make
 /usr/sbin/sysctl: not found
 /usr/ports/Mk/bsd.port.mk, line 1030: warning: /usr/sbin/sysctl -n
 kern.osreldate returned non-zero status

umm, how did you install the system? why does bsd.port.mk think that
sysctl is in /usr/sbin?

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Outgoing port 113 connections

2005-04-04 Thread Andrew P.
[EMAIL PROTECTED] wrote:
My firewall keeps reporting that it denies outgoing 113 port
connections.
Why would I allow port 113 outgoing connections?  I don't seem to have
any problems at the moment.
Also, how would I identify which program is trying to connect to 113
port?
113 -  netbios session,   
 .
,  
,  ?FreeBSD, 
 ,,  
 .
  
 smbfs   
smbclient (  samba).
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Outgoing port 113 connections

2005-04-04 Thread Ean Kingston

 My firewall keeps reporting that it denies outgoing 113 port
 connections.

 Why would I allow port 113 outgoing connections?  I don't seem to have
 any problems at the moment.

So that applications on your system can perform a remote ident request. I
don't know of any program that requires ident to work. Some (like ssh in
some configurations) will try it to get more information about the remote
user by trying an ident call over the network.

 Also, how would I identify which program is trying to connect to 113
 port?

$ grep 113 /etc/services
auth113/tcpident tap#Authentication Service
auth113/udpident tap#Authentication Service

You may also try sockstat, netstat, and tcpdump.

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Need help to debug freeze on IBM T41

2005-04-04 Thread Per olof Ljungmark
Hi all,
A 5.4-STABLE system that freezes to death at the login: prompt.
I can boot single user ok, run sshd, inetd, ntpd, postfix etc.
No signs in logs at all
Did cvsup and rebuilt/mergemaster in single user today but did not 
change behaviour
HDD 2 with XP is fine

What is the best method to find out what the problem might be, like 
running rc with very verbose logging or somesuch?

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


Re: freebsd disc 1

2005-04-04 Thread Andrew P.
Gert Cuykens wrote:
On Apr 4, 2005 12:04 PM, Andrew P. [EMAIL PROTECTED] wrote:
Gert Cuykens wrote:
Who do i ask if he / she would like to put this to the distribution list
[ ] cvsupdate-nogui
Cant we make some user freebsd-voting list were we can vote for changes :)
Come to think about it, I kinda miss this option, too.
Alrighdy thats 2 votes already :) 
I say we go to the california and go run in circles holding a cvsup pannel :)
BTW, I'd also vote for /etc/rc.d/ftpd script
Wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Determining what port owns a file

2005-04-04 Thread Mac Mason
I want to put kghostview on a machine, but I don't want to install too
much of KDE in the progress.

Given that I have another machine with it already installed, how might I
go about figuring out which port owns, say, /usr/local/bin/kghostview?

(If anybody happens to know offhand, that would work too)

Thanks!

--Mac


pgpaBCQZIegcE.pgp
Description: PGP signature


Re: Determining what port owns a file

2005-04-04 Thread Lowell Gilbert
Mac Mason [EMAIL PROTECTED] writes:

 I want to put kghostview on a machine, but I don't want to install too
 much of KDE in the progress.
 
 Given that I have another machine with it already installed, how might I
 go about figuring out which port owns, say, /usr/local/bin/kghostview?

If you have portupgrade installed, then pkg_which(1) will tell you.
Otherwise, pkg_info -La and a bit of searching will do the job.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Determining what port owns a file

2005-04-04 Thread Dan Nelson
In the last episode (Apr 04), Lowell Gilbert said:
 Mac Mason [EMAIL PROTECTED] writes:
 
  I want to put kghostview on a machine, but I don't want to install too
  much of KDE in the progress.
  
  Given that I have another machine with it already installed, how might I
  go about figuring out which port owns, say, /usr/local/bin/kghostview?
 
 If you have portupgrade installed, then pkg_which(1) will tell you.
 Otherwise, pkg_info -La and a bit of searching will do the job.

pkg_info -W filename does what pkg_which filename does, just a bit
slower (and for only one file at a time)

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


FAQ: How to Measure Swap in FreeBSD

2005-04-04 Thread Danny Howard
Hello,
I tried to get an answer to this question last year but failed.
Today, I think I have it.
Q: How do you measure swap utilization in FreeBSD?  (Assuming you are 
writing a script to gather performance metrics.)

A: If you are writing a C program, check kvm_getswapinfo(3) and maybe 
take a gander at the bottom of /usr/src/usr.bin/top/machine.c.

A: If you are writing a Perl script:
Measure swap activity:
sysctl vm.stats.vm.v_swapin vm.stats.vm.v_swapout 
vm.stats.vm.v_swappgsin vm.stats.vm.v_swappgsout
(I believe these results are COUNTER type values, like you get from 
netstat -inb.  You could establish swap activity by plotting changes 
in this value.)

Measure swap size:
0-13:38 [EMAIL PROTECTED] ~ swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/ad0s1b   1040  104 0%
0-13:38 [EMAIL PROTECTED] ~ swapctl -l
Device:   1024-blocks Used:
/dev/ad0s1b 104 0
If you are trying to accomodate n+1 swap devices, try this:
0-13:44 [EMAIL PROTECTED] ~ swapctl -lsk
Device:   1024-blocks  Used:
/dev/ad0s1b  104  0
Total:   104  0
Now, perhaps the next poor soul to Google this topic may get a slightly 
better answer. :)

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


screwy network/dmz problem

2005-04-04 Thread Chip Wiegand
here in our office we have a firewall running Firewall-1 (it is 
administered remotely from another office in another country). It is set 
up with a dmz so I can host a web server (which is running IIS), but it 
works. I am now adding another web server, running Apache/FreeBSD. Problem 
is the FBSD box does not ping anything. The IIS box can ping the FBSD box 
and get a response from it. I have used the same network settings on the 
FBSD box that are on the IIS box, changing only the ipaddress. I don't 
understand why the FBSD box only responds with network not found when 
trying to ping anything. Now the IIS box is not a member of any network, 
it is it's own workgroup called DMZ. Is the problem that the FBSD box 
needs to be a member of the workgroup DMZ? And if so, how do I get it 
there?

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


Re: Need help to debug freeze on IBM T41

2005-04-04 Thread Per olof Ljungmark
[EMAIL PROTECTED] wrote:
5.4 is not an stable release yet. Its still under development.
People who try to use this bleeding edge version are suppose to know
how to debug kernel code.  You will be much better off using 4.11
release which is very stable and rock hard. All the 5.x version
still have major bugs it them.  Use at your own risk.
I AM using it at my own risk. I KNOW 4.11 is stable. I was asking for a 
hint on how I could LEARN MORE instead of JUST COMPLAINING.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Build options for ghostscript-gnu

2005-04-04 Thread Tom Munro Glass
Whenever portmanager decides to rebuild ghostscript-gnu, there is a huge list 
of printers/devices that I have to deselect. Is there any way of saving the 
build configuration for ghostscript-gnu so I don't have to do this every 
time?

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


Promise TX2 Rebuild via atacontrol??

2005-04-04 Thread Edgar Martinez
All,

 

I have a failed member in a RAID1 array and using atacontrol can see that
the status is degraded. I am curious if I can use atacontrol to rebuild the
array if the original array was built using the Promise BIOS utility. If I
tell atacontrol to rebuild.will it corrupt my data or catch fire and
explode??

 

Cheers!

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


ipflog entries?

2005-04-04 Thread Robert Marella
Greetings
My daily mail on my firewall (5.3-rel-p4) has always shown many ( 
1)  blocks by my blocking rule
block in quick on em0 from 10.0.0.0/8 to any. Obviously I'm using 
ipf/ipnat.

So, for education, today I enabled log for a short time on that rule. 
Within a few minutes I logged over twenty
attempts from the same address. (Sample below, text attached)

04/04/2005 11:33:41.034653 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 
PR udp len 20 337 IN
04/04/2005 11:33:41.973120 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 
PR udp len 20 344 IN
04/04/2005 11:33:57.532249 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 
PR udp len 20 337 IN
04/04/2005 11:33:58.963415 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 
PR udp len 20 344 IN

Ports 67 shows dhcps and 68 shows dhcpc in /etc/services.
em0 is connected to my roadrunner cable modem. Is the cable modem doing 
this or is someone spoofing this IP address?

Sorry if this has been answered already but I'm kind of new to the 
firewall stuff.

Thank you for your time.
Robert
04/04/2005 11:32:13.544747 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:32:22.045132 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:32:38.544230 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:33:23.043437 2x em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR 
udp len 20 337 IN
04/04/2005 11:33:25.553000 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:33:27.822447 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:33:29.962973 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 344 IN
04/04/2005 11:33:32.535749 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:33:34.952726 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 344 IN
04/04/2005 11:33:38.027073 em0 @0:6 b 218.83.155.71,55197 - 66.8.191.104,1029 
PR udp len 20 459 IN
04/04/2005 11:33:41.034653 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:33:41.973120 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 344 IN
04/04/2005 11:33:57.532249 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:33:58.963415 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 344 IN
04/04/2005 11:34:27.203702 2x em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR 
udp len 20 341 IN
04/04/2005 11:34:34.461616 em0 @0:6 b 24.90.91.53,15851 - 66.8.191.104,42 PR 
tcp len 20 48 -S IN
04/04/2005 11:34:37.463380 em0 @0:6 b 24.90.91.53,15851 - 66.8.191.104,42 PR 
tcp len 20 48 -S IN
04/04/2005 11:34:42.021349 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:34:42.804996 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:34:44.532057 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:34:46.807355 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:34:51.521685 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:35:00.022081 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:35:16.541624 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:35:36.322489 2x em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR 
udp len 20 342 IN
04/04/2005 11:35:59.813198 2x em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR 
udp len 20 353 IN
04/04/2005 11:36:01.020881 2x em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR 
udp len 20 337 IN
04/04/2005 11:36:03.510580 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:36:05.801901 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:36:10.510708 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:36:19.010118 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:36:35.511583 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:37:08.834639 em0 @0:6 b 60.34.114.40,2861 - 66.8.191.104,5554 PR 
tcp len 20 48 -S IN
04/04/2005 11:37:09.835071 em0 @0:6 b 60.34.114.40,3093 - 66.8.191.104,1023 PR 
tcp len 20 48 -S IN
04/04/2005 11:37:11.841033 em0 @0:6 b 60.34.114.40,3634 - 66.8.191.104,9898 PR 
tcp len 20 48 -S IN
04/04/2005 11:37:21.010605 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:37:21.788276 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:37:23.499794 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:37:25.791626 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:37:30.509418 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:37:38.999829 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68 PR udp 
len 20 337 IN
04/04/2005 11:37:55.499265 em0 @0:3 b 10.96.0.1,67 - 

Re: ipflog entries?

2005-04-04 Thread Danny Pansters
On Tuesday 05 April 2005 00:05, Robert Marella wrote:
 Greetings

 My daily mail on my firewall (5.3-rel-p4) has always shown many (
 1)  blocks by my blocking rule
 block in quick on em0 from 10.0.0.0/8 to any. Obviously I'm using
 ipf/ipnat.

 So, for education, today I enabled log for a short time on that rule.
 Within a few minutes I logged over twenty
 attempts from the same address. (Sample below, text attached)

 04/04/2005 11:33:41.034653 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68
 PR udp len 20 337 IN
 04/04/2005 11:33:41.973120 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68
 PR udp len 20 344 IN
 04/04/2005 11:33:57.532249 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68
 PR udp len 20 337 IN
 04/04/2005 11:33:58.963415 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68
 PR udp len 20 344 IN

 Ports 67 shows dhcps and 68 shows dhcpc in /etc/services.

 em0 is connected to my roadrunner cable modem. Is the cable modem doing
 this or is someone spoofing this IP address?

 Sorry if this has been answered already but I'm kind of new to the
 firewall stuff.

 Thank you for your time.
 Robert

It's your cable provider insisting to send you bootps info (for broken windows 
customers I reckon). Yech that's as if you're some network appliance :) Mine 
does that too. I just drop/not log them. Whenever your dhclient needs to 
renew a lease it will connect and if your firewall keeps state on that your 
ISP's dhcp server has it's lucky moment because for once something may 
connect back in. Both of you happy.

HTH,

Dan



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


iSCSI (revisited?)

2005-04-04 Thread Justin Bennett
All,
I was wondering what people thought of iSCSI and FreeBSD. Is it a viable 
option for creating SANs?

I want to move away from tape backups, and have numerous production 
FreeBSD machines that I need to back up data from.

Any other ideas for a disk to disk backup solution that people have used?
Thanks,
Justin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installation ok, then what?

2005-04-04 Thread Sonera Oyj
Hi
I need freeBSD for really stupid dummies style assistant.
I´ve managed to install bsd, and gotten as far as the
Welcome to free BSD screen
my questoin; at the # what am I supposed to type there to start it, the OS,  
(in KDE)?
Typing Login root or username and password only result in the welcome to bsd 
screen...

Thanx in advance
_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

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


Maintaining a Minimal Installation for a Small HDD

2005-04-04 Thread Iain Dooley
hi there, i'm currently running FreeBSD 4.10-RELEASE on a Thinkpad 586, with 
a 1GB HDD and something like 48 MB of ram, with a pentium 133 processor.

there is no CD drive, so i installed from floppies via FTP and selected 
'minimal' installation, and didn't install any of the ports or src.

i now want to upgrade to 5.3 (for various reasons) and i want to have a 
source tree that i can use to maintain my system via cvsup.

in my stable-supfile, i commented out src-all, and then selected only the  
packages that i thought i would need.

i commented out src-contrib, but this produced an error that make did not 
know how to build bool-array.cc.

src-contrib is very large, and there are loads and loads of programs in 
there that i don't need for this machine (i am really only ever going to use 
the laptop to ssh into another computer on my network at home and from uni 
over the wireless network... it's just a portable terminal).

i'm pretty confident that i could select what i need, (ie. i think i could 
go into contrib and select only the programs that i want to install) but i 
don't really know how to do it.

do i need to edit the Makefiles? how can i cvsup only those programs in 
contrib that i need? my aim here is to have a compact source tree that i can 
use cvsup to keep current, but only takes up a couple of hundred meg.

i'm not sure where to start. the handbook is usually a good place to start 
but i don't know the best section to look in. any help would be greatly 
appreciated.

cheers
iain
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


More BSD/KDE Sound Problems

2005-04-04 Thread Spiral Eyed Girl
I got sound working correctly with my SoundBlaster Audigy MP3+, but I have a 
problem with sound quality. It sounds hollow, like you are listening to 
really loud headphones a few feet away from you.

Has anyone experienced this problem (with or without an audigy card), and do 
you have any solutions? I know SBA support for freebsd is new, but I need to 
know if I setup something wrong, or if it's just because support is new and 
incomplete.

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


Re: ipflog entries?

2005-04-04 Thread Robert Marella
Danny Pansters wrote:
On Tuesday 05 April 2005 00:05, Robert Marella wrote:
 

Greetings
My daily mail on my firewall (5.3-rel-p4) has always shown many (
1)  blocks by my blocking rule
block in quick on em0 from 10.0.0.0/8 to any. Obviously I'm using
ipf/ipnat.
So, for education, today I enabled log for a short time on that rule.
Within a few minutes I logged over twenty
attempts from the same address. (Sample below, text attached)
04/04/2005 11:33:41.034653 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68
PR udp len 20 337 IN
04/04/2005 11:33:41.973120 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68
PR udp len 20 344 IN
04/04/2005 11:33:57.532249 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68
PR udp len 20 337 IN
04/04/2005 11:33:58.963415 em0 @0:3 b 10.96.0.1,67 - 255.255.255.255,68
PR udp len 20 344 IN
Ports 67 shows dhcps and 68 shows dhcpc in /etc/services.
em0 is connected to my roadrunner cable modem. Is the cable modem doing
this or is someone spoofing this IP address?
Sorry if this has been answered already but I'm kind of new to the
firewall stuff.
Thank you for your time.
Robert
   

It's your cable provider insisting to send you bootps info (for broken windows 
customers I reckon). Yech that's as if you're some network appliance :) Mine 
does that too. I just drop/not log them. Whenever your dhclient needs to 
renew a lease it will connect and if your firewall keeps state on that your 
ISP's dhcp server has it's lucky moment because for once something may 
connect back in. Both of you happy.

HTH,
Dan
 

Thanks Dan.
I kinda thunk it was something like that. Just wanted someone such as 
yourself to confirm. The sheer number that was reported in the daily 
mail was what got me concerned. I was and am just dropping them. I only 
enabled the log for about 5 minutes.

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


Re: freebsd disc 1

2005-04-04 Thread Gert Cuykens
On Apr 4, 2005 9:54 PM, Andrew P. [EMAIL PROTECTED] wrote:
 Gert Cuykens wrote:
  On Apr 4, 2005 12:04 PM, Andrew P. [EMAIL PROTECTED] wrote:
 
 Gert Cuykens wrote:
 
 Who do i ask if he / she would like to put this to the distribution list
 
 [ ] cvsupdate-nogui
 
 Cant we make some user freebsd-voting list were we can vote for changes :)
 
 Come to think about it, I kinda miss this option, too.
 
  Alrighdy thats 2 votes already :)
  I say we go to the california and go run in circles holding a cvsup pannel 
  :)
 
 BTW, I'd also vote for /etc/rc.d/ftpd script
 

Is the only way to setup a ftp by enabeling inetd ?
If so i want a /etc/rc.d/ftpd script too

PS Does sftp mean sshd + ftpd ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: iSCSI (revisited?)

2005-04-04 Thread John Pettitt


Justin Bennett wrote:

 All,

 I was wondering what people thought of iSCSI and FreeBSD. Is it a
 viable option for creating SANs?

 I want to move away from tape backups, and have numerous production
 FreeBSD machines that I need to back up data from.

 Any other ideas for a disk to disk backup solution that people have used?

 Thanks,

 Justin

For disk-to-disk backup take a look at BackupPC (don't let the name fool
you it supports *nix clients).   The nice thing about BackupPC is it
does file pooling which saves *a lot* of space.

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


RE: installation ok, then what?

2005-04-04 Thread Bomgardner,Jon
 -Original Message-
 From: Sonera Oyj [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, April 03, 2005 2:46 PM
 To: freebsd-questions@FreeBSD.org
 Subject: installation ok, then what?
 
 
 Hi
 I need freeBSD for really stupid dummies style assistant.
 I´ve managed to install bsd, and gotten as far as the
 Welcome to free BSD screen
 my questoin; at the # what am I supposed to type there to 
 start it, the OS,  
 (in KDE)?
 Typing Login root or username and password only result in the 
 welcome to bsd 
 screen...
 
 Thanx in advance

Provided that you've installed and configures the X system 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html), and 
installed KDE (following the directions on KDE's site: 
http://docs.kde.org/en/HEAD/kdebase/quickstart/ is a good place to start) you 
can can just type startx. However, for a dummies style assistant I would 
suggest using kdm, which is the KDE system login (much akin to the windows 
login screen). You can find info for this at: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

HTH,
Jon Bomgardner


 
 _
 On the road to retirement? Check out MSN Life Events for 
 advice on how to 
 get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 

==
This communication, together with any attachments hereto or links contained 
herein, is for the sole use of the intended recipient(s) and may contain 
information that is confidential or legally protected. If you are not the 
intended recipient, you are hereby notified that any review, disclosure, 
copying, dissemination, distribution or use of this communication is STRICTLY 
PROHIBITED.  If you have received this communication in error, please notify 
the sender immediately by return e-mail message and delete the original and all 
copies of the communication, along with any attachments hereto or links herein, 
from your system.

==
The St. Paul Travelers e-mail system made this annotation on 04/04/05, 18:54:10.


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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Anthony Atkielski
cape canaveral writes:

 dhclient will overwrite /etc/resolv.conf on boot

Then perhaps dhclient.conf is the culprit; an alternative is to stop
running dhclient, but only if the machine's own IP address is static.

-- 
Anthony


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


Re: HZ=1000 ?

2005-04-04 Thread John Pettitt


[EMAIL PROTECTED] wrote:


Interestingly, HZ=100 has remained constant for decades (!), despite
CPUs getting faster all the time. This is an excellent value for most
typical usage patterns. Cranking it up should only be required for
special cases. Anyway, the HZ knob is there. Experiment with it until
you get optimal performance.

  


  

In the dim and distant past (like 1983) some systems used HZ=50 or HZ=60
depending on where in the world they were.   I used an MP/M based box
that took it's clock tick from the power line (no good RTC hardware
available but the power company keeps pretty good time).

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


Re: screwy network/dmz problem

2005-04-04 Thread Jerry Bell
The first thing I would check is that it's the BSD box that you are
actually pinging.  I'd try unplugging it and trying the ping again from
the IIS box.  Barring that, I would double and triple check the network
mask on the BSD box.  Also, make sure you don't have some screwy firewall
rules on the BSD server that prevent outbound pings.
Next, look at the output of 'netstat -rn'
You should see entries for the default gateway as well as your local
network.  If all looks good there, check your arp table with arp -a.  If
you don't see anything there, it's probably a layer 1 or 2 problem
(cabling/vlan).
There are many many possibilities for what could be wrong, but it's hard
for us to say.  Let us know what you find on those tests.

Jerry
http://www.syslog.org

 here in our office we have a firewall running Firewall-1 (it is
 administered remotely from another office in another country). It is set
 up with a dmz so I can host a web server (which is running IIS), but it
 works. I am now adding another web server, running Apache/FreeBSD. Problem
 is the FBSD box does not ping anything. The IIS box can ping the FBSD box
 and get a response from it. I have used the same network settings on the
 FBSD box that are on the IIS box, changing only the ipaddress. I don't
 understand why the FBSD box only responds with network not found when
 trying to ping anything. Now the IIS box is not a member of any network,
 it is it's own workgroup called DMZ. Is the problem that the FBSD box
 needs to be a member of the workgroup DMZ? And if so, how do I get it
 there?

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



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


RE: New Freebsd Install Guide Available

2005-04-04 Thread Texas Consultant
Many people who are involved in FreeBSD are not programmers. The Project 
includes documentation writers, Web designers, and support people. All that 
these people need to contribute is an investment of time and a willingness 
to learn.

1.  Read through the FAQ and Handbook periodically. If anything is badly 
explained, out of date or even just completely wrong, let us know. Even 
better, send us a fix (SGML is not difficult to learn, but there is no 
objection to ASCII submissions).

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html
-- I think this is great, but there should be a project leader to regulate 
overall structure of the Handbook and other documents as that is perhaps 
where the greatest amount of work is needed. Could we at least have a 
mailing list for writers?

Date: Mon, 4 Apr 2005 01:03:24 -0400
From: [EMAIL PROTECTED]
Subject: RE: New Freebsd Install Guide Available
To: Chris Hill [EMAIL PROTECTED]
Cc: Randy Pratt [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii
As stated in the content displayed by those URL's  the Install guide
is free to anyone to download and very plainly states the content is
contributed to public domain.
So  why are so many people asking the same question when the answer
is so self evident?
And this writer takes offence to anybody calling the promoting of
this Install guide as verbally trashing the handbook.
I don't need to do that.  Many others have done that over the years.
Any regular reader of the list will know that the handbook content
has had many people voicing concern over its  less than basic
ability to convey meaningful instructions.  No need to open that
flame war again.
The bottom line is the firewall section of this Install guide has
been  lifted and used to replace the FreeBSD official  handbook's
complete firewall section all ready. Any body can lift any part of
the install guide and put forth their own effort to use it as source
to replace other sections of the official handbook. There is nothing
stopping you so go for it.
This Install guide has a much more meaningful index which is right
there all the time helping the reader to navigate the guides
different subjects.  The presentation method of the index and
content on split screen is more in line with modern web content that
every ones sees these days. Plus the install Guide progresses in an
step by step manner from installing the base default system all the
way up to configurating a private LAN which can masquerade as a
commercial user.  This address the desired server configuration most
often wanted by the majority the first time posters to this
questions list.
Another important niche this FreeBSD Install Guide covers is that it
is downloadable direct to ms/window boxes and can be viewed using
the ms/explorer browser.  You UNIX purists have to accept the fact
that there are many ms/win users who want to be FreeBSD users and
dual win/FreeBSD users out there and this Install guide opens up a
bridge to the FreeBSD operating system to service this untapped
potential user group.  Just watch the posts on the list for the
magnitude of ms/office top posters to bear out that truth.   The
official handbook in its current format does not address this. Since
its 3/1//05 public domain release this install guide has been
visited 1500 times and downloaded 216 times.  This was mostly from
people who responded from the UNIX news groups  postings.
The best thing for the FreeBSD doc group to do is request to be an
official mirror of the Install guide. Hay the Doc group will have
the best win win situation here. They get an alternate view of the
install process that is maintained outside of the FreeBSD project.
Much like the pf  firewall has its own self maintained user guide.
Now this is something to think about.

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


Re: freebsd disc 1

2005-04-04 Thread Danny Pansters
On Tuesday 05 April 2005 00:46, Gert Cuykens wrote:
 On Apr 4, 2005 9:54 PM, Andrew P. [EMAIL PROTECTED] wrote:
  Gert Cuykens wrote:
   On Apr 4, 2005 12:04 PM, Andrew P. [EMAIL PROTECTED] wrote:
  Gert Cuykens wrote:
  Who do i ask if he / she would like to put this to the distribution
   list
  
  [ ] cvsupdate-nogui
  
  Cant we make some user freebsd-voting list were we can vote for
   changes :)
  
  Come to think about it, I kinda miss this option, too.
  
   Alrighdy thats 2 votes already :)
   I say we go to the california and go run in circles holding a cvsup
   pannel :)
 
  BTW, I'd also vote for /etc/rc.d/ftpd script

 Is the only way to setup a ftp by enabeling inetd ?
 If so i want a /etc/rc.d/ftpd script too

Standard ftpd runs through inetd.

 PS Does sftp mean sshd + ftpd ?

Nope. It's a subsystem of sshd, its client interface only resembles ftp just 
as scp resembles rcp.

Dan

(please don't CC me)


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


  1   2   >