can't ssh back into 10.242; host seen as Down

2004-02-26 Thread Gary Kline

5.2-RELEASE is coming around.  From the KVM connection
to 10.242 I can telnet and ssh *out* to other places.
(I can fetch ports and upgrade things... .)  But I can't
figure out why I can't ssh or telnet *in*.  ping sees my
new system as down::

pu 19:55  [5212] ping 10.242
PING 10.242 (10.0.0.242): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
^Csendto: Host is down

--- 10.242 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
pu 19:55  [5213]


To show what's going on, I switched over to 10.242, ssh'd 
into 10.1 and did ping and ssh -vvv .  Below is a typescript
out these cmds:

Script started on Thu Feb 26 20:05:27 2004
p4 20:05  [5001]
PING 10.242 (10.0.0.242): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
^C
--- 10.242 ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss
p4 20:05  [5002]
OpenSSH_3.5p1 FreeBSD-20030201, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to 10.242 [10.0.0.242] port 22.
debug1: connect to address 10.0.0.242 port 22: Operation timed out
ssh: connect to host 10.242 port 22: Operation timed out
p4 20:08  [5003]

Script done on Thu Feb 26 20:08:08 2004


ssh worked with 4.9 a couple days ago.  Does anybody know
where I'm messing up?

thanks,

gary



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

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


Re: Mozilla, no running window. Firefox, even less...

2004-02-26 Thread Andrew L. Gould
On Thursday 26 February 2004 09:52 pm, [EMAIL PROTECTED] wrote:
> forgot to mention, i already tried a rebuild "WITHOUT_XFT=YES".  no dice.
>
>
> --
> Begin forwarded message:
>
> Date: Thu, 26 Feb 2004 22:48:55 -0500
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Mozilla, no running window.  Firefox, even less...
>
>
> hello all,
>
> alas, i haven't yet found the solution via google or mozillazine.org.
> here's the problem...
>
> > mozilla-gtk2
>
> No running window found.
>
>
> and nothing else happens.  with firefox, it's even worse.  i don't even get
> the error message.  just nada.
>
> i suspect that it has something to do with fonts, because i added some font
> packages at the same time as i portupgraded mozilla (which was working
> previously).
>
> hoping that someone will spot the problem rather than having to uninstall
> and test each font package...
>
> > pkg_info | grep -i font
>
> XFree86-FontServer-4.3.0_3 XFree86-4 font server
> XFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fonts
> XFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fonts
> XFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fonts
> XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts
> XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files
> XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts
> Xft-2.1.2_1 A client-sided font API for X applications
> artwiz-fonts-1.0_1  A set of free fonts for X11 desktops
> bitstream-vera-1.10 Bitstream Vera TrueType font collection
> code2000-1.13   Shareware demo Unicode TrueType font
> fontconfig-2.2.90_4 An XML-based font configuration API for X Windows
> freefonts-0.10_2A collection of ATM fonts (not all free) from the CICA
> arch freetype-1.3.1_2A free and portable TrueType font rendering engine
> freetype2-2.1.5_2   A free and portable TrueType font rendering engine
> gucharmap-gnome-1.2.0_1 A Unicode/ISO10646 character map and font viewer
> lfpfonts-fix-0.82   Fixed width fonts from the Linux Font Project
> lfpfonts-var-0.83   Variable width fonts from the Linux Font Project
> linux-urw-fonts-2.0_1 Truetype fonts for use with Linux programs
> mkitalic-1.0Perl script to make BDF font italic
> mplayer-fonts-0.50  A font pack for the mplayer OSD and SUB
> nexfontsel-3.0  A neXtaw based replacement for xfontsel
> nucleus-0.77_2  Another font package for X
> p5-type1inst-0.6.1  A script that helps install Postscript fonts in X
> Window Sy ppantsfonts-0.7 A set of small angular fonts
> sgifonts-1.0.1  Fonts from the SGI ProPack 1.4 for Linux
> sharefonts-0.10 A collection of shareware ATM fonts from the CICA
> archives terminus-font-4.00_1 Terminus Font - a clean fixed width font
> tkfont-1.1_2A Tk based replacement for xfontsel
> ttmkfdir-0.0_1  Create fonts.scale file for use with TrueType font
> server urwfonts-1.0Another font package for X
> urwfonts-ttf-1.0.7b18 Unicode TrueType from URW extended by Valek Filippov
> webfonts-0.21_1 TrueType core fonts for the Web
>
> mozilla doesn't seem to build with debugging support by default, so i'm
> going to try to rebuild it (yet again) and see if i can make anything of
> the gdb info.
>
> in the meantime, if anyone has a suggestion, i'm all ears.   :)
>
>
> thanks!
> epi

Have you tried deleting ~/.mozilla, logging out and logging back in? (Before 
you try this, you may wish to move the bookmark file to a safe place.)

Andrew Gould

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


Re: memtest --log no log file?

2004-02-26 Thread Chuck Swiger
Noah wrote:
rebuilt the latest memtest-2.93.1_1 and not seeing any output file built.  who
can I report this to?  It could quite possibly be a bug since I am running
memtest as root.
Maybe it only generates the logfile after it finishes a full test iteration? 
I admit that I just used nohup and looked at nohup.out rather than --log.  :-)

Anyway, you could talk to the authors:

(C) 2000 Charles Cazabon <[EMAIL PROTECTED]>
Original v.1 (C) 1999 Simon Kirby <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
...and see whether they'll fix or change this.

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


Re: ruby ( final answer )

2004-02-26 Thread Shaun T. Erickson
Michael Sharp wrote:

pkgdb is still looking for /usr/local/bin/ruby which after the upgrade
dosent exist. Its now /usr/local/bin/ruby16
ln -s /usr/local/bin/ruby16 /usr/local/bin/ruby

fixes pkgdb and portsdb
I'm setting up a new 5.2.1-RELEASE system and was concerned about this, 
as I was about to install portupgrade, which would also install ruby. 
With all ports up to date, I crossed my fingers and did a make install 
clean. Everything installed and works fine. I got a ruby18 (yes, 18) 
that was linked to ruby.

Are you sure you have the latest portupgrade and ruby installed?

	-ste

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


Re: ruby ( final answer )

2004-02-26 Thread Kris Kennaway
On Thu, Feb 26, 2004 at 11:59:28PM -0500, Shaun T. Erickson wrote:
> Michael Sharp wrote:
> 
> >pkgdb is still looking for /usr/local/bin/ruby which after the upgrade
> >dosent exist. Its now /usr/local/bin/ruby16
> >
> >ln -s /usr/local/bin/ruby16 /usr/local/bin/ruby
> >
> >fixes pkgdb and portsdb
> 
> I'm setting up a new 5.2.1-RELEASE system and was concerned about this, 
> as I was about to install portupgrade, which would also install ruby. 
> With all ports up to date, I crossed my fingers and did a make install 
> clean. Everything installed and works fine. I got a ruby18 (yes, 18) 
> that was linked to ruby.
> 
> Are you sure you have the latest portupgrade and ruby installed?

Probably not..the update to which you refer was committed earlier
today.

Kris


pgp0.pgp
Description: PGP signature


Re: ruby ( final answer )

2004-02-26 Thread Kris Kennaway
On Thu, Feb 26, 2004 at 09:13:54PM -0800, Kent Stewart wrote:

> > Probably not..the update to which you refer was committed earlier
> > today.
> >
> 
> It looks like ruby has been updated to 1.8 and we have a situation like 
> gettext. I deleted ruby-* and portupgrade and reinstalled portupgrade. 
> The problem went away.

That was the advice given by knu in the commit message, which I
recommended be added to the CHANGES file as a pointer to users.

Kris


pgp0.pgp
Description: PGP signature


RE: Boot and MBR.

2004-02-26 Thread Mark Weisman
Hey all,
  I've tried setting the MBR within fdisk from the FBSD side of the house, however, it 
won't set. I go through all the motions, yet when it goes to write it says that it 
can't write to drsk ad0. I then went into a dos boot using a Windows98 boot disk and 
made the partition active, it still will not boot into the Windows partition. For the 
life of me, I cannot think of how to fix this. I need some help, any ideas?

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic_One Internet Gaming Servers
Anchorage, AK
http://games.mystic1.net

> --
> From: Jud
> Sent: Thursday, February 26, 2004 5:49 PM
> To:   Mark Weisman; Jerry McAllister
> Cc:   [EMAIL PROTECTED]
> Subject:  Re: Boot and MBR.
> 
> On Thu, 26 Feb 2004 17:18:01 -0900, Mark Weisman <[EMAIL PROTECTED]> wrote:
> 
> > Just out of curiosity what is the order in creating a dual boot system?
> > Which operating system do you put on first? I see that having WinXP
> > setup in partitions is not a good idea, yet I'm not aware of how to load
> > the system in just a slice? I would appreciate any and all help in
> > trying to get this thing online. I need my workstation back as soon as
> > possible. Thanks.
> [snip]
> >> I've got my primary drive divided in two partitions, one partition had
> >
> >> WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP
> >
> >> installed and working until I put FreeBSD on the second partition and
> >> had it take control of the MBR. I know that the other partition is
> >> still bootable if I can get a pointer to it, currently the boot menu
> >> shows it
> >> as:
> >>   F!: ??
> >>   F2: FreeBSD
> >> How can I get that first menu choice to look at the installation on
> > the
> >> first partition as bootable? Making the machine a dual boot between
> > the
> >> two system?
> 
> First off, don't worry about slice vs partition - Jerry was just telling  
> you those are the names used by FreeBSD and Windows, respectively, for the  
> same thing.
> 
> Second, how to get your dual boot going -
> 
> 1. I think if you do what you've already done in FreeBSD (set the Windows  
> slice/partition bootable) and then type "w" to write the change, that  
> should work.
> 
> If it doesn't, two other alternatives -
> 
> 2. If you have a Win9x emergency boot/system floppy hanging around, use  
> fdisk to set the Windows partition/slice active, then reboot; or
> 
> 3. Install GAG, a free, easy and automagical boot loader.   http://gag.sourceforge.net/>.
> 
> Hope this helps,
> 
> Jud
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gcc problem

2004-02-26 Thread Kris Kennaway
On Thu, Feb 26, 2004 at 09:31:34PM -0800, Randy Jordan wrote:
> I am new t oFreeBSD and I am trying to install a program but, every time I
> do gmake I get the following error
> 
> gmake TAGS
> Makefile.defs:421: Old gcc detected (2.9x), use  gcc >= 3.1 for better
> results
> ctags -R .
> ctags: illegal option -- R
> usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
> gmake: *** [TAGS] Error 1
> 
> I try to update gcc by making the files at /usr/ports/lang/gcc32 and then I
> do gcc -v and it still shows I am using gcc ver 2.95

The port doesn't replace the system compiler.  The gcc32 port installs
compiler binaries called gcc32 and g++32, which you can instruct the
software makefile to use by setting the appropriate variable (usually
CC and CXX).

Kris


pgp0.pgp
Description: PGP signature


Re: directories to exclude for backups

2004-02-26 Thread Kevin D. Kinsey, DaleCo, S.P.
Benjamin P. Keating wrote:

My Plan is to make a gzipped tarball of the entire machine, excluding 
directories that are not necessary. If however, there is a more sound 
solution then tarballing a machine for a backup, Im all ears. I know 
rsync is a possibility, but i'd like to have just a solid, non-active 
archive copy of machines.

