Re: DNS: querying route DNS

2005-01-14 Thread Andrew P.
Matthew Seaman wrote:
If your ISPs nameservers are unreliable or overloaded, and not giving 
you a good service, then one course of action you might consider is just 
configuring the named(8) built into your FreeBSD system to do recursive 
DNS lookups for you. (And caching -- but that's a given for any sort of 
DNS server).  If you (or anyone) is interested I'll be happy to post a 
HowTo to the list.

Hello Matthew!
I'm sure it won't be difficult for anyone to find a named(8) how-to,
but I'd be very glad to see your post, please. I currently use djbdns,
but I'm not very happy with it and I'd like to try something else.
Thanx in advance!
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: DNS: querying route DNS

2005-01-14 Thread Andrew P.
Matthew Seaman wrote:
Sure.  Assuming you're using 5.3-RELEASE, 5.3-STABLE or better, then 
setting up a recursive-only nameserver is really very simple.

The system comes with BIND-9.3.0 as standard, and it has all of the 
chroot-ing functionality available just by default. All you need do is 
add the following to /etc/rc.conf:

named_enable=YES
There are several other variables you can use to tweak the named startup 
 via /etc/rc.conf, but basically the default values are good for what I 
want to do here:

named_program=/usr/sbin/named # path to named, if you want a different 
one.
named_flags=-u bind   # Flags for named
named_pidfile=/var/run/named/pid # Must set this in named.conf as well
named_chrootdir=/var/named# Chroot directory (or  not to 
auto-chroot it)
named_chroot_autoupdate=YES   # Automatically install/update chrooted
# components of named. See /etc/rc.d/named.
named_symlink_enable=YES  # Symlink the chrooted pid file
g

You need to do three more things to configure named.  The first is to 
generate the keys that allow rndc(8) to communicate with and control the 
name server:

# rndc-confgen  /etc/named/rndc.conf
The file consists of two parts: the stuff rndc needs to read, followed 
by the equivalent stuff, but commented out, to go into named.conf:

# Start of rndc.conf
key rndc-key {
algorithm hmac-md5;
secret XX==;
};
options {
default-key rndc-key;
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf
# Use with the following in named.conf, adjusting the allow list as needed:
# key rndc-key {
#   algorithm hmac-md5;
#   secret XX==;
# };
#
# controls {
#   inet 127.0.0.1 port 953
#   allow { 127.0.0.1; } keys { rndc-key; };
# };
# End of named.conf
All of those X's will be replaced by a random password hash.
The second thing is to generate the zone files for the localhost and the 
 IPv6 and IPv4 loopback addresses, which you do by running the provided 
script:

# cd /etc/namedb
# ./make-localhost
This will write two files into /etc/namedb/master: localhost.rev, and 
localhost-v6.rev which let you resolve the IP numbers 127.0.0.1 and ::1 
respectively as mapping to the hostname 'localhost.'  Once you've 
generated those once, you never need to touch them again.  Nb. Although 
we're setting up a recursive nameserver, it will hold these localhost 
domains authoritatively; a slight exception to the usual rule of not 
mixing recursive and authoritative functions in the same nameserver 
instance.  Pretty much every nameserver in operation provides the 
localhost reverse domain.

The third and final step is to generate a named.conf -- details of the 
configuration file syntax are available in

file:///usr/share/doc/bind9/arm/Bv9ARM.html
but something based on the attached example is what you need. This will 
provide a recursive nameservice including both IPv4 and IPv6.  Use 
named-confcheck to syntax check the file:

% named-checkconf named.conf  echo Configuration OK
BIND v9 is in general very picky about the syntax of the configuration 
file, and if it finds an error (usually a missing semi-colon) it will 
silently (except for messages to the system log) refuse to start up.

At last you're ready to fire up named for the first time:
# /etc/rc.d/named start
This will result in the contents of /etc/namedb being copied into 
/var/named/etc/namedb and a sym-link being created in /etc.  Various 
other necessary bits will be created under /var/named and as a security 
measure, the named daemon will be chroot'ed there when it starts up.

Any time you work on named's config or zone files, always check the 
system log to confirm that named is still happy:

Jan 14 09:08:40 gravitas named[371]: starting BIND 9.3.0 -u bind -t 
/var/named
Jan 14 09:08:41 gravitas named[371]: command channel listening on 
127.0.0.1#953
Jan 14 09:08:41 gravitas named[371]: command channel listening on ::1#953

Use rndc(8) to control named during normal use -- it's interesting to 
dump the cache after a day or so's operation to see what weird and 
wonderful places your system has been looking up.

Thanks much! I actually thought that BIND configuration was a lot
more difficult, but it appears to be a matter of 20 minutes. I also
need to serve some local zones, but I'll figure that out on my own.
Will try to switch to BIND this weekend.
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: different behaviour between 4.x and 5.x (ping response/disk io) [was Re: ]

2005-01-16 Thread Andrew P.
stheg wrote:
P.S. (to the list in general) Why do all of the questions about FBSD
performance, especially 4.x vs 5.x, come from people posting from
Windows boxes? Theories?
Cuz if you have freebsd on your desktop, you don't give a damn
about its performance. It's just too great. And don't look at me,
I'm still waiting for SPDIF support in ALC658 driver to dump my
last running Windows for good :-)
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]


Re: I only want stable software

2005-01-29 Thread Andrew P.
Pat Maddox wrote:
I used CVSUP to keep my system up to date.  How do I know that it's
not installing unstable software?  I want to keep my software stable,
but not in the version branching sense.  I just don't want it crashing
my server at all.  Is there any way to ensure that I only install high
quality stable software?
You should use RELENG_4_11 or RELENG_5_3 tags to have cvsup download
security patches only. It's probably the most reliable way to keep your
system as stable as it gets. Just use the following line in your cvsup
supfile:
src-all tag=RELENG_5_3
You could use tag=. for doc-all, and you should use it for ports-all.
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]


Concealing short disconnects

2005-02-11 Thread Andrew P.
Hello guys!
I have a few machines behind my FreeBSD box. The box connects
to ISP via ppp (PPPoE protocol). It's all working very nicely,
but the ISP is a pain - it disconnects every 24 hours. I can
reconnect in just a moment - so the diconnect is usually less
than a second long, but many applications, like ICQ/MSN and
games feel the disconnect. The matter is that these applications
can handle fairly large packet loss (e.g. Counter-Strike can cope
with at least 15-second long 100% packet loss), but AFAIK it's
in the nature of the TCP/UDP that a disconnect is a disconnect.
As I know that FreeBSD is full of magic, is there any way to
conceal these reconnects as short moments of 100% packet loss?
I am ashamed to know very little about protocols' technicalities,
but I'll look into any sources you advise.
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: Concealing short disconnects

2005-02-11 Thread Andrew P.
Dan Nelson wrote:
In the last episode (Feb 12), Andrew P. said:
I have a few machines behind my FreeBSD box. The box connects to ISP
via ppp (PPPoE protocol). It's all working very nicely, but the ISP
is a pain - it disconnects every 24 hours. I can reconnect in just a
moment - so the diconnect is usually less than a second long, but
many applications, like ICQ/MSN and games feel the disconnect. The
matter is that these applications can handle fairly large packet loss
(e.g. Counter-Strike can cope with at least 15-second long 100%
packet loss), but AFAIK it's in the nature of the TCP/UDP that a
disconnect is a disconnect.
As I know that FreeBSD is full of magic, is there any way to
conceal these reconnects as short moments of 100% packet loss?
I am ashamed to know very little about protocols' technicalities,
but I'll look into any sources you advise.

Check to see if your IP number changes when you reconnect.  If it does,
there's nothing you really can do; the remote system you were talking
to knew you only by your old IP, and those packets coming to them from
this other IP are unrelated.
It changes only once in about a week. Let's say it doesn't change
at all. What then?
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: Concealing short disconnects

2005-02-12 Thread Andrew P.
Dan Nelson wrote:
In the last episode (Feb 12), Andrew P. said:
Dan Nelson wrote:
In the last episode (Feb 12), Andrew P. said:
I have a few machines behind my FreeBSD box. The box connects to
ISP via ppp (PPPoE protocol). It's all working very nicely, but the
ISP is a pain - it disconnects every 24 hours. I can reconnect in
just a moment - so the diconnect is usually less than a second
long, but many applications, like ICQ/MSN and games feel the
disconnect. The matter is that these applications can handle fairly
large packet loss (e.g. Counter-Strike can cope with at least
15-second long 100% packet loss), but AFAIK it's in the nature of
the TCP/UDP that a disconnect is a disconnect.
As I know that FreeBSD is full of magic, is there any way to
conceal these reconnects as short moments of 100% packet loss? I am
ashamed to know very little about protocols' technicalities, but
I'll look into any sources you advise.
Check to see if your IP number changes when you reconnect.  If it
does, there's nothing you really can do; the remote system you were
talking to knew you only by your old IP, and those packets coming to
them from this other IP are unrelated.
It changes only once in about a week. Let's say it doesn't change
at all. What then?

I'm still suspicious :)  The two most common causes for connection
resets are IP address changes and NAT resets.  /usr/sbin/ppp keeps its
NAT table across disconnects as long as the process itself stays
running, so I don't think that's the cause.  If you have root access to
a remote system, try running tcpdump on it and your local machine while
running something like top over ssh, and watch what happens when your
connection drops and reconnects.
No, there's really nothing to be suspicious about :) The IP doesn't
change (well, in the process of IPCP it virtually does, first to
10.0.0.1/0 and then back to the assigned one - but that doesn't
count, does it), the ppp process stays, but TCP/UDP streams are
somehow interrupted. Don't worry anyway. Disconnects happen in
5-6 in the morning, when all the users are sleeping and the only
one sleepless surfer is unlucky me, trying to seamlessly upgrade
self-made internet connection sharing box from 4.10 to 5.3.
BTW, if only anyone happens to know: I asked list before, but got
no reply. When ISP actually assigns new IP address, I occasionally
get double IPs on the tun0 interface (the old one and the new one
simultaneously). Everything's working fine, but the dyndns updater
can't recognize the IP change. Is there a way to fix this glitch/
feature? I've really manned and googled for it - without succes.
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]


DHCP and PPP - dns/routes mess

2005-02-28 Thread Andrew P.
Hello!
I wrote about this months ago, and now I had some free
time to look into the problem - only to find that it's
too complicated for me to fix it on my own.
The problem is my machine is configured via DHCP, but
I need to use ppp from time to time. PPP adjusts
resolv.conf and some routes for internet to work
correctly. But dhclient-script messes it all up right
on its next invocation (within seconds). This script
should probably be fixed, but when I think about the
right way of doing it (checking whether ppp is
running and whether it has got any relevant dns
addresses/routes and whether they should really
be taken into account).
I'd probably forget it and continue killing dhclient
every time I need to use ppp, but it all works so
nicely in Windows. Please, people, help me fix it :)
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]


Spare local IP address - not physical alias

2005-03-16 Thread Andrew P.
Hello!
I have people connecting to my server via ppp. When
they establish connection the server gets 172.18.0.1
and they get 172.18.0.x. A dns server is running on
172.18.0.1.
The problem is that sometimes there are no ppp
connections, and the server does not have the
172.18.0.1 address. But I want applications to be
able to query this very address and get answers.
Is there a totally secure way to set up a permanent
address?
Thanks!
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: 5.3-release-p5 pptp stoped working

2005-03-17 Thread Andrew P.
Géczi Szabolcs wrote:
after I made a cvsup and buildworld my pptp doesn't work well.
the clients can authenticate succesfully but they cannot reach subnet 
except the tunnel's endpoint ip which is 192.168.1.1.
naturally my ppp/pptp configuration are unchanged.

any idea?
It's just that you didn't mention it:
did you update your kernel after updating world?
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]


Mount a tar archive?

2005-03-30 Thread Andrew P.
Hello!
I have a 80G tar archive which I have nowhere to
extract to. Could I mount it as a filesystem?
Read-only would suffice.
Thanks,
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: Mount a tar archive?

2005-03-30 Thread Andrew P.
Danny Howard wrote:
Andrew P. wrote:
Hello!
I have a 80G tar archive which I have nowhere to
extract to. Could I mount it as a filesystem?
Read-only would suffice.

Andrew,
Short of that solution, why not tar -t to get a list of files in the 
archive, then you can tar -x the files you actually want.

You ought to be able to:
tar -t foo.tar  list.txt
edit list.txt
cat list.txt | xargs tar -x foo.tar
-danny
The archive is actually part of my music collection on
a headless fileserver. I would like to share it with
samba. It's a pity that FreeBSD doesn't have linuxish
arcfs or tarmount, but that sort of thing is not really
needed very often.
Thanks to all for your kind help!
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: SATA II NCQ Sil3124 AMD64 NForce4 Ultra Support?

