Re[2]: HID support (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837)

2004-11-16 Thread Roman V. Kiseliov

AM> On Sunday 14 November 2004 08:19 am, Roman V. Kiseliov wrote:
>> It seems that "USB keyboard and mouse" wireless sets doesn't work
>> properly in FreeBSD (my opinion based on mailing lists archives). At
>> least sets from A4Tech (see my earlier post), Logitech, Chicony & M$.
>>
>> These sets works fine in Linux and M$ Windows.
>> I think because of better HID support. Mouse and keyboard must thought
>> as one HID device.
>>
>> How I can configure my funny FreeBSD to work with my keyboard and
>> mouse set as with one HID device?
>>
AM> Does the patch I posted here solve you problem?
AM> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837

AM> If so, go ahead and reply to the PR saying that it worked.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837

 --- /sys/dev/usb/hid.c.origSun Jun 20 17:20:03 2004
 +++ /sys/dev/usb/hid.c Tue Jun 29 00:51:39 2004
 @@ -373,9 +373,10 @@
struct hid_item h;
int size, id;
  
 +  h.report_ID = 0;
id = 0;
for (d = hid_start_parse(buf, len, 1<) solved problem 
existing in 4.9-STABLE, 5.3-STABLE.
Without patch USB HID keyboard+mouse sets (at least from A4Tech, Logitech,
Chicony, Microsoft) doesn't work properly: keyboard work but mouse
doesn't. Problem arise because HID driver looks only for first item in
HID collection.

I would like to thank all people who help me find solution,
especially Mr. Anish Mistry <[EMAIL PROTECTED]>

To comitters: why this patch isn't comitted? Why we must boot M$
Windows hated by us because this patch isn't applied and mouse work
only in NetBSD, Linux and M$? Why we must be in troubles with Lovely,
Funny FreeBSD?

Sorry for emotion




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


bsdlabel messages?

2004-11-16 Thread Jay O'Brien
What is bsdlabel trying to tell me? This is the display from 
bsdlabel ad0s1a. I also have ad1 and ad2; they also give the 
same errors. Outputs from bsdlabel and uname are below.

The system seems to be running ok; a second machine, also 
running 5.3-RELEASE, exhibits the same behavior.

Jay O'Brien
Rio Linda, California, USA



server1# bsdlabel ad0s1a

# /dev/ad0s1a:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  4194304   634.2BSD 2048 16384 28552 
  b:  6291456  4194367  swap
  c: 234436482   63unused0 0 # "raw" part, don't 
edit
  d: 20971520 104858234.2BSD 2048 16384 28552 
  e: 20971520 314573434.2BSD 2048 16384 28552 
  f:  4194304 524288634.2BSD 2048 16384 28552 
  g: 83886080 566231674.2BSD 2048 16384 28552 
  h: 83886080 1405092474.2BSD 2048 16384 28552 
partition a: partition extends past end of unit
partition b: offset past end of unit
partition b: partition extends past end of unit
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard system 
utilities
partition d: offset past end of unit
partition d: partition extends past end of unit
partition e: offset past end of unit
partition e: partition extends past end of unit
partition f: offset past end of unit
partition f: partition extends past end of unit
partition g: offset past end of unit
partition g: partition extends past end of unit
partition h: offset past end of unit
partition h: partition extends past end of unit

server1# uname -a

FreeBSD server1.jayobrien.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 
04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

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


Re: Question about nice

2004-11-16 Thread David J. Weller-Fahy
* Svein Halvor Halvorsen <[EMAIL PROTECTED]> [2004-11-17 01:52 +0100]:
> >  nice isoqlog
> >  isoqlog
> According to the man page nice(1)
>  The nice utility runs utility at an altered scheduling priority, by
>  incrementing its ``nice'' value by the specified increment, or a default
>  value of 10.  The lower the nice value of a process, the higher its
>  scheduling priority.
> If you don't specify the priority level, then mice adds 10.

Ok, thanks Svein.

> >  nice sudo isoqlog
> >  sudo nice isoqlog
>
> The former will run sudo nice, which in turn will make isoqlog run as
> root, with the priority level inherited. The latter will make sudo run
> nice as root, and in turn run isoqlog with priority 10, with the effective
> user inherited.
>
> The obvoius difference, is that you let sudo run nice without a password,
> you could do "sudo nice " without a password.

Yep, that's why I was concerned about it.  If there's no reason not to
run the first syntax, then that's what I'll use.

Regards,
-- 
dave [ please don't CC me ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error in port gal2 / FBSD5.3

2004-11-16 Thread Olivier Gautherot
Hi folks!
I came across an error when compiling pkg gal2. I attached the logs.
Any idea before I try to update my ports tree? I'm still on the official 
tree of the new 5.3.

(Please copy me on your replies as I had to unsubscribe).
Cheers
   Olivier
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by gal configure 1.99.11, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --enable-static --with-libiconv 
--localstatedir=/usr/X11R6/share/gnome --datadir=/usr/X11R6/share/gnome 
--with-html-dir=/usr/X11R6/share/doc/gal2 --disable-gtk-doc 
--with-gconf-source=xml::/usr/X11R6/etc/gconf/gconf.xml.defaults 
--prefix=/usr/X11R6 --build=i386-portbld-freebsd5.3

## - ##
## Platform. ##
## - ##

hostname = ogautherot.gautherot.net
uname -m = i386
uname -r = 5.3-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/GENERIC 

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/libexec/libtool13
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /usr/ccs/bin
PATH: /home/olivier/bin
PATH: /usr/local/firefox


## --- ##
## Core tests. ##
## --- ##

configure:1500: checking for a BSD-compatible install
configure:1554: result: /usr/bin/install -c -o root -g wheel
configure:1565: checking whether build environment is sane
configure:1608: result: yes
configure:1623: checking whether gmake sets $(MAKE)
configure:1643: result: yes
configure:1675: checking for working aclocal-1.4
configure:1686: result: missing
configure:1690: checking for working autoconf
configure:1701: result: missing
configure:1705: checking for working automake-1.4
configure:1716: result: missing
configure:1720: checking for working autoheader
configure:1731: result: missing
configure:1735: checking for working makeinfo
configure:1742: result: found
configure:1752: checking whether to enable maintainer-specific portions of 
Makefiles
configure:1761: result: no
configure:1844: checking for perl
configure:1862: found /usr/bin/perl
configure:1874: result: /usr/bin/perl
configure:1894: error: XML::Parser perl module is required for intltool

##  ##
## Cache variables. ##
##  ##

ac_cv_path_INTLTOOL_PERL=/usr/bin/perl
ac_cv_env_LDFLAGS_set=set
ac_cv_env_CFLAGS_set=set
ac_cv_prog_make_gmake_set=yes
lt_cv_sys_max_cmd_len=65536
ac_cv_env_CPP_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_host_alias_set=
ac_cv_env_build_alias_set=set
ac_cv_env_LDFLAGS_value=-L/usr/local/lib
ac_cv_env_target_alias_set=
ac_cv_env_CFLAGS_value='-O -pipe -march=athlon-xp'
ac_cv_env_CC_set=set
ac_cv_env_CPPFLAGS_value=-I/usr/local/include
ac_cv_env_host_alias_value=
ac_cv_env_build_alias_value=i386-portbld-freebsd5.3
ac_cv_env_target_alias_value=
ac_cv_env_CC_value=cc
ac_cv_env_CPP_set=

## - ##
## Output variables. ##
## - ##

ACLOCAL='/usr/ports/x11-toolkits/gal2/work/gal-1.99.11/missing aclocal-1.4'
ALLOCA=''
AUTOCONF='/usr/ports/x11-toolkits/gal2/work/gal-1.99.11/missing autoconf'
AUTOHEADER='/usr/ports/x11-toolkits/gal2/work/gal-1.99.11/missing autoheader'
AUTOMAKE='/usr/ports/x11-toolkits/gal2/work/gal-1.99.11/missing automake-1.4'
CATALOGS=''
CATOBJEXT=''
CC='cc'
CFLAGS='-O -pipe -march=athlon-xp'
CPP=''
CPPFLAGS='-I/usr/local/include'
DATADIRNAME=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
EXEEXT=''
EXTRA_GNOME_CFLAGS=''
EXTRA_GNOME_LIBS=''
GAL_AGE=''
GAL_API_VERSION=''
GAL_CFLAGS=''
GAL_CURRENT=''
GAL_HAVE_ALLOCA_H=''
GAL_LIBDIR=''
GAL_LIBS=''
GAL_REVISION=''
GETTEXT_PACKAGE=''
GLIB_GENMARSHAL=''
GMOFILES=''
GMSGFMT=''
HTML_DIR=''
ICONV_CFLAGS=''
ICONV_LIBS=''
INSTALL_DATA='install -C  -o root -g wheel -m 444'
INSTALL_PROGRAM='install -C  -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install -C  -o root -g wheel -m 555'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard 
$(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d 
-u -c $(top_builddir)/po/.intltool-merge-cache'
INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard 
$(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d 
-u -c $(top_builddir)/po/.intltool-merge-cache'
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) 
$(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po 
$< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache'
INTLTOOL_EXTRACT='$(top

Re: 5.3-RC2 tar breaks operation with "(null)"

2004-11-16 Thread Andrew Sinclair
Kris Kennaway wrote:
On Tue, Nov 16, 2004 at 07:53:15PM +, Andrew Sinclair wrote:
 

Hi everybodi!
  At work I use a Windows eXPensive machine...
  I burned this tar dump onto a CD-RW...
  I'm using the new tar from 5.3-RC2 to read from the mounted CD-RW... 
It seems to have a problem with null blocks...

bash-2.05b$ tar -xvf /dvdrom/20041116.tgz
...
x Ocean Care Day/OCD website/Website/OCD Photos/Presentation.ppt: (null)
tar: (null)
bash-2.05b$
  I remembered that tar uses four blocks of 0x00 to indicate the end 
of an archive on a sequential device...

  I might be able to get around it with another tar but...
   

Try an updated version of bsdtar, either by updating to 5.3-STABLE or
installing the bsdtar port.  Alternatively, use gtar.
Kris
 

<>I checked the changelog for that. There is a minor change to its 
handling of failed writes to the archive, which is quite the opposite of 
what I am trying to do. My disc is unsuprisingly screwed and the 
drive/filesystem returns zero filled blocks where it fails to read. I 
managed to work around it with dd and gtar:

   dd if=/dvdrom/20041116.tgz of=/home/shared/mec/20041116.tgz
   gtar --ignore-zero --ignore-failed-read -xvf 
/home/shared/mec/20041116.tgz

So a PPT and a PNG were garbled. No big deal. Since bsdtar is now the 
default Tape ARchiver, shouldn't it include the options of its 
predecessor? I would assert --ignore-zero on plain files and allow 
--ignore-failed-read at least.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installation Problems

2004-11-16 Thread Michael C. Shultz
On Tuesday 16 November 2004 05:25 pm, [EMAIL PROTECTED] wrote:
> My husband purchased Free BSD. I believe it is version. 5.3. He
> installed the disks and then entered his username and password. Then
> when he needs to sign in he again enters his username and password
> and nothing happens. He can't get  into the program. Do you have any
> information to help with this problem? I have  looked online but
> cannot find info to fix this problem. Thanks in advance for  your
> assistance.
>
> Martha

Does he know the password for root? If yes, log in as root, not himself. 
If not, the do the following:


Pick single user mode from the beastie menu, then do something like the 
following:

mount -a -t ufs
cd /usr/sbin
./sysinstall

now inside of the install menu find the option to change/set root's 
password and do that, then reboot.

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


Re: FAT32/NTFS, external hard drive issue

2004-11-16 Thread scott renna
Yeah...so suprise still not working.  I was having
issues with getting XP to format the usb drive as
fat32. so i ran it through with partition magic,
creating a fat32 partiton, but BSD isn't able to read
it.

So now I'm at a loss.  FreeBSD creates a FAT32
partition for me and Windows can't read it and now the
other way around it won't work.

Any suggestions?

--- Warren Block <[EMAIL PROTECTED]> wrote:

> On Thu, 11 Nov 2004, scott renna wrote:
> 
> > I created a FAT32 parition on the external drive
> from
> > /stand/sysinstall and dropped some files onto it. 
> I
> > then moved it over to the win box to see if it
> could
> > see it and sadly no.  Is there a way to set up
> > pseudo-drive assignments from FreeBSD on a FAT32
> > partition so that Windows can see it?
> 
> Windows can be rather stupid about what it thinks is
> allowed.  Create 
> the FAT32 partition with Windows, and FreeBSD should
> have no problem 
> reading and writing to it.
> 
> -Warren Block * Rapid City, South Dakota USA
> 


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


Re: general questions about FreeBSD

2004-11-16 Thread Kevin D. Kinsey, DaleCo, S.P.
MIN RO wrote:
Hello, my name is Min Ro, and I'm writing an English paper on 
open source and its potential benefits to society (not anything 
too heavily in depth) Who may I contact to answer some questions 
about FreeBSD, its community, its influence, etc? Thank you for your time.
 

Some thoughts for you:
Submit your mail to the advocacy list at [EMAIL PROTECTED]
You'll get some good responses there, I think
There are a number of sites dedicated to FreeBSD advocacy
and the like.  A number of them have published interviews with
committers, members of the Project Core Team, FBSD Foundation
officer(s?), and even perhaps with one of the original 3 "godfathers"
of the FBSD Project.  You could probably quote from these interviews
as long as you did your bibliography correctly.  In particular, maybe
daemonnews.org, bsdnews.com, bsdnexus.org.  Probably the best,
however, is the Project's main site ... there is a collection of Press
items you'll see linkage to in one of the sidebars.
Most of the committers have personal web sites, upon which they
might have something you could use.
There are a number of books on FreeBSD that are very popular
among users ... search for "FreeBSD Book" and names like
"Greg Lehey", "Annelise Anderson", "Michael Lucas" ...
O'Reilly just published a pamphlet entitled "BSD Success Stories";
if you check the list archives (for the advocacy list), you can find
someplace to download it.  Might be worth a glance.  There are
some good, short pieces in it, and one awful one ;-)
Google is also your friend ;-)
Good luck!
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: general questions about FreeBSD

2004-11-16 Thread Subhro
Hi,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MIN RO
Sent: Wednesday, November 17, 2004 4:43
To: [EMAIL PROTECTED]
Subject: general questions about FreeBSD

Hello, my name is Min Ro, and I'm writing an English paper on open source
and its potential benefits to society (not anything too heavily in depth)
Who may I contact to answer some questions about FreeBSD, its community, its
influence, etc? Thank you for your time.

You can try asking your questions here. There are many helpful souls out
here who would gladly help you out.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


RE: Installation Problems

2004-11-16 Thread Subhro
Hi,


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 6:55
To: [EMAIL PROTECTED]
Subject: Re: Installation Problems

My husband purchased Free BSD. I believe it is version. 5.3. He installed  
the disks and then entered his username and password. Then when he needs to
sign 
 in he again enters his username and password and nothing happens. He can't 
get  into the program. Do you have any information to help with this
problem?

Are you trying to log in as root? By default there is only one user account
on a freshly installed box. The user name is "root" without the "s and there
is no password for the account. Did you change anything on the box after the
install?

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


RE: IRC recommendation?

2004-11-16 Thread Subhro
Hi,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marty Landman
Sent: Wednesday, November 17, 2004 6:31
To: [EMAIL PROTECTED]
Subject: IRC recommendation?

I'm looking for a free chat application that will work for my office 
network. Have 'nix and windoz machines running.

There are many such clients available. You cn either try something like
Jabber or you can set up an IRCD like Unreal or Dancer.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: Getting back my CCD Raid

2004-11-16 Thread Gerard Samuel
Olivier Nicole wrote:
mount: /dev/ccd0c: No such file or directory
hivemind# ls -al /dev/ccd*
crw-r-  1 root  operator4,  49 Nov 16 19:16 /dev/ccd0
   

It seems that the device does not exists rather :)
You have /dev/ccd0 but not /dev/ccd0C !
First of all I'd try MAKEDEV
Im running 5.3 (maybe that wasn't clear in the original email).
I shouldn't have to run MAKEDEV
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Advise seekink from SA

2004-11-16 Thread CJ Simbeye
Good day,

I'm not a programmer, just an end user who herd Mike talking about his 
enovations on Radio 702 in RSA. What can u do for  me, my computer is infested 
with viruses.bviously can't afford Microsoft programmes.Please help. 
Just for this message for E.G it took me me 45 minutes to get to this websit 
and 30 minutes to send to you. Please help.
I trully believe that Mr. Mike can make a difference knowing the african 
hardships.

Please help again.

CJ Simbeye
Fax: 011 4629589
Cell: 082 214 9589

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


RE: IRC recommendation?

2004-11-16 Thread Questions
Try jabber - http://jabber.org - lots of clients that work with it on both
Windows and *nix.

> I'm looking for a free chat application that will work for my office 
> network. Have 'nix and windoz machines running.
> 
> Thanks in advance,
> 
> Marty

kurt


  

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


vmware3 net module

2004-11-16 Thread Bobby Johnson
I've had problems with the vmware3 vmnet.ko module since upgrading to 5.3 from 
5.2.1.  The module loads and I don't find any errors, but it doesn't bring up a 
virtual interface.  I've updated the ports tree a few times and reinstalled 
vmware and linux_base.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Getting back my CCD Raid

2004-11-16 Thread Olivier Nicole
> mount: /dev/ccd0c: No such file or directory
> hivemind# ls -al /dev/ccd*
> crw-r-  1 root  operator4,  49 Nov 16 19:16 /dev/ccd0

It seems that the device does not exists rather :)

You have /dev/ccd0 but not /dev/ccd0C !

First of all I'd try MAKEDEV

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


PPTP client not working on 4.10-R

2004-11-16 Thread Brett Glass
I've just built and configured a 4.10-R machine for use with a VPN.
It needs to connect to a VPN server using PPTP. I've installed the PPTP
client from the Ports Collection, but it gives odd error messages and
fails to connect. Other clients are connecting properly to the PPTP
server -- and some of them are similarly configured FreeBSD machines.
(None of them is running 4.10-R, though; one is running 5.2 and others
are running 4.9.) The server is running the PoPToP PPTP server, and 
the client is running pptpclient-1.3.1.

The client isn't running IPFW at all (just the GENERIC kernel).

I'm posting the error messages I'm receiving below. (Note the
"Magic is same" messages on the server.) Note that this is PPTP,
not a modem connection, so the problem can't simply be 
characters echoed by a modem. I am wondering if the problem is
FreeBSD 4.10-R and if I need to regress to 4.9-R. Any help 
diagnosing this would be MUCH appreciated!

--Brett Glass

Client ppp.conf:

pptp:
 set authname "username"
 set authkey "password"
 set timeout 0
 set login
 set dial
 set ifaddr 0.0.0.0/0 0.0.0.0/0
 enable lqr
 set lqrperiod 12
 deny chap pap deflate pred1
 disable chap pap passwdauth deflate pred1 ipv6cp
 accept mschapv2 mppe
 enable mppe
 set mppe * stateless
 enable dns
 add! default HISADDR

Server ppp.conf:

pptp:
 set timeout 0
 set dial
 set login
 set ifaddr 172.18.0.1/32
 set server /var/run/pptp_ppp_%d "" 0700
 enable lqr
 set lqrperiod 12
 disable chap
 deny chap
 disable pap
 disable passwdauth
 disable deflate pred1
 deny deflate pred1
 enable utmp
 enable mschapv2 mppe
 set mppe * stateless
 disable proxy
 accept dns
 set dns dns1 dns2


Excerpt from /var/log/messages on the client:

Nov 16 18:12:09 client pptp[200]: anon log[main:pptp.c:219]: The synchronous 
pptp option is NOT activated
Nov 16 18:12:09 client pptp[203]: anon 
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:630]: Client connection established.
Nov 16 18:12:11 client pptp[203]: anon 
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:759]: Outgoing call established (call 
ID 0, peer's call ID 256).
Nov 16 18:12:13 client pptp[204]: anon log[decaps_hdlc:pptp_gre.c:217]: PPP 
mode seems to be Asynchronous.
Nov 16 18:12:18 client pptp[204]: anon warn[decaps_hdlc:pptp_gre.c:259]: Bad 
Frame Check Sequence during PPP to GRE decapsulation
Nov 16 18:13:11 client pptp[203]: anon log[pptp_read_some:pptp_ctrl.c:455]: 
read error: Connection reset by peer
Nov 16 18:13:11 client pptp[203]: anon log[call_callback:pptp_callmgr.c:76]: 
Closing connection
Nov 16 18:13:11 client pptp[204]: anon warn[decaps_hdlc:pptp_gre.c:209]: short 
read (0): Invalid argument
Nov 16 18:13:11 client pptp[203]: anon log[pptp_conn_close:pptp_ctrl.c:357]: 
Closing PPTP connection
Nov 16 18:13:11 client pptp[203]: anon log[pptp_write_some:pptp_ctrl.c:426]: 
write error: Bad file descriptor

Excerpt from /var/log/ppp.log on the server:

Nov 16 18:14:18 server ppp[224]: Phase: Using interface: tun3
Nov 16 18:14:18 server ppp[224]: Phase: deflink: Created in closed state
Nov 16 18:14:18 server ppp[224]: tun3: Command: default: ident user-ppp VERSION 
(built COMPILATIONDATE)
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: set timeout 0
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: set dial
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: set login
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: set ifaddr 
172.18.0.1/32
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: set server 
/var/run/pptp_ppp_%d  0700
Nov 16 18:14:18 server ppp[224]: tun3: Phase: Listening at local socket 
/var/run/pptp_ppp_3.
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: enable lqr
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: set lqrperiod 12
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: disable chap
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: deny chap
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: disable pap
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: disable passwdauth
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: disable deflate 
pred1
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: deny deflate pred1
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: enable utmp
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: enable mschapv2 
mppe
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: set mppe * 
stateless
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: disable proxy
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: accept dns
Nov 16 18:14:18 server ppp[224]: tun3: Command: pptpoutward: set dns dns1 dns2
Nov 16 18:14:18 server ppp[224]: tun3: Phase: PPP Started (direct mode).
Nov 16 18:14:18 server ppp[224]: tun3: Phase: bundle: Establish
Nov 16 18:14:18 server ppp[224]: tun3: Phase: deflink: closed -> opening
Nov 16 18:14:18 server ppp[224]: tun3: Phase: deflink: Connected!

Getting back my CCD Raid

2004-11-16 Thread Gerard Samuel
I had a ccd raid 0 drive setup under 4.10.
I did a fresh install of 5.3, with the thought, that I could just
reenable the settings for the ccd drive, to bring it back to life
with its data intact.
1.  Added "device  ccd" to the kernel and rebuilt it.
2.  Verified that the disklabels are intact for the drives ad0/ad2
# /dev/ad0:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 c: 534643200unused0 0 # "raw" part, 
don't edit
 e: 5346432004.2BSD0 0 0

# /dev/ad2:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 c: 534643200unused0 0 # "raw" part, 
don't edit
 e: 5346432004.2BSD0 0 0

3.  Ran "ccdconfig ccd0 32 0 /dev/ad0e /dev/ad2e"
4.  Ran "ccdconfig -g > /etc/ccd.conf"
5.  Try mounting the ccd with "mount /dev/ccd0c /storage" and I get
mount: /dev/ccd0c: No such file or directory
The device does exist ->
hivemind# ls -al /dev/ccd*
crw-r-  1 root  operator4,  49 Nov 16 19:16 /dev/ccd0
I even tried configuring the drive before mounting but ->
hivemind# ccdconfig -C
ccdconfig: Unit 0 already configured
or possibly kernel and ccdconfig out of sync
Could someone point out to me, what Im doing wrong?
Or is it even possible to achieve the results that Im looking for?
Should I be reconstructing the raid from scratch, deleting the data on them?
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installation Problems

2004-11-16 Thread FrostyPup
My husband purchased Free BSD. I believe it is version. 5.3. He installed  
the disks and then entered his username and password. Then when he needs to 
sign 
 in he again enters his username and password and nothing happens. He can't 
get  into the program. Do you have any information to help with this problem? I 
have  looked online but cannot find info to fix this problem. Thanks in 
advance for  your assistance.
 
Martha
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


TCP Inflight Debug

2004-11-16 Thread Fisch, Matthew
Im trying to debug slow tcp transfers on a 100mbit link with a large
variable bandwidth delay product. Can someone describe the meaning of
the inflight debugging output?

 

net.inet.tcp.inflight_debug: 1

 

0xca2702e0 bw 885887956 rttbest 10 srtt 7 bwnd 2217615

0xc8394170 bw 840998588 rttbest 10 srtt 7 bwnd 2105392

0xc836ab80 bw 842026536 rttbest 10 srtt 7 bwnd 2107962

0xca270a10 bw 232052 rttbest 84 srtt 109 bwnd 9657

0xc87fb450 bw 902405694 rttbest 10 srtt 7 bwnd 2258910

0xc8394170 bw 880116973 rttbest 10 srtt 11 bwnd 2753261

0xca270a10 bw 300922 rttbest 84 srtt 163 bwnd 14262

0xca27 bw 988204579 rttbest 12 srtt 11 bwnd 3399849

0xca270a10 bw 170910 rttbest 84 srtt 145 bwnd 8784

0xca270a10 bw 202413 rttbest 84 srtt 193 bwnd 11425

0xc8394a10 bw 983212216 rttbest 10 srtt 7 bwnd 2460926

0xca270a10 bw 179225 rttbest 84 srtt 127 bwnd 8576

0xca270a10 bw 150860 rttbest 84 srtt 132 bwnd 7787

0xc87fb2e0 bw 917529420 rttbest 11 srtt 11 bwnd 3156903

0xca270cf0 bw 969682982 rttbest 13 srtt 11 bwnd 3639207

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


Re: help

2004-11-16 Thread Giorgos Keramidas
On 2004-11-16 15:22, Aaron Carranza <[EMAIL PROTECTED]> wrote:
> I am trying to install the cvsup for 4.8, but when I do the pkg_add -r name
> of the file; it does not get the file in the main website.

Try this instead:

# pkg_add 
ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/cvsup-snap-16.1h.tar.gz

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


IRC recommendation?

2004-11-16 Thread Marty Landman
I'm looking for a free chat application that will work for my office 
network. Have 'nix and windoz machines running.

Thanks in advance,
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vinum problems

2004-11-16 Thread Greg 'groggy' Lehey
On Tuesday, 16 November 2004 at 18:51:38 +, Chris Smith wrote:
> Hi,
>
> I've just built a machine with a vinum root successfully.  All vinum
> sets show that they are up and working.  There are two ATA disks in a
> RAID1 root formation.
>
> Some questions?

How about some details first?  There's not much with the information
you supply.  


Read http://www.vinumvm.org/vinum/how-to-debug.html and send the
information asked for there.


Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpfS3pAtBCvQ.pgp
Description: PGP signature


Re: Stop in /usr/ports/graphics/ImageMagick

2004-11-16 Thread Svein Halvor Halvorsen

[John Cholewa, 2004-11-16]
>  > ===>   giFT-0.11.6 depends on shared library: Magick.6 - not found
>  > ===>Verifying install for Magick.6 in /usr/ports/graphics/ImageMagick
>  > ===>  ImageMagick-6.0.6.2 has known vulnerabilities:
>  > >> ImageMagick -- EXIF parser buffer overflow.
>  >Reference:
>  > 
> 
>  > >> Please update your ports tree and try again.
>  > *** Error code 1
:
>  Nothing relevant seems to be listed in /usr/ports/UPDATING.  Any suggestions?


If you really want to install the utility today, and ignore the 
vulnerability, you could define the environment variable 
DISABLE_VULNERABILITIES



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


Re: Question about nice

2004-11-16 Thread Svein Halvor Halvorsen

[David J. Weller-Fahy, 2004-11-16]
>  1. I understand nice is useful if you need to run a program at a certain
>  priority.  Is nice useful when not passing a priority?  If so, what is
>  the difference between the following two commands (in terms of priority
>  level)?
>  
>  nice isoqlog
>  isoqlog

According to the man page nice(1)

 The nice utility runs utility at an altered scheduling priority, by
 incrementing its ``nice'' value by the specified increment, or a default
 value of 10.  The lower the nice value of a process, the higher its
 scheduling priority.

If you don't specify tge priority level, then mice adds 10.


>  2. If it is useful to run nice without passing a priority, then are the
>  following two commands equivalent?  If not, which one would be preferred
>  and why?
>  
>  nice sudo isoqlog
>  sudo nice isoqlog

The former will run sudo nice, which in turn will make isoqlog run as 
root, with the priority level inherited. The latter will make sudo run 
nice as root, and in turn run isoqlog with priority 10, with the effective 
user inherited.

The obvoius difference, is that you let sudo run nice without a password, 
you could do "sudo nice " without a password.



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


general questions about FreeBSD

2004-11-16 Thread MIN RO
Hello, my name is Min Ro, and I'm writing an English paper on open source and 
its potential benefits to society (not anything too heavily in depth) Who may I 
contact to answer some questions about FreeBSD, its community, its influence, 
etc? Thank you for your time.

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


Re: xorg/xfree86

2004-11-16 Thread Geoff Glasson
Hi Dick,

I'm running Xorg on FreeBSD 4.10 and don't seem to be having any operational 
problems doing so.  I compiled Xorg from source.  The conversion from XFree 
to Xorg went smoothly, and in my case I got extra functionality from my 
graphics card that I couldn't get working with XFree so it was a bonus for 
me.

I do have problems when installing software from packages as most of the 
packages seem to have XFree as a requirement, but using pkg_add -f gets 
around that.  The installed packages all work as expected.  You may need to 
run pkgdb -F to fix up any dependency problems if you install from packages, 
but the Xorg and XFree package names are quite similar so it is not a big 
issue.

Regards...Geoff

> Message: 39
> Date: Tue, 16 Nov 2004 21:39:34 +0100
> From: dick hoogendijk <[EMAIL PROTECTED]>
> Subject: xorg/xfree86
> To: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=US-ASCII
>
> I run FreeBSD-4.10 and will remain to do so for some time. Now I read on
> the fbsd site the following text:
>
> /quote/
> As mentioned in a prior section, Xorg is the default implementation of
> the X Window System. The Ports Collection (as well as packages) rely on
> this change to satisfy dependencies. To convert the installed windowing
> system from XFree86 to Xorg, refer to the Installing X11 section in the
> FreeBSD Handbook.
> /endquote/
>
> Does this mean that compiling from source will be difficult on my 4.10
> machine which runs XFree86? I don't want to change to Xorg (yet).
>
> Are there things to do to keep on running 4.10 and ports for a while
> without a hassle?

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


Re: Portupgrade seg. fault

2004-11-16 Thread Tabor Kelly
Michael Shafae wrote:
Hi,
I have a FreeBSD 4.10-RELEASE-p2 system which I have installed  
portupgrade--20040701_3, ruby-1.8.2.p2_1, and ruby18-bdb1-0.2.2.

Previously upgrading ports were effortless with portupgrade. Today, I  
first CVSUP'ed the ports tree, read /usr/ports/CHANGES and ran `make  
index`. Then I tried to upgrade various ports and it all failed with  
portupgrade seg-faulting.

For example:
[188] [13:15]lou% sudo portupgrade tiff
[Failed `Inappropriate file type or format'] [Updating the portsdb  
 in /usr/ports ... - 11959 port entries found  
.1000.2000.3000.4000.5000... 
./usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation  
fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]