EXCLUDE DIRECTORIES
--
/proc
/dev
/tmp
/usr/ports/
/var/tmp/
What else would be safe to exclude?

Thanks,
-Ben
I'd wonder if a "more sound solution" is either
dump(8) or cpio(1L).  That said, I do use tar(1)
for /www
Kevin Kinsey
DaleCo, S.P.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


olympus D-400 camera on FreeBSD

2004-02-26 Thread David Syphers
Hi,

Sorry for the cross post, but I'm not sure whether my problem is with gphoto2 
or FreeBSD. Please cc: me in reply.

I was just given an old Olympus D-400 Zoom camera (which gphoto2 claims to 
support), and I'm trying to download pictures onto a computer running FreeBSD 
-CURRENT (from Feb. 26). The nifty usb SmartMedia reader I have isn't 
supported by umass (I just get 'ugen0: SCM Microsystems Inc. eUSB SmartMedia 
Adapter, rev 1.10/2.08, addr 2' when I plug it in). So I'm trying to use the 
serial connection directly with the camera. I have the serial ports set up 
(though I've never used them before): I've got sio in my kernel, and both 
serial ports are found on boot:

yggdrasil> dmesg | grep sio
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A


I've got cuaa0 and cuaa1 permission 666 as well (though I was originally doing 
this as root, so it didn't matter). However, gphoto2 isn't finding any 
camera. I've tried various orders of plugging things in, turning on the 
camera, and booting the computer, to no avail. I've searched gphoto and 
FreeBSD archives, and come up with no ideas. Any thoughts on whether this is 
a FreeBSD problem, a gphoto problem, or something else? Relevant gphoto2 
output below:


yggdrasil> gphoto2 -v
gphoto2 2.1.4

Copyright (c) 2000-2003 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named 
COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2   2.1.4cc, popt, exif, no cdk, aa, jpeg, readline
libgphoto22.1.4cc, EXIF, no ltdl, no /proc/meminfo
libgphoto2_port   0.5.1cc, USB, serial without locking, no ltdl

yggdrasil> gphoto2 --list-ports
Devices found: 3
Path Description
--
serial:/dev/cuaa0Serial Port 0
serial:/dev/cuaa1Serial Port 1
usb: Universal Serial Bus
yggdrasil> gphoto2 --auto-detect
Model  Port
--


Thanks,

-David

-- 
Department of Physics
The University of Washington, Seattle
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


MySQL Port... [not]missing functions?

2004-02-26 Thread Joe Lewis
Hey, all.  I have written an apache module, and it worked fine with 
MySQL 3.23 compiled from source but not in the 4.x ports (tried 4.1 and 
4.0).  I have found the problem when I shifted it to a new box.  The old 
one ran 5.1, and this new one runs 5.2.  I doubt the OS is the concern, 
but one can't be too careful.

The installed packages are :

mysql-client-4.0.16 Multithreaded SQL database (client)
mysql-server-4.0.16 Multithreaded SQL database (server)
apache-2.0.48_1 Version 2 of the extremely popular Apache http server
mod_php4-4.3.4_2,1  PHP Apache Module
Now, since I've used the port, all I get when trying to start apache 
with the recompiled module is :

Cannot load /usr/local/libexec/apache2/mod_vmysql.so into server: 
/usr/local/libexec/apache2/mod_vmysql.so: Undefined symbol 
"mysql_real_escape_string"

Can someone tell me what I am doing wrong?  I KNOW that function is 
supposed to be in the MySQL library, but it just isn't being found.  Is 
there some trick that was used in the port that is not part of the 
standard install for MySQL?

Joe

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


Re: ruby ( final answer )

2004-02-26 Thread Kent Stewart
On Thursday 26 February 2004 09:15 pm, Kris Kennaway wrote:
> On Thu, Feb 26, 2004 at 09:13:54PM -0800, Kent Stewart wrote:
> > > Probably not..the update to which you refer was committed earlier
> > > today.
> >
> > It looks like ruby has been updated to 1.8 and we have a situation
> > like gettext. I deleted ruby-* and portupgrade and reinstalled
> > portupgrade. The problem went away.
>
> That was the advice given by knu in the commit message, which I
> recommended be added to the CHANGES file as a pointer to users.
>


I tried the -rf devel/ruby16way from the commit and portupgrade said it 
didn't exist. The pkg_delete of portupgrade and ruby* and then build 
portupgrade is the only thing that worked for me.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make kernel error

2004-02-26 Thread Michael Dunham
I tried to build and install a new kernel tonight and got -

freebie# cd /usr/src
freebie# make kernel KERNCONF=FREEBIE
"Makefile.inc1", line 712: warning: String comparison operator should be 
either == or !=
"Makefile.inc1", line 712: Malformed conditional ((!defined(NO_RESCUE) ||  
defined(RELEASEDIR)) &&  (${TARGET_ARCH} != ${MACHINE_ARCH} || 
${BOOTSTRAPPING} < 501101))
"Makefile.inc1", line 712: Missing dependency operator
"Makefile.inc1", line 714: if-less endif
"Makefile.inc1", line 714: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.
freebie#
  
Any ideas what is missing?

Thanks
-- 
Regards, 
 
MIKE... 
Make your Information your KnowlEDGE 
Michael L. Dunham 
Principal Consultant 
Connecting Teams 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Quick newbie portupgrade question.

2004-02-26 Thread Shaun T. Erickson
I understand that 'portupgrade -arR' will upgrade everything. Some are 
packages and some are ports. Will portupgrade upgrade packages with 
packages, and ports with ports, or do packages get replaced with ports, 
so that all are ports after it's run?

	-ste

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


Re: Mozilla, no running window. Firefox, even less...

2004-02-26 Thread epilogue
On Thu, 26 Feb 2004 22:46:07 -0600
"Andrew L. Gould" <[EMAIL PROTECTED]> wrote:

> 
> Have you tried deleting ~/.mozilla, logging out and logging back in?
> (Before you try this, you may wish to move the bookmark file to a safe
> place.)
> 
> Andrew Gould
> 

Hello Andrew,

Already did that with my main user.  Noticed that root still had its old
.mozilla folder, so I gave it another try, just for fun:

# cd /root
# rm -rf .mozilla
# mozilla-gtk2 
No running window found.
# 

Sigh.


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


Customizing a 'make release'...

2004-02-26 Thread Peter Losher
(If this question is better served on another list, let me know)

I am trying to come up with a custom FreeBSD ISO w/ my personal 
preferences (no integrated OpenSSH, Heimdal, or Sendmail)  I have been 
working off of  
http://www.gsoft.com.au/~doconnor/FreeBSD-release-2.html, and 

/usr/bin/time sh -c 'make release CHROOTDIR=/hog0/release NODOC=YES
NOPORTS=YES BUILDNAME=5.2-REL-FOO CVSROOT=/hog1/FreeBSD-CVS
RELEASETAG=RELENG_5_2_1_RELEASE' | & tee /tmp/release.log

Now my understanding is that 'make release' honors the variables set 
in /etc/make.conf, where I have:

-=-
NO_OPENSSH=true
NO_KERBEROS=true
NO_SENDMAIL=true
-=-

After creating the binaries and the ISO image, installing the OS on a new 
box results in a sendmail-less install, but it still has all the OpenSSH 
and Heimdal bits included.  Do I needed to declare NO_OPENSSH and 
NO_KERBEROS on the 'make release' command line?

Also, is there any way to change the default bits the install process -  
like the default auto-partition (I prefer to leave the /var partition 
with the remaining space instead of /usr as it is now), and have it 
automatically install certain packages instead of asking.

Thanks in advance for any advice you can pass along...

Best Wishes - Peter
-- 
[ http://www.plosh.net/ ] - "Earth Halted: Please reboot to continue"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gcc problem

2004-02-26 Thread Randy Jordan
I am new t oFreeBSD and I am trying to install a program but, every time I
do gmake I get the following error

gmake TAGS
Makefile.defs:421: Old gcc detected (2.9x), use  gcc >= 3.1 for better
results
ctags -R .
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
gmake: *** [TAGS] Error 1

I try to update gcc by making the files at /usr/ports/lang/gcc32 and then I
do gcc -v and it still shows I am using gcc ver 2.95

Can someone tell me what I am doing wrong.

Thanks in advance
Randy Jordan


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


Re: Addition of user

2004-02-26 Thread doug
The user can change their password. If you have a control panel or some
other facility I think nonexistent would be better.

On Thu, 26 Feb 2004, Peter Risdon wrote:

> doug wrote:
> 
> >You can also set the shell to passwd.
> >  
> >
> That's a good point, based on a closer reading of the OP than my own. 
> The difference being that it requires the addition of a user for each 
> mail account whereas something like vpopmail does not. I've googled but 
> can't see anything about this so for my information, I generally use 
> /nonexistent as the shell in situations like this, and add /nonexistent 
> to /etc/shells. Is there a difference between using /passwd and 
> something like /nonexistent?
> 
> PWR.
> 


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


Re: ruby ( final answer )

2004-02-26 Thread Kent Stewart
On Thursday 26 February 2004 09:02 pm, Kris Kennaway wrote:
> On Thu, Feb 26, 2004 at 11:59:28PM -0500, Shaun T. Erickson wrote:
> > Michael Sharp wrote:
> > >pkgdb is still looking for /usr/local/bin/ruby which after the
> > > upgrade dosent exist. Its now /usr/local/bin/ruby16
> > >
> > >ln -s /usr/local/bin/ruby16 /usr/local/bin/ruby
> > >
> > >fixes pkgdb and portsdb
> >
> > I'm setting up a new 5.2.1-RELEASE system and was concerned about
> > this, as I was about to install portupgrade, which would also
> > install ruby. With all ports up to date, I crossed my fingers and
> > did a make install clean. Everything installed and works fine. I
> > got a ruby18 (yes, 18) that was linked to ruby.
> >
> > Are you sure you have the latest portupgrade and ruby installed?
>
> Probably not..the update to which you refer was committed earlier
> today.
>

It looks like ruby has been updated to 1.8 and we have a situation like 
gettext. I deleted ruby-* and portupgrade and reinstalled portupgrade. 
The problem went away.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: directories to exclude for backups

2004-02-26 Thread dany_list
Hello,

I’m not a sysadmin but I wanted to share the configuration I use at home for my
file server running on a small Epia mini-ITX fanless motherboard.
Basically the box only has 2x 120GB hard drives. Then it’s combination of
dump/rsync/rdiff-backup. I wanted to be able to swap drives if something goes
wrong with one drive or if do something wrong with a system update. I didn’t
want to go the RAID/vinium way as I also wanted incremental snapshots. Beside
those three tools I also use Unison to synchronize important files between
laptop-dekstop-fileserver (windows/linux client). 

The three tools mentioned above help me to solve the following problems :

-   dump : to make a hardcopy of the / directory and all those hardlinks (also
used for /var and /tmp even if they may not need to be backed up)
-   rsync : to mirror /usr directory (damn fast)
-   rdiff-backup : I use that for my personal data because as a stupid user I do
make mistakes so rdiff-backup keeps track of file histories for me. It’s a kind
of incremental rsync where you can recover any file from any date.

Basically the two drives share the same organization (ad0 for the first one, ad2
for the second one)
ad0s1a /   128M
ad0s1bswap 512M
ad0s1d/var   128M
ad0s1e/tmp  200M
ad0s1f /usr   3200MB
ad0s2d/data 110GB   

ad2s1a  /backup/os/root
ad2s1e  /backup/os/tmp 
ad2s1f   /backup/os/usr
ad2s2d  /backup/data

Then I use the following commands from a script started by a daily cronjob (it’s
not a real script yet as it doesn’t verify/confirm anything, just a bunch of
commands)

# root backup
umount /backup/os/root
newfs /dev/ad2s1a    I had trouble overwriting the same
slice with dump so I erase it before… might not be the best choice
dump -0 -f -L - /dev/ad0s1a | (cd /backup/os/root ; restore -r -v -f -)

# /tmp backup
umount /backup/os/tmp
newfs /dev/ad2s1e
dump -0 -f -L - /dev/ad0s1e | (cd /backup/os/tmp ; restore -r -v -f -)

# /var backup
umount /backup/os/var
newfs /dev/ad2s1d
dump -0 -f -L - /dev/ad0s1d | (cd /backup/os/var ; restore -r -v -f -)

# /usr backup
rsync -a --delete /usr/ /backup/os/usr

# Typical incremental backup from drive 1 to drive 2
rdiff-backup /data/current/mp3 /backup/data/backup/mp3

# for this one I first do the incremental backup on the same drive and then
rsync over the second drive (so I can have the incremental backup on both drives)
rdiff-backup /data/current/alpha_current /data/current/alpha_backup
rsync -a –delete /data/current/alpha_backup/ /backup/data/backup/alpha_backup


I understand that it's probably not the best and most official way to do work
with backups but as a newbie to FreeBSD I’m quite happy with this configuration.

Dany


Quoting "Benjamin P. Keating" <[EMAIL PROTECTED]>:

> My Plan is to make a gzipped tarball of the entire machine, excluding 
> directories that are not necessary. If however, there is a more sound 
> solution then tarballing a machine for a backup, Im all ears. I know 
> rsync is a possibility, but i'd like to have just a solid, non-active 
> archive copy of machines.
> 
> EXCLUDE DIRECTORIES
> --
> /proc
> /dev
> /tmp
> /usr/ports/
> /var/tmp/
> 
> What else would be safe to exclude?
> 
> Thanks,
> -Ben
> 
> -- 
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



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


Mozilla, no running window. Firefox, even less...

2004-02-26 Thread epilogue

forgot to mention, i already tried a rebuild "WITHOUT_XFT=YES".  no dice.


--
Begin forwarded message:

Date: Thu, 26 Feb 2004 22:48:55 -0500
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mozilla, no running window.  Firefox, even less...


hello all,

alas, i haven't yet found the solution via google or mozillazine.org. 
here's the problem...

> mozilla-gtk2 
No running window found.
>

and nothing else happens.  with firefox, it's even worse.  i don't even get
the error message.  just nada.

i suspect that it has something to do with fonts, because i added some font
packages at the same time as i portupgraded mozilla (which was working
previously).

hoping that someone will spot the problem rather than having to uninstall
and test each font package...

> pkg_info | grep -i font
XFree86-FontServer-4.3.0_3 XFree86-4 font server
XFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fonts
XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files
XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts
Xft-2.1.2_1 A client-sided font API for X applications
artwiz-fonts-1.0_1  A set of free fonts for X11 desktops
bitstream-vera-1.10 Bitstream Vera TrueType font collection
code2000-1.13   Shareware demo Unicode TrueType font
fontconfig-2.2.90_4 An XML-based font configuration API for X Windows
freefonts-0.10_2A collection of ATM fonts (not all free) from the CICA
arch freetype-1.3.1_2A free and portable TrueType font rendering engine
freetype2-2.1.5_2   A free and portable TrueType font rendering engine
gucharmap-gnome-1.2.0_1 A Unicode/ISO10646 character map and font viewer
lfpfonts-fix-0.82   Fixed width fonts from the Linux Font Project
lfpfonts-var-0.83   Variable width fonts from the Linux Font Project
linux-urw-fonts-2.0_1 Truetype fonts for use with Linux programs
mkitalic-1.0Perl script to make BDF font italic
mplayer-fonts-0.50  A font pack for the mplayer OSD and SUB
nexfontsel-3.0  A neXtaw based replacement for xfontsel
nucleus-0.77_2  Another font package for X
p5-type1inst-0.6.1  A script that helps install Postscript fonts in X
Window Sy ppantsfonts-0.7 A set of small angular fonts
sgifonts-1.0.1  Fonts from the SGI ProPack 1.4 for Linux
sharefonts-0.10 A collection of shareware ATM fonts from the CICA
archives terminus-font-4.00_1 Terminus Font - a clean fixed width font
tkfont-1.1_2A Tk based replacement for xfontsel
ttmkfdir-0.0_1  Create fonts.scale file for use with TrueType font
server urwfonts-1.0Another font package for X
urwfonts-ttf-1.0.7b18 Unicode TrueType from URW extended by Valek Filippov
webfonts-0.21_1 TrueType core fonts for the Web

mozilla doesn't seem to build with debugging support by default, so i'm
going to try to rebuild it (yet again) and see if i can make anything of
the gdb info.

in the meantime, if anyone has a suggestion, i'm all ears.   :)


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


RE: Boot and MBR.

2004-02-26 Thread Mark Weisman
Just out of curiosity what is the order in creating a dual boot system?
Which operating system do you put on first? I see that having WinXP
setup in partitions is not a good idea, yet I'm not aware of how to load
the system in just a slice? I would appreciate any and all help in
trying to get this thing online. I need my workstation back as soon as
possible. Thanks.

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Mark Weisman 
Sent: Thursday, February 26, 2004 4:59 PM
To: Jerry McAllister
Cc: [EMAIL PROTECTED]
Subject: RE: Boot and MBR.


You are right, I have them setup originally under WinXP as partitions,
then added FreeBSD to the second partition where it calls it a slice.
Divided up the slice into the required folders. I have tested, and it is
not cosmetic, in that when I select that menu item, the computer goes to
the next row and stays indefinitely. I can put WinXP back on the
computer if I have to, however, wouldn't that put the WinXP MBR on the
box? I've gone in under fdisk and set the slice bootable, however
nothing. I'm not sure how to install it now to just that slice. Any help
would be greatly appreciated.

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 1:27 PM
To: Mark Weisman
Cc: [EMAIL PROTECTED]
Subject: Re: Boot and MBR.


> 
> I've got my primary drive divided in two partitions, one partition had

> WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP

> installed and working until I put FreeBSD on the second partition and
> had it take control of the MBR. I know that the other partition is 
> still bootable if I can get a pointer to it, currently the boot menu 
> shows it
> as:
>   F!: ??
>   F2: FreeBSD
> How can I get that first menu choice to look at the installation on
the
> first partition as bootable? Making the machine a dual boot between
the
> two system?

The fact that it displays ?? is only a cosmetic problem.
Have you tried selecting F1 to see if it will boot the XP slice?   
Mine does.

Also, a side issue, in FreeBSD land, what you have is a disk
with tw0 'slices' as apposed to partitions.   Probably you have
your FreeBSD slice divided up in to several 'partitions'.   MS calls
the primary divisions of a disk partitions, but in BSD UNIX land they
are called slices.

> The second question I have, is can I put the command startx into my
> rc.conf file to have it boot directly into the x-server? Any help on 
> these two would be awesome. Thanks.

I have not been successfule with that sort of thing.   Anyway, I 
don't think just putting it in rc.conf would do the trick because 
that just sets a bunch of variables in there.  Then the stuff is
actually run from rc (and some other places I think) using those 
variable values set in /etc/defaults/rc.conf and /etc/rc.conf..

I think you might not want your startx to fire off until after
you log in anyway.That would mean putting it in .login (if 
you have a csh or tcsh shell)  and that is what didn't work
for me, though I didn't try many variations.

But, someone else better weigh in on this.

jerry

> 
> Res Ipsa Loquitor,
> Mark-Nathaniel Weisman
> Site Master
> Mystic1.net
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 
> 

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


ruby upgrade broke portsdb and pkgdb (update )

2004-02-26 Thread Michael Sharp
seems I have no access to use anything in /usr/local/sbin/ even as root

I have a jail that does not have the ruby update done, and I can use the
executables in /usr/local/sbin within that jail.

I'm going to cvsup the ports in that jail, do the ruby upgrade and see if
I have access to the executables in /usr/local/sbin

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


Re: directories to exclude for backups

2004-02-26 Thread Jerry McAllister
> 
> My Plan is to make a gzipped tarball of the entire machine, excluding 
> directories that are not necessary. If however, there is a more sound 
> solution then tarballing a machine for a backup, Im all ears. I know 
> rsync is a possibility, but i'd like to have just a solid, non-active 
> archive copy of machines.

Unless you need to be portable across vendor OS I would be inclined
to prefer dump to tar.

jerry

> 
> EXCLUDE DIRECTORIES
> --
> /proc
> /dev
> /tmp
> /usr/ports/
> /var/tmp/
> 
> What else would be safe to exclude?
> 
> Thanks,
> -Ben
> 
> -- 
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


ssh/DNS timeout issue

2004-02-26 Thread Chris Johnson
I've installed FreeBSD-5.2.1-RELEASE on two different boxes, and they're both
exhibiting the same odd problem with DNS timeouts on ssh logins. Before you
say, "Fix your reverse DNS!," please hear me out.

When I make an ssh connection to one of these boxes, I get a password prompt
instantly--there's no delay at all. I watch the DNS server's log and I see the
reverse DNS request being asked and answered. After I enter the correct
password, however, I get the long delay, and as I watch the DNS server's log I
see the reverse DNS request being asked and answered repeatedly, but the answer
apparently isn't being received.

If I copy ~/.ssh/id_dsa.pub on the client to ~/.ssh/authorized_keys on the box
to which I'm trying to connect and then log in using public key authentication,
then I can log in without any DNS delays.

If I use opie passwords to log in, I get the same DNS delay. If, however, I
just hit Enter instead of entering my opie password until I'm presented with a
regular password prompt and then enter my password, then I can log in with no
DNS delay.

It occurs to me that the common denominator is PAM. When PAM becomes involved
with my logging in, I get the long delays. I changed
ChallengeResponseAuthentication to "no" in sshd_config, restarted sshd, and
sure enough the delays vanished. I need opie passwords, however, so this isn't
an option for me.

Everything in sshd_config is set to the default, except that I allow only
protocol 2.

Does anyone know what the deal is?

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


problems with 5.2.1 install

2004-02-26 Thread Daniel Fisher
I just did a clean install of 5.2.1 and I'm having several problems.

1) processes are getting stuck in ttywri

They eventually finish running, but the machine will sit for several minutes 
with no load.

2) I'm getting the kernel error: kern.maxpipekva exceeded,
   please see tuning(7)

I know I can up the value using sysctl, but I guess the default value is set 
too low.

3) I'm getting the error: Pipe call failed: Too many open
   files in system, when I do things like make clean.