2005-03-31 Thread Andrew P.
EvilTwinkie wrote:
Question is what's the status of the driver support for the NForce4 Ultra
Chipset? I am planning on purchasing the below setup, and would like to use
a raid1 config. Any other issues??
Here's the setup.
Maxtor 6B250S0 250GB SATA150 7200rpm 16MB Hard Drive x2
Microstar K8N Neo4 Platinum Socket 939 AMD Athlon 64
SATA 1.0 Sil3114, Sil3124-1
SATA 2.0 Sil3124-2

Hello,
AFAIK, So/ren is still waiting for SATA II docs/equipments
from different manufacturers to arrive. And nForce chipsets
seem to have always been supported a little worse than
VIA, not to say anything about Intel.
Consider sticking to what is supported best.
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: From Rumiancev Alexander

2005-04-02 Thread Andrew P.
rumiancev-psu wrote:
Hello! I have a problem!
I have the FreeBSD 5.3. And some day ago, when I wrote
command make the output was ...
!
 , , 
  .  :
) 
 www.opennet.ru
)   -.  , 
  freebsd-questions  .
 ,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Some kind of intranet update system for FreeBSD?

2005-04-02 Thread Andrew P.
Hello!
I know this has been brought up a number of times
and I doubt that it is the right place to post to
or even a right subject to raise, but still.
It seems we lack some update system in FreeBSD. I
have only 2 freebsd boxes, one serving as an
internet gateway for the other. And whenever I want
to update the latter one, I think about all the
traffic that I'm gonna waste and CPU time to build
and my own time to get some distros from one machine
to another.
I dream about a server running on my main machine,
which gets queries from intranet freebsd boxes that
want to be updated. The server negotiates with each
client and acts as requested:
1.1) fetches a binary package, or
1.2) fetches a source package, or
1.3) finds a binary/source in its cache, and
2)   builds a package if needed, and
3)   gives binary/source to the client
Is that so difficult? C'mon guys, just one step
forward to perfection :)
Very best wishes,
Andrew P.
P.S.: M$ SUS 1.x sucks so hard that I can't even
find the right words to describe it. Sorry :)
___
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-03 Thread Andrew P.
Michael C. Shultz wrote:
On Saturday 02 April 2005 10:57 am, Andrew P. wrote:
Hello!
I know this has been brought up a number of times
and I doubt that it is the right place to post to
or even a right subject to raise, but still.
It seems we lack some update system in FreeBSD. I
have only 2 freebsd boxes, one serving as an
internet gateway for the other. And whenever I want
to update the latter one, I think about all the
traffic that I'm gonna waste and CPU time to build
and my own time to get some distros from one machine
to another.
I dream about a server running on my main machine,
which gets queries from intranet freebsd boxes that
want to be updated. The server negotiates with each
client and acts as requested:
1.1) fetches a binary package, or
1.2) fetches a source package, or
1.3) finds a binary/source in its cache, and
2)   builds a package if needed, and
3)   gives binary/source to the client
Is that so difficult? C'mon guys, just one step
forward to perfection :)
Very best wishes,
Andrew P.

Its doable, providing both boxes have identical CPU's and
the port build options on both have the same options. If the CPU's
are not identical are you willing to build every thing to the lowest 
common denominator such as CPUTYPE?=i486 ?  If this is the
case then really all you have to do is make sure you have 
a /usr/ports/packages dir on one machine then upgrade portmanager -u.
This will put a package for everything upgraded 
into  /usr/ports/packages/All.  nfs share /usr/ports/packages/All 
directory with the other machine and on that one upgrade with something 
like portupgrade -aP.

-Mike
Thanks, I'll try to do this via ftp. What about the
system itself? Is there an easy way to copy all the
binaries from one box to another?
Thanks,
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: Some kind of intranet update system for FreeBSD?

2005-04-03 Thread Andrew P.
Fabian Keil wrote:
Andrew P. [EMAIL PROTECTED] wrote:
I dream about a server running on my main machine,
which gets queries from intranet freebsd boxes that
want to be updated. The server negotiates with each
client and acts as requested:
1.1) fetches a binary package, or
1.2) fetches a source package, or
1.3) finds a binary/source in its cache, and
2)   builds a package if needed, and
3)   gives binary/source to the client

Its doable, providing both boxes have identical CPU's and
the port build options on both have the same options. If the CPU's
are not identical are you willing to build every thing to the lowest 
common denominator such as CPUTYPE?=i486 ?  If this is the
case then really all you have to do is make sure you have 
a /usr/ports/packages dir on one machine then upgrade portmanager -u.
This will put a package for everything upgraded 
into  /usr/ports/packages/All.  nfs share /usr/ports/packages/All 
directory with the other machine and on that one upgrade with something 
like portupgrade -aP.

Thanks, I'll try to do this via ftp. What about the
system itself? Is there an easy way to copy all the
binaries from one box to another?

Your building machine can  share /usr/src/ via nfs.
You can then do a make buildworld on the server
and make installworld on every machine.
If the kernels are the same, you can use the same build
on every machine as well. As Michael has already mentioned,
you have to keep /etc/make.conf general.

So basically, to substantially facilitate the update
process all we have to do is to share /usr/src and
/usr/ports folders?
Will it be ok to share them read-only if I do all the
building on the server?
Is it a serious security issue to give recursive
read-access to these folders to maliscious parties?
(I mean besides of letting them know versions of
all your server software).
Thanks,
Andrew P.
P.S. Still, IMHO a nicely-designed port would be
great. I mean we do have portupgrade for crying out
loud. If we have something for a network of freebsd
boxes, we could start talking enterprise-level
management.
P.P.S. What a pity that we don't have tarfs/ftpfs.
Okay, that's just a sidenote.
___
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-03 Thread Andrew P.
Chris wrote:
Andrew P. wrote:
Thanks,
Andrew P.
P.S. Still, IMHO a nicely-designed port would be
great. I mean we do have portupgrade for crying out
loud. If we have something for a network of freebsd
boxes, we could start talking enterprise-level
management.
P.P.S. What a pity that we don't have tarfs/ftpfs.
Okay, that's just a sidenote.

... are you volunteering?!

Well, I just might be able to write a dirty perl
script that would add to thousands of useless ports.
However, if there a busy soul with much knowledge
and an ability to guide, I think I'll be able to
produce some nice code with little of his help :)
I'm now thinking learning ruby and examining
portupgrade's code carefully. 6-9 months at least.
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: Some kind of intranet update system for FreeBSD?

2005-04-03 Thread Andrew P.
Richard Caley wrote:
In article [EMAIL PROTECTED], Fabian Keil (fk) writes:
fk If the kernels are the same, you can use the same build
fk on every machine as well. 

If they aren't it works to set KERNCONF to the whole list on the build
machine
KENRCONF=Macine1 Macine2 Machine3
It builds them all, but instals teh first one on this machine.

Would it build all the modules three time, I wonder?
Thanks,
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: 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]


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


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


cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
So I have a cvsup mirror, set up with net/cvsup-mirror
port. It was ok until the server crashed (all my fault,
really) and fsck came up with all that soft-updates
related stuff and what not.

Anyway, cvsup-mirror seems to not have noticed
the crash at all, but some clients cvsupping from
this mirror report unexpected syntax errors
during buildworld. They cease to do so once
cvsupped from another mirror, but only if I remove
src completely before it. Cvsupping the broken
sources against the good ones doesn't find a
mistake at all.

My question is: what mechanisms do cvsup and
cvsupd have to deal with data corruption? I know
about the -s switch, but it doesn't help to disable
it in my situation. How do I repair broken sources
or repo, using a good cvsup repo. How do I prevent
this from happening again without disabling soft-
updates?

Thanks,
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: Learning to write FreeBSD Device Drivers

2005-10-22 Thread Andrew P.
On 10/21/05, Peter Clutton [EMAIL PROTECTED] wrote:
 Hi everyone, hope this isn't too off topic. I'm a sysadmin who taught
 myself programming (and have worked as a PHP ad MYSQL developer) and
 really want to develop my FreeBSD skills, and hopefully one day be
 able to give something back to FreeBSD.

 I want to start writing device drivers, and would love any pointers to
 resources and tips from anyone. At the moment I'm reading a good C
 primer, along with The Design and Implementation of The FreeBSD
 Operating System ( a great book), and browsing the relevant sections
 in the Handbook and the source code. I'm wondering what else i could
 look at to help join the ends if you know what i mean.

 I know there is a comprehensive book on writing device drivers for
 Linux, would it help conceptually, or at all (i know the system calls
 are different) to read this as a beginning? Would looking at two
 drivers for the same hardware, for Linux and FreeBSD, looking at the
 difference, and maybe first try porting a new one be a good idea? Are
 there any other good resources anyone could point me to? I hope you
 don't think I'm too focused on linux resources, if I wanted to take
 the easy way, I'd be interested in it, but i much prefer FreeBSD.

 Any tips or pointers to resources would be much appreciated!! Thanks in 
 advance.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


First of all, I haven't developed any serious thing for
any OS. As a matter of fact, I haven't written anything
in C/C++ in five years. But in the absence of a better
reply - this is my response.

I think that the best way to get involved into the
FreeBSD project is to install the OS on your desktop,
use it on your servers, help others on mailing lists,
write some ports (as an active user you'll have to do
that sooner or later), preen through pr-database
trying to find solutions, submit many patches, become
a committer - and there you are: involved.

There's a lot of reading on writing good code. Drivers
are quite a narrow field, but you can't begin to write
them without understanding how almost everything
else works. Writing a driver demands a more
comprehensive understanding of OS intrinsics than
most of other aspects. You'll definitely want to
work on other parts of kernel code before going on
to drivers.

Looking at the source of drivers for other systems
actually helps very very much. It's much easier to
port a driver, say, from OpenBSD than it is from
Linux, but you don't have to port anything. I bet
that reading a driver written for Solaris, HP-UX
or any other system will provide you with some
nice ideas that can be used in FreeBSD.

You can read as many books as you like, but
nothing will do you more good than reading
and understanding thoroughly a few existing
drivers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
On 10/22/05, Dimitar Vasilev [EMAIL PROTECTED] wrote:
 Andrew,
 cvsup is an application that deals with giving people files.
 It is the job of fsck to check and clear the FS.
 Check /etc/defaults/rc.conf and
 add the following variables to your rc.conf
 fsck_y_enable=YES
 background_fsck=NO
 It has been discussed zilion of times and it works.
 I recommend also wiping your repository and syncing from scratch from
 the master servers.
 HTH
 --
 Димитър Василев
 Dimitar Vassilev

 GnuPG key ID: 0x4B8DB525
 Keyserver: pgp.mit.edu
 Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525


Well, what if I already had those lines in my rc.conf,
what if fsck fixed everyting it found and what if it
doesn't work.

I'm quite sure that wiping and resyncing the whole
repo will help, it's that I don't want to do that every
time a partiotion was not unmounted properly.

Any ideas at all?

Thanks,
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: cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
On 10/22/05, Dimitar Vasilev [EMAIL PROTECTED] wrote:
  I guess I'll have to escalate the importance of this
  machine being shutdown correctly and stop all
  cvsup processes before doing something risky.

 Yup - try putting the CVSUP under DJB daemontools or something like this.

  If that doesn't help, I'll make a separate partition
  for the repo with soft-updates turned off. With
  95% of reading against 5% of writing, I'm sure
  there won't be a measurable performance impact.

 Are you on SCSI or IDE/SATA?
  Regards

 --
 Димитър Василев
 Dimitar Vassilev

 GnuPG key ID: 0x4B8DB525
 Keyserver: pgp.mit.edu
 Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525


I don't like the style of djb, sorry.

The box has 1 ide and 4 scsi disks. But I had to
remove scsi cables and can't find a replacement
at the moment, so it's on ide for now.

Squid is also on the server. So I guess, when
scsi disks are back online, I'll dedicate 2 to
squid, and 2 in a vinum mirroring array with
softupdates disabled for more important
things, like cvs repos, distfiles, etc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
On 10/23/05, Dimitar Vasilev [EMAIL PROTECTED] wrote:
  I don't like the style of djb, sorry.

 I know, but his tools work and are great for such things.
 There have been occasions on which the bgp blinks/ntpd decides to go play
 and after a while the box goes disfunct and I have to start/stop manually.