Abort (core dumped)
Check (http://tabor.taborandtashell.net/serversetup/ports.html), it is 
one of the three things addressed on this page.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PCMCIA Wireless Card Question

2004-11-16 Thread Andrew L. Gould
On Tuesday 16 November 2004 12:30 pm, Tom Connolly wrote:
> Hello List,
> I have just put FreeBSD 5.3 Release on my Dell Latitude C600 laptop. 
> I wish to go wireless but I'm new to this technology.  I have looked
> through the hardware compatibility notes and have found several
> supported wireless cards.  My question is, what do I have to do
> (ports to install, configuration, etc.) to get the wireless
> connection up and running.
>
> Any help would be appreciated.
>
> Thanks,
>
> Tom
>

Based on your email, I will assume that you purchased a compatible 
wireless adapter.

1. Make sure your pccard slots work in FreeBSD 5.3.  There's no use in 
struggling with the pccard if the slots don't work.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/laptop/x58.html


2. Make sure your kernel is configured for your hardware.  You may have 
to add devices to your kernel:

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


3. Configure your wireless connection:

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


Have fun,

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


Re: Ximian connector install fails

2004-11-16 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Danny Browne wrote:
| getting this error on ximian-connector installion on FreeBSD 4.10 i386
|
| (again not strictly a BSD question but everywere else draws a blank)
|
| /bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe  -Wall
- -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
 -Wno-sign-compare  -L/usr/local/lib -rpath /usr/X11R6/lib/evolution/2.0
- -o cptest  cptest.o test-utils.o libexchange.a ../xntlm/libxntlm.a
- -L/usr/X11R6/lib/evolution/2.0 -leutil -Wl,--export-dynamic -pthread
- -L/usr/local/lib -L/usr/X11R6/lib/evolution/2.0 -L/usr/X11R6/lib
- -lsoup-2.2 -lgnutls -lgcrypt -lgpg-error -leshell -lgnomeui-2 -lSM -lICE
- -lgal-2.2 -lgal-a11y-2.2 -lbonoboui-2 -lgnome-2 -lpopt -lgnomevfs-2
- -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0
- -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0
- -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lXrender -lXext
- -lfontconfig -lpangox-1.0 -lX11 -lart_lgpl_2 -lpango-1.0 -lgobject-2.0
- -lbonobo-2 -lbonobo-activation -lxml2 -lz -lgconf-2 -lORBit-2 -lm
- -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv   -L/usr/local/lib -lldap
- -llber  -L/usr/lib -lkrb5 -lc
|  rypt -lcrypto -lasn1 -lcom_err -lroken -lgssapi
| cc -O -pipe -Wall -Wmissing-prototypes -Wnested-externs
- -Wpointer-arith -Wno-sign-compare -Wno-sign-compare -o cptest cptest.o
test-utils.o -Wl,--export-dynamic  -L/usr/local/lib libexchange.a
../xntlm/libxntlm.a -L/usr/X11R6/lib/evolution/2.0 -leutil -pthread
- -L/usr/X11R6/lib -lsoup-2.2 /usr/local/lib/libgnutls.so -lgcrypt
/usr/local/lib/libgpg-error.so -lintl -leshell -lgnomeui-2 -lSM -lICE
- -lgal-2.2 -lgal-a11y-2.2 -lbonoboui-2 -lgnome-2 -lpopt -lgnomevfs-2
- -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0
- -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0
- -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft /usr/local/lib/libfreetype.so
- -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lart_lgpl_2
- -lpango-1.0 -lgobject-2.0 -lbonobo-2 -lbonobo-activation -lxml2 -lz
- -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv
- -lldap -llber -L/usr/lib -lkrb5 -lcrypt -lcrypto -lasn1 -lcom_err
- -lroken -lgssapi -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpat
|  h -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib/evolution/2.0
| /usr/X11R6/lib/libgnomeprint-2-2.so: warning: tmpnam() possibly used
unsafely; consider using mkstemp()
| /usr/X11R6/lib/evolution/2.0/libeutil.so: warning: mktemp() possibly
used unsafely; consider using mkstemp()
| libexchange.a(e2k-kerberos.o): In function `e2k_kerberos_change_password':
| e2k-kerberos.o(.text+0x220): undefined reference to
`krb5_free_data_contents'
| e2k-kerberos.o(.text+0x230): undefined reference to
`krb5_free_data_contents'
| gmake[3]: *** [cptest] Error 1
| gmake[3]: Leaving directory
`/usr/ports/mail/ximian-connector/work/ximian-connector-2.0.2/lib'
| gmake[2]: *** [all] Error 2
| gmake[2]: Leaving directory
`/usr/ports/mail/ximian-connector/work/ximian-connector-2.0.2/lib'
| gmake[1]: *** [all-recursive] Error 1
| gmake[1]: Leaving directory
`/usr/ports/mail/ximian-connector/work/ximian-connector-2.0.2'
| gmake: *** [all] Error 2
| *** Error code 2
|
| Stop in /usr/ports/mail/ximian-connector.
|
| found a bug report here;
| http://www.freebsd.org/cgi/query-pr.cgi?pr=73793
|
| says;
|
| "ximian-connector was only tested with the heimdal port on 4.X.  The base
| Kerberos was not tested and is not currently supported.  However, patches
| are welcome. "
|
| Any Ideas?
Update your ports tree.  The heimdal port should now be installed by
default (via a port dependency) on 4.X.
Joe
- --
PGP Key : http://www.marcuscom.com/pgp.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBmnVOb2iPiv4Uz4cRAlbkAJ4mukS9wDMUMrcgQuSLiiS9P5HXygCfWUQA
jhH78vtvxtwrJo3rGxLqMF0=
=nNrn
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portupgrade seg. fault

2004-11-16 Thread Kris Kennaway
On Tue, Nov 16, 2004 at 01:29:18PM -0800, Michael Shafae wrote:
> 
> Hi,
> 
> I have a FreeBSD 4.10-RELEASE-p2 system which I have installed  
> portupgrade--20040701_3, ruby-1.8.2.p2_1, and ruby18-bdb1-0.2.2.
> 
> Previously upgrading ports were effortless with portupgrade. Today, I  
> first CVSUP'ed the ports tree, read /usr/ports/CHANGES and ran `make  
> index`. Then I tried to upgrade various ports and it all failed with  
> portupgrade seg-faulting.
> 
> For example:
> [188] [13:15]lou% sudo portupgrade tiff
> [Failed `Inappropriate file type or format'] [Updating the portsdb  
>  in /usr/ports ... - 11959 port entries found  
> .1000.2000.3000.4000.5000... 
> ./usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation  
> fault
> ruby 1.8.2 (2004-07-29) [i386-freebsd4]
> 
> Abort (core dumped)
> 
> I'm at a loss at why portupgrade is seg faulting. Any ideas about how  
> to fix this would be greatly appreciated.
> 
> Michael
> 
> p.s. I'm not subscribed to this list so please cc me on any reply.

FAQ; see the archives.

Kris


pgpCPHLvcYKoI.pgp
Description: PGP signature


Portupgrade seg. fault

2004-11-16 Thread Michael Shafae
Hi,
I have a FreeBSD 4.10-RELEASE-p2 system which I have installed  
portupgrade--20040701_3, ruby-1.8.2.p2_1, and ruby18-bdb1-0.2.2.

Previously upgrading ports were effortless with portupgrade. Today, I  
first CVSUP'ed the ports tree, read /usr/ports/CHANGES and ran `make  
index`. Then I tried to upgrade various ports and it all failed with  
portupgrade seg-faulting.

For example:
[188] [13:15]lou% sudo portupgrade tiff
[Failed `Inappropriate file type or format'] [Updating the portsdb  
 in /usr/ports ... - 11959 port entries found  
.1000.2000.3000.4000.5000... 
./usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation  
fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]