Changing the kern.maxfiles doesn't seem to fix this problem.

Is anyone else seeing these sorts of problems?
Any pointers would be appreciated.
Thanks

--Daniel Fisher


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


Re: The sensitivity of the mouse

2004-02-26 Thread Kevin D. Kinsey, DaleCo, S.P.
Valerian Galeru wrote:

Hi all! How can I change the sensitivity of the mouse?
I am using the 4.9 release.
 

Read the manpage for moused(8),
and look for the -a option.  Any flag
you want could likely be added to
/etc/rc.conf.
If you're running KDE, or Gnome,
and maybe some other WM's, they
can do something similar for you.
In Gnome, it's Main Menu | Applications
| Desktop Preferences | Mouse
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NFS server usage

2004-02-26 Thread Charles Swiger
On Feb 26, 2004, at 4:57 PM, Michael Conlen wrote:
[ ... ]
The production system will use dual channel U320 RAID controllers with 
12 disks per channel, so disk shouldn't be an issue, and it will 
connect with GigE, so network is plenty fine, now I'm on to CPU.
Sounds like you've gotten nice hardware.  Four or so years ago, I built 
out a roughly comparible fileserver [modulo the progess in technology 
since then] on a Sun E450, which housed 10 SCA-form-factor disks over 5 
UW SCSI channels (using 64-bit PCI and backplane, though), and could 
have held a total of 20 disks if I'd filled it.  I mention this 
because...

