irssi in shell $HOME

2004-09-16 Thread Gerald Koenig
Does anyone have irssi running in the home directory of a
commercial shell account which allows running personal
programs? There seem to be library problems and dependencies
which are complex to the point I haven't gotten very far.
Ports and packages are not so good in a shell account I think.
I'm just looking for a successful installation somewhere to
serve as a template.
TIA,
Jerry





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


packet pass through vs ftp -- performance weirdity

2004-09-16 Thread Gary Aitken
I'm seeing some weird network performance I don't understand.
If I sit at an NT box and using a web browser, go through my fbsd 4.10
firewall to someplace out in the world through a slow dsl connection,
I get download speeds of 20KB - 45KB/sec, pretty much the max my DSL
connection can deliver.
The nt box is connected to the fbsd box over a 10Mb/sec full duplex
crossover cable for test purposes.
If I ftp (shell window) or use a browser to ftp from the fbsd box
itself, I see a max speed of something like 8KB/sec.
This makes absolutely no sense to me, given the relative speeds of the
network connections, which I would have thought was the limiting
factor.
The fbsd box is a p200, 128M, single 7200rpm 9.4ms seagate ultra scsi
drive, 10MB/sec negotiated xfr rate.  Data used for testing was ~8MB
file in /var partition, don't know how badly fragmented.
Is passing packets through the firewall and ipfw rules that much
faster than an ftp access?
Ideas for where to look for what's slowing things down?
Thanks,
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: forcing a wraped output from the prompt

2004-09-16 Thread Giorgos Keramidas
On 2004-09-15 18:14, Mike Hauber [EMAIL PROTECTED] wrote:
 I seem to remember this question asked before (mayhaps a
 different OS), but I'm not finding it anywhere (my wording
 is off?)

 Is there any way to force the output of a program to wrap at
 the console without redefining the console itself (ie, if I
 wanted to wrap the output of something like fortune to 30
 characters, how can I do that at the prompt)?

Yes there is.  Use stty(1).

I'm customarily running my consoles with a 132x25 mode, but sometimes I
want to force 100 columns or less (i.e. when I'm reading a web page in
elinks or w3m).  This is easily done with:

$ stty columns 100

and another stty invocation when I'm done to reset columns to 132.

- Giorgos

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


Re: irssi in shell $HOME

2004-09-16 Thread Giorgos Keramidas
On 2004-09-15 23:15, Gerald Koenig [EMAIL PROTECTED] wrote:
 Does anyone have irssi running in the home directory of a commercial
 shell account which allows running personal programs? There seem to be
 library problems and dependencies which are complex to the point I
 haven't gotten very far.  Ports and packages are not so good in a
 shell account I think.  I'm just looking for a successful installation
 somewhere to serve as a template.

The makefiles in /usr/ports/Mk include a ton of variables that can be
set to modify the paths where Ports will look for files.  I've installed
ports in my $HOME dir by setting some of these to non-default values.

You'll most certainly want to change at least the following when you
invoke make to build and install irssi:

PORTSDIR- Where ports live[1].
LOCALBASE   - Where the installed files go.
DISTDIR - Where downloaded distfiles are saved.
PKG_DBDIR   - Where installed package info will be saved.
PORT_DBDIR  - Where port options are saved.

[1] If you use the existing /usr/ports checkout of the system this will
not have to be changed, but you might find it useful to check out your
own copy of /usr/ports and work there.  That's when this will be needed.

Typically, to install ports in $HOME you'd invoke make with something
like this:

$ cd ${HOME}/ports/irc/irssi
$ env PORTSDIR=${HOME}/ports LOCALBASE=${HOME} \
DISTDIR=${HOME}/distfiles \
PKG_DBDIR=${HOME}/pkgdb PORT_DBDIR=${HOME}/pkgdb/ports \
make install

I hope this helps to get you started.  If things don't work, either post
the errors you stumble upon or look at the comments in the bsd.port.mk
makefile (under ports/Mk) and see if there's some variable which you
have to set but I forgot to mention.

- Giorgos

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


Re: problem with 1024 cylinders

2004-09-16 Thread Dan Strick
On Wed, 15 Sep 2004 21:48:01 +0800, [EMAIL PROTECTED] wrote:

 I have one IDE disk drive with 40GB
 ...
 my question is ... does the FreeBSD still have the restriction that its =
 root file system must be installed in the first 1024 cylinders???
 ...