I guess that's why we let cisco handle bgp (and ntp,
by the way).

  The box has 1 ide and 4 scsi disks. But I had to
  remove scsi cables and can't find a replacement
  at the moment, so it's on ide for now.
 
  Squid is also on the server. So I guess, when
  scsi disks are back online, I'll dedicate 2 to
  squid, and 2 in a vinum mirroring array with
  softupdates disabled for more important
  things, like cvs repos, distfiles, etc.
 

 Try setting up a md through which to buffer the read/write operations for 
 cvsupd
 For CVS there is a hint in the hubs article
 /dev/da0s1b /anoncvstmp mfs
 rw,-s=786432,-b=4096,-f=512,-i=560,-c=3,-m=0,nosuid,nodev 0 0

 /etc/inetd.conf
 cvspserver stream tcp nowait root /usr/bin/cvs cvs -f -l -R -T
 /anoncvstmp --allow-root=/home/ncvs pserver

 I suppose if you play a bit, you can come with a similar solution for CVSUP.

 Btw, have you extended an existing stripe with growfs?

 I have to extend my stripe on which ftp+rsync repo lies with 0,5TB and
 would like to preserve data if possible.
 All the best
 --
 Димитър Василев
 Dimitar Vassilev

 GnuPG key ID: 0x4B8DB525
 Keyserver: pgp.mit.edu
 Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525


It doesn't really seem that disk performance is a
bottle-neck. CPU is saturated much more quickly.
It's a dual P3 box, 5-6 cvsup sessions with
compression turned on is as much as it is gonna
take without major slowdowns. I guess there's
no way to make a new IDE disk lag behind over
a 100Mbit link.

But I'm thinking about gigabit - and cvs instead of
cvsup. That's where your recommendations will
come into play.

No, I haven't been growing any stripes in my
garden lately :-)


Thanks,
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: Bind question

2005-10-22 Thread Andrew P.
On 10/23/05, stan [EMAIL PROTECTED] wrote:
 I've got a FreeBSD machine runing Bind 9.3 that needs to zone transfers
 from a Solaris 8 machine running Bind 8.3.3

 I'm getting errors about failed transfers. This is showing up in the logs
 on the Solaris machine:

 Oct 21 14:30:33 cor-day-dns4 named[140]: denied AXFR from
 [170.85.113.8].1044 for 10.in-addr.arpa IN (acl)

 I suspect that there is some option I need to set to disallow something
 thet the Solaris machine is not allowing.

 Can anyone clarify this error message for me?

 --
 U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
 Terror
 - New York Times 9/3/1967
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


It has nothing to do with FreeBSD, right?

BTW, transfers between BIND8 and BIND9 are
now compromised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup, mirrors and data integrity

2005-10-22 Thread Andrew P.
On 10/23/05, Dimitar Vasilev [EMAIL PROTECTED] wrote:
  I guess that's why we let cisco handle bgp (and ntp,
  by the way).
 Thanks, I will have it in mind next time if I'm to setup these two services.
 The bottleneck is insufficient memory for BGP. In a week or so there
 will be another chip.
 BTW, the network admins of the institution, where the project machine
 I coadmin is collocated,  do not like T*tsco, because it is
 exploitable and breaks easily under the volume of traffic passing
 through there.I agree with them to some extend.
 As the project is fully voluntary and it is backed by the admins and
 FreeBSD users, it is normal to have such a setup. I'm now used to the
 signs of dying ntpd and can react in acceptable time.
 Happy weekend!

 --
 Димитър Василев
 Dimitar Vassilev

 GnuPG key ID: 0x4B8DB525
 Keyserver: pgp.mit.edu
 Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525


Yeah, Cisco sucks - in that I totally agree with you.

Haven't tried bgp on FreeBSD, but I'm sure the ntpd
problem can be alleviated by daily something like
/etc/rc.d/ntpd stop  /etc/rc.d/ntpdate start 
/etc/rc.d/ntpd start, can't it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Open Sound System on FreeBSD 6 RC1

2005-10-24 Thread Andrew P.
On 10/24/05, Nick J. Date [EMAIL PROTECTED] wrote:
 Hiya!

 I've just upgraded my FreeBSD installation from 5.4-RELEASE to
 6.0-RC1. With 5.4 I learnt that my sound card (SoundBlaster Live!
 24-bit) wasn't supported by the drivers that come with FreeBSD, so I was
 using the free version of the Open Sound System (www.opensound.com)
 drivers.

 On installing 6.0-RC1, I didn't want to take any chances so I downloaded
 the OSS drivers again (selecting 6.0-RC1 as my operating system this
 time). The installation and sound tests completed fine and I could hear
 music being played. However, although the driver now loads on startup,
 it doesn't load any sort of mixer support and the device /dev/mixer
 doesn't exist. Even attempting to load OSS's own mixer software reports
 that /dev/mixer is non-existant. A re-install doesn't help and I can't
 find any option in the set up program that might make the mixer work.

 Has anyone else had a similar problem, and if so does anyone know of a
 solution?

 Anyway, if anyone could give me a hand or point me in the right
 direction it would be highly appreciated.

 Kind regards,

 Nick.

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


http://www.4front-tech.com/forum/viewtopic.php?t=560
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Open Sound System on FreeBSD 6 RC1

2005-10-24 Thread Andrew P.
On 10/24/05, Andrew P. [EMAIL PROTECTED] wrote:
 On 10/24/05, Nick J. Date [EMAIL PROTECTED] wrote:
  Hiya!
 
  I've just upgraded my FreeBSD installation from 5.4-RELEASE to
  6.0-RC1. With 5.4 I learnt that my sound card (SoundBlaster Live!
  24-bit) wasn't supported by the drivers that come with FreeBSD, so I was
  using the free version of the Open Sound System (www.opensound.com)
  drivers.
 
  On installing 6.0-RC1, I didn't want to take any chances so I downloaded
  the OSS drivers again (selecting 6.0-RC1 as my operating system this
  time). The installation and sound tests completed fine and I could hear
  music being played. However, although the driver now loads on startup,
  it doesn't load any sort of mixer support and the device /dev/mixer
  doesn't exist. Even attempting to load OSS's own mixer software reports
  that /dev/mixer is non-existant. A re-install doesn't help and I can't
  find any option in the set up program that might make the mixer work.
 
  Has anyone else had a similar problem, and if so does anyone know of a
  solution?
 
  Anyway, if anyone could give me a hand or point me in the right
  direction it would be highly appreciated.
 
  Kind regards,
 
  Nick.
 
  --
  Nick Date
  Bath, England, UK
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

 http://www.4front-tech.com/forum/viewtopic.php?t=560


Actually, apart from editing devfs.conf as per my
advice in the topic, I've got a startup script,
/root/oss.sh, containing these:

#!/bin/sh
/usr/local/lib/oss/bin/soundon
/etc/rc.d/devfs restart

and a line in /etc/crontab:
@reboot   rootsleep 30  /root/oss.sh

I am thinking about writing a port, but still only
thinking.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: traffic accounting per username with ipfw in 5.4 ?

2005-10-24 Thread Andrew P.
On 10/25/05, user [EMAIL PROTECTED] wrote:

 I remember that ipfw had been augmented some time ago to do traffic
 counting, etc., based on usernames ... but I see no mention of that in the
 ipfw man page on my 5.4-RELEASE system.

 Is this something that only exists in IPFW2 ?  Does ipfw2 even exist
 anymore ?

 Can someone clarify for me what is going on with regard to what used to be
 called IPFW2, FreeBSD 5.x, and per-user traffic counting ?

 thanks.

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


ipfw2 replaced ipfw in 5.x

Read the manpage more carefully, please. Search
for uid option.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: traffic accounting per username with ipfw in 5.4 ? (more)

2005-10-25 Thread Andrew P.
On 10/25/05, user [EMAIL PROTECTED] wrote:

 Hello,

 On Tue, 25 Oct 2005, Andrew P. wrote:

  On 10/25/05, user [EMAIL PROTECTED] wrote:
  
   I remember that ipfw had been augmented some time ago to do traffic
   counting, etc., based on usernames ... but I see no mention of that in the
   ipfw man page on my 5.4-RELEASE system.
  
   Is this something that only exists in IPFW2 ?  Does ipfw2 even exist
   anymore ?
  
   Can someone clarify for me what is going on with regard to what used to be
   called IPFW2, FreeBSD 5.x, and per-user traffic counting ?
  
   thanks.
 
  ipfw2 replaced ipfw in 5.x
 
  Read the manpage more carefully, please. Search
  for uid option.


 Thanks - I was searching for username and getting nowhere.  Also, thank
 you for the clarification regarding ipfw2/ipfw and their current state.

 I notice that the traffic accounting per uid only applies to traffic
 initiated by that user, and initiated from the local machine.  If I scp a
 file away from the machine (as user X) the traffic does not get
 incremented, and if I scp a file to the local machine (as user X) it also
 does not get incremented - even though those are non-anonymous actions
 that occur under the auspices of a particular username.

 Doe anyone have any suggestions for traffic accounting (of particularly
 ssh traffic) on a per user basis, for _all_ traffic that occurs under the
 auspices of that username, and not just what _they themselves_ initiate,
 personally, in their own login shell ?

 Thank you.