Low volume tests with live data indicate low CPU  usage however when I 
best fit the graph it's dificult to tell how linear (or non linear) 
the data is. [ ... ] Does that kind of curve look accurate to you 
(anyone)?
...even under stress testing on the faster four-disk RAID-10 volume 
using SEAGATE-ST336752LC drives (15K RPM, 8MB cache), each on a 
seperate channel, with ~35 client machines bashing away, the fileserver 
would bottleneck on disk I/O without more than maybe 10% or 15% CPU 
load, and that was using a 400MHz CPU.

The notion that an NFS fileserver is going to end up CPU-bound simply 
doesn't match my experience or my expectations.  If you have 
single-threaded sequential I/O patterns (like running dd, or maybe a 
database), you'll bottleneck on the interface or maximum disk 
throughput, otherwise even with ~3.5 ms seek times, multi-threaded I/O 
from a buncha clients will require the disk heads to move around so 
much that you bottleneck at a certain number of I/O operations per 
second per disk, rather than a given bandwidth per disk.

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


RE: emailing trouble...

2004-02-26 Thread Remko Lodder
What are the errors?

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Xpression
Verzonden: donderdag 26 februari 2004 23:34
Aan: FreeBSD-questions
Onderwerp: emailing trouble...


Hi list, I've two servers, one running named and the Exim (MTA), the
second one running Apache and Squid, the trouble is that I want to send
mails through the second one to outside, but I can't, when I use:

second# mail [EMAIL PROTECTED] the mail fails and go to the root inbox,
and the same with any other user...any clue ??? Thanks...

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

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


Re: ftps server (ftp with SSL, not sftp)

2004-02-26 Thread Doug Hardie
On Feb 26, 2004, at 13:46, Dan Rue wrote:

Hey Gang,
I need to find a good drop in ftpd-ssl server.  Please don't tell me to
use sftp - I would love to but sometimes I don't get my druthers.  I 
see
there's a BSDftpd-ssl, and there's a couple others in ports - are any 
of
them widely used?  This is on a high traffic production server, so I
can't drop in some beta software and cross my fingers.
I am using BSDftpd-ssl on a production machine to provide restricted 
access to users' web pages.  It seems to work fine.  I have never 
encountered any problems with it.  However, I don't have many users 
with web pages so I wouldn't call this a high traffic feature.   I 
probably don't get more than a hand full of connections daily.

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


Re: web based configuration as root or equivalent

2004-02-26 Thread Kevin D. Kinsey, DaleCo, S.P.
Bjorn Eikeland wrote:

I'm wanting to make a web based configuration tool for my wireless 
routers
(setting up freebsd boxes to make a outdoor wlan) - ofcourse I can use 
ssh
and webmin, but the configuration should be made even easier for less
technical users.

I've read the how to use Webmin with apache, didnt quite folllow the
procedure, but bear with me..
chown scripts to root (chown -R root:root /var/www/cp)
chmod w/suid (chmod -R 755 /var/www/cp)
add -U flag to perl line, what does this do? is there a php knob like 
this?

What is the "perl line"?  What does it do?  PHP can certainly
do chmod and chown 
chown the scripts back to www (chown -R www:www /var/www/cp)
chmod rwx to www (chmod -R 700 /var/www/cp)
or am I stuck with compiling apache with D_BIG_SECURITY_HOLE?

thanks,
Bjorn


Your mailer, or some mailer between you and freebsd.org,
is one month off (in the past) ... some people may not see
your message for this reason...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2(x)-RELEASE panic booting

2004-02-26 Thread Guy Harrison
On Thursday 26 February 2004 15:20, you wrote:
> Guy Harrison <[EMAIL PROTECTED]> writes:
> > Hi Folks,
> >
> > Booting 5.2.1 from mini boot-only iso...
> >
> > [scrolled away]
> > pci_cfgintr; 0:16 INTA BIOS irq 5
> > pci_cfgintr; 0:18 INTA BIOS irq 11
> > pcib1:  at device 1.0 on pci 0
> > pci1:  on pcib1
> >
> > Fatal trap 12: page fault while in kernel mode
> > cpuid = 0 apic id = 00
> > fault virtual address = $dde1
> > fault code = supervisor read, page not present
> > instruction pointer = 0x8:0xc00fde07
> > stack pointer = 0x10:0xc0c21a1e
> > frame pointer = 0x10:0xc0c21aa8
> > code segment = base 0x0, limit 0x, type 0x1b
> >  =DPL 0, pres 1, def32 1, gran1
> > processor flags = interrupt enabled, resume, IOPL = 0
> > current process = 0 (swapper)
> > trap number = 12
> >
> > panic: page fault
> > [reboot 15 secs etc]
> >
> > Same thing occurs booting 5.2.1 off floppies. I tried 5.2.1 today
> > as identical issue occurs booting 5.2 (sorry didn't write those
> > values down). Hopefully of note is the fact 5.1-RELEASE boots fine.
> >
> > 
> > Processor   x86 Family 5 Model 8 Stepping 0 AuthenticAMD ~350 Mhz
> > BIOS VersionDMI Ver-2.0, Aug 24, 1995
> > Total Physical Memory   196,148 KB
> > 
> >
> > I did have a mobo PDF lurking somewhere which I'll try and dig out
> > if relevent (which it may be, seems to be a mixture of two MSI
> > pdf's).
>
> Do you get the same result if booting without ACPI?

Yes. I'm assuming here that the [default] boot option does not have ACPI 
enabled (if so, how to disable it?). The boot results are identical to 
when I select option 2 to boot with ACPI enabled.


-- 
Guy Harrison
[EMAIL PROTECTED]

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


Boot and MBR.

2004-02-26 Thread Mark Weisman
I've got my primary drive divided in two partitions, one partition had
WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP
installed and working until I put FreeBSD on the second partition and
had it take control of the MBR. I know that the other partition is still
bootable if I can get a pointer to it, currently the boot menu shows it
as:
  F!: ??
  F2: FreeBSD
How can I get that first menu choice to look at the installation on the
first partition as bootable? Making the machine a dual boot between the
two system?

The second question I have, is can I put the command startx into my
rc.conf file to have it boot directly into the x-server? Any help on
these two would be awesome. Thanks.

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net

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


FBSD 4.9 Download Issue

2004-02-26 Thread Bryan Cassidy
Hello. Been trying to download 4.9 so I can put it on my other box but
when downloading the iso (from any mirror) I get a error saying there
isnt enough space to download 49ebcty7.exe to /tmp. Whats going on? I
have the space. Here is the output from df -H

> df -H
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad4s1a   132M54M68M44%/
/dev/ad4s1f   264M   4.5M   239M 2%/tmp
/dev/ad4s1g26G   4.4G19G19%/usr
/dev/ad4s1e   264M63M   181M26%/var
procfs4.1K   4.1K 0B   100%/proc



pgp0.pgp
Description: PGP signature


Re: DHCP access

2004-02-26 Thread Marty Landman
At 02:08 PM 2/22/2004, Olaf Hoyer wrote:
On Sun, 22 Feb 2004, Marty Landman wrote:

> So the arp cache doesn't have nodes on it which it hasn't had activity from
> for a time?
Yes.
I struck out with upgrading nmap to 3.50 as well, and wanting to learn a 
little about shell scripting wrote this [doubtless poor example but I am a 
newbie to unix shells] which does work on my lan - taking about 15 seconds 
wall time to complete.

$ ./findIps
preparing pings
start pinging
1 is on the network
3 is on the network
7 is on the network
160 is on the network
240 is on the network
End of story
$ more findIps
#!/bin/bash
pingEm()
{
echo "preparing pings"
for((i=1;i<255;i++))
do
echo "ping -c1 192.168.0.$i > $$/$i &" >> pingEmAll.$$
done
echo "start pinging"
chmod +x pingEmAll.$$ && `./pingEmAll.$$`
}
findEm()
{
for((i=1;i<255;i++))
do
awk '/64 bytes from /' $$/$i > ans
awk '{ print length($0) }' ans > len
if [ `more len` ]
then
echo "$i is on the network"
fi
done
}
mkdir $$ && pingEm
findEm
rm -r $$ & rm pingEmAll.$$ ans len
echo End of story
$
Marty Landman   Face 2 Interface Inc.   845-679-9387
FormATable  DB: http://face2interface.com/Products/FormATable.shtml
Make a Website: http://face2interface.com/Home/Demo.shtml
Free Formmailer: http://face2interface.com/Products/Formal.shtml  

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


Re: hangs up on login prompt (very strange)

2004-02-26 Thread Kevin D. Kinsey, DaleCo, S.P.
JJB wrote:

>5.2 has completely new file system and is know to destroy data and
>hang causing you to reboot. Submit problem report about what
>happened to you. If you do not want to be exposed to this problem
>install 4.9
>

???
---
<[EMAIL PROTECTED]> [/home/kadmin] [13:47]
#uname -a
FreeBSD elisha.daleco.biz 4.9-PRERELEASE FreeBSD 
4.9-PRERELEASE #1: Mon Sep 22 22:02:53 CDT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
<[EMAIL PROTECTED]> [/home/kadmin] [13:47]
#mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)

<[EMAIL PROTECTED]> [/home] [13:48]
#uname -a
FreeBSD archangel.daleco.biz 5.2-RELEASE 
FreeBSD 5.2-RELEASE #5: Wed Jan 21 05:41:10 CST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
<[EMAIL PROTECTED]> [/home] [13:48]
#mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
---

Sounds rather alarmist; not to mention, it's not
*necessarily* true

Kevin Kinsey
DaleCo, S.P.

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


RE: Looking for ipfw info.

2004-02-26 Thread JJB


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Shaun T.
Erickson
Sent: Thursday, February 26, 2004 2:08 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Looking for ipfw info.

JJB wrote:

> The problem with all those links is that what they write about is
> outdated and complete mis-directs the reader into using IPFW's
> legacy stateless rules when only stateful rules should be used to
> get the max level of protection.

The rules she gives in her second article most certainly describe
creating a stateful firewall.

Yes for an firewall without an lan behind it


> They also completely ignore the
> problem ipfw has with stateful rules not working when the
> divert/naded subroutine call is used. IPFW has major legacy
> stateful/NAT bug and ipfilter does not.

Can you provide me with links to information that documents this?
There was a very long thread in this questions list that beat this
subject to death some time since the start of this year if I
remember correctly.



> Ipfilter provides an much
> higher level of protection in an LAN environment than IPFW can
ever
> do in it's current state. Even the openbsd pf port is an better
> firewall solution for a firewall with an LAN behind it then IPFW.

Please provide me with links to documentation that objectively
compares
them, so that I can weigh the merits of what you say.
You have to do you own home work and compare then your self like I
did.
Or take my word for it and say yourself a lot of leg work.
I have spent 18 months working on this subject before coming to this
conclusions.
This is not an stab in the dark put the result of much testing and
questioning on this list.
You can access this lists archives at
Then search the questions list archives at
http://docs.freebsd.org/mail/archive/2004/freebsd-questions/

Or select one of the other officially archives which may be more
appropriate
http://docs.freebsd.org/mail/archive/2004/

These official FBSD archives are not user friendly and do not have
search ability.
http://freebsd.rambler.ru/ has search ability but it does not
present the posts in thread form, but in individual posts which is
harder to navigate around.

This is the search URL I use,
http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&group=luck
y.freebsd.questions

It uses the lucky.freebsd.question news group, It's only 8 hours
behind the realtime activity on the FBSD questions list. It presents
the answers to your search in thread format. Be sure to click on
option to search within this newsgroup, or it will search all
newsgroups which dilutes the results.

When searching the archives don't bother going back further than 14
months, generally information older than that is outdated as it does
not reflect the current stable release.



> Please don't continue the FBSD's handbook mis-information about
IPFW
> being the only FBSD firewall solution or that it's the best
> solution. The handbook is also way behind in it's content being
> current and up to date.

As a new FreeBSD user, there's no way I could possibly know that,
now is
there? I simply passed along what I have found to be useful.

I still need to know the answer to my question about what changes I
need
to make to my kernel to support a firewall on my server.
There is no mandatory requirement to compile ipfw or ipfilter into
your kernel or that doing so provides any additional security.
The loadable module versions work just fine, and only takes one
comment in rc.conf and a reboot to disable.
www.a1poweruser.com  Is where you can purchase the complete results
of my in-depth research, as soon as I complete the buy now button
function. Check back in  a week.


-ste

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

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


Promise PDC20319 RAID issues

2004-02-26 Thread Jason Lixfeld
I've got 5.2.1-RELEASE installed on an AccelerTech AT02161-A board  
running a single 1.4Ghz Opteron.  The board has the PDC20319 onboard.   
I've got a Seagate 120GB drive attached to both SATA channels 2 and 3.   
The raid 1 array was created in the Promise bios and the OS was  
installed on the array ar0.  The machine boots up, sees the disks, sees  
the controller and sees the array no problem.  Everything looks good  
until I try to test the array.  I yank out any of the two drives and  
the machine freezes after a few seconds.  No error messages, no  
nothing.

Is there in fact a problem or do I have unrealistic expectations of the  
raid's capabilities?

su-2.05b# uname -a
FreeBSD eshara.ebit.ca 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #21: Wed Feb  
25 14:52:21 EST 2004  
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ESHARA  amd64
su-2.05b# cat /usr/src/sys/amd64/conf/ESHARA | grep ^[a-zA-Z0-9]
machine amd64
cpu HAMMER
ident   ESHARA
makeoptions DEBUG=-g# Build kernel with gdb(1)  
debug symbols
makeoptions NO_MODULES=not_yet  # -jlixfeld: this will break  
the kernel
options SCHED_ULE   # ULE scheduler
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates  
support
options CD9660  # ISO 9660 Filesystem
options IA32# Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time  
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options INVARIANTS  # Enable calls of extra sanity  
checking
options INVARIANT_SUPPORT   # Extra sanity checks of  
internal structures, required by INVARIANTS
device  atpic   # 8259A compatability
options NO_MIXED_MODE   # Don't penalize working chipsets
device  isa
device  pci
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
options ATA_STATIC_ID   # Static device numbering
device  scbus   # SCSI bus (required for SCSI)
device  da  # Direct Access (disks)
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  vga # VGA video card driver
device  splash  # Splash screen and screen saver support
device  sc
device  sio # 8250, 16[45]50 based serial ports
device  miibus  # MII bus support
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  random  # Entropy device
device  loop# Network loopback
device  ether   # Ethernet support
device  pty # Pseudo-ttys (telnet etc)
device  bpf # Berkeley packet filter
device  ohci# OHCI PCI->USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# "Human Interface Devices"
device  ukbd# Keyboard
device  umass   # Disks/Mass storage - Requires scbus  
and da
options COMPAT_43   # Compatible with BSD 4.3 [KEEP  
THIS!]
device  gre # GRE & MOBILE Tunnel Support
options SUIDDIR
options HW_WDOG
options WATCHDOG
options PANIC_REBOOT_WAIT_TIME=16
options RANDOM_IP_ID
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
options MROUTING# Multicast routing
options PIM # Protocol Independent Multicast
options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by  
default # TEMP
options DUMMYNET
options UFS_EXTATTR
options UFS_EXTATTR_AUTOSTART
options UFS_ACL
options UFS_DIRHASH
device  random
optionsIPSEC   #IP security
optionsIPSEC_ESP   #IP security (crypto; define w/  
IPSEC)
optionsIPSEC_DEBUG #debug for IP security
su-2.05b# dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All ri