Abort (core dumped)
I'm at a loss at why portupgrade is seg faulting. Any ideas about how  
to fix this would be greatly appreciated.

Michael
p.s. I'm not subscribed to this list so please cc me on any reply.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.3-RC2 tar breaks operation with "(null)"

2004-11-16 Thread Kris Kennaway
On Tue, Nov 16, 2004 at 07:53:15PM +, Andrew Sinclair wrote:
> Hi everybodi!
> 
>At work I use a Windows eXPensive machine to gather information and 
> maintain the web site. I needed to bring some files home and I didn't 
> have time to setup a proper archiver, so I used cygnus tar to pack them 
> uncompressed.
>I burned this tar dump onto a CD-RW. I didn't just pack everything 
> into Nero and let the Toliet^WJoliet file system take care of it because 
> neither Joliet or Rock Ridge allow files to use the same name even if 
> they are in different paths. Besides, there are file name size 
> limitations... I have not even started yet. don't make me.
>I'm using the new tar from 5.3-RC2 to read from the mounted CD-RW. 
> It seems to have a problem with null blocks, halfway through the archive 
> in my case. I got this in the output:
> 
> bash-2.05b$ tar -xvf /dvdrom/20041116.tgz
> ...
> x Ocean Care Day/OCD website/Website/OCD Photos/mec cam 
> pictures/000_0075.jpg
> x Ocean Care Day/OCD website/Website/OCD Photos/mec cam pictures/Thumbs.db
> x Ocean Care Day/OCD website/Website/OCD Photos/Presentation.ppt: (null)
> tar: (null)
> bash-2.05b$
> 
>I remembered that tar uses four blocks of 0x00 to indicate the end 
> of an archive on a sequential device, such as a tape, so I searched the 
> man page for an option to bypass it. No luck. Of all the problems people 
> have with defacto standard optical media, I had to run into a software 
> issue :-\
> 
>I might be able to get around it with another tar but surely the one 
> included should be able to work around this. Any ideas?

