The FreeBSD Diary: 2005-07-03 - 2005-07-23

2005-07-24 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: DHCP3 Server on FreeBSD 4.11

2005-07-24 Thread Glenn Dawson

At 08:51 PM 7/23/2005, Paul Taylor wrote:


Hi,

I'm new to FreeBSD, so there is a good possibility that this is just
something stupid that I'm doing wrong...  I've had bad timing with
linux software that I've tried installing in the past (just happened
to try to install while there was a broken distribution, etc.) and
I'm starting to think that is my situation here...

I'm trying to install the ports version of isc-dhcp3-server...
According to what I've read, it should be as simple as:

cd /usr/ports/net/isc-dhcp3-server
make
(Set options in the dialog box, in my case unselect everything, then
let it run the config, make, etc.)
install -s work/dhcp-*/work.freebsd/server/dhcpd /usr/local/sbin

Now, my problem starts with the make...  When I run it, this is what
I get:

# make
===  Vulnerability check disabled, database not found
===  Found saved configuration for isc-dhcp3-server-3.0.2_8
= dhcp-3.0.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from ftp://ftp.isc.org/isc/dhcp/.
fetch: ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.2.tar.gz: File unavailable
(e.g., file not found, no access)
= Attempting to fetch from ftp://ftp.isc.org/isc/dhcp/dhcp-3.0- history/.
dhcp-3.0.2.tar.gz 100% of  833 kB  408 kBps
===  Extracting for isc-dhcp3-server-3.0.2_8
= Checksum OK for dhcp-3.0.2.tar.gz.
===  Patching for isc-dhcp3-server-3.0.2_8
===  Configuring for isc-dhcp3-server-3.0.2_8
Unexpected argument: server
System Type: --subsys
No build directory for freebsd - please run ./configure.
===  Building for isc-dhcp3-server-3.0.2_8
make: don't know how to make all.server. Stop
*** Error code 2

Stop in /usr/ports/net/isc-dhcp3-server.

So, it looks like it works correctly up until the Configure section...

This output:

Unexpected argument: server
System Type: --subsys
No build directory for freebsd - please run ./configure.

is from the Configure script, in the /usr/ports/net/isc-dhcp3-server/ 
work/dhcp-3.0.2 directory...  It doesn't appear to be expecting the

--subsys server that is passed.

Now, I ran a make -n to get the actual commands that it is issuing,
and it does appear to be running ./configure --subsys server and I
also noticed that the last make it runs is: make -f Makefile
all.server.  That probably explains the make: don't know how to
make all.server. Stop error...

Now, the real question is how to I fix this?  Am I missing some sort
of environment variable?  Is this port broken?

Also, note that I have tried manually running ./configure and
performing a make all...  But I get this far in the make, then:

make: don't know how to make omshell.c. Stop
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2/work.freebsd.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2.

So, I'm hoping someone out there can assist me...


I just built the same port with the same options, and it built without 
error, so I don't think the port is broken.


I did notice this line in your output:

Found saved configuration for isc-dhcp3-server-3.0.2_8

which would indicate that it is using options from a previous install.  You 
might want to do a make clean in the ports dir, then rm -R 
/var/db/ports/isc-dhcp3-server to get rid of the old config.  Then try a 
make install and see if builds correctly.


-Glenn


Thanks,
Paul

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


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


Re: turck-mmcache-2.4.6 disappeared from ports tree?

2005-07-24 Thread Lei Sun
Thanks a lot :)

On 7/23/05, Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Jul 23), Lei Sun said:
  Hi,
 
  I am wondering why turck-mmcache-2.4.6 disappeared from the ports tree
  in 5.4, and later on I found out that it disppeared in 5.3 as well.
 
  Will it make its way back to the ports tree?
 
 port moved to www/eaccelerator on 2005-01-19
 REASON: project changed name
 
 --
 Dan Nelson
 [EMAIL PROTECTED]

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


Reverting Ports 5.4 - 5.3

2005-07-24 Thread Robert Slade
Hi,

As I have been having problems with 5.4 on my Compaq Pl5000, I would
like to go back to 5.3-Stable. Is it possible to roll back the ports via
CVSUP to 5.3 by just changing the TAG=.

Rob

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


Re: Reverting Ports 5.4 - 5.3

2005-07-24 Thread Glenn Dawson

At 01:51 AM 7/24/2005, Robert Slade wrote:

Hi,

As I have been having problems with 5.4 on my Compaq Pl5000, I would
like to go back to 5.3-Stable. Is it possible to roll back the ports via
CVSUP to 5.3 by just changing the TAG=.


There's no tags in ports like there are in src.  You have to specify a 
date.  Take a look at the checkout mode section in the cvsup man page for 
more details.


-Glenn



Rob

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


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


Fan control software

2005-07-24 Thread Markus Trippelsdorf
Is there any software available, that can control the fans of my system,
like the lm-sensors package for Linux? I can read out the fan speeds and
temperatures of my motherboard with consolehm, but what I actually would
like to do is to vary the fan speeds depending on the measured
temperatures.
-- 
Markus
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Holtek HT80232 NIC unrecognized on FreeBSD 5.4-RELEASE

2005-07-24 Thread jackqq
Thank you!

I tried setting flags and/or removing hints for ed(4) but it didn't
work. I get the idea from /boot/device.hints that, perhaps not quite
accurately, hints work more with ISA. But my NIC actually belongs to
the PCI family.

The last thing I tried before going mad saved me. :)

I took a peek into the source of the NIC drivers. In
/usr/src/sys/dev/ed/, there was a file named 'if_ed_pci.c', where I
found a table to edit. The table was just located in the middle of the
file. It read

static struct _pcsid
{
uint32_ttype;
const char  *desc;
} pci_ids[] =
{
{ 0x802910ec,   NE2000 PCI Ethernet (RealTek 8029)},
{ 0x50004a14,   NE2000 PCI Ethernet (NetVin 5000) },
{ 0x09401050,   NE2000 PCI Ethernet (ProLAN)  },
{ 0x140111f6,   NE2000 PCI Ethernet (Compex)  },
{ 0x30008e2e,   NE2000 PCI Ethernet (KTI) },
{ 0x19808c4a,   NE2000 PCI Ethernet (Winbond W89C940) },
{ 0x0e3410bd,   NE2000 PCI Ethernet (Surecom NE-34)   },
{ 0x09261106,   NE2000 PCI Ethernet (VIA VT86C926)},
{ 0x,   NULL}
};

With every product name preceded by its product ID and vendor ID, it
was self-explanatory enough. So I inserted a line for my card, which
read

{ 0x005812c3,   NE2000 PCI Ethernet (Holtek HT80232)  },

Finally, I rebuilt the kernel with a dynamic loaded ed(4) driver
(if_ed.ko), which SUCCESSFULLY recognized my NIC.

Hooray!

Though without trial, I believe a kernel statically including the
modified ed(4) would also work. However, I still wonder if there is
some other way by which I don't have to edit the source.


On 7/24/05, Gary W. Swearingen [EMAIL PROTECTED] wrote:
 jackqq [EMAIL PROTECTED] writes:
 
  My ethernet adapter's chip is Holtek's HT80232. It seems to be not
  recognized by the GENERIC kernel or any if_*.ko module.
 
 The ed(4) manpage has a diagnostics section and also mentions the
 setting of flags (one of the hints) that may be needed for some
 clones.  I might also try removing the ed hints altogether.
 
 You DO have device miibus in the KERNCONF file, I hope.
 


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


Re: DHCP3 Server on FreeBSD 4.11

2005-07-24 Thread Björn König

Glenn Dawson wrote:


[...] rm -R /var/db/ports/isc-dhcp3-server to get rid of the old config. [...]


make rmconfig is more gently ;-)

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


Re: Reverting Ports 5.4 - 5.3

2005-07-24 Thread Björn König

Robert Slade wrote:


As I have been having problems with 5.4 on my Compaq Pl5000, I would
like to go back to 5.3-Stable. Is it possible to roll back the ports via
CVSUP to 5.3 by just changing the TAG=.


There are not much reasons to use an old version of the ports. Do you 
have a specific problem?


By the way, most likely you mean that you want to go back to 
5.3-RELEASE. The operating system whose uname -r shows 5.3-STABLE is 
one of thousands states between November 2004 and May 2005.


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


Re: Reverting Ports 5.4 - 5.3

2005-07-24 Thread Robert Slade
On Sun, 2005-07-24 at 10:26, Björn König wrote:
 Robert Slade wrote:
 
  As I have been having problems with 5.4 on my Compaq Pl5000, I would
  like to go back to 5.3-Stable. Is it possible to roll back the ports via
  CVSUP to 5.3 by just changing the TAG=.
 
 There are not much reasons to use an old version of the ports. Do you 
 have a specific problem?
 
 By the way, most likely you mean that you want to go back to 
 5.3-RELEASE. The operating system whose uname -r shows 5.3-STABLE is 
 one of thousands states between November 2004 and May 2005.
 
 Björn

Thank you for the reply.

My problem is that the machine worked fine with 5.3. The Machine is Qad
processor 1 Gb ram with hardware raid with 5 drives set as 2 Raid arrays
and 1 spare. 

I did a CVSup to RELENG_5. I rebuilt world and the kernel. Here the
problems started. On booting it could not find any hard drives. It tried
to boot the correct drive, but failed. At the mountroot prompt the ?
option only lists the CD and FD. As far as I can tell it is a problem
with GEOM trying to take over the raid. I can boot using kernel.old.
From the 5.4 release notes GEOM is mandatory for 5.4.

As I do not have the expertise to fix this and I would rather have a
working system, I would like to role back to 5.3 as this worked. I
assume that if I did a CVSup with TAG=5.3 this should get me back to
5.3_stable. I am not convinced though. Is this correct? 

Rob

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


Re: ipfw and tun0

2005-07-24 Thread Dirk GOUDERS

   I just started to use an ADSL line with PPPoE and want run a firewall 
   between it and my local network. What I am wondering about is that even
   if I only have the default everything-blocking rule (deny ip from any to
   any) I still see incoming packets on tun0 with tcpdump.
  
  If you are using PPPoE, the system de-encapsulates the IP traffic off of the
  PPP session via the tun0 interface.  tun0 can be treated as your external 
  interface when writing firewall rules, setting up NAT, etc.

