What's on each FreeBSD 5.3 (i386) disc?

2005-01-24 Thread David Tomic
I want to install FreeBSD for the i386 architecture...there are 4 ISOs:

5.3-RELEASE-i386-bootonly.iso
5.3-RELEASE-i386-disc1.iso
5.3-RELEASE-i386-disc2.iso
5.3-RELEASE-i386-miniinst.iso

a) If I just burn the disc1 ISO image to a CD is that enough for a standard 
install?  

b) what's on disc 2 - ports?

c) what is the 'bootonly' disc for?

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


fdisk/bsdlabel: cannot write to disk

2005-01-24 Thread Norbert Koch
Hello.

I am rather new to FBSD5.3.
I did a custom install leaving
some room on my (ata) hard disks. Later I
decided to create a separate /usr/obj
partition. I started /stand/sysinstall
and tried to create a new slice and
a new partition in it. Sysinstall reported
that it cannot write to the hard disk.
Next I only tried to create a new
partition inside an existing slice.
The same again. I tried the same manually
with fdisk/bsdlabel and the same happens.
I tried it in single user mode and even booted
FREESBIE. Always the same problem.

I must be doing something simple very wrong.
But what? What f*cking manual did I not read?
Is there some secret geom rdonly switch I
have to turn off? (BTW: securelevel is at -1)

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


Re: DNS problem

2005-01-24 Thread gabriel
They could be negative cached by your isp's dns servers. Personally I
run dnscache to avoid that issue, I don't trust my isp with
_ANYTHING_, but the connection.

Cheers!


On Tue, 25 Jan 2005 17:49:18 +1000, Warren
<[EMAIL PROTECTED]> wrote:
> Im having trouble getting some webpages due to my DNS of the website to my ISP
> dns of the site being different.  im pointing my name server to the dns
> server IP of my ISP .. so why is my IP dns lookups not resolving the right
> IP's ?
> --
> Yours Sincerely
> Shinjii
> http://www.shinji.nq.nu
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


-- 
gabriel,

Member of:
FreeBSD-Announce
FreeBSD-Hardware
FreeBSD-Multimedia
FreeBSD-questions
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DNS problem

2005-01-24 Thread Warren
Im having trouble getting some webpages due to my DNS of the website to my ISP 
dns of the site being different.  im pointing my name server to the dns 
server IP of my ISP .. so why is my IP dns lookups not resolving the right 
IP's ?
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dual booting w/ two disks

2005-01-24 Thread gabriel
I reinstalled windows on the second disk, ran fdisk -B -b /boot/boot0
device then ran grub-install device. After that I configured grub as
such:



color black/cyan yellow/cyan
default 0
fallback 1

# For booting FreeBSD 

title FreeBSD - Unix 
root (hd0,a) 
kernel /boot/loader

# For booting Windows NT or Windows95 

title Windows XP

map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive


And voila!

Cheers!!


On Mon, 24 Jan 2005 12:09:26 -0800, gabriel <[EMAIL PROTECTED]> wrote:
> Okay cool, I'll try those when I get home. I think the main issue with
> me is just finding the actual partition on the second disk to boot
> windows because I dont know which is it.
> 
> Thanks!
> 
> On Mon, 24 Jan 2005 21:01:39 +0100, FreeBsdBeni <[EMAIL PROTECTED]> wrote:
> > > On Mon, 24 Jan 2005 01:27:45 -0800, gabriel <[EMAIL PROTECTED]> wrote:
> > > > I'm trying to dual boot FreeBSD and Windows XP with two different
> > > > disks, I have manged to get FreeBSD running and installed the boot
> > > > manager and grub on it.
> > > >
> > > > When I boot into windows, I get some sort of boot loader error and it
> > > > halts.
> > > >
> > > > Here's my menu.lst:
> >
> > I have Grub booting just from 1 disk, not 2, but with 4 different 
> > partitions.
> > Here's my menu.lst as installed by Suse 9.2. I just moved the FreeBSD lines 
> > up
> > to the first place ;-). The lines to boot FreeBSD from the Linux Grub 
> > version
> > I found with a "info grub" under Suse. There is a chapter on booting other
> > OS'es. But it boots Windows XP, FreeBSD and Suse without any problem here.
> >
> > color white/blue black/light-gray
> > default 0
> > timeout 8
> > gfxmenu (hd0,2)/boot/message
> >
> > ###Added by Beni ###
> > title FreeBSD
> >root (hd0,a)
> >kernel /boot/loader
> >boot
> >
> > ###Don't change this comment - YaST2 identifier: Original name: linux###
> > title SUSE LINUX 9.2
> >kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x31a selinux=0
> > splash=verbose resume=/dev/hda6 desktop elevator=as showopts
> >initrd (hd0,2)/boot/initrd
> >
> > ###Don't change this comment - YaST2 identifier: Original name: windows###
> > title Windows XP
> >root (hd0,0)
> >chainloader +1
> >
> > ###Don't change this comment - YaST2 identifier: Original name: floppy###
> > title Diskette
> >root (fd0)
> >chainloader +1
> >
> > ###Don't change this comment - YaST2 identifier: Original name: failsafe###
> > title Failsafe -- SUSE LINUX 9.2
> >kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off
> > acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0  3
> >initrd (hd0,2)/boot/initrd
> >
> > --
> > FreeBsdBeni.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
> 
> 
> --
> gabriel,
> 
> Member of:
> FreeBSD-Announce
> FreeBSD-Hardware
> FreeBSD-Multimedia
> FreeBSD-questions
> 


-- 
gabriel,

Member of:
FreeBSD-Announce
FreeBSD-Hardware
FreeBSD-Multimedia
FreeBSD-questions
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Partition Size

2005-01-24 Thread Parv
in message <[EMAIL PROTECTED]>, wrote
Peterhin thusly...
>
> looking at page 70, in "The Complete FreeBSD" and I quote "Use the
> rest of the space on disk for a /home file system. as long as it's
> possible to back it up on a single tape. Otherwise make multiple
> file systems."

> My question is do I make multiple /home directories.? I have a
> SATA 80GB hard drive, so as Greg L. suggests  4GB to 6GB for the
> root file system.  1GB to 2GB for the Swap file. The rest of the
> disk for the /home file.
>
> That would leave me with a  /home  of approx. 72GB.

Assuming given space is >= 4 GB ...

I personally first set the sizes of swap (2*RAM if RAM <= 256 MB,
else about RAM + 256 MB), / (about 65% full), and /usr (about 50%
full).

I try to keep the sizes of / (100 - 135 MB) & /usr (500-600 MB) such
that there is room to expand w/ each, at least, minor release, w/o
wasting space.  Purpose of the two partitions is to contain base
system specific files only. X does not come in this yet.

Next comes the partition which will contain at least /home and non
system files (/usr/local, /usr/X11R6, /usr/ports, /usr/src).

If i can squeeze in ~2 GB partition, then
${MAKEOBJDIRPREFIX:-/usr/obj} & $WRKDIRPREFIX---see comments in
/usr/ports/Mk/bsd.port.mk---go there (where ports & system compilation
occur).

Now, the remaining amount of space decides if /var goes on a separate
partition.  Low space in /var will very likely make /tmp to be created
as a memory file system.  If the amount of the remaining is too low (i
decreed it to be <465 MB during my last installation) for /var,
everything will go either on the partition containing /home or the
compilation partition.


Currently in ~22 GB slice & FreeBSD 5.3 installed, i have ...

  ---  Abbreviated "df -hi" output  ---
  . SizeUsed . Capacity iused . %iused  Mounted on
  . 135M 53M .43%1405 .8%   /
  . 581M321M .60%   16810 .   22%   /usr
  . 465M 41M .10%1776 .3%   /var
  .  16G4.5G .30%  205600 .9%   /misc
  . 2.7G918M .36%   33311 .9%   /work


  ... where, /misc has ...

drwxr-xr-x   3 root  wheel   512 Dec 21 21:57 home/
drwxr-xr-x  21 root  wheel   512 Jan 14 00:10 local/
drwx--   2 root  wheel  2048 Jan 21 07:45 lost+found/
drwxr-xr-x  10 root  wheel   512 Dec 28 15:06 moo/
drwxr-xr-x   2 root  wheel   512 Dec 30 20:54 nfs/
lrwxr-xr-x   1 root  wheel 9 Dec 23 18:07 obj@ -> /work/obj
lrwxr-xr-x   1 root  wheel13 Jan  3 18:26 ports@ -> ports-current
drwxr-xr-x  52 root  wheel  1536 Jan 24 23:05 ports-current/
drwxr-xr-x   6 root  wheel   512 Jan  3 18:25 ports-mozilla-1.7.3/
drwxr-xr-x   7 root  wheel  1024 Jan  3 18:24 ports-netscape4/
lrwxr-xr-x   1 root  wheel 7 Dec 21 23:00 src@ -> src-5.3
drwxr-xr-x  21 root  wheel  1024 Jan 17 21:45 src-5.3/
drwxr-xr-x   6 root  wheel   512 Dec 31 08:54 sup/

(moo contains things like locally developed programs/scripts,
configurations, etc. which are installed by
something-other-than-myself.  sup contains data created by cvsup;
ports-{moz,netscape}* contain ports view at the time of
mozilla-1.7.3 & netscape4 ports respectively.)


  ... and /work has ...

drwx--  3 root  wheel  2048 Jan 21 07:44 lost+found/
drwxr-xr-x  3 root  wheel   512 Dec 22 19:07 obj/
drwxr-xr-x  3 root  wheel   512 Jan  4 20:56 ports/
drwxrwxrwt  3 root  wheel   512 Jan 24 22:45 tmp/


  ... finally in / & /usr (abbreviated to show only rearrangement of
  defaults) ...

lrwxr-xr-x  1 root  wheel   9 Dec 21 15:43 /home@ -> misc/home
lrwxr-xr-x  1 root  wheel   8 Dec 21 15:39 /tmp@ -> work/tmp
lrwxr-xr-x  1 root  wheel  11 Dec 21 15:40 /usr/local@ -> /misc/local
lrwxr-xr-x  1 root  wheel  13 Dec 21 15:40 /usr/X11R6@ -> /misc/local/X
lrwxr-xr-x  1 root  wheel  11 Dec 22 01:16 /usr/ports@ -> /misc/ports
lrwxr-xr-x  1 root  wheel   9 Dec 21 15:42 /usr/src@ -> /misc/src
lrwxr-xr-x  1 root  wheel   9 Dec 21 15:48 /usr/obj@ -> /work/obj


  ... and to keep ports system from misbehaving, /etc/make.conf has ...

LOCALBASE=/misc/local
X11BASE=/misc/local/X
PORTSDIR=/misc/ports
WRKDIRPREFIX=/work/ports


Mind that above is my own brand of fuzzy logic to partitioning a slice
for personal use; besides the / & /usr partitions sizes, everything is
subject to major changes.


After doing quite a number of installations, i am still not satisfied
w/ the layout.  I thought i was quite done w/ 4.x, but 5.x changed
that being bigger in size, especially /.  And the partitioning
menu/screen, reached via sysinstall->Configure, sometimes does not
allow some of the values (causes "Partition too big" error message)
causing some partitions to be bigger/smaller than desired.

Oh well.


  - Parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: which bittorrent client

2005-01-24 Thread Joshua Tinnin
On Monday 24 January 2005 10:07 pm, Jason Henson <[EMAIL PROTECTED]> 
wrote:
> On 01/24/05 20:10:35, Brian John wrote:
> > Hello,
> > I would like some advice on which Bittorrent client to use.  I
> > really like Azureus, but I always get OutOfMemoryException's and it
> > takes up like 300 MB of memory sometimes.  Is there a more
> > lightweight client that has the main features of Azureus
> > (priorities, auto-resuming)? What does everyone on this list use?
> >
> > Thanks!
>
>  py24-BitTorrent-devel-3.9.0_4,1  Is what I have.  seems to work fine
> for me.

I highly recommend ctorrent, a client written entirely in C. It's very 
fast, small and efficient. It's quite basic - you have to run a 
separate process for each torrent - but you can call it from something 
else to further customize it. It doesn't do priorities as such (not 
exactly - you can set max, min peers, rate, etc., for each torrent) or 
auto-resume, but this could be set fairly easily by writing it into a 
script. The best thing is that it just works, and as efficiently as 
possible.

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


Re: PostgreSQL TCP sockets access?

2005-01-24 Thread Tim Hawkins
On Wednesday 26 Jan 2005 04:16, SigmaX wrote:
> Hey;
> I have a fairly fresh installation of FreeBSD 5.3 running PostGreSQL.  I
> enabled TCP socket connection in the
> /usr/local/pgsql/data/postgresql.conf file ("tcpip_socket = true"), and
> allowed all hosts in pg_hba.conf ("host all all 0.0.0.0 0.0.0.0
> trust")... but I still get a "connection refused" error when trying to
> access the server.
>Any help?
>SigmaX

Do you have the firewall installed, and if so have you opened up ports for 
your connections. 

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


Re: port update problem - newbie

2005-01-24 Thread Kent Stewart
On Monday 24 January 2005 09:52 pm, saravanan ganapathy wrote:
> --- Kent Stewart <[EMAIL PROTECTED]> wrote:
> > On Monday 24 January 2005 05:11 am, saravanan
> >
> > ganapathy wrote:
> > > --- Tabor Kelly
> > >
> > > <[EMAIL PROTECTED]>
> >
> > wrote:
> > > > saravanan ganapathy wrote:
> > > >
> > > > 
> > > >
> > > > > --- Erik Norgaard <[EMAIL PROTECTED]>
> >
> > wrote:
> > > > > Since I am very new to freebsd, I am not sure
> >
> > abt
> >
> > > > the
> > > >
> > > > > ports collections which I don't want.
> > > >
> > > > Since you are new, I will give you some (ports)
> > > > advice:
> > > >
> > > > 1. Always update all of your ports so that you
> >
> > can
> >
> > > > use portupgrade.
> > > > 2. Use portupgrade.
> > > > 3. Read /usr/ports/UPDATING if you want things
> >
> > to go
> >
> > > > smoothly.
> > > > 4. If you forget step 3, and step 3 happens to
> >
> > have
> >
> > > > some bad news in it
> > > > (usually pertaining to gettext), 'portupgrade
> >
> > -rRf
> >
> > > > [some port]' can work
> > > > wonders.
> > > > 5. Don't forget to do a 'portsdb -uU' after
> > > > cvsup'ing your ports.
> > > >
> > > > My quick start to portupgrade:
>
> http://tabor.taborandtashell.net/serversetup/ports.html
>
> > > > Where I learned about portupgrade:
>
> http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
>
> > > The above link was very useful to me and I 've
> >
> > learnt
> >
> > > the portupgrade procedure.
> > >
> > > I am also looking for package management. I know
> >
> > that
> >
> > > a package can be installed using 'pkg_add -r
> > > sendmail'. But how to keep update these packages
> >
> > like
> >
> > > ports?
> > >
> > > I need to choose either ports or packages.
> >
> > Why? Either is an appropriate method of updating.
> > Maintaining the ports
> > using something like portupgrade is frequently
> > faster because you can
> > update the port as soon as it is changed. With a
> > package, you have to
> > wait until the package has been built and moved to
> > the mirrors. If a
> > package is available, you save a lot of cpu usage on
> > slow machines. In
> > order to use current versions, both require
> > maintaining an uptodate
> > port structure. You just have to determine which
> > method is an optimum
> > for your usage.
>
> I have some doubts in port upgrade
>
> 1) I think that if I upgrade a port, first the current
> package will be removed and then new package will be
> installed.Let us assume that I am running a web server
> and apache needs to be upgraded. In this case, if the
> current apache is removed and the new apache 'll be
> installed, then what abt my existing configuration?
> What abt the down time?