ipfw looks at the owner of a process, sshd in your
case. If you really need to account the not-locally-
initiated ssh traffic, start another sshd running as
the user (on another port), and connect to that
port [you can easily allow a user to connect only
to a selected server by editing sshd_config's].

Anyway, try thinking logically. How ipfw could
ever know what user traffic belongs to if all
authentication is handled by sshd internally.
Otherwise, it would be a security whole (though
some actions can certainly be logged to limited-
access log files).

Hassle-free solutions, i.e. complex accounting
systems, come for money. Though, whatever
problem you might have, I'm sure somehow that
there's another way.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NEC DVD_RW - file read problems.

2005-10-25 Thread Andrew P.
On 10/25/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:




 Hello All,

 I have the following problem:

 OS: FreeBSD 4.11-RELEASE.
 DVD RW: acd0: DVD-R _NEC DVD_RW ND-3500AG at ata1-master UDMA33

 I use DVD R's primary for data backup. The backup data is archived and 
 splitted on files ~500Mb size,
 which was written on DVD-R's. I have also store the MD5 sums of those files 
 in small checksum file.

 The problem is: sometimes then i check content on DVD the checksum is 
 differs. Where is no read errors on console,
 and several attempts to calculate checksum return different results.


 bash-2.05b# grep 1 /cdrom/md5.sums
 acc8b491f03bfa01e341808773a6f94f depot.147.tar.1
 bash-2.05b# md5 /cdrom/depot.147.tar.1
 MD5 (/cdrom/depot.147.tar.1) = d821bd902c4b0e9c12510f302c10ee71

 # File seems cached in RAM

 bash-2.05b# md5 /cdrom/depot.147.tar.1
 MD5 (/cdrom/depot.147.tar.1) = d821bd902c4b0e9c12510f302c10ee71
 bash-2.05b# umount /cdrom

 # After unmounting and mounting again - different (correct) checksum.

 bash-2.05b# !mou
 mount /cdrom
 bash-2.05b# md5 /cdrom/depot.147.tar.1
 MD5 (/cdrom/depot.147.tar.1) = acc8b491f03bfa01e341808773a6f94f

 # Now the checksum is OK.

 It seems for me that sometimes device correct soft read errors on media, and 
 sometimes - does not.

 Does anybody have the same expirience (i.e. checksum differs without read 
 errors) ?


 Best Regards,
 Alexander Derevyanko

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


Проверь память. Поставь на ночь memtest или
docmemory.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: How do I name my network interface?

2005-10-25 Thread Andrew P.
On 10/25/05, Martin Alejandro Paredes Sanchez [EMAIL PROTECTED] wrote:
 El Lun 24 Oct 2005 18:17, Teo De Las Heras escribió:
  [EMAIL PROTECTED]:10:0: class=0x02 card=0x100a15bd chip=0x432011ab 
  rev=0x13
  hdr=0x00
  vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
  device = '88E8001 Gigabit 32-bit Ethernet Controller with Integrated PHY'
  class = network
  subclass = ethernet

 This is the only ethernet card found in your motherboard and it has the driver
 skc attached.

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


The 2nd interface may not enabled in the BIOS or it
might be a CSA adapter (not supported, but I thought
only Intel manufactured this shit).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: telnetting/netcatting into a DNS server?

2005-10-25 Thread Andrew P.
On 10/25/05, Mohan Singh [EMAIL PROTECTED] wrote:
 Whenever I need to test a mail/ssh/web server, I usually just telnet or nc
 into the appropriate port, i.e.:

$ echo GET /  |nc -v yahoo.com 80

$ nc -v localhost 22
Connection to localhost 22 port [tcp/ssh] succeeded!
SSH-1.99-OpenSSH_4.2

 How would I connect to a nameserver and talk to it so I can know it is
 working? I get as far as connecting to the port, but I don't know how to
 make it send back anything meaningful.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Why don't you read the netcat manpage for starters?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: telnetting/netcatting into a DNS server?

2005-10-25 Thread Andrew P.
On 10/25/05, Andrew P. [EMAIL PROTECTED] wrote:
 On 10/25/05, Mohan Singh [EMAIL PROTECTED] wrote:
  Whenever I need to test a mail/ssh/web server, I usually just telnet or nc
  into the appropriate port, i.e.:
 
 $ echo GET /  |nc -v yahoo.com 80
 
 $ nc -v localhost 22
 Connection to localhost 22 port [tcp/ssh] succeeded!
 SSH-1.99-OpenSSH_4.2
 
  How would I connect to a nameserver and talk to it so I can know it is
  working? I get as far as connecting to the port, but I don't know how to
  make it send back anything meaningful.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

 Why don't you read the netcat manpage for starters?


Oh, I'm mighty sorry. I was sure the exact example was
there, but I reread now - and there is none.

I will post a link here as soon as I find it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Which version of FreeBSD a binary was compiled for?

2005-10-25 Thread Andrew P.
How to tell? Apart from trying to launch it on
different versions without COMPAT* in the
kernel?

One can always carefully examine the output
of ldd, readelf and other such tools, but that
requires much knowledge and a small lab
with all kinds of BSD's set up. Is there a
better way?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Andrew P.
On 10/26/05, Will Maier [EMAIL PROTECTED] wrote:
 On Wed, Oct 26, 2005 at 02:24:54AM +0400, Andrew P. wrote:
  How to tell? Apart from trying to launch it on different versions
  without COMPAT* in the kernel?

 file (1)


I don't mean to push it, but how file would ever help
me to know subj?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: optical mouse problem

2005-10-26 Thread Andrew P.
On 10/25/05, Zsolt Kúti [EMAIL PROTECTED] wrote:
 Dear All,

 I've got a Samsung PS/2 (SMOP5000WX) mouse that does not work. While
 the pointer appears, it hectically wanders around the screen and
 suddenly produces false keystroke-like actions.

 Applying hint.psm.0.flags=0x0200 makes it a plain PS/2 mouse, that
 works fine (no wheel then, of course).

 Without that flag, configuration is OK with another PS/2 mouse, wheel
 working. The optical mouse is recognized (4D+ Mouse). moused.c
 contains code that in priciple handles this type, in practice not. I
 tried various moused parameters, even serial types (I know, it
 against what it is recommended in man) , NORESET as hint, none of them
 helped.


 What could I try to get it operate normally?

 Or better leave it alone and go for a new one?


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


Yup, a cheap Logitech will be your saviour.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Andrew P.
On 10/26/05, Michael C. Shultz [EMAIL PROTECTED] wrote:
 On Wednesday 26 October 2005 00:01, Andrew P. wrote:
  On 10/26/05, Will Maier [EMAIL PROTECTED] wrote:
   On Wed, Oct 26, 2005 at 02:24:54AM +0400, Andrew P. wrote:
How to tell? Apart from trying to launch it on different versions
without COMPAT* in the kernel?
  
   file (1)
 
  I don't mean to push it, but how file would ever help
  me to know subj?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 Here is an example:

 file /usr/bin/man

 on my machine outputs:

 /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for
 FreeBSD 5.4-CURRENT (rev 3), dynamically linked (uses shared libs), stripped

 -Mike


Oh, it's just that file hasn't leared anything about
FreeBSD 6 yet, so it doesn't display version info
when run against my binaries.

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


Re: Speed question

2005-10-26 Thread Andrew P.
On 10/26/05, Sasa Stupar [EMAIL PROTECTED] wrote:


 --On 26. oktober 2005 9:46 +0200 Sasa Stupar [EMAIL PROTECTED]
 wrote:

  Hi!
 
  I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux
  (yes I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN),
  eth2 (DMZ).
  Strange thing is that when server is on DMZ and I access it from the LAN
  with ftp client my transfer speed is 30 Mbit/s. The network itself is 100
  Mbit. BUT if I move server from LAN to DMZ I have the max speed arround
  100 Mbit/s.
  BTW: server in DMZ is connected directly to the NIC on router and on the
  LAN side I have all users connected on one switch which is connected to
  the router.
 
  Is this normall for all kinds of routers (linux, bsd, etc.) with setup
  like mine to behave like this or is it just my router setup?
 
  Regards,
  Sasa

 Made a mistake in the post:

 BUT if I move server from LAN to DMZ...
 should be
 BUT if I move server from DMZ to LAN...#


 Sasa



If you mean that bandwidth between 2 boxes on
one switch is higher than that between 2 boxes
connected to different NICs on some server, then
that's absolutely normal and expected. No server
can match the speed of a Cisco, and no Cisco can
match the speed of a cheap unmanaged switch.

If you mean that ftp client and ftp server are
connected to different NICs on the router in both
cases (30Mbit and 100Mbit transfers), it is
explainable, because traffic from DMZ to
LAN usually gets a closer look than that
from LAN to LAN. You might or might not get
better performance with FreeBSD as the router.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of FreeBSD a binary was compiled for?

2005-10-26 Thread Andrew P.
On 10/26/05, Robert Huff [EMAIL PROTECTED] wrote:

 Andrew P. writes:
file /usr/bin/man
   
on my machine outputs:
   
/usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), for FreeBSD 5.4-CURRENT (rev 3), dynamically linked
(uses shared libs), stripped
 
   Oh, it's just that file hasn't leared anything about
   FreeBSD 6 yet, so it doesn't display version info
   when run against my binaries.

 Curious.

 huff@ file /usr/bin/man
 /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), 
 for FreeBSD 7.0 (73), dynamically linked (uses shared libs), stripped
 huff@


 Robert Huff

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


I tried both versions of file (base system and ports)
on 6.0 RC1, none showed any info about that
/usr/bin/man (or any other system binary I tried).

On my firewall (5.4) it works.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade stale dependencies

2005-10-27 Thread Andrew P.
On 10/27/05, John DeStefano [EMAIL PROTECTED] wrote:

...snip...


 After clearing out the ports, updating ports (with portsnap) and
 source, and rebuilding the system and kernel... it seemed the ultimate
 problem was actually a dependency of the package to apache1.3. After I
 ran 'pkgdb -F' and fixed this dependency to point to apache2.1, but
 I still had trouble installing ports.

 'portsdb -Uu' would not run, so I ran 'make fetchindex' and
 'portupdate -a'.  From what I've read, this _should_ create an index
 and update all out-of-date ports and their dependencies, but it never
 has worked for me.  I just tried this combination again, and it
 (again) punts during portupdate.  This time, 38 ports were skipped and
 7 failed, the first failure being a strange compiler error in updating
 from apache-2.0.48.

 I've been fighting with ports for long enough now to have become a bit
 frustrated with them.  If you have any thoughts or suggestions on how
 to troubleshoot them, please pass them on.

 Thanks,
 ~John


Do not fix dependencies if you're not sure that they
are really broken. Don't use apache21 unless 2.0
is absolutely inappropriate. The proper way to change
dependencies from apache1 to apache2 is to add
WITH_APACHE2=true to /etc/make.conf (or to
/usr/local/etc/pkgtools.conf, but that's an advanced
topic).

If you have portsdb utility, don't use make fetchindex,
just add -F to portsdb: portsdb -uUF will work fine.

