Re: Linux patch for reading ufs2

2004-02-13 Thread scalopus
Hi!
  very interesting patch, it would be very useful :) Its a pity
that i havent any linux to test it. I hope more people help
you and having it soon in the linux tools/kernel :)

Regards,
  scalopus


On Fri, 13 Feb 2004 10:12:49 +0530
Niraj Kumar <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I am trying to create some Linux patches to be able to read ufs2.
> Interested (those who are having both Linux and FreeBSD on same box) may 
> try them .
> 
> The work-in-progress patches are available from
> 
> http://ufs-linux.sourceforge.net/ufs2/p1.txt
> http://ufs-linux.sourceforge.net/ufs2/p2.txt
> 
> Currently , these provides the bare minimum  ufs2
> support and that also for Read-Only .
> 
> It would be good if somebody tests them  and see the problems.
> 
> Niraj
> 
> ___
> [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: routing, 2 nics, and a default gateways

2004-02-13 Thread Grzegorz Burzyński
You wrote:
>I have 2 nics. The first has about 30 ips assigned to it and working
> correctly. The other was a backup nic for the ISP backup network, but its
> now I was asked to assign ips and a default gateway specification to
> it,because we ran out of usable ips on the 1st nic, so we have a new
> netblock ready for assignment.

 Hello!
 It sounds strange to me, that you got 30 IPs assigned to 1 NIC and
 you ran out of usable ones. Didn't you think about changing size of
 your subnet assigned to that NIC? If you'll assign a subnet mask of
 255.255.255.0 you'll get 254 usable IPs. Now you can forget about
 your 2nd NIC. All you have to do (after changing the subnet mask on
 server) is to change mask on hosts in your network (you can leave
 other settings unchanged).
 Hope it will work for you.

 Greetz
 Grzegorz Burzyński
 
 There are 10 kinds of people
 those who understand binary
 and those who don't.

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


RealTek 8139 PC Card

2004-02-13 Thread Loren M. Lang
I'm trying to get a realtek 8139 pcmcia network card to work with
FreeBSD, it was working nicely with linux using the standard 8139 driver
so I'm sure the card is good.  I have the rl driver compiled staticly into
the kernel, but I'm not sure if this works with pc cards as the device
isn't present when the system boots, do I need to remove it and just use
the module?

I looked in the /etc/defaults/pccard.conf file and found no references
to any realtek drivers, do I need to add one?

The following line from pciconf I believe identifies the realtek card,
but I'm not sure:
[EMAIL PROTECTED]:0:0: class=0x03 card=0xb18b0e11 chip=0x4c4d1002 rev=0x64
hdr=0x00

Also, is there any program with nicer output like lspci or cardctl ident on
linux?  I would think there should be some program that can translate
those ugly device/vendor ids into nice pretty names.

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


FreeBSD Locked Up

2004-02-13 Thread Loren M. Lang
I have been using FreeBSD 4.9 on a Compaq Presario laptop for about 3
1/2 months now without any troubles, and before that RedHat Linux for
about a year and a half.  Just yesterday morning though I awoke to find
my system completely frozen, no screensaver was on, but I couldn't move
the mouse pointer, switch vcs, or ssh in, though, strangely enough I
could ping it.  Is there anything I can do now to try and figure out why
it might of crashed or is there any possible cause?

Also, on reboot, I notice fsck took a considerable time to check the
disk, though nothing major was found that interrupted the boot process.
Is this because FreeBSD doesn't use a journalling filesystem?  I think I
read somewhere that FreeBSD chose to use a filesystem with soft updates
over a journalling one because it provides relatively equal data integrity
compared to a journalling one, but is more efficient with the order of
writing data, but does this mean that FreeBSD will always take longer to
recover from a crash?

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


Re: RealTek 8139 PC Card

2004-02-13 Thread Craig Reyenga
pciconf -lv will show you very beautiful output of pci devices.

-Craig

- Original Message - 
From: "Loren M. Lang" <[EMAIL PROTECTED]>
To: "FreeBSD Mailing list" <[EMAIL PROTECTED]>
Sent: Friday, February 13, 2004 4:20 AM
Subject: RealTek 8139 PC Card

[snipped, OE sucks]

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


Re: FreeBSD Locked Up

2004-02-13 Thread Ion-Mihai Tetcu
On Fri, 13 Feb 2004 01:28:57 -0800
"Loren M. Lang" <[EMAIL PROTECTED]> wrote:

[..]

> Also, on reboot, I notice fsck took a considerable time to check the
> disk, though nothing major was found that interrupted the boot process.
> Is this because FreeBSD doesn't use a journalling filesystem?  I think I
> read somewhere that FreeBSD chose to use a filesystem with soft updates
> over a journalling one because it provides relatively equal data integrity
> compared to a journalling one, but is more efficient with the order of
> writing data, but does this mean that FreeBSD will always take longer to
> recover from a crash?

No, usually it is shorter. It all depends on how bad the fs state is and
the free space (for fsck's snapshot).



-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: RealTek 8139 PC Card

2004-02-13 Thread Ion-Mihai Tetcu
On Fri, 13 Feb 2004 01:20:44 -0800
"Loren M. Lang" <[EMAIL PROTECTED]> wrote:

> I'm trying to get a realtek 8139 pcmcia network card to work with
> FreeBSD, it was working nicely with linux using the standard 8139 driver
> so I'm sure the card is good.  I have the rl driver compiled staticly into
> the kernel, but I'm not sure if this works with pc cards as the device
> isn't present when the system boots, do I need to remove it and just use
> the module?
> 
> I looked in the /etc/defaults/pccard.conf file and found no references
> to any realtek drivers, do I need to add one?
> 
> The following line from pciconf I believe identifies the realtek card,
> but I'm not sure:
> [EMAIL PROTECTED]:0:0: class=0x03 card=0xb18b0e11 chip=0x4c4d1002 rev=0x64
> hdr=0x00

Bellow is a "normal" on board 8139 card, maybe it helps:

[EMAIL PROTECTED]:19:0:  class=0x02 card=0xe0001458 chip=0x813910ec rev=0x10 
hdr=0x00
vendor   = 'Realtek Semiconductor'
device   = 'RT8139 (A/B/C/813x/C+) Fast Ethernet Adapter'
class= network
subclass = ethernet


> Also, is there any program with nicer output like lspci or cardctl ident on
> linux?  I would think there should be some program that can translate
> those ugly device/vendor ids into nice pretty names.

pciconf -vl


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Compaq RAID on 4.9-RELEASE?

2004-02-13 Thread Olaf Hoyer
On Thu, 12 Feb 2004, Tim Pushor wrote:

> Hi all,
>
> We are going to be replacing one of our older systems here with a new
> HP/Compaq server and want to buy a (cheap) supported hardware raid
> adapter. Compaq/HP used to be so easy.
>
> The system we are looking at has either a Compaq 532 or 641 depending on
> the processor speed (!). I see the 532 is supported, any word on the 641?

Hi!

BTW:Which server model do you plan to buy?

In  $FreeBSD: src/sys/dev/ciss/ciss.c,v 1.2.2.13 2003/12/13 07:56:28 ps
Exp $

both models appear:
 ciss_vendor_data[] = {
{ 0x0e11, 0x4070, CISS_BOARD_SA5,   "Compaq Smart Array 5300" },
{ 0x0e11, 0x4080, CISS_BOARD_SA5B,  "Compaq Smart Array 5i" },
{ 0x0e11, 0x4082, CISS_BOARD_SA5B,  "Compaq Smart Array 532" },
{ 0x0e11, 0x4083, CISS_BOARD_SA5B,  "HP Smart Array 5312" },
{ 0x0e11, 0x4091, CISS_BOARD_SA5,   "HP Smart Array 6i" },
{ 0x0e11, 0x409A, CISS_BOARD_SA5,   "HP Smart Array 641" },
{ 0x0e11, 0x409B, CISS_BOARD_SA5,   "HP Smart Array 642" },
{ 0x0e11, 0x409C, CISS_BOARD_SA5,   "HP Smart Array 6400" },
{ 0x0e11, 0x409D, CISS_BOARD_SA5,   "HP Smart Array 6400 EM" },


But I cannot comment on stability fo the models mentioned above...

I have some boxes here, that use the smartarry 5 and 5iplus with 2003
Server, and I had some old 360 g1 and g2, the g2 having the SA5 onboard,
and those were rock-solid.

But with the PCI ones I have no hands-on-experience, but it should be
the same like the onboard ones. Regarding terms of data security, they
are not the fastest, but reliable.

(OK, could be that 5.2 and GEOM still have some rough edges, I had mine
running 4.8-stable)

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Locked Up

2004-02-13 Thread Konrad Heuer

On Fri, 13 Feb 2004, Loren M. Lang wrote:

> I have been using FreeBSD 4.9 on a Compaq Presario laptop for about 3
> 1/2 months now without any troubles, and before that RedHat Linux for
> about a year and a half.  Just yesterday morning though I awoke to find
> my system completely frozen, no screensaver was on, but I couldn't move
> the mouse pointer, switch vcs, or ssh in, though, strangely enough I
> could ping it.  Is there anything I can do now to try and figure out why
> it might of crashed or is there any possible cause?

I notice such phenomena from time to time, too. I don't know why it
happens, maybe because of insufficient kernel resources or driver problems
or hardware failures. ping is still possible in most of these cases since
response happens on a relative low level.

> Also, on reboot, I notice fsck took a considerable time to check the
> disk, though nothing major was found that interrupted the boot process.
> Is this because FreeBSD doesn't use a journalling filesystem?  I think I
> read somewhere that FreeBSD chose to use a filesystem with soft updates
> over a journalling one because it provides relatively equal data integrity
> compared to a journalling one, but is more efficient with the order of
> writing data, but does this mean that FreeBSD will always take longer to
> recover from a crash?

Beginning with FreeBSD 5.0, it is possible to mount a filesystem
immediatly even if it is dirty, caused by a crash. The file system check
will be delayed for some time till the system is running. That's possible
because soft updates also help to minimize the relevancy of
inconsistencies. In FreeBSD 4.9 and earlier, a filesystem check is
inevitable if the file system is dirty.

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: touchpad mouse not working with freebsd

2004-02-13 Thread Francesco Casadei
Peter Kurpis wrote:
I installed FreeBSD 4.7 on my Toshiba Satellite 1135 laptop, and 
I couldn't get the mouse working.  (Windows says it's an Alps 
Pointing Device, on interrupt 12, plugged into the PS/2 port.)

On further investigation, when I tried

moused -p /dev/psm0 -i all

the daemon aborted, saying it failed to open /dev/psm0 (which 
does exist and looks sane) and also

Device not configured

What does "Device not configured" mean?  I see psm listed in
the GENERIC kernel configuration file...  What gives?  What do 
I need to do to get it working?

P.S.  "Device not configured" was error 6 in errno, according to
truss.
P.P.S.  The same as above goes for the other two mouse devices
(mse0 and ums0) for what it's worth...
Please CC me on reply, as I am not a member of this group.
Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
From psm(4) manpage, "Driver Flags" section:

[...]
bit 12 IGNOREPORTERROR
This flag makes psm driver ignore certain error conditions when
probing the PS/2 mouse port.  It should never be necessary under
normal circumstances.
[...]
So, try to put the following line into /boot/device.hints:

hint.psm.0.flags="0x1000"

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


Re: Standby mode for monitor.

2004-02-13 Thread Malcolm Kay
On Fri, 13 Feb 2004 04:23, Lowell Gilbert wrote:
> Eric F Crist <[EMAIL PROTECTED]> writes:
> > On Thursday 12 February 2004 07:13 am, Malcolm Kay wrote:
> > > I'd like to be able to switch the monitors on a number of
> > > our computers into standby mode from a software program
> > > running on a virtual console; and wakeup either when a key is
> > > pressed or when the program has new information to display.
> > >
> > > I can probably manage to control blank screen savers but I
> > > would prefer to power down the displays to standby modes.
> > >
> > > The machines are those small size 'kitchen computer' VIA
> > > based cubes (almost). The monitors are LCD displays.
> > >
> > > Are there ioctls to help with this?
> > > How do I go about it?
> >
> > Malcolm,
> >
> > FWIW, there's an option called DPMS in your XF86Config file under the
> > monitors section.  I know you have to have a fairly recent version of X
> > for this.

Eric,
I was asking specifically about programs on virtual console. But thanks anyway.

>
> It's been there a long time, actually.
>
> On the console, there's a "green" screensaver and an "apm" screensaver.

Thanks Lowell,
The green_saver suits my needs rather well.
{I was looking for a much more difficult solution ;-) }

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


freebsd5.2 and kdm - what is wrong?

2004-02-13 Thread indigo_agh
Hi! First of all - Thank You for FreeBsd! Unitl now I've used Linux, but when time 
comes to set my own www server (apache) I tried bsd and now I'm totally convinced.  
However, some things are diifferent and I have few problems that I can't solve 
linux-way. As in the topic: I want to have graphical login with kdm. I've set 
everything: when I login on console ,type 'startx' under tcsh, X's comes up with KDE 
and everything is fine. Then i've changed /etc/ttys and add line:
ttyv8 /usr/local/bin/kdm - nodaemon xterm on secure
i've added 'exec startkde' to .xsession, configured KControl and so on..
After reboot kdm graphical login appears - things are going well - i'm typing my login 
name, password then clicking OK - login is accepted, something is loading... KDE? No! 
A login again! So again: my login, my pass - few seconds - login again :( Kde just 
doesn't want to load, instead kdm login appears everytime... I my home dir i've found 
.xsession-errors, here it is:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xset:  unable to open display ":0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xset:  unable to open display ":0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xset:  unable to open display ":0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xsetroot:  unable to open display ':0'
startkde: Starting up...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ksplash: cannot connect to X server :0
_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kded: cannot connect to X server :0
ERROR: KUniqueApplication: Registering failed!
ERROR: Communication problem with kded, it probably crashed.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kcminit: cannot connect to X server :0
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

knotify: cannot connect to X server :0
ERROR: KUniqueApplication: Registering failed!
ERROR: Communication problem with knotify, it probably crashed.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ksmserver: cannot connect to X server :0
startkde: Shutting down...
KLauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.

I was searching in handbook, in documentation, in kde docs... nothing.
What is wrong? I write again: when i run X manually everything is ok, with kdm - no. 
Thanks in advance for Your help! 
Sorry for my english :| Greetings!
indigo
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Andy Magana

2004-02-13 Thread Andreas Magana
I have recently installed BSD. My card is a Visiontek Xtasy Radeon 128MB AGP card. Can 
you reply with some recommendations because it is installed but I don't sse anything 
for my cardl.
 
Thank you 
Andy Magana 
GetGibve
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pkgs managing

2004-02-13 Thread flux
Hello everyone.

How do I know what package does the file belong?
Thx.

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

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


Re: pkgs managing

2004-02-13 Thread Marc Silver
On Fri, Feb 13, 2004 at 03:23:50PM +0300, flux wrote:
> How do I know what package does the file belong?

If you have portupgrade installed (/usr/ports/sysutils/portupgrade) you
can use the pkg_which(1) command.  

For example:

14:32 (5) > pkg_which /usr/local/bin/animate 
ImageMagick-5.5.7.15_1

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


Re: pkgs managing

2004-02-13 Thread Kent Stewart
On Friday 13 February 2004 04:23 am, flux wrote:
> Hello everyone.
>
> How do I know what package does the file belong?
> Thx.

for a file, try the following example of using pkg_which

# locate libXs
/usr/X11R6/lib/libXss.a
# pkg_which /usr/X11R6/lib/libXss.a
XFree86-libraries-4.3.0_6

-- 
Kent Stewart
Richland, WA

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


Re: pkgs managing

2004-02-13 Thread Bernard El-Hagin
flux wrote:
> Hello everyone.
> 
> How do I know what package does the file belong?


man pkg_which


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


4.x disk slice missing in 5.2.1-RC

2004-02-13 Thread Bartosz Fabianowski
Hi all!

On one of my hard disks, I have two slices. The first, /dev/ad4s1, is 
fromatted FAT32 and contains a Windows installation. The second, 
/dev/ad4s2, contains a FreeBSD 4-STABLE installation. The FreeBSD slice, 
of course, is further split into the usual partitions (/dev/ad4s2a and 
so on). Those partitions are all formatted UFS1.

When I boot into this 4-STABLE installation, all slices and partitions 
are found and the system runs perfectly. However, when I boot into 
5.2.1-RC, which I have installed onto another hard drive (/dev/ad6s1), 
the /dev/ad4s2 partition is missing.

At boot time, the entries /dev/ad4 and /dev/ad4s1 are created - so the 
FAT32 partition is found. But the entry for /dev/ad4s2 is missing. I 
tried looking for the partition using fdisk and it is found as the 
second partition, containing a *BSD system. I then tried to check the 
disk labels, but disklabel complained that /dev/ad4s2 does not exist.

Mounting any partition such as /dev/ad4s2a doesn't work either, as the 
entries are not auto-created by devfs since their parent /dev/ad4s2 does 
not exist. I tried to manually create this device entry, but mknod 
wouldn't let me.

So, I am out of ideas. How can fdisk see the partition, 4-STABLE boot 
just fine from it, but devfs simply ignore it? Any help would be greatly 
appreciated!

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


Pnmscale on 4.8 i386 stable

2004-02-13 Thread Dave Carrera
Hi List,

I cant find "pnmscale" on my system anywhere :-(

How can I get it ?

Any help Is appreciated.

Dave C


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.585 / Virus Database: 370 - Release Date: 11/02/2004
 

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


Re: pkgs managing

2004-02-13 Thread Stijn Hoop
On Fri, Feb 13, 2004 at 03:23:50PM +0300, flux wrote:
> Hello everyone.
> 
> How do I know what package does the file belong?
> Thx.

pkg_info -W 

--Stijn

-- 
Fairy tales do not tell children that dragons exist. Children already
know dragons exist. Fairy tales tell children the dragons can be
killed.
-- G.K. Chesterton


pgp0.pgp
Description: PGP signature


Re: Pnmscale on 4.8 i386 stable

2004-02-13 Thread Matthew Seaman
On Fri, Feb 13, 2004 at 01:05:06PM -, Dave Carrera wrote:

> I cant find "pnmscale" on my system anywhere :-(
> 
> How can I get it ?

It's part of the netpbm suite of programs, available from ports in
graphics/netpbm:

% pkg_info -W /usr/local/bin/pnmscale
/usr/local/bin/pnmscale was installed by package netpbm-10.20_1

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


pgp0.pgp
Description: PGP signature


RE: Pnmscale on 4.8 i386 stable

2004-02-13 Thread Dave Carrera
Thanks Matthew,

I do not have the port skel on my system so how do I get the port local to
make it ?

Thanks for any help 

Dave C


-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED] 
Sent: 13 February 2004 13:13
To: Dave Carrera
Cc: [EMAIL PROTECTED]
Subject: Re: Pnmscale on 4.8 i386 stable


On Fri, Feb 13, 2004 at 01:05:06PM -, Dave Carrera wrote:

> I cant find "pnmscale" on my system anywhere :-(
> 
> How can I get it ?

It's part of the netpbm suite of programs, available from ports in
graphics/netpbm:

% pkg_info -W /usr/local/bin/pnmscale
/usr/local/bin/pnmscale was installed by package netpbm-10.20_1

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

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.585 / Virus Database: 370 - Release Date: 11/02/2004
 

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


Re: First time building new kernel 5.1-RELEASE

2004-02-13 Thread Lowell Gilbert
Do you need to be using 5.1?  It's an outdated "early adopters'"
release, after all...

Edward Carmody <[EMAIL PROTECTED]> writes:

> Trying to build a new kernel, having some
> issues...

And you didn't show the kernel configuration.

> 
> First, I tried to follow the FreeBSD Handbook,
> Section 9.3, Procedure 1. Building a Kernel the
> ``Traditional'' Way; experienced the following
> issue: =
> [EMAIL PROTECTED] conf]# pwd /usr/src/sys/i386/conf

Surely you mean "cd" rather than "pwd".  
Next time, please use cut-and-paste to show *exactly* what happened
(script(1) can help if necessary).

> [EMAIL PROTECTED] conf]# config OBERON 
> config: OBERON:226: devices with zero units are
> not likely to be correct [EMAIL PROTECTED] conf]# 



> I man config, and see that "The line numbers
> reported in error messages are usually off by
> one."  I did not experience this with a previous
> mistake, but here are the lines around line 226:
> =
> device  isa
> device  eisa
> device  pci
> device  fdc0at isa? port IO_FD1 irq 6
> drq 2
> device  fd0 at fdc0 drive 0
> device  fd1 at fdc0 drive 1

That's definitely not right on 5.1.
Where did you get it from?  It looks more like a config from 4.x.

> =
> 
> Again, I don't see what's wrong.
> 
> 
> So, I tried Procedure 2. Building a Kernel the
> ``New'' Way: = #
> cd /usr/src # make buildkernel KERNCONF=MYKERNEL #

I'll assume that '#' wasn't in the middle of the line...

> The Regents of the University of
> California. All rights reserved. FreeBSD
> 5.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003

Definitely not a new kernel.

> [EMAIL PROTECTED] sys]# pwd /usr/obj/usr/src/sys 
> [EMAIL PROTECTED] sys]# ls GENERIC OBERON  boot
> [EMAIL PROTECTED] sys]# 