Well, you have to kill apache to stop the httpd processes. The problem 
with apache is that the install creates its own /usr/local/www/data 
link. If you use apache, you can create something like 
ln -sf /.../data data. 
Then, you can upgrade apache. The install is very fast and I immediately 
unlink the link that the apache install created and link to my data 
directory. I have all of my web data on /usr2/data. The link 
to /usr2/data is gone for less than 30 seconds.

Then, you need to stopapache and startapache. There has to be many 
choices on the order of doing things. You aren't running the updated 
apache until you do the down/up toggle. Your downtime will only be a 
couple of minutes and apache goes down gracefully. Toggling apache is 
less than 30 seconds on my slow system. I think my web server is down 
for less than 2 minutes from the time the upgrade destroys my data link 
until everything is back in order and is using the new version of 
apache. Network congestion can cause problems longer than that :).

>
> 2) What is the best method to upgrade ports without
> any downtime for my live servers?

There isn't any to my way of thinking. You have to stop the process and 
restart it. Some processes you can "kill -HUP" but ports are mostly 
different. You can reduce the down time to a small number but there 
will be a period when that process won't be available. 

One of the problem with live databases is that management thinks they 
need to be up 24x7. You need to be able to do maintenance and you may 
have to schedule downtime. For security reasons, you may not want to 
wait for a component failure to do the upgrades :). 

FWIW, everyone I have known that was involved with system work did their 
upgrades on weekends or between 2 am and 6 am. Hollidays are also handy 
times for upgrading.

>
> 3) Even after upgraded my all ports, 'portaudit' says
> still problem with 'perl'.So what should I do?

I don't have any suggestion. Perl 5.8.5 just showed up on the list. I 
already have cups-base, mozilla, and linux-tiff. I don't have any 
daemon processes that use perl. Is it something you really have to 
worry about at this moment.

Kent
>
> Please suggest me
>

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

Re: which bittorrent client

2005-01-24 Thread Jason Henson
On 01/24/05 20:10:35, Brian John wrote:
Hello,
I would like some advice on which Bittorrent client to use.  I really  
like Azureus, but I always get OutOfMemoryException's and it takes up  
like 300 MB of memory sometimes.  Is there a more lightweight client  
that has the main features of Azureus (priorities, auto-resuming)?   
What does everyone on this list use?

Thanks!
py24-BitTorrent-devel-3.9.0_4,1  Is what I have.  seems to work fine  
for me.

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


Re: perl and ports

2005-01-24 Thread Kris Kennaway
On Tue, Jan 25, 2005 at 03:30:05PM +1000, Warren wrote:
> On Tue, 25 Jan 2005 03:28 pm, Gert Cuykens wrote:
> > does cvsup need perl ?
> 
> Yes

Only to compile it from ports, not to run the resulting package.

Kris

pgpuTO1yuKsMX.pgp
Description: PGP signature


Re: port update problem - newbie

2005-01-24 Thread saravanan ganapathy

--- Kent Stewart <[EMAIL PROTECTED]> wrote:

> On Monday 24 January 2005 05:11 am, saravanan
> ganapathy wrote:
> > --- Tabor Kelly
> >
> > <[EMAIL PROTECTED]>
> wrote:
> > > saravanan ganapathy wrote:
> > >
> > > 
> > >
> > > > --- Erik Norgaard <[EMAIL PROTECTED]>
> wrote:
> > > > Since I am very new to freebsd, I am not sure
> abt
> > >
> > > the
> > >
> > > > ports collections which I don't want.
> > >
> > > Since you are new, I will give you some (ports)
> > > advice:
> > >
> > > 1. Always update all of your ports so that you
> can
> > > use portupgrade.
> > > 2. Use portupgrade.
> > > 3. Read /usr/ports/UPDATING if you want things
> to go
> > > smoothly.
> > > 4. If you forget step 3, and step 3 happens to
> have
> > > some bad news in it
> > > (usually pertaining to gettext), 'portupgrade
> -rRf
> > > [some port]' can work
> > > wonders.
> > > 5. Don't forget to do a 'portsdb -uU' after
> > > cvsup'ing your ports.
> > >
> > > My quick start to portupgrade:
> >
> >
>
http://tabor.taborandtashell.net/serversetup/ports.html
> >
> > > Where I learned about portupgrade:
> >
> >
>
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
> >
> >
> > The above link was very useful to me and I 've
> learnt
> > the portupgrade procedure.
> >
> > I am also looking for package management. I know
> that
> > a package can be installed using 'pkg_add -r
> > sendmail'. But how to keep update these packages
> like
> > ports?
> >
> > I need to choose either ports or packages.
> 
> Why? Either is an appropriate method of updating.
> Maintaining the ports 
> using something like portupgrade is frequently
> faster because you can 
> update the port as soon as it is changed. With a
> package, you have to 
> wait until the package has been built and moved to
> the mirrors. If a 
> package is available, you save a lot of cpu usage on
> slow machines. In 
> order to use current versions, both require
> maintaining an uptodate 
> port structure. You just have to determine which
> method is an optimum 
> for your usage.

I have some doubts in port upgrade

1) I think that if I upgrade a port, first the current
package will be removed and then new package will be
installed.Let us assume that I am running a web server
and apache needs to be upgraded. In this case, if the
current apache is removed and the new apache 'll be
installed, then what abt my existing configuration?
What abt the down time?

2) What is the best method to upgrade ports without
any downtime for my live servers?

3) Even after upgraded my all ports, 'portaudit' says
still problem with 'perl'.So what should I do? 

Please suggest me 

Sarav



__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

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


Re: perl and ports

2005-01-24 Thread Kris Kennaway
On Mon, Jan 24, 2005 at 11:15:12PM -0600, Donald J. O'Neill wrote:

> > > And if you want to install packages using the ports tree.
> >
> > Eh?
> >
> > > depend on installing packages only, ok. Of course, you have to wait
> > > for them to be built.
> > >
> > > I just ran pkg_info -R perl-5.8.5, too many to count by hand.
> >
> > Well, yeah, but that's because you installed perl 5.8.5 or something
> > that depends on it.  If you use 4.x most such ports will be happy
> > with the base system version of perl, and if you don't use 4.x then
> > ports that don't require perl won't install it.
> >
> 
> Yes, and that's my point Kris. Of the 537 ports that are installed on my 
> system, 318 of them require (have a dependency) perl-5.8.5 to run. What 
> about others that require it to build. So, if Gert, who is running 
> FSBD5.3 on an amd64 system and has been building ports and using 
> portupgrade, removes perl-5.8.5 (does a forced removal) because he 
> can't see that it's used all over the place and thinks of it as a 
> security issue because of earlier perl versions. He's going to have a 
> big problem on his hands the first time he tries to use portupgrade and 
> finds a lot of decencies missing in his package database, and running 
> pkgdb -F is going to fix them.

The original question was whether perl is a required dependency to use
the ports collection at all (no it isn't), not whether it is commonly
used by applications in the ports collection.

Thus, unless he is using a port that requires perl (the dependency
will be registered, of course), it can be removed.

Kris


pgpAutL5k0STa.pgp
Description: PGP signature


RE: FreeBSD 5.3 on Compaq ProLiant 1500

2005-01-24 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> jeremy pedersen
> Sent: Monday, January 24, 2005 6:22 PM
> To: freebsd-questions@freebsd.org
> Subject: FreeBSD 5.3 on Compaq ProLiant 1500
>
>
> I have an old Compaq ProLiant 1500 that I would like to install FreeBSD
> on, but the installation process freezes while attempting to load the
> installation. The following is the line(s) on which FreeBSD hangs:
>
> device_attach: ida0 attach returned 12
> eisab0:  at device 15.0 on pci0
>
> *note, this is using the selection: 1. Boot FreeBSD (default)
>
> all the information I have on the server's hardware is as follows:
>
> 1) 2 pentium processors at 166Mhz
>
> 2) 5 ultra wide SCSI drives in raid 5 configuration. One drive is a
> logical drive.
>
> 3) one CD drive, it is not IDE, but I am not quite sure what else it
> could be.
>
> This is all the information I have to work with. Any help would be
> appreciated very much.
>

Hi Jeremy,

  The Compaq Smart Array driver (ida) has had a problem with EISA
adapters
ever since it was introduced into FreeBSD.  I've written the developer
and
offered to ship him a system, he requested I set up a system and let him
remotely access it.  Unfortunately I never got the time to do so.  If you
have a spare ide drive, set it up and put a skeleton FreeBSD system on
the
ide drive, put it on the Internet so it can be reached, then contact the
ida driver
and I'm sure he will get it running for you.

  It would be nice to get this running.  In the meantime I use mine to
run
Solaris 2.5.1 x86.

Ted

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


Re: strange log files ..

2005-01-24 Thread faisal gillani
yes i do use the host allow function .. 
& no i dont use dhcp anywhere on my network .. 

i like static ip assingment , 

thanks for the reply sir


--- "Daniel S. Haischt"
<[EMAIL PROTECTED]> wrote:

> those logs are containing traces from the smbd and
> nmbd
> process.
> 
> Do you ahve a line this in your smb.conf?
> 
>   hosts allow = 192.168.0., 192.168.120.
> 
> Additionally you should should change the directory
> which holds your samba log files:
> 
>   log file = /var/log/samba/log.%m
> 
> because you do have a samba directory in /var/log.
> 
> --
> 
> Do all of you three systems receive their IP etc.
> via
> DHCP? Do you run a DHCP daemon or some kinda router
> with a builtin DHCP server?
> 
> faisal gillani schrieb:
> > yes exactly .. i am only allowing 2-3 systems on
> my
> > network to access samba others are all denied
> acess ..
> > so these are some kind of security log files ?\
> > is there a way to disable them ? i mean stop
> making
> > these files ..
> > 
> > 
> > 
> > --- "Daniel S. Haischt"
> > <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>log.10.0.0.x files are samba log. Each smb clients
> >>that connects to your samba instance gets its own
> >>log file.
> >>
> >>Are you running DHCP?
> >>Are you restricting access to your sambe server?
> >>For example are you denying access from the
> internet
> >>to samba?
> >>
> >>faisal gillani schrieb:
> >>
> >>>there are so many my private ip name log files
> >>
> >>present
> >>
> >>>on my system ...
> >>>
> >>>my network ip scheme is 10.0.0.
> >>>why is that ?
> >>>
> >>>
> >>>
> >>>log.0.0.0.0 log.10.0.0.225 
> >>>log.smbd.old
> >>>log.10.0.0.1log.10.0.0.23  
> >>>lpd-errs
> >>>log.10.0.0.108  log.10.0.0.23.old  
> >>>maillog
> >>>log.10.0.0.109  log.10.0.0.234 
> >>>maillog.0.bz2
> >>>log.10.0.0.11   log.10.0.0.236 
> >>>maillog.1.bz2
> >>>log.10.0.0.110  log.10.0.0.237 
> >>>maillog.2.bz2
> >>>log.10.0.0.111  log.10.0.0.240 
> >>>maillog.3.bz2
> >>>log.10.0.0.118  log.10.0.0.240.old 
> >>>maillog.4.bz2
> >>>log.10.0.0.125  log.10.0.0.242 
> >>>maillog.5.bz2
> >>>log.10.0.0.127  log.10.0.0.248 
> >>>messages
> >>>log.10.0.0.134  log.10.0.0.249 
> >>>messages.0.bz2
> >>>log.10.0.0.138  log.10.0.0.25  
> >>>messages.1.bz2
> >>>log.10.0.0.146  log.10.0.0.254 
> >>>messages.2.bz2
> >>>log.10.0.0.150  log.10.0.0.26  
> >>>mount.today
> >>>log.10.0.0.153  log.10.0.0.28  
> >>>ppp.log
> >>>log.10.0.0.157  log.10.0.0.3   
> >>
> >>samba
> >>
> >>>log.10.0.0.157.old  log.10.0.0.30  
> >>>scrollkeeper.log
> >>>log.10.0.0.16   log.10.0.0.31  
> >>>security
> >>>log.10.0.0.162  log.10.0.0.43  
> >>>sendmail.st
> >>>log.10.0.0.168  log.10.0.0.46  
> >>>sendmail.st.0
> >>>log.10.0.0.181  log.10.0.0.47  
> >>>sendmail.st.1
> >>>log.10.0.0.181.old  log.10.0.0.5   
> >>>setuid.today
> >>>log.10.0.0.183  log.10.0.0.51  
> >>>slip.log
> >>>log.10.0.0.186  log.10.0.0.52  
> >>>userlog
> >>>log.10.0.0.187  log.10.0.0.53  
> >>
> >>wtmp
> >>
> >>>log.10.0.0.189  log.10.0.0.56  
> >>>xferlog
> >>>log.10.0.0.19   log.10.0.0.67
> >>>
> >>>=
> >>>*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤.,
> ¸¸,.¤º*¨¨*¤
> >>>
>
>>>__
> >>>Do You Yahoo!?
> >>>Tired of spam?  Yahoo! Mail has the best spam
> >>
> >>protection around 
> >>
> >>>http://mail.yahoo.com 
> >>>___
> >>>freebsd-questions@freebsd.org mailing list
> >>>
> >>
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > 
> >>>To unsubscribe, send any mail to
> >>
> >>"[EMAIL PROTECTED]"
> >>
> >>-- 
> >>Mit freundlichen Gruessen / With kind regards
> >>DAn.I.El S. Haischt
> >>
> >>Want a complete signature??? Type at a shell
> prompt:
> >>$ > finger -l [EMAIL PROTECTED]
> >>
> > 
> > 
> > 
> > =
> > *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
> > 
> > 
> > 
> > __ 
> > Do you Yahoo!? 
> > All your favorites on one personal page – Try My
> Yahoo!
> > http://my.yahoo.com 
> > ___
> > freebsd-questions@freebsd.org mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> -- 
> Mit freundlichen Gruessen / With kind regards
> DAn.I.El S. Haischt
> 
> Want a complete signature??? Type at a shell prompt:
> $ > finger -l [EMAIL PROTECTED]
> 


=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤



__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://

Re: perl and ports

2005-01-24 Thread Warren
On Tue, 25 Jan 2005 03:28 pm, Gert Cuykens wrote:
> does cvsup need perl ?

Yes
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and ports

2005-01-24 Thread Gert Cuykens
does cvsup need perl ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Too many open files" (Critical, have only one session left)