On Wed, 15 Sep 2004 22:23:12 -0700, [EMAIL PROTECTED] responded:

 I think this is a rather nifty feature of the FreeBSD bootloader (the
 infamous boot0). It can boot anything from anywhere on any disk (someone
 correct me if I'm wrong here, please), provided that what it boots wants
 to boot from where it's situated. I know WinXP expects to have its
 startup files on the first partition on the first physical disk and
 refuses to start up otherwise, other OSes may have similar quirks. But
 from what I gather, FreeBSD is quite forgiving in this regard.


FreeBSD can access the entire disk once it is up an running, but the
bootstrap program used to load the FreeBSD kernel may be limited.
The FreeBSD boot0 bootstrap program, which is sometimes confused with
the older booteasy program, may be configured to use either the old
or new BIOS disk functions to load the kernel.  The boot0 program is
not smart enough to determine automatically which flavor of BIOS disk
functions it should use.  It is configured by the boot0cfg program to
always use one or the other.  See the packet option on the FreeBSD
man page for the boot0cfg program.  If the boot0 program is configured
to use the old BIOS disk functions, it cannot read past the first 1024
cylinders.  If boot0 is using the new BIOS disk functions, your bootable
disk partitions can be anywhere on the drive.  This applies to any OS
you might try to boot using boot0.

To verify that you are using boot0 and to determine how it is configured,
issue a command like:

boot0cfg -v ad0

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


Re: Problem making xorg-clients on FreeBSD 4.10

2004-09-16 Thread Mathias Samuelson
Subhro wrote:
 cat /etc/make.conf ?
 
 Regards
 S.

CPUTYPE=p3
CFLAGS= -O -pipe
CXXFLAGS+= -fmemoize-lookups -fsave-memoized
BDECFLAGS=  -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
 -Wcast-qual -Wchar-subscripts -Winline \
 -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
 -Wredundant-decls -Wshadow -Wstrict-prototypes 
-Wwrite-strings
COPTFLAGS= -O -pipe
INSTALL=install -C
NO_BIND=true# do not build BIND
NO_FORTRAN= true# do not build g77 and related libraries
NO_I4B= true# do not build isdn4bsd package
NO_SENDMAIL=true# do not build sendmail and related programs
NOPROFILE=  true# Avoid compiling profiled libraries
NOUUCP= true# do not build uucp related programs
MASTER_SITE_KDE= 
http://rabarber.fruitsalad.org/packages/200402101831/5-CURRENT/Latest/
PERL_VER=5.8.0
PERL_VERSION=5.8.0
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
X_WINDOW_SYSTEM=xorg

 
 
 On Wed, 15 Sep 2004 16:08:22 +0200, Mathias Samuelson
 [EMAIL PROTECTED] wrote:
 
Cheers to all!

I'm having problems building xorg-clients.

I'm not quite following the instructions in UPDATE, I want to prebuild
as much as possible before I delete XFree and then run make install in
x11/xorg. I hope this isn't the reason for the problem... :/

bash-2.05b# uname -v
FreeBSD 4.10-STABLE #0: Sun Aug 29 22:17:16 CEST 2004
bash-2.05b# make
===  Building for xorg-clients-6.7.0_4
snip
xhost.c: In function `change_host':
xhost.c:423: syntax error before `siaddr'
xhost.c:434: `siaddr' undeclared (first use in this function)
xhost.c:434: (Each undeclared identifier is reported only once
xhost.c:434: for each function it appears in.)
xhost.c: In function `get_hostname':
xhost.c:883: `XServerInterpretedAddress' undeclared (first use in this
function)
xhost.c:883: `sip' undeclared (first use in this function)
xhost.c:883: warning: statement with no effect
xhost.c:884: syntax error before `static'
xhost.c:888: syntax error before `)'
xhost.c:889: `neededSize' undeclared (first use in this function)
xhost.c:891: `addressStringSize' undeclared (first use in this function)
xhost.c:892: `addressString' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xhost.
*** Error code 1

Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/xorg-clients.

All best
Mathias
___
[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 making xorg-clients on FreeBSD 4.10

2004-09-16 Thread Mathias Samuelson


Eric Anholt wrote:
 On Wed, 2004-09-15 at 07:08, Mathias Samuelson wrote:
 
Cheers to all!

I'm having problems building xorg-clients.

I'm not quite following the instructions in UPDATE, I want to prebuild 
as much as possible before I delete XFree and then run make install in 
x11/xorg. I hope this isn't the reason for the problem... :/
 
 
 It is.
 

Thanks Eric, I'll try to do it the right way (tm). :)

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


Re: forcing a wraped output from the prompt

2004-09-16 Thread Mike Hauber
On Thursday 16 September 2004 02:21 am, Giorgos Keramidas 
proclaimed:
 On 2004-09-15 18:14, Mike Hauber [EMAIL PROTECTED] 
wrote:
  I seem to remember this question asked before (mayhaps
  a different OS), but I'm not finding it anywhere (my
  wording is off?)
 
  Is there any way to force the output of a program to
  wrap at the console without redefining the console
  itself (ie, if I wanted to wrap the output of something
  like fortune to 30 characters, how can I do that at the
  prompt)?

 Yes there is.  Use stty(1).

 I'm customarily running my consoles with a 132x25 mode,
 but sometimes I want to force 100 columns or less (i.e.
 when I'm reading a web page in elinks or w3m).  This is
 easily done with:

  $ stty columns 100

 and another stty invocation when I'm done to reset
 columns to 132.

 - Giorgos


Actually, that's what I was wanting to avoid.  I didn't want 
to change the environment itself, just the output of a 
program.  Craig reminded me of 'fmt' which is something 
that I've never had to use before, and it's exactly what I 
was needing.  Thanks for the feedback, though.

Much Appreciated,

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


Portupgrade failure: / filesystem full.... any suggestions short of full-scale re-install?

2004-09-16 Thread dfarmour
Hello,

I'm not sure what's next: hedgehogs falling from the skies, perhaps? Mostly, I know 
I'm flailing around in the newbie waters, an otherwise straightforward 5.2.1 install 
(single user, desktop) gone horribly, horribly wrong. The story so far... 

I got through most of the sysinstall program without too many surprises. It's a new 
machine, 40G HD. Loosely following Mr. Lehey's configuration suggestions in 
Complete FreeBSD, / got 4G, swap 2G, and /home the rest.

Among other things, I downloaded and installed the instant-workstation 1.0.3 port, in 
part because a presumably earlier version had worked fine last fall when I installed 
it on my wife's dual boot machine.[1] This time, although XFree86 -configure tested 
okay, i.e. grey screen with X in the middle, then Ctrl-Alt-Backspace to return to the 
CLI, I couldn't seem to configure X. 

I had it working a couple of times, but the mouse cursor was a 64x64 pixel barcode! 
Exiting seemed to cause the x-server the most trouble. The box locked up 
complaining primarily of unresolved symbols, although both Knoppix 3.4 and 
FreeSBIE's versions of x-windows work(ed) fine, booting from the CD drive. 

I see a note [2] suggesting the more current XFree86 4.4 version might work better 
with the SiS74x video card, which at that point, seemed the most likely candidate 
for FreeBSD incompatibility. More googling around and freebsd-questions digest 
traffic reading suggested cvsup and portupgrade, as a general tidying up strategy en 
route to updating to 4.4. [upmusic: theme from Jaws]

Cvsupping seems to be chugging along for quite a while, but previous install on 
older machine also took the better part of a weekend, so I figure what the hell. A 
strong sense of fear and loathing began to develop, however, when filesystem full 
began in large numbers to scroll off the screen, late this past afternoon.

A du -sk * showed relatively expected numbers next to most of the sub-directories, 
but /usr and /var showed 3 038 096  71 990 respectively! ???  /var/tmp seems to 
contain lots of 512K .bak files right underneath .tgz behemoths with the same name. 
I've seen messages suggesting deleting /tmp directories, as well as growfs, as a 
way to regain room to at least email log and error messages, but I'm also getting a 
little gunshy.

Any suggestions, even starting over from scratch, would assist me greatly. 
Everything I've read so far suggests FreeBSD installs into _at most_ 5G, so what's 
going on??? If a more realistic cvsup/portupgrade manoevering room works out to 
10G, maybe this message will help someone else. Thanks in advance.

df (dave) armour at my real box dought calm! # not.

[1] previous install, 5.0-RELEASE, admittedly in 18G, on dual-boot (Windows ME, 
with 10G) box. 

[2] The SiS driver author's site suggests XFree86 4.4.0 works more successfully 
with SiS74x series.


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


Re: packet pass through vs ftp -- performance weirdity

2004-09-16 Thread RYAN vAN GINNEKEN
Happened to me once needed to set the the speed of the nic card in 
rc.conf can not remember how to do it but it is in the man rc.conf page 
and solved my similar problem.  Looks something like this if i can recall

ifconfig_xl0=inet 209.155.173.22 something about manually setting the 
speed and mode of the card 

for me it had to do with the card not negotiating it parameters properly 
and i had to beat it into submission with manual overrides.  glanced 
through the rc.conf man page but it is to long for me deal with right 
now the setting are in there somewhere.

Gary Aitken wrote:
I'm seeing some weird network performance I don't understand.
If I sit at an NT box and using a web browser, go through my fbsd 4.10
firewall to someplace out in the world through a slow dsl connection,
I get download speeds of 20KB - 45KB/sec, pretty much the max my DSL
connection can deliver.
The nt box is connected to the fbsd box over a 10Mb/sec full duplex
crossover cable for test purposes.
If I ftp (shell window) or use a browser to ftp from the fbsd box
itself, I see a max speed of something like 8KB/sec.
This makes absolutely no sense to me, given the relative speeds of the
network connections, which I would have thought was the limiting
factor.
The fbsd box is a p200, 128M, single 7200rpm 9.4ms seagate ultra scsi
drive, 10MB/sec negotiated xfr rate.  Data used for testing was ~8MB
file in /var partition, don't know how badly fragmented.
Is passing packets through the firewall and ipfw rules that much
faster than an ftp access?
Ideas for where to look for what's slowing things down?
Thanks,
Gary
___
[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: FreeBSD 4.10: slow ssh

2004-09-16 Thread Toni Schmidbauer
On Wed, Sep 15, 2004 at 02:59:38PM -0700, Mari Cariapa wrote:
 It takes about 15 seconds which normally should just take 2-3 seconds.  
 Any idea on how I can fix this?

probably a dns issue

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0yY2klH2yt.pgp
Description: PGP signature


make kernel / make installworld failed - Signal 4

2004-09-16 Thread Owen.G
Hello all,
My PC is (or rather until Sunday, WAS) running 5.2.1#9.  I edited the 
kernel to reflect my installed hardware and add support for the PF 
firewall and then did a CVSup for sources - keeping to 5.2.1.  This 
isn't the first kernel edit and upgrade I've done but as far as I recall 
the only changes I made were the pfi_hooks (or something similar - for 
the PF firewall) and to disable the ata keyboard - I can use USB to a 
KVM switch.

Here's what happened . . .
# make buildworld - finished OK
# make kernel KERNCONF=EDEN - finished OK
* PC rebooted OK
# make installworld - failed with errors part way through.
* PC failed to reboot.  It gets part way through and then reboots.
. . .
So, at the boot loader prompt:
OK unload
OK load /boot/kernel.save/kernel
OK boot kernel.save -s
. . .
#mount -a
illegal instruction. Signal 4
#
Unloading the kernel and booting into single user mode seems to be OK 
and the PATH is correct.
No command except cd or pwd works, everything fails with illegal 
instruction Signal 4

e.g. ls or df or mount -a all fail with illegal instruction Signal 4
Any ideas please.
Thanks in anticipation,
Owen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade running slower than before?

2004-09-16 Thread Matthew Seaman
On Wed, Sep 15, 2004 at 02:56:41PM -0400, John Cholewa wrote:
 I started portupgrade -ra on my home mail server (FreeBSD 
 5.2.1-RELEASE) two or three hours ago.  It says [Updating the pkgdb 
 format:bdb1_btree in /var/db/pkg ... - 246 packages found (-0 +1) . 
 done], and the output hasn't changed since.  For much of this time, 
 ruby18 has been using 90% of my system's resources.  It's obviously 
 doing *something*, but I can't see any ironclad progress in terms of 
 packages being updated.

Actually, this could be another symptom of the bdb1_btree bug that has
been affecting portsdb for so many people recently.

First, try killing that portupgrade process and restarting it.  If it
runs to completion successfully then you're happy.  If it hangs again,
or crashes then you'll need to take some ameliorative action.

The first thing to try is deleting the pkgdb.db file and rebuilding it
from scratch.  That file basically contains a quick-reference summary
of the contents of /var/db/pkg, so you won't lose any information by
deleting the file.  However it can occasionally become corrupted, in
which case it may show the symptoms you've been seeing:

# rm /var/db/pkg/pkgdb.db
# pkgdb -Fvu

If that still doesn't work, then I think that setting:

# setenv PKG_BDBDRIVER bdb1_hash

in your environment should help.  After you do that, again run:

# pkgdb -Fvu

and it should rebuild the whole /var/db/pkg/pkgdb.db file into the
bdb1_hash format.  And, I hope, work rather better than you've seen so
far.

Alternatively to that last step, you could install the
databases/ruby-bdb port together with whichever one of the
databases/db{2,3,4,41,41-nocrypto,42,42-nocrypto} ports takes your
fancy.  Check the ruby-bdb port Makefile for all the WITH_BDBn options
available.

Then you can put the following into /usr/local/etc/pkgtools.conf:

ENV['PORTS_DBDRIVER'] = 'bdb_btree'
ENV['PKG_DBDRIVER']   = 'bdb_btree'

or set them in your environment each time you use portupgrade(1),
portsdb(1), pkgdb(1) or other members of that family of tools.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpzdem3zIqUP.pgp
Description: PGP signature


cdda2wav: Fatal error: did not drop root privilege

2004-09-16 Thread Eugene M. Minkovskii
My cdda2wav did not work under user (but work under root).
I was trying to set suid bit but don't take success. What do yuo
think about?

--- begin paste of my tty -

[emin:~]$ cat /etc/fbtab
/dev/ttyv0 0660 /dev/fd0:/dev/acd0

[emin:~]$ ll /dev/{a,}cd0
crw-rw  1 emin  emin4,  12 10  19:24 /dev/acd0
crw-r-  1 root  operator4,  20 10  19:24 /dev/cd0

[emin:~]$ id
uid=1001(emin) gid=1001(emin) groups=1001(emin), 5(operator)
## So you can see: I am in operator group

[emin:~]$ sudo chmod 4110 /usr/local/bin/cdda2wav
[emin:~]$ ll /usr/local/bin/cdda2wav
---s--x---  1 root  operator  240964  6   2003
/usr/local/bin/cdda2wav*

[12:49:01]0[emin:~]$ /usr/local/bin/cdda2wav -B
Type: ROM, Vendor 'TEAC' Model 'CD-552E ' Revision
'1.00' MMC+CDDA
266240 bytes buffer memory requested, 4 buffers, 27 sectors
...
percent_done:
  0%Fatal error:  did not drop root privilege.
  0%child reader sem request failed

W Child exited with 2
[emin:~]$ 

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


nforce2 vs. apic

2004-09-16 Thread Andriy Gapon

I have nforce2-based motherboard Abit NF7 and run 5.2.1-RELEASE on that
system. I have tried to enable APIC by compiling kernel with 'device
apic' (both with and without SMP option, although this is a UP system),
but system just freezes during boot with it. Everything works pretty
well without APIC, I was just curious about getting it to work.

I found this discussion:

http://lists.freebsd.org/pipermail/freebsd-current/2004-May/027316.html

and I have also found numerous reports on nforce2+APIC lockup problem in
Linux and some patches that were reported to help with it.

So, I want to find out if anything changed with respect to this in
FreeBSD, maybe some patches/workarounds, or success stories about
FreeBSD+nforce2+APIC.

Also some notes about my lockup. It happens at this point (exerpt for
non-verbose non-APIC dmesg):

psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
pmtimer0 on isa0
sc0: System console on isa0
sc0: VGA 16 virtual consoles, flags=0x200
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 1830012912 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled,
default to accept, logging limited to 100 packets/entry by default
 In APIC case system freezes here 
GEOM: create disk ad0 dp=0xc6e15e60
ad0: 76319MB WDC WD800JB-00ETA0 [155061/16/63] at ata0-master UDMA100
acd0: CDRW TEAC CD-W552E at ata1-master UDMA33

Also, when system freezes keyboard LEDs still work properly and cursor
disappears when I press Scroll Lock, but arrow and PgUp/PgDown do not
work; if I try Alt-FN system speacker emits monotonic sound that can
not be turned off (except by reset, of course).

I am ready to provide any additional information. Unfortunately I am not
able to use serial console, so I can't give much info for APIC-enabled case.

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


Re: make kernel / make installworld failed - Signal 4

2004-09-16 Thread Owen.G
-Original Message-
Hello all,
My PC is (or rather until Sunday, WAS) running 5.2.1#9.  I edited the 
kernel to reflect my installed hardware and add support for the PF 
firewall and then did a CVSup for sources - keeping to 5.2.1.  This 
isn't the first kernel edit and upgrade I've done but as far as I recall 
the only changes I made were the pfi_hooks (or something similar - for 
the PF firewall) and to disable the ata keyboard - I can use USB to a 
KVM switch.

Here's what happened . . .
# make buildworld - finished OK
# make kernel KERNCONF=EDEN - finished OK
* PC rebooted OK
# make installworld - failed with errors part way through.
* PC failed to reboot.  It gets part way through and then reboots.
.. . .
So, at the boot loader prompt:
OK unload
OK load /boot/kernel.save/kernel
OK boot kernel.save -s
.. . .
#mount -a
illegal instruction. Signal 4
#
Unloading the kernel and booting into single user mode seems to be OK 
and the PATH is correct.
No command except cd or pwd works, everything fails with illegal 
instruction Signal 4

e.g. ls or df or mount -a all fail with illegal instruction Signal 4
Any ideas please.
Thanks in anticipation,
Owen
___
[EMAIL PROTECTED] wrote:
Sounds like you complete enough of the make installworld to prove fatal.
When you backup and use your old kernel its got binaries of a new and old
make world. Sadly, only way I ever found to get around that was a full fresh
reinstall. If you have another machine you could possibly complete the
entire build process on it, boot up with the new kernel, and then run a
make installworld from the /usr/obj of the other machine. Just make sure to
specify the proper runtime compile options as the install will fail if you
compile for a specific arch that doesn't match.
 ___
Thanks,
I'll leave the PC until 5.Stable comes out then.  I hadn't got past the 
stage of failing to get kde 3.3 to work under xorg in any case!

I don't know what went wrong in the build/upgrade process so I'd be 
suprised if it was something in the sources because I upgraded to 
5.2.1#2 and then #9 both with custom kernels before making the most 
recent edits (and it all going wrong).

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


/libexec/ld-elf.so.1: Shared object libssl.so.3 not found

2004-09-16 Thread Steven Adams
Hi..

When im trying to run pkg_add im getting


Steven Adams [EMAIL PROTECTED] 
DriftNet Web Services http://www.drifthost.com 
Home: +61 2 94274857
Fax: +61 2 94274857
Mobile +61 (0) 404 085644


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


RE: /libexec/ld-elf.so.1: Shared object libssl.so.3 not found

2004-09-16 Thread Steven Adams

Hi..

When im trying to run pkg_add im getting

/libexec/ld-elf.so.1: Shared object libssl.so.3 not found

Does anyone know what this mean and how I install it.

Steven Adams [EMAIL PROTECTED] 
DriftNet Web Services http://www.drifthost.com 
Home: +61 2 94274857
Fax: +61 2 94274857
Mobile +61 (0) 404 085644


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


Re: hi

2004-09-16 Thread MESSAGE AGENT
This is an automatic reply.  Feel free to send additional
mail, as this program shouldn't reply to you more than
once or twice.  The following is a prerecorded message,
sent for coke:


Hi,

This is an automated reply from the account for the CMU CS coke
machine.  No one currently reads mail sent to this account.

If the coke machine has taken your money or is empty, please email 
  Charlie Garrod at [EMAIL PROTECTED] --- he's the current coke
  maintainer.

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


Re: FreeBSD 4.10: slow ssh

2004-09-16 Thread Matthias F. Brandstetter
-- quoting Mari Cariapa --
 It takes about 15 seconds which normally should just take 2-3 seconds.
 Any idea on how I can fix this?

That's normal, if your ssh server can't resolve client's IP address to a 
valid host name (= reverse DNS lookup).

You have two options:
1.) Ask your provider to setup your reverse DNS correctly for your IP
2.) use UseDNS no option in /etc/ssh/sshd_config and restart sshd

HTH! Greetings, Matthias

-- 
Burns: I can't understand a word you're saying.

Homer: My name is Homer Simpson!

Burns: You're just babbling incoherently...

Homer: Oh, you're a dead man, Burns.  Oh, you're dead!  You're dead,
 Burns!

 Who Shot Mr. Burns (Part 1)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AudioCD not playing

2004-09-16 Thread Konstantin
Thursday, September 16, 2004, 3:27:54 AM, Lowell Gilbert [EMAIL PROTECTED] wrote:

Konstantin [EMAIL PROTECTED] writes:

 When I try to play AudioCD with cdplay 0.92 I receive the following message:

What happens when you use the (standard) cdcontrol(1) to play a CD?

Thanks for your notice to my problem!

I didn't know about this program before... But it does not decide my problem.
When I run cdcontrol(1) with '#cdcontrol play 2' (for example), sound begin
playing from sound jack of my CD-ROM, but there is not anything on audio-output
of soundcard. I can listen AudioCD with this way without cdcontrol(1) by pressing
PLAY button on CD-ROM, when disk in it.
(I know English not very well, but I hope you understand me.)
I would like listen music through soundcard. Does can be this?

[snip crash message]

 After this computer rebooting.
 How can I undestend this?

What version of FreeBSD are you using?  If it's 5.x, you should try a
more recent version, and possibly disabling the APIC.

M.. m.. m... Disabling the APIC?
I'm new in FreeBSD that this I don't know what is it and how to do that.
Can you explain me?
I have FreeBSD 5.2.1 on Celeron 1.2Ghz
CD-ROM is Sony 52x

__

http://www.newhost.ru - !

[EMAIL PROTECTED]

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


Re: AudioCD not playing

2004-09-16 Thread Konstantin
Wednesday, September 15, 2004, 9:49:01 PM, mailing lists at ManTutor [EMAIL 
PROTECTED] wrote:

 Q: Are you compiling for the correct processor in your kernel 
 configuration? For example, if you have a i586 you don't want to 
 compile for an i686.

 abs

Thanks for your notice to my problem! 

A: I was recompiling kernel only for supporting my soundcard.
I didn't change processor's section in GENERIC file:

Machine i386
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU

Are strings correct for my processor?
I think they are.

P.S.
OS: FreeBSD 5.2.1
Machine: Celeron 1.2 GHz (L2 256K); CD-ROM: Sony 52x; Memory: 256 MB

P.P.S
Sorry for my bad English... 

 On Sep 15, 2004, at 7:14 AM, Konstantin wrote:

 Hello!
 When I try to play AudioCD with cdplay 0.92 I receive the following 
 message:

 Hello!

 #cdplay -d /dev/acd0

  /* cdplay interface */

 acd0: unknow transfer phase
 acd0: FAILURE - ATAPI_IDENTIFY no interrupt
 acd0: timeout sending command = a1

 Fatal trap 12: page fault while in kernel mode
 cpuid = 0; apic id = 00
 fault virtual address   = 0x6a
 fault code  = supervisor read, page not 
 present
 instruction pointer = 0x8: 0xc04c5596
 stack pointer   = 0x10: 0xcdcbb50
 frame pointer   = 0x10: 0xcdcbb50
 code segment= base 0x0, limit 0xf type
 = DPL 0, pres 1, def 32 1 gran 
 1 0x1b

 processor eflags= interrupt enabled, resume, 
 10PL = 0
 current process = 36 (swi7: task queue)
 trap number = 12
 panic: page fault

 syncing disks .. etc
 After this computer rebooting.
 How can I undestend this?
 How can I listen AudioCD?

 [EMAIL PROTECTED]

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


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Alexander Sendzimir (owner)802 863 5502
  MacTutor: Apple Mac OS X Consulting   [EMAIL PROTECTED]

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

__

http://www.newhost.ru - !

[EMAIL PROTECTED]

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


Fw: USB

2004-09-16 Thread uro llik




HI,
I am developing USB device firmware and would like to use freeBSD 4.9 to debug my 
device. 
There I just want to see what is going on(if descriptors and all other stuff are send 
ok) on USB when I attach my device.
I know it is possible to do that with BSD and hope you can help me how.
best regards
UROS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to sync Palm Tungsten T2 under FreeBSD

2004-09-16 Thread yeweikeke-maillist
Hi,
  Anyone know how to sync Plam Tungsten T2 under
FreeBSD.

  I'm using FreeBSD4.10. I'v tried the ColdSync under
freebsd, but failed.
  Thanks.

=
Regards,
Ye Wei

_
Do You Yahoo!?
150MP3
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/

http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G1000
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nforce2 vs. apic

2004-09-16 Thread yuri van Overmeeren
Andriy Gapon wrote:
I have nforce2-based motherboard Abit NF7 and run 5.2.1-RELEASE on that
system. I have tried to enable APIC by compiling kernel with 'device
apic' (both with and without SMP option, although this is a UP system),
but system just freezes during boot with it. Everything works pretty
well without APIC, I was just curious about getting it to work.
I found this discussion:
http://lists.freebsd.org/pipermail/freebsd-current/2004-May/027316.html
and I have also found numerous reports on nforce2+APIC lockup problem in
Linux and some patches that were reported to help with it.
So, I want to find out if anything changed with respect to this in
FreeBSD, maybe some patches/workarounds, or success stories about
FreeBSD+nforce2+APIC.
Also some notes about my lockup. It happens at this point (exerpt for
non-verbose non-APIC dmesg):
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
pmtimer0 on isa0
sc0: System console on isa0
sc0: VGA 16 virtual consoles, flags=0x200
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 1830012912 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled,
default to accept, logging limited to 100 packets/entry by default
 In APIC case system freezes here 
GEOM: create disk ad0 dp=0xc6e15e60
ad0: 76319MB WDC WD800JB-00ETA0 [155061/16/63] at ata0-master UDMA100
acd0: CDRW TEAC CD-W552E at ata1-master UDMA33
Also, when system freezes keyboard LEDs still work properly and cursor
disappears when I press Scroll Lock, but arrow and PgUp/PgDown do not
work; if I try Alt-FN system speacker emits monotonic sound that can
not be turned off (except by reset, of course).
I am ready to provide any additional information. Unfortunately I am not
able to use serial console, so I can't give much info for APIC-enabled case.
 

5.2.1 freezes on a nforce2 mainboard with apci, I have a nforce2 (same 
abit board) based machine here running freebsd, never got the 
5.2.1-release to work with acpi.
It was fixed a little while after the release, 5-current has been 
running on the nforce2 for a while.
If you can wait untill the 5.3-release,which should be in about 2~3 
weeks, (and run 5.2.1 without acpi for that time) I would do that, 5.3 
no longer has the lock-up issue.

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


Re: Supported Hardware

2004-09-16 Thread Kevin D. Kinsey, DaleCo, S.P.
Ray Smith wrote:
Hi all,
Apologies for the cross posting.
Accepted.  Obligatory disclaimer is that it's really not
an on topic post for the newbies list; the charter for
that list suggests rather strongly that technical issues
be discussed on [EMAIL PROTECTED]
While I'm at it ;-), it's good etiquette to wrap your email's
lines at about 72 characters because some guys are actually
reading the lists with text mode displays and the like.
So, hello, welcome to FreeBSD, glad to have you!  Thanks
for a well-worded question, and I've fixed your lines for you
and removed the cross-post to newbies consider yourself
chastised? :-)
I have just received a box with the an Intel SE7210TP1 motherboard,
and was wondering if anyone has been able to get FreeBSD running
on it? I could'nt find it in the supported list of hardware, but though
I would give it a go anyway. I have installed 5.2.1 but have run in to
problems with the networking. There are two built in network cards
an Intel PRO/100+ 82551QM, and an Intel PRO/1000 82547EI. Both
seem to be detected, and I can set up the network parameters, but
neither seem to work. I am able to ping internally, but nothing leaves
the box.
This is my first attempt at installing FreeBSD, so hopefully there's
something I have missed, or is my hardware not yet supported? Any
suggestions?

Well, first another disclaimer:  I have no such box, but it seems likely
that it's supported.  If the supported hardware page on the website
doesn't give information, the next step would likely be to read the manpage
for the appropriate driver.  Example: in this box I have one RealTek NIC,
which uses the rl driver, so I can do man 4 rl at the prompt and read
up on the driver --- about the first thing that is covered is which cards
are supported by the driver.  Try that first, if you haven't, for your 
cards.

The next thing to check for is pilot error (sorry, but it happens to 
everybody
at one time or another, I would wager).  The sentence I am able to ping
internally but nothing leaves the box seems a tad unusual, and as a result
I'd sure like to see the output of ifconfig and netstat -rn, for 
starters.

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: Supported Hardware

2004-09-16 Thread Kevin D. Kinsey, DaleCo, S.P.
Ray Smith wrote:
Hi all,
Apologies for the cross posting.
Accepted.  Obligatory disclaimer is that it's really not
an on topic post for the newbies list; the charter for
that list suggests rather strongly that technical issues
be discussed on [EMAIL PROTECTED]
While I'm at it ;-), it's good etiquette to wrap your email's
lines at about 72 characters because some guys are actually
reading the lists with text mode displays and the like.
So, hello, welcome to FreeBSD, glad to have you!  Thanks
for a well-worded question, and I've fixed your lines for you
and removed the cross-post to newbies consider yourself
chastised? :-)
I have just received a box with the an Intel SE7210TP1 motherboard,
and was wondering if anyone has been able to get FreeBSD running
on it? I could'nt find it in the supported list of hardware, but though
I would give it a go anyway. I have installed 5.2.1 but have run in to
problems with the networking. There are two built in network cards
an Intel PRO/100+ 82551QM, and an Intel PRO/1000 82547EI. Both
seem to be detected, and I can set up the network parameters, but
neither seem to work. I am able to ping internally, but nothing leaves
the box.
This is my first attempt at installing FreeBSD, so hopefully there's
something I have missed, or is my hardware not yet supported? Any
suggestions?

Well, first another disclaimer:  I have no such box, but it seems likely
that it's supported.  If the supported hardware page on the website
doesn't give information, the next step would likely be to read the manpage
for the appropriate driver.  Example: in this box I have one RealTek NIC,
which uses the rl driver, so I can do man 4 rl at the prompt and read
up on the driver --- about the first thing that is covered is which cards
are supported by the driver.  Try that first, if you haven't, for your 
cards.

The next thing to check for is pilot error (sorry, but it happens to 
everybody
at one time or another, I would wager).  The sentence I am able to ping
internally but nothing leaves the box seems a tad unusual, and as a result
I'd sure like to see the output of ifconfig and netstat -rn, for 
starters.

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: corrupt package info.

2004-09-16 Thread Matthew Seaman
On Wed, Sep 15, 2004 at 07:33:51PM +, clayton rollins wrote:
 Hi all,
 
 During a recent portupgrade, I got a hard crash of some sort...
 (I was out of the room, and the machine was sounding an alarm
 when I came back.)
 
 At any rate, portupgrade was probably altering the package
 database at the time of the crash, as I now get this error:
 pkg_info: the package info for package 'nvidia-driver-1.0.6113_1' is corrupt
 
 Needless to say, many of the other pkg tools won't work either.
 
 As for the nvidia pkg directory:
 ls /var/db/pkg/nvidia-driver-1.0.6113_1/
 +REQUIRED_BY
 cat /var/db/pkg/nvidia-driver-1.0.6113_1/+REQUIRED_BY
 kdemultimedia-xine_artsplugin-3.3.0
 
 Any suggestions? (If you want more info., just tell me what would
 be useful.)

Sounds like you've lost some of the contents of your /var partition.
Not knowing why your system went castors-up, there's two courses of
action to consider.

   i) The system died because the disk is failing / about to fail.

In this case, what you need to do is try and avoid stressing the
failing components as much as possible.  Your first objective should
be to get a backup copy of as much of your system as you need in order
to rebuild it successfully.  The second objective is to get a new disk
drive.

If you get a list of all of the ports you have installed, together
with any build options you used, then re-installing that lot from
ports onto a new disk will sort out the corruption in /var/db/pkg
automatically.

   ii) The system died because of bad memory, overheating, power
supply not able to keep up with demand, bugs in the OS or some other
reason not due to hard drive failure.

First, fix whatever it was that caused the system to bomb in the first
place.  If you can't diagnose what exactly caused the problem, then
make sure you've got good backups, make sure that the box is
adequately ventilated (clean and dust out of the case, the PSU and any
filters; move the system away from obstructions to airflow) and watch
it closely when you run high-impact jobs like large compilations.

It's possible that it was the nvidia drivers themselves that caused
the system to crash.  Depending on the precise make and model of your
motherboard and your graphics adaptor, you might have to experiment a
bit with the options for compiling the x11/nvidia-driver port and the
settings in /etc/X11/xorg.conf -- using or not using the FreeBSD
agp(4) driver instead of the nvidia one seems to make the difference
in many cases.  Note: if you're going to be de-installing and
re-installing the nvidia driver, it's best to do it *without* X
running.

Doing a forced re-install of any port where the /var/db/pkg directory
has become corrupted should fix the problems there.  If portupgrade(1)
won't play ball, just do:

# cd /usr/ports/x11/nvidia-driver
# make install FORCE_PKG_REGISTER=yes

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpx0sHCEvwDh.pgp
Description: PGP signature


need help configuring XServer

2004-09-16 Thread George Theodo
Hi all. I am quite new to FreeBSD and I need a little
help. I have an ACER TravelMate 2501LC laptop. I
installed 4.10 RELEASE version but I have a problem
configuring XServer. 
The specificatios of the display are 14.1/15.0 TFT
displaying at 1028x768 XGA or 1400x1050 SXGA+ and the
chipset is ATI MOBILITY RADEON 9000 IGP with a shared
64 MB memory.
Any help is greatly appreciated.

Thank you,
George,



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what are the pros and cons of running in single user?

2004-09-16 Thread Ed Budd
mailing lists at MacTutor wrote:
I have a machine running 4.10-STABLE that will be a dedicated gateway 
with a router/firewall combo and web server plus mysql server (maybe). 
What would be the pros and cons of running this system single user? 
Processes that run under their own uid, would they be able to run?

Just curious. Any extra thoughts welcome.
er...doesn't single user mode mean no networking? My understanding is 
that this is really only for maintenance (ie. make installworld, etc.), 
not regular operations. Perhaps you meant something else or I just 
haven't had enough caffeine yet...

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


Re: AudioCD not playing

2004-09-16 Thread Lowell Gilbert
Konstantin [EMAIL PROTECTED] writes:

 Thursday, September 16, 2004, 3:27:54 AM, Lowell Gilbert [EMAIL PROTECTED] wrote:
 
 Konstantin [EMAIL PROTECTED] writes:
 
  When I try to play AudioCD with cdplay 0.92 I receive the following message:
 
 What happens when you use the (standard) cdcontrol(1) to play a CD?
 
 Thanks for your notice to my problem!
 
 I didn't know about this program before... But it does not decide my problem.
 When I run cdcontrol(1) with '#cdcontrol play 2' (for example), sound begin
 playing from sound jack of my CD-ROM, but there is not anything on audio-output
 of soundcard. I can listen AudioCD with this way without cdcontrol(1) by pressing
 PLAY button on CD-ROM, when disk in it.

Most PC-type systems have a cable from the CD drive to the
sound card for this.

 (I know English not very well, but I hope you understand me.)

Quite well, thank you.

 What version of FreeBSD are you using?  If it's 5.x, you should try a
 more recent version, and possibly disabling the APIC.
 
 M.. m.. m... Disabling the APIC?
 I'm new in FreeBSD that this I don't know what is it and how to do that.

Then maybe using the early adopter's version wasn't a good idea.
Users are expected to be fairly knowledgeable when they're using these
advanced versions.  [See http://www2.ru.freebsd.org/releases/5.2.1R/early-adopter.html]

You can disable the APIC by setting hint.apic.0.disabled to 1 in the
loader.  That's what the release errata say, anyway...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nforce2 vs. apic

2004-09-16 Thread Andriy Gapon
on 16.09.2004 15:46 yuri van Overmeeren said the following:

 5.2.1 freezes on a nforce2 mainboard with apci, I have a nforce2 (same
 abit board) based machine here running freebsd, never got the
 5.2.1-release to work with acpi.
 It was fixed a little while after the release, 5-current has been
 running on the nforce2 for a while.
 If you can wait untill the 5.3-release,which should be in about 2~3
 weeks, (and run 5.2.1 without acpi for that time) I would do that, 5.3
 no longer has the lock-up issue.

Yuri,

have you really talked about acpi or apic ? Because I was talking about
apic. I have acpi enabled and apic disabled and that works fine. But I
want to try to enable apic.

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


Re: /libexec/ld-elf.so.1: Shared object libssl.so.3 not found

2004-09-16 Thread Matthew Seaman
On Thu, Sep 16, 2004 at 08:49:29PM +1000, Steven Adams wrote:

 When im trying to run pkg_add im getting
 
 /libexec/ld-elf.so.1: Shared object libssl.so.3 not found
 
 Does anyone know what this mean and how I install it.

Well, the error message means that the dynamic loader (ld-elf.so)
cannot find a shared library that pkg_add requires.  The library
itself should be in:

/usr/lib/libssl.so.3

Both that, and pkg_add are standard parts of the base system, although
there are also versions of OpenSSL (security/openssl) and the pkg
tools suite (sysutils/pkg_install) in the ports system.  I'm guessing
that what has happened is that you've installed one or both of those
using pre-compiled packages, hence the trouble resolving the shared
libraries.

In general, you shouldn't install a port that duplicates part of the
base system unless you actually need to do that.  Especially if what
you're installing provides shared libraries.  Most of those ports
exist as ways of ensuring backwards compatability to older system
versions -- you certainly don't need them if you're running
4.10-RELEASE, 4.10-STABLE, 5.2.1-RELEASE or better.  There's probably
a couple of other releases from the 4.x series where you don't need
them either.

If you haven't got a /usr/lib/libssl.so.3 file on your computer, then
something is certainly rotten there.  The simplest way to recover is
to use cvsup to grab the latest sources from whatever installation
branch you're using, and then do a full build+install world+kernel
cycle as detailed in the Handbook:

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

Do examine your /etc/make.conf to make sure you aren't inadvertently
disabling crypto support.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpdXCiK5SeRY.pgp
Description: PGP signature


RE: /libexec/ld-elf.so.1: Shared object libssl.so.3 not found

2004-09-16 Thread Steven Adams
Thanks for your reply.

Ive managed to fix it by copying libssl.so.3 from another freebsd server I
am running, to my surprise it works fine now.

Dunno how it went missing, think it was something cpanel done.

Thanks tho!

Steven Adams [EMAIL PROTECTED] 
DriftNet Web Services http://www.drifthost.com 
Home: +61 2 94274857
Fax: +61 2 94274857
Mobile +61 (0) 404 085644

-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 16 September 2004 11:29 PM
To: Steven Adams
Cc: 'FreeBSD Questions'
Subject: Re: /libexec/ld-elf.so.1: Shared object libssl.so.3 not found

On Thu, Sep 16, 2004 at 08:49:29PM +1000, Steven Adams wrote:

 When im trying to run pkg_add im getting
 
 /libexec/ld-elf.so.1: Shared object libssl.so.3 not found
 
 Does anyone know what this mean and how I install it.

Well, the error message means that the dynamic loader (ld-elf.so)
cannot find a shared library that pkg_add requires.  The library
itself should be in:

/usr/lib/libssl.so.3

Both that, and pkg_add are standard parts of the base system, although
there are also versions of OpenSSL (security/openssl) and the pkg
tools suite (sysutils/pkg_install) in the ports system.  I'm guessing
that what has happened is that you've installed one or both of those
using pre-compiled packages, hence the trouble resolving the shared
libraries.

In general, you shouldn't install a port that duplicates part of the
base system unless you actually need to do that.  Especially if what
you're installing provides shared libraries.  Most of those ports
exist as ways of ensuring backwards compatability to older system
versions -- you certainly don't need them if you're running
4.10-RELEASE, 4.10-STABLE, 5.2.1-RELEASE or better.  There's probably
a couple of other releases from the 4.x series where you don't need
them either.

If you haven't got a /usr/lib/libssl.so.3 file on your computer, then
something is certainly rotten there.  The simplest way to recover is
to use cvsup to grab the latest sources from whatever installation
branch you're using, and then do a full build+install world+kernel
cycle as detailed in the Handbook:

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

Do examine your /etc/make.conf to make sure you aren't inadvertently
disabling crypto support.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


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


Question

2004-09-16 Thread Doug Paquette
To whom it may concern at Free BSD,

I was wondering if you have the Handbook in a PDF format that I can download to make 
it easier to print the hand book out?

Thanks much

Doug
---
If you reply to this email, including the Original Message in which your reply is 
about would be greatly appreciated to help me better reference what your reply is in 
regards to. 
 
Outlook express offers this by enabling a feature called include message in reply 
located at the following path in outlook express, tools/options/send.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question

2004-09-16 Thread Josh Paetzel
On Thursday 16 September 2004 08:38, Doug Paquette wrote:
 To whom it may concern at Free BSD,

 I was wondering if you have the Handbook in a PDF format that I can
 download to make it easier to print the hand book out?

 Thanks much

 Doug

ftp://ftp.freebsd.org/pub/FreeBSD/doc/handbook

-- 
Thanks,

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


Re: Question

2004-09-16 Thread Matthew Seaman
On Thu, Sep 16, 2004 at 08:38:19AM -0500, Doug Paquette wrote:

 I was wondering if you have the Handbook in a PDF format that I can
 download to make it easier to print the hand book out?

ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/

It's available there in several different formats, including PDF.  As
it's quite a large book, all of the versions there are compressed --
book.pdf.bz2 is the smallest.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpk1eVcm7jq2.pgp
Description: PGP signature


Re: need help configuring XServer

2004-09-16 Thread Robert Storey
You haven't given us any information about what you've done (or tried to
do), so I'll do a little guessing.

There are several utilities for configuring X, but xf86cfg (the
graphical utility) is most newbie friendly, in my opinion. You can also
access it through sysinstall. I have found that it often ends in an
error message saying that it didn't configure properly, yet when you
startx, it's OK.

regards,
Robert


On Thu, 16 Sep 2004 06:10:52 -0700 (PDT)
George Theodo [EMAIL PROTECTED] wrote:

 Hi all. I am quite new to FreeBSD and I need a little
 help. I have an ACER TravelMate 2501LC laptop. I
 installed 4.10 RELEASE version but I have a problem
 configuring XServer. 
 The specificatios of the display are 14.1/15.0 TFT
 displaying at 1028x768 XGA or 1400x1050 SXGA+ and the
 chipset is ATI MOBILITY RADEON 9000 IGP with a shared
 64 MB memory.
 Any help is greatly appreciated.
 
 Thank you,
 George,

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


Re: what are the pros and cons of running in single user?

2004-09-16 Thread Jan Grant
On Thu, 16 Sep 2004, Ed Budd wrote:

 mailing lists at MacTutor wrote:
  I have a machine running 4.10-STABLE that will be a dedicated gateway with a
  router/firewall combo and web server plus mysql server (maybe). What would
  be the pros and cons of running this system single user? Processes that run
  under their own uid, would they be able to run?
  
  Just curious. Any extra thoughts welcome.
  
 
 er...doesn't single user mode mean no networking? My understanding is that
 this is really only for maintenance (ie. make installworld, etc.), not regular
 operations. Perhaps you meant something else or I just haven't had enough
 caffeine yet...

Single-user mode refers to the point in the boot process prior to 
running the startup scripts that make multi-user services available: for 
instance, mounting all drives, turning on swap, configuring network 
interfaces, starting daemons etc. and potentially most importantly, 
setting the securelevel.

Unlike the sysV init, there is no real magic about single-user mode 
apart from the fact that you can get init to stop the boot process and 
drop you directly into a shell in single-user mode. Running shutdown 
drops you into much the same state - that is, it kills off daemon 
processes etc. so that the machine can be administered* without 
unexpected interference from spurious processes. However, there's 
nothing (in principle) stopping you from kicking off those processes 
again, providing their environmental needs are satisfied.

So to answer the question: you can certainly tune the scripts and 
services available that launch you into multi-user mode to get a minimum 
profile on the machine. However if you modify rc to the extent that it 
turns on everything you need in order to set up bridging, run a few 
daemons etc then you're effectively duplicating the multiuser startup 
anyway.

jan

* modulo securelevel changes which can only be reverted via reboot.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
The Java disclaimer: values of 'anywhere' may vary between regions.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what are the pros and cons of running in single user?

2004-09-16 Thread Jerry McAllister
 
 I have a machine running 4.10-STABLE that will be a dedicated gateway 
 with a router/firewall combo and web server plus mysql server (maybe). 
 What would be the pros and cons of running this system single user? 
 Processes that run under their own uid, would they be able to run?
 
 Just curious. Any extra thoughts welcome.

I wonder if you have your terminology a little skewed.
Single User mode does not just mean that only one user is
allowed on the machine.  It is probably an inappropriate
name for the situation actually.   It really means that almost
all of system services, utilities and applications  are shut 
down and only very basic kernel stuff is up and running.   
You have to run that single user from the console (or remote console).

This is a little different from SysV Sun kind of single user run
setting where you can just kick off all users, but have almost all 
of the system still up and running.   That is kind of a partial
shutdown.   BSD doesn't really have that, though I suppose you
could simulate it by moungin stuff and carefully starting things 
from its single user mode - create a script that will do what
you want, but...

You could do other things to prevent any other users to get on the 
fully running system and only allow yourself.  But, I don't think
what you want is what is called single user mode for that.

jerry

 
 Thanks,
 
 Alex
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   Alexander Sendzimir (owner)802 863 5502
   MacTutor: Apple Mac OS X Consulting   [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]


Re: cd stuck in cd drive after failed burn

2004-09-16 Thread Fabian Keil
On Wednesday 15 September 2004 08:33, Anthony Philipp wrote:

 After burning trying to burn a cd with too much information on it, it ended up with 
 this error. 
 
 only wrote -1 of 37632 bytes: Input/output error
 
 burncd: ioctl(CDRIOCFLUSH): Input/output error
 
 But the cd was stuck in the drive, and would not respond when I pressed the eject 
 button.
 I was just wondering if this was a common error or just a bug that since been fixed.

I have never use burncd, so I can't answer this question.

 Also if this happens again, is there a way to force a cd eject without rebooting?

cdrecord's -eject option. If your drive is only locked by burncd this should work,
but if your drive's firmware crashed, your lost.

cdrecord is part of /usr/ports/sysutils/cdrtools(-devel).

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


Re: cdda2wav: Fatal error: did not drop root privilege

2004-09-16 Thread Fabian Keil
On Thursday 16 September 2004 13:13, Eugene M. Minkovskii wrote:

 My cdda2wav did not work under user (but work under root).
 I was trying to set suid bit but don't take success. What do yuo
 think about?

There is a workaround for this problem since cdda2wav 2.01a38.
Just update.

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


Re: cd stuck in cd drive after failed burn

2004-09-16 Thread Mark
On Thu, Sep 16, 2004 at 04:16:53PM +0200, Fabian Keil wrote:
 On Wednesday 15 September 2004 08:33, Anthony Philipp wrote:
 
  After burning trying to burn a cd with too much information on it, it ended up 
  with this error. 
  
  only wrote -1 of 37632 bytes: Input/output error
  
  burncd: ioctl(CDRIOCFLUSH): Input/output error
  
  But the cd was stuck in the drive, and would not respond when I pressed the eject 
  button.
  I was just wondering if this was a common error or just a bug that since been 
  fixed.
 
 I have never use burncd, so I can't answer this question.
 
  Also if this happens again, is there a way to force a cd eject without rebooting?
 
 cdrecord's -eject option. If your drive is only locked by burncd this should work,
 but if your drive's firmware crashed, your lost.
 
 cdrecord is part of /usr/ports/sysutils/cdrtools(-devel).
 
 and then there is camcontrol, man camcontrol has got me out of a jam or two.

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


Re: increasing failed sshd logins/clearing breadcrumb trails

2004-09-16 Thread John DeStefano
 Date: Wed, 15 Sep 2004 12:21:29 +0930
 From: Tim Aslat [EMAIL PROTECTED]
 Subject: Re: increasing failed sshd logins/clearing breadcrumb trails
 To: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII
Tim Aslat [EMAIL PROTECTED] once said:
 
 In the immortal words of Glenn Sieb [EMAIL PROTECTED]...
  I've been getting this for weeks. They're all under APNIC, and
 emails
  to [EMAIL PROTECTED] involved networks has gone unanswered.
 
 I've been getting these as well, but from a multitude of address
 spaces.
  Not just APNIC.
 
  The easiest way to protect this is to check your sshd_config and
 set:
  PermitRootLogin no
Interestingly, this option did not exist in my config file (I added
it), but all other options were commented out.  Is this the default? 
Is it wise to leave it this way?

 Agreed.  However if you 'Absolutely' require something to be done
 remotely as root, make it a pub/priv key sequence and limit the
 command
 using the keys.  ie:
 change sshd_config to PermitRootLogin without-password
 and set up
 command=/usr/local/bin/rsync --server --daemon . ssh-dss snip
 actual
 key 
 in the authorized_keys file.  This limits the abilities of the remoe
 login to just running the rsync command with the specified switches. 
 Anything else just doesn't work.
 
  Which, if you're exposed to the 'Net would be a sane
 practice--force 
  people to log in as themselves and su (or sudo or sudoscript) to
 root.
 
 Very sane practice
 
Indeed.

  Admittedly, I am not sure about the rest of your posting. When I
 run 
  last, (on 4.10-STABLE) it shows logins back to the 1st of
 September.
 
 It is possible that the box was compromised and the utmp/wtmp log
 removed/edited/etc, and I would start looking immediately for other
 traces of a possible intrusion.
 
My current wtmp log, which dates from today back to Aug 30, is quite
small and shows only two logins... I've logged in twice since
reporting this incident to the list. There exists no utmp file in
/var/log/.

I'm really starting to feel as if the machine were compromised, or at
least perused, and my utter lack of security knowledge has become
glaringly apparent.

What other traces could I look for; what other files might give me a
clue?  And where would I begin looking for files that might have been
planted on the machine (scripts, server threads)?

 Cheers  good luck
Thanks, but it doesn't seem any luck I've got at this point would be good

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


Re: what are the pros and cons of running in single user?

2004-09-16 Thread Giorgos Keramidas
On 2004-09-16 09:11, Ed Budd [EMAIL PROTECTED] wrote:
 er...doesn't single user mode mean no networking? My understanding is
 that this is really only for maintenance (ie. make installworld, etc.),

Well, you can always bring up the network interfaces manually ;-)

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


ATI AGP card and Xorg

2004-09-16 Thread John DeStefano
Trying to take my mind off my server exploit issue...

I'm trying to configure an ATI Radeon 9000 64mb AGP video card with
Xorg on a FreeBSD5.3beta2 workstation. No matter which config option I
choose ('Xorg -configure', 'xorgcfg -textmode', xorgconfig), when I
test the generated .conf file, the screen locks up with a bunch of
colors and horizontal lines (green on top, blue everywhere else). The
mouse cursor moves, but none of the Ctrl+Alt key combos work, and I
can't escape the X session or access another virtual console. The
Device section generated from 'Xorg -configure' is:
Section Device
Identifier Card0
Driver ati
VendorName ATI Technologies Inc
BoardName Radeon RV250 If [Radeon 9000]
BusID PCI:3:0:0

Here's any related output I can think of from 'pciconf -lv':
[EMAIL PROTECTED]:0:0: class=0x06 card=0x chip=0x01e010de rev=0xa2 
hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce2 AGP Controller'
class = bridge
subclass = HOST-PCI
.
.
.
[EMAIL PROTECTED]:0:0: class=0x03 card=0x20021002 chip=0x49661002 rev=0x01 
hdr=0x00
vendor = 'ATI Technologies Inc.'
device = 'RV250 Radeon 9000/9000 Pro'
class = display
subclass = VGA
[EMAIL PROTECTED]:0:1: class=0x038000 card=0x20031002 chip=0x496e1002 
rev=0x01 hdr=0x00
vendor = 'ATI Technologies Inc.'
device = 'RV250 Radeon 9000/9000 Pro - Secondary'
class = display

I thought it might be an AGP/kernel issue, but when I try 'kldload
agp' I get back File exists, and when I do 'kldstat -n agp' or
'kldunload' I get No such file.

I tried someone else's bare-bones radeon conf file, and I got the
same problem as always on test: blue/green garbled screen, mouse
moves, can't escape out of locked-up X. I then replaced the radeon
Driver entry with vesa in the config. When I tested this, it showed
a different garbled screen (grey this time) for a few seconds, then
clicked to a normal X-Windows screen, but with a black hourglass
outline on the sides. I was able to Ctl+Alt+Backspace out of this as
normal, and the console didn't report any warnings or errors.

I then moved this config file to /etc/X11/xorg.conf and ran 'startx'.
It started fine and looked as described above, with an hourglass
outline. When I exited X, there were some errors on the console that
were probably just from exiting out of X, and this one:
xauth: (argv):1: bad display name my.hostname.com:0 in remove command

Any ideas on how to get this card working properly?  BTW: I began
using FreeBSD5.3beta2 on this machine for its NDIS support for my
onboard NIC.

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


Re: what are the pros and cons of running in single user?

2004-09-16 Thread mailing lists at MacTutor
jan, I agree with what you say about tuning the startup scripts. In my 
relatively limited experience as a system admin., I think this is the 
'better' thing to do. Perhaps you would agree. My next step is to 
understand the kernel security levels and what each one entails. But, 
that I can, hopefully, look up.

thanks,
alex
On Sep 16, 2004, at 9:56 AM, Jan Grant wrote:
On Thu, 16 Sep 2004, Ed Budd wrote:
mailing lists at MacTutor wrote:
I have a machine running 4.10-STABLE that will be a dedicated 
gateway with a
router/firewall combo and web server plus mysql server (maybe). What 
would
be the pros and cons of running this system single user? Processes 
that run
under their own uid, would they be able to run?

Just curious. Any extra thoughts welcome.
er...doesn't single user mode mean no networking? My understanding 
is that
this is really only for maintenance (ie. make installworld, etc.), 
not regular
operations. Perhaps you meant something else or I just haven't had 
enough
caffeine yet...
snip
So to answer the question: you can certainly tune the scripts and
services available that launch you into multi-user mode to get a 
minimum
profile on the machine. However if you modify rc to the extent that it
turns on everything you need in order to set up bridging, run a few
daemons etc then you're effectively duplicating the multiuser startup
anyway.

jan
* modulo securelevel changes which can only be reverted via reboot.
--
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
The Java disclaimer: values of 'anywhere' may vary between regions.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Alexander Sendzimir (owner)802 863 5502
 MacTutor: Apple Mac OS X Consulting   [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Multiple Net Connections

2004-09-16 Thread Chris Ryan
Hi


I am running a Firewall / router / wireless freeBSD
5.2.1 pII 300.

i.e it supplies net access for my LAN..


It has a wireless connection for internet that
sometimes goes down and i wanted to get a backup
internet connection for it - either DSL or ISDN.


How can i enable it to use 2 different net
connections? - and prioritize between the wireless
first then if not available - the DSL.

Is BGP the answer? and if so how?



Thanks in advance to the helpfull freeBSD community :)

Regards

Chris Ryan







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


Re: postfix chrooting.

2004-09-16 Thread borg
--- Volker Kindermann [EMAIL PROTECTED] wrote:

  My question is, how to proceed after that ? What
 do I
  have to do to create the chroot environment. And
 what
  option I should enclude in the main.cf to make
 postfix
  start chrooted.
 
 look at master.cf. There you can determine, which
 postfix service runs chrooted (not all of them will
 run chrooted).
 
 You don't have to change main.cf for chrooted
 operation.
 
  -volker

master.cf says to look at examples/chroot-setup and
there is a freebsd specific file. That's exactly what
I posted ealier. 
umask 022
mkdir /var/spool/postfix/etc
chmod 755 /var/spool/postfix/etc
cd /etc ; cp host.conf localtime services \
resolv.conf /var/spool/postfix/etc

It only prepair the directory for you with the needed
files. But you didn't answer how can the chrooting be
done after that, and how can I check if Postfix is
chrooted when doing so.

please provide more details/steps.

regards,


=
UNIX, it's a way of life.



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Out of Office AutoReply: Approved

2004-09-16 Thread Vladi Barrosa
Thank you for your message. 
I'm out of office today and will return on Thursday,16 September. Please note that in 
the meantime messages won't neither be read nor answered. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Running 3.x binaries

2004-09-16 Thread eng
I've just been given a whole bunch of binaries that had been
compiled under FreeBSD 3.4 and asked to make them run under
our modern 4.10 systems.

I'm considering a couple of options + was hoping for some
commentary on them:

1) setup a chroot environment with the old 3.x system
(using the destdir directive on a 3.x buildworld)
2) Copy over the old libraries and install them in the usual
places

Are there any kernel options I need to ensure that the old
libc will work?

Where can I find these old sources? (I haven't looked yet,
just thought I'd ask if someone knew offhand.)

Thanks,
  Jon

p.s.  please reply to me directly as I do _not_ subscribe to
the list.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVS CO Error

2004-09-16 Thread Kenneth A. Bond
Hello,
This was in fact a server issue, which seemed specific to the US anoncvs server.
I ran the same commands, however, I used the German anoncvs server, as seen below:
 
setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs
 
I was able to successfully synchronize my source with no errors.
 
Thank you very much for your help. Much appreciated!!
 
KB

Phil Schulz [EMAIL PROTECTED] wrote:
Kevin D. Kinsey, DaleCo, S.P. wrote:
 Kenneth A. Bond wrote:
 
 Hello,
 I am trying to update my source using CVS, as CVSup is not an option 
 in my current environment. I am running FreeBSD 4.10.
 Below are the commands that I am entering in order to perform the 
 update, but for some reason, I am getting the following error when 
 attempting to update my source:

 lx1005# pwd
 /usr/src
 lx1005# setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs
 lx1005# cvs co -rRELENG_4_10 src
 cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: 
 Permission denied
 lx1005# whoami
 root
[...]
 
 I'm thinking it must be something in your configuration, as I
 can't replicate the problem here.

I can, but only if I include the -rRELENG_4_10 part.

(using csh)

 # setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs
 # cvs co -rRELENG_4_10 src/COPYRIGHT
 cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied
 # cvs co src/COPYRIGHT
 U src/COPYRIGHT

If there were a file in the way, you'd see something like

 # rm -rf src/
 # mkdir src
 # touch src/COPYRIGHT
 # cvs co src/COPYRIGHT
 cvs checkout: cannot open CVS/Entries for reading: No such file or directory
 cvs [checkout aborted]: no repository

The reason why I think this is a server issue is that there is no 
reference to /home/ncvs on my system besides the CVSROOT variable. Of 
course, I might be doing something wrong, but I'm completely lost on 
what it could be.

 
 Do you have CVS_RSH=ssh in your environment?
 

From man cvs:

 CVS_RSH
 cvs uses the contents of this variable to determine the name of
 the remote shell command to use when starting a cvs server. If
 this variable is not set then `ssh' is used.