dumps freeze when invoked by amanda's 'sendbackup'

2004-02-26 Thread John Fox
Hello,

I've found some strange behavior on one of our FreeBSD 2.2.2 machines,
and am hoping that someone here may be able to shed some light on it
for us.

As mentioned, the machine is running FreeBSD 2.2.2 and AMANDA 2.4.0.

A while back, we noticed that dumps of the machines '/usr' partition
seemed to freeze as soon as they were started; the 'dump' processes
appeared in 'ps' output, but they stayed there all day long (our backups
typically finish by around 10:00 AM at the latest).  At the same time,
dmesg showed us "hard errors" reading from /dev/sd0s1g (the partion
holding "/usr"). We eventually killed the dumps.

As a test, we then tried a manual dump.  I was able to successfully
dump that same file system over the network to a drive on another
machine.  

It seemed wierd that a manual dump went fine, but that the dumps
spawned by 'sendbackup' did not go at all.  However, as I mentioned,
we'd seen that drive error, so we removed all of that machine's sd0
partitions from amanda's disklist (system has two other drives, and
backups went fine for them)  until we could get the drive replaced,
which we did last night.

Replacement of drive went just fine, and once we'd verified everything
was up and running properly, I edited the disklist file and re-enabled
backups of the machine's '/usr'.

I got in this morning and found that again, the dumps are frozen.  

'dmesg' shows nothing except the boot-up messages.

I'm rather frustrated at this point, trying to understand how this could
be happening.

I have checked permissions on the device files, and 'bin', the user
amanda runs as on that machine, is a member of the operator group,
which has read access to the device files, so it doesn't seem a permissions
problem.

I doubt it's a drive problem, because the same behavior on two different
drives by two different manufacturers?  I suppose it's possible, but it
seems unlikely.

I should mention as well that all drives on system are SCSI 2 50 pin format,
under the control of an Adaptec 2940 controller card.

So if it's not permissions, and not the drive (although I realize that I 
haven't really ruled either of these entirely out) then might it be the 
controller?  But if it's the controller, why no problems with other drives
in system?

Any thoughts would be most welcome.

-John
--
+---+
| John Fox|System Administrator   | InfoStructure   |
+---+
| I used to trust the media to tell me the truth, tell us the truth |
| But now I've seen the payoffs everywhere I look   |
| Who can you trust when everyone's a crook?|
| -- Queensryche, "Revolution Calling"  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Looking for ipfw info.

2004-02-26 Thread Shaun T. Erickson
JJB wrote:

The problem with all those links is that what they write about is
outdated and complete mis-directs the reader into using IPFW's
legacy stateless rules when only stateful rules should be used to
get the max level of protection.
The rules she gives in her second article most certainly describe 
creating a stateful firewall.

They also completely ignore the
problem ipfw has with stateful rules not working when the
divert/naded subroutine call is used. IPFW has major legacy
stateful/NAT bug and ipfilter does not.
Can you provide me with links to information that documents this?

Ipfilter provides an much
higher level of protection in an LAN environment than IPFW can ever
do in it's current state. Even the openbsd pf port is an better
firewall solution for a firewall with an LAN behind it then IPFW.
Please provide me with links to documentation that objectively compares 
them, so that I can weigh the merits of what you say.

Please don't continue the FBSD's handbook mis-information about IPFW
being the only FBSD firewall solution or that it's the best
solution. The handbook is also way behind in it's content being
current and up to date.
As a new FreeBSD user, there's no way I could possibly know that, now is 
there? I simply passed along what I have found to be useful.

I still need to know the answer to my question about what changes I need 
to make to my kernel to support a firewall on my server.

	-ste

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


RE: Looking for ipfw info.

2004-02-26 Thread JJB
The problem with all those links is that what they write about is
outdated and complete mis-directs the reader into using IPFW's
legacy stateless rules when only stateful rules should be used to
get the max level of protection. They also completely ignore the
problem ipfw has with stateful rules not working when the
divert/naded subroutine call is used. IPFW has major legacy
stateful/NAT bug and ipfilter does not. Ipfilter provides an much
higher level of protection in an LAN environment than IPFW can ever
do in it's current state. Even the openbsd pf port is an better
firewall solution for a firewall with an LAN behind it then IPFW.

Please don't continue the FBSD's handbook mis-information about IPFW
being the only FBSD firewall solution or that it's the best
solution. The handbook is also way behind in it's content being
current and up to date.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Shaun T.
Erickson
Sent: Thursday, February 26, 2004 1:20 PM
To: [EMAIL PROTECTED]
Subject: Re: Looking for ipfw info.

I wrote:

> I have read the following 5 excellent articles on ipfw, by Dru
Lavigne.

I forgot to include the links. Here they are:

BSD Firewalls: IPFW
http://www.onlamp.com/pub/a/bsd/2001/04/25/FreeBSD_Basics.html

BSD Firewalls: IPFW Rulesets
http://www.onlamp.com/pub/a/bsd/2001/05/09/FreeBSD_Basics.html

BSD Firewalls: Fine-Tuning Rulesets
http://www.onlamp.com/pub/a/bsd/2001/06/01/FreeBSD_Basics.html

IPFW Logging
http://www.onlamp.com/pub/a/bsd/2001/06/21/FreeBSD_Basics.html

Monitoring IPFW Logs
http://www.onlamp.com/pub/a/bsd/2001/07/05/FreeBSD_Basics.html

-ste

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

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


USB Wireless card -

2004-02-26 Thread Derrick
I picked up one of these :
http://www.pcchipsusa.com/prod-usbwirelesslanadaptor.asp

(nice deal, buy for 29.95, and get a 29.95 rebate.)
i know the Intersil Prism 3.0 is supported, on some wi - but is this
device supported? I don't think it is, but am just wanting to confirm

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


Re: Developmet in FreeBSD