Try an updated version of bsdtar, either by updating to 5.3-STABLE or
installing the bsdtar port.  Alternatively, use gtar.

Kris


pgpDbYwhNMrw8.pgp
Description: PGP signature


Re: xorg/xfree86

2004-11-16 Thread Kris Kennaway
On Tue, Nov 16, 2004 at 03:54:24PM -0500, Joe Altman wrote:
> On Tue, Nov 16, 2004 at 09:46:01PM +0100, Erik Trulsson wrote:
> > 
> > For FreeBSD 4.10 XFree86 is still the default. (Xorg is the default on
> > FreeBSD 5.x) 
> 
> Are you sure about this? I was under the impression that XFree86 was
> deprecated, and Xorg preferred; further, that this translates into
> Xorg being the default.
> 
> See UPDATING in /usr/ports:
> 
> 20040723:
>   AFFECTS: users of FreeBSD-current, users of xorg
^

Kris

>   AUTHOR: [EMAIL PROTECTED]
> 
>   The XFREE86_VERSION variable is deprecated and has been replaced by
>   the X_WINDOW_SYSTEM variable. X_WINDOW_SYSTEM may be set to xorg,
>   xfree86-4, or xfree86-3.  X_WINDOW_SYSTEM defaults to xorg on
>   FreeBSD-current.
> 
> joe /usr/ports $: uname -a
> FreeBSD anna.chthonixia.net 4.10-STABLE FreeBSD 4.10-STABLE 
> #0: Wed Nov 10 09:25:25 EST 2004
> 
> -- 
> One million points of light shining on the new world-order model for
> fascism and tyranny. Get in line.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


pgpL0DNGMyAeP.pgp
Description: PGP signature


Ximian connector install fails

2004-11-16 Thread Danny Browne

getting this error on ximian-connector installion on FreeBSD 4.10 i386

(again not strictly a BSD question but everywere else draws a blank)

/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe  -Wall 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare  
-Wno-sign-compare  -L/usr/local/lib -rpath /usr/X11R6/lib/evolution/2.0 -o 
cptest  cptest.o test-utils.o libexchange.a ../xntlm/libxntlm.a 
-L/usr/X11R6/lib/evolution/2.0 -leutil -Wl,--export-dynamic -pthread 
-L/usr/local/lib -L/usr/X11R6/lib/evolution/2.0 -L/usr/X11R6/lib -lsoup-2.2 
-lgnutls -lgcrypt -lgpg-error -leshell -lgnomeui-2 -lSM -lICE -lgal-2.2 
-lgal-a11y-2.2 -lbonoboui-2 -lgnome-2 -lpopt -lgnomevfs-2 -lgnomecanvas-2 
-lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 
-lXrandr -lXi -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 
-lXft -lfreetype -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lart_lgpl_2 
-lpango-1.0 -lgobject-2.0 -lbonobo-2 -lbonobo-activation -lxml2 -lz -lgconf-2 
-lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv   -L/usr/local/lib 
-lldap -llber  -L/usr/lib -lkrb5 -lc
 rypt -lcrypto -lasn1 -lcom_err -lroken -lgssapi
cc -O -pipe -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wno-sign-compare -Wno-sign-compare -o cptest cptest.o test-utils.o 
-Wl,--export-dynamic  -L/usr/local/lib libexchange.a ../xntlm/libxntlm.a 
-L/usr/X11R6/lib/evolution/2.0 -leutil -pthread -L/usr/X11R6/lib -lsoup-2.2 
/usr/local/lib/libgnutls.so -lgcrypt /usr/local/lib/libgpg-error.so -lintl 
-leshell -lgnomeui-2 -lSM -lICE -lgal-2.2 -lgal-a11y-2.2 -lbonoboui-2 -lgnome-2 
-lpopt -lgnomevfs-2 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 
-lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0 
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft /usr/local/lib/libfreetype.so -lXrender 
-lXext -lfontconfig -lpangox-1.0 -lX11 -lart_lgpl_2 -lpango-1.0 -lgobject-2.0 
-lbonobo-2 -lbonobo-activation -lxml2 -lz -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 
-lgthread-2.0 -lglib-2.0 -liconv -lldap -llber -L/usr/lib -lkrb5 -lcrypt 
-lcrypto -lasn1 -lcom_err -lroken -lgssapi -Wl,--rpath -Wl,/usr/local/lib 
-Wl,--rpat
 h -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib/evolution/2.0
/usr/X11R6/lib/libgnomeprint-2-2.so: warning: tmpnam() possibly used unsafely; 
consider using mkstemp()
/usr/X11R6/lib/evolution/2.0/libeutil.so: warning: mktemp() possibly used 
unsafely; consider using mkstemp()
libexchange.a(e2k-kerberos.o): In function `e2k_kerberos_change_password':
e2k-kerberos.o(.text+0x220): undefined reference to `krb5_free_data_contents'
e2k-kerberos.o(.text+0x230): undefined reference to `krb5_free_data_contents'
gmake[3]: *** [cptest] Error 1
gmake[3]: Leaving directory 
`/usr/ports/mail/ximian-connector/work/ximian-connector-2.0.2/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/mail/ximian-connector/work/ximian-connector-2.0.2/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/mail/ximian-connector/work/ximian-connector-2.0.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/mail/ximian-connector.

found a bug report here;
http://www.freebsd.org/cgi/query-pr.cgi?pr=73793

says;

"ximian-connector was only tested with the heimdal port on 4.X.  The base 
Kerberos was not tested and is not currently supported.  However, patches 
are welcome. "

Any Ideas?


Danny Browne



_
Sign up for eircom broadband now and get a free two month trial.*
Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer


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


Re: What is preferred method to get new software on 4.10 stable?

2004-11-16 Thread Andy Firman
On Mon, Nov 15, 2004 at 10:43:09AM -0500, Ada Cheng wrote:
> Also don't forget to do a portsdb -Uu after you have cvsup and before 
> portupgrade.
> Cheers,
> On Mon, 15 Nov 2004, Svein Halvor Halvorsen wrote:
> >[Andy Firman, 2004-11-15]
> >> Or is there some mechanism to get .80 in from the ports?
> >Update your ports-tree using cvsup to get an up-to-date version.
> >You should then install portupgrade, if you don't allready have it.
> >Updating clamav from 0.75 to 0.80 should then be as easy as:
> ># portupgrade clamav
> >Remember to read /usr/ports/UPDATING after you've updated your ports-tree.

Good advice thanks.  Here is my actual process of doing this for other
people new to FreeBSD if they would like to do the same.

#cp /usr/share/examples/cvsup/ports-supfile .

(added proper mirror in the ports-supfile)

#cvsup -g -L 2 ports-supfile

Must have the portupgrade package in to run the portsdb command.
I could not run portsdb as it was not installed yet because
the portupgrade port was not installed.

#cd /usr/ports/sysutils/portupgrade  
#make install

#portsdb -Uu

read /usr/ports/UPDATING after you've updated your ports-tree
It is over 1,000 lines, but you can skim and look for software
that is on your system in case you upgrade that particular software.

#portupgrade clamav

Then you need to edit the new conf file as it's different.
Went from clamav.conf to clamd.conf...noticed that when 
skimming /usr/ports/UPDATING.

Note:
#portversion -l "<"
will provide you with a list of outdated installed ports/packages

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


Re: xorg/xfree86

2004-11-16 Thread Erik Trulsson
On Tue, Nov 16, 2004 at 03:54:24PM -0500, Joe Altman wrote:
> On Tue, Nov 16, 2004 at 09:46:01PM +0100, Erik Trulsson wrote:
> > 
> > For FreeBSD 4.10 XFree86 is still the default. (Xorg is the default on
> > FreeBSD 5.x) 
> 
> Are you sure about this? I was under the impression that XFree86 was
> deprecated, and Xorg preferred; further, that this translates into
> Xorg being the default.

Yes, I am sure.
>From  /usr/ports/Mk/bsd.port.mk (this is the code that actually sets
the default):

.if ${OSVERSION} >= 502123
X_WINDOW_SYSTEM ?= xorg
.elif (${OSVERSION} >= 450005 && !defined(XFREE86_VERSION)) || \
(defined(XFREE86_VERSION) && ${XFREE86_VERSION} == 4)
X_WINDOW_SYSTEM ?= xfree86-4
.else
X_WINDOW_SYSTEM ?= xfree86-3
.endif


The default is XFree86-4 for 4.x (except for early 4.x releases where
XFree86-3 is still the default.)
For 5.x the default is X.org.


> 
> See UPDATING in /usr/ports:
> 
> 20040723:
>   AFFECTS: users of FreeBSD-current, users of xorg
>   AUTHOR: [EMAIL PROTECTED]
> 
>   The XFREE86_VERSION variable is deprecated and has been replaced by
>   the X_WINDOW_SYSTEM variable. X_WINDOW_SYSTEM may be set to xorg,
>   xfree86-4, or xfree86-3.  X_WINDOW_SYSTEM defaults to xorg on
>   FreeBSD-current.

I have read this before. It does not in any way contradict what I said.


-- 

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


Re: xorg/xfree86

2004-11-16 Thread Joe Altman
On Tue, Nov 16, 2004 at 09:46:01PM +0100, Erik Trulsson wrote:
> 
> For FreeBSD 4.10 XFree86 is still the default. (Xorg is the default on
> FreeBSD 5.x) 

Are you sure about this? I was under the impression that XFree86 was
deprecated, and Xorg preferred; further, that this translates into
Xorg being the default.

See UPDATING in /usr/ports:

20040723:
  AFFECTS: users of FreeBSD-current, users of xorg
  AUTHOR: [EMAIL PROTECTED]

  The XFREE86_VERSION variable is deprecated and has been replaced by
  the X_WINDOW_SYSTEM variable. X_WINDOW_SYSTEM may be set to xorg,
  xfree86-4, or xfree86-3.  X_WINDOW_SYSTEM defaults to xorg on
  FreeBSD-current.

joe /usr/ports $: uname -a
FreeBSD anna.chthonixia.net 4.10-STABLE FreeBSD 4.10-STABLE 
#0: Wed Nov 10 09:25:25 EST 2004

-- 
One million points of light shining on the new world-order model for
fascism and tyranny. Get in line.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xorg/xfree86

2004-11-16 Thread Erik Trulsson
On Tue, Nov 16, 2004 at 09:39:34PM +0100, dick hoogendijk wrote:
> I run FreeBSD-4.10 and will remain to do so for some time. Now I read on
> the fbsd site the following text:
> 
> /quote/
> As mentioned in a prior section, Xorg is the default implementation of
> the X Window System. The Ports Collection (as well as packages) rely on
> this change to satisfy dependencies. To convert the installed windowing
> system from XFree86 to Xorg, refer to the Installing X11 section in the
> FreeBSD Handbook.
> /endquote/
> 
> Does this mean that compiling from source will be difficult on my 4.10
> machine which runs XFree86? I don't want to change to Xorg (yet).

For FreeBSD 4.10 XFree86 is still the default. (Xorg is the default on
FreeBSD 5.x)  If you are compiling from source via the ports system (as
opposed to using pre-compiled packages) it should work just fine with
either Xorg or XFree86. (If you want to use the non-default one you
will need to set X_WINDOW_SYSTEM in /etc/make.conf)

> 
> Are there things to do to keep on running 4.10 and ports for a while
> without a hassle?

No. Things should work fine without you needing to do anything special.


-- 

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


restore -- set owner/mode

2004-11-16 Thread Steve Bertrand
I had a head crash on a disk the other day, so I ``cloned'' the other
good one of the mirror onto a temp drive until my new disk arrives.

Doing a dump piped to restore, for each partition copied, it asked me
if I'd like to set owner/mode. There is no apparent way to do this
automatically, until I read this:

http://mail-index.netbsd.org/netbsd-bugs/2004/04/27/0014.html

Has this patch been introduced into anything above 4.10? If not, will
it be?

Are there any other workarounds that are known to work with FBSD?

Tks,

Steve

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


xorg/xfree86

2004-11-16 Thread dick hoogendijk
I run FreeBSD-4.10 and will remain to do so for some time. Now I read on
the fbsd site the following text:

/quote/
As mentioned in a prior section, Xorg is the default implementation of
the X Window System. The Ports Collection (as well as packages) rely on
this change to satisfy dependencies. To convert the installed windowing
system from XFree86 to Xorg, refer to the Installing X11 section in the
FreeBSD Handbook.
/endquote/

Does this mean that compiling from source will be difficult on my 4.10
machine which runs XFree86? I don't want to change to Xorg (yet).

Are there things to do to keep on running 4.10 and ports for a while
without a hassle?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Port-audit question

2004-11-16 Thread Kris Kennaway
On Tue, Nov 16, 2004 at 11:01:27AM -0600, Paul Schmehl wrote:
> Port-audit reports two ports that need to be updated, but portupgrade 
> doesn't offer an upgrade for them.  (I cvsup nightly.)
> 
> Is this because the ports haven't been updated yet?

Either that, or no-one has fixed the vulnerabilities yet.  Remember
that this kind of fix comes from the FreeBSD community, of which
you're one member.

Kris


pgpiULIjpVEHX.pgp
Description: PGP signature


Re: portupgrade open-motif doesn't work

2004-11-16 Thread Kris Kennaway
On Tue, Nov 16, 2004 at 04:45:03PM +0100, Webtech wrote:

> ===>  open-motif-2.2.3 has known vulnerabilities:
> >> xpm -- image decoding vulnerabilities.
>   Reference: 
> 
> >> Please update your ports tree and try again.
> *** Error code 1

What is the problem here?  You have instructed FreeBSD to avoid
installing ports for which there exist known security vulnerabilities,
and it duly refused to install such a port.  If you're asking when
this will be fixed, that's up to someone to a) fix the
vulnerabilities, and b) submit an update to the port.

Kris


pgpClYt2N1bTs.pgp
Description: PGP signature


Re: portupgrade problem

2004-11-16 Thread Kent Stewart
On Tuesday 16 November 2004 11:50 am, Brian W. wrote:
>   I've been having this problem for about a week now.  I've already
> deinstalled and reinstalled the ruby, rubybdb and portupgrade ports, what
> else can I look at?  The below process takes at least an hour, its a
> k62-450. The no such user problem doesn't occur until a lot of time has
> gone by.
>
> # portupgrade -aP
> Updating the ports index ... Generating INDEX.tmp - please wait..id: www:
> no such user
> "Makefile", line 21: warning: "/usr/bin/id -u www" returned non-zero status
>   Done.
> done
> [Updating the portsdb  in /usr/ports ... - 11959 port
> entries found
> .1000.2000.3000.4000.5000/u
>sr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation fault
> ruby 1.8.2 (2004-07-29) [i386-freebsd4]
>
> Abort (core dumped)
>

There is a bug in the hashing routine. It was fixed in the active branches, 
i.e., RELENG_5 and not RELEMG_5_2. For a machine of that speed, I would 
probably do a "make fetchindex". The last I read, it was bzip2'ed and is a 
600KB file. You would have to fetch it after every cvsup of ports-all. If it 
is bzip2'ed, you will have to uncompress it.

This has been anwered 100's of times. Other solutions can be found in the 
archives.

Kent
-- 
Kent Stewart
Richland, WA

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


Re: Stop in /usr/ports/graphics/ImageMagick

2004-11-16 Thread Kris Kennaway
On Tue, Nov 16, 2004 at 09:32:20AM -0500, John Cholewa wrote:
> >===>   giFT-0.11.6 depends on shared library: Magick.6 - not found
> >===>Verifying install for Magick.6 in /usr/ports/graphics/ImageMagick
> >===>  ImageMagick-6.0.6.2 has known vulnerabilities:
> >>> ImageMagick -- EXIF parser buffer overflow.
> >   Reference: 
> >
> >>> Please update your ports tree and try again.
> >*** Error code 1
> >
> >Stop in /usr/ports/graphics/ImageMagick.
> >*** Error code 1
> >
> >Stop in /usr/ports/net/gift.
> 
> 
> Aargh.  Over the past week or two, I've cvsupped several times, but I 
> keep getting this.
> 
> I'm using 5.2.1, and I've tried this using both "portinstall", 
> "portinstall -P" and "make" (while in both "/usr/ports/net/gift" and 
> "/usr/ports/graphics/ImageMagick").  And I've "make clean"ed beforehand.
> 
> Nothing relevant seems to be listed in /usr/ports/UPDATING.  Any 
> suggestions?

The port maintainer, or someone in the FreeBSD community needs to
submit an update to the port to update it to a non-vulnerable version.

Kris


pgppISLPVx7C2.pgp
Description: PGP signature


Re: MPSAFE - Warning

2004-11-16 Thread Kris Kennaway
On Mon, Nov 15, 2004 at 10:14:31PM -0800, Matthew T. Lager wrote:
> I too receive this error. I require the use of KAME IPSEC. Basiclly,
> services such as IPV6 and IPSEC require the kernel to be GIANT locked,
> which is incompatable with MPSAFE. 5.3 forces MPSAFE to 0 if the system is
> GIANT locked, hence the warning.
> 
> I backed down to 5.2.1 and ran IPSEC with no problems.

Just to be clear, there's no danger in running IPv6 or KAME IPSEC in
5.3, you just won't get any benefits from running it on a SMP machine
(neither will you in 5.2.1 or 4.x).

> I actually did
> experience many issues with my IPSEC tunnel in 5.3.

Any problems you observed are presumably orthogonal to the Giant-ness,
so you ideally should report them so they can be analyzed.

Kris

pgpz23uJJJ7gb.pgp
Description: PGP signature


Re: problems (re)compiling kdelibs3 on FBSD 5.3

2004-11-16 Thread Kris Kennaway
On Mon, Nov 15, 2004 at 01:15:52PM -0200, Luís Vitório Cargnini wrote:
> Hi i recompiling kdedlibs3 and this happened :
> gmake[3]: Entering directory
> `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kdecore'../dcop/dcopidl/dcopidl
> ./ksycoca.h > ksycoca.kidl || ( rm -f ksycoca.kidl ; false ) Fatal error
> 'Spinlock called when not threaded.' at line 83 in file
> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) Abort trap (core
> dumped) gmake[3]: *** [ksycoca.kidl] Error 1
> gmake[3]: Leaving directory 
> `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kdecore'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory 
> `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kdecore'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/x11/kdelibs3.
> 
> How to solve this kind of problem ?? What this mean ??

This is a FAQ; please consult the archives.

Kris


pgplCS6V3DK3A.pgp
Description: PGP signature


Do I need to worry about these logs?

2004-11-16 Thread Gerard Samuel
This is a fresh install of 5.3 from last week.
Granted the script-kiddies has been working to break in via ssh,
when I was running 4.10, I've never seen these types of logs before.
Any clues, would be appreciated.
Thanks.
-- snip of /var/logs/auth.log --
Nov 16 09:06:56 hivemind sshd[7611]: reverse mapping checking 
getaddrinfo for 203-150-17-44.inter.net.th failed - POSSIBLE BREAKIN 
ATTEMPT!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade problem

2004-11-16 Thread Brian W.
	I've been having this problem for about a week now.  I've already 
deinstalled and reinstalled the ruby, rubybdb and portupgrade ports, what else 
can I look at?  The below process takes at least an hour, its a k62-450. 
The no such user problem doesn't occur until a lot of time has gone by.

# portupgrade -aP
Updating the ports index ... Generating INDEX.tmp - please wait..id: www: no 
such user
"Makefile", line 21: warning: "/usr/bin/id -u www" returned non-zero status
 Done.
done
[Updating the portsdb  in /usr/ports ... - 11959 port 
entries found 
.1000.2000.3000.4000.5000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: 
[BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]

Abort (core dumped)

Brian
The path to a desireable destination is often more difficult than the path to 
stay where you are.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


device carp

2004-11-16 Thread Giuliano Cardozo Medalha
People,

"device carp" is available for CURRENT 

or its supposed to apply a patch on the kernel config file 

Thanks a lot,

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


Re: Parallel Port Printing Blues

2004-11-16 Thread Robert Marella
On Mon, 15 Nov 2004 23:01:33 -0800
Karl Agee <[EMAIL PROTECTED]> wrote:

> I have a Freebsd 4.10-stable system that I am having problems getting 
> parallel port printing to work on.
> 
> The printer is an old HP DeskJet 820C Winprinter 
> http://linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_820C that works 
> well on the same box in Linux-Mandrake 10.0 Official.
> 

Hello Karl

I have a HP DeskJet 890C working on 5.3 Stable. I found this howto to help the 
most.

http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html

I also execute  "lptcontrol -e -d /dev/lpt0" at boot with a shell located at 
/usr/local/etc/rc.d/

Good Luck

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


Re: Question about nice

2004-11-16 Thread David J. Weller-Fahy
* Dan Nelson <[EMAIL PROTECTED]> [2004-11-16 16:56 +0100]:
> In the last episode (Nov 16), David J. Weller-Fahy said:
> > If so, what is the difference between the following two commands (in
> > terms of priority level)?
> > nice isoqlog
> > isoqlog
>
> man nice:
> The nice utility runs utility at an altered scheduling priority,
> by incrementing its `nice'' value by the specified increment, or a
> default value of 10.

Doh!  I missed that in the man page.  Ok, I dug a little deeper and
found that the default priority is 0 (man setpriority, who would've
figured? :).  So, to answer my own question (with your prompting):
Prepending 'nice' to any command runs it at priority 10, without 'nice'
it would run at 0 (or 'normal').

Idle priorities range from 0 to 31, realtime from 0 to 31, and normal
priority is in between (and, according to setpriority, is also 0...
lots of zeros).

So it will make a difference.

> > nice sudo isoqlog
> > sudo nice isoqlog
> The first may take longer to execute on a busy machine, since sudo
> itself is running at a lower priority.  The 2nd may be a security
> hazard, depending on whether you allowed "nice isoqlog" or just "nice"
> (with any command) in your sudo config file.

I had decided not to allow 'nice' with any command, it's pleasant to see
that I was correct.  So using the first syntax for non-time-sensitive
programs would keep those from hogging the machines resources, correct?

Well, I think I've got it, now.  Thanks again for a pointer to the
obvious. ;]