2005-01-24 Thread Justin England
> >> I have got it before and took appropriate steps using the ideas
> >> and tips from you guys. Now I have it again:
> >>
> >> Current situation on my head-less system is that I do have a
> >> single SSH session up. Unfortunately it's not authenticated as
> >> ROOT but as an ordinary user.
> >>
> >> When I try a "ls" I get :
> >>
> >> $ ls
> >> ls: .: Too many open files in system
> >>
> >> Trying a su gives:
> >> $ su
> >> /usr/libexec/ld-elf.so.1: Cannot open "/usr/lib/libutil.so.3"
> >>
I would like to add that depending on what the server is doing can determine 
the best way to attack your problem.  I have had web servers go crazy at 
some point (my server has been /.'d (slashdot.com) once or twice) and 
pulling the network cable will allow my apache processes to time out and 
start dying off.  After a few minutes, I can su and do a reboot (or 
whatever.) It doesn't quite "fix" the initial problem, but does allow me to 
enough CPU / resources to start the shutdown process.

Just my $.02 from experience.
Justin 

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


Re: perl and ports

2005-01-24 Thread Donald J. O'Neill
On Monday 24 January 2005 10:23 pm, Gert Cuykens wrote:
> On Mon, 24 Jan 2005 20:20:10 -0800, Kris Kennaway 
<[EMAIL PROTECTED]> wrote:
> > On Tue, Jan 25, 2005 at 05:12:12AM +0100, Gert Cuykens wrote:
> > > So if i want to completly wipe out perl where in my freebsd 5.3
> > > ports tree do i do "make deinstall" ?
> >
> > Use pkg_info and pkg_delete to remove the installed packages.  See
> > the manpages.
> >
> > Kris
>
> ok thx :)

Gert,

If I were you, I wouldn't do that. If you already have, then we'll be 
hearing from you shortly.

Don

-- 
Donald J. O'Neill
[EMAIL PROTECTED]

I'm not totally useless,
I can be used as a bad example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


jre amd 64

2005-01-24 Thread Gert Cuykens
is there a current jre that works with a amd 64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and ports

2005-01-24 Thread Donald J. O'Neill
On Monday 24 January 2005 09:25 pm, Kris Kennaway wrote:
> On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote:
> > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote:
> > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > > > Do we still need perl to make use of ports
> > > >
> > > > Just asking because it bugs me. I never use it and it just
> > > > takes up space and it is a security risc :P I want it gone :)
> > >
> > > Only if you want to do certain things like 'make index', but not
> > > for general use (this has been the case for years).
> > >
> > > Kris
> >
> > And if you want to install packages using the ports tree.
>
> Eh?
>
> > depend on installing packages only, ok. Of course, you have to wait
> > for them to be built.
> >
> > I just ran pkg_info -R perl-5.8.5, too many to count by hand.
>
> Well, yeah, but that's because you installed perl 5.8.5 or something
> that depends on it.  If you use 4.x most such ports will be happy
> with the base system version of perl, and if you don't use 4.x then
> ports that don't require perl won't install it.
>

Yes, and that's my point Kris. Of the 537 ports that are installed on my 
system, 318 of them require (have a dependency) perl-5.8.5 to run. What 
about others that require it to build. So, if Gert, who is running 
FSBD5.3 on an amd64 system and has been building ports and using 
portupgrade, removes perl-5.8.5 (does a forced removal) because he 
can't see that it's used all over the place and thinks of it as a 
security issue because of earlier perl versions. He's going to have a 
big problem on his hands the first time he tries to use portupgrade and 
finds a lot of decencies missing in his package database, and running 
pkgdb -F is going to fix them.

I seem to also remember, at one time, having to do 'pkg_add -r cvsup' 
and perl-5.8.5 was installed with it.

> Kris

It seems to me that the perl-5.8.5 is installed when FreeBSD 5.3 
installed. 

From ports/UPDATING
20040204:
  AFFECTS: 5.2-CURRENT20040204:
  AFFECTS: 5.2-CURRENT users who started with a 5.2-RELEASE or older.
  AUTHOR: [EMAIL PROTECTED]

  Change the default version of perl to 5.8. users who started with a 
5.2-RELEASE or older.
  AUTHOR: [EMAIL PROTECTED]

  Change the default version of perl to 5.8.

20040730:
  AFFECTS: users of lang/perl5.8
  AUTHOR: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]

  lang/perl5.8 has been updated to 5.8.5. you should update everything
  depending on perl, that is:
* first, upgrade your perl5.8 installation.
* run "use.perl port", so that the system knows you have 5.8.5.
* now, run some magic incantations to upgrade all ports depending on 
perl,
  that is run something like :
  portupgrade -f `(pkg_info -R perl-5.8.5 |tail +4; \
find /usr/local/lib/perl5/site_perl/5.8.[124] -type f -print0 \
| xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort 
-u`
  This is likely to fail for a few ports, you'll have to upgrade 
them
  afterwards.
  Please note, that this last step is, strictly speaking, not 
necessary,
  if you are upgrading from 5.8.4.  But it is cleaner to do so 
anyway.


It seems to me, removing perl, is not a good idea.

-- 
Donald J. O'Neill
[EMAIL PROTECTED]

I'm not totally useless,
I can be used as a bad example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xf86config for Toshiba satellite pro laptop

2005-01-24 Thread Oliver Fuchs
On Tue, 25 Jan 2005, Oliver Fuchs wrote:

> On Mon, 24 Jan 2005, Riaan de Klerk wrote:
> 
> > hi there i am stuck i have a older auwa laptop and cant find the s3 savage
> > 86c270 video driver for it.
> > could you be as kind as to assist me in finding it.
> > 
> > Kind regards.
> 
> Using FreeBSD 5.3 (?) depending on what you want to use try:
> 
> Xorg -configure
> Xorg -config xorg.conf.new
> cp xorg.conf.new /etc/X11/xorg.conf
> 
> or
> 
> XFree86 -configure
> XFree86 -xf86config XF86Config.new
> cp XF86Config.new /etc/X11/XF86Config
> 
> The s3 savage video driver is supported.

The main part in the config file should look like this:

Section "Device"

### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"   # []
#Option "HWCursor"  # []
#Option "SWCursor"  # []
#Option "ShadowFB"  # []
#Option "Rotate"# []
#Option "UseBIOS"   # []
#Option "LCDClock"  # 
#Option "ShadowStatus"  # []
#Option "CrtOnly"   # []
#Option "TvOn"  # []
#Option "PAL"   # []
#Option "ForceInit" # []
Identifier  "Card0"
Driver  "savage"
VendorName  "S3 Inc."
BoardName   "86C270-294 Savage/IX-MV"
BusID   "PCI:1:0:0"
EndSection

Oliver

-- 
... don't touch the bang bang fruit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xf86config for Toshiba satellite pro laptop

2005-01-24 Thread Oliver Fuchs
On Mon, 24 Jan 2005, Riaan de Klerk wrote:

> hi there i am stuck i have a older auwa laptop and cant find the s3 savage
> 86c270 video driver for it.
> could you be as kind as to assist me in finding it.
> 
> Kind regards.

Using FreeBSD 5.3 (?) depending on what you want to use try:

Xorg -configure
Xorg -config xorg.conf.new
cp xorg.conf.new /etc/X11/xorg.conf

or

XFree86 -configure
XFree86 -xf86config XF86Config.new
cp XF86Config.new /etc/X11/XF86Config

The s3 savage video driver is supported.

Oliver
-- 
... don't touch the bang bang fruit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help Please ... Question on cvsupit

2005-01-24 Thread W. D.
At 22:14 1/24/2005, Andrew Batson wrote:
>Hello,
>
>   I have been trying for the last few days to figure out how to update
>the ports collection via the cvsup process. I have two different books on
>FreeBSD version 5.x and both say to use this "cvsupit" program but I cannot
>find it any where. I have FreeBSD release 5.3 install and created a user
>account that I can "su" in. I would like to be able to update the ports
>collections and FreeBSD source so that I can custom compile various ports
>and FreeBSD. Does any one have any idea where the "cvsupit" program is. I
>have tired installing "cvsup-16.1h" and "cvsup-without-gui" via both
>pkg_add, sysinstall, and the ports make/install process but I still cannot
>find this "cvsupit" program.
>
>   Any ideas on what I am doing wrong? I am still learning FreeBSD so I
>probably missing something simple some where?
>
>Thanks for your help,
>Andrew

I've got a cheat sheet here that might help you:
http://www.US-Webmasters.com/FreeBSD/Install/#CVSup_Commands


Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names -> http://domains.us-webmasters.com/

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


Re: let me just throw this out there..

2005-01-24 Thread SigmaX
Oliver Leitner wrote:
sounds like either powersurgery or you hit the wrong button to me...
also, are you the only one with root or power access to it?
maybe some coworker stepped over the cable, or some other one thought he 
could work with a bsd, and just did the shutdown -r now...

in case you might wanna check all the logs, also the ones including 
informations on who connected to that box.

Also, its only a thought, but how much space is left on that system, do a
df -h and have a closer look...
Greetings
Oliver Leitner
Technical Staff
http://www.shells.at
On Monday 24 January 2005 22:02, gabriel wrote:
 

Has it ever happened to anyone here where your computer (in this case,
my gateway running ipfw+natd) just restarts out of nowhere. It isnt
even a crash, it just restarted. Then when the computer came back up
nothing was running, dhcpd, natd, cupsd everything was just not
running. Weird.
   

Used to happent o me all the time w/ Windows 2000.  That's the reason I 
switched to FreeBSD ;-) (e pluribus unim).
Cheerio,
   SigmaX

--
Registered Linux Freak #: 366,862
"My ISP won't talk to me after lodging a support call for helping gettting ADSL 
hooked up to a WinXP install running under VMWare under Linux on my XBox."
'Anonymous Coward,' in a post on slashdot.org
"For the eyes of the Lord range throughout the earth to strengthen those whose 
hearts are fully commited to him."
2 Chronicles 16:9a
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fragmentation

2005-01-24 Thread John
On Mon, Jan 24, 2005 at 06:03:04PM -0800, Mervin McDougall wrote:
> hi
>   I wanted to know whether it is unusal or is a
> problem if when my system starts it indicates that
> there is some fragmentation of the files but the file
> system is clean and thus it is skipping the fsck. Is
> this a bad thing? Is this unusual?

Ah hah!  I think this is simply a misunderstanding of what is meant
by fragmentation - because we use it in many different ways.

One way we use the term "fragment" is a "subatomic" unit of storage.
To try to keep the internal bookkeeping reasonable, FFS and many
other filesystems don't allocate storage in units of sectors - they
use a larger aggregating factor.  The larger the factor, the lower
the storage and computational overhead in maintaining the filesystem.
The problem with this approach is that it can be wasteful.  If you
have 8k or 16k allocation units, then even small files would have
to use that amount of storage - if you have hundreds or thousands
of small files, you can end up wasting a lot of space.  The same
thing happens with larger files.  If you have a file of 128k plus
one byte, that last byte would end up all by itself in an allocation
unit  You can consider these allocation units the atomic storage
size.  Some filesystems, such as the filesystem used by BSD (UFS1
or UFS2), also support "subatomic" parts for these left-overs and
small files.  We happen to call those units "fragments."  When the
system boots and reports the number of fragments - that is what it
is talking about.  It is nothing to be concerned about: there's
nothing wrong, and running fsck wouldn't "fix" it.  According to
the manual page for newfs, the default block size (allocation unit
or atomic storage unit) is 16k and the default fragment size is 2k.

Another way we use the term fragmentation is when data which are
logically contiguous end up being discontiguous on the disk.  When
you have a lot of file creation, modification, and deletion going
on, this happens.  Let's say that you have a file which consists
of 3 allocation units.  When you start with a fresh filesystem,
that file would be created on three consecutive allocation units
on the disk.  Other files are then created, which may use the
allocation units immediately following the three given to the first
file.  If the first file now grows, the next block, which will be
logically sequential, will be physically separated on the disk.
As some of the in-between files are modified or deleted, there may
even be free blocks between the first three allocation units and
the new one.  This is also called fragmentation, and is another
thing that may not be "wrong" with your filesystem (though it can
impact very high-performance applications due to increased seek
activity on the disk, and breaking up sequential read or prefetch
sequences on intelligent storage subsystems), and nothing that fsck
would fix, either.  Now, on top of that, the UFS family of filesystems
were built to intentionally do a certain type of "fragmentation"
to deal with slower disk drive electronics and controllers.  This
is sometimes called interleave and causes the system to intentionally
skip over blocks between what are logically contiguous blocks to
allow the CPU and drive electronics some "breathing room" before
having to be ready (or have asked for) the next block.  Imagine a
spinning disk.  The data are passing beneath the head: block 1,
block 2, block 3, etc.  Some program in your system reads a block
from a file, and lets say it is block 2.  The disk and controller
electronics watch the sectors going by, sort of like watching for
your baggage at the airport - when the right one comes along, they
read it.  Before your program can ask for the next block, the disk
has already rotated so that are are in the midst of that block
somewhere.  The controller has to wait for the disk to come all
the way around again before it can be read.  By allocating the next
logical block of data from the file to be in block 4 instead of
block 3, we may be able to avoid having to wait for that disk to
spin all the way around again.

A lot of work has gone into designing the UFS filesystems to avoid
unwanted fragmentation, and to support extent-based growth for
large files.  That's probably the reason that there is no standard
"defrag" utility like there is for most Windows filesystems.

You may be thinking of "fragmented" as in broken, or fractured.
That is not what is meant here.  It doesn't mean that anything is
wrong with your filesystem, just some statistics on how much those
"sub atomic" allocation units are being used.  Your filesystem is
clean, is using some fragments, and may or may not be fragmented
(data scattered in logically discontigous ways).
-- 

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


Re: Help Please ... Question on cvsupit

2005-01-24 Thread Kris Kennaway
On Mon, Jan 24, 2005 at 11:14:47PM -0500, Andrew Batson wrote:
> Hello,
> 
>   I have been trying for the last few days to figure out how to update
> the ports collection via the cvsup process. I have two different books on
> FreeBSD version 5.x and both say to use this "cvsupit" program but I cannot
> find it any where. I have FreeBSD release 5.3 install and created a user
> account that I can "su" in. I would like to be able to update the ports
> collections and FreeBSD source so that I can custom compile various ports
> and FreeBSD. Does any one have any idea where the "cvsupit" program is. I
> have tired installing "cvsup-16.1h" and "cvsup-without-gui" via both
> pkg_add, sysinstall, and the ports make/install process but I still cannot
> find this "cvsupit" program.

It was removed from the ports collection some time ago because it was
broken for a long period of time and no-one in the community
volunteered to fix it.

You should read the cvsup documentation on the FreeBSD website, which
is up-to-date and comprehensive.

Kris



pgpEIkuiQkgjt.pgp
Description: PGP signature


Re: Help Please ... Question on cvsupit