2004-02-26 Thread Dan Nelson
In the last episode (Feb 26), [EMAIL PROTECTED] said:
> I can't compile sample filter for sendmail. This sample writing in
> doc with sandmail, but I can't compile it. What I missing ?
> 
> (off topic) Where I can ask question about developing more ?
> 
> cc sample.c
> /tmp/ccoPD8c2.o: In function `mlfi_connect':
> /tmp/ccoPD8c2.o(.text+0x47): undefined reference to `smfi_setpriv'
> /tmp/ccoPD8c2.o(.text+0x5b): undefined reference to `smfi_getsymval'

Make sure you have -lmilter on your link line.  libmilter provides the
smfi_* functions.

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


Developmet in FreeBSD

2004-02-26 Thread cyberserg
Hello All,

I can't compile sample filter for sendmail. This sample writing in doc with
sandmail, but I can't compile it. What I missing ?

(off topic) Where I can ask question about developing more ?

cc sample.c
/tmp/ccoPD8c2.o: In function `mlfi_connect':
/tmp/ccoPD8c2.o(.text+0x47): undefined reference to `smfi_setpriv'
/tmp/ccoPD8c2.o(.text+0x5b): undefined reference to `smfi_getsymval'
/tmp/ccoPD8c2.o: In function `mlfi_helo':
/tmp/ccoPD8c2.o(.text+0xc3): undefined reference to `smfi_getpriv'
/tmp/ccoPD8c2.o(.text+0xda): undefined reference to `smfi_getsymval'
/tmp/ccoPD8c2.o: In function `mlfi_envfrom':
/tmp/ccoPD8c2.o(.text+0x1be): undefined reference to `smfi_getpriv'
/tmp/ccoPD8c2.o(.text+0x1d5): undefined reference to `smfi_getsymval'
/tmp/ccoPD8c2.o: In function `mlfi_envrcpt':
/tmp/ccoPD8c2.o(.text+0x366): undefined reference to `smfi_getpriv'
/tmp/ccoPD8c2.o(.text+0x37d): undefined reference to `smfi_getsymval'
/tmp/ccoPD8c2.o: In function `mlfi_header':
/tmp/ccoPD8c2.o(.text+0x493): undefined reference to `smfi_getpriv'
/tmp/ccoPD8c2.o: In function `mlfi_eoh':
/tmp/ccoPD8c2.o(.text+0x4e6): undefined reference to `smfi_getpriv'
/tmp/ccoPD8c2.o: In function `mlfi_body':
/tmp/ccoPD8c2.o(.text+0x532): undefined reference to `smfi_getpriv'
/tmp/ccoPD8c2.o: In function `mlfi_eom':
/tmp/ccoPD8c2.o(.text+0x5d4): undefined reference to `smfi_addrcpt'
/tmp/ccoPD8c2.o: In function `mlfi_cleanup':
/tmp/ccoPD8c2.o(.text+0x644): undefined reference to `smfi_getpriv'
/tmp/ccoPD8c2.o(.text+0x77a): undefined reference to `smfi_addheader'
/tmp/ccoPD8c2.o: In function `mlfi_close':
/tmp/ccoPD8c2.o(.text+0x82e): undefined reference to `smfi_getpriv'
/tmp/ccoPD8c2.o(.text+0x893): undefined reference to `smfi_setpriv'
/tmp/ccoPD8c2.o: In function `main':
/tmp/ccoPD8c2.o(.text+0x96e): undefined reference to `smfi_setconn'
/tmp/ccoPD8c2.o(.text+0xa70): undefined reference to `smfi_settimeout'
/tmp/ccoPD8c2.o(.text+0xbb2): undefined reference to `smfi_register'
/tmp/ccoPD8c2.o(.text+0xbe5): undefined reference to `smfi_main'



-- 
Best regards,
 cyberserg  mailto:[EMAIL PROTECTED]


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


Re: Looking for ipfw info.

2004-02-26 Thread Shaun T. Erickson
I wrote:

I have read the following 5 excellent articles on ipfw, by Dru Lavigne. 
I forgot to include the links. Here they are:

BSD Firewalls: IPFW 
http://www.onlamp.com/pub/a/bsd/2001/04/25/FreeBSD_Basics.html

BSD Firewalls: IPFW Rulesets 
http://www.onlamp.com/pub/a/bsd/2001/05/09/FreeBSD_Basics.html

BSD Firewalls: Fine-Tuning Rulesets 
http://www.onlamp.com/pub/a/bsd/2001/06/01/FreeBSD_Basics.html

IPFW Logging http://www.onlamp.com/pub/a/bsd/2001/06/21/FreeBSD_Basics.html

Monitoring IPFW Logs 
http://www.onlamp.com/pub/a/bsd/2001/07/05/FreeBSD_Basics.html

	-ste

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


Re: Looking for ipfw info.

2004-02-26 Thread Shaun T. Erickson
Thanks for the resources.

A couple of questions (because I'm new to FreeBSD):

The ipfw man page in 5.2.1-RELEASE says that ipfw in CURRENT is ipfw2 
and that ipfw in STABLE is ipfw1. I still don't understand the 
releationship between RELEASE and the other two, so I am not sure which 
ipfw I have in 5.2.1-RELEASE.

I have read the following 5 excellent articles on ipfw, by Dru Lavigne. 
Even though they were written in 2001, and thus pre-date ipfw2, I found 
them to be a great crash course in ipfw, and the ipfw manpage in 
5.2.1-RELEASE just adds to it.

In Dru's first article, she(?) discusses how the kernel must be modified 
to support a firewall. She looks into /usr/src/sys/i386/conf/LINT to 
find the relevant information that needs to be added to my kernel conf 
file. I cannot find a LINT file on my 5.2.1-RELEASE system. Where can I 
find complete information on what I need to do to my kernel?

TIA

	-ste

P.S.: I find that ipfw rules are far more human-readable than I thought, 
and when comparing my linux server's ipchains rules to 
/etc/rc.firewall's "simple" firewall rules, I found them to be very 
similar. :)

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


hangs up on login prompt (very strange)

2004-02-26 Thread Zhang Weiwu
Tonight I was reading a webpage, I found the whole X window suddenly 
doesn't acceput keyboard input any more (mouse works). So I use mouse 
rebooted the computer. That is a Thinkpad T40 running FreeBSD 5.2

After reboot the whole system hangs up at "Login name" prompt (even in 
"verbose mode"). Ping this box from other computer gets timeouts. I boot 
into single user mode, disabled gdm in single user mode but next boot I 
still hang at "Login name"

I also tried to disable all getty but the box hangs right before "Login 
name" prompt. I (in single user mode) turned off every service in rc.conf, 
renamed /usr/local/rc.d but nothing changed.

Now I'm backing up all my 40GB data in single user mode through 10MB LAN, 
it is midnight I hope next morning everything are backed up and I can 
reinstall FreeBSD and get a working system. But what part do you think in 
my box made it hangs?

_
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  

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


Re: 5.2 IDE to SCSI upgrade

2004-02-26 Thread Harald Schmalzbauer
Am Donnerstag, 26. Februar 2004 13:52 schrieb J.D. Bronson:
> I need some help and it might not be related to FreeBSD, but I am hoping
> someone can offer me advise.
>
> I did a full install of 5.2 on IDE and still have the generic kernel.
> Fbsd sees my scsi card just fine :)
>
> (Adaptec 29160LP)+ IBM eServer X305
>
> ..Problem is, that when I fire up the machine with the scsi drive attached,
> it tries to boot off of that instead of the IDE drive...Well that drive
> still contains another *BSD ...
>
> I have tried to setup the IBM BIOS to boot off of DISK0 or DISK1 and
> nothing works
>
> What can I do so that I can boot off the IDE with the SCSI drive attached!?
> ..from there, I can slice/dice and dump/restore and finish my conversion
> over to the SCSI drive...
>
> Any thoughts? - Thanks!

If the BIOSes are crappy, try a bootloader. I can recommend GAG since you can 
boot it from floppy without the need to touch any hard drive. Once you solved 
your problem, just remove the floppy or if you're happy with GAG install it 
on hd.
Link: http://gag.sourceforge.net/

-Harry

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


pgp0.pgp
Description: signature


Re: X-4.3.0_6 not building from /usr/ports

2004-02-26 Thread Noah

> >
> > in fact here are all the packages installed:
> 
> You have somewhat of a mess. From my machine, you should only have 
> python-2.3.3_2 installed. You have 5 installed and none of them are 
> the latest. It also looks like you wild card installed p5-* ports. 
> You have at least 3x more than I have installed. If I am wrong smile 
> because I don't know any better :). If I am right, delete the ones 
> you don't need and then smile :).
> 
> No matter how bad it gets, a pkg_delete -a will do wonders. I have 
> been known to do that on several occasions. If you don't have a clue 
> what is happening, wipe and start clean and do the installs very 
> carefully. Sometimes, you have a clue, and nothing works. The clean 
> start will frequently work wonders. This is especially true if you 
> do the installs using the meta-ports. The meta-port installs are 
> really handy on XFree86 or major upgrades to things like KDE.
> 
> Nothing special stood out in your systems but I could see a lot of 
> little things. They can add up.



Kent,

okay I did a pkg_delete -a on the machine and I am slowly rebuilding things
right now.  now this is really interesting.  

while I am building afbackup-client it is attempting to build X11 libraries or
something look - it went into the same routine.  there must be something
really hosed on my machine - any other clues please?

--- snip ---
making Makefiles in nls/XI18N_OBJS...
imake: not found
*** Error code 127

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/nls.
make: don't know how to make Makefiles. Stop
+ mkdir -p /usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11
+ cd /usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11
+ rm -f DECkeysym.h
+ ln -s ../../../include/DECkeysym.h .
+ rm -f HPkeysym.h
+ ln -s ../../../include/HPkeysym.h .
+ rm -f Sunkeysym.h
+ ln -s ../../../include/Sunkeysym.h .
+ rm -f X.h
+ ln -s ../../../include/X.h .
+ rm -f XF86keysym.h
+ ln -s ../../../include/XF86keysym.h .
+ rm -f XWDFile.h
+ ln -s ../../../include/XWDFile.h .
+ rm -f Xalloca.h
+ ln -s ../../../include/Xalloca.h .
+ rm -f Xarch.h
+ ln -s ../../../include/Xarch.h .
+ rm -f Xatom.h
+ ln -s ../../../include/Xatom.h .
+ rm -f Xdefs.h
+ ln -s ../../../include/Xdefs.h .
+ rm -f Xfuncproto.h
+ ln -s ../../../include/Xfuncproto.h .
+ rm -f Xfuncs.h
+ ln -s ../../../include/Xfuncs.h .
+ rm -f Xmd.h
+ ln -s ../../../include/Xmd.h .
+ rm -f Xos.h
+ ln -s ../../../include/Xos.h .
+ rm -f Xos_r.h
+ ln -s ../../../include/Xos_r.h .
+ rm -f Xosdefs.h
+ ln -s ../../../include/Xosdefs.h .
+ rm -f Xpoll.h
+ ln -s ../../../include/Xpoll.h .
+ rm -f Xproto.h
+ ln -s ../../../include/Xproto.h .
+ rm -f Xprotostr.h
+ ln -s ../../../include/Xprotostr.h .
+ rm -f Xthreads.h
+ ln -s ../../../include/Xthreads.h .
+ rm -f ap_keysym.h
+ ln -s ../../../include/ap_keysym.h .
+ rm -f keysym.h
+ ln -s ../../../include/keysym.h .
+ rm -f keysymdef.h
+ ln -s ../../../include/keysymdef.h .
including in include/bitmaps...
make: don't know how to make includes. Stop
*** Error code 2

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/include.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries.
*** Error code 1

Stop in /usr/ports/x11-toolkits/tk83.
*** Error code 1

Stop in /usr/ports/misc/afbackup-client.

--- snip 

here is what is build after the afbackup build

 pkg_info  [/usr/ports/misc/afbackup-client]
apache+mod_ssl-1.3.29+2.8.16 The Apache 1.3 webserver with SSL/TLS functionality
expat-1.95.6_1  XML 1.0 parser written in C
fontconfig-2.2.90_4 An XML-based font configuration API for X Windows
freetype2-2.1.5_2   A free and portable TrueType font rendering engine
gettext-0.13.1  GNU gettext package
gmake-3.80_2GNU version of 'make' utility
imake-4.3.0_2   Imake and other utilities from XFree86
libiconv-1.9.1_3A character set conversion library
libtool-1.3.5_2 Generic shared library support script (version 1.3)
mm-1.3.0Shared memory allocation library for pre-forked process mod
perl-5.8.2_5Practical Extraction and Report Language
pkgconfig-0.15.0_1  A utility used to retrieve information about installed libr
tcl-8.3.5_2 Tool Command Language