Well, I am a little bit confused, because usually, I run machines with
real NICs and if I activate firewall rules that drop packets from
that NIC, I can run tcpdump on that NIC and will not see the dropped
packets.  This is the naive view, I have about this:


NIC device (e.g. xl0)

 -
 packets - packets -... packets - packets -
 -
   ^^
   ||
  Here, ipfw checks   Here, tcpdump listens
  the packets against and doesn't see dropped
  its rules and probably  packets
  drops packets

In the case of tun0, this order seems to be reverse...

  Right.  This implies that the firewall rules are working.  If you
  want to see what the situation looks like to a client machine
  behind the firewall, either tcpdump on a client machine, or tcpdump
  on the internal interface of the firewall box...

Does that mean, that there is no way, to inspect the network
traffic from tun0 after it has been cleaned up by ipfw and that is
not forwarded to the internal NIC?

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


Re: py24-numeric upgrade woes

2005-07-24 Thread Ian Moore
On Sunday 24 July 2005 10:37, Björn König wrote:
 You can fix this temporarily if you add the line

WRKSRC=  ${WRKDIR}/Numeric-${PORTVERSION}

 to Makefile, e.g. just before

.include bsd.port.pre.mk

 in line 28. I sent a mail to the maintainer yesterday.

 Björn

Thanks, that allows it to build now, but it falls over during the install:

--  Installing the new version via the port
===  Installing for py24-numeric-23.8
snip
MA Version 12.2.0
Numeric Version 23.8
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/Numeric-23.8/Demo/*.py 
/usr/local/share/examples/py-numeric
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/Numeric-23.8/Demo/NumTut/* 
/usr/local/share/examples/py-numeric/NumTut
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/numpy.pdf /usr/local/share/doc/py-numeric
install: /usr/ports/math/py-numeric/work/numpy.pdf: No such file or directory
*** Error code 71

Stop in /usr/ports/math/py-numeric.
*** Error code 1

Stop in /usr/ports/math/py-numeric.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2187.0 
make reinstall
egrep: /var/db/pkg/py24-numeric-23.7/+CONTENTS: No such file or directory
---  Restoring the old version
** Fix the installation problem and try again.


numpy.pdf is actually in /usr/ports/math/py-numeric/work/Numeric-23.8
By editing line 48 of the Makefile to:
 ${INSTALL_DATA} ${WRKDIR}/Numeric-23.8/numpy.pdf ${DOCSDIR}
the port installs correctly.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpjyh24Tg4jm.pgp
Description: PGP signature


Re: nForce3 SMB and Power Management

2005-07-24 Thread João Carlos Mendes Luís


João Carlos Mendes Luís wrote:
 
 Gary W. Swearingen wrote:
 
João Carlos Mendes Luis [EMAIL PROTECTED] writes:



gaia::root ~ [647] mbmon -I
No ISA-IO HWM available!!
InitMBInfo: Unknown error: 0
gaia::root ~ [648]


I don't get that with -I (just with -S).  It pretends to work OK; just bad 
data,
which might be related to the bogus temp. seen in BIOS setup screen.



[EMAIL PROTECTED]:1:1: class=0x0c0500 card=0x813f1043 chip=0x00e410de 
rev=0xa1 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce PCI SMB Controller'
class= serial bus
subclass = SMBus


I get:

[EMAIL PROTECTED]:1:1:   class=0x0c0500 card=0x0c111458 chip=0x00e410de 
rev=0xa1 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce PCI System Management'
class= serial bus
subclass = SMBus
 
 
 What's your FreeBSD version?  At 5-stable, ichsmb attachs only to Intel 
 devices,
 that means that only chips numered 0x8086 are accepted:
 
 /* PCI unique identifiers */
 #define ID_82801AA  0x24138086
 #define ID_82801AB  0x24238086
 #define ID_82801BA  0x24438086
 #define ID_82801CA  0x24838086
 #define ID_82801DC  0x24C38086
 #define ID_82801EB  0x24D38086
 #define ID_6300ESB  0x25a48086
 
 I'll give it a try, anyway.  Maybe compiling a kernel with ALL smb devices.

Indeed, my kernel could find ichsmb.  But mbmom still does not work.  Are you
sure you have no other smb device in your board?

pciconf:

[EMAIL PROTECTED]:1:1:   class=0x0c0500 card=0x813f1043 chip=0x00e410de 
rev=0xa1
hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce PCI SMB Controller'
class= serial bus
subclass = SMBus

dmesg:

gaia::root ichsmb [518] grep -i smb /var/run/dmesg.boot
netsmb_dev: loaded
ichsmb0: SMBus controller port 0x5040-0x507f,0x5000-0x503f,0x5080-0x509f at
device 1.1 on pci0
gaia::root ichsmb [519]

Note that the kernel found ichsmb, but found no smbus.

Looking a bit deeper into the sources, ichsmb does attach to *ANY* PCI device
which identifies itself as a class serial bus and subclass SMBus.  It is a
mistake, and probably a bug.  Maybe a leftover from debugging phase.

I am CCing: the ichsmb author to remember him.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


K3B CD Burner

2005-07-24 Thread Warren
I am using FreeBSD 5.4-STABLE

I just installed K3B and when i goto configure it, it dosent detect my CD 
Burner, even though i enter in the location /dev/acd1 .. what am i missing 
that it wont accept or detect my CD Burner ?
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Questions on termcap suggestions

2005-07-24 Thread Dan Mahoney, System Admin

Hey all,

Apologies.  Long.  Late.  (Early).

I just spent a few hours longer than I feel I should have had to learning 
about ANSI escape sequences and the raw unadulterated line-noise-like 
readability of the system termcap file.


Here's the basics: I use pine's print command, which works fine, under a 
normal login (term type is vt100).


Then I started with screen, which ignores the escape sequences pine sends 
and does not pass them on to the remote terminal.


After a little research, I found the escape sequences for printer 
enableing and disabling, and I added the following to the termcap entry 
for vt100 and rebuilt the thing:


po=\E[5i:pf=\E[4i:

And once I restarted screen, it worked.

I'm sending this through so someone may find it in the future and save 
themself some effort.


Now, I'm pretty sure those termcap entries are standard things, so I dunno 
if I can just throw in a send-pr to have them added (if I should, let me 
know, and I will).  Otherwise, is there a sensible way to suggest this be 
added somewhere else?  I mean, I don't want to set the assumption that ANY 
terminal setting itself as vt100 is in fact print-capable.  (but then, 
pine without screen will do the same damage anyway).


I'd say half the problem is in pine, honestly, which never *should* have 
worked without those entries present, but pine apparently doesn't check, 
instead just sending those sequences on its own.


Related:  In searching around I've also found a teeny tiny little program 
called lpansi that allows you to cat a file to your local printer. 
Shouldn't something like this be in the base, or in ports?  I found things 
like birthstone references and what certain flowers mean in 
/usr/share/misc, why not a useful print command?


-Dan

--

You're a thucking reyer!

-Richard Bozzello, who believed tongue piercing was painless.

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: DHCP3 Server on FreeBSD 4.11

2005-07-24 Thread Paul Taylor


Glenn,

Thanks for the suggestions, but I'm still coming up with the same  
failure...  You said that it built for you - Are you on FreeBSD 4.11,  
or a newer build of FreeBSD?


I ask because the maintainer of this port stated in this post (http:// 
lists.freebsd.org/pipermail/freebsd-questions/2005-April/084442.html)  
that he didn't have a FreeBSD 4.11 box to test on and that that  
particular user's problem was related specifically to 4.11.


I'm actually doing this to try to create a monowall development box,  
which uses 4.11 as a base system.  My FreeBSD box is actually a VM.   
We need to be able to create our own special builds of monowall to  
add at least one new feature.  The way things usually work is that  
one real reason starts us tinkering, then many additional features  
are suddenly needed once management realizes that we can add  
them...  :)


Paul

On Jul 24, 2005, at 3:42 AM, Glenn Dawson wrote:


At 08:51 PM 7/23/2005, Paul Taylor wrote:



Hi,

I'm new to FreeBSD, so there is a good possibility that this is just
something stupid that I'm doing wrong...  I've had bad timing with
linux software that I've tried installing in the past (just happened
to try to install while there was a broken distribution, etc.) and
I'm starting to think that is my situation here...

I'm trying to install the ports version of isc-dhcp3-server...
According to what I've read, it should be as simple as:

cd /usr/ports/net/isc-dhcp3-server
make
(Set options in the dialog box, in my case unselect everything, then
let it run the config, make, etc.)
install -s work/dhcp-*/work.freebsd/server/dhcpd /usr/local/sbin

Now, my problem starts with the make...  When I run it, this is what
I get:

# make
===  Vulnerability check disabled, database not found
===  Found saved configuration for isc-dhcp3-server-3.0.2_8
= dhcp-3.0.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from ftp://ftp.isc.org/isc/dhcp/.
fetch: ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.2.tar.gz: File unavailable
(e.g., file not found, no access)
= Attempting to fetch from ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-  
history/.
dhcp-3.0.2.tar.gz 100% of  833 kB  408  
kBps

===  Extracting for isc-dhcp3-server-3.0.2_8
= Checksum OK for dhcp-3.0.2.tar.gz.
===  Patching for isc-dhcp3-server-3.0.2_8
===  Configuring for isc-dhcp3-server-3.0.2_8
Unexpected argument: server
System Type: --subsys
No build directory for freebsd - please run ./configure.
===  Building for isc-dhcp3-server-3.0.2_8
make: don't know how to make all.server. Stop
*** Error code 2

Stop in /usr/ports/net/isc-dhcp3-server.

So, it looks like it works correctly up until the Configure  
section...


This output:

Unexpected argument: server
System Type: --subsys
No build directory for freebsd - please run ./configure.

is from the Configure script, in the /usr/ports/net/isc-dhcp3- 
server/ work/dhcp-3.0.2 directory...  It doesn't appear to be  
expecting the

--subsys server that is passed.