You cann add -k to portupgrade, so that it doesn't
skip ports (but it won't fix the failed ones).

John, you'll have to spend a few hours reading
ports documentation before you find them really
great (which they really are).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of FreeBSD a binary was compiled for?

2005-10-27 Thread Andrew P.
On 10/27/05, Joshua Tinnin [EMAIL PROTECTED] wrote:
 On Wed 26 Oct 05 09:18, Andrew P. [EMAIL PROTECTED] wrote:
  On 10/26/05, Robert Huff [EMAIL PROTECTED] wrote:
   Andrew P. writes:
  file /usr/bin/man
 
  on my machine outputs:
 
  /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version
  1 (FreeBSD), for FreeBSD 5.4-CURRENT (rev 3), dynamically
  linked (uses shared libs), stripped
   
 Oh, it's just that file hasn't leared anything about
 FreeBSD 6 yet, so it doesn't display version info
 when run against my binaries.
  
   Curious.
  
   huff@ file /usr/bin/man
   /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1
   (FreeBSD), for FreeBSD 7.0 (73), dynamically linked (uses
   shared libs), stripped huff@
 
  I tried both versions of file (base system and ports)
  on 6.0 RC1, none showed any info about that
  /usr/bin/man (or any other system binary I tried).
 
  On my firewall (5.4) it works.

 That's odd. Am on 6.0-RC1:

 # uname -a
 FreeBSD smogmonster.local 6.0-RC1 FreeBSD 6.0-RC1 #0: Thu Oct 20
 14:41:23 MDT 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL60  i386

 % file /usr/bin/xargs
 /usr/bin/xargs: ELF 32-bit LSB executable, Intel 80386, version 1
 (FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared
 libs), stripped

 % file /usr/bin/man
 /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1
 (FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared
 libs), stripped

 % file /bin/echo
 /bin/echo: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
 for FreeBSD 6.0 (600034), dynamically linked (uses shared libs),
 stripped


 I know I built valgrind just a few days ago:

 % file /usr/local/bin/valgrind
 /usr/local/bin/valgrind: ELF 32-bit LSB executable, Intel 80386, version
 1 (FreeBSD), for FreeBSD 6.0 (600034), statically linked, stripped

 vim, too:

 % file /usr/local/bin/vim
 /usr/local/bin/vim: ELF 32-bit LSB executable, Intel 80386, version 1
 (FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared
 libs), stripped


 I'm not sure what it means when this information isn't accessible, but
 I'd say it's symptomatic of another issue, and most likely it's not
 good. If you built from source, did you follow the procedure described
 in the handbook?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

 Not sure, but are you installing kernel after building world, and then
 installing world in single user? I've seen strange things happen if you
 don't do this procedure the right way. Of course, I'm just guessing, as
 I'm not at all sure what could be causing this problem or what your
 exact circumstances are.

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


sat64% uname -a
FreeBSD sat64.net17 6.0-RC1 FreeBSD 6.0-RC1 #2: Fri Oct 14 22:57:08 MSD 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SATCUR32  i386

sat64% file /usr/bin/xargs
/usr/bin/xargs: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dyn
amically linked (uses shared libs), stripped

sat64% file /usr/bin/man
/usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynam
ically linked (uses shared libs), stripped

sat64% file /bin/echo
/bin/echo: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamica
lly linked (uses shared libs), stripped

sat64% file /usr/local/bin/waveplay
/usr/local/bin/waveplay: ELF 32-bit LSB executable, Intel 80386, version 1 (Free
BSD), dynamically linked (uses shared libs), stripped

sat64% file /usr/local/lib/oss/bin/ossplay
/usr/local/lib/oss/bin/ossplay: ELF 32-bit LSB executable, Intel 80386, version
1 (FreeBSD), dynamically linked (uses shared libs), stripped

sat64% /usr/local/bin/file /usr/local/lib/oss/bin/ossplay
/usr/local/lib/oss/bin/ossplay: ELF 32-bit LSB executable, Intel 80386, version
1 (FreeBSD), dynamically linked (uses shared libs), stripped


Maybe you're right. I never go to single-user when
upgrading. But then, I'm the only user and there are
not many processes. I'm not gonna worry anyway,
hope it's not a rootkit :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: finding the correct man page ???

2005-10-27 Thread Andrew P.
On 10/27/05, ke.han [EMAIL PROTECTED] wrote:
 Hello list,
 I am  working on configuring a new system and have run across maillist
 comments such as:

 The comment in GENERIC is not accurate, the bge driver supports 5721
 based cards for a couple of month now (the manpage in RELENG_5 is correct).

 The problem is, which man page? There are so many man pages, I rarely
 know how to find what I'm looking for.  The whatis command does no good
 for this sort of search.  Since I'm still pretty new to things, is there
 some searching mechanism or naming structure I'm not clued into?

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


sat64% man -k 5721
bge(4)   - Broadcom BCM570x/5714/5721/
5750/5751/5789 PCI Gigabit Ethernet adapter driver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 5.3 to 6.0 (was: no subject)

2005-10-27 Thread Andrew P.
On 10/27/05, George Katsanos [EMAIL PROTECTED] wrote:
 Hello ,


 Since the actual 6.0 Release is taking too long , would you suggest me
 installing 6.0 RC-1 and then then 6.0 is out , can I just apply some patches
 , or I should Re-makeworld everything?...

 And another question , I'm on a PIII 550 with 256MB ram . I have 5.3 and
 some broken libs .Would you suggest me doing a fresh install , or a make
 world ? Consider I don't have the experience the second procedure takes ,
 but I've heard both opinions. Should I do a portupgrade -a after the
 makeworld ?...


 Thank you

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


Yes, you can try 6.0RC1, it's pretty stable.

Read the Handbook and stick to the advice:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

You shouldn't have any trouble.

You should do portupgrade -fa (recompile all your
ports) after the upgrade is finished, but it's not an
urgent matter. You can as well wait a few weeks
and recompile them all then - thanks to binary
compatibility they will work until then.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lost in nowhere land on 5.2.1

2005-10-27 Thread Andrew P.
On 10/27/05, Brian Howick [EMAIL PROTECTED] wrote:
 I set up a copy of 5.2.1 RELEASE a few years back and I am trying to upgrade
 it.

 The problem is I set it up over the net and not from a CD.. so when I try to
 upgrade I am told that whatever FTP server I connect to does not have the
 files...

 What can I do?


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



cvsup and make world

If you run into trouble, try upgrading to 5.3 or 5.4 first and
than to 6.0.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware Donation?

2005-10-27 Thread Andrew P.
On 10/27/05, Darren Sessions [EMAIL PROTECTED] wrote:
 I am wondering if the FreeBSD project is in need of any server hardware.
 If so, I would like to make a donation.

 Thanks,

  - Darren

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


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


Re: increasing mount size

2005-10-27 Thread Andrew P.
On 10/27/05, eoghan [EMAIL PROTECTED] wrote:
 Hello
 My /var mount has no more space left. I was wondering if there is
 some way to increase the size of it without loosing anything?
 Thanks
 Eoghan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD default layout is very smart.

What takes up so much in your /var?

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


Re: portupgrade stale dependencies

2005-10-28 Thread Andrew P.
On 10/28/05, Michael C. Shultz [EMAIL PROTECTED] wrote:
 On Thursday 27 October 2005 18:49, Eric F Crist wrote:
  On Oct 27, 2005, at 8:32 PM, John DeStefano wrote:
   On 10/27/05, Andrew P. [EMAIL PROTECTED] wrote:
   On 10/27/05, John DeStefano [EMAIL PROTECTED] wrote:
   After clearing out the ports, updating ports (with portsnap) and
   source, and rebuilding the system and kernel... it seemed the
   ultimate
   problem was actually a dependency of the package to apache1.3.
   After I
   ran 'pkgdb -F' and fixed this dependency to point to apache2.1,
   but
   I still had trouble installing ports.
 
  At this point, what usually works for me is to:
 
  #cd /usr  rm -rf ./ports
 
  #mkdir ./ports  cvsup /root/ports-supfile
 
  The above will delete your ENTIRE ports tree, provided it's kept in /
  usr/ports and as long as you use cvsup (and your ports supfile is /
  root/ports-supfile as mine is).  When a whole bunch of ports stop
  working, I find this is the easiest thing to do.
 
  The other thing I do is run a cron job every week that updates, via
  cvsup, the ports tree.  About once a year I perform the above, mostly
  to clean out the crap.  Re-downloading your entire ports tree will be
  quicker if you don't use the ports-all tag and actually define which
  port segments you are interested in.  For example, there's no real
  reason to download all the x11/kde/gnome crap if you're doing this on
  a headless server that isn't going to serve X.
 
  HTH

 Replacing /usr/ports won't fix his problems, they reside in /var/db/pkg.
 I may be a bit biased but I reaaly think John D. should try running
 portmanager -u (ports/sysutils/portmanager).  Stale dependencies is a non
 issue for portmanager.

 -Mike

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


I don't think that stale dependencies are an issue for
portupgrade as well, just add -O to the command-
line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of FreeBSD a binary was compiled for?

2005-10-28 Thread Andrew P.
On 10/28/05, Micah [EMAIL PROTECTED] wrote:
 David Kirchner wrote:
  On 10/27/05, Will Maier [EMAIL PROTECTED] wrote:
 
 Must be -- some flag produces unique bits in the executables. I'm a
 little surprised there isn't (AFAICT) anything descriptive in
 file(1)'s manpage or /u/s/mi/magic that would explain the
 discrepancy. Didn't see anything in quick looks through gcc(1) or
 make(1), either.
 
 Weird.
 
 
  It doesn't look like it's done in the magic file. Rather, it's
  something built in to file itself. Check out around line 400 of
  'readelf.c'.
 
  This doesn't explain how it gets in to the binaries built, though.

 Here's some more to think about.  I have a simple cpp program I used to
 test something a while back.  Running file on that executable returns:

 trisha% file floatpoint
 floatpoint: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
 for FreeBSD 5.3.0, dynamically linked (uses shared libs), not stripped

 I just now recompiled with c++ floatpoint.cpp and now:
 trisha% file a.out
 a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
 dynamically linked (uses shared libs), not stripped

 And compiled with same commandline on the working machine:
 alexis% file a.out
 a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for
 FreeBSD 5.4, dynamically linked (uses shared libs), not stripped

 I looked at my env, but I do not see /any/ compiler related variables
 set.  Is there something up with the compiler itself?  My processor?
 (Athlon64 in i386 mode)

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


Clearly, something has changed in the compiler suite.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re[2]: portupgrade stale dependencies

2005-10-28 Thread Andrew P.
On 10/28/05, Gerard Seibert [EMAIL PROTECTED] wrote:

 Personally, I feel that portmanager does a much better job of updating
 without the problems that seem to crop up so often using portupgrade.


I've always been scared off by the comparatively
young age of portmanager. Besides, portupgrade
comes with a set of useful tools, like cvsweb
browser.

But the fat ruby dependency and some other things
make me want something else. I'd be glad to see
a perl-based ports management system. Maybe
I'll write one some day :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW - Counter

2005-10-28 Thread Andrew P.
On 10/28/05, Grant Peel [EMAIL PROTECTED] wrote:
 Hi all,

 Is is possible, to make a single rule counter, or, a multiple rule counter
 (maybe that pies to 1 single counter), so one can track inclomming and
 outgoing bandwidth?

 I would like to say:

 01 count from any to any via 1.2.3.4

 or

 01 count 1.2.3.4

 To have the same effect as:

 01 count from any to 1.2.3.4 in via fxp0
 02 count from 1.2.3.4 to and out via fxp0

 but somehow I don't think they will work :-)

 -Grant


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


You can try using pipes for some kind of
consolidation (they are not meant for it,
of course).

You can also use skips like this:

skipto 1000 type-a
skipto 1000 type-b
...
skipto 1500 ip from any to any

And have rule number 1001 that counts all
the types you have defined.

Or you can try telling us precisely what you
want, we might come up with some rules.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?

2005-10-29 Thread Andrew P.
On 10/28/05, Dinesh Nair [EMAIL PROTECTED] wrote:


 On 10/26/05 21:28 Paul Hamilton said the following:
  Hi,
 
  I have FreeBSD 4.11 running nicely on a HP DL-140  (80GB Parallel ATA HD),
  but is anyone running FreeBSD on a HP DL-140 *G2* (80GB SATA HD)?

 works with the HP ML110 G2 with the ICH7 SATA RAID controller. i've had to
 patch sys/dev/ata-pci.c to get it to recognize it but it's a short and
 simple patch.

 --
 Regards,   /\_/\   All dogs go to heaven.
 [EMAIL PROTECTED](0 0)http://www.alphaque.com/
 +==oOO--(_)--OOo==+
 | for a in past present future; do|
 |   for b in clients employers associates relatives neighbours pets; do   |
 |   echo The opinions here in no way reflect the opinions of my $a $b.  |
 | done; done  |
 +=+
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Yes, 6.0 handles ICH7 in a much better way.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports manager vs. portupgrade

2005-10-29 Thread Andrew P.
On 10/29/05, Gerard Seibert [EMAIL PROTECTED] wrote:
 On Friday, October 28, 2005 8:33:50 PM, Elliot Finley [EMAIL PROTECTED]
 Subject: ports manager vs. portupgrade
 Wrote these words of wisdom:

  pros and cons anyone?
 
  I've always used portupgrade and it works pretty well, but I'm curious as to
  how ports manager compares.
 
  Elliot
 
 * REPLY SEPARATOR *
 On 10/11/2005 5:29:42 PM, Gerard Replied:

 This is only my own opinion, but I find it does a better, more complete
 job, without the hassle of creating Indexes, etc. Portmanager does not
 use the indexes that portupgrade does, and therefore is not hampered by
 them if they become corrupt, etc.

 --

 A: Because it reverses the natural flow of a dialog.
 Q: Why is top posting undesirable when replying?

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


Portmanager is based on a very good idea, but it
still lacks many features of PU, and at times it is
a bit slower.

I'm sure, as it matures, it will become a very handy
tool, hopefully a lot faster.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade stale dependencies

2005-10-29 Thread Andrew P.
On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote:

 Needless to say, this process wasn't much fun.  What can I do to keep
 this from happening again?  What can/can't I safely include in cron to
 automate database and index maintenance?


cvsup or portsnap, then portsdb -uUF. Work under
any circumstances, leave you with updated ports
tree and indexes.

You can also try portupgrade -aF (prefetches
needed files to speed up manual upgrade at a later
time) and portsclean -DP (removes sources and
packages which become outdated due to ports
tree updates).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4 CD and floppies enter boot loop

2005-10-29 Thread Andrew P.
On 10/28/05, Dave [EMAIL PROTECTED] wrote:
 Hello,
 I've got an older, as of june/july 5.4-release official disk. Whenever i
 try to boot a box with it the system enters a boot loop, creating floppies
 also gives me this behavior. This is on a pair of p3 733 mhz systems.
 I've tried new floppies and downloading the bootonly iso same behavior.
 Thanks.
 Dave.

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


It's hard to diagnose a problem if we don't know
anythinf except that your machine restarts during
boot.

Provide additional info about your hardware.

Try to watch the screen and spot the moment when
the box reboots.

Also, you might want to try a 6.0 bootable CD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: compiling chrooted kernel makes drive unbootable

2005-10-29 Thread Andrew P.
On 10/30/05, Dave [EMAIL PROTECTED] wrote:
 Hello,
 I've got a box that has died. The data on it is rather important and a
 reinstall is not feasible. I put the hard drive in a test box, mounted all
 the partitions of the previous drive under /mnt then did a chroot /mnt and
 compiled a generic kernel. The processor on this board is different so i
 felt i had to. The compilation and installation of the chrooted kernel went
 fine, putting the drive in the new system yields an unbootable drive. I've
 checked the data and kernel are there. Any ideas why this procedure didn't
 give me a bootable drive?
 Thanks.
 Dave.

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


Any more info, please?

What exactly has died? Has any data been lost?
Why did you have to recompile the kernel? Did you
recompile the world, too? How different are the
processors on the dead system, the one you've
recompiled on and the new one?

You can always run a fresh install without
formatting your drives and thus losing only some
system configuration files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can a process be made immune to out-of-swap-space kills?

2005-10-29 Thread Andrew P.
On 10/30/05, Doug Lee [EMAIL PROTECTED] wrote:
 Sometimes, I accidentally run something that eats up too much memory
 and causes the pager to run out of swap space and start shooting down
 processes to rectify the situation.  Sometimes, the process chosen for
 demolition happens to be `screen.'  Since this process sorta manages a
 whole lot of others and, on being zapped out of existence, leaves many
 of them running but inaccessible, I find this choice decidedly
 inconvenient.

 Is there a way for me to force FreeBSD to leave `screen' (or any other
 process) alone when selecting something to kill to free memory?

 Please Cc me any answers.

 Thanks much.


 --
 Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
 SSB + BART Group [EMAIL PROTECTED]   http://www.bartsite.com
 Is your cucumber bitter? Throw it away. Are there briars in your
 path? Turn aside. That is enough. Do not go on to say, `Why were
 things of this sort ever brought into the world?'
 --Marcus Aurelius
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


I don't know how to do that, but by all means you
shouldn't allow that to happen. It's not windoze,
where everything is meant to be swapped. Read
limits(1) manpage to know how to prevent a user
from messing with other processes in such an
unfriendly way.

Last time I ran into a problem alike was upgrading
from fedora core 3 to FC4. Yum requested about
4000GB (4 Terabytes) of RAM. The machine
became inaccessible (as in showing no signs of
life whatsoever) for 5 hours, but in the end
something coredumped and I could login :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installation failure

2005-10-30 Thread Andrew P.
On 10/30/05, some one [EMAIL PROTECTED] wrote:
 I am trying to install FreeBsd 5.0 on i386
 and it hangs in the middle of installation process
 with a
 ata0: resetting devices..
 I thought it was a graphic card, i put a diff one, same error
 I changed alot of stuff in the BIOS setup trying to make it work .. nothing
 All help would be appreciated




 -
  Yahoo! FareChase - Search multiple travel sites in one click.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


5.0 is unsupported. Please try 5.4 or 6.0RC1.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: compiling chrooted kernel makes drive unbootable

2005-10-30 Thread Andrew P.
On 10/30/05, Dave [EMAIL PROTECTED] wrote:
 Hi,
 Thanks for your reply. I've not lost any data yet doing a reinstall
 would not be possible at this point. It's a matter of time which i don't
 have a lot of.
 As i said i've not lost data, on the drive, just the motherboard died, i
 think it overheated. The board that went was a pentium i think 2 or 3 600
 mhz, the new system is a p4 2.4 ghz, both intel not one being amd they're
 both the same processor make. I thought i could just put the new board in,
 plug everything in, and go, i got an error that the processor type wasn't
 supported,


What was that error? P4's features are a strict superset to
those of P2 or P3. This error might have to do with something
completely different like faulty hardware or damaged data.

It was unnecessary to chroot, I think. Try the DESTDIR option:

cd /usr/src  make world DESTDIR=/path/to/mnt
cd /usr/src  make kernel DESTDIR=/path/to/mnt
mergemaster -D /path/to/mnt

You'll also need to set the disk active. Try something
like fdisk -a /dev/ad1, but I'm not experienced in this
wizardry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Buildworld and Security advisories.

2005-10-30 Thread Andrew P.
On 10/31/05, Grigory O. Ptashko [EMAIL PROTECTED] wrote:
 Hello, list.

 I am new to FreeBSD source upgrading/patching source tree system.
 After reading the following chapters from the handbook:

 14.14 FreeBSD Security Advisories
 20 The Cutting Edge (about rebuilding world)

 I have some questions.

 1) If I install a FreeBSD RELEASE on a machine what do I have to do to
 patch all those bugs listed in FreeBSD Security Advisories?
 Is it enough to synchronize my source tree with the STABLE branch or
 do I have to get all patches and apply them manualy?
 And if I must patch the source tree manualy do I have to do this after
 synchronizing the source tree with STABLE or before? Or it doesn't
 matter?

 In two words what are the relations between patching the bugs listed in
 Advisories and the process of synchronizing the source tree of the
 RELEASE with the STABLE?

 2) How often should I synchronize sources with the STABLE?

 Currently I am working with 4.11 RELEASE.


 Thanks!

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


To get all security fixes for your OS, you should do
_one_ of the following:

* patch manually and recompile - as stated in the SA
* syncronize to the security branch, i.e. RELENG_4_11
or RELENG_5_4, and rebuild world/kernel
* syncronize to the stable branch, i.e. RELENG_4,
RELENG_5 or RELENG_6, and rebuild world/kernel
* perform a binary upgrade

You can use either way each time a SA is published,
no matter what way you have used last time. For example
you can perform a binary upgrade from RELEASE to
5.4-p1, then patch manually and recompile to 5.4-p2
then sync to stable, then sync to security branch and
so on. Sometimes binary and manual upgrades leave
uname output old, but they always fix a security hole.

Often, users manually patch systems where a reboot
is very undesirable, sync to security branch on all
mission-critical servers, where a reboot is possible,
sync to stable on all other servers and use binary
upgrades on systems that are very slow, or limited in
other ways.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0 Hardware error

2005-10-30 Thread Andrew P.
On 10/31/05, Jose Luis Alarcon Sanchez [EMAIL PROTECTED] wrote:
 Hi Friends.

 Every time i use my DVD player unit, i get on the kernel messages
 console, repeated many times, this:

 acd0: FAILURE - READ_CD HARDWARE ERROR asc=0x08 ascq=0x03 error=0

 What is the mean of this line?. With others Operating Systems, in the
 same machine, i don't have nothing like this...

 This is the line about the DVD player unit in dmesg:

 acd0: DVDROM Pioneer DVD-ROM ATAPIModel DVD-116 0122/E1.22 at
 ata1-master UDMA66

 Any help is very apreciated.

 Thanks you very much, in advance.

 Regards.

 Jose.


 --
 http://www.lordofunix.org

 Not Registered GNU/Hurd User.
 Registered BSD User 51101.
 Registered Linux User #213309.
 Memories. You are talking about memories.
 Rick Deckard. Blade Runner.

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


It might be some copy protection and it might be not.

Please, read ata(4) and atacontrol(8) manpages to
learn how to tweak different options of ata driver. If
that doesn't help at all, try compiling a custom
kernel with device atapicam (make sure SCSI
support is also present). This will give you an
alternative interface to your drive.


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


Re: portupgrade stale dependencies

2005-10-30 Thread Andrew P.
On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote:
 On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote:
  On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote:
  
   Needless to say, this process wasn't much fun.  What can I do to keep
   this from happening again?  What can/can't I safely include in cron to
   automate database and index maintenance?
  
 
  cvsup or portsnap, then portsdb -uUF. Work under
  any circumstances, leave you with updated ports
  tree and indexes.

 If I were to continue to use portsnap, which arguments can I safely
 add to /etc/crontab? I know portsnap cron should be safe, but if I
 want to completely automate the update process (not for installing
 packages, but for keeping the ports tree, database, and indexes
 current), should I also add an entry for portsnap update and
 portsdb -uUF?

 
  You can also try portupgrade -aF (prefetches
  needed files to speed up manual upgrade at a later
  time) and portsclean -DP (removes sources and
  packages which become outdated due to ports
  tree updates).
 

 Would you also recommend cron entries for these two commands?

 I used to use a cron job to run cvsup, and I'd like to implement a
 better, more complete automated solution, so I don't tangle up my
 system's packages and dependencies again.


I think the best way is to create a shell script, like this:

#!/bin/sh
/usr/local/sbin/portsnap cron  \
/usr/local/sbin/portsnap update  \
/usr/local/sbin/portsdb -uUF  \
/usr/local/sbin/portupgrade -aF  \
/usr/local/sbin/portsclean -DP

and run it at an hour, when you're most unlikely to
perform any kind of port upgrading. As portsnap
manpage warns, if both portsnap (in the process
of update) and portupgrade ever happen to access
the same directory at once, it might ruin your
ports tree. You'll have to do portsnap extract
after that. You can leave out portsclean and run
it manually, because it can create some load
(which is not desirable on a production server).

I run this script daily at 8-9 in the morning (I usually
start messing with servers after 11). It never failed,
and it always keeps everything up-to-date.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade stale dependencies

2005-10-31 Thread Andrew P.
On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote:
 On 10/30/05, Andrew P. [EMAIL PROTECTED] wrote:
  On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote:
   On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote:
On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote:

 Needless to say, this process wasn't much fun.  What can I do to keep
 this from happening again?  What can/can't I safely include in cron to
 automate database and index maintenance?

   
cvsup or portsnap, then portsdb -uUF. Work under
any circumstances, leave you with updated ports
tree and indexes.
  
   If I were to continue to use portsnap, which arguments can I safely
   add to /etc/crontab? I know portsnap cron should be safe, but if I
   want to completely automate the update process (not for installing
   packages, but for keeping the ports tree, database, and indexes
   current), should I also add an entry for portsnap update and
   portsdb -uUF?
  
   
You can also try portupgrade -aF (prefetches
needed files to speed up manual upgrade at a later
time) and portsclean -DP (removes sources and
packages which become outdated due to ports
tree updates).
   
  
   Would you also recommend cron entries for these two commands?
  
   I used to use a cron job to run cvsup, and I'd like to implement a
   better, more complete automated solution, so I don't tangle up my
   system's packages and dependencies again.
  
 
  I think the best way is to create a shell script, like this:
 
  #!/bin/sh
  /usr/local/sbin/portsnap cron  \
  /usr/local/sbin/portsnap update  \
  /usr/local/sbin/portsdb -uUF  \
  /usr/local/sbin/portupgrade -aF  \
  /usr/local/sbin/portsclean -DP
 

 Perfect... I had everything but the  conditionals... thanks!

 
  and run it at an hour, when you're most unlikely to
  perform any kind of port upgrading. As portsnap
  manpage warns, if both portsnap (in the process
  of update) and portupgrade ever happen to access
  the same directory at once, it might ruin your
  ports tree. You'll have to do portsnap extract
  after that. You can leave out portsclean and run
  it manually, because it can create some load
  (which is not desirable on a production server).
 
  I run this script daily at 8-9 in the morning (I usually
  start messing with servers after 11). It never failed,
  and it always keeps everything up-to-date.
 

 My server is not production, as it's just my personal web/database
 server; I'm the only one who would be running any updates.  So I
 should be okay with this procedure, and I'll manually update any ports
 of note.

 Just one problem I saw thus far, with portsclean I think...

 Cleaning out /usr/ports/packages...
 cd: can't cd to /usr/ports/packages/All
 find: /usr/ports/packages: No such file or directory

 Would this be related to one of the advanced topics you mentioned
 earlier about pkgtools.conf? ;)  Do I need to define some variables?
 I would guess the directory error to have been caused by a combination
 of the variables PORTSDIR (which looks okay at /usr/ports) and
 PACKAGES (which seems to need a /packages dir beneath PORTSDIR ?).

 Thanks,
 ~John


No, it's not advanced at all :-) You just don't have the
directory. Create it, if you want to. When you run
make package or portupgrade -p something, a
package is created in your current directory, unless
/usr/ports/packages exists. If it does, the package
is created there, and some hierarchy is kept, too.
So it's convenient to have that dir, if you ever use
packages.

Of course, /usr/ports/packages is just the default.
You can change PACKAGES to whatever you like.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make.conf - question

2005-10-31 Thread Andrew P.
On 10/31/05, Vladimir Dvorak [EMAIL PROTECTED] wrote:
 Hello,

 where can I found ALL parameters suited for /etc/make.conf ? For
 example, I wanted install some software from ports without X11, but

 man 5 make.conf

 doesn`t include WITHOUT_X11 option.

 Fortunatelly I found this page

 http://www.gsp.com/cgi-bin/man.cgi?section=5topic=make.conf

 and included some necessary parameters into my make.conf.

 Ok, I found this

 --- man make.conf ---
 The purpose of make.conf is not to run commands or perform compilation
  actions directly.  Instead, it is included by the various makefiles in
  /usr/src, /usr/ports and /usr/doc which conditionalize their internal
  actions according to the settings found there.
 --- cut ---

 in man page, but im not sure where exactly should I look ?

 (OS: 5.4-RELEASE FreeBSD 5.4-RELEASE )

 Thank you,

 Vladimir

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