What you put here obviously isn't exactly what you typed originally,
so I'm quite hesitant to draw any conclusions from it...

Good luck.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2 Bridging issue

2004-02-13 Thread Aaron D. Gifford
I asked:
I've got a bridge(4) issue on a BSD 5.2.1 box.  The bridging box has 
three ethernet interfaces, two bridged together in a single cluster, 
and one connected to the internet.  The box acts as a bridge for the 
two network segments, and as a router to the Internet (it's the 
default gateway).  The problem is, only one of the bridged segments 
can communicate with the BSD box directly (and thus the Internet), 
even though the two segments can talk to each other just fine.
Bjorn Eikeland replied:
Try sysctl net.inet.ip.check_interface=0 - sounds like the same problem 
i had with my
bridge a while back.

good luck!

Bjorn
Thanks!

That was it!  I didn't even think to check this, since I was unaware 
that it was set to 1 by default in 5.2.

Maybe I'll submit a patch PR for the bridge(4) man page to mention this.

Aaron out.

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


Unsolved: 5.2 Bridging issue

2004-02-13 Thread Aaron D. Gifford
I originally wrote:
I've got a bridge(4) issue on a BSD 5.2.1 box.  The bridging box has 
three ethernet interfaces, two bridged together in a single cluster, 
and one connected to the internet.  The box acts as a bridge for the 
two network segments, and as a router to the Internet (it's the 
default gateway).  The problem is, only one of the bridged segments 
can communicate with the BSD box directly (and thus the Internet), 
even though the two segments can talk to each other just fine.
And Bjorn Eikeland responded:
Try sysctl net.inet.ip.check_interface=0 - sounds like the same problem 
i had with my
bridge a while back.

good luck!

Bjorn
I then replied that his Bjorn's explanation worked.  Well, I feel like 
an idiot now, but it turns out it didn't work after all.  I just had 
plugged in my test machine into the wrong ethernet port, so of course 
things worked.

Quick recap of my set-up:

FreeBSD box with 3 interfaces, two bridged, the other connects to the 
Internet.  The interfaces are as follows:

  em010.10.10.1/24   Bridged with rl1
  rl010.20.20.2/24   Not bridged, connects to rest of net
  rl1NO IP ADDRESS   Bridged with em0 so hosts on this segment
 are on the same 10.10.10.0/24 subnet
All hosts on 10.10.10.0/24 use 10.10.10.1 as the default gateway.  The
FreeBSD box in question acts as a router and bridge, routing stuff to
an upstream router (call it 10.20.20.1).
Some sysctl settings:
-
net.link.ether.bridge.enable: 1
net.link.ether.bridge.config: em0:1,rl1:1
net.link.ether.bridge_ipfw: 0
net.inet.ip.check_interface: 0
net.inet.ip.forwarding=1
Routing Table:
--
Internet:
DestinationGatewayFlagsRefs  Use  Netif
default10.20.20.1 UGS 0   193583rl0
10/24  link#3 UC  00em0
127.0.0.1  127.0.0.1  UH  0 2300lo0
10.20.20.0/24  link#1 UC  00rl0
10.20.20.1 01:23:45:67:89:ab  UHLW10rl0
ifconfig sample:

rl0: flags=8843 mtu 1500
options=8
inet 10.20.20.2 netmask 0xfff0 broadcast 10.20.20.255
ether 0f:1e:2d:3c:4b:3a
media: Ethernet autoselect (100baseTX )
status: active
rl1: flags=8943 mtu 1500
options=8
ether 00:11:aa:bb:22:cc
media: Ethernet autoselect (100baseTX )
status: active
em0: flags=8943 mtu 1500
options=3
inet 10.10.10.1 netmask 0xff00 broadcast 10.10.10.255
ether ab:cd:ef:98:76:54
media: Ethernet autoselect (100baseTX )
status: active
lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
PROBLEM RECAP:
--
Traffic between em0 and rl1 is bridged just fine, EXCEPT for traffic 
TO/FROM the FreeBSD host itself TO any hosts on rl1 (the interface 
without the IP address).

So 10.10.10.100 on rl1 can talk with 10.10.10.50 on em0, ARP traffic as 
well as IP traffic.  But the BSD host will never get ARP or IP traffic 
to/from 10.10.10.100 on rl1.  The BSD host can talk just fine to 
10.10.10.50 on em0.

Anyone else have any ideas?

The system's running FreeBSD 5.2.1-RC2.

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


"shutdown -p now" causes auto power up at midnight

2004-02-13 Thread Ed Sweeney
running 5.2.x current w/acpi active on an hp dl140

when i "shutdown -p now" the system powers off, then at
exactly midnight the system powers on.  does the now/0
become a boot time instead of a shutdown time on some
systems?

when i "shutdown -h now" and manually press the pwr button,
the system stays down.

i won't be surprised if this is an hp acpi issue, but i am
surprised i don't see any midnight power up(s) reported in
the freebsd or hp mailing list archives.  it is a dev
system.  i guess it might be unusual to keep a server
powered down so much.  closest issues in the archives are
related to haunted laptops restarting, but no mention of a
fixed 00:00 boot time.  whatdidimiss?

=
~~
Ed Sweeney, New York City
mailto:[EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


net-snmp kvm_read: Bad address

2004-02-13 Thread Antoine Jacoutot
Hi :)

I'm running 5.2.1-RC2 and I have problem with the net/net-snmp port.
I use mrtg to collect stats from localhost snmp and I get those strange logs 
in /var/log/snmpd.log:

Connection from 127.0.0.1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
Connection from 127.0.0.1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1

I cvsup, rebuilt my world+kernel and the snmpd port, but I still get the same 
problem.
Any idea what could cause this ?

Note that I launch snmpd like this:
/usr/local/sbin/snmpd -p /var/run/snmpd.pid -Lsd 127.0.0.1

Thanks in advance.
Regards,

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


Re: USB2 external hard drive too slow ....

2004-02-13 Thread Heinrich Rebehn
ivan georgiev wrote:
Hi,