I take is that it doesn't matter if you've got it set or not, as long as 
you want to use ssh.

-- 
Did you know...

If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward
...it installs Windows 2000

-- Alfred Perlstein on [EMAIL PROTECTED]



Computers are like Air Conditioners: They stop working properly if you open Windows.


-
Post your free ad now! Yahoo! Canada Personals
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php4 + mhash

2004-09-16 Thread fbsd_user
how do I tell the php4 port to include mhash?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make kernel / make installworld failed - Signal 4

2004-09-16 Thread Alex de Kruijff
On Thu, Sep 16, 2004 at 10:57:44AM +0200, Owen.G wrote:
 Hello all,
 
 My PC is (or rather until Sunday, WAS) running 5.2.1#9.  I edited the 
 kernel to reflect my installed hardware and add support for the PF 
 firewall and then did a CVSup for sources - keeping to 5.2.1.  This 
 isn't the first kernel edit and upgrade I've done but as far as I recall 
 the only changes I made were the pfi_hooks (or something similar - for 
 the PF firewall) and to disable the ata keyboard - I can use USB to a 
 KVM switch.
 
 Here's what happened . . .
 
 # make buildworld - finished OK
 # make kernel KERNCONF=EDEN - finished OK

Shouldn't this be 'make buildkernel KERNCONF=EDEN  make installkernel
KERNCONF=EDEN'?

 * PC rebooted OK
 # make installworld - failed with errors part way through.
 * PC failed to reboot.  It gets part way through and then reboots.
 . . .