You can only find *most* of parameters by reading
system mk files carefully.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: File system check fails on boot

2005-10-31 Thread Andrew P.
On 10/31/05, Edward Lichtner [EMAIL PROTECTED] wrote:
 Hi all,
 There's fire in the house... I recently inserted a USB memory stick and my
 5.4 Stable machine rebooted suddenly. I now get the following on boot :

 Starting file system checks :
 /dev/ad0s3a: UNKNOWN FILE TYPE I=2900154
 /dev/ad0s3a: UNEXPECTED SOFT UPDATE INCONSISTENCY: RUN fsck MANUALLY.
 Automatic file system check failed; help!
 Oct. 30 20:14:53 init: /bin/sh on /etc/rc terminated abnormally, going to
 single user mode

 When I run fsck, I get the folllowing :

 ** Phase 1 - Check Blocks and Sizes
 UNKNOWN FILE TYPE I=2900154
 UNEXPECTED SOFT UPDATE INCONSISTENCY

 CLEAR? [yn]

 ** Phase 2 - Check Pathnames
 DUP/BAD I=2900154 OWNER=root MODE=100644
 SIZE=93 MTIME=Mar 25 04:13 2004
 FILE=/usr/ports/net/ldapbrowser/distinfo

 UNEXPECTED SOFT UPDATE INCONSISTENCY

 REMOVE? [yn]

 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 LINK COUNT DIR I=2 OWNER=root MODE=40755
 SIZE=512 MTIME=Oct 30 17:20 2005 COUNT 21 SHOULD BE 20
 ADJUST? [yn]

 UNREF FILE I=471058 OWNER=root MODE=100644
 SIZE=72 MTIME=Oct 30 19:03 2005
 RECONNECT? [yn]

 CLEAR? [yn]

 I then get similar messages for a dozen files, then :

 ** Phase 5 - Check Cyl groups
 SUMMARY INFORMATION BAD
 SALVAGE? [yn]

 BLK(S) MISSING IN BIT MAPS
 SALVAGE? [yn]

 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? [yn]

 And so on... Should I just answer yes to all questions and hope for the
 best, or is there a better way of saving the day ? Needless to say, my whole
 system is on /dev/ad0s3a.
 Also, what could have caused the problem ? I recently updated my kernel to
 include HFS support. Could it be linked ?
 Thanks all,
 Edward


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