Now, I ran a make -n to get the actual commands that it is issuing,
and it does appear to be running ./configure --subsys server and I
also noticed that the last make it runs is: make -f Makefile
all.server.  That probably explains the make: don't know how to
make all.server. Stop error...

Now, the real question is how to I fix this?  Am I missing some sort
of environment variable?  Is this port broken?

Also, note that I have tried manually running ./configure and
performing a make all...  But I get this far in the make, then:

make: don't know how to make omshell.c. Stop
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2/work.freebsd.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2.

So, I'm hoping someone out there can assist me...



I just built the same port with the same options, and it built  
without error, so I don't think the port is broken.


I did notice this line in your output:

Found saved configuration for isc-dhcp3-server-3.0.2_8

which would indicate that it is using options from a previous  
install.  You might want to do a make clean in the ports dir, then  
rm -R /var/db/ports/isc-dhcp3-server to get rid of the old config.   
Then try a make install and see if builds correctly.


-Glenn



Thanks,
Paul

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




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


Re: K3B CD Burner

2005-07-24 Thread Nicolas Blais
On July 24, 2005 08:52 am, Warren wrote:
 I am using FreeBSD 5.4-STABLE

 I just installed K3B and when i goto configure it, it dosent detect my CD
 Burner, even though i enter in the location /dev/acd1 .. what am i missing
 that it wont accept or detect my CD Burner ?

Run K3B as root.
-- 
FreeBSD 7.0-CURRENT #4: Sat Jul 16 11:11:37 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://66.130.198.54:8081/security/nb_root.asc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


howto export kde from freeBSD 5.4 ?

2005-07-24 Thread PK

hi

howto allow kde export from freeBSD 5.4 ?

I mean to load KDE, for example with X-Win32

http://www.xwin32.com/en/products/

on the windows machine ?

kind regards
piotr




___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


Re: howto export kde from freeBSD 5.4 ?

2005-07-24 Thread Robert Slade
On Sun, 2005-07-24 at 13:30, PK wrote:
 hi
 
 howto allow kde export from freeBSD 5.4 ?
 
 I mean to load KDE, for example with X-Win32
 
 http://www.xwin32.com/en/products/
 
 on the windows machine ?
 
 kind regards
 piotr
 
 

You are probably better off with VNC. Freebsd has a VNC Server in the
ports and there are several free vnc clients for windows. 

Rob

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


Re: howto export kde from freeBSD 5.4 ?

2005-07-24 Thread PK

yes, I know VNC 

but VNC create all the time a new KDE session and I'd like to export already 
running KDE session.




 --- On Sun 07/24, Robert Slade  [EMAIL PROTECTED]  wrote:
From: Robert Slade [mailto: [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Date: Sun, 24 Jul 2005 13:41:16 +
Subject: Re: howto export kde from freeBSD 5.4 ?

On Sun, 2005-07-24 at 13:30, PK wrote:br hibr br howto allow kde 
export from freeBSD 5.4 ?br br I mean to load KDE, for example with 
X-Win32br br http://www.xwin32.com/en/products/br br on the windows 
machine ?br br kind regardsbr piotrbr br brbrYou are 
probably better off with VNC. Freebsd has a VNC Server in thebrports and 
there are several free vnc clients for windows. 
brbrRobbrbr___brfreebsd-questions@freebsd.org
 mailing 
listbrhttp://lists.freebsd.org/mailman/listinfo/freebsd-questionsbrTo 
unsubscribe, send any mail to [EMAIL PROTECTED]br

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


Re: py24-numeric upgrade woes

2005-07-24 Thread Björn König

Ian Moore wrote:


numpy.pdf is actually in /usr/ports/math/py-numeric/work/Numeric-23.8
By editing line 48 of the Makefile to:
 ${INSTALL_DATA} ${WRKDIR}/Numeric-23.8/numpy.pdf ${DOCSDIR}
the port installs correctly.


Ok, thanks. I didn't noticed it because I have NOPORTDOCS=yes in my 
make.conf.


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


Re: turck-mmcache-2.4.6 disappeared from ports tree?

2005-07-24 Thread Jerry Bell
Turk has been replaced with eaccelerator, which is in the ports tree now.

Jerry
http://www.syslog.org

 Hi,

 I am wondering why turck-mmcache-2.4.6 disappeared from the ports tree
 in 5.4, and later on I found out that it disppeared in 5.3 as well.

 Will it make its way back to the ports tree?

 Any Ideas?

 Thanks in advance.

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



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


Re: [OT Re: SPAM Problem]

2005-07-24 Thread Louis LeBlanc
On 07/23/05 05:11 PM, Greg Maruszeczka sat at the `puter and typed:
 Aaron Siegel wrote:
  Hello
  
  This message is off topic but I was not sure were else I can go to get help 
  with my problem.  For the past week I have been receiving messages from 
  various mail servers which have bounced messages I have not sent but have 
  my 
  email address as the originator of the bounced message. I believe there are 
  some SPAMers using my email address on their SPAM. I would really like to 
  avoid changing my domain name.  Has anyone experienced this problem? Is 
  there 
  something I can do?  
  
 
 It's probably blowback resulting from the activities of worm-infected
 windows hosts. Someone you correspond with got infected and the worm
 subsequently propagated itself by picking your name from their address
 book and inserting it into the from: header of the message carrying the
 worm. Then, badly configured MTAs send helpful NDRs to the sender
 informing them that they're messages couldn't be delivered
 
 Pretty routine, really.

Sorry I missed the OP, but this is something pretty much everyone sees
at one time or another.  I got to the point where I was receiving
around 200/day before I started seeing myself in Joe-Jobs.  Basically,
they want a shot at getting through those servers that simply require
a valid email address in the From: header.

I find it ridiculous that these mail servers simply bounce it to that
address rather than simply interpreting the headers and sending it
back to abuse/postman/admin at the originating relay.  This would certainly
bring it to the attention of the very few people with the ability to
stop the email coming.

In the meantime, I'm afraid there's not much you can do unless you
want to track that relay down yourself.  Even if you find it, most
times it's out of your reach (different country, etc).  And if you do
find it and it's coming from the next town over, it's not like the
authories will want to convict anyone of identity theft - they still
tend to go for the low hanging fruit, so best case scenario is you can
get the ISP to shut them down until they find another provider.  Maybe
(big maybe) the ISP will sue them, but you don't get anything for your
effort but the satisfaction that they got burned.

I eventually shut down the domain I was getting so much spam at.  I
recently turned it back on after 6 months of downtime and immediately
started getting over 40/day.  Looks like some spammers never pare down
the lists they sell.  The only thing you can really do is install spam
filters (like ports/mail/p5-Mail-SpamAssassin) so you don't have to
look at it.  Just make sure your address isn't whitelisted.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

I do desire we may be better strangers.
-- William Shakespeare, As You Like It


pgpYYeMGakZes.pgp
Description: PGP signature


Re: undelete in FreeBSD?

2005-07-24 Thread Louis LeBlanc
On 07/24/05 07:16 AM, Mario Hoerich sat at the `puter and typed:
 # Aaron Siegel:
 
 
 [ there is no un-rm ]
 
  One option I have seen for creating your own restore is to create a script 
  that will move files you want to delete to a temporary directory, a Trash 
  Bin. Then use your shells aliases to alias the script to the rm command. 
 
 Don't *ever* create aliases for rm(1).  rm's sole purpose in
 life is to destroy files.  If you tame it, you'll eventually
 adapt and rm with less caution.  There are lots of people who
 eventually got bitten by that when working on a machine other
 than their own.  
 
 A better way is to use a name like [tT]rash or tt (=[move]
 to trash).  That way, when working on a machine without your
 script, you'll get a nice and friendly command not found
 reminding you there's no safety catch.
 
 I'm personally none too fond of this, though.  Unixoid systems
 have quite a lot of ways to destroy files.  Trashes won't really
 protect you from that.  Instead, they just give you a false
 feeling of security, which merely encourages sloppiness.  
 
 My own solution is actually quite simple:
 I treat dangerous commands the same way I'd carry a deadly and
 pretty annoyed snake: with my thoughts on the task at hand.
 I read the command *before* I hit enter.  Not the one I 
 *think* I've written, but the one I'm about to execute.
 I also tend to tab-expand globs to see which files are
 actually affected.
 
 YMMV, though.

I have to second this - every bit of it.  Deleting files is not an
area you want to get sloppy in.  I've been bitten even knowing rm
would get rid of these files for good.  I once fatfingered a space
between a '*' and '.txt' and lost a weeks worth of code work in one
fell swoop.  Trust me, it's a mistake you make once and kick yourself
for indefinitely.

Trust me, I tend to use rm very carefully now, re-reading the command
each time I use it.

And no, I don't believe I'm making the case for a trash function.  I
think that would increase the chances of sloppiness.  After the
incident mentioned above, I considered the trash function, and eventually
came to the same conclusions Mario mentioned above.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

First study the enemy.  Seek weakness.
-- Romulan Commander, Balance of Terror, stardate 1709.2


pgpCxQsePzsRk.pgp
Description: PGP signature


Re: K3B CD Burner

2005-07-24 Thread Danny Pansters
On Sunday 24 July 2005 14:52, Warren wrote:
 I am using FreeBSD 5.4-STABLE

 I just installed K3B and when i goto configure it, it dosent detect my CD
 Burner, even though i enter in the location /dev/acd1 .. what am i missing
 that it wont accept or detect my CD Burner ?

Read /usr/ports/sysutils/k3b/pkg-message5


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


Re: nForce3 SMB and Power Management

2005-07-24 Thread Gary W. Swearingen
João Carlos Mendes Luís [EMAIL PROTECTED] writes:

 João Carlos Mendes Luís wrote:

 Indeed, my kernel could find ichsmb.  But mbmom still does not work.  Are you
 sure you have no other smb device in your board?

I don't see anything else in scanpci or pciconf or
/var/run/dmesg which has this only related line

ichsmb0: SMBus controller port 0x2000-0x203f,0x1c00-0x1c3f,0xe800-0xe81f irq 
23 at device 1.1 on pci0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Holtek HT80232 NIC unrecognized on FreeBSD 5.4-RELEASE

2005-07-24 Thread Gary W. Swearingen
jackqq [EMAIL PROTECTED] writes:

 Finally, I rebuilt the kernel with a dynamic loaded ed(4) driver
 (if_ed.ko), which SUCCESSFULLY recognized my NIC.

Good work.  There ought to be a web page with little success stories
like yours, to incourage more people to look at the source.

I sure hope you'll file a PR about your addition to the file.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: request

2005-07-24 Thread Agnieszka Parchimowicz


Good day!

We are along with my family collectors of every gadgets  of promotional
different firms, institution
and foundation, so, I is returned
with question if capability exists from state -member of message some free
promotional gadgets
   and reinforcement our collection? If here,
our address:
Agnieszka Parchimowicz
Ul. Ossowskiego 9
86-300 Grudziądz
POLAND

We will be very grateful
From greetings
 Parchimowicz



--
Moim programem pocztowym jest Opera: http://www.opera.com/m2/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reverting Ports 5.4 - 5.3

2005-07-24 Thread Gary W. Swearingen
Robert Slade [EMAIL PROTECTED] writes:

 As I do not have the expertise to fix this and I would rather have a
 working system, I would like to role back to 5.3 as this worked. I
 assume that if I did a CVSup with TAG=5.3 this should get me back to
 5.3_stable. I am not convinced though. Is this correct? 

AFAIK, the only 5 thing called stable is 5-STABLE = RELENG_5, which,
of course, is not stable; for that reason, you might try getting and
trying it again -- you might have grabbed it at a bad moment, like
between updates.

And I'm not aware of a 5.3 tag other than RELENG_5_3 (the latest
bug-fix release) and RELENG_5_3_0_RELEASE (the original release).

As for the ports, I doubt that you need to do anything, but it sounds
from /usr/ports/sysutils/portdowngrade/pkg-descr that there's a way
to revert ports as needed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD-current/amd64 the only os that works! ;)