Have you looked for clues at /usr/src/UPDATE? You may have forgot to
perform a mergemaster -p

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make kernel / make installworld failed - Signal 4

2004-09-16 Thread Alex de Kruijff
On Thu, Sep 16, 2004 at 02:30:21PM +0200, Alex de Kruijff wrote:
 On Thu, Sep 16, 2004 at 10:57:44AM +0200, Owen.G wrote:
  Hello all,
  
  My PC is (or rather until Sunday, WAS) running 5.2.1#9.  I edited the 
  kernel to reflect my installed hardware and add support for the PF 
  firewall and then did a CVSup for sources - keeping to 5.2.1.  This 
  isn't the first kernel edit and upgrade I've done but as far as I recall 
  the only changes I made were the pfi_hooks (or something similar - for 
  the PF firewall) and to disable the ata keyboard - I can use USB to a 
  KVM switch.
  
  Here's what happened . . .
  
  # make buildworld - finished OK
  # make kernel KERNCONF=EDEN - finished OK
 
 Shouldn't this be 'make buildkernel KERNCONF=EDEN  make installkernel
 KERNCONF=EDEN'?
 
  * PC rebooted OK
  # make installworld - failed with errors part way through.
  * PC failed to reboot.  It gets part way through and then reboots.
  . . .
 
 Have you looked for clues at /usr/src/UPDATE? You may have forgot to
 perform a mergemaster -p