2005-01-24 Thread Michael C. Shultz
On Monday 24 January 2005 08:14 pm, Andrew Batson wrote:
> Hello,
>
>   I have been trying for the last few days to figure out how to update
> the ports collection via the cvsup process. I have two different
> books on FreeBSD version 5.x and both say to use this "cvsupit"
> program but I cannot find it any where. I have FreeBSD release 5.3
> install and created a user account that I can "su" in. I would like
> to be able to update the ports collections and FreeBSD source so that
> I can custom compile various ports and FreeBSD. Does any one have any
> idea where the "cvsupit" program is. I have tired installing
> "cvsup-16.1h" and "cvsup-without-gui" via both pkg_add, sysinstall,
> and the ports make/install process but I still cannot find this
> "cvsupit" program.
>
>   Any ideas on what I am doing wrong? I am still learning FreeBSD so I
> probably missing something simple some where?
>
> Thanks for your help,
> Andrew

Read:

 man cvsup

after you are done you will be able to ask better questions about cvsup.

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


Re: Help Please ... Question on cvsupit

2005-01-24 Thread pete wright
On Mon, 24 Jan 2005 23:14:47 -0500, Andrew Batson <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I have been trying for the last few days to figure out how to update
> the ports collection via the cvsup process. I have two different books on
> FreeBSD version 5.x and both say to use this "cvsupit" program but I cannot
> find it any where. I have FreeBSD release 5.3 install and created a user
> account that I can "su" in. I would like to be able to update the ports
> collections and FreeBSD source so that I can custom compile various ports
> and FreeBSD. Does any one have any idea where the "cvsupit" program is. I
> have tired installing "cvsup-16.1h" and "cvsup-without-gui" via both
> pkg_add, sysinstall, and the ports make/install process but I still cannot
> find this "cvsupit" program.
> 
> Any ideas on what I am doing wrong? I am still learning FreeBSD so I
> probably missing something simple some where?
> 

I have not heard of cvsupit, but I do know that cvsup does what you
are looking for.  This is the best place to get info on that, and
there are good walk through's as well:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

generally speaking, after reading the link above, copy one of the
files located in:

/usr/share/examples/cvsup/

to /etc or /usr/local/etc or some-such-place, edit it as needed and run:

$ cvsup /etc/standard-supfile

for example.

HTH

-pete

-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: PostgreSQL TCP sockets access?

2005-01-24 Thread Ted Mittelstaedt
Who did the port?  Perhaps you could e-mail him or her?

Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of SigmaX
> Sent: Tuesday, January 25, 2005 8:17 PM
> To: freebsd-questions@freebsd.org
> Subject: PostgreSQL TCP sockets access?
>
>
> Hey;
> I have a fairly fresh installation of FreeBSD 5.3 running
> PostGreSQL.  I
> enabled TCP socket connection in the
> /usr/local/pgsql/data/postgresql.conf file ("tcpip_socket =
> true"), and
> allowed all hosts in pg_hba.conf ("host all all 0.0.0.0 0.0.0.0
> trust")... but I still get a "connection refused" error when trying to
> access the server.
>Any help?
>SigmaX
>
> --
> Registered Linux Freak #: 366,862
>
> "My ISP won't talk to me after lodging a support call for
> helping gettting ADSL hooked up to a WinXP install running
> under VMWare under Linux on my XBox."
>   'Anonymous Coward,' in a post on slashdot.org
>
> "For the eyes of the Lord range throughout the earth to
> strengthen those whose hearts are fully commited to him."
>   2 Chronicles 16:9a
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

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


Re: perl and ports

2005-01-24 Thread Gert Cuykens
On Mon, 24 Jan 2005 20:20:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 25, 2005 at 05:12:12AM +0100, Gert Cuykens wrote:
> 
> > So if i want to completly wipe out perl where in my freebsd 5.3 ports
> > tree do i do "make deinstall" ?
> 
> Use pkg_info and pkg_delete to remove the installed packages.  See the
> manpages.
> 
> Kris
> 

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


PostgreSQL TCP sockets access?

2005-01-24 Thread SigmaX
Hey;
I have a fairly fresh installation of FreeBSD 5.3 running PostGreSQL.  I 
enabled TCP socket connection in the 
/usr/local/pgsql/data/postgresql.conf file ("tcpip_socket = true"), and 
allowed all hosts in pg_hba.conf ("host all all 0.0.0.0 0.0.0.0 
trust")... but I still get a "connection refused" error when trying to 
access the server.
  Any help?
  SigmaX

--
Registered Linux Freak #: 366,862
"My ISP won't talk to me after lodging a support call for helping gettting ADSL 
hooked up to a WinXP install running under VMWare under Linux on my XBox."
'Anonymous Coward,' in a post on slashdot.org
"For the eyes of the Lord range throughout the earth to strengthen those whose 
hearts are fully commited to him."
2 Chronicles 16:9a
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and ports

2005-01-24 Thread Kris Kennaway
On Tue, Jan 25, 2005 at 05:12:12AM +0100, Gert Cuykens wrote:

> So if i want to completly wipe out perl where in my freebsd 5.3 ports
> tree do i do "make deinstall" ?

Use pkg_info and pkg_delete to remove the installed packages.  See the
manpages.

Kris



pgpzrqfa4Va8E.pgp
Description: PGP signature


Re: Partition Size

2005-01-24 Thread John
On Tue, Jan 25, 2005 at 01:43:35AM +0100, Oliver Leitner wrote:
> i dont see the /usr in your calculations...

That is actually consistent with his source.  Greg Lehey's recommendation
is to not separate root and /usr.

> aside of that...
> 
> it really depends on what youre going to do with the system, or which data 
> its going to be holding...
> 
> this is absolutely subjective, cant tell you as long as i dont get any 
> further data on the probably size of your data, and where theyll be stored...

Exactly.  For people who are running a database, or a web server,
or developing code, some or all of this projects may warrant their
own file systems.

There may be other things you want to do, too.  I actually like to
put /usr/src and /usr/obj in filesystems different from /usr, but
that's just me.  In fact, I like to keep /usr static to the greatest
degress possible.  So, if it was my system, I'd set it up with
those additional filesystems.

In your specific case, maybe you want a separate /pictures filesystem,
or a filesystem that you would mount as /home/your-login/pictures
or something like that.

Or - maybe you don't even want to use it all.  Leave it "uncarved"
for future filesystems as yet unthoughtof.
-- 

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


Help Please ... Question on cvsupit

2005-01-24 Thread Andrew Batson
Hello,

I have been trying for the last few days to figure out how to update
the ports collection via the cvsup process. I have two different books on
FreeBSD version 5.x and both say to use this "cvsupit" program but I cannot
find it any where. I have FreeBSD release 5.3 install and created a user
account that I can "su" in. I would like to be able to update the ports
collections and FreeBSD source so that I can custom compile various ports
and FreeBSD. Does any one have any idea where the "cvsupit" program is. I
have tired installing "cvsup-16.1h" and "cvsup-without-gui" via both
pkg_add, sysinstall, and the ports make/install process but I still cannot
find this "cvsupit" program.

Any ideas on what I am doing wrong? I am still learning FreeBSD so I
probably missing something simple some where?

Thanks for your help,
Andrew

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


Re: perl and ports

2005-01-24 Thread Gert Cuykens
On Mon, 24 Jan 2005 19:53:20 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 25, 2005 at 04:47:41AM +0100, Gert Cuykens wrote:
> > On Mon, 24 Jan 2005 19:25:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > > On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote:
> > > > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote:
> > > > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > > > > > Do we still need perl to make use of ports
> > > > > >
> > > > > > Just asking because it bugs me. I never use it and it just takes up
> > > > > > space and it is a security risc :P I want it gone :)
> > > > >
> > > > > Only if you want to do certain things like 'make index', but not for
> > > > > general use (this has been the case for years).
> > > > >
> > > > > Kris
> > > >
> > > > And if you want to install packages using the ports tree.
> > >
> > > Eh?
> > >
> > > > depend on installing packages only, ok. Of course, you have to wait for
> > > > them to be built.
> > > >
> > > > I just ran pkg_info -R perl-5.8.5, too many to count by hand.
> > >
> > > Well, yeah, but that's because you installed perl 5.8.5 or something
> > > that depends on it.  If you use 4.x most such ports will be happy with
> > > the base system version of perl, and if you don't use 4.x then ports
> > > that don't require perl won't install it.
> > >
> > > Kris
> > >
> >
> > me getting confused :)
> >
> > Are there 2 perl thingies ? a base and a other one ? I would like to
> > have no perl at all and be abel to do make install in the ports tree ?
> 
> Only in FreeBSD 4.x and older.
> 
> Kris
> 

So if i want to completly wipe out perl where in my freebsd 5.3 ports
tree do i do "make deinstall" ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var is lack of space!!

2005-01-24 Thread Olivier Nicole
> > >  Thanks all of you,with your instruction,i found that it's
> > >  /var/spool/clientmqueue use almost all of my disk space!!And i
> > >  delete this directory,every thing is ok!
> > >  
> > >  But which program produce those rubish?and how can i stop that
> > >  program?
> > 
> > That would be "sendmail".
> 
> Hmm.  That directory contains only files which represent e-mail
> messages in flight.

You could check the files that name start with a 'q' somewhere toward
rge top of the file it will tell you why that specific email is on
hold. [the file which corresponding name starts with a 'd' is the body
of the message].

Then use your judgement to decide what message you could delete (both
'd' and 'q' files).

You can also try /usr/sbin/sendmail -q to expunge the queue.

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


Re: php and apache

2005-01-24 Thread Gert Cuykens
On Tue, 25 Jan 2005 04:20:56 +0100, Mario Hoerich <[EMAIL PROTECTED]> wrote:
> # Gert Cuykens:
> > can somebody explain what the difference is between forks and
> > threads
> 
> Nutshell version: fork(2) produces a new process, which may consist
> of multiple threads.
> 
> fork(2)ing used to be slightly more expensive, as it creates a new
> process with an accompanying process control block (PCB) and
> allocates its own memory pages. Threads just use their processes'
> data segment and thus share pages. Which basically means one thread
> can trash another's data, whereas related processes can not.
> 
> OTOH the time slices handed out by the process scheduler
> ("Hey! PID 384! Your turn for the next 20ms!") are further subdivided
> by the thread scheduler. Since both thread scheduler and context
> switches between threads produce some overhead (storing local data,
> instruction pointer and such) threads used to reduce the real CPU
> time a process could actually use for its algorithms.
> 
> I said "used to", because this is basically the theory introductory
> textbooks on OS design will tell you.[1] There's plenty of ways to
> adapt costs, i.e. by making the process scheduler hand out larger
> slices to multithreaded processes or employing copy-on-write, which
> means that the parent processes' pages are just mapped into the child
> process, until the child actually writes to them. Traditionally,
> Unices had pretty cheap processes but rather expensive threads.
> (Windows, for example, had it the other way around).
> 
> I didn't delve into this for quite a while, so sadly, I can't give
> you any details on the current state of things.
> 
> HTH,
> Mario
> 
> [1]:
> Be warned, this is from the top of my head and it's 4am in the
> morning with my bed waiting for me. I just hope I've been at
> least *somewhat* coherent... ;)
> 

thx ps can you tell me who is winning at the moment ? The fork or the spoon ?

bsd 6 is still a fork right ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var is lack of space!!

2005-01-24 Thread John
On Mon, Jan 24, 2005 at 08:44:13PM -0500, Robert Huff wrote:
> 
> he ccj writes:
> 
> >  Thanks all of you,with your instruction,i found that it's
> >  /var/spool/clientmqueue use almost all of my disk space!!And i
> >  delete this directory,every thing is ok!
> >  
> >  But which program produce those rubish?and how can i stop that
> >  program?
> 
>   That would be "sendmail".

Hmm.  That directory contains only files which represent e-mail
messages in flight.

This may not be good.

>From the information that I have, it is difficult to be precisely
certain, but I have seen this behavior when there are e-mail messages
that are too large to be delivered.

So you have really big files that are taking up a bunch of room
in /var - and so there is no room in /var/mail to deliver them.
Sendmail keeps trying, but there's no place for them to go.

So - the question is - were the undelivered messages you deleted
valuable, or were they junk mails?
-- 

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


Re: perl and ports

2005-01-24 Thread Kris Kennaway
On Tue, Jan 25, 2005 at 04:47:41AM +0100, Gert Cuykens wrote:
> On Mon, 24 Jan 2005 19:25:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote:
> > > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote:
> > > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > > > > Do we still need perl to make use of ports
> > > > >
> > > > > Just asking because it bugs me. I never use it and it just takes up
> > > > > space and it is a security risc :P I want it gone :)
> > > >
> > > > Only if you want to do certain things like 'make index', but not for
> > > > general use (this has been the case for years).
> > > >
> > > > Kris
> > >
> > > And if you want to install packages using the ports tree.
> > 
> > Eh?
> > 
> > > depend on installing packages only, ok. Of course, you have to wait for
> > > them to be built.
> > >
> > > I just ran pkg_info -R perl-5.8.5, too many to count by hand.
> > 
> > Well, yeah, but that's because you installed perl 5.8.5 or something
> > that depends on it.  If you use 4.x most such ports will be happy with
> > the base system version of perl, and if you don't use 4.x then ports
> > that don't require perl won't install it.
> > 
> > Kris
> > 
> 
> me getting confused :)
> 
> Are there 2 perl thingies ? a base and a other one ? I would like to
> have no perl at all and be abel to do make install in the ports tree ?

Only in FreeBSD 4.x and older.

Kris


pgpmxYsp5TD7i.pgp
Description: PGP signature


Re: perl and ports

2005-01-24 Thread Gert Cuykens
On Mon, 24 Jan 2005 19:25:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote:
> > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote:
> > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > > > Do we still need perl to make use of ports
> > > >
> > > > Just asking because it bugs me. I never use it and it just takes up
> > > > space and it is a security risc :P I want it gone :)
> > >
> > > Only if you want to do certain things like 'make index', but not for
> > > general use (this has been the case for years).
> > >
> > > Kris
> >
> > And if you want to install packages using the ports tree.
> 
> Eh?
> 
> > depend on installing packages only, ok. Of course, you have to wait for
> > them to be built.
> >
> > I just ran pkg_info -R perl-5.8.5, too many to count by hand.
> 
> Well, yeah, but that's because you installed perl 5.8.5 or something
> that depends on it.  If you use 4.x most such ports will be happy with
> the base system version of perl, and if you don't use 4.x then ports
> that don't require perl won't install it.
> 
> Kris
> 

me getting confused :)

Are there 2 perl thingies ? a base and a other one ? I would like to
have no perl at all and be abel to do make install in the ports tree ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and ports

2005-01-24 Thread Kris Kennaway
On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote:
> On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote:
> > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > > Do we still need perl to make use of ports
> > >
> > > Just asking because it bugs me. I never use it and it just takes up
> > > space and it is a security risc :P I want it gone :)
> >
> > Only if you want to do certain things like 'make index', but not for
> > general use (this has been the case for years).
> >
> > Kris
> 
> And if you want to install packages using the ports tree.

Eh?