> 
> Kent
> 
> > > Kent
> > >
> > > > - Noah
> > > >
> > > >
> > > > FreeBSD-4.9-STABLE
> > > >
> > > >
> > > > okay I have placed XFree86 on two other FreeBSD boxes but there
> > > > is a stubborn box not allowing it.
> > > >
> > > > I have deinstalled all XFree86 related programs.  re-cvsup'ed
> > > > both /usr/ports/imake-4 and /usr/ports/x11 directories
> > > > completely.  and this is what the 'make install clean' from
> > > > /usr/ports/x11/XFree86-4 is resulting.  I found similar
> > > > situations from a google search but each was solved by
> > > > re-cvsup'ing the above directories.
> > > >
> > > > Have "XFREE86_VERSION=4" in /etc/make.conf
> > > >
> > > > I have no clue what is going on here.  What is so hosed?
> > > >
> > > >
> > > > ===>   XFree86-4.

Nice Renice Verynice

2004-02-26 Thread Eric Toll
Greetings all, I'm on 4.7 release (patched)

I saw a program Verynice (http://tam.cornell.edu/~sdh4/verynice/) which
is is a tool for dynamically adjusting the nice-level of processes under
UNIX-like operating systems.

I was wondering if there was a better way to go about making all
processes that a partuclar user runs altered to say -15 value.  (Greater
Priority) I can do a "renice -15 -u username" which works fine for
current running processes, but when one process ends and another process
is started under that same username the nice level reverts to back to
default (0).

My Question:  How do I permanemtly alter the priority for everything a
particular user runs?
Should I just schedule a cron job for every 60 seconds that renices the
user that I want?


Thanks much,

Eric



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


RE: Problem with sed and awk - SOLVED

2004-02-26 Thread Roubíček Zdeněk (T-Systems PragoNet)

 Sorry for not very clearly formulated question. I wrote those commands by hand and 
obviously with lot of errors.

> 
> > >awk -F ' FS=";" {print $1}'
> > 1;1
> > 2
> 
> Don't use the -F option if you are setting the field separator inside
> the code.
> 

 This was a mistake. 

The problem is solved by 
awk 'BEGIN{FS=";"}{print $1}' testfile 

as suggested by Dough Poland. 

Thx for the replies.

 r.

Zdenek Roubicek

Department of Network Management
T-Systems PragoNet, a.s.
Na Pankráci 1685/19,140 21 Prague 4
Phone : +420 2 3609 9615
Fax   : +420 2 3609 
E-Mail: [EMAIL PROTECTED]

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


Error on create new slice

2004-02-26 Thread Chan Seng Loong
hi

I having an error on create a new slice.

well, I trying to install freebsd 5.1 on my
primary(master) hard drive, which already contain 2 os
which are Linux RH 9.0 and windows 2000 pro

I try to create a new slice on the unused partion and
the partion name should be ad0h or ad0 something
but it turn out to be "x" this give me an error
message of "unable to find device node for dev/x from
dev/ ..."

Thanks


__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Updated BSD Website

2004-02-26 Thread zam4ever
Hi,

>From my previous post :
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-January/032181.html

I got a lot of replies for this topic, and it is my job to update the
record.

Since it is a very long list, so I'll not paste the output here. You can
view at these sites:

http://staff.mybsd.org.my/zam4ever/
http://staff.mybsd.org.my/zam4ever/www/link/bsdlink.htm

Got another site?

cheers

--
If something looks like a duck, walks like a duck, and quacks like a duck,
what is it?

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


Sysinstall XF86Config

2004-02-26 Thread Gareth Bailey
I was wondering why sysinstall /Config/XFree86Config only lists some of the graphics 
drivers available. After some time i found the correct driver from additional drivers 
that appeared when i ran xf86config from the command line.

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


Re: ruby ( final answer )

2004-02-26 Thread Kris Kennaway
On Thu, Feb 26, 2004 at 10:03:36PM -0800, Kent Stewart wrote:
> On Thursday 26 February 2004 09:15 pm, Kris Kennaway wrote:
> > On Thu, Feb 26, 2004 at 09:13:54PM -0800, Kent Stewart wrote:
> > > > Probably not..the update to which you refer was committed earlier
> > > > today.
> > >
> > > It looks like ruby has been updated to 1.8 and we have a situation
> > > like gettext. I deleted ruby-* and portupgrade and reinstalled
> > > portupgrade. The problem went away.
> >
> > That was the advice given by knu in the commit message, which I
> > recommended be added to the CHANGES file as a pointer to users.
> >
> 
> 
> I tried the -rf devel/ruby16way from the commit and portupgrade said it 
> didn't exist. The pkg_delete of portupgrade and ruby* and then build 
> portupgrade is the only thing that worked for me.

Again, please report this to knu :)

Kris


pgp0.pgp
Description: PGP signature


Re: burncd + 5.2

2004-02-26 Thread Lowell Gilbert
Martin Vana <[EMAIL PROTECTED]> writes:

> I've got problems blanking/burning cds on my teac cd writer, burncd will
> fall into nanslp and stop responding:
>  1288K   624K nanslp   0:01  0.00%  0.00% burncd
> I know that this was an issue a while ago but is it fixed yet?
> How to fix it?

I've had problems like that when the drive hardware itself is hanging
up and stops responding to commands.  Most often, it's triggered by
bad media.  I took enough of a look at it to see that there isn't much
the OS can do about it (however, -STABLE has had some recent
improvements -- within the last few months, anyway -- that reduce the
impact on other system functionality).  So for me, anyway, I've
written it off as a price of cheap hardware.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gettext probs on 4.9

2004-02-26 Thread Lowell Gilbert
siraj kutlusan <[EMAIL PROTECTED]> writes:

> when i first installed freebsd 4.9 (stable) i had major probs with
> gettext. i had to reinstall my freebsd and while installing not install
> anything that needed gettext and then afterthe install i had to compile
> anything that i wanted that wasnt already there after doing a cvsup.
> will this problem be solved in the next version of freebsd? and also are
> there any gettext problems in freebsd 5.2.1 at the moment with gettext

gettext is fine.

If you upgrade gettext across a major version boundary, you have to
rebuild everything that depends on gettext.  There's nothing that
FreeBSD can do about that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Running virus scanner on FreeBSD Samba server

2004-02-26 Thread Dan Pelleg
Gunnar Flygt <[EMAIL PROTECTED]> writes:

> Has anyone any experience from running any virus scanners on a FreeBSD
> Samba server? The server is serving mostly MS-workstations, so the
> scanner should be proficient in finding the most common viruses in the
> M$ world.
> 
> Any information is of value, and please CC me, since the information
> flow on Questions is so high that it's hard to follow.
> 

Use clamav (in the ports).


-- 

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


RE: stateful firewall

2004-02-26 Thread JJB
You have run into the IPFW legacy divert/nated subroutine bug. IPFW
stateful rules and divert/nate do not work together. IPFW stateful
rules only work in non-NATed environment. You need to use
IPFILTER/IPNAT the other firewall software application which is
built into FBSD. The FBSD handbook does not even tell you that FBSD
has more than one firewall. Smart move to want an stateful firewall
they provide the max in protection.

see, http://www.obfuscation.org/ipf/ipf-howto.html#TOC_1

http://coombs.anu.edu.au/~avalon/ip-filter.html

To see the FAQ  http://www.phildev.net/ipf/index.html

I use ipfilter and do exactly what you want. IF you want copy of my
rules let me know.





As of July 2003 the OpenBSD firewall software application named PF
was ported to FBSD. It's scheduled to become the third firewall
software application delivered with the FBSD install with the next
stable production release.
You can find it in the FBSD ports collection here

http://www.freebsd.org/cgi/ports.cgi?query=pf&stype=all&release=4.9-
STABLE%2Fi386

More Info can be found here
http://pf4freebsd.love2party.net/index.html


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mihai Marie
Sent: Thursday, February 26, 2004 3:12 AM
To: [EMAIL PROTECTED]
Subject: stateful firewall

Hello,