This should be /usr/src/UPDATING

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what are the pros and cons of running in single user?

2004-09-16 Thread Sergey Zaharchenko
On Thu, Sep 16, 2004 at 06:01:13PM +0300,
 Giorgos Keramidas probably wrote:
 On 2004-09-16 09:11, Ed Budd [EMAIL PROTECTED] wrote:
  er...doesn't single user mode mean no networking? My understanding is
  that this is really only for maintenance (ie. make installworld, etc.),
 
 Well, you can always bring up the network interfaces manually ;-)
 

Actually, that's what /etc/netstart is for.

-- 
DoubleF
Carmel, New York, has an ordinance forbidding men to wear coats and
trousers that don't match.


pgpWZZx2xOpp0.pgp
Description: PGP signature


Re: what are the pros and cons of running in single user?

2004-09-16 Thread mailing lists at MacTutor
Now might be a good time for me to point out that I'm learning some 
subtle and useful things about system startup that is helping me think 
about how I might customize system start up if I go that route.

Thanks to everyone who's responding.
alex
On Sep 16, 2004, at 1:31 PM, Sergey Zaharchenko wrote:
On Thu, Sep 16, 2004 at 06:01:13PM +0300,
 Giorgos Keramidas probably wrote:
On 2004-09-16 09:11, Ed Budd [EMAIL PROTECTED] wrote:
er...doesn't single user mode mean no networking? My understanding 
is
that this is really only for maintenance (ie. make installworld, 
etc.),
Well, you can always bring up the network interfaces manually ;-)
Actually, that's what /etc/netstart is for.
--
DoubleF
Carmel, New York, has an ordinance forbidding men to wear coats and
trousers that don't match.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Alexander Sendzimir (owner)802 863 5502
 MacTutor: Apple Mac OS X Consulting   [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: increasing failed sshd logins/clearing breadcrumb trails

2004-09-16 Thread Glenn Sieb
John DeStefano said the following on 9/16/2004 10:40 AM:
The easiest way to protect this is to check your sshd_config and
 

set:
   

PermitRootLogin no
 

Interestingly, this option did not exist in my config file (I added
it), but all other options were commented out.  Is this the default? 
Is it wise to leave it this way?
 

Yes--it's in man sshd_config:
PermitRootLogin
Specifies whether root can login using ssh(1).  The 
argument must
be ``yes'', ``without-password'', ``forced-commands-only'' or
``no''.  The default is ``no''.  Note that if
ChallengeResponseAuthentication is ``yes'', the root user 
may be
allowed in with its password even if PermitRootLogin is set to
``without-password''.

If this option is set to ``without-password'' password 
authenti-
cation is disabled for root.

If this option is set to ``forced-commands-only'' root 
login with
public key authentication will be allowed, but only if the
command option has been specified (which may be useful for 
taking
remote backups even if root login is normally not allowed). All
other authentication methods are disabled for root.

If this option is set to ``no'' root is not allowed to login.
Best,
Glenn
--
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.  
 ~Benjamin Franklin, Historical Review of Pennsylvania, 1759

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


Re: what are the pros and cons of running in single user?

2004-09-16 Thread Giorgos Keramidas
On 2004-09-16 13:39, mailing lists at MacTutor [EMAIL PROTECTED] wrote:
On Sep 16, 2004, at 1:31 PM, Sergey Zaharchenko wrote:
On Thu, Sep 16, 2004 at 06:01:13PM +0300,
Giorgos Keramidas probably wrote:
On 2004-09-16 09:11, Ed Budd [EMAIL PROTECTED] wrote:
er...doesn't single user mode mean no networking? My understanding is
that this is really only for maintenance (ie.  make installworld,
etc.),

Well, you can always bring up the network interfaces manually ;-)

Actually, that's what /etc/netstart is for.

 Now might be a good time for me to point out that I'm learning some
 subtle and useful things about system startup that is helping me think
 about how I might customize system start up if I go that route.

Hmmm.  Don't get me wrong, but you shouldn't go that route.  Other than
purely educational and system recovery reasons there's no real gain in
getting your system up in single user mode and manually doing what the
startup scripts will do automagically for you when properly configured.

Regards,
Giorgos

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


SMP on SMP-capable system with one processor

2004-09-16 Thread adp
We have several Dell-based systems that are dual-processor capable, but have
only one processor. The FreeBSD 4.9 kernels for each system is compiled with
SMP support, even though there is only one processor on each system right
now.

Would this actually reduce performance on a single processor system? I know
that SMP kernels have to worry about special locking, and may be doing
unnecessary work.

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


Re: LCD Support in kernel

2004-09-16 Thread Henrik W Lund
Tim Pushor wrote:
snip
I would also have to make sure that the USB subsystem (and probably 
the serial devices as AFAICT the USB driver for the lcd looks like a 
serial port to applications) was loaded as early on as I could so I 
could use it for most of the FreeBSD startup - and what about the 
shutdown? Will the device exist and work when the kernel is in the 
'halted' state?
snip
As far as I know, stuff that you put into the kernel config file gets 
compiled into the kernel. That is, their services are available from the 
moment the kernel is loaded. I guess you would want all things USB 
compiled into the kernel, but it still leaves the issue of how early do 
you want to be able to output to the screen?.

An RCng script immediately comes to mind, but I don't know if that's 
early enough. Some heavy kernel modding seems to be required if you want 
to output to the screen any earlier than that. Same thing with the 
shutdown. If you're feeling insane ( ;-) ) you could modify init to 
output to it. That's about as early (and late) as it gets, I guess.

Play around with the loadable module first, get it working, worry about 
the other stuff later. And at that time, you could ask -hackers, where 
you'll undoubtedly find much more qualified people than me (although I'm 
getting there ;-) ).

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


Re: what are the pros and cons of running in single user?

2004-09-16 Thread Sergey Zaharchenko
On Thu, Sep 16, 2004 at 08:53:03PM +0300,
 Giorgos Keramidas probably wrote:
 On 2004-09-16 13:39, mailing lists at MacTutor [EMAIL PROTECTED] wrote:
 On Sep 16, 2004, at 1:31 PM, Sergey Zaharchenko wrote:
 On Thu, Sep 16, 2004 at 06:01:13PM +0300,
 Giorgos Keramidas probably wrote:
 On 2004-09-16 09:11, Ed Budd [EMAIL PROTECTED] wrote:
 er...doesn't single user mode mean no networking? My understanding is
 that this is really only for maintenance (ie.  make installworld,
 etc.),
 
 Well, you can always bring up the network interfaces manually ;-)
 
 Actually, that's what /etc/netstart is for.
 
  Now might be a good time for me to point out that I'm learning some
  subtle and useful things about system startup that is helping me think
  about how I might customize system start up if I go that route.
 
 Hmmm.  Don't get me wrong, but you shouldn't go that route.  Other than