2005-07-24 Thread Wojciech Puchar

i've just got new system (MSI Nforce 250Gb-based with athlon64).

tried NetBSD, tried FreeBSD-5.4, even tried Windows XP PRO X64 and none of 
them detects builtin network chip. not a lack of driver problem - chip 
isn't listed on PCI bus at all!!!


this motherboard is listed on FreeBSD webpage as having broken BIOS (not 
the only of course) and that's since April 2005 -current runs on it.


and indeed - everything is detected and everything works.

but

1) what are these all ACPI errors? can them be just ignored or it is a 
problem?
2) why - with interrupt controller capable of 24 ints and lots of them 
unused - network card and one of USB controller gets same interrupt 21?


3) is that high system load normal under net traffic. ftp'ing with 
100Mbit/s speed takes about 10% CPU. with such fast CPU is quite a big 
value. is't it an effect of using same interrupt line that USB?



thank you for all help and congratulations for FreeBSD programmers that 
make it fully working on that hardware!


i initially wanted to use NetBSD on it, but FreeBSD at least works :) and 
appears to work much better under high filesystem load - so i will change 
my preferences. and USB mass storage devices really hot plugs and unplugs 
:)




Copyright (c) 1992-2005 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 6.0-CURRENT-SNAP005 #0: Sun Jul 24 16:52:47 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/amd64/compile/local
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 2800+ (1808.81-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0xfc0  Stepping = 0
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow
real memory  = 268369920 (255 MB)
avail memory = 250380288 (238 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
acpi0: Nvidia AWRDACPI on motherboard
acpi0: Power Button (fixed)
pci_link0: ACPI PCI Link LNK1 irq 3 on acpi0
pci_link1: ACPI PCI Link LNK2 irq 10 on acpi0
pci_link2: ACPI PCI Link LNK3 on acpi0
pci_link3: ACPI PCI Link LNK4 on acpi0
pci_link4: ACPI PCI Link LNK5 on acpi0
pci_link5: ACPI PCI Link LUBA irq 10 on acpi0
pci_link6: ACPI PCI Link LUBB irq 10 on acpi0
pci_link7: ACPI PCI Link LMAC irq 5 on acpi0
pci_link8: ACPI PCI Link LAPU on acpi0
pci_link9: ACPI PCI Link LACI irq 11 on acpi0
pci_link10: ACPI PCI Link LMCI on acpi0
pci_link11: ACPI PCI Link LSMB irq 5 on acpi0
pci_link12: ACPI PCI Link LUB2 irq 10 on acpi0
pci_link13: ACPI PCI Link LFIR on acpi0
pci_link14: ACPI PCI Link L3CM on acpi0
pci_link15: ACPI PCI Link LIDE on acpi0
pci_link16: ACPI PCI Link LSID on acpi0
pci_link17: ACPI PCI Link LFID irq 11 on acpi0
pci_link18: ACPI PCI Link APC1 irq 16 on acpi0
pci_link19: ACPI PCI Link APC2 irq 17 on acpi0
pci_link20: ACPI PCI Link APC3 irq 18 on acpi0
pci_link21: ACPI PCI Link APC4 irq 19 on acpi0
pci_link22: ACPI PCI Link APC5 irq 16 on acpi0
pci_link23: ACPI PCI Link APCF irq 0 on acpi0
pci_link24: ACPI PCI Link APCG irq 0 on acpi0
pci_link25: ACPI PCI Link APCH irq 0 on acpi0
pci_link26: ACPI PCI Link APCI irq 0 on acpi0
pci_link27: ACPI PCI Link APCJ irq 0 on acpi0
pci_link28: ACPI PCI Link APCK irq 0 on acpi0
pci_link29: ACPI PCI Link APCS irq 0 on acpi0
pci_link30: ACPI PCI Link APCL irq 0 on acpi0
pci_link31: ACPI PCI Link APCM irq 0 on acpi0
pci_link32: ACPI PCI Link AP3C irq 0 on acpi0
pci_link33: ACPI PCI Link APCZ irq 0 on acpi0
pci_link34: ACPI PCI Link APSI irq 0 on acpi0
pci_link35: ACPI PCI Link APSJ irq 0 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0
pci_link29: BIOS IRQ 5 for -2145927624.1.INTA is invalid
pci_link23: BIOS IRQ 10 for -2145927624.2.INTA is invalid
pci_link24: BIOS IRQ 10 for -2145927624.2.INTB is invalid
pci_link30: BIOS IRQ 10 for -2145927624.2.INTC is invalid
pci_link25: BIOS IRQ 5 for -2145927624.5.INTA is invalid
pci_link27: BIOS IRQ 11 for -2145927624.6.INTA is invalid
pci_link35: BIOS IRQ 11 for -2145927624.10.INTA is invalid
pci0: ACPI PCI bus on pcib0
pci_link29: Unable to choose an IRQ
pci_link23: Unable to choose an IRQ
pci_link24: Unable to choose an IRQ
pci_link30: Unable to choose an IRQ
pci_link25: Unable to choose an IRQ
pci_link27: Unable to choose an IRQ
pci_link35: Unable to choose an IRQ
agp0: NVIDIA nForce3-250 AGP Controller mem 0xe000-0xe7ff at device 
0.0 on pci0
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xeb005000-0xeb005fff irq 21 at 
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, 

Re: DHCP3 Server on FreeBSD 4.11

2005-07-24 Thread Dick Hoogendijk
On 24 Jul Paul Taylor wrote:
 
 Glenn,
 
 Thanks for the suggestions, but I'm still coming up with the same
 failure...  You said that it built for you - Are you on FreeBSD 4.11,
 or a newer build of FreeBSD?

I'm on FreeBSD-4.11-stable and the port builds very well.
I have (of course) the latest cvsup ports colection and use portupgrade
(of portinstall if you install a package for the first time). No build
errors whatsoever.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions on termcap suggestions

2005-07-24 Thread Gary W. Swearingen
 I'm sending this through so someone may find it in the future and
 save themself some effort.

Good of you to try to document it; I wish I knew where else it could
go. I wonder if there should be a wiki-type knowledge base for things
like that.

 Related: In searching around I've also found a teeny tiny little
 program called lpansi that allows you to cat a file to your local
 printer. Shouldn't something like this be in the base, or in ports?
 I found things like birthstone references and what certain flowers
 mean in /usr/share/misc, why not a useful print command?

It's easy to guess why not: the developers who've paid their dues (or
otherwise got their clout), and so control the contents of the base
OS, haven't been convinced to put it in.  You could write a PR
proposing the addition, but you'd have better luck volunteering to
make a port for it.

As for cruft in the OS, a PR on the subject would be more likely to
encourage some cleanup than any comments in -questions.  Removing
cruft can often be more work than adding it, so it tends to take
plenty of encouragement, or volunteer work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to remove bootloader from a slice

2005-07-24 Thread Tobias Roth
Hi

I am trying to remove a bootloader accidentally installed on ad0s3.
I tried overwriting it with fdisk -B -b /boot/boot0 -3 but that didn't
have any effect. And anyway, I'd rather see it gone than
replaced with the FreeBSD bootloader.
boot0cfg doesn't seem to be able to act on slices alone. That leaves
dd, but as I am not sure how to do it correctly, I thought I'd rather
ask first.

thanks, t.


-- 
Tobias Roth|Berne, Switzerland|http://fsck.ch
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to boot into freebsd installer using pxe?

2005-07-24 Thread Felix von Leitner
Hi!

I would like to offer a network based install service in our LAN here,
and I would like it to be able to install NetBSD, OpenBSD, FreeBSD and
Gentoo.  I have a PXE environment booting Grub 0.97, which can boot a
Net/OpenBSD kernels and the FreeBSD loader.

So far, so good.

Which files do I need to offer over TFTP or NFS for PXE to boot into the
installer?  How do I pre-configure the installer to install from the
install server per default, and not from the Internet?

I'm not particularly glued to grub, if it is better to do this with
syslinux (or $WHATEVER), I'm game.  However, I need to have a boot menu
offering all the above operating systems, I can not simply boot directly
into NetBSD's PXE loader.  And I want to offer a net-bootable memtest.

By the way: OpenBSD ships the pxeboot file in their install directory, I
would very much like FreeBSD to do the same.  I would like FreeBSD to
shop a tarball with the necessary files (minus the install sets) that
need to be available via TFTP/NFS and a small README saying what needs
to be done, in a system-agnostic way.

I'm thinking about an install LAN on a LAN party here, so as many people
as possible can install FreeBSD.

The next step would be to offer something like a live CD just bootable
over PXE.  Think about the advocacy possibilities if people can just try
FreeBSD over the net!  Also, think about the environment, of all the CDs
that don't need to be burned or pressed and then thrown away.

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


Re: ipfw and tun0

2005-07-24 Thread Chuck Swiger

Dirk GOUDERS wrote:
[ ... ]

If you are using PPPoE, the system de-encapsulates the IP traffic off of the
PPP session via the tun0 interface.  tun0 can be treated as your external 
interface when writing firewall rules, setting up NAT, etc.


Well, I am a little bit confused, because usually, I run machines with
real NICs and if I activate firewall rules that drop packets from
that NIC, I can run tcpdump on that NIC and will not see the dropped
packets.


Are you 100% certain of that?  What you've described does not match how tcpdump 
on a BSD system works here:


nfw1# ipfw add 10 deny ip from any to any 321
00010 deny ip from any to any dst-port 321
nfw1# tcpdump -nt -i fxp0 port 321
tcpdump: listening on fxp0
68.161.54.113.2145  199.103.21.225.321: S 610825795:610825795(0) win 57344 
mss 1450,nop,wscale 0,nop,nop,timestamp 410027852 0 (DF)
68.161.54.113.2145  199.103.21.225.321: S 610825795:610825795(0) win 57344 
mss 1450,nop,wscale 0,nop,nop,timestamp 410030852 0 (DF)

^C
44 packets received by filter
0 packets dropped by kernel

tcpdump sees the incoming SYN packets just fine, even if IPFW denies them in 
the very first rule.



This is the naive view, I have about this:

NIC device (e.g. xl0)

 -
 packets - packets -... packets - packets -
 -
   ^^
   ||
  Here, ipfw checks   Here, tcpdump listens
  the packets against and doesn't see dropped
  its rules and probably  packets
  drops packets


There's a diagram in the IPFW manpage that has a better description of the 
packet flow.  tcpdump runs sooner than you've shown, and traffic through most 
interfaces is bidirectional.



Right.  This implies that the firewall rules are working.  If you
want to see what the situation looks like to a client machine
behind the firewall, either tcpdump on a client machine, or tcpdump
on the internal interface of the firewall box...


Does that mean, that there is no way, to inspect the network
traffic from tun0 after it has been cleaned up by ipfw and that is
not forwarded to the internal NIC?


You can either add a log rule after your IPFW reject rules, and have the 
firewall itself log the traffic which is permitted through, or you could use 
another divert rule and force that traffic into a daemon which looks at the 
packets (this is how natd works, after all).


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


make buildworld fails in openssl/colldef

2005-07-24 Thread Marius Korsmo

I get this error when trying to buildworld:

mkdep -f .depend -a-I. -I/usr/src/usr.bin/colldef
-I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT
-I/usr/obj/usr/src/i386/legacy/usr/include parse.c scan.c
echo colldef: /usr/lib/libc.a /usr/lib/libl.a
/usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a  .depend
cc -O -pipe -I. -I/usr/src/usr.bin/colldef
-I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT 
-I/usr/obj/usr/src/i386/legacy/usr/include -c parse.c
cc -O -pipe -I. -I/usr/src/usr.bin/colldef
-I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT 
-I/usr/obj/usr/src/i386/legacy/usr/include -c scan.c
In file included from /usr/include/openssl/bio.h:67,
 from /usr/include/err.h:68,
 from /usr/src/usr.bin/colldef/scan.l:34:
/usr/include/openssl/crypto.h:328: error: syntax error before numeric constant
In file included from /usr/include/err.h:68,
 from /usr/src/usr.bin/colldef/scan.l:34:
/usr/include/openssl/bio.h:225: error: syntax error before numeric constant
/usr/include/openssl/bio.h:579: error: syntax error before numeric constant
In file included from /usr/src/usr.bin/colldef/scan.l:34:
/usr/include/err.h:238: error: syntax error before numeric constant
*** Error code 1

Stop in /usr/src/usr.bin/colldef.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


I'm running FreeBSD 5.4 RELEASE, but want to update to RELENG_5_4 to get the
latest security updates.
I'm using the RELENG_5_4 tag when i cvsup. I have cvsup'ed from 3-4 servers at
different times.
I have also tried to cvsup to STABLE, but that does not make any difference.
I've cvsup'ed many times during a 10 day period. There is nothing wrong with the
soruces I get (i think).
I've followed the manual, and done chflags -R noschg /usr/obj/usr, rm -rf
/usr/obj/usr, cd /usr/src, make cleandir, make cleandir
I get the same error every time, it happens very early in the buildworld
process.
I have also deleted /usr/src a few times to be on the safe side before
cvsup'ing.
I've tried deleting /usr/obj before building world.
My /etc/make.conf contains nothing when I try to buildworld, but I have tried a
few options without any luck.
Deleting openssl (installed from ports) and all programs that depend on openssl
does not help at all.
Building world in single user mode does not help.
Yes, I'm root when building world.

my cvsup file looks like:
*default host=cvsup.no.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default tag=RELENG_5_4
*default release=cvs delete use-rel-suffix
*default compress
src-all

Any help will be highly appreciated.
Thank you.

Marius






This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to remove bootloader from a slice

2005-07-24 Thread Gary W. Swearingen
Tobias Roth [EMAIL PROTECTED] writes:

 I am trying to remove a bootloader accidentally installed on ad0s3.
 I tried overwriting it with fdisk -B -b /boot/boot0 -3 but that didn't
 have any effect. And anyway, I'd rather see it gone than
 replaced with the FreeBSD bootloader.
 boot0cfg doesn't seem to be able to act on slices alone. That leaves
 dd, but as I am not sure how to do it correctly, I thought I'd rather
 ask first.

Check out the bsdlabel manpage (esp. -B and -B example).

BTW, your fdisk command only affected the MBR and the -3 was ignored
because you didn't tell it what to do with the partition table's third
entry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Answering my own question Re: Iomega REV drive, FreeBSD 4.11

2005-07-24 Thread Tom Russo
I'm answering my own question on the mailing list, just to get what I found
into the archives in case anyone else has this question.

On Thu, Jul 21, 2005 at 08:33:47PM -0600, we recorded a bogon-computron 
collision of the [EMAIL PROTECTED] flavor, containing:
 I'm running FreeBSD 4.11.  I last updated from STABLE in January:
 
 FreeBSD bogodyn.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Sat Jan 22 13:10:32 
 MST 2005 [EMAIL PROTECTED]:/users2/obj/usr/src/sys/BOGODYN  i386
 
 I just purchased an external SCSI Iomga REV 35MB removable medium drive.  
 
[...]
 When I attach the device and camcontrol rescan all, I get this in the 
 /var/log/messages:
 
 Jul 21 19:22:52 bogodyn /kernel: cd1: Iomega RRD 84.B Removable CD-ROM 
 SCSI-4 
 device 
[...]
 That is, the drive is detected, but as a removable CDROM, 

This is not peculiar to BSD.  Low-level SCSI utilities in the SCSI controller
at boot time also fail to recognize this thing as a disk drive, and even 
on Windows it shows up as a CD-ROM.  The only way to write data to it is to
use a windows-only driver.  And since it doesn't use an ISO-9660 file system,
the only way to read data off of it is with a windows-only driver, too.  So
the thing is a paperweight unless one is using Windows.  One can use 
the windows explorer to copy files into it, and one could use it to back up
files if they're on a BSD machine shared by Samba.  Useless for system recovery,
but perhaps barely functional as a data backup.  

Live and learn.

-- 
Tom RussoKM5VY SAR502  DM64ux http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 
 The only thing you can do easily is be wrong, and that's hardly
  worth the effort. -- Norton Juster
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: deamon graphic

2005-07-24 Thread Lowell Gilbert
LOadiNg_ [EMAIL PROTECTED] writes:

 Hello, I'm writing with a little question. I'm looking for graphic of
 daemon (like on this one http://www.freebsd.org/gifs/freebsd_1.gif )
 but in highest resolution, minimal 1024x768. In free time I'm making
 any graphics or wallpapers, and I want to make wallpaper with
 propaganda of FreeBSD, but unfortenaly i can't find any good to remake
 it... Have you got any graphics, or links where from i can get this
 deamon ?. For example here is wallpaper which I made for NetBSD (for
 myself, later published it). --
 http://netbsd.org/gallery/mobile-logos.html
 http://netbsd.org/images/logos/loadingz-wallpaper.jpg 
 
 Thanks in advance, and sorry if I mailed on wrong adress :-)

http://www.freebsd.org/art.html

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


Re: Download ports from another machine

2005-07-24 Thread Lowell Gilbert
Don't top-post, please.

Emil Khatib [EMAIL PROTECTED] writes:

 Well, I just had an idea, as make fetch-recursive-list is unusable in
 windows (unless I make a script or program to read it or I download
 manually each of the packages), I would like to be able to boot a
 FreeBSD system installed on removable media. I have a removable HD but
 I can't boot from it... Is there anyway I could boot the system from a
 floppy using a partition in the removable drive as root?

Yes, that should be no problem; just break to the loader(8) prompt and
tell it what to use for the root and kernel.

But I really don't understand the problem; you should be able to take
the *output* of fetch-recursive-list to another system quite easily.
Use a floppy to hold the text, if you want...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: deamon graphic

2005-07-24 Thread Jonathan Glaschke
On Fri, Jul 22, 2005 at 08:15:27PM +0200, LOadiNg_ wrote:
 Hello, I'm writing with a little question. I'm looking for graphic of
 daemon (like on this one http://www.freebsd.org/gifs/freebsd_1.gif )
 but in highest resolution, minimal 1024x768. In free time I'm making
 any graphics or wallpapers, and I want to make wallpaper with
 propaganda of FreeBSD, but unfortenaly i can't find any good to remake
 it... Have you got any graphics, or links where from i can get this
 deamon ?. For example here is wallpaper which I made for NetBSD (for
 myself, later published it). --
 http://netbsd.org/gallery/mobile-logos.html
 http://netbsd.org/images/logos/loadingz-wallpaper.jpg 
 
 Thanks in advance, and sorry if I mailed on wrong adress :-)
 
 Greetings...
 Pawel LOadiNg_ Stanczuk
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Some greater pictures of `Beastie':
http://jogla.net/misc/standing_daemon.png
http://jogla.net/misc/standing_daemon2.png

Jonathan

-- 
 | /\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Junk E-Mail Re: DHCP3 Server on FreeBSD 4.11

2005-07-24 Thread Paul Taylor


I'm using 4.11-release...  I just installed it off of the miniinst CD  
image Friday night.


I'll try a reinstall.. Perhaps I've hosed something up.

Paul

On Jul 24, 2005, at 11:45 AM, Dick Hoogendijk wrote:


On 24 Jul Paul Taylor wrote:



Glenn,

Thanks for the suggestions, but I'm still coming up with the same
failure...  You said that it built for you - Are you on FreeBSD 4.11,
or a newer build of FreeBSD?



I'm on FreeBSD-4.11-stable and the port builds very well.
I have (of course) the latest cvsup ports colection and use  
portupgrade

(of portinstall if you install a package for the first time). No build
errors whatsoever.

--
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]




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


SOLVED: KPovModeler port problem: why no OpenGL?

2005-07-24 Thread Andrew Predoehl



I found a problem when I recompiled the
graphics/kdegraphics3 port; the build and install were
OK, but now when I run KPovModeler, it tells me, No
OpenGL support and does not show wireframes anymore.

I'm running FreeBSD-5.4-RELEASE-p4, and recompiling
because I'm just doing an ordinary portupgrade on
kdegraphics3.

There was no problem during the configure step. Configure
found GL, GLU, GLX, but found them

checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking for GL... yes

The only thing configure said I was missing was libsane,
which I don't even need because I don't have a scanner.

I'd really like to be able to use KPovModeler properly.
Does anyone know how to fix this? Should I just give up
and use a package? Do I need to install Mesa? It is not
listed as a dependency, and in fact when I tried to make
the graphics/mesagl port it says this:

landru# cd /usr/ports/graphics/mesagl/
landru# make configure
=== Mesa-5.0.1_3 is unnecessary because libGL and libGLU
come with XFree86 4.0 and higher.

I have libglut-6.0.1 and xorg 6.8.2 already installed,
along with the all the rest of KDE 3.4.1.

Thanks,

Andrew Predoehl


Uncomment Load glx and Load dri in /etc/X11/xorg.conf, and restart X.
That may help you.

# This loads the GLX module
   Load glx
# This loads the DRI module
   Load dri

Jonathan


Thanks Jonathan, that solved it!  I didn't have either 
module loaded.


For the record, just plain Load glx alone was enough
to solve the problem.  I had removed both of these Load
commands when I upgraded from XFree86 to Xorg, and
I thought maybe I didn't need them anymore, since the
example xorg.conf file
/usr/X11R6/lib/X11/xorg.conf.eg does not indicate loading
these modules.  Then, I forgot that I'd removed them...

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


Re: ipfw and tun0

2005-07-24 Thread Dirk GOUDERS

   Well, I am a little bit confused, because usually, I run machines with
   real NICs and if I activate firewall rules that drop packets from
   that NIC, I can run tcpdump on that NIC and will not see the dropped
   packets.
  
  Are you 100% certain of that?

No, I now realize, that I was always inspecting ipfw's log messages
and just assumed that dropped packets do not appear to tcpdump without
ever verifying that assumption.  Thanks for pointing that out.

   Does that mean, that there is no way, to inspect the network
   traffic from tun0 after it has been cleaned up by ipfw and that is
   not forwarded to the internal NIC?
  
  You can either add a log rule after your IPFW reject rules, and have the 
  firewall itself log the traffic which is permitted through, or you could use
  another divert rule and force that traffic into a daemon which looks at the 
  packets (this is how natd works, after all).

I guess, I will use ipfw's logging facility.

Thanks again for clarification.

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


Re: Questions on termcap suggestions

2005-07-24 Thread Dan Mahoney, System Admin

On Sun, 24 Jul 2005, Gary W. Swearingen wrote:


I'm sending this through so someone may find it in the future and
save themself some effort.


Good of you to try to document it; I wish I knew where else it could
go. I wonder if there should be a wiki-type knowledge base for things
like that.


Related: In searching around I've also found a teeny tiny little
program called lpansi that allows you to cat a file to your local
printer. Shouldn't something like this be in the base, or in ports?
I found things like birthstone references and what certain flowers
mean in /usr/share/misc, why not a useful print command?


It's easy to guess why not: the developers who've paid their dues (or
otherwise got their clout), and so control the contents of the base
OS, haven't been convinced to put it in.  You could write a PR
proposing the addition, but you'd have better luck volunteering to
make a port for it.


My logic in ports is that a port would be well suited for things that are 
either differently licensed (gpl, for example)...or because they 
significantly bloat the OS.  This is 20 lines of code, a makefile, and 
a well-made manpage.  I've contacted the author about the license.


Aparently this util was included with lynx for a time but printing is now 
handled internally.  Pine also includes a util that does it (not named the 
same), but it's not compiled by the pine port.



As for cruft in the OS, a PR on the subject would be more likely to
encourage some cleanup than any comments in -questions.  Removing
cruft can often be more work than adding it, so it tends to take
plenty of encouragement, or volunteer work.


Heh, no, I *like* cruft.  I think it's cooly eclectic.  Besides, who 
*hasn't* used pom(1) to decide if a backup isn't a good idea?


-Dan

--

Blargy Frap!

-mtreal, efnet #macintosh channel, 8.10.98, Approx 3AM


Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: Reverting Ports 5.4 - 5.3

2005-07-24 Thread Robert Slade
On Sun, 2005-07-24 at 15:03, Gary W. Swearingen wrote:
 Robert Slade [EMAIL PROTECTED] writes:
 
  As I do not have the expertise to fix this and I would rather have a
  working system, I would like to role back to 5.3 as this worked. I
  assume that if I did a CVSup with TAG=5.3 this should get me back to
  5.3_stable. I am not convinced though. Is this correct? 
 
 AFAIK, the only 5 thing called stable is 5-STABLE = RELENG_5, which,
 of course, is not stable; for that reason, you might try getting and
 trying it again -- you might have grabbed it at a bad moment, like
 between updates.
 
 And I'm not aware of a 5.3 tag other than RELENG_5_3 (the latest
 bug-fix release) and RELENG_5_3_0_RELEASE (the original release).
 
 As for the ports, I doubt that you need to do anything, but it sounds
 from /usr/ports/sysutils/portdowngrade/pkg-descr that there's a way
 to revert ports as needed.

Thanks Gary,

I'm now very confused. I CVSuped with TAG=5.3, built world and the
Kernel, but got the same problem with the boot disk not found. I'm not
sure what to do next. I guess that I could try installing world in case
that cures the problem the worst that could happen is that I can't boot
the system. I can always reinstall from CD - that is probably quicker
than trying to build a RELENG_5_3_0_Release. 

Rob

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


return category for a port?

2005-07-24 Thread maarfree
Hi,

I have just build /usr/ports/packages/All packages for all ports
installed on my system with some awk and bash. Does anyone know a way to
return the category for an installed port? I can't find any option in
pkg_info. I would like to create the symlinks in /usr/ports/packages as
well.

Maarten

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


Re: return category for a port?

2005-07-24 Thread Jonathan Glaschke
Hello,

On Sun, Jul 24, 2005 at 11:01:06PM +0200, maarfree wrote:
 Hi,
 
 I have just build /usr/ports/packages/All packages for all ports
 installed on my system with some awk and bash. Does anyone know a way to
 return the category for an installed port? I can't find any option in
 pkg_info. I would like to create the symlinks in /usr/ports/packages as
 well.
 
 Maarten
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Ever tried pkg_info -v?

jogla# pkg_info -v gimp-print-4.2.7_1 | grep Package\ origin
Package origin: print/gimp-print

Why do you want to create these symlinks? FreeBSD does it for you if you tell it
to build a package. Like portupgrade -p packagename or make install package
clean.

Jonathan

-- 
 | /\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [courier-users] esmtp disconnect from server

2005-07-24 Thread Dick Hoogendijk
On 24 Jul Sam Varshavchik wrote:
 dick hoogendijk writes:
 
 On Sun, 24 Jul 2005 06:50:57 -0400
 Sam Varshavchik [EMAIL PROTECTED] wrote:
 
 dick hoogendijk writes:
 
  Sure, smtp service is listening. No matter on what address I call
  the oucier server (127.0.0.1 ; 192.168.11.1 ; localhost ; lothlorien
  even the outside IP, the message is the same for all:
  
  Connection closed by foreign host
  
  No log-errors. Nothing to check. and ONLY if I call FROM the host
  courier is running on.
  From all other locations everything works flawlessly. Strange huh?
  What can this be?
 
 Do you have IPv6 addresses assigned to this host?
 
 127.0.0.1localhost.nagual.st localhost
 192.168.11.1 lothlorien.nagual.st lothlorien
 192.168.11.1 lothlorien.nagual.st.
 
 So the answer is 'no'
 
 Try removing the duplicate entry.
 
I once did that already to no use. Just did it again: nothing changed;
the same error Connection dropped..

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: return category for a port?

2005-07-24 Thread Jonathan Glaschke
Hello,

On Sun, Jul 24, 2005 at 11:45:31PM +0200, maarfree wrote:
 On Sun, 2005-07-24 at 23:27 +, Jonathan Glaschke wrote:
  Hello,
  
  On Sun, Jul 24, 2005 at 11:01:06PM +0200, maarfree wrote:
   Hi,
   
   I have just build /usr/ports/packages/All packages for all ports
   installed on my system with some awk and bash. Does anyone know a way to
   return the category for an installed port? I can't find any option in
   pkg_info. I would like to create the symlinks in /usr/ports/packages as
   well.
   
   Maarten
   
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
  Ever tried pkg_info -v?
  
  jogla# pkg_info -v gimp-print-4.2.7_1 | grep Package\ origin
  Package origin: print/gimp-print
  
  Why do you want to create these symlinks? FreeBSD does it for you if you 
  tell it
  to build a package. Like portupgrade -p packagename or make install 
  package
  clean.
  
  Jonathan
 Jonathan,
 
 I never tried pkg_info -v, but I see it works. The reason I want the
 symlinks is because not all packages were installed using portupgrade -N
 and I use my system to update my mom's and sister's ancient PC's.
 
 Maarten
 
 
 

You have to do portupgrade -Np ;)

Greetings, Jonathan

-- 
 | /\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD is Very slow to load some sites

2005-07-24 Thread Galdes, Andrew (ERHS)
Hello All,

Freebsd seems to take a long time (up to ten minutes) to load some web
sites. When i use Linux or Windows it seems to load at normal speed. I have
installed Freebsd (same version) on another computer and it has the same
trouble. I have tried both firefox and konqueror. 

The website is www.anz.com.au. I suspect the security of the site is the
problem but cannot be sure.

Another thread on this list [kde-freebsd] Konqueror very slow displaying
some sites puts it down to DNS. Any ideas?

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


Re: howto export kde from freeBSD 5.4 ?

2005-07-24 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

PK wrote:
  --- On Sun 07/24, Robert Slade  [EMAIL PROTECTED]  wrote:
 From: Robert Slade [mailto: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Sun, 24 Jul 2005 13:41:16 +
 Subject: Re: howto export kde from freeBSD 5.4 ?
 
 On Sun, 2005-07-24 at 13:30, PK wrote:
 hi
 
 howto allow kde export from freeBSD 5.4 ?
 
 I mean to load KDE, for example with X-Win32
 
 http://www.xwin32.com/en/products/
 
 on the windows machine ?
 
 kind regards
 piotr
 
 You are probably better off with VNC. Freebsd has a VNC Server in the
 ports and there are several free vnc clients for windows.
 
 Rob
 
 yes, I know VNC 
 
 but VNC create all the time a new KDE session and I'd like to export already 
 running KDE session.
 

I personally only use VNC to connect to MS-windows computers, and it
simply exports the physical screen, which seems to be what you're after.
 I also use Cygwin's X server on my Windows machines but that's only
suitable for either starting a new login session via XDM or running
single applications through SSH's X11 forwarding, neither of which
appears to be what you want.

The problem is that you appear to want to attach an X client (an
application, in this case KDE) to multiple X servers and X isn't really
set up for that.  VNC, which has it's client/server relationship the
other way around, should be able to provide what you want more easily.

HTH,
Ross

BTW, your mail was horribly mangled.  I suggest you fix that if you want
more replies.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5Bz59bR4xmappRARAltHAKCL9afKTW/+OBbIaxulY9beZiErNgCgvCrf
N5xLoKKKAtJ1G7fE0HwiB3A=
=IuY8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot install ntop under freeBSD 5.5

2005-07-24 Thread PK

hi

I have exact the same problem and get the same errors.

to clean a port, reinstall or upgrade ntop or rrdtool doesn't help.

I've done:

portupgrade -a -N -vu -R net/ntop

and

portupgrade -a -N -vu -r net/ntop

did ports tree update again

but still get errors !

on other hardware with fresh installation, I get the same errors.

this is a horrible port BUG !

kind regards
piotr





 --- On Sat 07/23, PK  [EMAIL PROTECTED]  wrote:
From: PK [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
Date: Sat, 23 Jul 2005 12:24:52 -0400 (EDT)
Subject: Re: cannot install ntop under freeBSD 5.5

brthanksbrbrI've done:brbrportupgrade -a -N -vu -R 
net/ntopbrbrand was running more then 4 days !brI've got following 
outputs:br---  Upgrade of multimedia/kdemultimedia3 ended at: Sat, 23 Jul 
2005 18:03:03 +0200 (consumed 04:15:30)br---  Skipping 'x11/kde3' 
(kde-3.4.0) because a requisite package 'kdepim-3.4.0' (deskutils/kdepim3) 
failed (specify -k to force)br---  Listing the results (+:done / -:ignored / 
*:skipped / !:failed)br- audio/artswrapper (artswrapper-1.2.1_1)br  
  - misc/compat4x (compat4x-i386-5.3_2)br- security/cyrus-sasl2 
(cyrus-sasl-2.1.21)br- databases/db4 (db4-4.0.14_1,1)br- 
net/sniffit (sniffit-0.3.7b_2)br- lang/python (python-2.4.1_1)br
- archivers/zip (zip-2.3_2)br- misc/kdehier (kdehier-1.0_6)br   
 - benchmarks/ttcp (ttcp-1.12)br- lang/perl5.8 (perl-5.8.7)br   
 - net/rsync (rsync-2.6.5)br- devel/libtool15 (libtool-1.5.18)br
  
   - graphics/jpeg (jpeg-6b_3)br- graphics/png (png-1.2.8_2)br  
  - www/tidy (tidy-2804_2)br- databases/mysql41-client 
(mysql-client-4.1.12)br- archivers/unzip (unzip-5.52_1)br- 
java/javavmwrapper (javavmwrapper-2.0_5)br- textproc/expat2 
(expat-1.95.8_3)br- lang/ruby18 (ruby-1.8.2_4)br- 
devel/cgilib (cgilib-0.5)br- security/p5-Authen-PAM 
(p5-Authen-PAM-0.14)br- misc/bsdiff (bsdiff-4.2)br- 
databases/ruby-bdb (ruby18-bdb4-0.5.3)br- sysutils/freebsd-sha256 
(freebsd-sha256-20050310)br- net/openslp (openslp-1.2.1_1)br
- devel/boost-python (boost-python-1.32.0_2)br- converters/libiconv 
(libiconv-1.9.2_1)br- print/gsfonts (gsfonts-8.11_2)br- 
databases/db42 (db42-4.2.52_4)br- security/p5-Net-SSLeay 
(p5-Net-SSLeay-1.25)br- sysutils/webmin (webmin-1.210_2)br- 
databases/ruby-bdb1 
(ruby18-bdb1-0.2.2)br- security/freebsd-update 
(freebsd-update-1.6_1)br- print/libpaper (libpaper-1.1.14.3)br  
  - devel/pcre (pcre-5.0)br- www/neon (neon-0.24.7)br- 
devel/m4 (m4-1.4.3)br- textproc/man2html (man2html-3.0.1_1)br   
 - graphics/tiff (tiff-3.7.3)br- devel/autoconf213 
(autoconf-2.13.000227_5)br- graphics/lcms (lcms-1.14,1)br- 
devel/libgnugetopt (libgnugetopt-1.2)br- mail/postfix 
(postfix-2.2.4_1,1)br- net/openldap22-client 
(openldap-client-2.2.27)br- sysutils/portupgrade 
(portupgrade-20041226_5)br- graphics/libmng (libmng-1.0.8)br
- net/cvsup-without-gui (cvsup-without-gui-16.1h_2)br- 
palm/pilot-link (pilot-link-0.11.8_3)br- audio/libogg 
(libogg-1.1.2_1,3)br- audio/speex (speex-1.0.5,1)br- 
devel/imake-6 (imake-6.8.2)br- textproc/p5-XML-Parser 
(p5-XML-Parser-2.34_1)br
- x11/xorg-documents (xorg-documents-6.8.2)br- devel/libusb 
(libusb-0.1.10a)br- audio/flac (flac-1.1.2)br- 
devel/automake14 (automake-1.4.6_2)br- security/nmap (nmap-3.81)br  
  - graphics/jasper (jasper-1.701.0)br- devel/gettext 
(gettext-0.14.5)br- devel/popt (popt-1.7)br- devel/bison 
(bison-1.75_2)br- security/libgpg-error (libgpg-error-1.0_1)br  
  + security/libgcrypt (libgcrypt-1.2.1)br- shells/bash 
(bash-3.0.16_1)br- net/libpcap (libpcap-0.8.3)br- 
audio/libvorbis (libvorbis-1.1.1,3)br- multimedia/libtheora 
(libtheora-1.0.a4)br- devel/gmake (gmake-3.80_2)br- 
textproc/intltool (intltool-0.33)br- net/mDNSResponder 
(mDNSResponder-107.1_1)br- devel/autoconf259 (autoconf-2.59_2)br
- net/samba-libsmbclient (samba-libsmbclient-3.0.14a_2)br- 
devel/automake19 (automake-1.9.5)br- 
audio/portaudio (portaudio-18.1_2)br- sysutils/logrotate 
(logrotate-3.7_4)br- www/apache2 (apache-2.0.54)br- 
lang/php4 (php4-4.4.0)br- textproc/php4-xml (php4-xml-4.4.0)br  
  - databases/php4-mysql (php4-mysql-4.4.0)br- audio/cdparanoia 
(cdparanoia-3.9.8_7)br- devel/pkgconfig (pkgconfig-0.17.2)br
+ devel/libidn (libidn-0.5.15)br- devel/libstatgrab 
(libstatgrab-0.11.1)br- math/fftw3 (fftw3-3.0.1_4)br- 
security/gnutls (gnutls-1.0.24_1)br

Shell scripts, SSH sessions, and for loops, oh my!

2005-07-24 Thread Damian Gerow
(I don't really know /where/ to ask this question.  It's not particularly
FreeBSD-centric, but the list has been good to me in the past, so hopefully
nobody minds.)

I'm trying to write a shell script that runs a for loop in an SSH session.
Simply, I'm trying to do this:

for HOST in `cat hostnames` ; do
ssh ${HOST} for PROCESS in 01 02 ; do echo '${PROCESS}' ; done
done

But because this is run in a script, that gets translated to:

for HOST in `cat hostnames` ; do
ssh ${HOST} for PROCESS in 01 02 ; do echo '' ; done
done

Which most definitely is not what I want.

I know a few ways around this -- expand the for loop, have a secondary
script, create a secondary script on-the-fly, etc. -- but I'm curious to see
if I can convince sh to *not* interpret ${PROCESS}.  I've tried escaping it,
I've tried a double-dollar, and I've tried escaping the double-dollar: none
have worked.

Does anyone have any ideas?

  - Damian

P.S. Please reply privately as well to the list; thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to create mtree files?

2005-07-24 Thread freebsd-questions
Hi,

I would like to use the mtree utility to confirm no changes have
occurred to system files since 'make installworld', similar to that
possible with 'mtree -f /cdrom/5.4-RELEASE/base/base.mtree' on a
release installation. This would also give the added advantage of
being able to determine the current buildlevel of an installed
system, I believe.  Is it possible/easy to create new mtree files
after the buildworld or installworld process? I've looked at the
Release Engineering docs but it seems more than what I'd like to
do. I should add that I am running tripwire, but I really want to
have a quick way to verify which files were part of which installworld.

thanks,
joel

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


very strange net problem in FreeBSD 5.4

2005-07-24 Thread he ccjj
Hi,everyone.
I met a very strange net problem in FreeBSD 5.4,it disturbed me very
long time,i like freebsd very much,but if this problem can't be
resolved,i have to give up it.:(

The problem is just like this:
My server box located in the education network at China(this is a
special net work,mainly for the schools of China),with
apache2+cronolog+mysql+pureftp in the same box.The users out of the
education network frequently can't visit the www serve of my
box,specially at morning(perhaps haven't visit after a long time?).But
the users of education network seldom met this problem.Perhaps you
will think about that is because of the education network,but the
strange thing is that another box with Windows 2003 whith the same
netwok condition just works fine,the users out of education network
visit it very well.So I think the problem is just because of my box's
OS!

Firstly,I think perhaps it's because of the TTL of the two OS are
different,so I change my FB's TTL to 255,but the problem occurs
too.The users frequetly complain they can't visit!

Because of cronolog?Apache?Or just because I used virtual website in
Apache2? Or other reason lead to the router can't give a stable
route?Why the windows OS with the same network condition work so well?
Why?
Help me please!
I have met this problem about half an year!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: very strange net problem in FreeBSD 5.4

2005-07-24 Thread Glenn Dawson

At 07:12 PM 7/24/2005, he ccjj wrote:

Hi,everyone.
I met a very strange net problem in FreeBSD 5.4,it disturbed me very
long time,i like freebsd very much,but if this problem can't be
resolved,i have to give up it.:(

The problem is just like this:
My server box located in the education network at China(this is a
special net work,mainly for the schools of China),with
apache2+cronolog+mysql+pureftp in the same box.The users out of the
education network frequently can't visit the www serve of my
box,specially at morning(perhaps haven't visit after a long time?).But
the users of education network seldom met this problem.Perhaps you
will think about that is because of the education network,but the
strange thing is that another box with Windows 2003 whith the same
netwok condition just works fine,the users out of education network
visit it very well.So I think the problem is just because of my box's
OS!


I can't think of any reason why you would have this problem simply because 
you're using FreeBSD.  The most likely cause is something (hard to say what 
without more details) is not configured properly on your FreeBSD system.




Firstly,I think perhaps it's because of the TTL of the two OS are
different,so I change my FB's TTL to 255,but the problem occurs
too.The users frequetly complain they can't visit!


Do the people that have trouble reaching your FreeBSD system get any error 
messages? Timeouts? Assuming that the users who are having trouble are 
trying to connect to your system with a browser, are they also unable to 
ping your system?


Is your system behind any kind of firewall or address translator?

Does your system obtain it's IP address via DHCP?  If so, is it unable to 
renew it's lease? (look in /var/db/dhclient.leases)


Is your default route correct?  Is it the same as the system that isn't 
having these problems? (assuming that both systems are on the same network)


The more details you can give about your configuration, the easier it will 
be to help you figure out where the problem is.


-Glenn



Because of cronolog?Apache?Or just because I used virtual website in
Apache2? Or other reason lead to the router can't give a stable
route?Why the windows OS with the same network condition work so well?
Why?
Help me please!
I have met this problem about half an year!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


kernel panic on boot - ServerWorks CSB6

2005-07-24 Thread Norberto Meijome

Hi all,
I am trying to install 5.4 on a box that's been running Linux. It's a 2 
year old 'Snap Appliance 4500' ( 
http://www.snapappliance.com/page.cfm?name=4500Mainnav=4500 ), with 4 x 
120 GB EIDE, P4, 512 Mb.


As soon as I try to load the kernel I get :
--- (copied by hand )
Fatal trap 10: trace trap while in vm86 mode
instruction pointer = 0xf000:0xf842
stack pointer= 0x0:0xff8
frame pointer   = 0x0:0x0
code segment  = base 0x330026, limit 0x1, type 0x9
  = DPL 3, pres 1 def32 0, fram 0
processor eflags  = interrupt enabled, vm86, IOPL=0
current process   = 0 ()
trap number= 10
panic : trace trap
uptime : 1 s
-

Every time, the same pointers / segments. This happens right after the 
kernel memory addresses (data? segment? pls excuse my ignorance) show 
after pressing an option in the boot menu.
I've been trying to install from a USB external CD ROM, with 5.4 release 
cd, iso, [EMAIL PROTECTED], Sun May 8 05:59:07 UTC 2005 (date 
showing from bootloader).


- The same happens if I chose safe mode
- The same happens if I disable dma from the boot loader prompt

- I took one of the HDs out, installed in another pc, installed again as 
drive #1, same problem and panic.


- I tried with only that one harddrive with FBSD 5.4 installed (all 
other HDs removed) - same panic

- I tried with no HDs, just to see if the cd would boot - same panic.

- I tried with 4.9 release CD, ISO from Monday oct 27 , 2003, same 
problem, slightly different addresses in panic (as expected, though 
quite similar):

---
Fatal trap 10: trace trap while in vm86 mode
instruction pointer = 0xf000: 0xf842
stack pointer = 0x0:0xff8
frame pointer = 0x0:0x0
code segment = base 0x0, limit 0x0, type 0x0
= DPL 0, pres 0, def32 0, gran 0
processor flags = interrupt enabled, vm86, IOPL=0
current process = idle
interrupt mask = net tty bio cam
trap number = 10
panic = trace trap
uptime = 0 s
-

- booting with Linux Gentoo 5.0 universal cd works fine
- booting with knoppix 3.8 works just fine. With this, I got some 
hardware info:


lspci:
---
:00:00.0 Host bridge: ServerWorks GCNB-LE Host Bridge (rev 32)
:00:00.1 Host bridge: ServerWorks GCNB-LE Host Bridge
:00:04.0 VGA compatible controller: ATI Technologies Inc Rage XL 
(rev 27)
:00:05.0 IDE interface: Silicon Image, Inc. (formerly CMD Technology 
Inc) PCI0680 Ultra ATA-133 Host Controller (rev 02)

:00:0f.0 ISA bridge: ServerWorks CSB6 South Bridge (rev a0)
:00:0f.1 IDE interface: ServerWorks CSB6 RAID/IDE Controller (rev a0)
:00:0f.2 USB Controller: ServerWorks CSB6 OHCI USB Controller (rev 05)
:00:0f.3 Host bridge: ServerWorks GCLE-2 Host Bridge
:00:10.0 Host bridge: ServerWorks CIOB-E I/O Bridge with Gigabit 
Ethernet (rev 12)
:00:10.2 Host bridge: ServerWorks CIOB-E I/O Bridge with Gigabit 
Ethernet (rev 12)
:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 
Gigabit Ethernet (rev 02)
:02:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 
Gigabit Ethernet (rev 02)

-

lspci -v : attached
dmesg (linux knoppix 3.8): attached

I'd appreaciate any pointers / suggestions / help.

thanks in advance,
Beto

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


Re: kernel panic on boot - ServerWorks CSB6

2005-07-24 Thread Norberto Meijome

Norberto Meijome wrote:


lspci -v : attached
dmesg (linux knoppix 3.8): attached



list server blocked the attachments. Please find them here:


lspci -v : http://meijome.net/files/fbsd/arsmagna_lspci-v.txt
dmesg (linux knoppix 3.8): http://meijome.net/files/fbsd/arsmagna_dmesg.txt

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


What does 'file a PR' mean?

2005-07-24 Thread jackqq
Thanks! :)

But, to tell you the truth, I'm actually a newbie to FreeBSD, even
*nix. I beg your pardon I don't quite understand what you mean by
filing a PR.

On 7/24/05, Gary W. Swearingen [EMAIL PROTECTED] wrote:
 
 Good work.  There ought to be a web page with little success stories
 like yours, to incourage more people to look at the source.
 
 I sure hope you'll file a PR about your addition to the file.
 


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


Re: What does 'file a PR' mean?

2005-07-24 Thread jackqq
I've got the clue from Anthony's reply to my Holtek subject.
Sorry for troubling you. Thanks!

On 7/25/05, jackqq [EMAIL PROTECTED] wrote:
 Thanks! :)
 
 But, to tell you the truth, I'm actually a newbie to FreeBSD, even
 *nix. I beg your pardon I don't quite understand what you mean by
 filing a PR.

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


question FreeBSD

2005-07-24 Thread zick-1
Hello.

I cannot install the application from a collection of ports.
The mistake is given out  Error code 1



-- 
Best regards,
 zick-1  mailto:[EMAIL PROTECTED]

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


Re: Shell scripts, SSH sessions, and for loops, oh my!

2005-07-24 Thread Gary W. Swearingen
Damian Gerow [EMAIL PROTECTED] writes:

 I'm trying to write a shell script that runs a for loop in an SSH session.
 Simply, I'm trying to do this:

 for HOST in `cat hostnames` ; do
   ssh ${HOST} for PROCESS in 01 02 ; do echo '${PROCESS}' ; done
 done

 But because this is run in a script, that gets translated to:

 for HOST in `cat hostnames` ; do
   ssh ${HOST} for PROCESS in 01 02 ; do echo '' ; done
 done

Here's a few clues (assuming you really want the single quotes in there):

echo THIS is SHELL: '\$SHELL'
echo THIS is SHELL: ''$SHELL''
echo 'THIS is SHELL: '\''$SHELL'\'

which all give

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