I just bought 80GB WD USB2 hard drive. Everything works. I have 
formated it with ext2 file system, so that I can share file with 
linux. But the problem is that it is very slow compared to linux. 
When I transfered some files under linux the speed of the transfer is 
somewhere around 10MB/s but under freebsd (5-1p10) it is not more 
than 1MB/s :(

Is it running in USB1 mode? Can I make it run faster?

Thanks for your help.

Ivan

Hi Ivan,
did you get any reply to your posting? I am having the same problem: 
Maxtor 250 GB external USB2 drive, Belkin USB2 card, FreeBSD 5.1, but i 
get only < 1MB/sec.

Does FreeBSD support USB 2.0 at all?

Thanks for any help

	Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


No More Daily Run Output

2004-02-13 Thread craig
All,

We've got a FreeBSD 4.7 box that's been running great for the last year and a 
half or so.  We host our customer's email on this box using postfix.  Before 
the FreeBSD box, we had two Linux boxes that hosted all of the email.  We've 
since migrated over the accounts just recently.  Approximately one week ago, 
the day after we moved over approximately 300 accounts, I no longer get 
a 'daily run output' email.  I do stil get the security run output and a 
pflogsumm report every morning.

Ive tried running the 'periodic daily' manually, but I only get the security 
report.

Any ideas on where to begin troubleshooting this?

Thanks!


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


RE: Firewall rules for ftp

2004-02-13 Thread JJB
It would help if you posted you ipfw rules file so people can review
them to look for your problem.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Martin
Schweizer
Sent: Friday, February 13, 2004 2:07 AM
To: [EMAIL PROTECTED]
Subject: Firewall rules for ftp

Hello

Until now I tested a lot regarding ftp and ipfw but with no 100%
success.
What are the correct ipfw rules for ftp (regarding dir and ls,
passive etc.)?

System: FreeBSD 4.9, NAT, ipfw, LAN 192.168.1.0/24, WAN: dyn. WAN ip
over ADSL

--

Regards

Martin Schweizer
<[EMAIL PROTECTED]>

PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22;
http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc;
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

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


Re: USB2 external hard drive too slow ....

2004-02-13 Thread Antoine Jacoutot
On Friday 13 February 2004 16:02, Heinrich Rebehn wrote:
> Hi Ivan,
> did you get any reply to your posting? I am having the same problem:
> Maxtor 250 GB external USB2 drive, Belkin USB2 card, FreeBSD 5.1, but i
> get only < 1MB/sec.
>
> Does FreeBSD support USB 2.0 at all?

Did you add "device ehci" in your kernel config file ?
That's what enable USB2 support if I'm not mistaken.
But beware, I compiled my system (5.2.1-RC2)  with this option and now USB 
crashes totally.

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


Re: SYN Attacks - how i cant stop it

2004-02-13 Thread Spades
Hi,

I got this error when i tried to type for some of those.
"sysctl: unknown oid" any idea..

my server seems to be very lagged, where else
the network connection seems fine, i think BSD
itself as my other redhat box is fine.

What else can i do to get optimum protection.

Thanks.

- Original Message - 
From: "Per Engelbrecht" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, February 07, 2004 5:58 PM
Subject: Re: SYN Attacks - how i cant stop it


> Hi,
>
> 
> > all nights.  Check this.
> >
> > Feb  6 11:54:24 TCP: port scan detected [port 6667] from
> > 212.165.80.117 [ports 63432,63453,63466,63499,63522,...]
> > Feb  6 11:58:09 TCP: port scan mode expired for 212.165.80.117 -
> 
>
>
> It's hard to get rid of shit-heads like this - I'm talking about the
> person doing this attac, that is.
> You send a looong output of a log, but no info on your system or any
> adjustments you have made (or not made) on your system i.e. kernel
> (options), sysctl (tweaks) and ipfw (rules).
> If the problem is out-of-bandwith (and your system already has been
> optimized) then the only real solution is more 'pipe' a.k.a the
> Microsoft-solution.
> So fare I've only been guessing, but here is what I normally do with my
> setup. I'm not telling you that this is the solution! just adwises!
>
> Kernel;
> options  SC_DISABLE_REBOOT
> options  IPFIREWALL
> options  IPFIREWALL_VERBOSE
> options  IPFIREWALL_VERBOSE_LIMIT=100
> options  IPDIVERT
> options  IPFILTER
> options  IPFILTER_LOG
> options  IPSTEALTH   (don't touch the ttl/can't see the wall)
> options  TCP_DROP_SYNFIN   (drop tcp packet with syn+fin/scanner)
> options  RANDOM_IP_ID   (hard to do calculate ip frekv. number)
> options  DUMMYNET   (e.g. 40% for web, 30% for mail and so on)
> options  DEVICE_POLLING(can't do this short and not with SMP)
> options  HZ=1000   (can't do this short and not with SMP)
>
> Sysctl;
> kern.ipc.somaxconn=1024  #this is set high!
> kern.ipc.nmbclusters=65536   #this is set high!
> kern.polling.enable=1 #remember kernel options
> kern.polling.user_frac=50>90  #remember kernel options
> net.xorp.polling=1
> net.xorp.poll_burst=10
> net.xorp.poll_in_trap=3
> (if you use dynamic rules in ipfw [stateful] you can tweak this)
> net.inet.ip.fw.dyn_ack_lifetime=200 #shorte timeout on connection
> net.inet.ip.fw.dyn_syn_lifetime=20
> net.inet.ip.fw.dyn_fin_lifetime=20
> net.inet.ip.fw.dyn_rst_lifetime=5
> net.inet.ip.fw.dyn_short_lifetime=10 #longer timeout for e.g. icmp
> net.inet.ip.fw.dyn_max=1500 #higher number of dynamic rules
> net.inet.ip.fw.dyn_count:   #count of number of dynamic rules
>
> ipfw;
> There's a zillion ways to set it up. start with a few rules regarding
> lo0 and icmp. Then use stateful inspection and dynamic rules for the
> rest of the wall.
>
> ... and by the way, I could see that a few of the scan came from RIPE
> ranges. Do some digging and report it!
> Even if the boxes are use without the owners awareness, you can [we all
> can] bring this part to an end.
>
> respectfully
> /per
> [EMAIL PROTECTED]
>
>
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> 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]"


OT: sound recording problem

2004-02-13 Thread Brian H
Greetings:

I am recording audio from my windows pc to my freebsd machine.
When I do this I get a lot of static noise along with the expected
audio. Is there setting in windows to only output line volume?
mixer =rec line
sox -V -c 2 -r 44100 -t ossdsp /dev/dsp /home/henninb/test.wav
Thanks,

Brian

_
Choose now from 4 levels of MSN Hotmail Extra Storage - no more account 
overload! http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/

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


Re: Andy Magana

2004-02-13 Thread Jud

On Fri, 13 Feb 2004 04:12:10 -0800 (PST), "Andreas Magana"
<[EMAIL PROTECTED]> said:
> I have recently installed BSD. My card is a Visiontek Xtasy Radeon 128MB
> AGP card. Can you reply with some recommendations because it is installed
> but I don't sse anything for my cardl.

I assume that the "it" that "is installed" is XFree86?  If so, choose the
generic Radeon driver when configuring XFree86.

You don't say which version of FreeBSD you have installed.  The 5.x
kernel config includes "device agp," but I am not sure if 4.x does.  If
"device agp" isn't already in your kernel config you may want to
recompile it with that device added (or kldload it as a module - I
imagine that's possible, though I haven't done it myself).

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


Re: Compaq RAID on 4.9-RELEASE?

2004-02-13 Thread Tim Pushor
Olaf,

Its an ML350. I know they are real cheap, however the alternative is 
clone based servers, so I'm real happy there is a budget line. Now there 
is no excuse not to have server class machines.

I should have checked the source myself. I see that 4.9-RELEASE uses an 
older version of ciss.c (1.2.2.9) that doesn't mention the 641 driver, 
but it is in STABLE.

BUT I have gotten bitten in the past with 'supported' equipment not 
being very well supported. On Compaq servers. So I was hoping for a 
testimonial.

I have used the old Smart Array controllers with good success. As for 
performance, the 641 should be much faster than the 532.

Thanks Olaf!
Tim


Olaf Hoyer wrote:

On Thu, 12 Feb 2004, Tim Pushor wrote:

 

Hi all,

We are going to be replacing one of our older systems here with a new
HP/Compaq server and want to buy a (cheap) supported hardware raid
adapter. Compaq/HP used to be so easy.
The system we are looking at has either a Compaq 532 or 641 depending on
the processor speed (!). I see the 532 is supported, any word on the 641?
   

Hi!

BTW:Which server model do you plan to buy?

In  $FreeBSD: src/sys/dev/ciss/ciss.c,v 1.2.2.13 2003/12/13 07:56:28 ps
Exp $
both models appear:
ciss_vendor_data[] = {
   { 0x0e11, 0x4070, CISS_BOARD_SA5,   "Compaq Smart Array 5300" },
   { 0x0e11, 0x4080, CISS_BOARD_SA5B,  "Compaq Smart Array 5i" },
   { 0x0e11, 0x4082, CISS_BOARD_SA5B,  "Compaq Smart Array 532" },
   { 0x0e11, 0x4083, CISS_BOARD_SA5B,  "HP Smart Array 5312" },
   { 0x0e11, 0x4091, CISS_BOARD_SA5,   "HP Smart Array 6i" },
   { 0x0e11, 0x409A, CISS_BOARD_SA5,   "HP Smart Array 641" },
   { 0x0e11, 0x409B, CISS_BOARD_SA5,   "HP Smart Array 642" },
   { 0x0e11, 0x409C, CISS_BOARD_SA5,   "HP Smart Array 6400" },
   { 0x0e11, 0x409D, CISS_BOARD_SA5,   "HP Smart Array 6400 EM" },
But I cannot comment on stability fo the models mentioned above...

I have some boxes here, that use the smartarry 5 and 5iplus with 2003
Server, and I had some old 360 g1 and g2, the g2 having the SA5 onboard,
and those were rock-solid.
But with the PCI ones I have no hands-on-experience, but it should be
the same like the onboard ones. Regarding terms of data security, they
are not the fastest, but reliable.
(OK, could be that 5.2 and GEOM still have some rough edges, I had mine
running 4.8-stable)
HTH
Olaf
 

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


Re: Why would drive run at UDMA33? (Segate 80GB)

2004-02-13 Thread Jonathan Arnold
(Still going through some old messages, but this thread had some
misconceptions and myths that I'd like to straighten out):

ATA channel 0:
Master:  ad0  ATA/ATAPI rev 5
Slave:  acd0  ATA/ATAPI rev 0
ATA channel 1:
Master:  ad2  ATA/ATAPI rev 6
Slave:   no device present
Here is your problem. On channel  0  You have an UDMA100 disk and an
UDMA33 cd-rw. The motherboard IDE controller steps down the speed to
the speed of the slowest device. You have to move the cd-rw device
This is not true. With today's computers, all disks will operate at
their highest speed, not matter what other device they are paired with.
Their transfer rate may be slowed down if *both* devices are accessed at
the exact same time, but that's nothing to worry about generally. So just
because you have a CD-ROM and an UDMA100 disk on the same channel,
it doesn't mean the UDMA100 disk will be slowed in nearly any noticable
fashion.
Also mentioned in this thread was something about the cable being
connected "backwards". There is no "motherboard" and "disk" connecting
direction in an IDE cable, be it a reguler one or a UDMA 100 one. Cables
are made to be a little more convenient if you hook them up the "right"
way (with two connectors closer together at one end), but it has no
bearing on the speed or the UDMA detected.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Creating mp3

2004-02-13 Thread Benjamin Walkenhorst
Hello,

On Thu, 12 Feb 2004 23:51:19 -0600
Quintin Riis <[EMAIL PROTECTED]> wrote:

> mp3 is outdated, use vorbis.

I wouldn't say so. 
Unless you show me an affordable hardware-vorbis-player. There's plenty
of CD-Players that will also play mp3-CDs, just like most
standalone-DVD-players.
Also, I hear, XMMS does not support vorbis. I don't know for sure,
though.

Furthermore, mp3 offers suffcient audio-quality (if your audio-source is
of good quality and your encoder is good) for most circumstances -
Vorbis, as far as I know, offers superior audio-quality only at bitrates
above 160 kbps. And at that bitrates, I don't think I could tell mp3
from vorbis, at least not using my ES1371-based sound-card and my cheap
active speakers. 

Just to make things clear, there's *nothing* wrong with vorbis. If you
care for audio-quality primarily and your source offers that degree of
quality, go for vorbis! 
But there *are* reasons for still using mp3, and it's not exactly like
mp3 sucks. =)

> 
> abcde is nice, as is cdparanoia

AFAIK, abcde only serves as a frontend for various other tools
(cdparanoia, lame, oggenc, ...). You still need cdparanoia, oggenc,
lame, for abcde to work.

>   Quintin

kind regards,

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


Re: touchpad mouse not working with freebsd

2004-02-13 Thread Michael Hollmann
hi

try insert into /boot/device.hints:

hint.psm.0.flags="0x1000"

that works fine for on my toshiba satellite 1100-z20

regards michael



Francesco Casadei schrieb:
Peter Kurpis wrote:

I installed FreeBSD 4.7 on my Toshiba Satellite 1135 laptop, and I 
couldn't get the mouse working.  (Windows says it's an Alps Pointing 
Device, on interrupt 12, plugged into the PS/2 port.)

On further investigation, when I tried

moused -p /dev/psm0 -i all

the daemon aborted, saying it failed to open /dev/psm0 (which does 
exist and looks sane) and also

Device not configured

What does "Device not configured" mean?  I see psm listed in
the GENERIC kernel configuration file...  What gives?  What do I need 
to do to get it working?

P.S.  "Device not configured" was error 6 in errno, according to
truss.
P.P.S.  The same as above goes for the other two mouse devices
(mse0 and ums0) for what it's worth...
Please CC me on reply, as I am not a member of this group.
Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

 From psm(4) manpage, "Driver Flags" section:

[...]
bit 12 IGNOREPORTERROR
This flag makes psm driver ignore certain error conditions when
probing the PS/2 mouse port.  It should never be necessary under
normal circumstances.
[...]
So, try to put the following line into /boot/device.hints:

hint.psm.0.flags="0x1000"

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


--

Mit freundlichen Grüßen

Michael Hollmann

JAWA Management Software GmbH
A-8041 Graz, Liebenauer Hauptstraße 200
Tel:  ++43 (0)316 403274-13
Fax:  ++43 (0)316 403274-10
GSM:  ++43 (0)676 4101431
E-Mail: [EMAIL PROTECTED]
Web: http://www.jawa.at/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


reboot record information

2004-02-13 Thread John DeStefano
I was interested to find from a system mail this morning that my system had been 
rebooted three days ago.  As far as I was aware, the last reboot was about two months 
ago.
The following lines in /var/log/messages give me a clue that the reboot happened after 
"Feb 10 02:51:52":
 
Feb 10 02:51:52 zurg inetd[608]: netbios-ns/udp: bind: Address already 
in use
[note: the "netbios-ns/udp" line is a system message that I get every 10 minutes... 
haven't been able to figure that one out either]
Feb 10 03:02:37 zurg syslogd: kernel boot file is /boot/kernel/kernel
Feb 10 03:02:37 zurg kernel: Copyright (c) 1992-2003 The FreeBSD 
Project 

But there's no sign of what happened to cause the reboot, or how it was done.  Is 
there another log file that would store this information?  I am mostly concerned 
because I'm fairly certain this reboot was not performed at the console: it was either 
a system reaction to a problem, or somebody poking around where they shouldn't be...
Thanks,
~John


-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SYN Attacks - how i cant stop it

2004-02-13 Thread Anton Alin-Adrian
Spades wrote:
Hi,

I got this error when i tried to type for some of those.
"sysctl: unknown oid" any idea..
my server seems to be very lagged, where else
the network connection seems fine, i think BSD
itself as my other redhat box is fine.
What else can i do to get optimum protection.

Thanks.

- Original Message - 
From: "Per Engelbrecht" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, February 07, 2004 5:58 PM
Subject: Re: SYN Attacks - how i cant stop it



Hi,



all nights.  Check this.

Feb  6 11:54:24 TCP: port scan detected [port 6667] from
212.165.80.117 [ports 63432,63453,63466,63499,63522,...]
Feb  6 11:58:09 TCP: port scan mode expired for 212.165.80.117 -


It's hard to get rid of shit-heads like this - I'm talking about the
person doing this attac, that is.
You send a looong output of a log, but no info on your system or any
adjustments you have made (or not made) on your system i.e. kernel
(options), sysctl (tweaks) and ipfw (rules).
If the problem is out-of-bandwith (and your system already has been
optimized) then the only real solution is more 'pipe' a.k.a the
Microsoft-solution.
So fare I've only been guessing, but here is what I normally do with my
setup. I'm not telling you that this is the solution! just adwises!
Kernel;
options  SC_DISABLE_REBOOT
options  IPFIREWALL
options  IPFIREWALL_VERBOSE
options  IPFIREWALL_VERBOSE_LIMIT=100
options  IPDIVERT
options  IPFILTER
options  IPFILTER_LOG
options  IPSTEALTH   (don't touch the ttl/can't see the wall)
options  TCP_DROP_SYNFIN   (drop tcp packet with syn+fin/scanner)
options  RANDOM_IP_ID   (hard to do calculate ip frekv. number)
options  DUMMYNET   (e.g. 40% for web, 30% for mail and so on)
options  DEVICE_POLLING(can't do this short and not with SMP)
options  HZ=1000   (can't do this short and not with SMP)
Sysctl;
kern.ipc.somaxconn=1024  #this is set high!
kern.ipc.nmbclusters=65536   #this is set high!
kern.polling.enable=1 #remember kernel options
kern.polling.user_frac=50>90  #remember kernel options
net.xorp.polling=1
net.xorp.poll_burst=10
net.xorp.poll_in_trap=3
(if you use dynamic rules in ipfw [stateful] you can tweak this)
net.inet.ip.fw.dyn_ack_lifetime=200 #shorte timeout on connection
net.inet.ip.fw.dyn_syn_lifetime=20
net.inet.ip.fw.dyn_fin_lifetime=20
net.inet.ip.fw.dyn_rst_lifetime=5
net.inet.ip.fw.dyn_short_lifetime=10 #longer timeout for e.g. icmp
net.inet.ip.fw.dyn_max=1500 #higher number of dynamic rules
net.inet.ip.fw.dyn_count:   #count of number of dynamic rules
ipfw;
There's a zillion ways to set it up. start with a few rules regarding
lo0 and icmp. Then use stateful inspection and dynamic rules for the
rest of the wall.
... and by the way, I could see that a few of the scan came from RIPE
ranges. Do some digging and report it!
Even if the boxes are use without the owners awareness, you can [we all
can] bring this part to an end.
respectfully
/per
[EMAIL PROTECTED]


___
Most important, you did turn on syncookies, did you not?

FreeBSD is pretty immune to syn floods. As for out of bandwidth, this 
has to do with your uplink and how much you pay for your traffic.

root# sysctl net.inet.tcp.syncookies

If it is not set to one, then do:
root# sysctl net.inet.tcp.syncookies=1
Also edit /etc/sysctl.conf to contain net.inet.tcp.syncookies=1.

A reboot would clear the tcp stack. You can't reboot remotely if kernel 
securelevel is enabled in /etc/rc.conf.

If you don't have firewall support compiled in the kernel, kldload ipfw.

Might be a good lesson to mirror back all incoming syn packets from the 
attacker's IP to him. To port 80, or 22, or to some any other open port. 
You can do that easely with ipfw.





--
Alin-Adrian Anton
Reversed Hell Networks
GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E)
gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: reboot record information

2004-02-13 Thread JJB
All reboot messages go to /var/log/messages. The message file is
archived, so just go the /var/log directory and look at your message
files and look for msgs before the boot msgs of that date.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John
DeStefano
Sent: Friday, February 13, 2004 10:17 AM
To: [EMAIL PROTECTED]
Subject: reboot record information

I was interested to find from a system mail this morning that my
system had been rebooted three days ago.  As far as I was aware, the
last reboot was about two months ago.
The following lines in /var/log/messages give me a clue that the
reboot happened after "Feb 10 02:51:52":

Feb 10 02:51:52 zurg inetd[608]: netbios-ns/udp: bind: Address
already
in use
[note: the "netbios-ns/udp" line is a system message that I get
every 10 minutes... haven't been able to figure that one out either]
Feb 10 03:02:37 zurg syslogd: kernel boot file is
/boot/kernel/kernel
Feb 10 03:02:37 zurg kernel: Copyright (c) 1992-2003 The FreeBSD
Project

But there's no sign of what happened to cause the reboot, or how it
was done.  Is there another log file that would store this
information?  I am mostly concerned because I'm fairly certain this
reboot was not performed at the console: it was either a system
reaction to a problem, or somebody poking around where they
shouldn't be...
Thanks,
~John


-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
___
[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: USB2 external hard drive too slow ....

2004-02-13 Thread Heinrich Rebehn
Heinrich Rebehn wrote:
ivan georgiev wrote:

Hi,

I just bought 80GB WD USB2 hard drive. Everything works. I have 
formated it with ext2 file system, so that I can share file with 
linux. But the problem is that it is very slow compared to linux. When 
I transfered some files under linux the speed of the transfer is 
somewhere around 10MB/s but under freebsd (5-1p10) it is not more than 
1MB/s :(

Is it running in USB1 mode? Can I make it run faster?

Thanks for your help.

Ivan

Hi Ivan,
did you get any reply to your posting? I am having the same problem: 
Maxtor 250 GB external USB2 drive, Belkin USB2 card, FreeBSD 5.1, but i 
get only < 1MB/sec.

Does FreeBSD support USB 2.0 at all?

Thanks for any help

Heinrich

Sorry, i should have done some more research before asking. I compiled 
in the ehci device and am now getting > 10MB/sec.

	Heinrich

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


RE: SYN Attacks - how i cant stop it

2004-02-13 Thread JJB
You talk about the net.inet.tcp.syncookies=1 knob,
how about an description on what it does and why you
are recommending using it.

How would one go about mirroring back the attackers
syn packets to port 80 or 22?
Please describe this easy method of yours.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anton
Alin-Adrian
Sent: Friday, February 13, 2004 10:27 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: SYN Attacks - how i cant stop it

Most important, you did turn on syncookies, did you not?

FreeBSD is pretty immune to syn floods. As for out of bandwidth,
this
has to do with your uplink and how much you pay for your traffic.

root# sysctl net.inet.tcp.syncookies

If it is not set to one, then do:
root# sysctl net.inet.tcp.syncookies=1

Also edit /etc/sysctl.conf to contain net.inet.tcp.syncookies=1.

A reboot would clear the tcp stack. You can't reboot remotely if
kernel
securelevel is enabled in /etc/rc.conf.

If you don't have firewall support compiled in the kernel, kldload
ipfw.

Might be a good lesson to mirror back all incoming syn packets from
the
attacker's IP to him. To port 80, or 22, or to some any other open
port.
You can do that easely with ipfw.





--
Alin-Adrian Anton
Reversed Hell Networks
GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F
FF2E)
gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E
___
[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: Pnmscale on 4.8 i386 stable

2004-02-13 Thread Matthew Seaman
[The graphics/netpbm port]

On Fri, Feb 13, 2004 at 01:49:11PM -, Dave Carrera wrote:

> I do not have the port skel on my system so how do I get the port local to
> make it ?

Well, assuming that the obvious recourse of just using cvsup(1) to
grab the ports tree is not feasible for you -- it's only about 275Mb
for the whole tree and the procedure for doing that has been discussed
ad nauseam in this list and in many other places, principally the
Handbook -- then you've got two options:

   1) Install the pre-compiled version of the port from the FreeBSD
  packages collection.  You will also need to install all of the
  dependencies of the package, which are:

% pkg_info -r netpbm\*
Information for netpbm-10.20_1:

Depends on:
Dependency: jpeg-6b_1
Dependency: png-1.2.5_3
Dependency: tiff-3.6.1_1
Dependency: jbigkit-1.5

  You can download packages compiled for 4.x from eg.

ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/graphics

  where there are packages for all of the requirements, although
  some are a version behind the latest.  Then just use pkg_add(1)
  to install them.  Note that these packages will have been
  compiled on 4.9-STABLE, but they should still work OK on 4.8.

   2) Use cvsup(1) to get the core parts of the ports system (that's
  the 'ports-base' collection in cvsup terms) and seeing as you've
  got to set up cvsup(1) anyhow, you might as well grab
  'ports-graphics' as well.  If you don't pull down
  'ports-graphics', instead you can go to the cvsweb interface and
  use the "Download this directory in tarball" link. eg:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/netpbm/netpbm.tar.gz?tarball=1

  You'll need to grab the tarballs for all of the dependencies as
  well.  Just untar those directories anywhere on your disk, and
  so long as /usr/ports/Mk and /usr/ports/distfiles exist you can
  compile and install at will.

In both of these cases, you need to install the dependencies first,
and then install netpbm.  On the whole it is much, much easier just to
grab the whole ports tree, in which case you need do no more than a
'make install' inside /usr/ports/graphics/netpbm and all of the
dependencies will be installed for you automatically.

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


pgp0.pgp
Description: PGP signature


RE: reboot record information

2004-02-13 Thread John DeStefano

JJB <[EMAIL PROTECTED]> wrote:
>All reboot messages go to /var/log/messages. The message file is
>archived, so just go the /var/log directory and look at your message
>files and look for msgs before the boot msgs of that date.

That's what I thought too.  However, according to my system status
message this morning:
"Local system status:
 3:13AM  up 3 days, 11 mins, 0 users, load averages: 0.00, 0.00, 0.00"

My /var/log/messages still contains messages older than 3 days ago;
it's from where I pulled the log lines from my original post.  As you
can see, there's no sign of a cause for reboot there.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John
DeStefano
Sent: Friday, February 13, 2004 10:17 AM
To: [EMAIL PROTECTED]
Subject: reboot record information

I was interested to find from a system mail this morning that my
system had been rebooted three days ago. As far as I was aware, the
last reboot was about two months ago.
The following lines in /var/log/messages give me a clue that the
reboot happened after "Feb 10 02:51:52":

Feb 10 02:51:52 zurg inetd[608]: netbios-ns/udp: bind: Address
already
in use
[note: the "netbios-ns/udp" line is a system message that I get
every 10 minutes... haven't been able to figure that one out either]
Feb 10 03:02:37 zurg syslogd: kernel boot file is
/boot/kernel/kernel
Feb 10 03:02:37 zurg kernel: Copyright (c) 1992-2003 The FreeBSD
Project

But there's no sign of what happened to cause the reboot, or how it
was done. Is there another log file that would store this
information? I am mostly concerned because I'm fairly certain this
reboot was not performed at the console: it was either a system
reaction to a problem, or somebody poking around where they
shouldn't be...
Thanks,
~John


-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"



__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mounting to freebsd ufs under WinXP

2004-02-13 Thread Chuck Swiger
Peter Leftwich wrote:
Can someone recommend software that lets you mount TO freebsd (ufs)
partition FROM WITHIN Windows XP Pro SP1 (transparently)?
I am not familiar with any such software, regrettably.  You'd need a Windows 
developer experienced with their kernel and filesystem management code to 
write a "filesystem adaptor", or whatever the Windows phrase is...

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


Re: Mounting to freebsd ufs under WinXP

2004-02-13 Thread Bob Collins
On Fri, Feb 13, 2004, Chuck Swiger clacked the keyboard to produce:
> Peter Leftwich wrote:
> >Can someone recommend software that lets you mount TO freebsd (ufs)
> >partition FROM WITHIN Windows XP Pro SP1 (transparently)?
> 
> I am not familiar with any such software, regrettably.  You'd need a 
> Windows developer experienced with their kernel and filesystem management 
> code to write a "filesystem adaptor", or whatever the Windows phrase is...
> 
> -- 
> -Chuck
> 

Why not Samba?

-- 
Bob

"Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom."
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Why would drive run at UDMA33? (Segate 80GB)

2004-02-13 Thread JJB
I have an PC with mfg date of 5/2003 and the motherboard manually
has warning note about separating the cdrom drive to the secondary
IDE controller because it will force the IDE controller to step down
the max speed to the slowest device. This was not only for cdrom
drives but also mixing UDMA100 and UDMA66 and UDMA33 disk on any IDE
controller. IDE max controller speed is set by bios at boot time
after the probe post process completes. So just exactly what time
period are you referencing by "With today's computers"?  DO you work
for Bios chip manufacture, or write the FBSD bios's boot probe code?
What is your technical background to make such an authoritative
statement in light of so much information to the contrary?

Now on the subject of which end of the IDE ribbon you plug into the
motherboard. I agree with you that it makes no difference other that
one end has 2 nipples closely spaced together and if that end is
plugged into the motherboard it's next to imposable to attach an
second device to the ribbon. Now if the devices are jumper as master
and slave it does make an difference which of the 2 closely spaced
nipples are used as the nipples have default meanings. And I believe
the default nipple meaning (IE: master, slave) changed from the
UDMA33 of the ending nipple being master to middle nipple being
master for UDMA66 & 100.  Now I am no technical wizard, but that has
been me experience as new PCs have replaced older ones in the
company I work for and I have had to configure them before giving
them to the users. Now the work PC all rum ms/windows and I can see
the 'post' summary display shows the UDMA of 33 on both devices when
I have an UDMA100 hard drive and UDMA33 cdrom on same IDE
controller. The hard facts just do not match you generic statement.





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jonathan
Arnold
Sent: Friday, February 13, 2004 9:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Why would drive run at UDMA33? (Segate 80GB)

(Still going through some old messages, but this thread had some
misconceptions and myths that I'd like to straighten out):


> ATA channel 0:
> Master:  ad0  ATA/ATAPI rev 5
> Slave:  acd0  ATA/ATAPI rev 0
> ATA channel 1:
> Master:  ad2  ATA/ATAPI rev 6
> Slave:   no device present
>
> Here is your problem. On channel  0  You have an UDMA100 disk and
an
> UDMA33 cd-rw. The motherboard IDE controller steps down the speed
to
> the speed of the slowest device. You have to move the cd-rw device

This is not true. With today's computers, all disks will operate at
their highest speed, not matter what other device they are paired
with.
Their transfer rate may be slowed down if *both* devices are
accessed at
the exact same time, but that's nothing to worry about generally. So
just
because you have a CD-ROM and an UDMA100 disk on the same channel,
it doesn't mean the UDMA100 disk will be slowed in nearly any
noticable
fashion.

Also mentioned in this thread was something about the cable being
connected "backwards". There is no "motherboard" and "disk"
connecting
direction in an IDE cable, be it a reguler one or a UDMA 100 one.
Cables
are made to be a little more convenient if you hook them up the
"right"
way (with two connectors closer together at one end), but it has no
bearing on the speed or the UDMA detected.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
 http://freebsd.amazingdev.com/blog/
___
[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: SYN Attacks - how i cant stop it

2004-02-13 Thread Anton Alin-Adrian
JJB wrote:
You talk about the net.inet.tcp.syncookies=1 knob,
how about an description on what it does and why you
are recommending using it.
The net.inet.tcp.syncookies 'knob', if set to 1, enables syn cookies. 
Syn cookies were invented specifically for syn flood protection. A brief 
description of syncookies idea can be read here:

http://cr.yp.to/syncookies.html

How would one go about mirroring back the attackers
syn packets to port 80 or 22?
Please describe this easy method of yours.
Mirroring back packets to the attacker is, first of all, a nasty thing. 
Secondly, it is only possible if the attacker's IP is known. If it is 
not known, then obviously it's not possible.

Knowing the attacker's IP does not necessarly mean that he is performing 
the current attacks from that IP.

Packet redirection with ipfw is done using divert sockets. One needs to 
have it compiled into the kernel. Divert sockets are also used by ipfw 
nat redirection. It's all in the man pages of ipfw.

If the flood is severly intense (from the point of stack memory 
exhaution), it might be a good improvement to drop 5% of incoming SYN 
packets. This can also be done with ipfw, and is described in the manual 
pages. However, I don't think one would ever come to this.

Asking the ISP to put the server behind a decent cisco router, and 
implement syn cookies on hardware devices, is the best protection.

--
Alin-Adrian Anton
Reversed Hell Networks
GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E)
gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mounting to freebsd ufs under WinXP

2004-02-13 Thread Kenneth Culver
Quoting Bob Collins <[EMAIL PROTECTED]>:

On Fri, Feb 13, 2004, Chuck Swiger clacked the keyboard to produce:
Peter Leftwich wrote:
>Can someone recommend software that lets you mount TO freebsd (ufs)
>partition FROM WITHIN Windows XP Pro SP1 (transparently)?
I am not familiar with any such software, regrettably.  You'd need a 
Windows developer experienced with their kernel and filesystem 
management code to write a "filesystem adaptor", or whatever the 
Windows phrase is...

-- -Chuck

Why not Samba?

Because most likely both filesystems are on the same machine.

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


irssi, ld-elf.so.1, and perl something

2004-02-13 Thread Aaron Peterson
/usr/libexec/ld-elf.so.1: irssi: Undefined symbol "Perl_eval_pv"

this is the error i'm receiving when i try to run irssi installed from
ports.  it used to work and has broken recently, perhaps through some
complication with buildworld or portupgrade -arR.  In any case, i'm
running fbsd 4.9 with a generic kernel (minus cpu i386, 486, and 586). 
Since i noticed this problem, i've rebuilt the world and the kernel,
rebuilt perl, and rebuilt irssi.  no luck.  i'm not sure what this error
means exactly, perhaps that information is key to solving my problem :)

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


RE: reboot record information

2004-02-13 Thread JJB
When an FBSD system crooks, and It reboots it's self, very seldom
does any of issued problem messages have time to be posted
completely before the rug is pulled out from under the log write
process by the reboot occurring. All you can find out from the logs
is yes indeed it did reboot. You are SOL, just like the rest of us
when this happens to us.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John
DeStefano
Sent: Friday, February 13, 2004 10:57 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: reboot record information


JJB <[EMAIL PROTECTED]> wrote:
>All reboot messages go to /var/log/messages. The message file is
>archived, so just go the /var/log directory and look at your
message
>files and look for msgs before the boot msgs of that date.

That's what I thought too.  However, according to my system status
message this morning:
"Local system status:
 3:13AM  up 3 days, 11 mins, 0 users, load averages: 0.00, 0.00,
0.00"

My /var/log/messages still contains messages older than 3 days ago;
it's from where I pulled the log lines from my original post.  As
you
can see, there's no sign of a cause for reboot there.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John
DeStefano
Sent: Friday, February 13, 2004 10:17 AM
To: [EMAIL PROTECTED]
Subject: reboot record information

I was interested to find from a system mail this morning that my
system had been rebooted three days ago. As far as I was aware, the
last reboot was about two months ago.
The following lines in /var/log/messages give me a clue that the
reboot happened after "Feb 10 02:51:52":

Feb 10 02:51:52 zurg inetd[608]: netbios-ns/udp: bind: Address
already
in use
[note: the "netbios-ns/udp" line is a system message that I get
every 10 minutes... haven't been able to figure that one out either]
Feb 10 03:02:37 zurg syslogd: kernel boot file is
/boot/kernel/kernel
Feb 10 03:02:37 zurg kernel: Copyright (c) 1992-2003 The FreeBSD
Project

But there's no sign of what happened to cause the reboot, or how it
was done. Is there another log file that would store this
information? I am mostly concerned because I'm fairly certain this
reboot was not performed at the console: it was either a system
reaction to a problem, or somebody poking around where they
shouldn't be...
Thanks,
~John


-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"



__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
___
[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: Mounting to freebsd ufs under WinXP

2004-02-13 Thread Bob Collins
On Fri, Feb 13, 2004, Kenneth Culver clacked the keyboard to produce:
> Quoting Bob Collins <[EMAIL PROTECTED]>:
> 
> >On Fri, Feb 13, 2004, Chuck Swiger clacked the keyboard to produce:
> >>Peter Leftwich wrote:
> >>>Can someone recommend software that lets you mount TO freebsd (ufs)
> >>>partition FROM WITHIN Windows XP Pro SP1 (transparently)?
> >>
> >>I am not familiar with any such software, regrettably.  You'd need a 
> >>Windows developer experienced with their kernel and filesystem 
> >>management code to write a "filesystem adaptor", or whatever the 
> >>Windows phrase is...
> >>
> >>-- -Chuck
> >>
> >
> >Why not Samba?
> >
> Because most likely both filesystems are on the same machine.
> 
> Ken

Perhaps I missed the OP, but it was not obvious this was what was
intended.
-- 
Bob

"Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom."
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cdrom

2004-02-13 Thread Dave
On Wed, 11 Feb 2004 22:02:18 +0100, you wrote:

>I have an old pc on witch I want to install freebsd, only when the bios 
>does not see the cdrom drive. But windows does. It is a normal IDE cdrom 
>and set to slave (hard disk primary). Also when I run the installation 
>it stops when it has to read the cdrom. Is there a way to manually set 
>the cdrom in the bios. or to install it on a other way.

Does the system see the CD drive if you boot from the floppy install
disks?  Some older PCs can't boot from CD but need a driver to be loaded
first.  Even older CD drives use proprietry interfaces which FreeBSD may
not see either, eg the CD is plugged into it's own controller card or a
sound card (some work, some don't)

Dave

-- 
Any speling misteaks are the reult of a bad insallation of mod_spelink.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: How to deal with package conflicts (apache)?

2004-02-13 Thread Wayne Sierke
Kris Kennaway wrote:
> On Mon, Feb 09, 2004 at 05:24:32PM +1030, W. Sierke wrote:
> > How should I deal with package conflicts such as
> > apache13/apache13-mod_ssl...
> >
> > I've installed apache13-mod_ssl but a couple of other ports I want
to
> > install want apache13 (specifically apache-1.3.29_1) which
> complains of a
> > package conflict (with apache+mod_ssl-1.3.29+2.8.16) so I'll
> have to force
> > the installation. Is there a way of convincing the new packages that
> > apache13-mod_ssl is an adequate substitute for apache13?
>
> Set the APACHE_PORT variable (to www/apachewhatever) in
> /etc/make.conf.  This will only work with ports, not packages, for
> which one can only use the default settings.

Ok, does it matter that the port I want to install doesn't have any
references to APACHE_PORT in its Makefile? Grepping through /usr/ports I
can see that many ports do, but the port I want to install
(mail/squirrelmail) doesn't.

So am I taking this the right way? This type of package conflict means
that I can't have apache13-mod_ssl installed AND install other packages
that require apache13 without forcing them?


Thanks,

Wayne

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


Re: cdrom

2004-02-13 Thread HOLLOW, CHRISTOPHER
Save yourself the $50 investment in the old hardware and do a network 
installation.  You'll need a floppy drive and a network card.  Create 
the boot floppies and choose FTP installation.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html#INSTALL-FLOPPIES

Yank that old CD-ROM out all together...

Christopher Hollow

Charles Swiger wrote:

On Feb 11, 2004, at 4:02 PM, Wouter Grol wrote:

I have an old pc on witch I want to install freebsd, only when the 
bios does not see the cdrom drive.  But windows does.


Hi--

If the BIOS doesn't recognize the CD-ROM drive, that's generally a 
NO-GO for FreeBSD working with the drive.  You probably have a 
proprietary driver for the device to make it work under Windows.  
However, I think FreeBSD had limited support for some of the old 
pre-ATAPI CD-ROM drives from Mitsumi and Sony (rebranded by 
Creative)...from LINT see:

#
# Miscellaneous hardware:
#
# mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface
# scd: Sony CD-ROM using proprietary (non-ATAPI) interface
Is your drive one of these?  Otherwise, it's probably better to spend 
$50 and get a standard CD-ROM drive...

--
Christopher Hollow - Technical Consultant
Infrastructure & Technology Support
Toronto, ON


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


Re: "shutdown -p now" causes auto power up at midnight

2004-02-13 Thread Dave
On Fri, 13 Feb 2004 06:01:29 -0800 (PST), you wrote:

>when i "shutdown -p now" the system powers off, then at
>exactly midnight the system powers on.  does the now/0
>become a boot time instead of a shutdown time on some
>systems?

Check the BIOS settings for "Wake up time", "wake on alarm" or similar.
The default time is 00:00:00 so if you've enabled it it will switch on at
midnight :-)

Dave

-- 
Any speling misteaks are the reult of a bad insallation of mod_spelink.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: need help on CFLAGS in /etc/make.conf please

2004-02-13 Thread Chuck Swiger
Hi, Paul--

There is little point to crossposting between -questions and -hackers; 
dropping the latter.  Actually, <[EMAIL PROTECTED]> is probably the most 
appropriate place...

Paul Seniura wrote:
My question for this discussion is specifically how to prevent
overriding a port's own setting for that parm, and to provide a
default setting -O[1] when the port does not set it at all?
Well-behaved ports respect CFLAGS, meaning that you can define that variable 
in /etc/make.conf (or on the command line when you invoke make), and the port 
should use that value when building the software.

If you tell us which port is broken, someone will fix it.  For example, one of 
the ports I maintain the author explicitly sets -O2, but the port Makefile 
patches that via:

post-patch:
${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: SYN Attacks - how i cant stop it

2004-02-13 Thread JJB
Very interesting reading about net.inet.tcp.syncookies 'knob'.


Thank you for such an curious and informative reply.

I am running 4.9 and net.inet.tcp.syncookies=1 is the default.

I am writing an 'Harding you FBSD system' article for the local
FBSD club, would you please review the following.

Are my comments correct? Are there any other knobs I should include?

I got the rc.conf securelevel ok as it from the man page.



#
# The sysctl.conf file contains MIB's to change the default setting
# of internal options of the kernel at boot up time. These Mib's
# control how network packets are handled after IPFW or IPFILTER
# software applications firewall returns the packet to the kernel.
# Some of these MIB's may seem like they are doing the say thing,
# but because there is no FBSD provided documentation on the order
# these MIB's get control, they all get enabled here and we let the
# kernel do it's thing.
#
# NOTE: Some of these MIB's can also be set in rc.conf and or the
# Kernel source. This will not hurt anything.
#



# Redirect attacks is the purposeful mass issuing of ICMP type 5
packets.
# In a normal network, redirects to the end stations should not be
required.
# To defend against this type of attack both the sending and
accepting of
# redirect should be disabled". The first statement below enables
the MIB
# to drop all inbound icmp redirect packets without returning any
response.
# The second statement turns off the logging of redirect packets
because
# there in no limit and this could fill up your logs consuming your
whole
# hard drive. But there is no information about where the redirect
packets
# get logged. The last statement changes the FBSD default about
allowing
# redirects to be sent from this system to the internet from yes to
no.
# This option is ignored unless the host is routing IP packets, and
# should normally be enabled (=1) on all systems
# man icmp(4) and inet(4) and man ip(4) do not contain info about
these MIB.
# man sysctl(3) does have info on ip.redirect

net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=0
net.inet.ip.redirect=0



# Source routing is another way for an attacker to try to reach non
routable
# addresses behind your box. It can also be used to probe for
information
# about your internal networks. These functions come enabled as part
of the
# standard FBSD core system. The following will disable them.
# man inet(4) and man ip(4) do not contain any information on these
MIBs.

net.inet.ip.sourceroute=0
net.inet.ip.accept_sourceroute=0



# This MIB only drops ICMP Echo requests which have a destination of
your
# broadcast address. For example, if your network is 10.10.0.1/24,
# (making your subnet mask 255.255.255.0) then your network
broadcast address
# is 10.10.0.255. When a host on your network needs to send a
message to all
# other hosts on the subnet (which happens more often than you may
think) it
# uses this address. Everyone listens on it. Hosts outside your
network have
# no reason to be sending packets to your broadcast address. This
MIB rejects
# all of the broadcast echo traffic from the outside world to your
network
# broadcast address. If this host is a firewall or gateway, it
should not
# propagate directed broadcasts originating from outside your
private network.
# The following statement sets the default to no, rejecting all
external
# broadcasts requests.
# man sysctl(3) has some info.
# man inet(4) and man icmp(4) do not contain any information on
these MIBs

net.inet.icmp.bmcastecho=0



# To change the system behavior when connection requests are
received
# on TCP or UDP ports where there is no socket listening. The normal
# behavior, when a TCP SYN segment is received on a port where there
# is no socket accepting connections, is for the system to return a
# RST segment, and drop the connection. The requesting system will
# see this as a "Connection reset by peer".
#
# By turning the TCP black hole MIB on to a numeric value of one,
the
# incoming SYN segment is merely dropped, and no RST is sent, making
# the system appear as a blackhole.
#
# By setting the MIB value to two, any segment arriving on a closed
# port is dropped without returning a RST.
# This provides some degree of protection against stealth port
scans.
# The following enables this MIB. man tcp(4) and man udp(4)
blackhole(4)
# contain a little information on these MIBs

net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1



# The log_in_vain MIB will provide you with logging of attempted
# connections to

Re: Compaq RAID on 4.9-RELEASE?

2004-02-13 Thread Henrik Lidström
Hi, I´m running 4.9-RELEASE on a pair of ML350 G3 with SA 641 
controller.  Haven´t had any problems so far..

dmesg
Copyright (c) 1992-2003 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.9-RELEASE-p2 #0: Thu Jul  8 00:33:53 CEST 2004
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.25-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
Features=0xbfebfbff
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory  = 1073717248 (1048552K bytes)
config> di pcic0
No such device: pcic0
Invalid command or syntax.  Type `?' for help.
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 1040523264 (1016136K bytes)
Preloaded elf kernel "kernel" at 0xc044e000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc044e09c.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
ahc0:  port 
0x2400-0x24ff mem
0xf7ef-0xf7ef0fff irq 3 at device 2.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1:  port 
0x2800-0x28ff mem
0xf7ee-0xf7ee0fff irq 3 at device 2.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pci0:  at 3.0
bge0:  mem 
0xf5fe-0xf5f
e irq 5 at device 4.0 on pci0
bge0: Ethernet address: 00:0b:cd:c9:aa:32
miibus0:  on bge0
brgphy0:  on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX
-FDX, auto
pci0:  (vendor=0x0e11, dev=0xa0f0) at 5.0 irq 10
isab0:  at device 15.0 on pci0
isa0:  on isab0
atapci0:  port 
0x2000-0x200f,0-0x3,0-0x7,0x3
f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0:  mem 0xf5fc-0xf5fc0fff irq 11 
at devic
e 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1:  on motherboard
pci1:  on pcib1
pcib2:  on motherboard
pci2:  on pcib2
ciss0:  port 0x3000-0x30ff mem 
0xf7f8-0xf7fb,0xf7ff0
000-0xf7ff1fff irq 15 at device 1.0 on pci2
pcib3:  on motherboard
pci3:  on pcib3
pcib4:  on motherboard
pci4:  on pcib4
pcib5:  on motherboard
pci5:  on pcib5
eisa0:  on motherboard
mainboard0:  on eisa0 slot 0
orm0:  at iomem 
0xc-0xc7fff,0xc8000-0xcbfff,0xee000-0xe on
isa0
pmtimer0 on isa0
fdc0:  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:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  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:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
IP Filter: v3.4.31 initialized.  Default = block all, Logging = enabled
acd0: unknown transfer phase 1
acd0: CDROM  at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at ciss0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C)
da1 at ciss0 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-0 device
da1: 135.168MB/s transfers
da1: 104183MB (213367680 512 byte sectors: 255H 32S/T 26148C)

Tim Pushor wrote:

Olaf,

Its an ML350. I know they are real cheap, however the alternative is 
clone based servers, so I'm real happy there is a budget line. Now 
there is no excuse not to have server class machines.

I should have checked the source myself. I see that 4.9-RELEASE uses 
an older version of ciss.c (1.2.2.9) that doesn't mention the 641 
driver, but it is in STABLE.

BUT I have gotten bitten in the past with 'supported' equipment not 
being very well supported. On Compaq servers. So I was hoping for a 
testimonial.

I have used the old Smart Array controllers with good success. As for 
performance, the 641 should be much faster than the 532.

Thanks Olaf!
Tim


Olaf Hoyer wrote:

On Thu, 12 Feb 2004, Tim Pushor wrote:

 

Hi all,

We are going to be replacing one of our older systems here with a new
HP/Compaq server and want to buy a (cheap) supported hardware raid
adapter. Compaq/HP used to be so easy.
The system we are looking at has either a Compaq 532 or 641 
depending on
the processor speed (!). I see the 532 is supported, any word on the 
641?
  


Hi!

BTW:Which server model do you plan to buy?

In

Re: freebsd5.2 and kdm - what is wrong?

2004-02-13 Thread Jorn Argelo
I've had the same problem with 5.2, and I fixed it with removing the -nodeamon 
part from you /etc/ttys

Cheers,

Jorn

On Friday 13 February 2004 12:12, [EMAIL PROTECTED] wrote:
> Hi! First of all - Thank You for FreeBsd! Unitl now I've used Linux, but
> when time comes to set my own www server (apache) I tried bsd and now I'm
> totally convinced.  However, some things are diifferent and I have few
> problems that I can't solve linux-way. As in the topic: I want to have
> graphical login with kdm. I've set everything: when I login on console
> ,type 'startx' under tcsh, X's comes up with KDE and everything is fine.
> Then i've changed /etc/ttys and add line: ttyv8 /usr/local/bin/kdm -
> nodaemon xterm on secure
> i've added 'exec startkde' to .xsession, configured KControl and so on..
> After reboot kdm graphical login appears - things are going well - i'm
> typing my login name, password then clicking OK - login is accepted,
> something is loading... KDE? No! A login again! So again: my login, my pass
> - few seconds - login again :( Kde just doesn't want to load, instead kdm
> login appears everytime... I my home dir i've found .xsession-errors, here
> it is: Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> xset:  unable to open display ":0"
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> xset:  unable to open display ":0"
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> xset:  unable to open display ":0"
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> xsetroot:  unable to open display ':0'
> startkde: Starting up...
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> ksplash: cannot connect to X server :0
> _KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
> QPixmap: Cannot create a QPixmap when no GUI is being used
> QPixmap: Cannot create a QPixmap when no GUI is being used
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> kded: cannot connect to X server :0
> ERROR: KUniqueApplication: Registering failed!
> ERROR: Communication problem with kded, it probably crashed.
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> kdeinit: Can't connect to the X Server.
> kdeinit: Might not terminate at end of session.
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> kcminit: cannot connect to X server :0
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> knotify: cannot connect to X server :0
> ERROR: KUniqueApplication: Registering failed!
> ERROR: Communication problem with knotify, it probably crashed.
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> ksmserver: cannot connect to X server :0
> startkde: Shutting down...
> KLauncher: Exiting on signal 1
> startkde: Running shutdown scripts...
> startkde: Done.
>
> I was searching in handbook, in documentation, in kde docs... nothing.
> What is wrong? I write again: when i run X manually everything is ok, with
> kdm - no. Thanks in advance for Your help! Sorry for my english :|
> Greetings!
> indigo
> [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: How to deal with package conflicts (apache)?

2004-02-13 Thread Alexander Haderer
At 03:21 14.02.2004 +1030, Wayne Sierke wrote:
Kris Kennaway wrote:
> On Mon, Feb 09, 2004 at 05:24:32PM +1030, W. Sierke wrote:
> > How should I deal with package conflicts such as
> > apache13/apache13-mod_ssl...
> >
> > I've installed apache13-mod_ssl but a couple of other ports I want
to
> > install want apache13 (specifically apache-1.3.29_1) which
> complains of a
> > package conflict (with apache+mod_ssl-1.3.29+2.8.16) so I'll
> have to force
> > the installation. Is there a way of convincing the new packages that
> > apache13-mod_ssl is an adequate substitute for apache13?
>
> Set the APACHE_PORT variable (to www/apachewhatever) in
> /etc/make.conf.  This will only work with ports, not packages, for
> which one can only use the default settings.
Ok, does it matter that the port I want to install doesn't have any
references to APACHE_PORT in its Makefile? Grepping through /usr/ports I
can see that many ports do, but the port I want to install
(mail/squirrelmail) doesn't.
If squirrelmail has a direct dependecy like BUILD_DEPEND=...www/apache13 
then it does matter. If squirrelmail depends on other ports that have this 
kind of dependency then it does matter too, if these other ports have their 
dependency set via APACHE_PORT then it does not matter.

Here we had a similar problem with apache13 packages: We have different 
setups for workstations/servers, some have mod_ssl apache  some have 
apache13 only. All setup is done via packages, not ports. We have a compile 
workstation that creates the packages to install. Our solution: Ports may 
have subversions, which allows dependend packages to refer to the port and 
accept all subversions as a valid dependency (with a warning). Example: You 
can install the popular postgresql database either as server or as client 
only. All deps to postgres client will be fullfilled by both packages.

To build mod-ssl apache13 package as a "variant" of the apache13 I renamed 
www/apache13-modssl to www/apache13 (necessary for pkg-database) and 
modified the Makefile like this:

diff Makefile.orig Makefile
8,9c8,9
< PORTNAME= apache+mod_ssl
< PORTVERSION=  ${VERSION_APACHE}+${VERSION_MODSSL}
---
> PORTNAME= apache
> PORTVERSION=  ${VERSION_APACHE}
16a17
> PKGNAMESUFFIX=-modssl
The last line make the variant of apache13: apache13-modssl.

Well, this is of course a hack, because modifications of the ports usually 
are not such a good idea: If you cvsup all modifications will be lost. Our 
focus was to have precompiled packages for automated setup. We modified the 
ports Makefiles because we believe that we know what we are doing (and 
others will know better and roll the eyes :-). Most probably there is a 
better solution for this scenario but I didn't found one and I wanted to 
learn more about the ports system so I did it this way.

Alexander

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


colors in vim.....how?

2004-02-13 Thread manish gautam
how can i add colors to my vim editor.

reply soon

cheers 
manish


Yahoo! India Education Special: Study in the UK now.
Go to http://in.specials.yahoo.com/index1.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


No sound (was Re: kernel compilation problems - 5.1 (long) )

2004-02-13 Thread Tadimeti Keshav
Hello all
Thanks Mike and Peter. I have been able to
successfully compile the new kernel & install it.

BUT, though I compiled with:
device  pcm #TK: for sound blaster pro 16.
I get no sound.
(I tried to play an audio file with amp).
The sound card is a SOUND BLASTER PRO 16 Compatible.
Here is a copy of dmesg. I can make no sense of it.
Note: I connected a USB2 hard disk with NTFS, but did
not know how to mount.
Thanks in advance
Tk
--
Copyright (c) 1992-2003 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.1-RELEASE #1: Thu Feb 12 21:03:55 SGT 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/CUSTOM
Preloaded elf kernel "/boot/kernel/kernel" at
0xc04fb000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 200457161 Hz
CPU: Pentium/P55C (200.46-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
 
Features=0x8001bf
real memory  = 67108864 (64 MB)
avail memory = 59797504 (57 MB)
Intel Pentium detected, installing workaround for F00F
bug
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f6bd0
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pci0:  at device 3.0 (no driver
attached)
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port
0xecd0-0xecdf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0:  port
0xece0-0xecff irq 10 at device 7.2 on pci0
usb0:  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
pci0:  at device 7.3 (no driver
attached)
pci0:  at device 17.0 (no driver
attached)
orm0:  at iomem 0xc-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0:  at port
0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0:  at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on
isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
ppi0:  on ppbus0
sc0:  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
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem
0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
pcm0:  at port
0x220-0x22f,0x388-0x38b,0x530-0x533 irq 5 drq 1,3 on
isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
Timecounters tick every 10.000 msec
ad0: 9787MB  [19885/16/63]
at ata0-master UDMA33
acd0: CDROM  at ata1-master
PIO3
Mounting root from ufs:/dev/ad0s1a
sio0: 1 more silo overflow (total 1)
pid 521 (opera), uid 1001: exited on signal 11 (core
dumped)
umass0: Genesys Logic USB TO IDE, rev 2.00/0.02, addr
2
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Fixed Direct Access
SCSI-0 device 
da0: 1.000MB/s transfers
da0: 117800MB (241254720 512 byte sectors: 255H 63S/T
15017C)
(da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not
supported, increasing minimum_cmd_size to 10.
lock order reversal
 1st 0xc1602b90 vm object (vm object) @
vm/vm_object.c:512
 2nd 0xc082f110 system map (system map) @
vm/vm_kern.c:325
--

=
-- K E S H A V  T A D I M E T I --
BeOS Air
You have to pay for the tickets, but they're half the price of Windows Air, and if you 
are an aircraft mechanic you can probably ride for free. It only takes 15 minutes to 
get to the airport and you are cheuferred there in a limozine. BeOS Air only has 
limited types of planes that only hold new luggage. All planes are single seaters and 
the model names all start with an "F" (F-14, F-15, F-16, F-18, etc.). The plane will 
fly you to your destination on autopilot in half the time of other Airways or you can 
fly the plane yourself. There are limited destinations, but they are only places you'd 
want to go to anyway. You tell all your friends how great BeOS Air is and all they say 
is "What do you mean I can't bring all my old baggage with me?"





___
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 
http://btyahoo.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: colors in vim.....how?

2004-02-13 Thread Jez Hancock
On Fri, Feb 13, 2004 at 05:57:02PM +, manish gautam wrote:
> how can i add colors to my vim editor.
Add 'syn on' on a single line in your ~/.vimrc file and make sure your TERM
environment variable is set to 'xterm-color'.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


using NDIS

2004-02-13 Thread Ray Seals
I'm trying to use NDIS and have read a few posts from the archives by
Bill Paul.  I'm having one some problem.  There are no Makefiles and no
if_ndis in the /sys/modules directory.

Here is my uname:

FreeBSD  5.2-RELEASE FreeBSD 5.2-RELEASE #0:

What do I need to install?

I have the ndis and ndiscvt commands, but seem to be missing some of the
other needed items.

Ray
-- 
---
Linux is for people who hate Microsoft.
BSD is for people who love UNIX.


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


Re: Using dhclient to update zoneedit with my dynamic IP address

2004-02-13 Thread Ceri Davies
On Thu, Feb 12, 2004 at 05:32:42PM -0500, JJB wrote:
> The zonedeit FAQ says this command can be used in dhclient to
> update my dynamic ip address at zoneedit when ever dhclient
> gets an new IP lease from my ISP.
> 
> wget -O - --http-user=username --http-passwd=password
> 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com'
> 
> Anybody doing this, or know what to add to /etc/dhclient.conf to make this
> happen

Check the manpage for dhclient-script, specifically regarding the BOUND
hook and /etc/dhclient-exit-hooks.

Ceri

-- 


pgp0.pgp
Description: PGP signature


RE: reboot record information

2004-02-13 Thread John DeStefano
--- JJB <[EMAIL PROTECTED]> wrote:
> When an FBSD system crooks, and It reboots it's self, very seldom
> does any of issued problem messages have time to be posted
> completely before the rug is pulled out from under the log write
> process by the reboot occurring. All you can find out from the logs
> is yes indeed it did reboot. You are SOL, just like the rest of us
> when this happens to us.

That's unfortunate and hard to believe, but I have little choice but to
believe it.  I was hoping for a better mechanism of tracing what
happened.  But as you say, once a reboot is called for and the
processes are stopped, I suppose there's nothing left running to write
to a log.

Thanks,
~John
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of John
> DeStefano
> Sent: Friday, February 13, 2004 10:57 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: reboot record information
> 
> 
> JJB <[EMAIL PROTECTED]> wrote:
> >All reboot messages go to /var/log/messages. The message file is
> >archived, so just go the /var/log directory and look at your
> message
> >files and look for msgs before the boot msgs of that date.
> 
> That's what I thought too.  However, according to my system status
> message this morning:
> "Local system status:
>  3:13AM  up 3 days, 11 mins, 0 users, load averages: 0.00, 0.00,
> 0.00"
> 
> My /var/log/messages still contains messages older than 3 days ago;
> it's from where I pulled the log lines from my original post.  As
> you
> can see, there's no sign of a cause for reboot there.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of John
> DeStefano
> Sent: Friday, February 13, 2004 10:17 AM
> To: [EMAIL PROTECTED]
> Subject: reboot record information
> 
> I was interested to find from a system mail this morning that my
> system had been rebooted three days ago. As far as I was aware, the
> last reboot was about two months ago.
> The following lines in /var/log/messages give me a clue that the
> reboot happened after "Feb 10 02:51:52":
> 
> Feb 10 02:51:52 zurg inetd[608]: netbios-ns/udp: bind: Address
> already
> in use
> [note: the "netbios-ns/udp" line is a system message that I get
> every 10 minutes... haven't been able to figure that one out either]
> Feb 10 03:02:37 zurg syslogd: kernel boot file is
> /boot/kernel/kernel
> Feb 10 03:02:37 zurg kernel: Copyright (c) 1992-2003 The FreeBSD
> Project
> 
> But there's no sign of what happened to cause the reboot, or how it
> was done. Is there another log file that would store this
> information? I am mostly concerned because I'm fairly certain this
> reboot was not performed at the console: it was either a system
> reaction to a problem, or somebody poking around where they
> shouldn't be...
> Thanks,
> ~John


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mounting to freebsd ufs under WinXP

2004-02-13 Thread Matthew Marino
Well
On Friday, February 13, 2004, at 11:32  AM, Bob Collins wrote:
On Fri, Feb 13, 2004, Chuck Swiger clacked the keyboard to produce:
Peter Leftwich wrote:
Can someone recommend software that lets you mount TO freebsd (ufs)
partition FROM WITHIN Windows XP Pro SP1 (transparently)?
I am not familiar with any such software, regrettably.  You'd need a
Windows developer experienced with their kernel and filesystem 
management
code to write a "filesystem adaptor", or whatever the Windows phrase 
is...

--
-Chuck
Why not Samba?


Samba works but the configuration can be a cuss. It's the NetBEUI name 
server that takes a deeper understanding of Microsoft Networking than 
the average Joe has. If your really up for a challenge try sharing the 
same ufs volume with Windows and Macintosh clients via Samba and 
NetAtalk. Can be done with enough Coke and HoHos to keep you awake for 
two days.

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


Re: Andy Magana

2004-02-13 Thread peter lageotakes

--- Jud <[EMAIL PROTECTED]> wrote:
> 
> On Fri, 13 Feb 2004 04:12:10 -0800 (PST), "Andreas
> Magana"
> <[EMAIL PROTECTED]> said:
> > I have recently installed BSD. My card is a
> Visiontek Xtasy Radeon 128MB
> > AGP card. Can you reply with some recommendations
> because it is installed
> > but I don't sse anything for my cardl.
> 
> I assume that the "it" that "is installed" is
> XFree86?  If so, choose the
> generic Radeon driver when configuring XFree86.
> 
> You don't say which version of FreeBSD you have
> installed.  The 5.x
> kernel config includes "device agp," but I am not
> sure if 4.x does.  If
> "device agp" isn't already in your kernel config you
> may want to
> recompile it with that device added (or kldload it
> as a module - I
> imagine that's possible, though I haven't done it
> myself).
> 
> Jud
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

Do you have the following entry in loader.conf?
/boot/loader.conf
agp_load="YES"
The above is located in the handbook under 5.4.3.1.


=
ESCape with VI. Cheese A La mode.

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.2.1-RC2

2004-02-13 Thread Chris
I see the above mentioned is on the site under ISO's

-- 
Best regards,
Chris

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


Re: using log_in_vain shows error message "Connection attempt to 127.0.0.1:113 from 127.0.0.1:4102"

2004-02-13 Thread Lowell Gilbert
"Julie Russell" <[EMAIL PROTECTED]> writes:

> I'm trying to track down the cause of this error message, that starts to
> show up when I enable log_in_vain in rc.conf - I'm running FreeBSD 4.9
> Stable.  Any direction greatly appreciated.

> Feb 12 15:00:00 server1 /kernel: Connection attempt to TCP 127.0.0.1:113
> from 127.0.0.1:4102

Something local is try to do an ident check.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Using dhclient to update zoneedit with my dynamic IP address

2004-02-13 Thread JJB
Ceri

Thanks for the pointer to the 'man dhclient-script'.

I read through it 3-5 times and the best I can make out of what
it says is, that if I create an file like this
/etc/dhclient-exit-hooks.sh with this content

#! /bin/sh
wget -O - --http-user=username --http-passwd=password,
'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com
'

Then every time dhclient runs (IE: at bootup and lease expire)
the dhclient-exit-hooks.sh gets run.

I this the correct interpretation?

My wget command does not need the ip address or even know that it
changed, the event of running and making contact with the zoneedit
site will give zoneedit the ip address value of the system
requesting the http url request. I just need this to be launched at
the correct time and dhclient is the correct facility and timing to
do this.

Any help would be greatly approached

Joe



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ceri Davies
Sent: Friday, February 13, 2004 1:17 PM
To: JJB
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Using dhclient to update zoneedit with my dynamic IP
address

On Thu, Feb 12, 2004 at 05:32:42PM -0500, JJB wrote:
> The zonedeit FAQ says this command can be used in dhclient to
> update my dynamic ip address at zoneedit when ever dhclient
> gets an new IP lease from my ISP.
>
> wget -O - --http-user=username --http-passwd=password
>
'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com
'
>
> Anybody doing this, or know what to add to /etc/dhclient.conf to
make this
> happen

Check the manpage for dhclient-script, specifically regarding the
BOUND
hook and /etc/dhclient-exit-hooks.

Ceri

--

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


Re: Using dhclient to update zoneedit with my dynamic IP address

2004-02-13 Thread Lowell Gilbert
"JJB" <[EMAIL PROTECTED]> writes:

> Thanks for the pointer to the 'man dhclient-script'.
> 
> I read through it 3-5 times and the best I can make out of what
> it says is, that if I create an file like this
> /etc/dhclient-exit-hooks.sh with this content
> 
> #! /bin/sh
> wget -O - --http-user=username --http-passwd=password,
> 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com
> '
> 
> Then every time dhclient runs (IE: at bootup and lease expire)
> the dhclient-exit-hooks.sh gets run.

Yes.

As another example, my own script for a similar purpose:
#!/bin/sh

updater_prog = /usr/local/bin/noip2 
if [ x$reason = xREBOOT ]   ||  \
   [ x$old_ip_address = x ] ||  \
   [ x$old_ip_address != x$new_ip_address ]; then
if [ -x $updater_prog ]; then 
${updater_prog} -i "$new_ip_address"
fi
fi


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portversion error after cvsup

2004-02-13 Thread Lowell Gilbert
Petre Bandac <[EMAIL PROTECTED]> writes:

> after I cvsup-ed and portsdb -Uu && pkgdb -Fvu, portversion | grep "<" shows 
> me almost all the ports I have installed (on a closer look, almost all the 
> ports shown erroneously were portupgraded once)

Is there any reason you *think* that those ports *aren't* outdated?  
There was a spate of port revision changes recently; to deal with the
gettext changes, if my notoriously shaky memory is correct.

Try "portversion -v" to see what version the database thinks the ports
*should* be at.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mounting to freebsd ufs under WinXP

2004-02-13 Thread Charles Swiger
On Feb 13, 2004, at 1:45 PM, Matthew Marino wrote:
Samba works but the configuration can be a cuss. It's the NetBEUI name 
server that takes a deeper understanding of Microsoft Networking than 
the average Joe has. If your really up for a challenge try sharing the 
same ufs volume with Windows and Macintosh clients via Samba and 
NetAtalk. Can be done with enough Coke and HoHos to keep you awake for 
two days.
My biggest problem with supporting Windows and Mac clients 
simulaneously was when Sun switched from Solaris 2.6 to Solaris 7 and 
the new 64-bit kernel interfaces broke the 32-bit network libraries 
netatalk wanted to link from.  (Years ago, now.)

Samba would not solve the original poster's problem; he wants to mount 
a UFS filesystem under Windows on the same machine, not remotely mount 
a UFS system from a running FreeBSD box

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


RE: Using dhclient to update zoneedit with my dynamic IP address

2004-02-13 Thread JJB
Thanks for this sample, but it exceeds my script coding ability.
I added some comments to your sample but I may be lost.

#!/bin/sh

updater_prog = /usr/local/bin/noip2# program to run
if [ x$reason = xREBOOT ]   ||  \  #  is this an reboot or
   [ x$old_ip_address = x ] ||  \  #  old ip field empty or
   [ x$old_ip_address != x$new_ip_address ]; then   #  old not EQ
new  then
if [ -x $updater_prog ]; then# don't know what
this does
${updater_prog} -i "$new_ip_address"# exec program
fi
fi

For my purposes I think this is what I need.
This way zoneedit is only updated when ip changes.
Do I have script correct?

/etc/dhclient-exit-hooks.shwith this content
#!/bin/sh
# This script only gets called when dhclient runs
# (IE: boot and lease expire)
# Old and new ip  address fields are populated by dhclient,
# which keeps the old used IP address in some config file
# so it's not lost on reboot and can be read in at boot time to
# determine if the ip has changed. So with cable or dsl modem
# that stays powered on while PC is powered off still is
# using old IP address.

updater_prog = /usr/local/bin/wgetrest of command   # my wget
pgm

if [ x$old_ip_address != x$new_ip_address ];   # old not EQ new
then ${updater_prog} # exec my pgm
fi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lowell
Gilbert
Sent: Friday, February 13, 2004 2:24 PM
To: [EMAIL PROTECTED]
Cc: Ceri Davies; [EMAIL PROTECTED] ORG
Subject: Re: Using dhclient to update zoneedit with my dynamic IP
address

"JJB" <[EMAIL PROTECTED]> writes:

> Thanks for the pointer to the 'man dhclient-script'.
>
> I read through it 3-5 times and the best I can make out of what
> it says is, that if I create an file like this
> /etc/dhclient-exit-hooks.sh with this content
>
> #! /bin/sh
> wget -O - --http-user=username --http-passwd=password,
>
'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com
> '
>
> Then every time dhclient runs (IE: at bootup and lease expire)
> the dhclient-exit-hooks.sh gets run.

Yes.

As another example, my own script for a similar purpose:

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


Re: portversion error after cvsup

2004-02-13 Thread Petre Bandac
true indeed

almost all are the same version, with an _1 at the end

thank you for enlightening me :-)

petre

On Friday 13 February 2004 21:27 Anno Domini, Lowell Gilbert wrote using one 
of his keyboards:
> Petre Bandac <[EMAIL PROTECTED]> writes:
> > after I cvsup-ed and portsdb -Uu && pkgdb -Fvu, portversion | grep "<"
> > shows me almost all the ports I have installed (on a closer look, almost
> > all the ports shown erroneously were portupgraded once)
>
> Is there any reason you *think* that those ports *aren't* outdated?
> There was a spate of port revision changes recently; to deal with the
> gettext changes, if my notoriously shaky memory is correct.
>
> Try "portversion -v" to see what version the database thinks the ports
> *should* be at.

-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Thu Dec 11 07:34 (EET) on ttyv0, idle 13:25 (messages off)
Last login Fri Feb 13 12:19 (EET) on ttyp5 from ns.rdsbv.ro
No Mail.
Plan:

!Hasta la Victoria Siempre!

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


Re: Creating mp3

2004-02-13 Thread Quintin Riis
Yes, mp3 does suck.  Vorbis, AAC, and WMA are superior.

Vorbis is better at all bitrates, not just above some magical number.  I 
use my PDA to play files when I'm out and about, $80 for a cheap one on 
eBay.

As you said though, there might be a few reasons for someone to use mp3. 
 There are lots of cute little gagdets out there that support mp3 and 
wma, and not as many that support vorbis.  This is changing though.

		Quintin

Benjamin Walkenhorst wrote:
Hello,

On Thu, 12 Feb 2004 23:51:19 -0600
Quintin Riis <[EMAIL PROTECTED]> wrote:

mp3 is outdated, use vorbis.


I wouldn't say so. 
Unless you show me an affordable hardware-vorbis-player. There's plenty
of CD-Players that will also play mp3-CDs, just like most
standalone-DVD-players.
Also, I hear, XMMS does not support vorbis. I don't know for sure,
though.

Furthermore, mp3 offers suffcient audio-quality (if your audio-source is
of good quality and your encoder is good) for most circumstances -
Vorbis, as far as I know, offers superior audio-quality only at bitrates
above 160 kbps. And at that bitrates, I don't think I could tell mp3
from vorbis, at least not using my ES1371-based sound-card and my cheap
active speakers. 

Just to make things clear, there's *nothing* wrong with vorbis. If you
care for audio-quality primarily and your source offers that degree of
quality, go for vorbis! 
But there *are* reasons for still using mp3, and it's not exactly like
mp3 sucks. =)


abcde is nice, as is cdparanoia


AFAIK, abcde only serves as a frontend for various other tools
(cdparanoia, lame, oggenc, ...). You still need cdparanoia, oggenc,
lame, for abcde to work.

		Quintin


kind regards,

Benjamin
___
[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: Creating mp3

2004-02-13 Thread andrew clarke
On Thu, Feb 12, 2004 at 10:16:12PM -0600, Earl wrote:

> What is a good program to create mp3s with?

/usr/ports/audio/lame

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


Performance over network with mount_smbfs (warning large mail)

2004-02-13 Thread mark rowlands
I have a Windows 2003 machine(2) with a share mounted on a Freebsd
machine (1) via mount_smbfs


Hardware
Machine 1

FreeBSD pcmarpxy.mine.nu 4.9-STABLE FreeBSD 4.9-STABLE #1: Fri Jan 30
23:33:38 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MARK
i386
PIII 650, 392mb ram
system : ata-100 5400 disks on builtin ide
data :- 2 ata-100 disks on a promise ata card running under vinum
(software raid) raid 0
- real men always run raid 0  :-)

BSD is recently cvsupped and compiled etc... 
samba Version 3.0.1

Machine 2

Windows 2003 all patches.
PIII 500 with a promise atx raid card and a 
pair of 30gb ata-100 5400 rpm. (also raid 0)

The machines are connected via a switch running 100mb all interfaces,
ports are
manually set to 100mb full duplex, neither machine is exactly
overloaded.

I backup to machine 2 (40gb) via an smb mount to a Windows 2003 server. 

with smbfs
167604556 bytes sent in 8m.15.133  (330 Kbytes/s)

With ftp 
167604556 bytes sent in 15.06 seconds (10.62 MB/s)

With samba (from samba share on Freebsd box  to Windows 2003 box)

167604556 bytes sent in 35.06 seconds  (4.56 MB/s)


 
this is something of a disparity!. Anyone got any ideas

Some other info

sysctl :-

netsmb_dev: loaded
net.local.stream.sendspace: 8192
net.local.stream.recvspace: 8192
net.local.dgram.maxdgram: 2048
net.local.dgram.recvspace: 4096
net.local.inflight: 0
net.inet.ip.portrange.lowfirst: 1023
net.inet.ip.portrange.lowlast: 600
net.inet.ip.portrange.first: 1024
net.inet.ip.portrange.last: 5000
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.hilast: 65535
net.inet.ip.forwarding: 1
net.inet.ip.redirect: 1
net.inet.ip.ttl: 64
net.inet.ip.rtexpire: 1066
net.inet.ip.rtminexpire: 10
net.inet.ip.rtmaxcache: 128
net.inet.ip.sourceroute: 0
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.intr_queue_drops: 20
net.inet.ip.accept_sourceroute: 0
net.inet.ip.fastforwarding: 0
net.inet.ip.keepfaith: 0
net.inet.ip.subnets_are_local: 0
net.inet.ip.fw.enable: 1
net.inet.ip.fw.autoinc_step: 100
net.inet.ip.fw.one_pass: 1
net.inet.ip.fw.debug: 1
net.inet.ip.fw.verbose: 1
net.inet.ip.fw.verbose_limit: 0
net.inet.ip.fw.dyn_buckets: 256
net.inet.ip.fw.curr_dyn_buckets: 256
net.inet.ip.fw.dyn_count: 241
net.inet.ip.fw.dyn_max: 4096
net.inet.ip.fw.static_count: 59
net.inet.ip.fw.dyn_ack_lifetime: 300
net.inet.ip.fw.dyn_syn_lifetime: 20
net.inet.ip.fw.dyn_fin_lifetime: 1
net.inet.ip.fw.dyn_rst_lifetime: 1
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_keepalive: 1
net.inet.ip.maxfragpackets: 143
net.inet.ip.maxfragsperpacket: 16
net.inet.ip.sendsourcequench: 0
net.inet.ip.check_interface: 0
net.inet.icmp.maskrepl: 0
net.inet.icmp.icmplim: 200
net.inet.icmp.drop_redirect: 1
net.inet.icmp.log_redirect: 1
net.inet.icmp.icmplim_output: 1
net.inet.icmp.bmcastecho: 0
net.inet.tcp.rfc1323: 1
net.inet.tcp.rfc1644: 0
net.inet.tcp.mssdflt: 512
net.inet.tcp.keepidle: 720
net.inet.tcp.keepintvl: 75000
net.inet.tcp.sendspace: 32768
net.inet.tcp.recvspace: 57344
net.inet.tcp.keepinit: 75000
net.inet.tcp.delacktime: 100
net.inet.tcp.log_in_vain: 0
net.inet.tcp.blackhole: 2
net.inet.tcp.delayed_ack: 1
net.inet.tcp.path_mtu_discovery: 1
net.inet.tcp.slowstart_flightsize: 1
net.inet.tcp.local_slowstart_flightsize: 4
net.inet.tcp.newreno: 1
net.inet.tcp.tcbhashsize: 512
net.inet.tcp.do_tcpdrain: 1
net.inet.tcp.pcbcount: 50
net.inet.tcp.icmp_may_rst: 1
net.inet.tcp.isn_reseed_interval: 0
net.inet.tcp.inflight_enable: 0
net.inet.tcp.inflight_debug: 0
net.inet.tcp.inflight_min: 6144
net.inet.tcp.inflight_max: 1073725440
net.inet.tcp.inflight_stab: 20
net.inet.tcp.syncookies: 1
net.inet.tcp.syncache.bucketlimit: 30
net.inet.tcp.syncache.cachelimit: 15359
net.inet.tcp.syncache.count: 0
net.inet.tcp.syncache.hashsize: 512
net.inet.tcp.syncache.rexmtlimit: 3
net.inet.tcp.msl: 3
net.inet.tcp.rexmit_min: 1000
net.inet.tcp.rexmit_slop: 200
net.inet.tcp.always_keepalive: 1
net.inet.udp.checksum: 1
net.inet.udp.maxdgram: 9216
net.inet.udp.recvspace: 41600
net.inet.udp.log_in_vain: 0
net.inet.udp.blackhole: 1
net.inet.accf.unloadable: 0
net.inet.raw.maxdgram: 8192
net.inet.raw.recvspace: 8192
net.link.generic.system.ifcount: 3
net.link.ether.inet.prune_intvl: 300
net.link.ether.inet.max_age: 1200
net.link.ether.inet.host_down_time: 20
net.link.ether.inet.maxtries: 5
net.link.ether.inet.useloopback: 1
net.link.ether.inet.proxyall: 0
net.link.ether.inet.log_arp_wrong_iface: 1
net.link.ether.inet.log_arp_movements: 1
net.link.ether.ipfw: 0
net.smb.version: 103006
net.smb.tcpsndbuf: 65535
net.smb.tcprcvbuf: 65535
netsmb_dev: loaded

A little trace


trace looks something like this :- 

Frame 229 (125 bytes on wire, 125 bytes captured)
Ethernet II, Src: 00:60:08:d0:62:2d, Dst: 00:10:4b:b6:f1:7b
Internet Protocol, Src Addr: 192.168.0.1 (192.168.0.1), Dst Addr:
192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 2857 (2857), Dst Port:
netbios-ssn (139), Seq: 1126518730, Ack: 2575214210, Len: 59
NetBIO

Re: Mounting to freebsd ufs under WinXP

2004-02-13 Thread Duane Winner
I look into this issue an average of once a year, because it's always
been my dream to have a dual boot machine in which XP can read/write my
UFS/ext2/etc. partitions and FreeBSD/Linux/etc. can read/write my NTFS
partitions.

I've seen a handful of 3rd party software out there that seems to come
close, but I've never actually tried any of them because I get the
impression that they are buggy, not fully-developed, or worse, abandoned
projects.

My current, (and actually quite happy) compromise is to have XP on FAT32
(because *nix can't write to NTFS {yet}), and then do my schleping while
booted into FreeBSD. I backup my XP data from FreeBSD, and if I need to
transfer files to XP, FreeBSD can write to that partition.

I mount /dev/ad0s1 and make a sybolic link in my home directory to what
would be C:\Documents and Settings\myname\My Documents.

So when I do an "ls /home/myname/windata", I will see my XP "My
Documents". I can delete, create and edit files through this, too.

Works pretty nicely for me. I'm not crazy about the FAT32 compromise
(I've always been a stickler for NTFS security), but for a single user
box, I'm willing to compromise. Wouldn't dream of doing this on a
production box, though.

Regards,
DW

On Thu, 2004-02-12 at 17:28, Peter Leftwich wrote:
> I researched this on the web but found nothing relevant or useful.
> 
> Can someone recommend software that lets you mount TO freebsd (ufs)
> partition FROM WITHIN Windows XP Pro SP1 (transparently)?
> 
> Samba, which is open source and free, isn't a solution because it
> requires a working [freebsd] operating system and running a daemon.
> 
> Thanks mucho diGiornio,
> 
> --
> Peter Leftwich, President & Founder
> Video2Video Services
> Box 13692, La Jolla, CA, 92039, USA
> http://Www.Video2Video.Com
> 
> 
> 
> ___
> [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 not working

2004-02-13 Thread Michael Goodman
I just cvsup'd from 4.9 to 5.2.  After the reboot I noticed that my nics
weren't configured.  Tried reconfiguring them using /stand/sysinstall
but no luck.   I tried manually sourcing /etc/rc.conf but nothing
changes.  I can't find any errors in syslog.  Any ideas?  Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


abcde build loops endlessly

2004-02-13 Thread Jorn Argelo
I've been trying to compile abcde in FreeBSD 5.2-RELEASE from the ports tree 
(/usr/ports/audio/abcde). When I type make all install clean it nicely 
fetches everything and compiles, but I noticed it wasn't finished after 3 
hours. I took a peek and I noticed it was endlessly trying to configure the 
same thing. Here is an complete output of the looping part:

checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for i386-portbld-freebsd5.2.1-g++... no
checking for i386-portbld-freebsd5.2.1-c++... no
checking for i386-portbld-freebsd5.2.1-gpp... no
checking for i386-portbld-freebsd5.2.1-aCC... no
checking for i386-portbld-freebsd5.2.1-CC... no
checking for i386-portbld-freebsd5.2.1-cxx... no
checking for i386-portbld-freebsd5.2.1-cc++... no
checking for i386-portbld-freebsd5.2.1-cl... no
checking for i386-portbld-freebsd5.2.1-FCC... no
checking for i386-portbld-freebsd5.2.1-KCC... no
checking for i386-portbld-freebsd5.2.1-RCC... no
checking for i386-portbld-freebsd5.2.1-xlC_r... no
checking for i386-portbld-freebsd5.2.1-xlC... no
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-portbld-freebsd5.2.1
checking host system type... i386-portbld-freebsd5.2.1
checking for i386-portbld-freebsd5.2.1-ranlib... no
checking for ranlib... ranlib
checking for i386-portbld-freebsd5.2.1-gcc... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd5.2.1 ld.so
checking if libtool supports shared libraries... yes

*** Warning: the command libtool uses to detect shared libraries,
*** /usr/bin/file, produces output that libtool cannot recognize.
*** The result is that libtool may fail to recognize shared libraries
*** as such.  This will affect the creation of libtool libraries that
*** depend on shared libraries, but programs linked with such libtool
*** libraries will work regardless of this problem.  Nevertheless, you
*** may want to report the problem to your system manager and/or to
*** [EMAIL PROTECTED]

checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache /dev/null
checking for cos in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
configure: creating ./config.status
cd . && \
  CONFIG_HEADERS= CONFIG_LINKS= \
  CONFIG_FILES=Makefile /bin/sh ./config.status
config.status: creating Makefile
config.status: executing default-1 commands
cd . && aclocal
cd . && \
  automake --foreign  Makefile
cd . && autoconf
configure.in:5: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:62: warning: do not use m4_reg

Determining free memory on FreeBSD 4.8-REL

2004-02-13 Thread dap
I know this question has been asked, but the answers I find tend to be along
the lines of "Well, it's complicated."

How do I determine if my FreeBSD is actually low on memory not? And what is
Inact? I did read the manpages, but even they seem to skirt how I should
view Inact vs. Free. (I did read the tuning manpage.)

Let's say I have this:

last pid: 23737;  load averages:  0.21,  0.15,  0.27  up 5+20:43:14
15:22:31
231 processes: 1 running, 230 sleeping
CPU states:  5.0% user,  0.0% nice,  2.7% system,  1.6% interrupt, 90.7%
idle
Mem: 76M Active, 25M Inact, 62M Wired, 2876K Cache, 35M Buf, 82M Free
Swap: 496M Total, 41M Used, 456M Free, 8% Inuse

So I have 82MB of free memory, 35MB of memory being used by the OS as disk
IO, cache is different from Buf in some way or another (the top manpage
doesn't quite go into details here). I don't quite get Inact and Wired.

Why am I using 41MB of swap then if I have 82MB of free memory?

On another box I have:

last pid: 42029;  load averages:  0.46,  0.38,  0.34   up 5+20:24:15
15:27:12
35 processes:  2 running, 33 sleeping
CPU states:  1.0% user,  0.0% nice, 11.7% system,  6.1% interrupt, 81.3%
idle
Mem: 51M Active, 332M Inact, 97M Wired, 19M Cache, 61M Buf, 992K Free
Swap: 1008M Total, 116K Used, 1008M Free

992K in Free but 332MB in Inact. So what is my conclusion here? That I have
332,992 KB free for use?

Looking at vmstat I have no swapping going on:

# vmstat 5
 procs  memory  pagedisks faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr ad0 ad4   in   sy  cs us sy
id
 3 0 0  189844  29624   80   0   0   0 442 375   0   0 2863 4011 564  3  6
90 (ignore)
 2 0 0  188480  271322   0   0   0 829 714   0   0 5244 1041 667  1  9
90
 2 0 0  188900  166601   0   0   0 1231 710   0   3 7215 1425 809  1 10
89

If I see ANY swapping going on should I worry? I don't think so. Some
swapping is normal in UNIX in general.


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


Re: Why would drive run at UDMA33? (Segate 80GB)

2004-02-13 Thread Jonathan Arnold
JJB wrote:
This is not true. With today's computers, all disks will operate at
their highest speed, not matter what other device they are paired
with.
Their transfer rate may be slowed down if *both* devices are
accessed at
the exact same time, but that's nothing to worry about generally. So
just
because you have a CD-ROM and an UDMA100 disk on the same channel,
it doesn't mean the UDMA100 disk will be slowed in nearly any
noticable
fashion.
I have an PC with mfg date of 5/2003 and the motherboard manually
has warning note about separating the cdrom drive to the secondary
IDE controller because it will force the IDE controller to step down
the max speed to the slowest device. This was not only for cdrom
drives but also mixing UDMA100 and UDMA66 and UDMA33 disk on any IDE
controller. IDE max controller speed is set by bios at boot time
after the probe post process completes. So just exactly what time
period are you referencing by "With today's computers"?  DO you work
for Bios chip manufacture, or write the FBSD bios's boot probe code?
What is your technical background to make such an authoritative
statement in light of so much information to the contrary?
All you need to do is to Google for "hard drive cd-rom myth" and
you'll get plenty of places that explain this.  I guarantee you
that a UDMA100 drive won't be set at PIO4 just because there's
a CD-ROM drive on the same channel. Your manual is probably talking
about exactly what I said - if both devices are accessed at the same
time, the transfer will occur at the slower rate. But that does not
mean either the bios or FreeBSD doesn't know that a UDMA100 drive
is out there. In fact, my FreeBSD has both a UDMA66 and 100 on it,
and FreeBSD knows all about the two. And if you are just getting
stuff from the hard drive (which is probably 95+% of the time),
then you have a perfectly functioning UDMA100 drive.
second device to the ribbon. Now if the devices are jumper as master
and slave it does make an difference which of the 2 closely spaced
nipples are used as the nipples have default meanings. And I believe
I don't think this is true either. I've hooked up a lot of drives
in my time, and I've never seen this. And no "build it yourself"
guide that I was able to find on the 'net mentioned anything at all
about which nipple to plug into the slave or master drive.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Determining free memory on FreeBSD 4.8-REL

2004-02-13 Thread Erik Trulsson
On Fri, Feb 13, 2004 at 03:28:34PM -0600, dap wrote:
> I know this question has been asked, but the answers I find tend to be along
> the lines of "Well, it's complicated."

It *is* a bit complicated, in part because it depends on how you define "free
memory".

> 
> How do I determine if my FreeBSD is actually low on memory not? And what is
> Inact? I did read the manpages, but even they seem to skirt how I should
> view Inact vs. Free. (I did read the tuning manpage.)
> 
> Let's say I have this:
> 
> last pid: 23737;  load averages:  0.21,  0.15,  0.27  up 5+20:43:14
> 15:22:31
> 231 processes: 1 running, 230 sleeping
> CPU states:  5.0% user,  0.0% nice,  2.7% system,  1.6% interrupt, 90.7%
> idle
> Mem: 76M Active, 25M Inact, 62M Wired, 2876K Cache, 35M Buf, 82M Free
> Swap: 496M Total, 41M Used, 456M Free, 8% Inuse
> 
> So I have 82MB of free memory, 35MB of memory being used by the OS as disk
> IO, cache is different from Buf in some way or another (the top manpage
> doesn't quite go into details here). I don't quite get Inact and Wired.

You can view all of Inactive, Cache and Free as free memory. The
difference is if the memory might be "dirty" and need to be flushed to
swap before being reused. (Free is completely free and ready to be used
at once, Cache is probably not dirty, while Inactive is probably
dirty.)

> 
> Why am I using 41MB of swap then if I have 82MB of free memory?

One possible reason is that you previously used a lot of memory and so
that memory was swapped out, but it has not been swapped in again since
it has been referenced since then.

The other reason is that FreeBSD starts swapping before it absolutely
has to, in order to always have a some free memory available when a
program wants it.

If you want a detailed description on how the memory system works you
could try reading
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/index.html


> 
> On another box I have:
> 
> last pid: 42029;  load averages:  0.46,  0.38,  0.34   up 5+20:24:15
> 15:27:12
> 35 processes:  2 running, 33 sleeping
> CPU states:  1.0% user,  0.0% nice, 11.7% system,  6.1% interrupt, 81.3%
> idle
> Mem: 51M Active, 332M Inact, 97M Wired, 19M Cache, 61M Buf, 992K Free
> Swap: 1008M Total, 116K Used, 1008M Free
> 
> 992K in Free but 332MB in Inact. So what is my conclusion here? That I have
> 332,992 KB free for use?

You have about 332M + 19M + 992K = about 352M of reasonably free
memory.  

> 
> Looking at vmstat I have no swapping going on:
> 
> # vmstat 5
>  procs  memory  pagedisks faults  cpu
>  r b w avmfre  flt  re  pi  po  fr  sr ad0 ad4   in   sy  cs us sy
> id
>  3 0 0  189844  29624   80   0   0   0 442 375   0   0 2863 4011 564  3  6
> 90 (ignore)
>  2 0 0  188480  271322   0   0   0 829 714   0   0 5244 1041 667  1  9
> 90
>  2 0 0  188900  166601   0   0   0 1231 710   0   3 7215 1425 809  1 10
> 89
> 
> If I see ANY swapping going on should I worry? I don't think so. Some
> swapping is normal in UNIX in general.

As you note a little bit of swapping is perfectly normal.
If you start to see a lot of swapping you probably want more memory.


-- 

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


Re: Changing Boot Location

2004-02-13 Thread Hanspeter Roth
  On Feb 12 at 09:42, Adam Seniuk spoke:

> I have some Desktop archtechture pc's that is running my servers. 
>  
> I went out and got dell 1650's and the dell servers run there IDE chain on
> the secondary channel. 
> So my installs which are based on the primary IDE channel do not boot up in
> the dell. 
>  
> How do I change the boot from ad0 to ad2?

Hello Adam Seniuk,

first you need to adjust the entries in /etc/fstab. Boot a rescue CD
(FreeBSD CD #2) and mount /dev/ad2s1a (or ad2s{2,3,4}a) on /mnt and
edit /mnt/etc/fstab.

If there are no disks ad0 and ad1 you must tell the BIOS to boot
drive E.

If there are disks ad0 and ad1 you might install the boot manager on
ad0 and ad1 with boot0cfg. This allows you to jump via ad0 and ad1
to ad2 during boot. But depending what the MBRs of ad0 and ad1
already contain (other boot managers?) this may not be what you
want.

> Adam Seniuk
> [EMAIL PROTECTED]
> -
> System Administrator |
> Server Administrator ||
> Database Administrator ||
> Website Administrator ||
> 
> Techweavers Inc.
>   www.techweavers.net
> "Your Website Solution"

You are a website administrator?
Maybe you have write access on a web server?
Why not put these 9 lines on a web page and put the single URL here
instead?

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


Re: How to deal with package conflicts (apache)?

2004-02-13 Thread Kris Kennaway
On Sat, Feb 14, 2004 at 03:21:16AM +1030, Wayne Sierke wrote:
> Kris Kennaway wrote:
> > On Mon, Feb 09, 2004 at 05:24:32PM +1030, W. Sierke wrote:
> > > How should I deal with package conflicts such as
> > > apache13/apache13-mod_ssl...
> > >
> > > I've installed apache13-mod_ssl but a couple of other ports I want
> to
> > > install want apache13 (specifically apache-1.3.29_1) which
> > complains of a
> > > package conflict (with apache+mod_ssl-1.3.29+2.8.16) so I'll
> > have to force
> > > the installation. Is there a way of convincing the new packages that
> > > apache13-mod_ssl is an adequate substitute for apache13?
> >
> > Set the APACHE_PORT variable (to www/apachewhatever) in
> > /etc/make.conf.  This will only work with ports, not packages, for
> > which one can only use the default settings.
> 
> Ok, does it matter that the port I want to install doesn't have any
> references to APACHE_PORT in its Makefile? Grepping through /usr/ports I
> can see that many ports do, but the port I want to install
> (mail/squirrelmail) doesn't.
> 
> So am I taking this the right way? This type of package conflict means
> that I can't have apache13-mod_ssl installed AND install other packages
> that require apache13 without forcing them?

It looks like squirrelmail doesn't have any dependencies on a
webserver, so it should be fine anyway.

Kris


pgp0.pgp
Description: PGP signature


Re: 5.2.1-RC2

2004-02-13 Thread Kris Kennaway
On Fri, Feb 13, 2004 at 12:55:16PM -0600, Chris wrote:
> I see the above mentioned is on the site under ISO's

But the release candidate has not yet been announced, so these may
change at any time.  Don't use them until the announcement comes out,
because you might encounter a bug that was fixed in the real RC2.

Kris


pgp0.pgp
Description: PGP signature


5.x stable cvsup

2004-02-13 Thread Spades
Hi, 

I got a question, my dedicated server provider has installed 5.1-Release 
and refuses to install 4.7 for me. Can I recompile to 5.1-STABLE
using the same method as 4.7 and same 4.x-stable-supfile and kernel
config file.

OR do i need to use a 5,x-stable method? any idea any url
i can find help in compiling 5.1-REL to STABLE.

Thanks!

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


Re: Determining free memory on FreeBSD 4.8-REL

2004-02-13 Thread Uwe Doering
Erik Trulsson wrote:
On Fri, Feb 13, 2004 at 03:28:34PM -0600, dap wrote:
How do I determine if my FreeBSD is actually low on memory not? And what is
Inact? I did read the manpages, but even they seem to skirt how I should
view Inact vs. Free. (I did read the tuning manpage.)
Let's say I have this:
[...]
So I have 82MB of free memory, 35MB of memory being used by the OS as disk
IO, cache is different from Buf in some way or another (the top manpage
doesn't quite go into details here). I don't quite get Inact and Wired.
You can view all of Inactive, Cache and Free as free memory. The
difference is if the memory might be "dirty" and need to be flushed to
swap before being reused. (Free is completely free and ready to be used
at once, Cache is probably not dirty, while Inactive is probably
dirty.)
Let me rephrase this a little.  Pages in Inactive _can_ be dirty (if 
they have been written to) while pages in Cache are already clean 
(laundered), that is, can be used for other purposes without delay, but 
can also be reactivated (moved to Active) if their current contents is 
needed again.  Inactive, on the other hand, has to be laundered before 
the pages move on to Cache, which they eventually do.

It works like this: If the kernel's laundry routine finds a dirty page 
in Inactive for the first time it marks and skips it, in the hopes that 
the page is ephemeral and will be gone next time around.  If it's not 
gone and the launderer finds it for the second time it schedules it for 
flushing to disk and skips it again.  If it later finds the page for the 
third time it is hopefully clean by then and can be moved to Cache.

Pages that are clean right from the start (that only have been read) 
will be moved to Cache without further ado, whenever (Cache+Free) falls 
below its lower hysteresis level.  That is, the move will be in chunks.

And yes, I agree that it's a little complicated. ;-)

If I see ANY swapping going on should I worry? I don't think so. Some
swapping is normal in UNIX in general.
As you note a little bit of swapping is perfectly normal.
If you start to see a lot of swapping you probably want more memory.
The slow increase in swapped-out pages you see over time even if the 
system is not short of memory is caused by the laundry procedure I 
described above, and is perfectly normal.  It's kind of a preemptive 
strategy in order to have enough clean pages available without delay 
when you need them.

Hope to have shed some light on the subject.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pthread on freebsd 5.2...?

2004-02-13 Thread Thomas Graham
does anyone could paste the working /etc/libmap.conf to me please ? some
program is working but some program don't because pthread lib problem,
I am running freebsd 5.2
Thanks.


-- 
HK Celtic Orchestra leader and coordanator: Thomas Graham Lau
Phone number: 852-93239670(24hours a day, 7days a week non-stop phone)
Web site: http://sml.dyndns.org
Email: [EMAIL PROTECTED]
Celtic Newage radiostation: http://sml.dyndns.org:8000
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pthread on freebsd 5.2...?

2004-02-13 Thread Jason
Thomas Graham wrote:

does anyone could paste the working /etc/libmap.conf to me please ? some
program is working but some program don't because pthread lib problem,
I am running freebsd 5.2
Thanks.
 

What program does not work?  I did a recent upgrade to current and ran 
into this problem with bit torrent.  It was solved by doing portupgrade 
-Rr on python, the language bit torrent is written in.  I also read 
someone suggested -afr on a portupgrade, but it did not work for me, or 
it did not rebuild python.  Try it on your program.
Jason
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


4.9 vs 5.2 halt

2004-02-13 Thread J.D. Bronson
I have a new IBM server (P4-3.06 with HT) and with 4.9REL, when I type in 
'halt' - the machine stops and then when I hit the power button, it shuts 
off immediately.

On 5.2 (with all defaults and booting ACPI) - when I type in 'halt' - the 
machine stops...but:

1. the CPU gets really hot quite fast (why??)
2. the power button has to be held in for 4 secs to power off the machine
Is this by design and if so -is there a way to put this back to the 4.9 style?

thanks-





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


startup daemon as unpriviliged user

2004-02-13 Thread Louis LeBlanc
Hey everyone.  Here's a general question for you.

I have a FreeBSD 4.8 system that runs fetchmail for me as an
unprivileged everyday userid.  The problem is that the machine isn't
on the most reliable powergrid one could hope for.

So when the system comes back up after going down, I ALWAYS forget
that I have to get fetchmail restarted.  If I forget for too long,
there's so much mail it blows the server that receives the mail into
oblivion (also FreeBSD 4.8, running Sendmail, Cyrus Imapd, and the
main culprit, Spamassassin - spamd).  This is so bad that I often have
to reboot the receiving system.

So, how can I get a process to run automatically on startup for an
unprivileged user?

Thanks.
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

The clearest way into the Universe is through a forest wilderness.
-- John Muir
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.2 Router Setup

2004-02-13 Thread Michael Madden
I am trying to setup a pc with FreeBSD 5.2 as a
router.  I've got two NICs setup. My laptop
can ping the LAN side of the router (192.168.200.1),
and it can also ping the WAN side of the router (172.16.20.10).
However, I cannot get past the WAN side of the router to
other pcs or the internet, but if I login to the
router, I can see other pcs and the internet.
It almost seems like IP forwarding isn't working
isn't working on the router.
Here is /etc/rc.conf:

ifconfig_xl0="inet 172.16.20.10  netmask 255.255.0.0"
ifconfig_xl1="inet 192.168.200.1  netmask 255.255.255.0"
defaultrouter="172.16.255.1"
gateway_enable="YES"
hostname="pcmadden.cms-stl.com"
linux_enable="YES"
moused_enable="YES"
ntpdate_enable="YES"
ntpdate_flags="time-ext.missouri.edu"
sshd_enable="YES"
usbd_enable="YES"
Here is the output of ifconfig:
xl0: flags=8843 mtu 1500
options=b
inet 172.16.20.10 netmask 0x broadcast 172.16.255.255
inet6 fe80::201:2ff:fe3f:5823%xl0 prefixlen 64 scopeid 0x1
ether 00:01:02:3f:58:23
media: Ethernet autoselect (100baseTX )
status: active
xl1: flags=8843 mtu 1500
options=b
inet 192.168.200.1 netmask 0xff00 broadcast 192.168.200.255
inet6 fe80::210:5aff:fea8:fd83%xl1 prefixlen 64 scopeid 0x2
ether 00:10:5a:a8:fd:83
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
Here is the output of netstat -r:
Routing tables
Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultguardian-int   UGS 0  516xl0
localhost  localhost  UH  02lo0
172.16 link#1 UC  00xl0
stldns 00:06:5b:8b:dd:9f  UHLW0   43xl0   1059
hulk   00:30:d3:01:98:f1  UHLW06xl0
light  00:c0:4f:a1:2b:f8  UHLW03xl0   1057
legolas00:06:5b:84:44:c5  UHLW0 1325xl0836
guardian-int   00:a0:8e:1d:bd:b4  UHLW10xl0660
192.168.200link#2 UC  00xl1
Internet6:
DestinationGatewayFlags  Netif Expire
localhost.cms-stl. localhost.cms-stl. UH  lo0
fe80::%xl0 link#1 UC  xl0
fe80::201:2ff:fe3f 00:01:02:3f:58:23  UHL lo0
fe80::%xl1 link#2 UC  xl1
fe80::210:5aff:fea 00:10:5a:a8:fd:83  UHL lo0
fe80::%lo0 fe80::1%lo0U   lo0
fe80::1%lo0link#3 UHL lo0
ff01:: localhost.cms-stl. U   lo0
ff02::%xl0 link#1 UC  xl0
ff02::%xl1 link#2 UC  xl1
ff02::%lo0 localhost.cms-stl. UC  lo0
Any help figuring this out would be greatly appreciated.

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


Re: rc.conf not working

2004-02-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Michael Goodman wrote:

I just cvsup'd from 4.9 to 5.2.  After the reboot I noticed that my nics
weren't configured.  Tried reconfiguring them using /stand/sysinstall
but no luck.   I tried manually sourcing /etc/rc.conf but nothing
changes.  I can't find any errors in syslog.  Any ideas?  Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


 

As root:

#ifconfig rl0 192.168.0.1 255.255.255.0

to manually config NIC's.  Use your driver
name/number and correct IP/netmask, of
course.
I've never used it, but I think that

#/bin/sh /etc/netstart

might be the other way ... I'm pretty sure
that using a shell's "source" command isn't
going to do much for you, though...although
I'm often wrong.
Kevin Kinsey

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


How to get best results from FreeBSD-questions

2004-02-13 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to "[EMAIL PROTECTED]" with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]>

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies l

"The Complete FreeBSD": errata and addenda

2004-02-13 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


  1   2   >