I thought `that route' == `customize system start up' according to the
scoping rules:)

 purely educational and system recovery reasons there's no real gain in
 getting your system up in single user mode and manually doing what the
 startup scripts will do automagically for you when properly configured.

True, single-user mode is not intended to be the normal way of booting
up a system. It's a bit like having to start up your heart, lungs, etc.
when you get up --- if you forget something, things would go wrong:).
Any security gained from single user mode can be achieved in multi-user
mode with proper configuration.

Still, stuff learnt for purely education reasons sometimes helps.

 
 Regards,
 Giorgos
 

-- 
DoubleF
Any sufficiently advanced bug is indistinguishable from a feature.
-- Rich Kulawiec


pgpDuDEB6kn16.pgp
Description: PGP signature


Re: Portupgrade failure: / filesystem full.... any suggestionsshort of full-scale re-install?

2004-09-16 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:
Hello,
I'm not sure what's next: hedgehogs falling from the skies, perhaps? Mostly, I know 
I'm flailing around in the newbie waters, an otherwise straightforward 5.2.1 install 
(single user, desktop) gone horribly, horribly wrong. The story so far... 

 

And what have you against hedgehogs? Or is it just that they
might hurt if they hit you?
I got through most of the sysinstall program without too many surprises. It's a new 
machine, 40G HD. Loosely following Mr. Lehey's configuration suggestions in 
Complete FreeBSD, / got 4G, swap 2G, and /home the rest.

 

[snip rest of sad story]
We love Mr. Lehey, of course, although my last attempt to get one
of his books on Ebay went awry. However, I've read vinum(8) once,
I think --- and found his website pretty interesting. ;-)
That said, I wouldn't partition a drive in this way. Here's a report
on the disks on my workstation:
$df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 989M 149M 761M 16% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s1e 34G 17G 14G 56% /usr
/dev/ad0s1d 989M 410M 500M 45% /var
/dev/ad1s1d 180G 14G 152G 8% /backup
//[EMAIL PROTECTED]/SHAREDDOCS 19G 15G 3.8G 80% /house
Even allowing that the users in (/usr)/home on my system are using
approximately 13GB, there's still 4GB in /usr, and another half GB
in the root and /var filesystems, which in my case are seperate
partitions.
Most certainly in doing cvsup+buildworld+buildkernel and friends,
you're going to take up space with /usr/src and /usr/obj. By installing
the instant-workstation port, you're going to be filling up 
/usr/ports/distfiles
and /usr/local.

Fetch is probably holding temporary files open in either /tmp or /root,
so it's not inconceivable that your / is up to its 4 GB maximum as /var,
/tmp, and /usr are all in your root fs...
Greg Lehey's recommendations have, AFAIK (but I'm no expert) never been
the same as the ones recommended by /stand/sysinstall (and therefore
the project??) However, generally there's nothing wrong with his ideas,
and certainly he would know better than a peon like myself. BUT---IIRC,
sometime in the last few months he was discussing this very issue on
the lists, and mentioning that his thought on the subject had changed
a bit (and perhaps he's changed his recommendations in a later edition?)
As for what you might do ... one workaround might be to move some
things like /usr/src, /usr/ports and /usr/obj to your big filesystem:
$cd /usr
$mv ports /home
$ln -s /home/ports ports
I don't think this would cause any problems, and might be a way
to manage until later. I guess you could just do it that way permanently.
There would be other options, too, of course...
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question

2004-09-16 Thread nbco
On Thursday 16 September 2004 15:44, Matthew Seaman wrote:
 On Thu, Sep 16, 2004 at 08:38:19AM -0500, Doug Paquette wrote:
  I was wondering if you have the Handbook in a PDF format that I can
  download to make it easier to print the hand book out?

 ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/

The handbook is being updated for 5.3 at this time, so it would probably be 
better to wait until the release is cut to print out a copy as it's a pretty 
big book

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


bandwidthd web access

2004-09-16 Thread Curtis Vaughan
So, I just installed bandwidthd on FreeBSD 5.3-Beta. I don't have 
Apache installed on this system, however, and maybe that's why I can't 
access the web page for this from another computer. I was thinking that 
it maybe provided it's own web engine as I would like to avoid 
installing apache on this system. Nonetheless, if I go to 
/usr/local/bandwidthd/htdocs and use lynx to view the html pages there, 
then I see bandwidthd is working and collecting information as it 
should.

 So, what is it that I'm missing to get these pages served internal to 
our LAN?

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


Re: Running 3.x binaries

2004-09-16 Thread Dan Nelson
In the last episode (Sep 16), [EMAIL PROTECTED] said:
 I've just been given a whole bunch of binaries that had been compiled
 under FreeBSD 3.4 and asked to make them run under our modern 4.10
 systems.
 
 I'm considering a couple of options + was hoping for some
 commentary on them:
 
 1) setup a chroot environment with the old 3.x system
 (using the destdir directive on a 3.x buildworld)
 2) Copy over the old libraries and install them in the usual
 places

Option 2 should work just fine.  Installing the misc/compat3x port will
get you most if not all of the required libraries (comment out the
FORBIDDEN= line in the Makefile).  If your programs depend on
port-installed libraries, copy them off the old system into
/usr/local/lib/compat/.  The only stumbling block you might run into is
if both the old and the new system have a shared library with the same
major number.  Old binaries will try and link to the new shlib and may
have problems.
 
 Are there any kernel options I need to ensure that the old
 libc will work?

You needed to change the max pid value for 2.2.x compatibility, I
think, but 3.x binaries should work with no adjustments.

 p.s.  please reply to me directly as I do _not_ subscribe to
 the list.

That's standard procedure on FreeBSD.org lists.

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


java virtual machine on bsd

2004-09-16 Thread John Lee
how do i install a jvm on freebsd, which ports dir in /java?

[EMAIL PROTECTED] backupsw]# sh install.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable.  You must install a VM prior to
running this program.

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


Re: bandwidthd web access

2004-09-16 Thread Steve Bertrand
 So, I just installed bandwidthd on FreeBSD 5.3-Beta. I don't have
 Apache installed on this system, however, and maybe that's why I can't
 access the web page for this from another computer. I was thinking
 that
 it maybe provided it's own web engine as I would like to avoid
 installing apache on this system. Nonetheless, if I go to
 /usr/local/bandwidthd/htdocs and use lynx to view the html pages
 there,
 then I see bandwidthd is working and collecting information as it
 should.

   So, what is it that I'm missing to get these pages served internal
 to
 our LAN?


# cd /usr/ports/www/apache13
# make  make install
# cd /usr/local/etc/apache
-- edit httpd.conf to taste ie. Change hostname, etc --
# cd /usr/local/www/data
# ln -s /usr/local/bandwidthd/htdocs bandwidthd
# /usr/local/bin/apachectl start

Now...go to a workstation and type in a browser addr bar:

http://ip_of_bandwidthd_server/bandwidthd

Hope I didn't miss anything ;o)

Apache is not as bad as people think. Generally, for bandwidthd, it
should actually work right out of the box, without changing
anything...


Steve

 Curtis

 ___
 [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]


rc.conf/ifconfig issue

2004-09-16 Thread Mark Thomas


Running 4.10-STABLE as of today. I have the following in /etc/rc.conf:

gif_interfaces=gif0
gifconfig_gif0=A.B.C.D W.X.Y.Z
ifconfig_gif0=inet 192.168.101.1 192.168.102.1 netmask 0x

After a boot I see:
# ifconfig gif0

gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet A.B.C.D -- W.X.Y.Z

I can then do:
# ifconfig gif0 inet 192.168.101.1 192.168.102.1 netmask 0x
# ifconfig gif0

gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 207.101.90.150 -- 207.101.90.148
inet 192.168.101.1 -- 192.168.102.1 netmask 0x

Can anyone point out my stupidity in the rc.conf?

[Please cc me directly -- TIA]

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


Re: bandwidthd web access

2004-09-16 Thread Nathan Kinkade
On Thu, Sep 16, 2004 at 11:54:40AM -0700, Curtis Vaughan wrote:
 So, I just installed bandwidthd on FreeBSD 5.3-Beta. I don't have 
 Apache installed on this system, however, and maybe that's why I can't 
 access the web page for this from another computer. I was thinking that 
 it maybe provided it's own web engine as I would like to avoid 
 installing apache on this system. Nonetheless, if I go to 
 /usr/local/bandwidthd/htdocs and use lynx to view the html pages there, 
 then I see bandwidthd is working and collecting information as it 
 should.
 
  So, what is it that I'm missing to get these pages served internal to 
 our LAN?
 
 Curtis

You will need a web server of some sort on that machine if you expect to
have remote users view bandwidthd's output in a browser.  Of course you
could view the document with a browser on the local machine.  Or perhaps
run bandwidthd and then copy the output file to another machine that can
server it.

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49


pgpRq8qWpefXz.pgp
Description: PGP signature


Re: What to backup

2004-09-16 Thread Dick Davies
* Gary Aitken [EMAIL PROTECTED] [0911 20:11]:
 Scott Gerhardt wrote:
 
 On Sep 15, 2004, at 12:19 PM, Curtis Vaughan wrote:
 
 I have a question about what exactly I should backup on my 5.3 FreeBSD 
 Server. So far I have chosen the following directories for full 
 backup.  But perhaps some is overkill.
 
 /etc
 /boot
 /home
 /var/log
 /usr/ports
 /root
 /usr/local
 /usr/src
 
 You probably do want to back up /usr/src/sys/xxx/conf,
 where xxx is i386 or whatever for your sys, since that is
 where your kernel config for custom kernels normally resides.

What I do is keep my kernel config in my home directory (under CVS
control) and symlink to it from /usr/src. I have 'rm -rf /usr/src'ed
once too often in anger :)
Also I prefer to have /usr/local/etc as a symlik into /etc/local/ , again
so I can 'cp -Rp /etc /etc.ok' before I start to reconfigure the system
(changing network IPs or similar) and restore everything easily.

-- 
The only real way to look younger is not to be born so soon.
-- Charles Schulz, Things I've Had to Learn Over and
   Over and Over
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FW: rc.conf/ifconfig issue

2004-09-16 Thread Mark Thomas
To answer my own question, I also needed to add gif0 to network_interfaces:

network_interfaces=xl0 xl1 lo0 gif0

Mark Thomas
[EMAIL PROTECTED] 

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 3:10 PM
To: [EMAIL PROTECTED]
Subject: rc.conf/ifconfig issue




Running 4.10-STABLE as of today. I have the following in /etc/rc.conf:

gif_interfaces=gif0
gifconfig_gif0=A.B.C.D W.X.Y.Z
ifconfig_gif0=inet 192.168.101.1 192.168.102.1 netmask 0x

After a boot I see:
# ifconfig gif0

gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet A.B.C.D -- W.X.Y.Z

I can then do:
# ifconfig gif0 inet 192.168.101.1 192.168.102.1 netmask 0x
# ifconfig gif0

gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 207.101.90.150 -- 207.101.90.148
inet 192.168.101.1 -- 192.168.102.1 netmask 0x

Can anyone point out my stupidity in the rc.conf?

[Please cc me directly -- TIA]

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


Re: nforce2 vs. apic

2004-09-16 Thread yuri van Overmeeren

Andriy Gapon wrote:
on 16.09.2004 15:46 yuri van Overmeeren said the following:
 

5.2.1 freezes on a nforce2 mainboard with apci, I have a nforce2 (same
abit board) based machine here running freebsd, never got the
5.2.1-release to work with acpi.
It was fixed a little while after the release, 5-current has been
running on the nforce2 for a while.
If you can wait untill the 5.3-release,which should be in about 2~3
weeks, (and run 5.2.1 without acpi for that time) I would do that, 5.3
no longer has the lock-up issue.
   

Yuri,
have you really talked about acpi or apic ? Because I was talking about
apic. I have acpi enabled and apic disabled and that works fine. But I
want to try to enable apic.
 

:) oopsy I was talking about acpi, since that was also in the url you 
referred too (I should read better -smacks self). From what I've heard 
the apic doesn't work too well on nforce2 boards, appearantly there is 
an updated version of the bios that might fix this problem, I've read 
somewhere (little while ago) of a beta version of the new abit nf7 bios 
that fixes apic problems.

You could check the abit site and update/flash the mainboard with the 
latest bios.

but I'm not sure about the 'official' fixed status of the nf7 and nf7 
V2.0. Btw when flashing the bios make sure you get the correct bios, you 
can check your board to see if you have a normal NF7 or NF7 v2.0. 
flashing it with the wrong bios means bye bye bios.

-I suggest chipmakers make a new standard for something and call it 
'apci', just to keep things clear...-

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


edonkey-gtk-gui?

2004-09-16 Thread Robert Huff

Is there anyone out there who has this working and would help
me diagnose why mine isn't?
I've got the port installed.  The problem seems to be with the
command line core and why it won't talk to the GUI.


Robert Huff



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


Re: SMP on SMP-capable system with one processor

2004-09-16 Thread Jorn Argelo
On Thu, 16 Sep 2004 13:09:22 -0500, adp wrote
 We have several Dell-based systems that are dual-processor capable,
  but have only one processor. The FreeBSD 4.9 kernels for each 
 system is compiled with SMP support, even though there is only one 
 processor on each system right now.
 
 Would this actually reduce performance on a single processor system? 
 I know that SMP kernels have to worry about special locking, and may 
 be doing unnecessary work.
 

I don't think so. There are probably quite a few machines out there that run
the GENERIC kernel, which includes SMP support. Remember it's just support;
it's not required for the machine to function. Correct me if I'm wrong though.

Cheers,

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


Re: question

2004-09-16 Thread Mike Woods
Vulpes Velox wrote:
I know it can easily handle 160GB drives as I have some. It should
handle 200GB just fine. 

I've got a 250gb happily running in my fileserver, has been for a good 
while now :)

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


Re: nforce2 vs. apic