Regards,
-- 
dave [ please don't CC me ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


"make world DESTDIR=/foo" still not working under 5.3-STABLE

2004-11-16 Thread Chad Leigh -- Shire.Net LLC
I can do
make buildworld
make installworld
without the DESTDIR and it works fine
but to build a jail I do
make world DESTDIR=/foo
and I still get the following problem (as do many others it appears).   
This is under 5.3-STABLE from cvsup on November 16

cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444  
netgraph/bluetooth/include/*.h   
/local/jails/master/usr/include/netgraph/bluetooth/include
install:  
/local/jails/master/usr/include/netgraph/bluetooth/include/ 
ng_bluetooth.h: No such file or directory
*** Error code 71

Stop in /usr/src/include.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
myhost#
Any help would be appreciated
thanks
Chad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vinum problems

2004-11-16 Thread Chris Smith
Hi,

I've just built a machine with a vinum root successfully.  All vinum
sets show that they are up and working.  There are two ATA disks in a
RAID1 root formation.

Some questions?

1. The set has just failed completely (sorry it isn't up and working
now) on the first reboot.  It is possible to bring the machine up from
the primary disk with no problems but any attempt to start the mirror
drive causes a panic with a "hardware error" although checking it with
bsdlabel shows the partition table is intact.  Any ideas?  the drive is
fine - i've pulled it and tested it and it's fine.  It's booting using
BootMgr.

I've killed it completely now by reloading the vinum config twice.  so
it's out of action permanently. 

I did make sure that there was enough space at the start of the disk for
the vinum info to survive.

2. Speed.  The vinum set is a "concat" disk.  The read performance was
really slow (visibly so).  Can you boot off a striped volume and will it
benefit me at all making it a striped volume at all rather than a
concat?  

hardware:

SIL3112 SATA RAID controller.
2x 80Gb Seagate barracuda ATA disks (ad4, ad6)
FreeBSD-5.3-STABLE

config:

cant provide this - it won't boot any more.

Any ideas?  Or any good resources on setting up a RAID1 root disk???

Cheers,

- Chris.

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


Re: How to make configuration changes without a reboot?

2004-11-16 Thread Jay O'Brien
Eric Kjeldergaard wrote:

>>I learned that in order to make changes to the screen saver,
>>I had to reboot the computer. Those changes, made by
>>sysinstall, appear in /etc/rc.conf.
>>
>>Is there a way to make such changes take effect without
>>rebooting?  (Version 5.3 RELEASE, i386)
> 
> 
> Of course there are.  Reboots are only really necessary for switching
> kernels.  Unfortunately, this often takes a bit more knowledge.  In
> the case of screensavers, a combination of kldload (to load the
> desired screensaver) and vidcontrol (to set timeouts and such).  man
> kldload and man vidcontrol should get you going on this.
> 

Eric, 
Thanks for the vidcontrol reference. I didn't realize that screensaver 
timeout was in vidcontrol; that will give me easy control of screensaver 
on/off when I want it.
Jay O'Brien

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


PCMCIA Wireless Card Question

2004-11-16 Thread Tom Connolly
Hello List,
I have just put FreeBSD 5.3 Release on my Dell Latitude C600 laptop.  I
wish to go wireless but I'm new to this technology.  I have looked
through the hardware compatibility notes and have found several
supported wireless cards.  My question is, what do I have to do (ports
to install, configuration, etc.) to get the wireless connection up and
running.
 
Any help would be appreciated.
 
Thanks,
 
Tom
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php4-extensions broken dependency

2004-11-16 Thread Matthew Seaman
On Tue, Nov 16, 2004 at 04:01:38PM +0100, Benjamin Thelen wrote:

> Matthew Seaman wrote:
> >On Tue, Nov 09, 2004 at 09:06:46AM -0500, dave wrote:

> >>   I've installed apache2 and mod_php4 and configured the extensions_dir
> >>setting in php.ini. I then went to install lang/php4-extensions, but one 
> >>of
> >>the extensions i selected is mcve, marked as broken. When i try to get
> >>around this the install detects my previous configuration choices. A make
> >>clean;make distclean does not solve this. Suggestions welcome.

> >See ports(7):
> >
> >
> ># make rmconfig 
> >
> >or
> >
> ># make configure

> I've stumbled across your answer regarding the manpage ports(7). I'm 
> running 4.10-RELEASE-p3. The target showconfig (didn't want to delete 
> my config) is working, but not docoumented in the manpage. I suppose 
> rmconfig would run as well and isn't documented, too. How is this? I 
> found these targets documented in the online manpage of 5.3-RELEASE 
> and Ports.

Hmmm... Well the ports(7) man page for 4.10-STABLE certainly covers
rmconfig and showconfig.  I'd have thought it would have been in there
for 4.10-RELEASE as well.

Cheers,

Matthew

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


pgpSCnGi6jZ6f.pgp
Description: PGP signature


Re: Exiscan+clamav

2004-11-16 Thread Daniel Bye
On Tue, Nov 16, 2004 at 11:17:13AM -0600, Adam M Ryan wrote:
> Thanks for all the replies.
> 
> Yes Clamd is running:
> 
> ps uaxww | grep clamav
> clamav   53191  0.0  1.6 10576 8128  ??  Is8:48AM   0:00.00
> /usr/local/sbin/clamd
> 
> 
> 
> I have also went ahead and changed the settings in clamd to log everything.
> Still not seeing anything in the clamd log.  Not sure what else I am
> missing?  I used clamscan on some test files and they seemed to get
> deteceted without issue.

Hmm.  Have you got the correct path to the clamd socket in your exim
config file?  This seems the most likely fault now, if clamscan is
running from the command line.

You can check using sockstat:

# sockstat -ul | grep clam
clamav   clamd  39547 4  stream /var/run/clamav/clamd

Exim's log files, under /var/log/exim, may be a good place to look for a 
bit more detail about what's borking it.

> Maybe a posting of your clamd.conf and exim.conf?

Sure.  Here is my clamd.conf (omitting all comment lines)

LogFile /var/log/clamav/clamd.log
LogTime
LogVerbose
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /usr/local/share/clamav
LocalSocket /var/run/clamav/clamd
FixStaleSocket
User clamav
AllowSupplementaryGroups
ScanMail
ArchiveMaxRecursion 8

And the salient bits of my exim config file:

av_scanner = clamd:/var/run/clamav/clamd

acl_check_content:
  deny  message = This message contains malware ($malware_name)
demime  = *
malware = *

The rest of the exim config is not relevant to this discussion.

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp1iTW5MvOr0.pgp
Description: PGP signature


Re: Parallel Port Printing Blues

2004-11-16 Thread Karl Agee

From: Anish Mistry <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: Karl Agee <[EMAIL PROTECTED]>
Subject: Re: Parallel Port Printing Blues
Date: Tue, 16 Nov 2004 04:18:04 -0500
On Tuesday 16 November 2004 02:01 am, Karl Agee wrote:
> I have a Freebsd 4.10-stable system that I am having problems getting
> parallel port printing to work on.
>
> The printer is an old HP DeskJet 820C Winprinter
> http://linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_820C that
> works well on the same box in Linux-Mandrake 10.0 Official.
>
> I have cups installed and running, have the ppd file from
> linuxprinting.org and can get onto the cups admin interface ok.  I have
> configured the printer using both cups and apsfilter.
>
I know that with pnm2ppa and a special filter I downloaded from somewhere
(might have been linuxprinting.org) that I got an 820C working on a 5.x
system a few months ago.  If I remember I'll grab the instructions from
that system when I can get to that system Friday.
--
Anish Mistry
Thanks Anish, I already have pnm2ppa installed.  I think it's more of a 
parallel port problem tho.

--Karl
_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


select call freeze

2004-11-16 Thread Kirill Mukhoyarov
Hi all !

Problem introduction:

1) FreeBSD 4.10-Stable
1) 2 file descriptors obtained from pipe() call [fd1,fd2]
2) 2 threads

Problem description:

One thread is receiver, after starting it do some user level tasks and
call select with fds operate with fd1.

fd_set fds;

FD_ZERO(&fds);
FD_SET(fd1, &fds);

select(FD_SETSIZE,&fds,NULL,NULL,NULL);

Another thread is sender, it do some user level operations, after that
call write with fd2 as argument.

write(fd2,(char*)buf,bufLen);

Select from first thread did not return control at all. If process
receive SIGINT - select unfreeze. Signal handlers are not redefined.

P.S. This problem found in shbuftest program - part of
ports/devel/libshbuf-0.0.2_1 port.

_
Kirill I. Mukhoyarov
B2B ITS Corp.   +380 44 4173322 
http://b2bits.com
admin+AT+btobits.com

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


NID_NOT_FOUND

2004-11-16 Thread George Vagner
i am getting an error on an older machine using 2 different 
HDD control cards on 5.3-R with 2 different hard disks
(have not tried other drives)

both disks are Seagate.
one is 160gb
other is 200gb

ad0: FAILURE - WRITE_DMA status=51 error=10 
LBA=268435455

this occurs under heavy usage mostly

Please read

http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg48398.html

is there a fix for this in -Stable ??


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


Re: Threaded Perl on 4.10-RELEASE

2004-11-16 Thread Paul Schmehl
--On Tuesday, November 16, 2004 12:30:01 PM -0500 Lowell Gilbert 
<[EMAIL PROTECTED]> wrote:
I don't believe so, but note that the perl port will *not* install
over the base system one; they will coexist on your system, and you
can switch back and forth.  [The port will install a script called
"use.perl" for this purpose.]
Note, however, that if you switch from one to the other (base to system or 
vice versa) you have to recompile all perl "apps" (CPAN modules, mod-perl, 
etc.)  If you have a lot of them, this takes some pre-planning.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Threaded Perl on 4.10-RELEASE

2004-11-16 Thread Lowell Gilbert
"Gustafson, Tim" <[EMAIL PROTECTED]> writes:

> Is there any way to turn on threaded Perl in the base system, instead of
> using the Perl port?  I need to use p5-Sendmail-Milter which requires
> threads, but I would rather not install the Perl port over the base Perl
> installation.  Is there any flag I can set in /etc/make.conf that will
> configure the base system to install a threaded Perl instead of a
> non-threaded one?

I don't believe so, but note that the perl port will *not* install
over the base system one; they will coexist on your system, and you
can switch back and forth.  [The port will install a script called
"use.perl" for this purpose.]

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


Re: Matrox Millenium MGA-2064W

2004-11-16 Thread Matthias Buelow
Igor Zbirka wrote:
when I do kldload mga.ko, it doesn't change anything (possibly it isn't for
this graphic card:)
the kernel module is only useful for agp cards.
mkb.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ALTQ

2004-11-16 Thread Lowell Gilbert
Giuliano Cardozo Medalha <[EMAIL PROTECTED]> writes:

> The GENERIC kernel does have support to ALTQ ?

It does not.

> There is some script that I can use to start the use of the function:
> rc.conf or load.conf ?

Yes, once you have altq loaded.

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


help

2004-11-16 Thread Aaron Carranza
I am trying to install the cvsup for 4.8, but when I do the pkg_add -r name
of the file; it does not get the file in the main website. What is the
variable to seek the file in other sites and download it when it is found. I
read the manual pages of Pkg_add (1) but I can't find the variable that does
the job. Please help me

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


Re: vortex86 cpu

2004-11-16 Thread Lowell Gilbert
"Andrew L. Neporada" <[EMAIL PROTECTED]> writes:

> Hi!
> 
> I am interested in purchasing Vortex-EB204 embedded system
> (see http://www.icoptech.com/products_detail.asp?ProductID=134)
> and installing FreeBSD on it.
> 
> I am little unsure about "Embedded Vortex86 166MHz System-on-Chip CPU".
> Is it supported by FreeBSD?

Those SOCs are supposed to be "486 or Pentium class", but they're not
actually 486s or Pentiums.  I've heard of a company in Finland that
was selling systems based on these chips and claiming they had tested
it with FreeBSD, but that might have taken some work.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Exiscan+clamav

2004-11-16 Thread Adam M Ryan
Thanks for all the replies.

Yes Clamd is running:

ps uaxww | grep clamav
clamav   53191  0.0  1.6 10576 8128  ??  Is8:48AM   0:00.00
/usr/local/sbin/clamd



I have also went ahead and changed the settings in clamd to log everything.
Still not seeing anything in the clamd log.  Not sure what else I am
missing?  I used clamscan on some test files and they seemed to get
deteceted without issue.


Any other help?

Maybe a posting of your clamd.conf and exim.conf?

Thanks

Adam



--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 15, 2004 at 08:20:31PM -0600, Adam M Ryan wrote:
> Right now I am using Exim 4.43 and clamav-0.80_1 both installed from port=
s.
> I am trying to get clamav to scan incoming email.  I have altered my exim
> configure file with the following:
>=20
> av_scanner=3Dclamd:/var/run/clamav/clamd
>=20
>=20
>=20
>deny message =3D This message contains malware ($malware_name)
> demime  =3D *
> malware =3D *

This is fine - exactly the settings I am using.

> I have also double checked everything in
> /usr/ports/mail/exim/files/POST-INSTALL-NOTES.clamd.
>=20
> But I still can't get my emailed scanned by clamav.

Someone else asked if clamd is really running.  Have you edited the
clamd conf file?  The first item in the file needs to commented out to
activate the config:

# Comment or remove the line below.
#Example

It may be useful to turn on LogVerbose in clamd.conf too - it will log
everything it scans, not just infected streams.  Once you are happy it
is working, you can disable LogVerbose to save your /var.

> Does anyone have a working configure file that they could post?

Your config is what is in the documentation and the default Exim
configure file anyway.

HTH

Dan

--=20
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBmddzhvzwOpChvo8RAq+AAJ0VvDnFznA0ev/6qAAKDrf3v8AfxQCg0/6D
0IPEYfZKxEXw4ewdpifbWUA=
=aIkv
-END PGP SIGNATURE-

--tThc/1wpZn/ma/RB--

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


Re: Finding options for ports

2004-11-16 Thread Jeff Hinrichs
Paul Schmehl wrote:
--On Monday, November 15, 2004 06:46:42 PM -0600 "Conrad J. Sabatier" 
<[EMAIL PROTECTED]> wrote:

This is a useless use of "cat".  You could accomplish the same thing
with:
grep WITH Makefile

When there are ten different ways to skin a cat, what makes one way 
inherently better than another?

less typing :)
-jeff
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.3.1 - Release Date: 11/15/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FFS vs. UFS vs. UFS2

2004-11-16 Thread Lowell Gilbert
"Loren M. Lang" <[EMAIL PROTECTED]> writes:

> FreeBSD's main file system is currently UFS2, but I've also heard
> reference to UFS and the Berkeley Fast File System(FFS).  Looking
> through the kernel source I've found directories for both ufs and ffs,
> but not ufs2 (/sys/ufs/{ufs|ffs}/).  Also, it seems like Solaris and/or
> other commercial unices also used ufs, is this the same ufs used in BSD
> and how does this relate to ffs and ufs2?

See the FAQ list for UFS2.
http://sixshooter.v6.thrupoint.net/jeroen/faq.html#UFS-DIFF-FFS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Finding options for ports

2004-11-16 Thread Lowell Gilbert
Paul Schmehl <[EMAIL PROTECTED]> writes:

> --On Monday, November 15, 2004 06:46:42 PM -0600 "Conrad J. Sabatier"
> <[EMAIL PROTECTED]> wrote:
> >
> > This is a useless use of "cat".  You could accomplish the same thing
> > with:
> >
> > grep WITH Makefile
> 
> When there are ten different ways to skin a cat, what makes one way
> inherently better than another?

Efficiency.
Using cat(1) spins off a subprocess.

http://sial.org/howto/shell/useless-cat/

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


Port-audit question

2004-11-16 Thread Paul Schmehl
Port-audit reports two ports that need to be updated, but portupgrade 
doesn't offer an upgrade for them.  (I cvsup nightly.)

Is this because the ports haven't been updated yet?
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Finding options for ports

2004-11-16 Thread Paul Schmehl
--On Monday, November 15, 2004 06:46:42 PM -0600 "Conrad J. Sabatier" 
<[EMAIL PROTECTED]> wrote:
This is a useless use of "cat".  You could accomplish the same thing
with:
grep WITH Makefile
When there are ten different ways to skin a cat, what makes one way 
inherently better than another?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPF+IPNAT and port redirection

2004-11-16 Thread Luciano Musacchio
Odhiambo,
it seems to me that 0/24 is not correct, dynamic inet address should be 
refferred as 0/32,

I would do something like this:
rdr  0.0.0.0/32 port 25 -> 10.0.0.2 port 25
map  from 10.0.0.0/24 ! to 10.0.0.0/24 -> 0/32 portmap tcp/udp auto
map  from 10.0.0.0/24 ! to 10.0.0.0/24 -> 0/32

its just an idea, im new to this too :), but see the negated rules, it allows 
you to make connections within the internal network, your way, all packets 
are send away to inet with an private ip destination and of course, the first 
router they find will drop it,

good luck


El Martes 16 Noviembre 2004 15:49, Odhiambo Washington escribió:
> I have a FreeBSD router box running IPF/IPNAT.
> With the advent of Viruses that have their own SMTP engines,
> I would like to capture any traffic going out from internal LAN
> to port 25 and redirect those to port 25 of my router.
> I believe this is the equivalent of "reverse port mapping", if
> I can call it that.
> How do I redirect this using ipnat?
> Right now I have the following in my /etc/ipnat.rules:
>
> map rl0 10.0.0.0/24 -> 0.0.0.0/32 portmap tcp/udp auto
> map rl0 10.0.0.0/24 -> 0.0.0.0/32
>
>  rl0 being my oif, and xl0 being iif.
>
> Given that my iip is 10.0.0.2, I would like to do this:
>
> rdr xl0 0.0.0.0/24 port 25 -> 10.0.0.2 port 25
>
> The problem is 10.0.0.2 is a subset of 0.0.0.0/24. Shall I redirect then
> to the external IP instead?
>
> I am damn confused with these IPNAT stuff ;)
>
>
>
> -Wash
>
> http://www.netmeister.org/news/learn2quote.html
>
> --
> +==+
>
> |\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
>
> Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
>
>|,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
>
>   '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
> +==+
> The fact that it works is immaterial.
>   -- L. Ogborn
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade open-motif doesn't work

2004-11-16 Thread Karel J. Bosschaart
On Tue, Nov 16, 2004 at 04:45:03PM +0100, Webtech wrote:
> Hi,
> 
> I need to upgrade open-motif from 2.2.2_2 to 2.2.3 but when I make the 
> upgrade, I've got :
> 
> zzz# portupgrade -ri open-motif-2.2.2_2
> --->  Session started at: Tue, 16 Nov 2004 16:40:18 +0100
> --->  Upgrade of x11-toolkits/open-motif started at: Tue, 16 Nov 2004 
> 16:40:22 +0100
> --->  Upgrading 'open-motif-2.2.2_2' to 'open-motif-2.2.3' 
> (x11-toolkits/open-motif)
> OK? [yes] yes
> --->  Build of x11-toolkits/open-motif started at: Tue, 16 Nov 2004 
> 16:40:23 +0100
> --->  Building '/usr/ports/x11-toolkits/open-motif'
> ===>  Cleaning for libiconv-1.9.2_1
> ===>  Cleaning for gettext-0.13.1_1
> ===>  Cleaning for gmake-3.80_2
> ===>  Cleaning for imake-4.4.0
> ===>  Cleaning for libtool-1.3.5_2
> ===>  Cleaning for libtool-1.5.10
> ===>  Cleaning for pkgconfig-0.15.0_1
> ===>  Cleaning for freetype2-2.1.7_3
> ===>  Cleaning for expat-1.95.8
> ===>  Cleaning for fontconfig-2.2.3,1
> ===>  Cleaning for XFree86-libraries-4.4.0_2
> ===>  Cleaning for open-motif-2.2.3
> ===>  open-motif-2.2.3 has known vulnerabilities:
> >> xpm -- image decoding vulnerabilities.
>   Reference: 
> 
> >> Please update your ports tree and try again.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/open-motif.
> ** Command failed [exit code 1]: /usr/bin/script -qa 
> /tmp/portupgrade26568.0 make
> ** Fix the problem and try again.
> --->  Build of x11-toolkits/open-motif ended at: Tue, 16 Nov 2004 
> 16:40:27 +0100 (consumed 00:00:04)
> --->  Upgrade of x11-toolkits/open-motif ended at: Tue, 16 Nov 2004 
> 16:40:27 +0100 (consumed 00:00:05)
> --->  Skipping 'graphics/xpdf' (xpdf-3.00_4) because a requisite package 
> 'open-motif-2.2.2_2' (x11-toolkits/open-motif) failed (specify -k to force)
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
>! x11-toolkits/open-motif (open-motif-2.2.2_2)  (unknown build 
> error)
>* graphics/xpdf (xpdf-3.00_4)
> --->  Packages processed: 0 done, 0 ignored, 1 skipped and 1 failed
> --->  Session ended at: Tue, 16 Nov 2004 16:40:27 +0100 (consumed 00:00:09)
> 
> Any Ideas ?

You can ignore the vulnerability by setting DISABLE_VULNERABILITIES in
your build environment (ie. 'setenv DISABLE_VULNERABILITIES="YES"' for
tcsh). However, check the reference url given above and decide if it is 
acceptable for you to install this software.

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


Re: Stop in /usr/ports/graphics/ImageMagick

2004-11-16 Thread Michael C. Shultz
On Tuesday 16 November 2004 06:32 am, John Cholewa wrote:
> > ===>   giFT-0.11.6 depends on shared library: Magick.6 - not found
> > ===>Verifying install for Magick.6 in
> > /usr/ports/graphics/ImageMagick
> >
> > ===>  ImageMagick-6.0.6.2 has known vulnerabilities:
> > >> ImageMagick -- EXIF parser buffer overflow.
> >
> >Reference:
> >  >1020eed82.html>
> >
> > >> Please update your ports tree and try again.
> >
> > *** Error code 1
> >
> > Stop in /usr/ports/graphics/ImageMagick.
> > *** Error code 1
> >
> > Stop in /usr/ports/net/gift.
>
> Aargh.  Over the past week or two, I've cvsupped several times, but I
> keep getting this.
>
> I'm using 5.2.1, and I've tried this using both "portinstall",
> "portinstall -P" and "make" (while in both "/usr/ports/net/gift" and
> "/usr/ports/graphics/ImageMagick").  And I've "make clean"ed
> beforehand.
>
> Nothing relevant seems to be listed in /usr/ports/UPDATING.  Any
> suggestions?
>
Have you tried updating your ports using sysutils/portmanager or 
sysutils portupgrade yet?

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


Re: Question about page faults and swap space

2004-11-16 Thread Jerry McAllister
> 
> On Tue, Nov 16, 2004 at 10:14:11AM -0600, Dan Nelson wrote:
> : Accesses to executable images or mmaped files will cause page faults.
> : They'll show up as vnode pageins as opposed to swap pageins in "vmstat
> : -s" or "systat -v".
> 
> Ah, yes.  I think I remember now.  You don't actually 'load' all of an
> executable, you just map it to memory, and when an address is accessed the
> first time, it generates a page fault to bring it in, right?
> 

Close enough.

jerry

> jm
> --
> My other computer is your Windows box.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


RE: Mysterious freeze while booting

2004-11-16 Thread Andreas Davour
On Tue, 16 Nov 2004, Subhro wrote:
On Tue, 16 Nov 2004, Subhro wrote:
/etc/hosts basically serves as a backup for cases where the DNS does 
not
work. Seems to me as if sshd is crating the seem to hang up as it can't
get
the box hostname resolved properly.
Sshd? It shouldn't even be running! I guess I'll have to see if it is...
I also forgot to mention sendmail.
Sendmail sounds like a likelier candidate. I had forgotten about it. 
I'll have to follow that trail. Thanks!

/andreas
--
George W. Bush won, so now the world will endure four more years of
idiocy, arrogance and unwarranted bloodshed. Congratulation USA!
I'm happy I'm not a part of it. My conscience is clean. Is yours?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problems (re)compiling kdelibs3 on FBSD 5.3

2004-11-16 Thread =?unknown-8bit?q?Lu=EDs_Vit=F3rio?= Cargnini
Hi i recompiling kdedlibs3 and this happened :
gmake[3]: Entering directory
`/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kdecore'../dcop/dcopidl/dcopidl
./ksycoca.h > ksycoca.kidl || ( rm -f ksycoca.kidl ; false ) Fatal error
'Spinlock called when not threaded.' at line 83 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) Abort trap (core
dumped) gmake[3]: *** [ksycoca.kidl] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kdecore'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kdecore'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdelibs3.

How to solve this kind of problem ?? What this mean ??
-- 
Thanks && Regards
Luís Vitório Cargnini
Computer Science Bachelor
OpenCores Member 
EuropeSwPatentFree 


pgpipuo7gscEm.pgp
Description: PGP signature


Re: MajorDomo List Server Web Interface

2004-11-16 Thread Adam Smith
On Tue, Nov 16, 2004 at 11:39:17AM -, Gordon McKee said:
> Hi
> 
> A little off topic, but does anyone know of a program to make majordomo lists 
> available via a web interface.  I have found one or two but they don't seem 
> to be developed anymore.  Any as far as I can tell majorcool is more 
> management than viewing

Sorry, didn't read your subject properly.  Mhonarc is for list archives.
If you want web-based subscription etc, switch to Mailman.

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


Re: MajorDomo List Server Web Interface

2004-11-16 Thread Adam Smith
On Tue, Nov 16, 2004 at 11:39:17AM -, Gordon McKee said:
> Hi
> 
> A little off topic, but does anyone know of a program to make majordomo
> lists available via a web interface.  I have found one or two but they
> don't seem to be developed anymore.  Any as far as I can tell majorcool
> is more management than viewing

Mhonarc.


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


Re: How to make configuration changes without a reboot?

2004-11-16 Thread Eric Kjeldergaard
> I learned that in order to make changes to the screen saver,
> I had to reboot the computer. Those changes, made by
> sysinstall, appear in /etc/rc.conf.
> 
> Is there a way to make such changes take effect without
> rebooting?  (Version 5.3 RELEASE, i386)

Of course there are.  Reboots are only really necessary for switching
kernels.  Unfortunately, this often takes a bit more knowledge.  In
the case of screensavers, a combination of kldload (to load the
desired screensaver) and vidcontrol (to set timeouts and such).  man
kldload and man vidcontrol should get you going on this.

-- 
If I write a signature, my emails will appear more personalised.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ATI 9600 Support

2004-11-16 Thread Eric Kjeldergaard
> I have a radeon 9600 and have been trying to get it working in
> dual-head mode.  Someone linked me to a screen-shot that showed an
> ATI control panel with a dual-head tab.  Is there any chance someone
> could link me to a site that provides said application.  I've
> searched google and the ATI website and have come up empty

I don't know anything about getting an ATI Control Panel up and
running, but as for dual-head, it can be done out-of-the-box for
radeons using xorg or xfree86.  You simply copy the relevant device,
monitor, and screen sections giving each a unique name.  I recommend
Identifier "Screen1" and Identifier "Screen2" for the screens, the
same with monitor section and device section.  Then in each device
section you give it a Screen line like Screen 0 and Screen 1.  Then
the only real tricky part is that in the ServerLayout section you'll
need something like this:

  Screen 0 "Screen1" 0 0
  Screen 1 "Screen2" LeftOf "Screen1"

One thing that you /may/ have to do (I've had it work both ways at
different times) is put in an option (I can't remember what it's
called offhand, but man radeon would tell you) that requires values
like CRT, CRT or something like that.  I'm sure the man pages are
better with the syntax than I am :p  Good luck.

-- 
If I write a signature, my emails will appear more personalised.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question about page faults and swap space

2004-11-16 Thread Jonathon McKitrick
On Tue, Nov 16, 2004 at 10:14:11AM -0600, Dan Nelson wrote:
: Accesses to executable images or mmaped files will cause page faults.
: They'll show up as vnode pageins as opposed to swap pageins in "vmstat
: -s" or "systat -v".

Ah, yes.  I think I remember now.  You don't actually 'load' all of an
executable, you just map it to memory, and when an address is accessed the
first time, it generates a page fault to bring it in, right?



jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question about page faults and swap space

2004-11-16 Thread Dan Nelson
In the last episode (Nov 16), Jonathon McKitrick said:
> This is probably a dumb question, but it's been a long time since my
> OS theory classes.  ;-)
> 
> How can I get a page fault if swap space is never used?  Why would
> anything be swapped out and yet not appear as usage on the swap
> partition, since that never goes away once used?

Accesses to executable images or mmaped files will cause page faults.
They'll show up as vnode pageins as opposed to swap pageins in "vmstat
-s" or "systat -v".

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


Re: internal US Robotics 56k modem

2004-11-16 Thread Kevin D. Kinsey, DaleCo, S.P.
Richard wrote:
What is the procedure for setting up an internal modem in
 

shell  (sio1 moved to sio4) and configuring under GNOME.
The modem itself is recognised when booting.
   

Thx, Richard
 

I'm not sure if I understand the question.  If you want
to use the modem, check out the handbook section on
ppp (I believe it's chapter 21).  I'd call it "required
reading" IMHO.
I use the same procedure for both terminal and GNOME,
with the difference being, of course, the actual
interface. 

For terminal, I have a shell alias to dial the ppp
connection:
alias dial 'ppp -nat -background myisp'
   in GNOME, I have a panel icon which calls the same
command.
Kevin Kinsey
   

[EMAIL PROTECTED] wrote:
 I did check the handbook, however it doesn't handle the
situation where

I can't get dial tone.
 

I think it may handle that situation, but I'm not
absolutely certain.
Check:
http://www.freebsd.org/handbook/kernelconfig-config.html
About 60% down the page, a note explains what you must
do.  Search for:
"If you have an internal modem on COM4 and a serial port at COM2,"
HTH,
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mysterious freeze while booting

2004-11-16 Thread Subhro



-Original Message-
From: Andreas Davour [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 21:15
To: Subhro
Cc: [EMAIL PROTECTED]
Subject: RE: Mysterious freeze while booting

On Tue, 16 Nov 2004, Subhro wrote:

> /etc/hosts basically serves as a backup for cases where the DNS does not
> work. Seems to me as if sshd is crating the seem to hang up as it can't
get
> the box hostname resolved properly.

Sshd? It shouldn't even be running! I guess I'll have to see if it is...

I also forgot to mention sendmail.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Question about page faults and swap space

2004-11-16 Thread Jonathon McKitrick

This is probably a dumb question, but it's been a long time since my OS
theory classes.  ;-)

How can I get a page fault if swap space is never used?  Why would anything
be swapped out and yet not appear as usage on the swap partition, since that
never goes away once used?

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


Re: Question about nice

2004-11-16 Thread Dan Nelson
In the last episode (Nov 16), David J. Weller-Fahy said:
> I've set a very few commands as NOPASSWD in sudo, and run them from
> my normal user's crontab.  I've seen some examples of crontab's that
> use nice, but none that use sudo and nice.  That led me to a few
> questions. All paths have been stripped stripped - sudo and isoqlog
> are in
> /usr/local/bin, nice is in /usr/bin.
> 
> 1. I understand nice is useful if you need to run a program at a
> certain priority.  Is nice useful when not passing a priority?  If
> so, what is the difference between the following two commands (in
> terms of priority level)?
> 
> nice isoqlog
> isoqlog

man nice: 

The nice utility runs utility at an altered scheduling priority, by
incrementing its `nice'' value by the specified increment, or a
default value of 10.
 
> 2. If it is useful to run nice without passing a priority, then are
> the following two commands equivalent?  If not, which one would be
> preferred and why?
> 
> nice sudo isoqlog
> sudo nice isoqlog
> 
> I've been reading a bit, but haven't found a definite answer yet.  My
> feeling is that the answer to number one (first portion) is no, and
> thus the answer to number 2 (first portion) is no.  I'd be happy to be
> proven wrong, though. ;]

The first may take longer to execute on a busy machine, since sudo
itself is running at a lower priority.  The 2nd may be a security
hazard, depending on whether you allowed "nice isoqlog" or just "nice"
(with any command) in your sudo config file.

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


IPF+IPNAT and port redirection

2004-11-16 Thread Odhiambo Washington
I have a FreeBSD router box running IPF/IPNAT.
With the advent of Viruses that have their own SMTP engines,
I would like to capture any traffic going out from internal LAN
to port 25 and redirect those to port 25 of my router.
I believe this is the equivalent of "reverse port mapping", if
I can call it that. 
How do I redirect this using ipnat?
Right now I have the following in my /etc/ipnat.rules:

map rl0 10.0.0.0/24 -> 0.0.0.0/32 portmap tcp/udp auto
map rl0 10.0.0.0/24 -> 0.0.0.0/32

 rl0 being my oif, and xl0 being iif.

Given that my iip is 10.0.0.2, I would like to do this:

rdr xl0 0.0.0.0/24 port 25 -> 10.0.0.2 port 25

The problem is 10.0.0.2 is a subset of 0.0.0.0/24. Shall I redirect then
to the external IP instead?

I am damn confused with these IPNAT stuff ;)



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
The fact that it works is immaterial.
-- L. Ogborn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mysterious freeze while booting

2004-11-16 Thread Andreas Davour
On Tue, 16 Nov 2004, Subhro wrote:
/etc/hosts basically serves as a backup for cases where the DNS does not
work. Seems to me as if sshd is crating the seem to hang up as it can't get
the box hostname resolved properly.
Sshd? It shouldn't even be running! I guess I'll have to see if it is...
/andreas
--
George W. Bush won, so now the world will endure four more years of
idiocy, arrogance and unwarranted bloodshed. Congratulation USA!
I'm happy I'm not a part of it. My conscience is clean. Is yours?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade open-motif doesn't work

2004-11-16 Thread Webtech
Hi,
I need to upgrade open-motif from 2.2.2_2 to 2.2.3 but when I make the 
upgrade, I've got :

zzz# portupgrade -ri open-motif-2.2.2_2
--->  Session started at: Tue, 16 Nov 2004 16:40:18 +0100
--->  Upgrade of x11-toolkits/open-motif started at: Tue, 16 Nov 2004 
16:40:22 +0100
--->  Upgrading 'open-motif-2.2.2_2' to 'open-motif-2.2.3' 
(x11-toolkits/open-motif)
OK? [yes] yes
--->  Build of x11-toolkits/open-motif started at: Tue, 16 Nov 2004 
16:40:23 +0100
--->  Building '/usr/ports/x11-toolkits/open-motif'
===>  Cleaning for libiconv-1.9.2_1
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for gmake-3.80_2
===>  Cleaning for imake-4.4.0
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for libtool-1.5.10
===>  Cleaning for pkgconfig-0.15.0_1
===>  Cleaning for freetype2-2.1.7_3
===>  Cleaning for expat-1.95.8
===>  Cleaning for fontconfig-2.2.3,1
===>  Cleaning for XFree86-libraries-4.4.0_2
===>  Cleaning for open-motif-2.2.3
===>  open-motif-2.2.3 has known vulnerabilities:
>> xpm -- image decoding vulnerabilities.
  Reference: 

>> Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/x11-toolkits/open-motif.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade26568.0 make
** Fix the problem and try again.
--->  Build of x11-toolkits/open-motif ended at: Tue, 16 Nov 2004 
16:40:27 +0100 (consumed 00:00:04)
--->  Upgrade of x11-toolkits/open-motif ended at: Tue, 16 Nov 2004 
16:40:27 +0100 (consumed 00:00:05)
--->  Skipping 'graphics/xpdf' (xpdf-3.00_4) because a requisite package 
'open-motif-2.2.2_2' (x11-toolkits/open-motif) failed (specify -k to force)
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
   ! x11-toolkits/open-motif (open-motif-2.2.2_2)  (unknown build 
error)
   * graphics/xpdf (xpdf-3.00_4)
--->  Packages processed: 0 done, 0 ignored, 1 skipped and 1 failed
--->  Session ended at: Tue, 16 Nov 2004 16:40:27 +0100 (consumed 00:00:09)

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


RE: Mysterious freeze while booting

2004-11-16 Thread Subhro
Hi,

-Original Message-
From: Andreas Davour [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 20:58
To: Subhro
Cc: [EMAIL PROTECTED]
Subject: RE: Mysterious freeze while booting



Why would adding the hostname work? What is it that's fooling around 
with my hostname at this point in the boot process?

/etc/hosts basically serves as a backup for cases where the DNS does not
work. Seems to me as if sshd is crating the seem to hang up as it can't get
the box hostname resolved properly.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


vr0: rx packet lost

2004-11-16 Thread Sebastian Holmqvist
I get vr0: rx packet lost when I transfer files.
I did not get these signals when I ran other networks-cards using ed and rl.

I've tested the sdram with memtest86+.
-- 

Sebastian Holmqvist
Webprogrammer / HL2 modder
http://cae.hl2files.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mysterious freeze while booting

2004-11-16 Thread Andreas Davour
On Tue, 16 Nov 2004, Subhro wrote:
When booting the console displays the usual messages like below:
1> Starting local daemons:.
2> Updating motd.
3> Configuring syscons: keymap blanktime.
What is strange is that after line 3 the computer suddenly stops for a
long time, almost a minute, doing (as far as I know) nothing!
Add your system hostname to /etc/hosts. Alternatively ensure that DNS
resolves properly on your box. If you just want to skip the whole thing,
then press Ctrl+C when the box hangs up or seems to hang up.
I have added my hostname, and it didn't change anything. Maybe my DNS 
name is something else than what I think. I'll look into it.

Why would adding the hostname work? What is it that's fooling around 
with my hostname at this point in the boot process?

/andreas
--
George W. Bush won, so now the world will endure four more years of
idiocy, arrogance and unwarranted bloodshed. Congratulation USA!
I'm happy I'm not a part of it. My conscience is clean. Is yours?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mysterious freeze while booting

2004-11-16 Thread Subhro
Hi,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas Davour
Sent: Tuesday, November 16, 2004 20:38
To: [EMAIL PROTECTED]
Subject: Mysterious freeze while booting


I have this odd behaviour from both my 5.2 and my 5.3 installations. 
GENERIC or my own.

When booting the console displays the usual messages like below:

1> Starting local daemons:.
2> Updating motd.
3> Configuring syscons: keymap blanktime.
4> Initial i386 initialization:.
5> Additional ABI support: linux.
6> Starting cron.

What is strange is that after line 3 the computer suddenly stops for a 
long time, almost a minute, doing (as far as I know) nothing!

Add your system hostname to /etc/hosts. Alternatively ensure that DNS
resolves properly on your box. If you just want to skip the whole thing,
then press Ctrl+C when the box hangs up or seems to hang up.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: Problems compiling sample OpenGL apps .

2004-11-16 Thread John Murphy
Karel Miklav wrote:
>Anybody here doing OpenGL development on FreeBSD? I need a 3D engine and 
>there's nothing in the Ports. It looks like I'll have to port Irrlicht 
>or Ogre, if none comes with a better idea :)

IANAD but there's a game called cube in the ports which seems to use
a good 3D engine that may interest you.  http://wouter.fov120.com/cube/

There's also an engine based on the one cube uses called Sauerbraten,
but it's not a FreeBSD port yet.

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


Mysterious freeze while booting

2004-11-16 Thread Andreas Davour
I have this odd behaviour from both my 5.2 and my 5.3 installations. 
GENERIC or my own.

When booting the console displays the usual messages like below:
1> Starting local daemons:.
2> Updating motd.
3> Configuring syscons: keymap blanktime.
4> Initial i386 initialization:.
5> Additional ABI support: linux.
6> Starting cron.
What is strange is that after line 3 the computer suddenly stops for a 
long time, almost a minute, doing (as far as I know) nothing!

Then the following lines 4,5,6 flow forth and the systems boot like it 
should.

I have examined the Handbook, and I have checked the scripts that 
produce this output and I don't understand what's happening. I also 
tried to run the process step-by-step by hand from single-user mode and 
it never showed that odd "sleep" period.

Anyone have a clue?
/Andreas
--
George W. Bush won, so now the world will endure four more years of
idiocy, arrogance and unwarranted bloodshed. Congratulation USA!
I'm happy I'm not a part of it. My conscience is clean. Is yours?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kldload help please

2004-11-16 Thread Gert Cuykens
asus sk8n and the sound chip on the board is Realtek ALC650 who i read
that normaly works fine on freebsd. But i dont know wich driver that
is.


On Tue, 16 Nov 2004 08:00:33 -0600, Donald J. O'Neill
<[EMAIL PROTECTED]> wrote:
> On Tuesday 16 November 2004 12:38 am, Gert Cuykens wrote:
> 
> 
> > On Sun, 14 Nov 2004 11:01:29 +0100, Kjell Midtseter
> >
> > <[EMAIL PROTECTED]> wrote:
> > > On Sunday, 14 November 2004 at  2:46:17 +0100, Gert Cuykens
> wrote:
> > > > 7rxI# kldload snd_driver.ko
> > >
> > > Did you try kldload snd_driver
> > > (without the .so extension?)
> > > Kjell
> > >
> > > > kldload: can't load snd_driver.ko: Exec format error
> > > > 7rxI#
> >
> > doesnt work either
> > ___
> 
> Hello Gert,
> 
> A funny thought occurred to me: just what is Gert using? I went back
> and checked for posts from you, and surprise - I found mention of
> amd64 and FreeBSD 5.3 beta7.
> 
> Just what are you using?
> 
> Don
> 
> --
> Donald J. O'Neill
> [EMAIL PROTECTED]
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php4-extensions broken dependency

2004-11-16 Thread Benjamin Thelen

Matthew Seaman wrote:
On Tue, Nov 09, 2004 at 09:06:46AM -0500, dave wrote:

   I've installed apache2 and mod_php4 and configured the extensions_dir
setting in php.ini. I then went to install lang/php4-extensions, but one of
the extensions i selected is mcve, marked as broken. When i try to get
around this the install detects my previous configuration choices. A make
clean;make distclean does not solve this. Suggestions welcome.

See ports(7):
# make rmconfig 

or
# make configure
Cheers,
Matthew

I've stumbled across your answer regarding the manpage ports(7). I'm 
running 4.10-RELEASE-p3. The target showconfig (didn't want to delete 
my config) is working, but not docoumented in the manpage. I suppose 
rmconfig would run as well and isn't documented, too. How is this? I 
found these targets documented in the online manpage of 5.3-RELEASE 
and Ports.

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


  1   2   >