If you have no idea, what's happened and what's
damaged, I'm afraid, you'll have to run fsck -y (or
place fsck_y_enable=YES in /etc/rc.conf to
always dangerously agree to everything) - and
hope for the best.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Basic Port Management.Is there any?

2005-10-31 Thread Andrew P.
On 10/31/05, George Katsanos [EMAIL PROTECTED] wrote:
 Hello ! ,


 As a fresh Freebsd user[and fan] I am trying to set up my WM / X environment
 and choose the apps I will use for basic stuff.
 Text Editors , Image viewers , Mail apps , FileManagers.

 So after I see some screenshots [it would be very nice and handy if some
 screenshots could be added to the freebsd.org/ports database] I'm making
 install the port to check it out. Some times , I decided that I don't like
 it . So my first though is to get rid of it , cause I don't want ''trash''
 on my system.
 I'm making deinstall [or pkg_delete] to remove it. Everything ok so far ,
 but what about the one zillion dependant pkg's the app made?
 You can say , do a pkg_delete -r . Yes but this will may delete also pkgs
 that are Needed by other ports/apps..


 Is there any good plan solution for this ?...

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


Just take it easy :-) Most ports try to behave, so
unless you're very short of disk space, just let
them be there. Once in a while, you can install
a tool that deals with leafs (there are a few in
ports collection). Leafs are ports that are not
needed by anything, so you can safely delete
them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Teamspeak Server

2005-10-31 Thread Andrew P.
On 10/31/05, Jerahmy Pocott [EMAIL PROTECTED] wrote:
 Hello,

 I recently tried running the Teamspeak linux server on a 4.7ish
 something box
 with linux compat installed but all I got was daemon failed to
 start or a message
 similar to that with no reason or errors..

 Has anyone had any success running the linux binary on FreeBSD? Would
 upgrading
 perhaps help?

 There is no source for it that I'm aware of, so kinda relying on the
 compat stuff..

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


The port is marked broken. Try running it on a newer
FreeBSD version, like 4.11, 5.4 or 6.0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SAP R/3 ISO images

2005-10-31 Thread Andrew P.
On 10/31/05, Vishal Ballabh [EMAIL PROTECTED] wrote:
 Hi

 I have seen the document regarding installation
 of SAP R/3 on FreeBSD. I am interested in installaing
 a stand alone system for learning purporse. I am
 unable to find the SAP ISO images that you have
 mentioned in the document. It would be great if you
 can guide me to a location where I can find it.

 Thanks,
 Vishal


 -
  Yahoo! FareChase - Search multiple travel sites in one click.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Hi!

To get SAP you must contact their sales office:

http://www.sap.com/contactsap/directory/index.epx

I think the nearest one to you is in New Delhi:

SAP India Pvt. Ltd.
- New Delhi
Hotel Crowne Plaza Surya
Business Center
O level, Office Floor
New Friends Colony
New Delhi -110 065
India
Phone: +91/11/516-57700
Fax: +91/11/516-28919
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade stale dependencies

2005-10-31 Thread Andrew P.
On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote:
 On 10/31/05, Andrew P. [EMAIL PROTECTED] wrote:
  On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote:
   On 10/30/05, Andrew P. [EMAIL PROTECTED] wrote:
On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote:
 On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote:
  On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote:
  
   Needless to say, this process wasn't much fun.  What can I do to 
   keep
   this from happening again?  What can/can't I safely include in 
   cron to
   automate database and index maintenance?
  
 
  cvsup or portsnap, then portsdb -uUF. Work under
  any circumstances, leave you with updated ports
  tree and indexes.

 If I were to continue to use portsnap, which arguments can I safely
 add to /etc/crontab? I know portsnap cron should be safe, but if I
 want to completely automate the update process (not for installing
 packages, but for keeping the ports tree, database, and indexes
 current), should I also add an entry for portsnap update and
 portsdb -uUF?

 
  You can also try portupgrade -aF (prefetches
  needed files to speed up manual upgrade at a later
  time) and portsclean -DP (removes sources and
  packages which become outdated due to ports
  tree updates).
 

 Would you also recommend cron entries for these two commands?

 I used to use a cron job to run cvsup, and I'd like to implement a
 better, more complete automated solution, so I don't tangle up my
 system's packages and dependencies again.

   
I think the best way is to create a shell script, like this:
   
#!/bin/sh
/usr/local/sbin/portsnap cron  \
/usr/local/sbin/portsnap update  \
/usr/local/sbin/portsdb -uUF  \
/usr/local/sbin/portupgrade -aF  \
/usr/local/sbin/portsclean -DP
   
  
   Perfect... I had everything but the  conditionals... thanks!
  
   
and run it at an hour, when you're most unlikely to
perform any kind of port upgrading. As portsnap
manpage warns, if both portsnap (in the process
of update) and portupgrade ever happen to access
the same directory at once, it might ruin your
ports tree. You'll have to do portsnap extract
after that. You can leave out portsclean and run
it manually, because it can create some load
(which is not desirable on a production server).
   
I run this script daily at 8-9 in the morning (I usually
start messing with servers after 11). It never failed,
and it always keeps everything up-to-date.
   
  
   My server is not production, as it's just my personal web/database
   server; I'm the only one who would be running any updates.  So I
   should be okay with this procedure, and I'll manually update any ports
   of note.
  
   Just one problem I saw thus far, with portsclean I think...
  
   Cleaning out /usr/ports/packages...
   cd: can't cd to /usr/ports/packages/All
   find: /usr/ports/packages: No such file or directory
  
   Would this be related to one of the advanced topics you mentioned
   earlier about pkgtools.conf? ;)  Do I need to define some variables?
   I would guess the directory error to have been caused by a combination
   of the variables PORTSDIR (which looks okay at /usr/ports) and
   PACKAGES (which seems to need a /packages dir beneath PORTSDIR ?).
  
   Thanks,
   ~John
  
 
  No, it's not advanced at all :-) You just don't have the
  directory. Create it, if you want to. When you run
  make package or portupgrade -p something, a
  package is created in your current directory, unless
  /usr/ports/packages exists. If it does, the package
  is created there, and some hierarchy is kept, too.
  So it's convenient to have that dir, if you ever use
  packages.
 
  Of course, /usr/ports/packages is just the default.
  You can change PACKAGES to whatever you like.
 
 Thanks Andrew.  You're right: that's not advanced, even for me!  If
 that dir needs to have a specific set of permissions, please let me
 know; otherwise, I think I'm all set, aside from asking where I might
 read more about the ports/packages system that what's in the handbook
 and man pages.

 Thanks again for your help.
 ~John


The default (755) permissions should be ok.

The ultimate (more or less) ports/packages
documentation consists of:

ports(7)
make(1)
pkg_add(1)
pkg_create(1)
pkg_delete(1)
pkg_info(1)
pkg_version(1)

/usr/ports/Mk/*

The Porter's Handbook
The FreeBSD Handbook (Packages and Ports)

pib(1), portaudit(1), portcheckout(1), portlint(1)
portupgrade(1), etc - depending on what tools
you have installed.

ports@ mailing list archives and various makefiles
throughout the system are also valuable sources
of documentation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL

Re: Covert m4p to mp3 (in FreeBSD ?)

2005-10-31 Thread Andrew P.
On 10/31/05, Bill Schoolcraft [EMAIL PROTECTED] wrote:
 Hello Family,

 Does anyone know how to convert a .m4p file to a .mp3 file?

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


Try running hymn on FreeBSD.

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


Re: Login Max Chr?

2005-10-31 Thread Andrew P.
On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote:
 I am running FreeBSD 5.4

 Is there a way to change the eight character login length to allow more
 characters?

 The reason is I would like to do first initial last name for the login.
 However some last names are longer than eight characters.  It would also
 work well for email addresses on the server.

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


I thought it was 16 characters:

sat64# cat /etc/passwd | grep 123
1234567890123456:*:1005:1005:123:/home/1234567890123456:/bin/sh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Max Chr?

2005-10-31 Thread Andrew P.
On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote:
 Andrew P. wrote:
  On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote:
  I am running FreeBSD 5.4
 
  Is there a way to change the eight character login length to allow more
  characters?
 
  The reason is I would like to do first initial last name for the login.
  However some last names are longer than eight characters.  It would also
  work well for email addresses on the server.
 
  Thanks
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
  I thought it was 16 characters:
 
  sat64# cat /etc/passwd | grep 123
  1234567890123456:*:1005:1005:123:/home/1234567890123456:/bin/sh
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 is there any problems with using 16 characters with any applications or
 do the applications don't care the login name length for example


That depends solely on the applications. Most
newer ones will not show any problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MAC_by_default

2005-11-01 Thread Andrew P.
On 01 Nov 2005 07:16:06 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Максим Голунов  [EMAIL PROTECTED] writes:

  Hello my friends.I want to SORRY from my English. I'm from Russian.
  I happy that I'm using FreeBSD. And I've got some questions.
  I know where is setupping MAC-policy by default. This is /etc/mac.conf (I 
  need mls and biba policy).
  But I don't know where setup security-level for MAC-policy by default.

 Do you mean setting kern_securelevel in rc.conf(5)?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


No, I think he means security levels of particular
MAC-policies (high/medium/low). That's a pretty
advanced topic, I couldn't find a solution within 10
minutes of googling.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: WiFi Nintendo-DS and FreeBSD

2005-11-01 Thread Andrew P.
On 11/1/05, Dick Hoogendijk [EMAIL PROTECTED] wrote:
 In november my DS goes WiFi (in Holland).
 Naturaly I want to play games that support this feature.
 (MarioKart-DS i.e.) at home ;-)

 The FreeBSD related question is:
 My main server runs 4.11-stable, some other machines run 5.4

 What do I have to do to give this DS wireless access to the net?
 What is the best approach?

 Only my main server is 24/7 connected (without a hardware router;-)
 Do I put a wireless card in this machine?
 Is this possible or do I have to upgrade FreeBSD to 6.0 to have WiFi?

 It's all new to me (this wireless stuff). All my machines are wired.
 So I can use some tips, reading points or suggestions from you.

 --
 dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
 ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
 + 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]


6.0 brings some major improvements in wireless
functionality, so you should really give it a thought.
AFAIK from /. TCP/IP is still to be implemented.
When/if it is, you should be able to put a WiFi
card into your FreeBSD box and set everything up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd 5.4 smp on amd64

2005-11-01 Thread Andrew P.
On 11/1/05, Ian Lord [EMAIL PROTECTED] wrote:
 Hi,

 I compiled my kernel using

 options SMP

 it seems to work, I now see 4 cpus on my server (2 xeon with HTT) so
 It seems fine.

 Following the documentation I tried to use either
 device  apic
 or
 options APIC_IO

 both are refused by /usr/sbin/config

 are they mandatory or does the documentation needs updating ?

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


apic is an integral part of amd64 architecture, so there's
no option for it. We're proud that the docs are always in
need of updating - it shows how prolific the developers
really are.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cloning machines with 5.4-REL

2005-11-01 Thread Andrew P.
On 11/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hello,

 I've setup one notebook with 5.4-REL and used the ports collection
 to pick up what I wanted (KDE and all other stuff); this took
 some time, of course but run without big trouble; now I want to
 setup a second notebook with the same installation and my
 idea is:

 - just install the base system on the 2nd notebook,
 - NFS-mount the /usr/ports from the 1st
 - remove all the files /usr/ports/.../work/.install_done
 - and just say make install on the new toy

 Comments?

 Thx

 matthias
 --
 Matthias Apitz / Sisis Informationssysteme GmbH
 Gruenwalder Weg 28g / D-82041 Oberhaching
 Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
 http://www.sisis.de/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


You can safely omit the third step (removing those
files). Just run make install - and you're done.

A neater way would be to install portupgrade on
both machines, create /usr/ports/packages dir on
the first one, run something like
portupgrade -wWpaf, NFS mount /usr/ports on the
2nd one and use portupgrade -P whatever.

[Basically, it will create packages on the 1st
machine and then install ports from packages on
the 2nd one].
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wrkdirprefix default?

2005-11-01 Thread Andrew P.
On 10/30/05, Anthony M. Agelastos [EMAIL PROTECTED] wrote:
 Hello.

 Sometime back, I posted a message mentioning that I planned on
 installing OpenOffice once it reached 2.0 status on my FreeBSD
 machine using a nonstandard wrkdirprefix path (original email is
 shown via the below link).

 http://www.freebsd.org/cgi/getmsg.cgi?fetch=184696+187981+/usr/local/
 www/db/text/2005/freebsd-questions/20050918.freebsd-questions

 One reply was that I can use

 env WRKDIRPREFIX=/myotherlocation make install

 This is fine for installing it, but I was wondering was there a good
 way of modifying WRKDIRPREFIX to always point to this location only
 for OpenOffice.org, that way I can use portupgrade in the future and
 not have to worry about it? I am assuming the best way of dealing
 with this is with the file /usr/local/etc/pkgtools.conf.  assume that
 I could put it inside of the MAKE_ARGS section. What is the most
 optimal way of modifying this file for what I have mentioned above? I
 have read the pkgtools.conf and ports manpages (and am still slightly
 confused) and am running FreeBSD 5.4-STABLE.

 If the only way to do this is by modifying the variable on the whole
 so everything is built elsewhere, I suppose that is alright as well.
 If this is the only way, what is the preferred way of handling this?
 Thank you all for your assistance.

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


Yes, pkgtools.conf is one of the best ways to do this,
 MAKE_ARGS = {
'openoffice*' = 'WRKDIRPREFIX=/mydir',
 }

You can also read make manpage and test
.CURDIR in /etc/make.conf, but that's not so neat.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing kernel options and devices in today's world

2005-11-01 Thread Andrew P.
On 10/29/05, Doug Poland [EMAIL PROTECTED] wrote:
 Hello,

 I've been using FreeBSD since 2.1.5 and have dutifully tweaked my
 kernels to include devices I need, and remove unwanted things.  This
 made a big difference on 486's with 16MB of memory.

 Over the years I've developed a procedure for keeping track of changes
 in GENERIC and reducing the amount of time it takes to build a custom
 kernel for a given box.

 Fast-forward to 2005, PCI, SMP, gigabytes of RAM, kernel loadable
 modules and FreeBSD 6.x.  As I begin preparing some boxes for updating
 to 6, I'm wondering if it's really worth the effort to tweak a kernel?
 And by this I mean removing devices and options.  It's trivial to have
 an include for the devices/options I need to add to every kernel.  But
 the list of things to take out keeps getting bigger and bigger and the
 chance for errors in editing increase.

 I'm thinking of just running GENERIC with necessary additions.  Most of
 my boxes are workstations or department-sized servers supporting basic
 web, email, and file/print services.   Architecture is all 32-bit Intel
 ranging from modest PIII to 4-way Xeon P4.

 I can come up with several arguments for both cases (running GENERIC vs.
 trimming all unneeded fat from a kernel).  Has anyone else wrestled with
 this issue and come up with interesting conclusions?

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


I leave almost everything on my desktop machines, but
who needs usb, firewire and wifi on a production DB
server?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: M audio 24/96 driver

2005-11-02 Thread Andrew P.
On 11/2/05, Makisupa [EMAIL PROTECTED] wrote:
 Has anyone successfully got a Maudio Delta 24/96 soundcard working in
 6.0 or 5.4 for that matter?

 If so, what sound driver or kernel parameters where used?  Help is much
 appreciated...i think this is the only thing holding me back from moving
 my workstation to FreeBSD (currently running linux).  Google only yields
 people asking the same questions.

 THanks,

 Mak

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


Drivers from www.opensound.com support some
M Audio cards, you should give it a try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Script help for updating routine

2005-11-02 Thread Andrew P.
On 11/2/05, Denny White [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 I have a script, pasted in below, which does various
 things on a daily basis, like cvsup src, docs, ports,
 portsdb, portversion, portupgrade,  so on. I finally
 figured out how to do the if/then/else thing with the
 portversion-portupgrade part of the script, but I can't
 figure out what to do to bypass the docs install part
 if there are no new docs. Thanks for any help I can
 get on it. Script follows:

 #!/bin/sh
 #
 echo Cvsup latest src and doc
 cvsup -g -L 2 /root/srcdoc-supfile
 #
 # THIS THE PART IN QUESTION, THAT DOES
 # DOES THE DOCS. CUSTOM MAKEFILE IS FOR
 # ENGLISH ONLY.
 #G
 #send copious output to the bit bucket
 echo Updating docs
 echo 
 cd /usr/doc
 cp Makefile.custom Makefile
 make install
 #make install  /dev/null
 #
 cd /root
 echo Portsnap fetching and updating ports
 echo 
 portsnap fetch
 portsnap update
 #
 echo Updating INDEX in /usr/ports
 echo 
 cd /usr/ports
 #make fetchindex
 portsdb -uUF
 #
 echo Portaudit checking for vulnerabilities in installed ports
 echo Results in file /root/vulnerable
 echo 
 portaudit -Fda  /root/vulnerable
 #
 echo Portversion checking if any ports need upgrading
 echo Results in file /root/need2upgrade
 echo 
 portversion -l   /root/need2upgrade
 if grep '' /root/need2upgrade; then
 echo Portupgrade upgrading out-of-date ports
 portupgrade -arR; else
 echo Ports already up to date 12
 exit 1
 fi
 echo Finished at `/bin/date`.
 exit

 GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
 Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2 (FreeBSD)
 Comment: Made with pgp4pine 1.76

 iD8DBQFDaQ7Ny0Ty5RZE55oRAjYhAKCyDOKGhu86oAVu6Ml2ANf2Rt3vXwCfcs52
 2V388qkRXw8Kiun8iR7rbiY=
 =Wscs
 -END PGP SIGNATURE-

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


1. You can limit docs to custom languages in
make.conf, that's a better way

2. You can affor to copy extra 60Mb once a day,
can't you?

3. You can grep cvsup output against something
like doc/

4. Never run portsnap fetch from cron, even if
you chose a very odd time, use portsnap cron

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


Re: OFF-TOPIC but ... you will laugh !!

2005-11-02 Thread Andrew P.
On 11/3/05, Aggelos [EMAIL PROTECTED] wrote:
 An Indian discovered that nobody can create a FOLDER anywhere named as
 con.
 This is something pretty cool...and unbelievable...
 At Microsoft the whole Team, including Bill Gates, couldn't answer why
 this happened!
 Try it out yourself...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


con is the name of a device in windoze. Is this
really funny? There are lots of other legacy names,
like prn, lpt, etc... Let's laugh at each and every
one of them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing wine on 6.0 RC

2005-11-03 Thread Andrew P.
On 11/3/05, paul thodiyil [EMAIL PROTECTED] wrote:
 I am sort of new to FreeBSD and still learning the ropes. I am having great
 trouble installing WINE and indeed other packages on my AMD64 desktop
 running FreeBSD ver 6.0. I had added this package during the installation
 process.
  With the 'whereis wine' command, I get: /usr/ports/emulators/wine
  Then when I type pkg_add wine, I get 'can't stat package file wine'
  Could someone tell me what I could be doing wrong?
  Paul
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Wine does not run on anything but x86 yet. Sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL port not d/loading

2005-11-03 Thread Andrew P.
On 11/2/05, tim cle [EMAIL PROTECTED] wrote:
 Hello,

 I'm attempting to install MySQL via ports but its not
 d/loading. I know my system should do this, because I
 just finished installing apache via ports, and it
 d/loaded fine. So, is anyone having problems d/loading
 the MySQL port(s) - i tried 4.0 and 4.1 and 5.0 - none
 of them transfer successfully. Or is my system just
 annoying me for fun (j/k)

 Regards, Tim.




 __
 Yahoo! Mail - PC Magazine Editors' Choice 2005
 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]


= mysql-4.1.15.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from ftp://ftp.easynet.be/mysql/Downloads/MySQL-4.1/.
mysql-4.1.15.tar.gz   100% of   16 MB  770 kBps 00m00s

4.0 and 5.0 are also fetchable right now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OPen Office 2.0 via packages

2005-11-04 Thread Andrew P.
On 11/4/05, Glyn Millington [EMAIL PROTECTED] wrote:


 Greetings!

 For the sake of a continuing happy marriage !  I really need to install
 OPenOffice 2 on a machine at home - soon to be running FreeBSD 6.0 (i386)
 :-)  I can't build the port because the hard drive is too small - just
 enough spare space for the compiling.

 Is it possible to do this via packages? Can anyone give me pointers as
 to what packages I need, what bits of Java are necessary for a
 pre-compiled package?  Is it possible to do this via packages at all?

 Thanks in advance

 atb

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


ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0/

Just try to pkg_add it. OO doesn't require Java to run,
only to build. There are some run-dependencies, you
can see them here:
http://www.freshports.org/editors/openoffice.org-2.0/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL port not d/loading

2005-11-04 Thread Andrew P.
On 11/4/05, tim cle [EMAIL PROTECTED] wrote:

 Hi again, I have successfully installed MySQL - but
 the mirror system still doesnt seem right - it went
 through all the mirrors, and wouldn't d/l from them -
 then it finally worked from the main bsd ftp site -
 I've put the output underneath - note this is what I
 got when I did another test run after already d/l it -
 it has been like this for at least a day now.
 Regards, Tim.

 Note that it does finally succeed from the last site
 (main ftp for bsd) so the fetch/ftp is working ok -
 just not with the other sites.


It seems to be a purely networking issue. I haven't
heard of any major outages in Australia lately, but
with US Tier-1 ISP's fighting and all - it kinda
doesn't come as a surprise.

Start with ensuring that your Internet connection is
OK, then try accessing the sites that failed - and
if they fail again, call your ISP support.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port status

2005-11-04 Thread Andrew P.
On 11/4/05, eoghan [EMAIL PROTECTED] wrote:
 Hello
 Im wondering if there is a status page that show work on ports/pkg's?
 Much like freshports, but for instance if I wanted to see the current
 work on kde 3.4.3 for example - would there be a place where I could get
 such info? The ports system is really great too!
 Thanks
 Eoghan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


http://freebsd.kde.org/

Most ports require only a few hours of work, so
there's no dedicated pages of course. Big ports
like KDE have pages accessible via google
(freebsd portname).

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


Re: Fast diff command for large files?

2005-11-04 Thread Andrew P.
On 11/4/05, Kirk Strauser [EMAIL PROTECTED] wrote:
 On Friday 04 November 2005 10:22, Chuck Swiger wrote:

  Multigigabyte?  Find another approach to solving the problem, a text-base
  diff is going to require excessive resources and time.  A 64-bit platform
  with 2 GB of RAM  3GB of swap requires ~1000 seconds to diff ~400MB.

 There really aren't many options.  For the patient, here's what's happening:

 Our legacy application runs on FoxPro.  Our web application runs on a
 PostgreSQL database that's a mirror of the FoxPro tables.

 We do the mirroring by running a program that dumps the FoxPro tables out as
 tab-delimited files.  Thus far, we'd been using PostgreSQL's copy from
 command to read those files into the database.  In reality, though, a very,
 very small percentage of rows in those tables actually change.  So, I wrote
 a program that takes the output of diff and converts it into a series of
 delete and insert commands; benchmarking shows that this is roughly 300
 times faster in our use.

 And that's why I need a fast diff.  Even if it takes as long as the database
 bulk loads, we can run it on another server and use 20 seconds of CPU for
 PostgreSQL instead of 45 minutes.  The practical upshot is that the
 database will never get sluggish, even if the other diff server is loaded
 to the gills.
 --
 Kirk Strauser




Does the overall order of lines change every time
you dump the tables? If not, is there any inexpensive
way to sort them (not alphabetically, but just that
the order stays the same)? If it does/can, then there's
a trivial solution (a few lines in perl, or a hundred
lines in C) that'll make the speed roughly similar
to that of I/O.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.11 release-p13. Just to be sure.

2005-11-04 Thread Andrew P.
On 11/5/05, Grigory O. Ptashko [EMAIL PROTECTED] wrote:
 Hello, list.

 I've just now cvsup'd my 4.11-RELEASE source tree with the tag
 RELENG_4_11.
 From 4.11 RELEASE it became 4.11 RELEASE-p13.

 Just to be sure - do I have to apply any other security patches that
 are announced in freebsd security advisories?
 I'm not considering third-party patches, only the official from the
 freebsd team.

 Thanks.

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


The latest SA (linked from the FreeBSD home
page, http://www.freebsd.org/)
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:21.openssl.asc
lists 4.11-p13 in Corrected. So, you can be sure.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ULE or 4BSD

2005-11-05 Thread Andrew P.
On 11/5/05, Albert Shih [EMAIL PROTECTED] wrote:
 Hi anybody

 All is in the subject...on FreeBSD 6.0 i've see the default generic kernel
 is compiled with SCHED_4BSD and SCHED_ULE is in comment.

 Can'I use SCHED_ULE on 6.0 ? Is he stable now ?

 Regards.
 --
 Albert SHIH
 Universite de Paris 7 (Denis DIDEROT)
 U.F.R. de Mathematiques.
 Heure local/Local time:
 Sat Nov 5 10:05:36 CET 2005
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Not yet, no, sorry. It's pretty stable now that 6.0 is
out, but you'll have to conduct extensive testing
(yourself) before you put it in production, where it
might give you a noticable performance boost.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   4   >