2004-09-16 Thread Vulpes Velox
On Thu, 16 Sep 2004 14:14:55 +0300
Andriy Gapon [EMAIL PROTECTED] wrote:

 
 I have nforce2-based motherboard Abit NF7 and run 5.2.1-RELEASE on
 that system. I have tried to enable APIC by compiling kernel with
 'device apic' (both with and without SMP option, although this is a
 UP system), but system just freezes during boot with it. Everything
 works pretty well without APIC, I was just curious about getting it
 to work.
 
 I found this discussion:
 
 http://lists.freebsd.org/pipermail/freebsd-current/2004-May/027316.html
 
 and I have also found numerous reports on nforce2+APIC lockup
 problem in Linux and some patches that were reported to help with
 it.
 
 So, I want to find out if anything changed with respect to this in
 FreeBSD, maybe some patches/workarounds, or success stories about
 FreeBSD+nforce2+APIC.
 
 Also some notes about my lockup. It happens at this point (exerpt
 for non-verbose non-APIC dmesg):
 
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 sc0: System console on isa0
 sc0: VGA 16 virtual consoles, flags=0x200
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on
 isa0 Timecounter TSC frequency 1830012912 Hz quality 800
 Timecounters tick every 10.000 msec
 ipfw2 initialized, divert disabled, rule-based forwarding enabled,
 default to accept, logging limited to 100 packets/entry by default
  In APIC case system freezes here 
 GEOM: create disk ad0 dp=0xc6e15e60
 ad0: 76319MB WDC WD800JB-00ETA0 [155061/16/63] at ata0-master
 UDMA100 acd0: CDRW TEAC CD-W552E at ata1-master UDMA33
 
 Also, when system freezes keyboard LEDs still work properly and
 cursor disappears when I press Scroll Lock, but arrow and
 PgUp/PgDown do not work; if I try Alt-FN system speacker emits
 monotonic sound that can not be turned off (except by reset, of
 course).
 
 I am ready to provide any additional information. Unfortunately I am
 not able to use serial console, so I can't give much info for
 APIC-enabled case.

I own a Abit NF7

Yeah... I remember this. A bit... I remember having to tweak it a bit
to get it to play nicely. IIRC 5.2.1 does not have apic in by defualt?
I may just haved removed it... I forget now, but any ways. Before
trying apic, make sure your kernel has it. If your kernel does not, go
into the setup screen and turn it off. I never had any ACPI problems
with it and that has all ways worked well, minus a warning about a odd
character or the like in it at startup.

I also ran into another problem of my board not liking two ram sticks
in dual channel mode... would cause a lock up around booting... iirc
it would nearly finish and then lock up and KB LEDs would work a bit.

So far my only complaint with it has been the onboard vr ethernet chip
appears to suck compared to the dc pci card I have been using. Not
taken the time to sort that out yet. Appears some what slow under
heavy load. Think that has to do with a problem with device polling
for that chipset.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what are the pros and cons of running in single user?

2004-09-16 Thread Giorgos Keramidas
On 2004-09-16 22:13, Sergey Zaharchenko [EMAIL PROTECTED] wrote:
 On Thu, Sep 16, 2004 at 08:53:03PM +0300, Giorgos Keramidas wrote:
  Hmmm.  Don't get me wrong, but you shouldn't go that route.

 I thought `that route' == `customize system start up' according to the
 scoping rules:)

Actually (and perhaps this was a misunderstanding on my part) what I meant
by that route was to boot single user and then bring up the system piece
by piece, starting only the parts that are deemed absolutely necessary (for
some definition of ansolutely and necessary).

  Other than purely educational and system recovery reasons there's no
  real gain in getting your system up in single user mode and manually
  doing what the startup scripts will do automagically for you when
  properly configured.
 [...]
 Still, stuff learnt for purely education reasons sometimes helps.

Heh, yeah.  I still remember fondly the day I rewrote all the rc scripts of
my Slackware system from scratch to give them a colourful look and feel,
much like the way Redhat would do things back then.  I've grown out of my
childish behavior of adding colours everywhere now, but the amount of
learning I gained from this was immense ;-)

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


Trouble installing 4.10 on laptop - cannot find kernel

2004-09-16 Thread Adam Beachell
Hello,

I am atempting to install 4.10 on my laptop. After booting from the
install CD I get a message stating cannot find kernel. I get this
error whether I use the miniinstall or the full 2 disc CD install.
Browsing the CDs I can see that the kernel does exist on the disk.

I have read many of the installation documents however am at a
dead-end. Has anyone seen this before? And what might be the problem?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sysctl meanings.

2004-09-16 Thread Lewis Thompson
Hi,

I wonder if there is a comprehensive list of what many of the sysctl
values are, both in terms of what the node (by this I mean, say,
hw.acpi.verbose) means, and what the values would mean/do?

  If this doesn't exist would it be worth creating a website with a list
of all these?  I've got some spare time in the next couple of days and I
could whip something up in PHP that would hopefully do the job.

  Thanks,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgpqQQrtxQOph.pgp
Description: PGP signature


Prism2.5 firmware

2004-09-16 Thread Vince Hoffman
Hi all,
I've been wondering why I cant seem to get more than approx
180k(bytes)/sec from my freebsd server with a netgear MA311 pci card in
hostap. After some googling After some googling the evidence seems to
point at me having rather ancient firmware.
(23:46:36 ~) 0 # dmesg |grep wi0
wi0: Intersil Prism2.5 mem 0x4050-0x40500fff irq 5 at device 4.0 on
pci2
wi0: 802.11 address: 00:09:5b:11:fa:39
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

(the relevant line from ifconfig being
media: IEEE 802.11 Wireless Ethernet DS/11Mbps hostap (DS/2Mbps hostap)

Since Netgear dont seem to supply an updated firmware, has anyone any
suggestions where i could get one, and if so is there any way to update it
under FreeBSD ? or do i need to take down my server and put the card in my
windows machine to update ?

Any suggestions welcome.

Thanks,

Vince

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


USB Audio/Mixer problem

2004-09-16 Thread Bryan Liesner
I recently purchased a Creative Labs Sound Blaster MP3+ which seems to 
work OK under FreeBSD 5.3-BETA.  A couple of exceptions, though.  It 
only seems to understand 48KHz and have to convert 44.1KHz - 48KHz or 
else the device locks up.  I can live with this.  My concern is that 
when booting verbose or with USB_DEBUG set, when the device attaches, 
it declares that there are 12 mixer devices.  So when I type in mixer 
at the command line, I would expect to see volume, pcm, linein, etc...

But, here's the output of mixer:
Recording source: mic
Mixer pcm  is currently set to  12:12
That's it.  Any ideas to help me get some useful mixer settings?
Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hard drive encryption

2004-09-16 Thread Jim.Kinsey
 
 
Hello,
 
I am writing to inquire about a hard drive encryption software that is compatible with 
FreeBSD.  We have been using PointSEC with windows and am looking for a similar 
solution for FreeBSD.  I see you have  GEOM Based Disk Encryption (gbde)   Which I 
have read about on your web site, but the folks here are resistant to using it and are 
asking for a 3rd party solution that is separate from the OS.  Do you have anything in 
mind?  I understand that gbde requests a password before the partition can be mounted 
anyway so this simulates the same functionality of PointSEC, but since it is part of 
the OS, it seems that if someone has access to the OS, they could still get in.  Is 
that right?
 
Thank you very much for your help. 

  Jim Kinsey 
  
  Nokia Networks 
  313 Fairchild Drive 
  Mountain View, CA 94040 
  ( 650 ) 864 - 6742 

 NOKIA 

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


Re: sysctl meanings.

2004-09-16 Thread Chuck Swiger
Lewis Thompson wrote:
I wonder if there is a comprehensive list of what many of the sysctl
values are, both in terms of what the node (by this I mean, say,
hw.acpi.verbose) means, and what the values would mean/do?
'sysctl -d -a hw' will give a one-line description for many of the sysctls, 
and it's not uncommon for manpages to provide more details-- more often for 
manpages in section 4 and 8, ie, things like device drivers.

'sysctl -a' is not comprehensive since it doesn't include references to kernel 
options (or modules) which have not been enabled, but it's close.  To do 
better then that, look at the sources under /usr/src/sys.

  If this doesn't exist would it be worth creating a website with a list
of all these?  I've got some spare time in the next couple of days and I
could whip something up in PHP that would hopefully do the job.
If doing this would please you, by all means: it would be somewhat useful. :-)
However, you might find that submitting src patches to add descriptions to the 
rest of the sysctls and/or clarify existing descriptions if they are too short 
or not informative would be more useful.

Also, you might give a thought to writing this stuff up in DocBook and 
submitting it to become part of the FreeBSD documentation, rather than rolling 
your own site.  I suspect that people are more likely to help keep real docs 
up-to-date, but YMMV

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


Re: Trouble installing 4.10 on laptop - cannot find kernel

2004-09-16 Thread Chuck Swiger
Adam Beachell wrote:
I am atempting to install 4.10 on my laptop. After booting from the
install CD I get a message stating cannot find kernel. I get this
error whether I use the miniinstall or the full 2 disc CD install.
Browsing the CDs I can see that the kernel does exist on the disk.
I have read many of the installation documents however am at a
dead-end. Has anyone seen this before? And what might be the problem?
You didn't mention what type of laptop you have, which is fairly crucial 
information-- others with similar hardware might say something useful.

You ought to carefully review your BIOS settings and ATA config (ie, try using 
PIO mode rather than UMDA); some laptops don't follow the specs very closely, 
and FreeBSD can be picky if ATA devices aren't set up properly.

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


ata1-slave: ATA identify retries exceeded