> depend on installing packages only, ok. Of course, you have to wait for 
> them to be built.
> 
> I just ran pkg_info -R perl-5.8.5, too many to count by hand.

Well, yeah, but that's because you installed perl 5.8.5 or something
that depends on it.  If you use 4.x most such ports will be happy with
the base system version of perl, and if you don't use 4.x then ports
that don't require perl won't install it.

Kris


pgpBfjmFVqPeG.pgp
Description: PGP signature


Re: php and apache

2005-01-24 Thread Mario Hoerich
# Gert Cuykens:
> can somebody explain what the difference is between forks and
> threads

Nutshell version: fork(2) produces a new process, which may consist
of multiple threads.

fork(2)ing used to be slightly more expensive, as it creates a new
process with an accompanying process control block (PCB) and
allocates its own memory pages. Threads just use their processes'
data segment and thus share pages. Which basically means one thread
can trash another's data, whereas related processes can not.

OTOH the time slices handed out by the process scheduler 
("Hey! PID 384! Your turn for the next 20ms!") are further subdivided
by the thread scheduler. Since both thread scheduler and context
switches between threads produce some overhead (storing local data,
instruction pointer and such) threads used to reduce the real CPU 
time a process could actually use for its algorithms.

I said "used to", because this is basically the theory introductory
textbooks on OS design will tell you.[1] There's plenty of ways to
adapt costs, i.e. by making the process scheduler hand out larger
slices to multithreaded processes or employing copy-on-write, which
means that the parent processes' pages are just mapped into the child 
process, until the child actually writes to them. Traditionally,
Unices had pretty cheap processes but rather expensive threads.
(Windows, for example, had it the other way around).

I didn't delve into this for quite a while, so sadly, I can't give
you any details on the current state of things. 

HTH,
Mario

[1]:
Be warned, this is from the top of my head and it's 4am in the
morning with my bed waiting for me. I just hope I've been at
least *somewhat* coherent... ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and ports

2005-01-24 Thread Donald J. O'Neill
On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote:
> On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > Do we still need perl to make use of ports
> >
> > Just asking because it bugs me. I never use it and it just takes up
> > space and it is a security risc :P I want it gone :)
>
> Only if you want to do certain things like 'make index', but not for
> general use (this has been the case for years).
>
> Kris

And if you want to install packages using the ports tree. If you want to 
depend on installing packages only, ok. Of course, you have to wait for 
them to be built.

I just ran pkg_info -R perl-5.8.5, too many to count by hand.

Don
-- 
Donald J. O'Neill
[EMAIL PROTECTED]

I'm not totally useless,
I can be used as a bad example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Too many open files" (Critical, have only one session left)

2005-01-24 Thread Jonathan Franks
On Thu, 20 Jan 2005 15:59:22 -0800
"Michael C. Shultz" <[EMAIL PROTECTED]> wrote:

> On Thursday 20 January 2005 03:38 pm, Joachim Dagerot wrote:
> > >> I have got it before and took appropriate steps using the ideas
> > >> and tips from you guys. Now I have it again:
> > >>
> > >> Current situation on my head-less system is that I do have a
> > >> single SSH session up. Unfortunately it's not authenticated as
> > >> ROOT but as an ordinary user.
> > >>
> > >> When I try a "ls" I get :
> > >>
> > >> $ ls
> > >> ls: .: Too many open files in system
> > >>
> > >> Trying a su gives:
> > >> $ su
> > >> /usr/libexec/ld-elf.so.1: Cannot open "/usr/lib/libutil.so.3"
> > >>
> > >>
> > >> I have a fairly huge RAID-5 system thatdislikes a power shutdown
> > >> so I rather want to reboot the machine manually. I certainly need
> > >> som help here and also more help on how to avoid this problem in
> > >> the future.
> > >
> > >I don't remember a previous message from you, but here is a link you
> > >may find helpful:
> > >
> > >http://www.onlamp.com/pub/a/bsd/2002/09/26/Big_Scary_Daemons.html?pa
> > >ge=1
> >
> > Good tip, unforunately I can't even run fstab:
> > $ su
> > /usr/libexec/ld-elf.so.1: Cannot open "/usr/lib/libutil.so.3"
> 
> You mean you can't run fstat right?
> >
> > I seam to be stucked. Is there a way to do a su for a specific
> > program. I can't run 'su' but when I try shutdwon:
> >
> > $ shutdown -r now
> > -bash: /sbin/shutdown: Permission denied
> >
> > Looks like it's possible to run shutdown if I only hade the right
> > permission...
> >
> Can you run ps -aux and maybe kill some processes? I know it's unlikely
> but its the only thing I can think of, hopefully someone who knows more
> will offer better suggestions.
> 
> -Mike
>  
This may not be as helpful as it seems to me, but what about sudo? Assuming 
it's installed and you're an sudoer, of course, but if so something like:

$ sudo shutdown -r now

might work...


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


Re: missing /dev/bktr etc on FreeBSD-5.3-STABLE

2005-01-24 Thread Danny Pansters
On Tuesday 25 January 2005 02:34, [EMAIL PROTECTED] wrote:
> Hi,
>
> I'm trying to make my TV-card work on my box, using FBSD-5.3-STABLE.
>
> For this I put the following lines in my Kernel config. file:
> 
> devicebktr
> deviceiicbus
> deviceiicbb
> devicesmbus
>
> compiled the new kernel, installed it and rebooted. But dmesg shows nothing
> corresponding to these lines nor are the devices present in /dev/
>
> Can anybody give me an idea how to get to problem solved ??
>
> Responses are very apreciated.

I have this in my /etc/devfs.conf:

permcd0 0660
permcd1 0660
permda0s1   0660
permda1s1   0660
permxpt00660
permxpt10660
permpass0   0660
permpass1   0660
permpass2   0660
permpass3   0660
permlpt00660
permbktr0   0660
permtuner0  0660
permcuaa0   0660

Everyting up to lpt is for using atacam functionality (e.g. CD burning). 
Bktr and tuner are for the capture card (I have an old Miro Bt848).

And the /boot/loader.conf has:
sound_load="YES"
snd_emu10k1_load="YES"
nvidia_load="YES"
bktr_load="YES"
linux_load="YES"

So here I load the bktr module upon booting. I don't use any special kernel 
config for bktr (I have other options for other hardware).

As far as detecting your card, try pciconf -l or -lv. Also dmesg can show you 
what it has detected and done so far. My card because it's so old needs some 
PnP probing but even that works. Kldstat shows which modules are loaded.

HTH

Dan

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


Re: fragmentation

2005-01-24 Thread Erik Trulsson
On Mon, Jan 24, 2005 at 06:03:04PM -0800, Mervin McDougall wrote:
> hi
>   I wanted to know whether it is unusal or is a
> problem if when my system starts it indicates that
> there is some fragmentation of the files but the file
> system is clean and thus it is skipping the fsck. Is
> this a bad thing? Is this unusual?

I guess you mean it prints something like the following:

/dev/ad4s1a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad4s1a: clean, 118393 free (633 frags, 14720 blocks, 0.4% fragmentation)


That is perfectly normal, and nothing to worry about.



-- 

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


FreeBSD 5.3 on Compaq ProLiant 1500

2005-01-24 Thread jeremy pedersen
I have an old Compaq ProLiant 1500 that I would like to install FreeBSD
on, but the installation process freezes while attempting to load the
installation. The following is the line(s) on which FreeBSD hangs:
device_attach: ida0 attach returned 12
eisab0:  at device 15.0 on pci0
*note, this is using the selection: 1. Boot FreeBSD (default)
all the information I have on the server's hardware is as follows:
1) 2 pentium processors at 166Mhz
2) 5 ultra wide SCSI drives in raid 5 configuration. One drive is a
logical drive.
3) one CD drive, it is not IDE, but I am not quite sure what else it
could be.
This is all the information I have to work with. Any help would be
appreciated very much.
Thanks,
Jeremy
--
nerdmaster <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Partition Size

2005-01-24 Thread pete wright
> 
> That would leave me with a  /home  of approx. 72GB. I would appreciate
> any thoughts as to how I should  do this. The computer will be used as
> a stand alone workstation, with internet and email access for now. I do
> have a large number of JPEG files in my existing /home directory.
> (Linux)
> 

generally speaking you would probably be safe having one large /home
partition, altho seeing as how you are planning on using this as a
workstation for personal learning/dev. work I would make a backup of
your important data frequently.  My general scheme for splitting up
disks with freebsd is like so:

1Gb -> /
2GB -> swap
512M -> /tmp
512M -> /var
else -> /usr

my $HOME directory is located at /usr/home.  This is fine for me %90
of the time for my personal work...if this were a box dedicated for
production use I'd obviously spend a fair amount of time planning for
the future and partition my disks accordingly.  the idea of having a
large /usr/ partition is that this is generally where the alot of the
systems source code lives as well as the ports tree...this can take up
alot of room as time goes on if you are not carefull.

HTH
-p

-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fragmentation

2005-01-24 Thread Chuck Swiger
Mervin McDougall wrote:
  I wanted to know whether it is unusal or is a
problem if when my system starts it indicates that
there is some fragmentation of the files but the file
system is clean and thus it is skipping the fsck. Is
this a bad thing? Is this unusual?
No.  It's normal.
[ Well, excessive fragmentation is a bad thing, but the BSD FFS defragments 
itself unless the drive is 90+% full, normally you don't need to worry. ]

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


Re: Partition Size

2005-01-24 Thread Danny
On Mon, 24 Jan 2005 21:03:17 -0500, Peterhin <[EMAIL PROTECTED]> wrote:
> I am going by what G. Lehey is suggesting in his book "The Complete
> FreeBSD" on pg. 70 he does not recommend a /usr, or a /var file system.
[...]

What does he recommend then?

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


Re: Partition Size

2005-01-24 Thread Oliver Leitner
On Tuesday 25 January 2005 03:03, Peterhin wrote:
> I am going by what G. Lehey is suggesting in his book "The Complete
> FreeBSD" on pg. 70 he does not recommend a /usr, or a /var file system.
>
> > i dont see the /usr in your calculations...
> >
> > asside of that...
> >
> > it really depends on what youre going to do with the system, or which
> > data its going to be holding...
>
> I am mostly going to use it for my personal files, internet, email and
> learning UNIX.

Well, "personal files" what files?, how many of them?, got a burner, if so 
you burn your things away from hd or keep them on the hd?

internet: ftp?,http?,anything else?, what kinda connection are you on?, if 
youre online, how many hours a day you spend on the pc?

email: receiving?, sending?, single or multiuser?, multiple accounts?, are 
you transferring also files like .bmp and .mdb and so on via email?

for learning unix: youre going to learn how servers work?, youre going to 
learn howto use multiple ide's?, multiple gui's?, no gui at all?, you want 
all docu local on your system, or are you going to use internet resources as 
well?
>
> > this is absolutely subjective, cant tell you as long as i dont get
> > any further data on the probably size of your data, and where theyll
> > be stored...
> >
> >
> > Greetings
> > Oliver Leitner
> > Technical Staff
> > http://www.shells.at
> >
> > On Tuesday 25 January 2005 01:43, Peterhin wrote:
> > > I asked the question the other day,  whether to do a standard
> > > install or a custom install. This was brought about because I read
> > > several sources, including  G. Lehey's "The Complete FreeBSD"
> > >
> > > I will be doing a Custom install. My question however, is looking
> > > at page 70, in "The Complete FreeBSD" and I quote "Use the rest of
> > > the space on disk for a /home file system. as long as it's possible
> > > to back it up on a single tape. Otherwise make multiple file
> > > systems."
> > >
> > > My question is do I make multiple /home directories.? I have a SATA
> > > 80GB hard drive, so as Greg L. suggests  4GB to 6GB for the root
> > > file system.
> > > 1GB to 2GB for the Swap file. The rest of the disk for the /home
> > > file.
> > >
> > > That would leave me with a  /home  of approx. 72GB. I would
> > > appreciate any thoughts as to how I should  do this. The computer
> > > will be used as a stand alone workstation, with internet and email
> > > access for now. I do have a large number of JPEG files in my
> > > existing /home directory. (Linux)

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Partition Size

2005-01-24 Thread Peterhin
I am going by what G. Lehey is suggesting in his book "The Complete 
FreeBSD" on pg. 70 he does not recommend a /usr, or a /var file system.

> i dont see the /usr in your calculations...
>
> asside of that...
>
> it really depends on what youre going to do with the system, or which
> data its going to be holding...
>
I am mostly going to use it for my personal files, internet, email and 
learning UNIX. 

> this is absolutely subjective, cant tell you as long as i dont get
> any further data on the probably size of your data, and where theyll
> be stored...
>
>
> Greetings
> Oliver Leitner
> Technical Staff
> http://www.shells.at
>
> On Tuesday 25 January 2005 01:43, Peterhin wrote:
> > I asked the question the other day,  whether to do a standard
> > install or a custom install. This was brought about because I read
> > several sources, including  G. Lehey's "The Complete FreeBSD"
> >
> > I will be doing a Custom install. My question however, is looking
> > at page 70, in "The Complete FreeBSD" and I quote "Use the rest of
> > the space on disk for a /home file system. as long as it's possible
> > to back it up on a single tape. Otherwise make multiple file
> > systems."
> >
> > My question is do I make multiple /home directories.? I have a SATA
> > 80GB hard drive, so as Greg L. suggests  4GB to 6GB for the root
> > file system.
> > 1GB to 2GB for the Swap file. The rest of the disk for the /home
> > file.
> >
> > That would leave me with a  /home  of approx. 72GB. I would
> > appreciate any thoughts as to how I should  do this. The computer
> > will be used as a stand alone workstation, with internet and email
> > access for now. I do have a large number of JPEG files in my
> > existing /home directory. (Linux)

-- 
Peter

"Peace is never more than one thought away"


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


fragmentation

2005-01-24 Thread Mervin McDougall
hi
  I wanted to know whether it is unusal or is a
problem if when my system starts it indicates that
there is some fragmentation of the files but the file
system is clean and thus it is skipping the fsck. Is
this a bad thing? Is this unusual?

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


Re: /var is lack of space!!

2005-01-24 Thread Robert Huff

he ccj writes:

>  Thanks all of you,with your instruction,i found that it's
>  /var/spool/clientmqueue use almost all of my disk space!!And i
>  delete this directory,every thing is ok!
>  
>  But which program produce those rubish?and how can i stop that
>  program?

That would be "sendmail".


Robert Huff



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


Re: /var is lack of space!!

2005-01-24 Thread he ccj
Thanks all of you,with your instruction,i found that it's
/var/spool/clientmqueue use almost all of my disk space!!And i delete
this directory,every thing is ok!

But which program produce those rubish?and how can i stop that program?


On Mon, 24 Jan 2005 10:12:50 -0600, John <[EMAIL PROTECTED]> wrote:
> On Mon, Jan 24, 2005 at 10:50:38AM -0500, Robert Huff wrote:
> >
> > John writes:
> >
> > >  This is a good way to find out "where" the storage is being used:
> > >  cd /var ; du -s * | sort -nr | more
> > >  That will give you a list, sorted from most storage to least, of
> > >  each directory (or file) at the /var level.  You can then choose
> > >  to descend into one of those, and run the command again, to drill
> > >  deeper.
> >
> >   Technical notes:
> >   1) given you're already at /var, the "*" is superfluous.
> 
> No, it's not your technical notes are WRONG, you've not understood
> my point.  With the "-s" option and not the *, you'd only get the
> total usage for the filesystem, and he already knows that from the
> "df".
> 
> >   2) if you omit the -s, you get the "drilling down" for free:
> 
> You've entirely missed my point.  Read on...
> 
> > 47100   ./db
> > 40126   ./db/pkg
> > 13160   ./log
> > 10738   ./log/samba
> 
> I find this hard to read, you've done a great job of illustrating my point.
> When looking at this, you need to remember that the ./db 47100 contains
> the ./db/pkg 40126 - you can't add up that column of numbers to see what
> part of the total filesystem is in use.
> 
> I'm not saying my way is the only way, but at least I'm not telling
> you your way is wrong without understanding it.  I find my method
> useful, so I shared it - if he doesn't want to use it, he doesn't have to.
> --
> 
> John Lind
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


missing /dev/bktr etc on FreeBSD-5.3-STABLE

2005-01-24 Thread carlo . matteotti
Hi, 

I'm trying to make my TV-card work on my box, using FBSD-5.3-STABLE.

For this I put the following lines in my Kernel config. file:

device  bktr
device  iicbus
device  iicbb
device  smbus

compiled the new kernel, installed it and rebooted. But dmesg shows nothing
corresponding to these lines nor are the devices present in /dev/

Can anybody give me an idea how to get to problem solved ??

Responses are very apreciated.

Regards, 

Carlo.

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


php and apache

2005-01-24 Thread Gert Cuykens
can somebody explain what the difference is between forks and threads
? I know what a spoon is, something that ly's in the kitchen :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and ports

2005-01-24 Thread Gert Cuykens
On Mon, 24 Jan 2005 17:22:57 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 25, 2005 at 02:02:13AM +0100, Gert Cuykens wrote:
> > On Mon, 24 Jan 2005 16:54:50 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > > > Do we still need perl to make use of ports
> > > >
> > > > Just asking because it bugs me. I never use it and it just takes up
> > > > space and it is a security risc :P I want it gone :)
> > >
> > > Only if you want to do certain things like 'make index', but not for
> > > general use (this has been the case for years).
> >
> > So i can go in the port directory of perl and do make deinstall and
> > freebsd still works right, no kernel panic or something :)
> 
> Yes.
> 
> Kris
> 

lol i dont believe it, sounds way to easy  :P

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


Re: perl and ports

2005-01-24 Thread Kris Kennaway
On Tue, Jan 25, 2005 at 02:02:13AM +0100, Gert Cuykens wrote:
> On Mon, 24 Jan 2005 16:54:50 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > > Do we still need perl to make use of ports
> > >
> > > Just asking because it bugs me. I never use it and it just takes up
> > > space and it is a security risc :P I want it gone :)
> > 
> > Only if you want to do certain things like 'make index', but not for
> > general use (this has been the case for years).
> 
> So i can go in the port directory of perl and do make deinstall and
> freebsd still works right, no kernel panic or something :)

Yes.

Kris

pgpbTYPdswi4Y.pgp
Description: PGP signature


which bittorrent client

2005-01-24 Thread Brian John
Hello,
I would like some advice on which Bittorrent client to use.  I really 
like Azureus, but I always get OutOfMemoryException's and it takes up 
like 300 MB of memory sometimes.  Is there a more lightweight client 
that has the main features of Azureus (priorities, auto-resuming)?  What 
does everyone on this list use?

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


Re: Username and password limits

2005-01-24 Thread Giorgos Keramidas
On 2005-01-25 01:53, Anthony Atkielski <[EMAIL PROTECTED]> wrote:
> Chuck Swiger writes:
> CS> If you are using traditional DES encryption, 8 and 8. If you use the
> CS> fancy new MD5 hash, "_PASSWORD_LEN (currently 128 characters)".
>
> So which is the default?

The one set in /etc/login.conf:

% gothmog:/home/giorgos$ grep passwd /etc/login.conf
% :passwd_format=md5:\
% #   :passwd_format=des:\
% gothmog:/home/giorgos$

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


Re: perl and ports

2005-01-24 Thread Gert Cuykens
On Mon, 24 Jan 2005 16:54:50 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> > Do we still need perl to make use of ports
> >
> > Just asking because it bugs me. I never use it and it just takes up
> > space and it is a security risc :P I want it gone :)
> 
> Only if you want to do certain things like 'make index', but not for
> general use (this has been the case for years).

So i can go in the port directory of perl and do make deinstall and
freebsd still works right, no kernel panic or something :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and ports

2005-01-24 Thread Kris Kennaway
On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote:
> Do we still need perl to make use of ports
> 
> Just asking because it bugs me. I never use it and it just takes up
> space and it is a security risc :P I want it gone :)

Only if you want to do certain things like 'make index', but not for
general use (this has been the case for years).

Kris


pgpMjAYwqCThz.pgp
Description: PGP signature


Re: Username and password limits

2005-01-24 Thread Anthony Atkielski
Chuck Swiger writes:

CS> If you are using traditional DES encryption, 8 and 8. If you use the
CS> fancy new MD5 hash, "_PASSWORD_LEN (currently 128 characters)".

So which is the default?

-- 
Anthony


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


Re: Partition Size

2005-01-24 Thread Oliver Leitner
i dont see the /usr in your calculations...

asside of that...

it really depends on what youre going to do with the system, or which data 
its going to be holding...

this is absolutely subjective, cant tell you as long as i dont get any 
further data on the probably size of your data, and where theyll be stored...


Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Tuesday 25 January 2005 01:43, Peterhin wrote:
> I asked the question the other day,  whether to do a standard install or
> a custom install. This was brought about because I read several
> sources, including  G. Lehey's "The Complete FreeBSD"
>
> I will be doing a Custom install. My question however, is looking at
> page 70, in "The Complete FreeBSD" and I quote "Use the rest of the
> space on disk for a /home file system. as long as it's possible to back
> it up on a single tape. Otherwise make multiple file systems."
>
> My question is do I make multiple /home directories.? I have a SATA 80GB
> hard drive, so as Greg L. suggests  4GB to 6GB for the root file
> system.
> 1GB to 2GB for the Swap file. The rest of the disk for the /home file.
>
> That would leave me with a  /home  of approx. 72GB. I would appreciate
> any thoughts as to how I should  do this. The computer will be used as
> a stand alone workstation, with internet and email access for now. I do
> have a large number of JPEG files in my existing /home directory.
> (Linux)

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and ports

2005-01-24 Thread Oliver Leitner
make and make install clean should do a good thing too, if the sourcecode 
itself isnt perl, nor any part of it, you should get the results wanted with 
these commands.

please correct me, if im not right, but the Makefile is not pl, right?

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Tuesday 25 January 2005 01:42, Gert Cuykens wrote:
> Do we still need perl to make use of ports
>
> Just asking because it bugs me. I never use it and it just takes up
> space and it is a security risc :P I want it gone :)
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Partition Size

2005-01-24 Thread Peterhin
I asked the question the other day,  whether to do a standard install or 
a custom install. This was brought about because I read several 
sources, including  G. Lehey's "The Complete FreeBSD"

I will be doing a Custom install. My question however, is looking at 
page 70, in "The Complete FreeBSD" and I quote "Use the rest of the 
space on disk for a /home file system. as long as it's possible to back 
it up on a single tape. Otherwise make multiple file systems."

My question is do I make multiple /home directories.? I have a SATA 80GB 
hard drive, so as Greg L. suggests  4GB to 6GB for the root file 
system.
1GB to 2GB for the Swap file. The rest of the disk for the /home file. 

That would leave me with a  /home  of approx. 72GB. I would appreciate 
any thoughts as to how I should  do this. The computer will be used as 
a stand alone workstation, with internet and email access for now. I do 
have a large number of JPEG files in my existing /home directory. 
(Linux)



-- 
Peter

"Peace is never more than one thought away"


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


perl and ports

2005-01-24 Thread Gert Cuykens
Do we still need perl to make use of ports

Just asking because it bugs me. I never use it and it just takes up
space and it is a security risc :P I want it gone :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Username and password limits

2005-01-24 Thread Tillman Hodgson
On Mon, Jan 24, 2005 at 04:00:55PM -0800, Sean Murphy wrote:
> Sorry eight for password as well.
> Does any know the limits for FreeBSD?

man 1 passwd says

The new password should be at least six characters long (which may be
overridden using the login.conf(5) ``minpasswordlen'' setting for a
user's login class) and not purely alphabetic.  Its total length must be
less than _PASSWORD_LEN (currently 128 characters).

-T


-- 
Truth is a chameleon.
- Zensunni Aphorism
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Username and password limits

2005-01-24 Thread Chuck Swiger
Sean Murphy wrote:
We would like to use first initial last name for usernames on FreeBSD.   
I am use to Solaris which is normally eight and if you have a long 
password on Solaris it doesn't care what you type after 6 characters.
Solaris pays attention to 8 characters.
By default what is the max username and password limit in characters?
If you are using traditional DES encryption, 8 and 8.  If you use the fancy 
new MD5 hash, "_PASSWORD_LEN (currently 128 characters)".

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


Re: Username and password limits

2005-01-24 Thread Oliver Leitner
Well, theyre prolly in the sourcecode for the login routine, were talking 
bout opensource, you know...

sorry, i dont know them, and i havent looked em up on my own, but im sure 
they are there.

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Tuesday 25 January 2005 01:00, Sean Murphy wrote:
> Anthony Atkielski wrote:
> >Sean Murphy writes:
> >
> >SM> We would like to use first initial last name for usernames on FreeBSD.
> >SM> I am use to Solaris which is normally eight and if you have a long
> >SM> password on Solaris it doesn't care what you type after 6 characters.
> >
> >Solaris uses only six-character passwords?  I guess it cannot claim to
> >be secure, in that case.
>
> Sorry eight for password as well.
> Does any know the limits for FreeBSD?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vesa,/i810, Dell gx270 and Intel 82865G Graphics

2005-01-24 Thread Oliver Leitner
Ok, this is a longshot... i kinda dont know this problem...

but maybe, if you set your clockrate to something lower, its gonna work, look 
below for a list of your supported hz vs. supported resolutions...

i have that info from your logfile pastings...

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Tuesday 25 January 2005 00:55, Damian Sobieralski wrote:
> (II) VESA(0): [EMAIL PROTECTED]
> (II) VESA(0): [EMAIL PROTECTED]
> (II) VESA(0): [EMAIL PROTECTED]
> (II) VESA(0): [EMAIL PROTECTED]
> (II) VESA(0): [EMAIL PROTECTED]
> (II) VESA(0): [EMAIL PROTECTED]
> (II) VESA(0): [EMAIL PROTECTED]
> (II) VESA(0): [EMAIL PROTECTED]

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Username and password limits

2005-01-24 Thread Sean Murphy
Anthony Atkielski wrote:
Sean Murphy writes:
SM> We would like to use first initial last name for usernames on FreeBSD.
SM> I am use to Solaris which is normally eight and if you have a long 
SM> password on Solaris it doesn't care what you type after 6 characters.

Solaris uses only six-character passwords?  I guess it cannot claim to
be secure, in that case.
 

Sorry eight for password as well.
Does any know the limits for FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vesa,/i810, Dell gx270 and Intel 82865G Graphics

2005-01-24 Thread Damian Sobieralski

  I've been digging around the 'Net trying to fix my problem.  I've
took note that a few people have stated the cause of this from wrong
verison of the BIOS to needing a patch for the i810 in Xorg.

 I hope I can get a definitive direction to start working towards.  Let
me know if you need more information.  If this belongs in a different
mailing list please let me know which one as I don't want to post to
the wrong place.

  Here's the problem:

 I am trying to get the specs in the subject line to run in anything
but 640x480 mode.  I generated an xorg.conf file by using the command:

Xorg -configure

 I tried using both the vesa and i810 driver and I still cannot get it
to use anything by what it considers the built-in mode of "640x480"

  Here is what I am trying (FreeBSD 5.3-RELEASE):

(xorg.conf)

Section "ServerLayout"
 Identifier "X.org Configured"
 Screen   0  "Screen0" 0 0
 InputDevice"Mouse0" "CorePointer"
 InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
 RgbPath  "/usr/X11R6/lib/X11/rgb"
 ModulePath   "/usr/X11R6/lib/modules"
 FontPath "/usr/X11R6/lib/X11/fonts/misc/"
 FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
 FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
 FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
 FontPath "/usr/X11R6/lib/X11/fonts/CID/"
 FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
 FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
# Load  "dbe"
# Load  "dri"
# Load  "extmod"
# Load  "glx"
# Load  "record"
# Load  "xtrap"
# Load  "freetype"
# Load  "speedo"
# Load  "type1"
EndSection

Section "InputDevice"
 Identifier  "Keyboard0"
 Driver  "keyboard"
EndSection

Section "InputDevice"
 Identifier  "Mouse0"
 Driver  "mouse"
 Option "Protocol" "PS/2"
 Option "Device" "/dev/psm0"
EndSection

Section "Monitor"
 #DisplaySize   380   310 # mm
 Identifier   "Monitor0"
 VendorName   "DEL"
 ModelName"DELL 1901FP"
 ### Uncomment if you don't want to default to DDC:
# HorizSync1163412608.0 - 0.0
# HorizSync30.0 - 80.0
# VertRefresh  858937664.0 - 0.0
# Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # []
#Option "SWcursor"# []
#Option "ColorKey"# 
#Option "CacheLines"  # 
#Option "Dac6Bit" # []
#Option "DRI" # []
#Option "NoDDC"   # []
#Option "ShowCache"   # []
#Option "XvMCSurfaces"# 
#Option "PageFlip"# []
 Identifier  "Card0"
 Driver  "i810"
 VendorName  "Intel Corp."
 BoardName   "82865G Integrated Graphics Device"
 BusID   "PCI:0:2:0"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device "Card0"
 Monitor"Monitor0"
 DefaultDepth 16
 SubSection "Display"
  Viewport   0 0
  Depth 8
  Modes "800x600"
 EndSubSection
 SubSection "Display"
  Viewport   0 0
  Depth 16
  Modes "800x600"
 EndSubSection
 SubSection "Display"
  Viewport   0 0
  Depth 24
  Modes "800x600" 
 EndSubSection
 SubSection "Display"
  Viewport   0 0
  Depth 32
  Modes "800x600"
 EndSubSection
EndSection

--
Xorg.0.log

Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: FreeBSD 5.3 i386 [ELF] 
Current Operating System: FreeBSD sfao119.vpsa.asu.edu 5.3-RELEASE
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 16 October 2004
 Before reporting problems, check http://wiki.X.Org
 to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 24 16:40:41 2005
(==) Using config file: "/root/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in
"/usr/X11R6/lib/X11/fonts/Speedo/".
 Entry deleted from font path.
 (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/Speedo/").
(WW) `fonts.dir' not found (or not valid) in
"/usr/X11R6/lib/X11/fonts/Type1/".
 Entry deleted from font path.
 (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/Type1/").
(WW) `fonts.dir' not found (or not valid) in
"/usr/X11R6/lib/X11/fonts/CID/".
 Entry deleted from font path.
 (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/CID/").
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X1

Re: Username and password limits

2005-01-24 Thread Anthony Atkielski
Sean Murphy writes:

SM> We would like to use first initial last name for usernames on FreeBSD.
SM> I am use to Solaris which is normally eight and if you have a long 
SM> password on Solaris it doesn't care what you type after 6 characters.

Solaris uses only six-character passwords?  I guess it cannot claim to
be secure, in that case.

-- 
Anthony


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


Username and password limits

2005-01-24 Thread Sean Murphy
We would like to use first initial last name for usernames on FreeBSD.   
I am use to Solaris which is normally eight and if you have a long 
password on Solaris it doesn't care what you type after 6 characters.

By default what is the max username and password limit in characters?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


AMD64 Linux emulation weirdness

2005-01-24 Thread anthony ry
Hi,
Not sure if anyone can help or provide some logic to my
problems I'm seeing, but I figured I would give it a
shot.
I recently purchased a dual AMD Opteron 64bit machine
with FreeBSD 5.2.1 pre installed. I had two streaming
servers which I wanted to run off of it and since
neithr had 64bit versions, I decided to use the
Linux based versions and simply use the Linux emulation
base 7.
I was able to get Helix Universal Server (by realnetworks)
installed along with the Flash Communications Server. Both
at the time functioned properly (i believe). I then upgraded
to FreeBSD 5.3 and noticed that I was unable to connect to
both server's "administrator interface" via web browser. I
do not recall if the issue was as a result of upgrading to
5.3 or if it just never worked.
I then upgraded to 5.3-stable and upp'd the linux base to 8.
Same problems still. I was able to see the connection via
tcpdump and netstat but was not recieving a responce from
the server via web browser that it had connected.
I have both servers currently working perfectly on a 4.9
machine using the same configuration. I am guessing this
is either a problem with the emulation or with Freebsd 5.3.
Do you have any suggestions on what I should try before
I have to revert back to FreeBSD 4.10 with 32bit?
any help would be appreciated.
thanks
-anthony
_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: Enemy-Territory for Linux run Problem on FreeBSD 5.3 Release

2005-01-24 Thread Oliver Leitner
well, you might wanna try to install the following port:

graphics/linux_mesa3

i dunno if FreeBSD has such a thing, for now im using
the debian.org package search interface for finding which library is part of 
which archive...

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Tuesday 25 January 2005 00:04, Kevin Coles wrote:
> Hello,
> I am running FreeBSD 5.3 Release on a AMD Athlon 2800+ with Linux
> compatibility installed. I have just installed Linux-EnemyTerritory
> from ports and I tried to run it: ./et in
> /usr/compat/linux/usr/games/et .
> I then get this error message:
>
> ...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1:
> cannot open shared object file: No such file or directory
> failed
> - CL_Shutdown -
> RE_Shutdown( 1 )
> ---
> - CL_Shutdown -
> ---
> Sys_Error: GLimp_Init() - could not load OpenGL subsystem
>
> I have located libGL.so.1 in my /usr/X11R6/lib/ .
> I read the handbook page on Linux Compatibilty, however that didn't
> seem to help.
>
>
> Any assistance would be greatly appreciated.
>
> Thanks,
> Kevin Coles
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
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.3 I/O Performance / Linux 2.6.10 | Continued Discussion

2005-01-24 Thread Nick Pavlica
I didn't change any of the default mount options on either OS.


FreeBSD:

# cat /etc/fstab
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw  2   2
/dev/ad0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)

Linux:

# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1/   xfs defaults1 1
LABEL=/boot1/boot   xfs defaults1 2
none/dev/ptsdevpts  gid=5,mode=620  0 0
none/dev/shmtmpfs   defaults0 0
none/proc   procdefaults0 0
none/syssysfs   defaults0 0
LABEL=SWAP-sda2 swapswapdefaults0 0
/dev/scd0   /media/cdromauto   
pamconsole,exec,noauto,managed 0 0
/dev/fd0/media/floppy   auto   
pamconsole,exec,noauto,managed 0 0

# mount
/dev/sda3 on / type xfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type xfs (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
---

--Nick





On Tue, 25 Jan 2005 00:08:52 +0200, Petri Helenius <[EMAIL PROTECTED]> wrote:
> 
> Are you sure you aren't comparing filesystems with different mount
> options? Async comes to mind first.
> 
> Pete
> 
> 
> Nick Pavlica wrote:
> 
> >All,
> >  I would like to start addressing some of the feedback that I have
> >been given.  I started this discussion because I felt that it was
> >important to share the information I discovered in my testing.  I also
> >want to reiterate my earlier statement that this is not an X vs. X
> >discussion, but an attempt to better understand the results, and
> >hopefully look at ways of improving the results I had with FreeBSD
> >5.x.  I'm also looking forward to seeing the improvements to the 5.x
> >branch as it matures.  I want to make it very clear that this is NOT A
> >"Religious/Engineering War", please don't try to turn it into one.
> >
> >That said, lets move on to something more productive.  I installed
> >both operating systems using as many default options as possible and
> >updated them with all of the latest patches.  I was logged in via SSH
> >from my workstation while running the tests.  I didn't have X, running
> >on any of the installations because it wasn't need.  CPU and RAM
> >utilization wasn't an issue during any of the tests, but the disk I/O
> >performance was dramatically different.  Please keep in mind that I
> >ran these tests over and over to see if I had consistent results.  I
> >even did the same tests on other pieces of equipment not listed in my
> >notes that yielded the same results time and time again.  Some have
> >confirmed that they have had similar results in there testing using
> >other testing tools and methods.  This makes me wounder why the gap is
> >so large, and how it can be improved?
> >
> >I think that it would be beneficial to have others in this group do
> >similar testing and post there results.  This may help those that are
> >working on the OS itself to find trouble areas, and ways to improve
> >them.  It may also help clarify many of the response questions because
> >you will be able to completely control the testing environment.  I
> >look forward to seeing the testing results, and any good feedback that
> >helps identify specific tuning options, or bugs that need to be
> >addressed.
> >
> >Thanks!
> >--Nick Pavlica
> >--Laramie, WY
> >___

Enemy-Territory for Linux run Problem on FreeBSD 5.3 Release

2005-01-24 Thread Kevin Coles
Hello,
I am running FreeBSD 5.3 Release on a AMD Athlon 2800+ with Linux
compatibility installed. I have just installed Linux-EnemyTerritory
from ports and I tried to run it: ./et in
/usr/compat/linux/usr/games/et .
I then get this error message: 

...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1:
cannot open shared object file: No such file or directory
failed
- CL_Shutdown -
RE_Shutdown( 1 )
---
- CL_Shutdown -
---
Sys_Error: GLimp_Init() - could not load OpenGL subsystem

I have located libGL.so.1 in my /usr/X11R6/lib/ .
I read the handbook page on Linux Compatibilty, however that didn't
seem to help.


Any assistance would be greatly appreciated.

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


Re: Scroll whell on FreeBSD 5.3 i386

2005-01-24 Thread gabriel
I dont know how to do that, but I dont see why running the config
proggy wouldnt get you the same result.

Cheers!
On Mon, 24 Jan 2005 15:42:21 -0500, Alan Gerber <[EMAIL PROTECTED]> wrote:
> Oops.  Forgot to send this to the list. :-)
> 
> Alan Gerber wrote:
> 
> > In my particular place, I have nothing in /etc/X11.  In other words, I
> > have not created a configuration file yet - xorg has been
> > automatically detecting my installation just fine [with the obvious
> > exception of the mouse wheel].  Is there a way to pull out the
> > configuration it is currently using?
> >
> > --
> > Alan Gerber
> >
> > gabriel wrote:
> >
> >> You have to edit /etc/X11/ and make the change there if I
> >> remember correctly.
> >>
> >> Cheers!
> >>
> >>
> >> On Mon, 24 Jan 2005 14:59:51 -0500, Alan Gerber <[EMAIL PROTECTED]>
> >> wrote:
> >>
> >>
> >>> If one is using the auto-configure feature of xorg, how does one
> >>> specify
> >>> this override?  If there is no way to override this setting [so that
> >>> one
> >>> must create an xorg.cfg file, is there a way to pull out the
> >>> currently-running configuration?
> >>>
> >>> --
> >>> Alan Gerber
> >>>
> >>> Andrew Hall wrote:
> >>>
> >>>
> >>>
>  Add this to your mouse section, and restart X.
> 
> 
>  Option  "ZAxisMapping"  "4 5"
> 
>  Drew
> 
>  Michael Madden wrote:
> 
> 
> 
> > What is the secret to getting my scroll wheel working on FreeBSD
> > 5.3?  If have
> > the following added to /etc/rc.conf:
> >
> > moused_enable="YES"
> > moused_flags=""
> > moused_port="/dev/psm0"
> > moused_type="auto"
> >
> > I've also got the mouse section of /etc/X11/xorg.conf setup as:
> >
> > Section "InputDevice"
> >Identifier  "Mouse1"
> >Driver  "mouse"
> >Option  "Protocol" "auto"
> >Option  "Device" "/dev/sysmouse"
> > EndSection
> >
> > The mouse works fine as a normal mouse (right click, left click,
> > middle
> > click), but the scroll wheel doesn't scroll.
> >
> > Thanks in advance,
> > Mike
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> >
> >
> 
>  ___
>  freebsd-questions@freebsd.org mailing list
>  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>  To unsubscribe, send any mail to
>  "[EMAIL PROTECTED]"
> 
> >>>
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>> To unsubscribe, send any mail to
> >>> "[EMAIL PROTECTED]"
> >>>
> >>>
> >>
> >>
> >>
> >>
> >>
> >
> >
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


-- 
gabriel,

Member of:
FreeBSD-Announce
FreeBSD-Hardware
FreeBSD-Multimedia
FreeBSD-questions
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Need a recommendation for Log File Analysis

2005-01-24 Thread Murray Taylor
On Tue, 2005-01-25 at 09:05, Bill Schmitt (SW) wrote:
> I'm looking for an application to run on our FreeBSD 4.9 server that 
> will allow some mining of data from our mail logs (Postfix). For 
> example, what ip's are rejected because they are incorrectly formatted 
> or what domains are not providing reverse dns entries (which we reject). 
> Being able to mine down looking for repeated mailings to invalid 
> mailboxes would be nice.
> 
> Looking at the information in the ports doesn't seem to indicate a 
> specific application that does these things. Does this kind of animal exist?
> 
mail/pflogsumm

is a good start - I use this one

mail/pflogstats  may be another - havent used it myself


mjt


-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com


---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
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.3 I/O Performance / Linux 2.6.10 | Continued Discussion

2005-01-24 Thread Edward B. Dreger
PH> Date: Tue, 25 Jan 2005 00:08:52 +0200
PH> From: Petri Helenius
PH> To: Nick Pavlica

PH> Are you sure you aren't comparing filesystems with different mount
PH> options? Async comes to mind first.


He _did_ say "as many default options as possible"... does Linux still
mount async by default?



Eddy
--
Everquick Internet - http://www.everquick.net/
A division of Brotsman & Dreger, Inc. - http://www.brotsman.com/
Bandwidth, consulting, e-commerce, hosting, and network building
Phone: +1 785 865 5885 Lawrence and [inter]national
Phone: +1 316 794 8922 Wichita

DO NOT send mail to the following addresses:
[EMAIL PROTECTED] -*- [EMAIL PROTECTED] -*- [EMAIL PROTECTED]
Sending mail to spambait addresses is a great way to get blocked.

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


Re: sshd port number ?

2005-01-24 Thread John
On Mon, Jan 24, 2005 at 11:16:00PM +0200, Colin Alston wrote:
> Hexren wrote:
> 
> >> How does that make sshd less secure if its on a port above 
> >>
> >> 1024 ?  
> >If ssh ever goes down, a user could start his own compromised
> >version of ssh and do some nasty stuff. The same user could not do
> >that if the connecting side would expect sshd to be on a privileged
> >port because the system ensures that only procs running with superuser
> >privileges can bind to a privileged port.
> >  
> >
> And to note, ports <1024 are what we reffer to as "privileged ports", ie 
> - only root, or processes running as root, can open/close/mess them.

OK, but this only applies to secury and well-managed systems.
Early versions of Windows did nothing to restrict the use of ports
below 1024, and any hacker out there with a Linux or FreeBSD box
can start any service he likes to listen on a port below 1024, or
have an application run to open a connection on a port below 1024.

I'm sure the writer was aware of this - I just want to make sure
that newcomers and lurkers don't put too much confidence in the
port number of a connection.
-- 

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


Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10 | Continued Discussion

2005-01-24 Thread Petri Helenius
Are you sure you aren't comparing filesystems with different mount 
options? Async comes to mind first.

Pete
Nick Pavlica wrote:
All,
 I would like to start addressing some of the feedback that I have
been given.  I started this discussion because I felt that it was
important to share the information I discovered in my testing.  I also
want to reiterate my earlier statement that this is not an X vs. X 
discussion, but an attempt to better understand the results, and
hopefully look at ways of improving the results I had with FreeBSD
5.x.  I'm also looking forward to seeing the improvements to the 5.x
branch as it matures.  I want to make it very clear that this is NOT A
"Religious/Engineering War", please don't try to turn it into one.

That said, lets move on to something more productive.  I installed
both operating systems using as many default options as possible and
updated them with all of the latest patches.  I was logged in via SSH
from my workstation while running the tests.  I didn't have X, running
on any of the installations because it wasn't need.  CPU and RAM
utilization wasn't an issue during any of the tests, but the disk I/O
performance was dramatically different.  Please keep in mind that I
ran these tests over and over to see if I had consistent results.  I
even did the same tests on other pieces of equipment not listed in my
notes that yielded the same results time and time again.  Some have
confirmed that they have had similar results in there testing using
other testing tools and methods.  This makes me wounder why the gap is
so large, and how it can be improved?
I think that it would be beneficial to have others in this group do
similar testing and post there results.  This may help those that are
working on the OS itself to find trouble areas, and ways to improve
them.  It may also help clarify many of the response questions because
you will be able to completely control the testing environment.  I
look forward to seeing the testing results, and any good feedback that
helps identify specific tuning options, or bugs that need to be
addressed.
Thanks!
--Nick Pavlica
--Laramie, WY
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

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


Need a recommendation for Log File Analysis

2005-01-24 Thread Bill Schmitt (SW)
I'm looking for an application to run on our FreeBSD 4.9 server that 
will allow some mining of data from our mail logs (Postfix). For 
example, what ip's are rejected because they are incorrectly formatted 
or what domains are not providing reverse dns entries (which we reject). 
Being able to mine down looking for repeated mailings to invalid 
mailboxes would be nice.

Looking at the information in the ports doesn't seem to indicate a 
specific application that does these things. Does this kind of animal exist?

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


amsn

2005-01-24 Thread dick hoogendijk
Amsn states it needs port 1863 for chats and port 6891 for
filetransfers.

Using ipf and being quit new to it), does that mean I do this both ways
(in/out) like:

## outgoing

# Allow out msn messenger chatting and filetransfers
pass out quick on rl0 proto tcp from any to any port = 1863 flags S keep
state
pass out quick on rl0 proto tcp from any to any port = 6891 flags S keep
state

## incoming
# Allow in msn messenger chatting and filetransfers
pass in quick on rl0 proto tcp from any to any port = 1863 flags S keep
state
pass in quick on rl0 proto tcp from any to any port = 6891 flags S keep
state

Or get I drop the incoming rules?

ps: I like to test it, but don't know how to RESET ipf after making some
changes to the rules. I do know how to restart ipnat (-CF -f filename),
but what's the solution for ipf ??

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ 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]"


FreeBSD 5.3 I/O Performance / Linux 2.6.10 | Continued Discussion

2005-01-24 Thread Nick Pavlica
All,
  I would like to start addressing some of the feedback that I have
been given.  I started this discussion because I felt that it was
important to share the information I discovered in my testing.  I also
want to reiterate my earlier statement that this is not an X vs. X 
discussion, but an attempt to better understand the results, and
hopefully look at ways of improving the results I had with FreeBSD
5.x.  I'm also looking forward to seeing the improvements to the 5.x
branch as it matures.  I want to make it very clear that this is NOT A
"Religious/Engineering War", please don't try to turn it into one.

That said, lets move on to something more productive.  I installed
both operating systems using as many default options as possible and
updated them with all of the latest patches.  I was logged in via SSH
from my workstation while running the tests.  I didn't have X, running
on any of the installations because it wasn't need.  CPU and RAM
utilization wasn't an issue during any of the tests, but the disk I/O
performance was dramatically different.  Please keep in mind that I
ran these tests over and over to see if I had consistent results.  I
even did the same tests on other pieces of equipment not listed in my
notes that yielded the same results time and time again.  Some have
confirmed that they have had similar results in there testing using
other testing tools and methods.  This makes me wounder why the gap is
so large, and how it can be improved?

I think that it would be beneficial to have others in this group do
similar testing and post there results.  This may help those that are
working on the OS itself to find trouble areas, and ways to improve
them.  It may also help clarify many of the response questions because
you will be able to completely control the testing environment.  I
look forward to seeing the testing results, and any good feedback that
helps identify specific tuning options, or bugs that need to be
addressed.

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


IPsec issue

2005-01-24 Thread Kris Maglione
I secure my wireless network with IPsec. The rules are generated with a 
perl script (included below) with a rule for each ip in the range 
192.168.1.3-192.168.1.254 (.2 is my AP). The key exchange is handled by 
racoon and works without issue. I have "allow ip from any to any" as my 
first ipfw rule when on this network. My firewall allows DHCP and ISAKMP 
traffic unencrypted and allows only esp traffic otherwise.

My problem is that certain websites tend not to work. I can look them up 
and  make a connection, but I get no incoming packets, although on 
occasion they do work. Google is one such site. Also, it seems that 
images don't always load for any site. Neither firewall is blocking the 
traffic. When I make an OpenVPN link over the connection (it's easier 
than disabling IPsec, since it's already setup for when I'm away from 
home), the same websites work fine.

Any ideas? It just struck me that maybe parallel connections to the same 
address are at root of the issue, but I have no real evidence.

What more information would be useful?
Thanks.
Perl script that generates /etc/ipsec.conf:
#!/usr/bin/perl
use strict;
my $fw = "192.168.1.1";
print "flush;","\n",
 "spdflush;","\n";
foreach (3..254) {
   my $ip = "192.168.1.$_";
   print "\n";
  
   print
  "spdadd $ip/32 0.0.0.0/0 any -P out ipsec 
esp/tunnel/$ip-$fw/require;\n",
  "spdadd 0.0.0.0/0 $ip/32 any -P in  ipsec 
esp/tunnel/$fw-$ip/require;\n";
}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sshd and checking for new email

2005-01-24 Thread J.D. Bronson
I am running 5.3 ... when I telnet into the box I see if I have
new email.
When I ssh into the box, it does not show if I have any new email or not.
I am running tcsh and since telnet shows me I have mail, I have to presume 
my env and home files are setupwhat am I missing with sshd to have it 
show me if I have new email when I ssh in?

thanks!


--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
AIM:lonebanditusa // MSN:[EMAIL PROTECTED] // Yahoo:lonebanditusa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: let me just throw this out there..

2005-01-24 Thread Garance A Drosihn
At 1:02 PM -0800 1/24/05, gabriel wrote:
Has it ever happened to anyone here where your computer (in this
case, my gateway running ipfw+natd) just restarts out of nowhere.
It isn't even a crash, it just restarted.
Yes.  Turned out to be an overheating problem.  (one of the CPU
fans was starting to fail -- and eventually it completely failed).
Then when the computer came back up nothing was running, dhcpd,
natd, cupsd everything was just not running. Weird.
I don't remember this happening, but it might have in some cases.
The machine in question does not run many services.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[2]: sshd port number ?

2005-01-24 Thread Hexren
D> On Mon, 24 Jan 2005 22:10:23 +0100, Hexren <[EMAIL PROTECTED]> wrote:
>> If ssh ever goes down, a user could start his own compromised
>> version of ssh and do some nasty stuff. The same user could not do
>> that if the connecting side would expect sshd to be on a privileged
>> port because the system ensures that only procs running with superuser
>> privileges can bind to a privileged port.

D> At the OS level (not the SSHD config for example), where can one
D> configure what proc is assigned to what privileged port?

D> I just did some quick searching, but does this documentation exist on
D> the FreeBSD site?

D> Thank you,

D> ...D

-

/etc/services
http://www.freebsd.org/cgi/man.cgi?query=services&apropos=0&sektion=0&manpath=FreeBSD+5.3-RELEASE+and+Ports&format=html

But that is only a database. The system does not enforce what binds to
what port. If the superuser does want  to bind to  the
systems standpoint in that is: Root is right.

Hexren

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


Re: let me just throw this out there..

2005-01-24 Thread Oliver Leitner
just to add reasons...

run a memtest on that machine, could be a dead ram as well...

On Monday 24 January 2005 22:36, gabriel wrote:
> Oh don't scare me, the machine I'm talking about is my gateway, the
> last gateway I had died (mobo fried) but I dont remember it doing this
> though.
>
> On Mon, 24 Jan 2005 16:34:50 -0500, Danny <[EMAIL PROTECTED]> wrote:
> > On Mon, 24 Jan 2005 13:02:32 -0800, gabriel <[EMAIL PROTECTED]> 
wrote:
> > > Has it ever happened to anyone here where your computer (in this case,
> > > my gateway running ipfw+natd) just restarts out of nowhere. It isnt
> > > even a crash, it just restarted. Then when the computer came back up
> > > nothing was running, dhcpd, natd, cupsd everything was just not
> > > running. Weird.
> >
> > Motherboard & CPU temp? UPS?
> >
> > ...D

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: let me just throw this out there..

2005-01-24 Thread gabriel
Oh don't scare me, the machine I'm talking about is my gateway, the
last gateway I had died (mobo fried) but I dont remember it doing this
though.


On Mon, 24 Jan 2005 16:34:50 -0500, Danny <[EMAIL PROTECTED]> wrote:
> On Mon, 24 Jan 2005 13:02:32 -0800, gabriel <[EMAIL PROTECTED]> wrote:
> > Has it ever happened to anyone here where your computer (in this case,
> > my gateway running ipfw+natd) just restarts out of nowhere. It isnt
> > even a crash, it just restarted. Then when the computer came back up
> > nothing was running, dhcpd, natd, cupsd everything was just not
> > running. Weird.
> 
> Motherboard & CPU temp? UPS?
> 
> ...D
> 


-- 
gabriel,

Member of:
FreeBSD-Announce
FreeBSD-Hardware
FreeBSD-Multimedia
FreeBSD-questions
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: let me just throw this out there..

2005-01-24 Thread Danny
On Mon, 24 Jan 2005 13:02:32 -0800, gabriel <[EMAIL PROTECTED]> wrote:
> Has it ever happened to anyone here where your computer (in this case,
> my gateway running ipfw+natd) just restarts out of nowhere. It isnt
> even a crash, it just restarted. Then when the computer came back up
> nothing was running, dhcpd, natd, cupsd everything was just not
> running. Weird.

Motherboard & CPU temp? UPS? 

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


Re: let me just throw this out there..

2005-01-24 Thread gabriel
I'll give that a shot. Thanks


On Mon, 24 Jan 2005 22:19:21 +0100, Oliver Leitner <[EMAIL PROTECTED]> wrote:
> ok, now open some tail -f 's and stay logged in monitoring them continuously,
> also let a packet capture program like tcpdum run, from that box, and from
> some other box on your network as well, to see if anything unusual comes
> through...
> 
> also check if that reboot happens again, and if so, if it happens at exactly
> the same time again...
> 
> And then set all daemons, that didnt startup with the machine to debug mode
> logging, also look if they have existing startup files (...sh in rc.d, maybe
> enabled through rc.conf...)
> 
> just general error searching routines...
> 
> Greetings
> Oliver Leitner
> Technical Staff
> http://www.shells.at
> 
> On Monday 24 January 2005 22:14, gabriel wrote:
> > Yeah I'm the only root there, the only user with wheel access isnt
> > even used often for that same reason. I checked the logs and oddly
> > enough, it was all just like "reboot", nothing interesting or
> > anything, I checked all the ssh logs and everything looks okay. The
> > weird thing is the deamons not starting, thats just odd. As a matter
> > of fact, the first thing I checked was df -h to see if may be /var or
> > / was full, but no, everything was good. Again.. weird.
> >
> > On Mon, 24 Jan 2005 22:04:57 +0100, Oliver Leitner <[EMAIL PROTECTED]> 
> > wrote:
> > > sounds like either powersurgery or you hit the wrong button to me...
> > > also, are you the only one with root or power access to it?
> > >
> > > maybe some coworker stepped over the cable, or some other one thought he
> > > could work with a bsd, and just did the shutdown -r now...
> > >
> > > in case you might wanna check all the logs, also the ones including
> > > informations on who connected to that box.
> > >
> > > Also, its only a thought, but how much space is left on that system, do a
> > > df -h and have a closer look...
> > >
> > > Greetings
> > > Oliver Leitner
> > > Technical Staff
> > > http://www.shells.at
> > >
> > > On Monday 24 January 2005 22:02, gabriel wrote:
> > > > Has it ever happened to anyone here where your computer (in this case,
> > > > my gateway running ipfw+natd) just restarts out of nowhere. It isnt
> > > > even a crash, it just restarted. Then when the computer came back up
> > > > nothing was running, dhcpd, natd, cupsd everything was just not
> > > > running. Weird.
> > >
> > > --
> > > By reading this mail you agree to the following:
> > >
> > > using or giving out the email address and any
> > > other info of the author of this email is strictly forbidden.
> > > By acting against this agreement the author of this mail
> > > will take possible legal actions against the abuse.
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> 
> --
> By reading this mail you agree to the following:
> 
> using or giving out the email address and any
> other info of the author of this email is strictly forbidden.
> By acting against this agreement the author of this mail
> will take possible legal actions against the abuse.
> 


-- 
gabriel,

Member of:
FreeBSD-Announce
FreeBSD-Hardware
FreeBSD-Multimedia
FreeBSD-questions
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Open source or *BSD/Linux compatible mapping software?

2005-01-24 Thread John
Hey, folks - my one remaining dependency on the Microsoft world
seems to be Streets and Trips.  Even though the product has gone
down hill dramatically in the last three years, I still love it
and use it daily.  One of the big differentiators for me is that
it doesn't require an Internet connection to function - anywhere
I have my laptop, I can do mapping and even fix my position with
my GPS.

Is there anything like this available for us FreeBSD users?  It
doesn't have to be open source - I pay for S&T and I'm happy to
pay for its equivalent.

Thanks!
-- 

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


Re: let me just throw this out there..

2005-01-24 Thread Oliver Leitner
ok, now open some tail -f 's and stay logged in monitoring them continuously, 
also let a packet capture program like tcpdum run, from that box, and from 
some other box on your network as well, to see if anything unusual comes 
through...

also check if that reboot happens again, and if so, if it happens at exactly 
the same time again...

And then set all daemons, that didnt startup with the machine to debug mode 
logging, also look if they have existing startup files (...sh in rc.d, maybe 
enabled through rc.conf...)

just general error searching routines...

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Monday 24 January 2005 22:14, gabriel wrote:
> Yeah I'm the only root there, the only user with wheel access isnt
> even used often for that same reason. I checked the logs and oddly
> enough, it was all just like "reboot", nothing interesting or
> anything, I checked all the ssh logs and everything looks okay. The
> weird thing is the deamons not starting, thats just odd. As a matter
> of fact, the first thing I checked was df -h to see if may be /var or
> / was full, but no, everything was good. Again.. weird.
>
> On Mon, 24 Jan 2005 22:04:57 +0100, Oliver Leitner <[EMAIL PROTECTED]> wrote:
> > sounds like either powersurgery or you hit the wrong button to me...
> > also, are you the only one with root or power access to it?
> >
> > maybe some coworker stepped over the cable, or some other one thought he
> > could work with a bsd, and just did the shutdown -r now...
> >
> > in case you might wanna check all the logs, also the ones including
> > informations on who connected to that box.
> >
> > Also, its only a thought, but how much space is left on that system, do a
> > df -h and have a closer look...
> >
> > Greetings
> > Oliver Leitner
> > Technical Staff
> > http://www.shells.at
> >
> > On Monday 24 January 2005 22:02, gabriel wrote:
> > > Has it ever happened to anyone here where your computer (in this case,
> > > my gateway running ipfw+natd) just restarts out of nowhere. It isnt
> > > even a crash, it just restarted. Then when the computer came back up
> > > nothing was running, dhcpd, natd, cupsd everything was just not
> > > running. Weird.
> >
> > --
> > By reading this mail you agree to the following:
> >
> > using or giving out the email address and any
> > other info of the author of this email is strictly forbidden.
> > By acting against this agreement the author of this mail
> > will take possible legal actions against the abuse.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sshd port number ?

2005-01-24 Thread Danny
On Mon, 24 Jan 2005 22:10:23 +0100, Hexren <[EMAIL PROTECTED]> wrote:
> If ssh ever goes down, a user could start his own compromised
> version of ssh and do some nasty stuff. The same user could not do
> that if the connecting side would expect sshd to be on a privileged
> port because the system ensures that only procs running with superuser
> privileges can bind to a privileged port.

At the OS level (not the SSHD config for example), where can one
configure what proc is assigned to what privileged port?

I just did some quick searching, but does this documentation exist on
the FreeBSD site?

Thank you,

...D
___
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   >