I want to setup a firewall (on my LAN's gateway) so that the only
traffic that pass through is the one initiated from my local network
(we
have public IP's).

My firewall looks like this

ipfw add check-state
ipfw add deny tcp from any to any established
ipfw add allow tcp from $my_lan to any setup keep-state

The problems appear when I want to make some ftp traffic with a
server
that is outside (or any other traffic that tries to open a new
separated
connection in relation with the one initiated from our LAN).

With iptables (in redhat) you can do:

iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

but I don't know how can I do something like this using ipfw or
another
firewall on FreeBSD.

Any help would be appreciated,

Mihai Marie

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

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


Re: Problem with sed and awk

2004-02-26 Thread Doug Poland

Roubíèek Zdenìk (T-Systems PragoNet) said:
>
>  Any idea what I am missing?
>
>>cat test
> 1;1
> 2;2
>>awk -F ';' '{print $1}'
> 1
> 2
>>awk -F ' FS=";" {print $1}'
> 1;1
> 2
>>
>

awk 'BEGIN{FS=";"}{print $1}' test


-- 
Regards,
Doug

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


Problem with sed and awk

2004-02-26 Thread Roubíček Zdeněk (T-Systems PragoNet)

 Hello questions

 Any idea what I am missing?

>cat test
1;1
2;2
>awk -F ';' '{print $1}'
1
2
>awk -F ' FS=";" {print $1}'
1;1
2
>

awk --version
GNU Awk 3.0.6
Copyright (C) 1989, 1991-2000 Free Software Foundation.

uname -rs
FreeBSD 4.9-STABLE

Regards, rouba

 PS: Please cc: since I am not subscribed to this list.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: install/update ports

2004-02-26 Thread Ion-Mihai Tetcu
On Thu, 26 Feb 2004 13:05:06 +0100
Lutz Kittler <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I use FreeBSD-4.9 and have some troubles with portupdate.
> Today I updated the ports with
> 
>  cvsup /etc/cvs-ports
> 
> ( see Files and Directory Listings below ).
> I wanted to install nagios and got problems. Portupgrade
> tried to install from net/nagios and net/net-snmp and there
> are errors because only the Makefile are there.
> These ports have beend moved to net-mgmt as I can see in MOVED.
> So I have some questions :
> 
> 1. Which of the INDEX*-Files from /usr/ports is used by portupgrade/
>portinstall and "make search" ?

INDEX since you are on 4.x



-- 
IOnut
Unregistered ;) FreeBSD user

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


install/update ports

2004-02-26 Thread Lutz Kittler
Hi,

I use FreeBSD-4.9 and have some troubles with portupdate.
Today I updated the ports with

 cvsup /etc/cvs-ports

( see Files and Directory Listings below ).
I wanted to install nagios and got problems. Portupgrade
tried to install from net/nagios and net/net-snmp and there
are errors because only the Makefile are there.
These ports have beend moved to net-mgmt as I can see in MOVED.
So I have some questions :

1. Which of the INDEX*-Files from /usr/ports is used by portupgrade/
   portinstall and "make search" ?
2. These Files seems not be updated , why ?
3. Is it right that directories of old net-ports exist and contain
   Makefile ? If it isnt, how can I update the ports-tree to the
   right structure ?

Thanks ,Lutz


bash-2.05a#cat /etc/cvs-ports
*default  host=kastor2
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_4
*default  delete use-rel-suffix

*default tag=.
ports-all

bash-2.05a# ls -lt /usr/sup/ports-all/
-rw-r--r--  1 root  wheel  10977893 26 Feb 11:37 checkouts.cvs:.

bash-2.05a# ls -l INDEX*
-rw-r--r--  1 root  wheel  4761293 19 Feb 12:18 INDEX
-rw-r--r--  1 root  wheel  4436222 16 Feb 10:39 INDEX-5
-rw-r--r--  1 root  wheel  9975808 19 Feb 12:25 INDEX.db
-rw-r--r--  1 root  wheel  2746434  6 Aug  2002 INDEX~

bash-2.05a# ls -l  net*/net-snmp
net-mgmt/net-snmp:
total 26
-rw-r--r--  1 root  wheel   5348 24 Feb 09:33 Makefile
-rw-r--r--  1 root  wheel 61 18 Nov 04:18 distinfo
drwxr-xr-x  2 root  wheel   1024 17 Feb 08:36 files
-rw-r--r--  1 root  wheel401 21 Dez 14:48 pkg-descr
-rw-r--r--  1 root  wheel695 31 Okt 15:17 pkg-message
-rw-r--r--  1 root  wheel  11813 21 Dez 14:48 pkg-plist

net/net-snmp:
total 6
-rw-r--r--  1 root  wheel  5314  8 Jan 11:28 Makefile
bash-2.05a# ls -l  net*/nagios*
net-mgmt/nagios:
total 22
-rw-r--r--  1 root  wheel   3065 24 Feb 09:33 Makefile
-rw-r--r--  1 root  wheel 59 11 Feb 05:56 distinfo
drwxr-xr-x  2 root  wheel512 17 Feb 08:36 files
-rw-r--r--  1 root  wheel677 29 Mai  2002 pkg-descr
-rw-r--r--  1 root  wheel  11023  7 Apr  2003 pkg-plist

net-mgmt/nagios-plugins:
total 12
-rw-r--r--  1 root  wheel  1259 24 Feb 09:33 Makefile
-rw-r--r--  1 root  wheel69  3 Aug  2003 distinfo
drwxr-xr-x  2 root  wheel   512 17 Feb 08:36 files
-rw-r--r--  1 root  wheel   753 22 Jul  2002 pkg-descr
-rw-r--r--  1 root  wheel  1601  3 Aug  2003 pkg-plist
drwxr-xr-x  2 root  wheel   512 17 Feb 08:36 scripts

net/nagios:
total 4
-rw-r--r--  1 root  wheel  3050 13 Feb 08:45 Makefile

net/nagios-plugins:
total 2
-rw-r--r--  1 root  wheel  1248  6 Feb 16:33 Makefile

bash-2.05a# ls -lt MOVED
-rw-r--r--  1 root  wheel  64094 24 Feb 09:31 MOVED

bash-2.05a# grep nagios MOVED 
net/nagios-plugins|net-mgmt/nagios-plugins|2004-02-22|new category
net/nagios|net-mgmt/nagios|2004-02-22|new category

bash-2.05a# portinstall -v -M WITH_MYSQL=yes net-mgmt/nagios
--->  Session started at: Thu, 26 Feb 2004 12:37:25 +0100
** No package has been installed or upgraded.
--->  Session ended at: Thu, 26 Feb 2004 12:37:27 +0100 (consumed 00:00:01)

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


Re: FreeBSD box as router adding latency

2004-02-26 Thread Aloha Guy
Charles Swiger <[EMAIL PROTECTED]> wrote: On Feb 26, 2004, at 5:59 PM, Aloha Guy wrote:
> Charles Swiger wrote:
>> There's your issue right there: if you care about the millisecond 
>> level
>> granularity of network traffic going by this router, you ought to set
>> HZ to 1000 as documented in "man dummynet".
[ ... ]
> Knew I forgot to read something.  I guess I forgot all about dummynet 
> is the one doing the traffic shaping as I never used traffic shaping 
> on the other boxes when they were used as both Ethernet and T1 
> routers.  I've always had NMBCLUSERS set to 32768 which I assume is 
> fine.

Thats a lot of NMBCLUSTERS, but if you've got the memory you should be 
okay.

> Also, is there a way to use two NICs like a xl0 and a fxp0 and bond 
> them together with just one IP?

Yes, netgraph. See "man ng_one2many"

I actually had the NMBCLUSTERS set that way even with 128MB boxes without issues but 
the box in question has 2GB of ram so it's not much of a big deal.  I tried the 
ng_one2many and it did help bring things closer to 80Mbps from 60Mbps.  I guess the HD 
is the bottleneck as it's only a notebook and even with the 7200rpm 60GB 2.5" drive, 
the sustained transfer rate is limited.  Tried the HZ 1000 setting and recompiled a 
new kernel but it didn't really seem to do anything at all.  I'm wondering what's the 
highest setting it will work with.Thanks,John

-
Do you Yahoo!?
Get better spam protection with Yahoo! Mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't ssh back into 10.242; host seen as Down

2004-02-26 Thread Gary Kline
On Thu, Feb 26, 2004 at 08:25:23PM -0800, Gary Kline wrote:
> 
>   5.2-RELEASE is coming around.  From the KVM connection
>   to 10.242 I can telnet and ssh *out* to other places.
>   (I can fetch ports and upgrade things... .)  But I can't
>   figure out why I can't ssh or telnet *in*.  ping sees my
>   new system as down::
> 
> pu 19:55  [5212] ping 10.242
> PING 10.242 (10.0.0.242): 56 data bytes
> ping: sendto: Host is down
> ping: sendto: Host is down
> ping: sendto: Host is down
> ^Csendto: Host is down
> 

OOOPS!! Well, I was off-by-one.  A ifconfig -a told me 
that dhcp was using 10.0.0.241 for my under construction
system..

10.242 was for 4.9.  


pp 23:17  [5025] ssh -2 10.241
Password:
Last login: Thu Feb 26 11:16:31 2004 from tao
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights
reserved.

FreeBSD 5.2-RELEASE (GENERIC) #0: Sun Jan 11 04:21:45 GMT 2004

Welcome to FreeBSD!


(It's been a long century... )

gary

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

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


ssh+ldap+freebsd5.2 problem

2004-02-26 Thread Subscribe From
Hi All,

Have any body manage to configure ssh with openldap on
FreeBSD 5.2

I manage to configure openldap on FreeBSD 5.2. Beside
that I also manage to make it work with Samba 3.0.
However the problem is I can not make it work with
ssh.

I have google around and found this minihowto
http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
but fail also to make it work

Can some body advise me...:)

Regards,
onlyme


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD box as router adding latency

2004-02-26 Thread Aloha Guy
Chris Dillon <[EMAIL PROTECTED]> wrote: 
On Wed, 25 Feb 2004, Aloha Guy wrote:

> You're right that additional delay while adding a hop is to be
> expected, which is less than 0.1ms to the FreeBSD box but everything
> past the FreeBSD machine is adding atleast 5ms up to 300ms in the
> traceroutes when the normal is no more than 20ms for the same
> traceroute. I've already checked the NICs and they are all
> configured at their full rated speeds and full duplex. I even try
> using a Cardbus PCMCIA fxp0 Intel Pro/100S card on the FreeBSD box
> and it still had the same problem. I am using a September 2003
> -CURRENT so I don't know if it's a issue with the current networking
> code back then or not.

What do you have HZ set to (see sysctl kern.clockrate)? I think I
remember your original message showing you using pipes and queues and
the HZ setting can affect those. Also see if your latency improves if
you remove all pipe and queue rules (other ipfw rules are OK).


Here is the HZ setting: 

kern.clockrate: { hz = 100, tick = 1, profhz = 1024, stathz = 128 }

I'm not sure how to remove the pipe since I don't think the pipe works until the queue 
is defined.  When I removed the queues that are configured for the pipe, the latency 
is back to normal though. 

Thanks,

John


-
Do you Yahoo!?
Get better spam protection with Yahoo! Mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD box as router adding latency

2004-02-26 Thread Chris Dillon
On Thu, 26 Feb 2004, Aloha Guy wrote:

> > What do you have HZ set to (see sysctl kern.clockrate)? I think I
> > remember your original message showing you using pipes and queues
> > and the HZ setting can affect those. Also see if your latency
> > improves if you remove all pipe and queue rules (other ipfw rules
> > are OK).
>
>
> Here is the HZ setting:
>
> kern.clockrate: { hz = 100, tick = 1, profhz = 1024, stathz = 128 }
>
> I'm not sure how to remove the pipe since I don't think the pipe
> works until the queue is defined.  When I removed the queues that
> are configured for the pipe, the latency is back to normal though.

Like I said, remove both pipes and queues to test.  However, pipes
_can_ be used without queues, but that is irrelevant here.  Try
setting HZ to 1000 in your kernel config, recompile, reboot, and test
again.  You should see something between a slight improvement to a
ten-fold improvement.


-- 
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest, most open, and most stable OS on the planet
 - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
 - PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

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


Re: FreeBSD box as router adding latency

2004-02-26 Thread Chris Dillon
On Wed, 25 Feb 2004, Aloha Guy wrote:

> You're right that additional delay while adding a hop is to be
> expected, which is less than 0.1ms to the FreeBSD box but everything
> past the FreeBSD machine is adding atleast 5ms up to 300ms in the
> traceroutes when the normal is no more than 20ms for the same
> traceroute.  I've already checked the NICs and they are all
> configured at their full rated speeds and full duplex.  I even try
> using a Cardbus PCMCIA fxp0 Intel Pro/100S card on the FreeBSD box
> and it still had the same problem.  I am using a September 2003
> -CURRENT so I don't know if it's a issue with the current networking
> code back then or not.

What do you have HZ set to (see sysctl kern.clockrate)?  I think I
remember your original message showing you using pipes and queues and
the HZ setting can affect those.  Also see if your latency improves if
you remove all pipe and queue rules (other ipfw rules are OK).

-- 
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest, most open, and most stable OS on the planet
 - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
 - PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

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


Re: FreeBSD box as router adding latency

2004-02-26 Thread Aloha Guy
Chris Dillon <[EMAIL PROTECTED]> wrote: On Thu, 26 Feb 2004, Aloha Guy wrote:

> > What do you have HZ set to (see sysctl kern.clockrate)? I think I
> > remember your original message showing you using pipes and queues
> > and the HZ setting can affect those. Also see if your latency
> > improves if you remove all pipe and queue rules (other ipfw rules
> > are OK).
>
>
> Here is the HZ setting:
>
> kern.clockrate: { hz = 100, tick = 1, profhz = 1024, stathz = 128 }
>
> I'm not sure how to remove the pipe since I don't think the pipe
> works until the queue is defined. When I removed the queues that
> are configured for the pipe, the latency is back to normal though.

Like I said, remove both pipes and queues to test. However, pipes
_can_ be used without queues, but that is irrelevant here. Try
setting HZ to 1000 in your kernel config, recompile, reboot, and test
again. You should see something between a slight improvement to a
ten-fold improvement.


Already tried that and it did improve things a little. I tried setting the HZ to 1000 
and it didn't make much of a difference.  Is there a larger number that actually works 
well?

Thanks,

John


-
Do you Yahoo!?
Get better spam protection with Yahoo! Mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


<    1   2