2004-09-16 Thread RYAN vAN GINNEKEN
Keep getting this error in my dmesg
ata1-slave: ATA identify retries exceeded
this is for my cdrom drive and it is not working can someone give me 
some hints on how to trouble shoot.  The jumpers are set right and i 
have replace the cable but still get the error.  Here is the intire 
dmseg dump

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 rights reserved.
FreeBSD 4.10-STABLE #0: Fri Sep  3 02:10:11 MDT 2004
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ABIKO.COMPUTERKING.CA
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 233288650 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (233.29-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x634  Stepping = 4
 
Features=0x80f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX
real memory  = 167772160 (163840K bytes)
config di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config q
avail memory = 159379456 (155644K bytes)
Preloaded elf kernel kernel at 0xc03a5000.
Preloaded userconfig_script /boot/kernel.conf at 0xc03a509c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00fdf40
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443LX (440 LX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443LX (440 LX) host to PCI bridge mem 
0xf800-0xfbff at device 0.0 on pci0
pcib1: Intel 82443LX (440 LX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: NVidia/SGS-Thomson Riva128 graphics accelerator at 0.0 irq 11
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0x10c0-0x10cf at device 7.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x1080-0x109f irq 
9 at device 7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip0: Intel 82371AB Power management controller port 0x7000-0x700f at 
device 7.3 on pci0
sio0: 3COM PCI FaxModem port 0x10d0-0x10d7 irq 10 at device 13.0 on pci0
sio0: moving to sio4
sio4: type 16550A
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x1000-0x107f mem 
0xf410-0xf410007f irq 11 at device 14.0 on pci0
xl0: Ethernet address: 00:04:75:a1:53:34
miibus0: MII bus on xl0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Intel 82557 Pro/100 Ethernet port 0x10a0-0x10bf mem 
0xf400-0xf40f,0xf4101000-0xf4101fff irq 3 at device 15.0 on pci0
fxp0: Ethernet address 00:a0:c9:aa:f4:d4
inphy0: i82555 10/100 media interface on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0: too many dependant configs (8)
isa0: unexpected small tag 14
orm0: Option ROMs at iomem 
0xc-0xc7fff,0xc8000-0xc87ff,0xe-0xe3fff,0xe4000-0xe on isa0
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
IP packet filtering initialized, divert enabled, rule-based forwarding 
enabled, default to deny, logging limited to 100 packets/entry by default
ata1-slave: ATA identify retries exceeded
ad0: 4120MB Maxtor 84320D4 [8930/15/63] at ata0-master UDMA33
ad2: 3832MB QUANTUM Bigfoot TX4.0AT [8306/15/63] at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a

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


Re: SMP on SMP-capable system with one processor

2004-09-16 Thread Lowell Gilbert
adp [EMAIL PROTECTED] writes:

 We have several Dell-based systems that are dual-processor capable, but have
 only one processor. The FreeBSD 4.9 kernels for each system is compiled with
 SMP support, even though there is only one processor on each system right
 now.
 
 Would this actually reduce performance on a single processor system? I know
 that SMP kernels have to worry about special locking, and may be doing
 unnecessary work.

Sure.  If you don't have a multiprocessor system, you may see a very
small performance improvement by removing the SMP support.  You'd need
to make careful measurements to notice the difference, though.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2.7 Terabyte array and bsdlabel on 5.3-BETA2 wierdness

2004-09-16 Thread Jeremy Faulkner
Nick Evans wrote:
 The card is a 9500-12 despite the driver saying otherwise. The array is
built at 2.7T through the 3ware bios. bsdlabel just refuses to accept a
label larger than 700-something gig.
http://www.freebsd.org/projects/bigdisk/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATI AGP card and Xorg

2004-09-16 Thread Robert Storey
One thing you could try is editing /etc/X11/xorg.conf and substituting
vesa for ati. It's not an ideal solution, but the vesa driver often
works when nothing else will. You might want to take a look at
/usr/X11R6/lib/X11/doc/README.ati, and list all video drivers in
/usr/X11R6/lib/modules/drivers/.

regards,
Robert

On Thu, 16 Sep 2004 11:10:44 -0400
John DeStefano [EMAIL PROTECTED] wrote:

 Trying to take my mind off my server exploit issue...
 
 I'm trying to configure an ATI Radeon 9000 64mb AGP video card with
 Xorg on a FreeBSD5.3beta2 workstation. No matter which config option I
 choose ('Xorg -configure', 'xorgcfg -textmode', xorgconfig), when I
 test the generated .conf file, the screen locks up with a bunch of
 colors and horizontal lines (green on top, blue everywhere else). The
 mouse cursor moves, but none of the Ctrl+Alt key combos work, and I
 can't escape the X session or access another virtual console. The
 Device section generated from 'Xorg -configure' is:
 Section Device
 Identifier Card0
 Driver ati
 VendorName ATI Technologies Inc
 BoardName Radeon RV250 If [Radeon 9000]
 BusID PCI:3:0:0
 
 Here's any related output I can think of from 'pciconf -lv':
 [EMAIL PROTECTED]:0:0: class=0x06 card=0x chip=0x01e010de rev=0xa2
 
 hdr=0x00
 vendor = 'NVIDIA Corporation'
 device = 'nForce2 AGP Controller'
 class = bridge
 subclass = HOST-PCI
 .
 .
 .
 [EMAIL PROTECTED]:0:0: class=0x03 card=0x20021002 chip=0x49661002
 rev=0x01 hdr=0x00
 vendor = 'ATI Technologies Inc.'
 device = 'RV250 Radeon 9000/9000 Pro'
 class = display
 subclass = VGA
 [EMAIL PROTECTED]:0:1: class=0x038000 card=0x20031002 chip=0x496e1002 
 rev=0x01 hdr=0x00
 vendor = 'ATI Technologies Inc.'
 device = 'RV250 Radeon 9000/9000 Pro - Secondary'
 class = display
 
 I thought it might be an AGP/kernel issue, but when I try 'kldload
 agp' I get back File exists, and when I do 'kldstat -n agp' or
 'kldunload' I get No such file.
 
 I tried someone else's bare-bones radeon conf file, and I got the
 same problem as always on test: blue/green garbled screen, mouse
 moves, can't escape out of locked-up X. I then replaced the radeon
 Driver entry with vesa in the config. When I tested this, it showed
 a different garbled screen (grey this time) for a few seconds, then
 clicked to a normal X-Windows screen, but with a black hourglass
 outline on the sides. I was able to Ctl+Alt+Backspace out of this as
 normal, and the console didn't report any warnings or errors.
 
 I then moved this config file to /etc/X11/xorg.conf and ran 'startx'.
 It started fine and looked as described above, with an hourglass
 outline. When I exited X, there were some errors on the console that
 were probably just from exiting out of X, and this one:
 xauth: (argv):1: bad display name my.hostname.com:0 in remove
 command
 
 Any ideas on how to get this card working properly?  BTW: I began
 using FreeBSD5.3beta2 on this machine for its NDIS support for my
 onboard NIC.
 
 Thanks,
 ~John
 ___
 [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: Trouble installing 4.10 on laptop - cannot find kernel

2004-09-16 Thread Robert Storey
You ought to consider subscribing to the freebsd-mobile mailing list.
This isn't a RTFM reply - that really is a useful list and I'm
subscribed to it myself. Also, you can search the freebsd-mobile mailing
list (and all the other mailing lists):

http://www.freebsd.org/search/search.html#mailinglists

Hope this helps.

regards,
Robert

 Adam Beachell wrote:
  I am atempting to install 4.10 on my laptop. After booting from the
  install CD I get a message stating cannot find kernel. I get this
  error whether I use the miniinstall or the full 2 disc CD install.
  Browsing the CDs I can see that the kernel does exist on the disk.

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


creating boot cd to install a ghost image

2004-09-16 Thread William Bierman
Howdy.  I am attempting to create a FreeBSD cluster.  My first step is
to come up with a bootable CD (which I have done) that will run a
script to create one giant partition (for simplicity, since not all
hard drives are the same size), run newfs on it, mount it, and copy
the desired tree to it.  I then unmount it and run boot0cfg -B -s 1
ad0 on it.

When I attempt to boot, it spits out:

F1   FreeBSD
Default: F1

When I hit F1, it spits out that message again.  Eventually the screen
is full of them.  I have heard a rumor that bsdlabel will finish the
job for me, but I am having some issues.  Every page on the web I have
found has told me that I need to run something simple, such as:

bsdlabel -w -B ad0

When I do that, I get the error:

bsdlabel: Geom not specified

Which is weird, since I see no switch defined in the manpage to
specify disk geometry.  Can anyone shed some light on this?  I am
concerned that I may creating the partition incorrectly, but that is
only a guess.

Best Regards,

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


Re: ATI AGP card and Xorg

2004-09-16 Thread John DeStefano
Robert Storey wrote:
 One thing you could try is editing /etc/X11/xorg.conf and substituting
 vesa for ati. It's not an ideal solution, but the vesa driver often
 works when nothing else will. You might want to take a look at
 /usr/X11R6/lib/X11/doc/README.ati, and list all video drivers in
 /usr/X11R6/lib/modules/drivers/.
 
 regards,
 Robert
 
Thanks Robert... but I did try 'vesa' before posting (2nd  3rd paras
from bottom of my post below).  I'm sure either 'raden' or 'ati' are
the way to go, I just can't seem to get either one to work.  I also
read through the entire README.ati, and found it a bit of a
frustrating read when trying to look for answers on 'radeon' drivers
for my card... not much relevent info there for the end-user.

 On Thu, 16 Sep 2004 11:10:44 -0400
 John DeStefano [EMAIL PROTECTED] wrote:
 
  Trying to take my mind off my server exploit issue...
 
  I'm trying to configure an ATI Radeon 9000 64mb AGP video card with
  Xorg on a FreeBSD5.3beta2 workstation. No matter which config option I
  choose ('Xorg -configure', 'xorgcfg -textmode', xorgconfig), when I
  test the generated .conf file, the screen locks up with a bunch of
  colors and horizontal lines (green on top, blue everywhere else). The
  mouse cursor moves, but none of the Ctrl+Alt key combos work, and I
  can't escape the X session or access another virtual console. The
  Device section generated from 'Xorg -configure' is:
  Section Device
  Identifier Card0
  Driver ati
  VendorName ATI Technologies Inc
  BoardName Radeon RV250 If [Radeon 9000]
  BusID PCI:3:0:0
 
  Here's any related output I can think of from 'pciconf -lv':
  [EMAIL PROTECTED]:0:0: class=0x06 card=0x chip=0x01e010de rev=0xa2
 
  hdr=0x00
  vendor = 'NVIDIA Corporation'
  device = 'nForce2 AGP Controller'
  class = bridge
  subclass = HOST-PCI
  .
  .
  .
  [EMAIL PROTECTED]:0:0: class=0x03 card=0x20021002 chip=0x49661002
  rev=0x01 hdr=0x00
  vendor = 'ATI Technologies Inc.'
  device = 'RV250 Radeon 9000/9000 Pro'
  class = display
  subclass = VGA
  [EMAIL PROTECTED]:0:1: class=0x038000 card=0x20031002 chip=0x496e1002
  rev=0x01 hdr=0x00
  vendor = 'ATI Technologies Inc.'
  device = 'RV250 Radeon 9000/9000 Pro - Secondary'
  class = display
 
  I thought it might be an AGP/kernel issue, but when I try 'kldload
  agp' I get back File exists, and when I do 'kldstat -n agp' or
  'kldunload' I get No such file.
 
  I tried someone else's bare-bones radeon conf file, and I got the
  same problem as always on test: blue/green garbled screen, mouse
  moves, can't escape out of locked-up X. I then replaced the radeon
  Driver entry with vesa in the config. When I tested this, it showed
  a different garbled screen (grey this time) for a few seconds, then
  clicked to a normal X-Windows screen, but with a black hourglass
  outline on the sides. I was able to Ctl+Alt+Backspace out of this as
  normal, and the console didn't report any warnings or errors.
 
  I then moved this config file to /etc/X11/xorg.conf and ran 'startx'.
  It started fine and looked as described above, with an hourglass
  outline. When I exited X, there were some errors on the console that
  were probably just from exiting out of X, and this one:
  xauth: (argv):1: bad display name my.hostname.com:0 in remove
  command
 
  Any ideas on how to get this card working properly?  BTW: I began
  using FreeBSD5.3beta2 on this machine for its NDIS support for my
  onboard NIC.
 
  Thanks,
  ~John

Please carbon copy the OP when replying to the list.

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


RE: Max # of Files in a Directory?

2004-09-16 Thread Dan MacMillan
stheg olloydson said:
 it was said:
 
  ... I started seeing all kinds of errors when
  trying to copy more than 16383 messages into one
  of my folders there.  I'm retrieving mail from a
  pop3 server using Outlook then copying them into
  my imap folder, also using Outlook.
 
 Hello,
 
 16383 was a limit in OL before version 8.03 (2000). Go to the MS
 knowledge base and search on Outlook using 16383 as the keyword. You
 will find a number of articles related to this issue.

Thank you to everyone who answered.  It definitely is an Outlook issue
as I now have 16402 messages in the folder and I can read them using
mutt.

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


Re: Shared object libc.so.3 not found

2004-09-16 Thread Dan Nelson
In the last episode (Sep 16), Roger Williams said:
 Hello,
   Why can I no longer put in the compat3, compat4 stuff?   Some of my older
 programs are crashing since the upgrade to 4.10.

You can still install compat3x if you comment out the FORBIDDEN line
in the port Makefile.  The reason it's forbidden is there were some
security vulnerabilities posted that affected 3.x, but the 3.x tree is
so old that it's no longer being updated.

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


Re: java virtual machine on bsd

2004-09-16 Thread Jonathan Chen
On Fri, Sep 17, 2004 at 03:05:20AM +0800, John Lee wrote:
 how do i install a jvm on freebsd, which ports dir in /java?

Try using /usr/ports/java/jdk1.4, and follow the instructions when you
try to install the port.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATI AGP card and Xorg

2004-09-16 Thread Robert Storey
Sorry John, I apologize for not reading all the to the bottom of your
post.

The only other thing I'd suggest is playing with xvidtune. I had to do
this to get my screen to center properly. The frustrating thing with
xvidtune is that it doesn't automatically save the adjustments you make
- you have to manually edit xorg.conf - but at least it makes it
relatively easy to find the right settings.

I will say that FreeBSD really could use a better configuration utility
for X, though I realize that the developers have their hands full just
trying to get 5.3 out the door.

regards,
Robert

On Thu, 16 Sep 2004 21:12:48 -0400
John DeStefano [EMAIL PROTECTED] wrote:

 Thanks Robert... but I did try 'vesa' before posting (2nd  3rd paras
 from bottom of my post below).  I'm sure either 'raden' or 'ati' are
 the way to go, I just can't seem to get either one to work.  I also
 read through the entire README.ati, and found it a bit of a
 frustrating read when trying to look for answers on 'radeon' drivers
 for my card... not much relevent info there for the end-user.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sysctl meanings.

2004-09-16 Thread Danny Pansters
On Friday 17 September 2004 00:51, Lewis Thompson wrote:
 Hi,

 I wonder if there is a comprehensive list of what many of the sysctl
 values are, both in terms of what the node (by this I mean, say,
 hw.acpi.verbose) means, and what the values would mean/do?

I don't think there is. At the very least we should have defaults 
at /etc/defaults

   If this doesn't exist would it be worth creating a website with a list
 of all these?  I've got some spare time in the next couple of days and I
 could whip something up in PHP that would hopefully do the job.

Sysctl docs are greatly needed I think!

   Thanks,

 -lewiz.

No, thank *you* :)

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


Using TCP_DROP_SYNFIN on DMZ firewall ?

2004-09-16 Thread jdroflet
If I use this setting on the DMZ firewall would it affect a web server
running in the DMZ behind the FW ? The web server IP/port would be
redirected into the DMZ by natd,  or does this only break SYN+FIN if the
web server is running on the same box ?

As stated in LINT:
# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN.
This
# prevents nmap et al. from identifying the TCP/IP stack, but breaks
support
# for RFC1644 extensions and is not recommended for web servers.
#
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN

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


Re: Cardbus not working for 3com 656B netcard

2004-09-16 Thread Davon Shire
Ok This is an update on my Problem getting this network card working.

as stated previously..:

 Hello everyone,
   back in the days of 5.1.xxx my 3com CFM656B
 (That's not the exact model
 number sorry but it's in my machine at home at the
 moment.) worked
 beautifully. I had changed to the 5.1 branch of
 FreeBSD because finally I
 could use something other than a ratty Linksys
 10mbps pccard in my laptop.
   I cvsup'd religeously and the world built well
 (usually) and the kernels
 kernelled and I was a righteous FreeBSD guru. But
 then.. 5.2.1 hit and my
 3com netcard no longer functioned. I searched high
 and low for fixes,
 answers cvsup every chance I had and never once did
 the card work again.
   Everything shows normal in the dmesg but the bus
 never resets and the system
 can't get the station address. I checked interrupts
 and the card bus is
 there sharing life with the pccard interface at irq
 10.
   If I'm using 5.1 of the OS (which I reinstalled
 the other day because i'm
 trying to get my new Linksys wifi card running) the
 3com works and data
 flows at a reasonable rate.
   Does anyone know of a fix for the cardbus since
 that's the only thing I can
 find that seems like it's out of wack? same hardware
 works fine with 5.1 but
 5.2 is toiletville.
   My 10mbps linksys card still works but it is a 16
 bit pccard and nothing and
 no cards that I have that are 32bit cardbus work at
 all.
   This is on a IBM Iseries thinkpad 1141. It's been
 my main work horse since I
 bought it in 2000.
   Please help make a ratty old laptop useful again.
 I'll do what I can to
 provide information to get this problem fixed. Since
 I see current is now
 trying to breath life into FreeBSD-6.0 and I would
 hate to see this problem
 continue.
   Thank you in advance for everything.

 Sincerely
   Davon

The card is a 3CCFEM656B.

Earlier Dave McCammon siggested this patch..

http://lists.freebsd.org/pipermail/freebsd-mobile/2004-September/004726.html

Which I applied to FreeBSD 5.3Beta4 cleanly but it made no difference.
I checked vmstat -i and found cbb0 and uhci0 on irq 10. So Just in case there
was a conflict I removed the uhci driver so cbb0 was the only thing on irq 10.

I put the card in after I booted up and set all the debug for cis,cardbus and cbb


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 rights reserved.
FreeBSD 5.3-BETA4 #6: Thu Sep 16 22:17:35 CDT 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/PONY
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Celeron (548.87-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x683  Stepping = 3
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 201195520 (191 MB)
avail memory = 187215872 (178 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IBM ATLANTA on motherboard
acpi0: Power Button (fixed)
acpi_ec0: Embedded Controller: GPE 0x18 port 0x66,0x62 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xf008-0xf00b on acpi0
cpu0: ACPI CPU (2 Cx states) on acpi0
acpi_tz0: Thermal Zone on acpi0
acpi_button0: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
acpi link get: empty IRQ resource
pci0: ACPI PCI bus on pcib0
pci0: multimedia, audio at device 0.1 (no driver attached)
pci0: simple comms at device 0.2 (no driver attached)
pci0: display, VGA at device 2.0 (no driver attached)
cbb0: O2Micro OZ6812/6872 PCI-CardBus Bridge irq 10 at device 3.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port
0x8040-0x804f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: serial bus, USB at device 7.2 (no driver attached)
pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
acpi_lid0: Control Method Lid Switch on acpi0
acpi_acad0: AC Adapter on acpi0
acpi_cmbat0: Control Method Battery on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0
pmtimer0 on isa0
fdc0: cannot reserve I/O port range (6 ports)
ppc0: parallel port not found.
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 

Too many dynamic rules, sorry

2004-09-16 Thread Norm Vilmer
If I repeatedly nmap my FreeBSD 4.10 machine configured with ipfirewall,
I get the message Too many dynamic rules, sorry. Doing a sysctl -a
|grep ip.fw I can see the the net.inet.ip.fw.dyn_count has reached the
max value of 8192 that I set. The net.inet.ip.fw.dyn_ack_lifetime is set
to 300, so the dynamic rule count starts going down after about 5
minutes after the simulated attack.
Questions:
When this happens, if my firewall still fully operational, in other
words can I safely ignore this message?
Is there a way to fix this?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >