Re: Sendmail what is the new version number?

2003-06-17 Thread Chuck Swiger
DanB wrote:
 Running this now ESMTP Sendmail 8.8.8/8.8.8; Mon, 16 Jun 2003 22:40:11
-0700 (PDT).
How do I updated it?
My goodness...that version is about six years out of date.

Simply installing a newer version of sendmail probably isn't adequate in terms 
of security, although you can go to www.sendmail.org and pick up 8.11.7 or 
8.12.9; you should probably upgrade the entire operating system to something 
more recent in order to get fixes for problems with the DNS resolver libraries, 
zlib, and lots of other things.

-Chuck

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


Re: USB/NE2000 IRQ conflict?

2003-06-17 Thread Adam Maas


- Original Message -
From: FBSD_User [EMAIL PROTECTED]
To: Gary Aitken [EMAIL PROTECTED];
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 9:27 PM
Subject: RE: USB/NE2000 IRQ conflict?


 The ne2000 nic has setup utility that you run from ms/dos that you
 can set the nic's irq with. If you did not get one in the box the
 Nic came in them check out the MFG website.




That is not the case for RTL8029 based NIC's, which are PCI NIC's that
emulate the NE2000 for driver compatibility. They are assigned IRQ's like
any other PCI card, rather than using a setup utility like the real NE2000
ISA cards.

That said, have you tried a different slot? IRQ12 is often problematic,
since it's supposed to be reserved for PS2 Mice on most systems. See if your
BIOS allows you to exclude that IRQ somehow.

Adam

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


Re: more transparent proxy and squid questions.

2003-06-17 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-17 14:37:09 +1000:
 further, if i do try and configure with the --enable-ipfw-transparent
 option, configure complains with the following:
 
 checking if setresuid is implemented... yes
 checking if IP-Filter header files are installed... no
 WARNING: Cannot find necessary IP-Filter header files
  Transparent Proxy support WILL NOT be enabled
 
 I appreciate it's talking about ipfilter however I use ipfw which is
 compiled into the kernel.

ISTR seeing separate ./configure switches for ipf and ipfw when
I was installing aquid last year. The error you quoted would
indicate that you specified --enable-ipf-transparent instead of the 
ipfw one.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


XFree86-4 (v4.3.0) - problem

2003-06-17 Thread ODHIAMBO Washington

I am interested in installing the gaim port, but it seems there is recursive
dependancy that forces it to install XFree86 v4.3.0. I don't mind this, but
unfortunately I end up with a build failure for one of the clients. I suppose
someone has sucessfully jumped over this obstacle, and would ask for their
advise. I seriously need to confer with some Windows lusers somewhere!


If it might help, I am running FreeBSD 5.1-RC. The error is below:


===   gaim-0.64 depends on executable: gmake - found
===   gaim-0.64 depends on executable: libtool - found
===   gaim-0.64 depends on file: /usr/local/bin/perl5.8.0 - found
===   gaim-0.64 depends on executable: pkg-config - found
===   gaim-0.64 depends on shared library: gtkspell.0 - not found
===Verifying install for gtkspell.0 in /usr/ports/textproc/gtkspell2
===   gtkspell2-2.0.4 depends on executable: gmake - found
===   gtkspell2-2.0.4 depends on executable: libtool - found
===   gtkspell2-2.0.4 depends on file: /usr/local/bin/perl5.8.0 - found
===   gtkspell2-2.0.4 depends on executable: pkg-config - found
===   gtkspell2-2.0.4 depends on shared library: pspell.15 - found
===   gtkspell2-2.0.4 depends on shared library: X11.6 - found
===   gtkspell2-2.0.4 depends on shared library: glib-2.0.200 - found
===   gtkspell2-2.0.4 depends on shared library: atk-1.0.200 - found
===   gtkspell2-2.0.4 depends on shared library: pango-1.0.200 - not found
===Verifying install for pango-1.0.200 in /usr/ports/x11-toolkits/pango
===  Installing for pango-1.2.3
===   pango-1.2.3 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - not found
===Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in 
/usr/ports/x11-fonts/XFree86-4-fontScalable
===   XFree86-fontScalable-4.3.0 depends on executable: ucs2any - not found
===Verifying install for ucs2any in /usr/ports/x11/XFree86-4-clients
===  Building for XFree86-clients-4.3.0_2
making all in lib/lbxutil/lbx_zlib...
making all in lib/lbxutil/delta...
making all in lib/lbxutil/image...
making all in programs/appres...
making all in programs/bdftopcf...
making all in programs/bitmap...
making all in programs/beforelight...
making all in programs/editres...
making all in programs/fslsfonts...
making all in programs/fstobdf...
making all in programs/iceauth...
making all in programs/ico...
making all in programs/listres...
making all in programs/luit...
making all in programs/makepsres...
making all in programs/dpsinfo...
making all in programs/dpsexec...
making all in programs/texteroids...
making all in programs/mkcfm...
making all in programs/mkfontdir...
making all in programs/mkfontscale...
cc -O -pipe -mcpu=pentiumpro -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef   
-I/usr/local/include/freetype2 -I/usr/local/include   
-I/usr/ports/x11/XFree86-4-clients/work/xc 
-I/usr/ports/x11/XFree86-4-clients/work/xc/exports/include  -I/usr/X11R6/include 
-DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DFREETYPE2   -c mkfontscale.c
mkfontscale.c: In function `doDirectory':
mkfontscale.c:355: `PS_FontInfoRec' undeclared (first use in this function)
mkfontscale.c:355: (Each undeclared identifier is reported only once
mkfontscale.c:355: for each function it appears in.)
mkfontscale.c:355: `t1info' undeclared (first use in this function)
mkfontscale.c:355: `t1info_rec' undeclared (first use in this function)
mkfontscale.c:355: warning: left-hand operand of comma expression has no effect
mkfontscale.c:412: warning: implicit declaration of function `FT_Get_PS_Font_Info'
mkfontscale.c: In function `checkEncoding':
mkfontscale.c:589: warning: implicit declaration of function `FT_Has_PS_Glyph_Names'
*** Error code 1

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

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

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

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

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

Stop in /usr/ports/textproc/gtkspell2.
*** Error code 1

Stop in /usr/ports/net/gaim.





-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


I like work ... I can sit and watch it for hours.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


getting ordb.org to stop spam with sendmail

2003-06-17 Thread David Banning
I am interested in getting my server to bounce mail from open relays.

I have been to the ordb.org site. I have added the suggested line
to my mc files;

FEATURE(`dnsbl', `relays.ordb.org', ` 550 Email rejected due to sending server
misconfiguration - see http://www.ordb.org/faq/\#why_rejected;')dnl

I am using sendmail 8.12.9/8.12.6
I of course recompiled the .mc files, and restarted sendmail.

I have tried to test that it is working by adding;

127.0.0.2  29.66.188.209.relays.ordb.org
 
to my /etc/hosts file, as my ip address is 209.188.66.299

I am still not getting a bounce. I am not seeing anything in /var/maillog

I am looking for a clue as to how to get more info to get this working,
either via a tip from someone, or how I can crank up my logging
to maillog to give me more info. A website that goes into
more depth would be helpful, if anyone knows one. 


-- 

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


Re: getting ordb.org to stop spam with sendmail

2003-06-17 Thread ODHIAMBO Washington
* David Banning [EMAIL PROTECTED] [20030617 09:52]: wrote:
 I am interested in getting my server to bounce mail from open relays.
 
 I have been to the ordb.org site. I have added the suggested line
 to my mc files;
 
 FEATURE(`dnsbl', `relays.ordb.org', ` 550 Email rejected due to sending server
 misconfiguration - see http://www.ordb.org/faq/\#why_rejected;')dnl
 
 I am using sendmail 8.12.9/8.12.6
 I of course recompiled the .mc files, and restarted sendmail.
 
 I have tried to test that it is working by adding;
 
 127.0.0.2  29.66.188.209.relays.ordb.org
  
 to my /etc/hosts file, as my ip address is 209.188.66.299
 
 I am still not getting a bounce. I am not seeing anything in /var/maillog
 
 I am looking for a clue as to how to get more info to get this working,
 either via a tip from someone, or how I can crank up my logging
 to maillog to give me more info. A website that goes into
 more depth would be helpful, if anyone knows one. 

I believe the ordb dnslists are not free anymore, but that is upto you to
go and find out. Perhaps you already did.
I use the following dnslists:

spamhaus.relays.osirusoft.com : spamsites.relays.osirusoft.com : \
dialups.relays.osirusoft.com : socks.relays.osirusoft.com : \
opm.blitzed.org : sbl.spamhaus.org : proxies.blackholes.easynet.nl


I use Exim, not Sendmail, so I do not know how to test, but suppose
you have a different box, you can temporarily assign the IP to it, then
to

telnet -s  209.188.66.29 ip_of_sendmail_box 25

Then simulate a mail transaction and see what the sendmail says in the log...




-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


Christ:
A man who was born at least 5,000 years ahead of his time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Install poptop 1.1.4.b3 on FreeBSD 4.8Release

2003-06-17 Thread Martin Schweizer
Hello
I installed the above poptop version on the FreeBSD 4.8 Release machines. On the first 
machine
the installation was no problem but on the second the following error occurs. What is 
going wrong?


Script started on Fri Jun 13 15:02:11 2003
pluto# exitmake./configure [11Dmake install


===  Extracting for poptop-1.1.4.b3

 Checksum OK for pptpd-1.1.4-b3.tar.gz.

===  Patching for poptop-1.1.4.b3

/bin/cp /usr/ports/net/poptop/work/poptop-1.1.4/our_getopt.h 
/usr/ports/net/poptop/work/poptop-1.1.4/getopt.h

===  Applying FreeBSD patches for poptop-1.1.4.b3

===  Configuring for poptop-1.1.4.b3

creating cache ./config.cache

checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... yes

checking for working aclocal... found

checking for working autoconf... found

checking for working automake... found

checking for working autoheader... found

checking for working makeinfo... found

checking for gcc... cc

checking whether the C compiler (cc -O -pipe  ) works... yes

checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether cc accepts -g... yes

checking for ranlib... ranlib

checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel

checking whether ln -s works... yes

checking whether make sets ${MAKE}... (cached) yes

checking for working const... yes

checking for inline... inline

checking for Cygwin environment... no

checking for mingw32 environment... no

checking for executable suffix... no

checking for object suffix... o

checking whether #! works in shell scripts... yes

checking for setsid... yes

checking for daemon... yes

checking for setproctitle... yes

checking for getservbyname... yes

checking for strlcpy... yes

checking for fork... yes

checking for memmove... yes

checking for strerror... yes

checking how to run the C preprocessor... cc -E

checking for pty.h... no

checking for string.h... yes

checking for syslog.h... yes

checking for libintl.h... no

checking for libutil.h... yes

checking for ANSI C header files... yes

checking for size_t... yes

checking for ssize_t... yes

checking for u_int8_t... yes

checking for u_int16_t... yes

checking for u_int32_t... yes

checking for socklen_t... yes

checking for accept in -lc... yes

checking for gethostbyname in -lc... yes

checking for openpty in -lc... no

checking for gettext in -lc... no

checking for accept in -lsocket... no

checking for gethostbyname in -lnsl... no

checking for openpty in -lutil... yes

checking for gettext in -lintl... no

BSD user-space ppp selected - disabling PoPToP internal IP allocation.

PPPD_IP_ALLOC: not found

===

Configuration chosen:

   PPPd IP allocation: No.

   PPPd:   BSD user-space PPPd.

   LIBWRAP security:   No.

   Broadcast Relay:No.

   Mode:   IP tunneling server (PAC).

===

updating cache ./config.cache

creating ./config.status

creating Makefile

creating config.h

===  Building for poptop-1.1.4.b3

cd .  aclocal

cd .  automake --foreign Makefile

cd .   CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status

creating Makefile

cd .  autoheader

WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'

WARNING: and `config.h.top', to define templates for `config.h.in'

WARNING: is deprecated and discouraged.



WARNING: Using the third argument of `AC_DEFINE' and

WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without

WARNING: `acconfig.h':



WARNING:   AC_DEFINE([NEED_MAIN], 1,

WARNING: [Define if a function `main' is needed.])



WARNING: More sophisticated templates can also be produced, see the

WARNING: documentation.

configure.in:3: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst

configure.in:255: warning: do not use m4_regexp: use regexp or m4_bregexp

autoheader: `config.h.in' is updated

cd .   CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh ./config.status

creating config.h

cc -DHAVE_CONFIG_H -I. -I. -I. -I.-O -pipe  -DSBINDIR='/usr/local/sbin' 
-DETCDIR='/usr/local/etc' -c pptpd.c

cc -DHAVE_CONFIG_H -I. -I. -I. -I.-O -pipe  -DSBINDIR='/usr/local/sbin' 
-DETCDIR='/usr/local/etc' -c configfile.c

cc -DHAVE_CONFIG_H -I. -I. -I. -I.-O -pipe  -DSBINDIR='/usr/local/sbin' 
-DETCDIR='/usr/local/etc' -c pptpmanager.c

cc -DHAVE_CONFIG_H -I. -I. -I. -I.-O -pipe  -DSBINDIR='/usr/local/sbin' 
-DETCDIR='/usr/local/etc' -c compat.c

cc -DHAVE_CONFIG_H -I. -I. -I. -I.-O -pipe  -DSBINDIR='/usr/local/sbin' 
-DETCDIR='/usr/local/etc' -c inststr.c

cc -DHAVE_CONFIG_H -I. -I. -I. -I.-O -pipe  -DSBINDIR='/usr/local/sbin' 
-DETCDIR='/usr/local/etc' -c getopt.c

cc -DHAVE_CONFIG_H -I. -I. -I. -I.-O 

Re: finding out version of sendmail I have

2003-06-17 Thread K Anderson


David Banning wrote:
How do I find out my sendmail version? I seems silly to ask the question,
but I have looked at the files in /etc/mail, I have looked for a version
option in the sendmail 'man page'. I have used 'locate' to find sendmail
files on the system, and then viewed them for any clues. I have done
a quick search on google. There must be a simple answer..
The all to obvious answer to this is telnetting to the host sendmail 
port and voila, the version number. Or the more harder way is to find 
out where the source exists and check the Makefile.

HTH



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


Re: getting ordb.org to stop spam with sendmail

2003-06-17 Thread Ruben de Groot
On Tue, Jun 17, 2003 at 02:52:09AM -0400, David Banning typed:
 I am interested in getting my server to bounce mail from open relays.
 
 I have been to the ordb.org site. I have added the suggested line
 to my mc files;
 
 FEATURE(`dnsbl', `relays.ordb.org', ` 550 Email rejected due to sending server
 misconfiguration - see http://www.ordb.org/faq/\#why_rejected;')dnl
 
 I am using sendmail 8.12.9/8.12.6
 ^^
 I of course recompiled the .mc files, and restarted sendmail.

I don't think your sendmail.cf got updated, or you would now be running
sendmail 8.12.9/8.12.9

-Ruben

 I have tried to test that it is working by adding;
 
 127.0.0.2  29.66.188.209.relays.ordb.org
  
 to my /etc/hosts file, as my ip address is 209.188.66.299
 
 I am still not getting a bounce. I am not seeing anything in /var/maillog
 
 I am looking for a clue as to how to get more info to get this working,
 either via a tip from someone, or how I can crank up my logging
 to maillog to give me more info. A website that goes into
 more depth would be helpful, if anyone knows one. 
 
 
 -- 
 
 ___
 [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: dualboot, first fbsd, then xp

2003-06-17 Thread Alex de Kruijff
On Mon, Jun 16, 2003 at 09:01:09PM -0400, Jud wrote:
 On Tue, 17 Jun 2003 01:53:54 +0200, Alex de Kruijff 
 [EMAIL PROTECTED] wrote:
 
 On Mon, Jun 16, 2003 at 10:15:05PM +0100, Matthew Seaman wrote:
 [snip]
 Hmmm... It's a long time since I had any dealings with a Microsoft OS,
 but I seem to remember that they always preferred to go in the first
 partition (slice, in FreeBSD parlance) on the drive.  Dunno if that's
 still true.
 
 
 That goes for most OS out there. If the boot record are at a certain ... 
 (fill in the rigth unity and value) then the system simply don't
 startup. FreeBSD has some filesystems that you wanna have a the front
 of the disk because of the performance. I recond the best thing to do is 
 create tree or four partions. Two for FreeBSD and one or two for XP.
 
 The first partions holds / (128M) , the swap (2x mem, of 1x mem if you 
 got two disks) and /var (256M). The secord partion hold the XP fs. The 
 thirth hold the rest of FreeBSD fs and the fourth old more for XP if you 
 are likly to experiance problems. (aka have the second partion in the 
 dainger zone)
 
 Alex
 
 Windows 2000 seems to want to be installed in the first primary partition 
 unless one's dual-booting with Win98, in which case Win2K makes an extended 
 partition on the disk for both Wins, then a logical partition in which to 
 install itself, in spite of the user's (or at any rate, my) best attempts 
 to have it otherwise.  Whether WinXP is similar I wouldn't know, but why 
 try anything else (than installing to the first slice/partition) other than 
 for the sake of experimentation?
 
 Re what Alex suggests, it sounds like you have your FreeBSD setup already 
 done, so I'll just note his preferences are different enough than others 
 I've seen suggested here that (1) Googling this mailing list and (2) 
 reading a few modern references (e.g., the Handbook and the new 4th edition 
 of Greg Lehey's The Complete FreeBSD - I'm sure there are other good 
 sources as well) will provide varying and possibly beneficial perspectives 
 for anyone who *is* setting up a FreeBSD system.  Hmm - danger zone?
 
 Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache2 with modssl from ports on 5.1.

2003-06-17 Thread Matthew Seaman
On Mon, Jun 16, 2003 at 05:10:27PM -0700, Andras Kende wrote:

 I would like to configure apache2 with modssl from ports on 5.1.

You don't need to.  The mod_ssl stuff is built into apache2 already:
no extra packages required.  To enable it, all you need do is provide
an appropriate Server Key/Certificate pair in
${PREFIX}/etc/apache2/{ssl.key/server.key,ssl.crt/server.crt}

If you've got apache2 installed and running, you can find out how to
generate the certificates you need by reading

http://localhost/manual/ssl/ssl_faq.html#aboutcerts

(or the same page from apache.org)

http://httpd.apache.org/docs-2.0/ssl/ssl_faq.html#aboutcerts

Verb. Sap. You'll find life a lot easier if you generate the
server.key *without* a pass phrase.  That means apache won't have to
prompt for the pass phrase on startup so it can restart unattended.
The downside is that you have to be doubly careful that people can't
steal your server.key, or else they can easily pretend to be you...

Cheers,

Matthew


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


pgp0.pgp
Description: PGP signature


RE: Buildworld ERROR CODE 2

2003-06-17 Thread Duke, Brian
Thanks guys, I'm going to try again. (fortunately this is not a production server)
1 noteable incident. When I tried to install the system the first time I selected 
Linux Compat.
I just started the install again and when it tries to install the Linux~~.bz the 
installer 
crashes and says it had a build error. I click OK and it finishes the installaion. My 
mind is a 
bit foggy but it seems like that happened the first time too. 

So I reinstall select install everything 
no error...
next I load cvsup from the ports.
now I will try and buildworld again.
this time without the -j option.

wish me luck.


-Original Message-
From: Kent Stewart [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 11:16 PM
To: Duke, Brian; [EMAIL PROTECTED]
Subject: Re: Buildworld ERROR CODE 2

This looks like one of those problems they have been dealing with on -current. 
They changed the -std option and I think you need to re-cvsup and start over.

The old rule on make.conf is that if you add something and it doesn't work. 
Comment it out and start over. I think you have dug a deep hole and fell in. 
I don't have any idea on the solution.

Kent

-Original Message-
From: Joshua Oreman [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 10:35 PM
To: Duke, Brian
Subject: Re: Buildworld ERROR CODE 2

 I am in single user mode. Someone please help. I am NOT good enough to 
 troubleshoot this.

Try re-running your buildworld without any -j option.

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


Re: getting ordb.org to stop spam with sendmail

2003-06-17 Thread Ruben de Groot
On Tue, Jun 17, 2003 at 10:06:22AM +0300, ODHIAMBO Washington typed:
 
 I believe the ordb dnslists are not free anymore, but that is upto you to
 go and find out. Perhaps you already did.

ordb.org is free and AFAIK they have no intention to change that policy.

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


Re: getting ordb.org to stop spam with sendmail

2003-06-17 Thread ODHIAMBO Washington
* Ruben de Groot [EMAIL PROTECTED] [20030617 12:19]: wrote:
 On Tue, Jun 17, 2003 at 10:06:22AM +0300, ODHIAMBO Washington typed:
  
  I believe the ordb dnslists are not free anymore, but that is upto you to
  go and find out. Perhaps you already did.
 
 ordb.org is free and AFAIK they have no intention to change that policy.

I withdraw my point then ;-)



-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


I don't object to sex before marriage, but two minutes before?!?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


XFree86 (v4.3.0) - installation hitch

2003-06-17 Thread ODHIAMBO Washington
Hi all
I am interested in installing the gaim port, but it seems there is recursive
dependancy that forces it to install XFree86 v4.3.0. I don't mind this, but
unfortunately I end up with a build failure for one of the clients. I suppose
someone has sucessfully jumped over this obstacle, and would ask for their
advise. I seriously need to confer with some Windows lusers somewhere!


If it might help, I am running FreeBSD 5.1-RC. The error is below:


===   gaim-0.64 depends on executable: gmake - found
===   gaim-0.64 depends on executable: libtool - found
===   gaim-0.64 depends on file: /usr/local/bin/perl5.8.0 - found
===   gaim-0.64 depends on executable: pkg-config - found
===   gaim-0.64 depends on shared library: gtkspell.0 - not found
===Verifying install for gtkspell.0 in /usr/ports/textproc/gtkspell2
===   gtkspell2-2.0.4 depends on executable: gmake - found
===   gtkspell2-2.0.4 depends on executable: libtool - found
===   gtkspell2-2.0.4 depends on file: /usr/local/bin/perl5.8.0 - found
===   gtkspell2-2.0.4 depends on executable: pkg-config - found
===   gtkspell2-2.0.4 depends on shared library: pspell.15 - found
===   gtkspell2-2.0.4 depends on shared library: X11.6 - found
===   gtkspell2-2.0.4 depends on shared library: glib-2.0.200 - found
===   gtkspell2-2.0.4 depends on shared library: atk-1.0.200 - found
===   gtkspell2-2.0.4 depends on shared library: pango-1.0.200 - not found
===Verifying install for pango-1.0.200 in /usr/ports/x11-toolkits/pango
===  Installing for pango-1.2.3
===   pango-1.2.3 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - not found
===Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in 
/usr/ports/x11-fonts/XFree86-4-fontScalable
===   XFree86-fontScalable-4.3.0 depends on executable: ucs2any - not found
===Verifying install for ucs2any in /usr/ports/x11/XFree86-4-clients
===  Building for XFree86-clients-4.3.0_2
making all in lib/lbxutil/lbx_zlib...
making all in lib/lbxutil/delta...
making all in lib/lbxutil/image...
making all in programs/appres...
making all in programs/bdftopcf...
making all in programs/bitmap...
making all in programs/beforelight...
making all in programs/editres...
making all in programs/fslsfonts...
making all in programs/fstobdf...
making all in programs/iceauth...
making all in programs/ico...
making all in programs/listres...
making all in programs/luit...
making all in programs/makepsres...
making all in programs/dpsinfo...
making all in programs/dpsexec...
making all in programs/texteroids...
making all in programs/mkcfm...
making all in programs/mkfontdir...
making all in programs/mkfontscale...
cc -O -pipe -mcpu=pentiumpro -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef   
-I/usr/local/include/freetype2 -I/usr/local/include   
-I/usr/ports/x11/XFree86-4-clients/work/xc 
-I/usr/ports/x11/XFree86-4-clients/work/xc/exports/include  -I/usr/X11R6/include 
-DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DFREETYPE2   -c mkfontscale.c
mkfontscale.c: In function `doDirectory':
mkfontscale.c:355: `PS_FontInfoRec' undeclared (first use in this function)
mkfontscale.c:355: (Each undeclared identifier is reported only once
mkfontscale.c:355: for each function it appears in.)
mkfontscale.c:355: `t1info' undeclared (first use in this function)
mkfontscale.c:355: `t1info_rec' undeclared (first use in this function)
mkfontscale.c:355: warning: left-hand operand of comma expression has no effect
mkfontscale.c:412: warning: implicit declaration of function `FT_Get_PS_Font_Info'
mkfontscale.c: In function `checkEncoding':
mkfontscale.c:589: warning: implicit declaration of function `FT_Has_PS_Glyph_Names'
*** Error code 1

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

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

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

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

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

Stop in /usr/ports/textproc/gtkspell2.
*** Error code 1

Stop in /usr/ports/net/gaim.


-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


You will lose your present job and have to become a door to door
mayonnaise salesman.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS printer installation problem

2003-06-17 Thread David Rio
On Mon, Jun 16, 2003 at 05:20:06PM +0300, Bogdan Mihalcea wrote:
 Hello!
 
 I have compiled and installed the CUPS package (cups, cups-base, 
 cups-lpr, cups-pstoraster). All went well, I had no errors whatsoever. 
 After, I tried to install (add) my printer with the command  # kprinter 
 (Add Printer wizard, under KDE). In spite of the fact that the 
 foomatic-db package is also installed, when I try to install my local 
 printer (on the parallel port), the Printer Model  Selection dialog box 
 is empty, and I have no printers in my database.
 It would be of great help for me if you could give me a hint how to 
 solve the problem, because I can not use my printer under FreeBSD at 
 all. I'm using FreeBSD 5.1 at home, but I have the same problems at 
 office, where I use FreeBSD 4.8.

Try to use the web interface. Take a look to this link:

http://www.freebsddiary.org/cups.php

In this article, they use a USB printer but it might be useful. 

Ahh.. you must read the cups documents they have a lot of useful
information.

 Thank you very much and excuse me for the trouble I'm causing.
 

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


Re: XFree86-4 (v4.3.0) - problem - SOLVED

2003-06-17 Thread ODHIAMBO Washington

Replying to myself...

I googled and found out the problem is actually with freetype2 port.
Reference is http://mail-index.netbsd.org/netbsd-bugs/2002/05/26/0011.html
I added that line (without understanding what it does ;-)), built freetype
successfully and everything else.




* Wash [EMAIL PROTECTED] [20030617 09:49]: wrote:
 
 I am interested in installing the gaim port, but it seems there is recursive
 dependancy that forces it to install XFree86 v4.3.0. I don't mind this, but
 unfortunately I end up with a build failure for one of the clients. I suppose
 someone has sucessfully jumped over this obstacle, and would ask for their
 advise. I seriously need to confer with some Windows lusers somewhere!
 
 
 If it might help, I am running FreeBSD 5.1-RC. The error is below:
 
 
 ===   gaim-0.64 depends on executable: gmake - found
 ===   gaim-0.64 depends on executable: libtool - found
 ===   gaim-0.64 depends on file: /usr/local/bin/perl5.8.0 - found
 ===   gaim-0.64 depends on executable: pkg-config - found
 ===   gaim-0.64 depends on shared library: gtkspell.0 - not found
 ===Verifying install for gtkspell.0 in /usr/ports/textproc/gtkspell2
 ===   gtkspell2-2.0.4 depends on executable: gmake - found
 ===   gtkspell2-2.0.4 depends on executable: libtool - found
 ===   gtkspell2-2.0.4 depends on file: /usr/local/bin/perl5.8.0 - found
 ===   gtkspell2-2.0.4 depends on executable: pkg-config - found
 ===   gtkspell2-2.0.4 depends on shared library: pspell.15 - found
 ===   gtkspell2-2.0.4 depends on shared library: X11.6 - found
 ===   gtkspell2-2.0.4 depends on shared library: glib-2.0.200 - found
 ===   gtkspell2-2.0.4 depends on shared library: atk-1.0.200 - found
 ===   gtkspell2-2.0.4 depends on shared library: pango-1.0.200 - not found
 ===Verifying install for pango-1.0.200 in /usr/ports/x11-toolkits/pango
 ===  Installing for pango-1.2.3
 ===   pango-1.2.3 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - not 
 found
 ===Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in 
 /usr/ports/x11-fonts/XFree86-4-fontScalable
 ===   XFree86-fontScalable-4.3.0 depends on executable: ucs2any - not found
 ===Verifying install for ucs2any in /usr/ports/x11/XFree86-4-clients
 ===  Building for XFree86-clients-4.3.0_2
 making all in lib/lbxutil/lbx_zlib...
 making all in lib/lbxutil/delta...
 making all in lib/lbxutil/image...
 making all in programs/appres...
 making all in programs/bdftopcf...
 making all in programs/bitmap...
 making all in programs/beforelight...
 making all in programs/editres...
 making all in programs/fslsfonts...
 making all in programs/fstobdf...
 making all in programs/iceauth...
 making all in programs/ico...
 making all in programs/listres...
 making all in programs/luit...
 making all in programs/makepsres...
 making all in programs/dpsinfo...
 making all in programs/dpsexec...
 making all in programs/texteroids...
 making all in programs/mkcfm...
 making all in programs/mkfontdir...
 making all in programs/mkfontscale...
 cc -O -pipe -mcpu=pentiumpro -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef   
 -I/usr/local/include/freetype2 -I/usr/local/include   
 -I/usr/ports/x11/XFree86-4-clients/work/xc 
 -I/usr/ports/x11/XFree86-4-clients/work/xc/exports/include  -I/usr/X11R6/include 
 -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DFREETYPE2   -c mkfontscale.c
 mkfontscale.c: In function `doDirectory':
 mkfontscale.c:355: `PS_FontInfoRec' undeclared (first use in this function)
 mkfontscale.c:355: (Each undeclared identifier is reported only once
 mkfontscale.c:355: for each function it appears in.)
 mkfontscale.c:355: `t1info' undeclared (first use in this function)
 mkfontscale.c:355: `t1info_rec' undeclared (first use in this function)
 mkfontscale.c:355: warning: left-hand operand of comma expression has no effect
 mkfontscale.c:412: warning: implicit declaration of function `FT_Get_PS_Font_Info'
 mkfontscale.c: In function `checkEncoding':
 mkfontscale.c:589: warning: implicit declaration of function `FT_Has_PS_Glyph_Names'
 *** Error code 1
 
 Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/mkfontscale.
 *** Error code 1
 
 Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
 *** Error code 1
 
 Stop in /usr/ports/x11/XFree86-4-clients.
 *** Error code 1
 
 Stop in /usr/ports/x11-fonts/XFree86-4-fontScalable.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/pango.
 *** Error code 1
 
 Stop in /usr/ports/textproc/gtkspell2.
 *** Error code 1
 
 Stop in /usr/ports/net/gaim.
 
 
 -Wash
 
 -- 
 Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
 Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
 Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
 GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)
 
 
 I like work ... I can sit and watch it for hours.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org

RE: Buildworld ERROR CODE 2

2003-06-17 Thread Duke, Brian
I think you may have the answer Kent...
in my make.conf I did allow the SUP = YES directives from the example file 
/usr/share/examples/etc/make.conf
I just took that section out based on your recommendation below. So the only things in 
my make is now:
PERL5 module stuff that was already enabled in make.conf after FTP intallation and 
CPUTYPE=i586. The config 
seems to be working. Thanks for your help. I would have never suspected the CVSUP 
section. 

I'll run cvsup again in the future when I don't need sleep. 

-Original Message-
From: Kent Stewart [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 11:16 PM
To: Duke, Brian; [EMAIL PROTECTED]
Subject: Re: Buildworld ERROR CODE 2


On Monday 16 June 2003 09:02 pm, Duke, Brian wrote:
 ok I didn't get an answer on my first email so I tried to do a complete
 buildworld here is a transcript of the output:

 install -C -o root -g wheel -m 444   libc_pic.a  
 /usr/obj/usr/src/i386/usr/lib 1 error

 I made only moderate changes to the make.conf...like my CPUBuild=i586.

This looks like one of those problems they have been dealing with on -current. 
They changed the -std option and I think you need to re-cvsup and start over.

The old rule on make.conf is that if you add something and it doesn't work. 
Comment it out and start over. I think you have dug a deep hole and fell in. 
I don't have any idea on the solution.

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: Install poptop 1.1.4.b3 on FreeBSD 4.8Release

2003-06-17 Thread Sergey Akifyev
On Tue, 2003-06-17 at 13:13, Martin Schweizer wrote:
 Hello
 I installed the above poptop version on the FreeBSD 4.8 Release machines. On the 
 first machine
 the installation was no problem but on the second the following error occurs. What 
 is 
 going wrong?

I've already mailed fix to this problem with subject:
[PATCH] net/poptop installation and packaging broken
to the [EMAIL PROTECTED] Unfortunately, nobody noticed this :(

-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: Sysinstall hangs during probing....

2003-06-17 Thread Dave Bloodgood
Sorry for confusion on where it dies...It gets thru all the hardware
probing...Appearing to find
all hardware in the machine...Except that drivers arent attached to MB
internal video ( which is
supposed to be disabled ), SMBus and Onboard Multimedia-sound.

It enters the sysinstall program, where it tells me that it is probing for
hardware, which may
take a whileI have waited for up to an hour, and lost patience.

I do not know how to capture the boot up messages...They scroll off the
screen faster than I can
write them down...dmesg would do it on a running system, but since it is
hung, Im stuck. ( The emergency, holographic shell hasnt started yet ). I
suppose I could try booting with another PC as a serial
console, and capturing the bootup messages on that machine.

Per the comments below, I have now tried it with UDMA disabled on the HD and
the CD drives, and
also tried various, lower IDE data transfer modes (speeds).

I should have added that this MB has the Intel 845G chipset and I have added
the GF 4200 Video
board, which disables the internal video

Dave
- Original Message - 
From: Doron Shmaryahu [EMAIL PROTECTED]
To: 'Dave Bloodgood' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 12:35 PM
Subject: RE: Sysinstall hangs during probing


Hi,


You have not mentioned where it dies but looking at your hardware spec it
may possibly be a udma setting !!

Kind Regards

Doron Shmaryahus

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Bloodgood
Sent: 16 June 2003 02:39 PM
To: [EMAIL PROTECTED]
Subject: Sysinstall hangs during probing

Ive tried 4.7, 4.8, 5.0 and 5.1R ( and maybe more earlier )...System is

ABIT BG-7 MB, 512M RAM, P4 CPU 2.26 GHz, onboard realtec lan, onboard sound,
6 USB, no firewire
internal graphics is disabled, 2 serial, 1 parallel port
MSI GF4 4200 video, 64 MB RAM
PCI hardware modem

NO ISA slots ( and no ISA boards ! )

During boot-up, no driver is attached to internal vga, SMBus or Multimedia -
these are all recognized, and it says no driver is attached.

I have a USB keyboard and have tried setting hint.atkbd.0.disabled=1 and
have gone thru the other hints, disabling
all hardware that isnt in machine ( and isnt already disabled ).

Am able to run redhat linux, at least to the point of partitioning it, and
have installed NETBSD (1.6.1) with success

Have been loyal to freebsd for quite a while, am frustrated by inability
to install on this machine

HELP !

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


make buildworld failed

2003-06-17 Thread
Hi, All.

On my machine with FreeBSD 4.4-RELEASE I was done next steps:

Edit /usr/local/etc/CVSUP.conf for next settings:

*default host=cvsup4.ru.FreeBSD.org
*default base=/var/cvsup
*default prefix=/var/cvsup
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
#*default compress
src-all

REM: /var/cvsup is selected because it (/var) has free space (3Gb).

File /etc/make.conf have next special strings (other strings is
default):
NO_MAILWRAPPER=true
NO_OPENSSH= true
NO_OPENSSL= true
NO_SENDMAIL=true
NO_X=   true
NOGAMES=true
NOUUCP= true

# cd /var/cvsup/src
# make cleandir
# make cleandir
# cvsup -g -L 2 /usr/local/etc/CVSUP.conf
# script /var/log/mk_bworld.log
# make buildworld
# exit

make buildworld was fail with errors. Latest string in
/var/log/mk_bworld.log is:

=== gnu/usr.bin/binutils
=== gnu/usr.bin/binutils/libiberty
cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
-I/var/cvsup/src/gnu/usr.bin/binutils/libiberty
-I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
-I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binu
tils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror  -c
/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binuti
ls/libiberty/argv.c -o argv.o
cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
-I/var/cvsup/src/gnu/usr.bin/binutils/libiberty
-I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
-I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binu
tils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror  -c
/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binuti
ls/libiberty/choose-temp.c -o choose-temp.o
cc1: warnings being treated as errors
/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binuti
ls/libiberty/choose-temp.c: In function `choose_temp_base':
/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binuti
ls/libiberty/choose-temp.c:68: warning: implicit declaration of function
`mktemp'
*** Error code 1

Stop in /var/cvsup/src/gnu/usr.bin/binutils/libiberty.
*** Error code 1

Stop in /var/cvsup/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /var/cvsup/src/gnu/usr.bin.
*** Error code 1

Stop in /var/cvsup/src/gnu.
*** Error code 1

Stop in /var/cvsup/src.
*** Error code 1

Stop in /var/cvsup/src.
*** Error code 1

Stop in /var/cvsup/src.

Full log file on http://www.nashe.ru/mk_bworld.log (~6 Mb)
/etc/make.conf is on http://www.nashe.ru/make.conf

Any ideas welcome...
What and Why I need to resolve this problem?

--
Viktor M. Gnitiyov
e-mail: [EMAIL PROTECTED]


smime.p7s
Description: S/MIME cryptographic signature


restrictive ipfw ruleset and ftp

2003-06-17 Thread Andrew Thomson
any suggestions would be great.

i have a restrictive ipfw ruleset that works great.. it only allows
incoming connections that i allow and outgoing connections allow. i have
a list of ports that i let my users go out on: 80, 22, 143, 443 etc
etc..

All the stuff they might need to do.

how can i handle passive ftp though?

i can let 21 out, but when the remote ftp server says use this x high
port.. i block that because it's not in my list. so what can i do to get
around this..

not totally familiar with it, but is this what fw_punch is for within
nat??

thanks,

ajt.


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


ping: sendto: No buffer space available

2003-06-17 Thread Jaime
I've been noticing for a few days that my network's performance is
less than good.  When I checked on it, I found that the firewall
attempting to ping the ISP's DNS resolver would have hiccups.  The ISP
claims that there is nothing wrong on the T-1 line and that there is a
problem on the ethernet interface of the router (which leads to the
firewall).

The pings will run just fine for several minutes at a time and
then begin to output this:

ping: sendto: No buffer space available

This will go on for anywhere from 15 seconds to 5 minutes, during
which we're effectively not connected to the Internet at all.  An
occasional ping will work, but only about 1 in 20 and it seems random.
Then, just as suddenly, the connection will work again.

I'm not completely sure what this means, but I found the following
command in the mailing list archives:

cerberus# sysctl -a | grep intr_qu
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.intr_queue_drops: 6987

Does anyone have any suggestions or tips?

Thanks in advance,
Jaime

--
To affect the quality of the day, that is the highest of arts.
 - Henry David Thoreau, _Where_I_Live_
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Serial Console Port Settings ?

2003-06-17 Thread Dave Bloodgood
In order to trouble shoot booting a newer pc, I have tried to configure a serial 
console...Unfortunately, I dont 
know what port settings ( baud rate, # bits, parity etc ) to use on the receiving 
machine...Ive tried lots of combinations
at get gibberish at low settingslots of @ signs at 9600 and nothing at speeds 
above 9600. Is there an auto-baud
routine ?

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


Re: restrictive ipfw ruleset and ftp

2003-06-17 Thread bsd
Andrew Thomson writes: 

any suggestions would be great. 

i have a restrictive ipfw ruleset that works great.. it only allows
incoming connections that i allow and outgoing connections allow. i have
a list of ports that i let my users go out on: 80, 22, 143, 443 etc
etc.. 

All the stuff they might need to do. 

how can i handle passive ftp though? 

i can let 21 out, but when the remote ftp server says use this x high
port.. i block that because it's not in my list. so what can i do to get
around this. 

not totally familiar with it, but is this what fw_punch is for within
nat?? 

Personally, I have a pair of rules something similar to the following: 

ipfw add {n} allow tcp from ${inet}:${imask} 1024-65535 to any 1024-65535 
setup in via ${iif}
ipfw add {n} allow tcp from ${inet}:${imask} 1024-65535 to any 1024-65535 
setup out via ${oif} 

This is quite wide, but ensures that only outbound connections on the high 
port numbers are permitted, both on the source and the destination ends of 
the connection. 

Perhaps some real experts will give you a more definitive answer... 

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


Re: restrictive ipfw ruleset and ftp

2003-06-17 Thread Jaime
On Tue, 17 Jun 2003, Andrew Thomson wrote:
 how can i handle passive ftp though?

 i can let 21 out, but when the remote ftp server says use this x high
 port.. i block that because it's not in my list. so what can i do to get
 around this..

IIRC, FTP sends its replies on TCP port 20.  I can't recall if
that is port 20 on the remote or local host, though.  A little
experimentation and you'll probably figure it out.  (hint:  netstat -nf
inet)

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


Re: restrictive ipfw ruleset and ftp

2003-06-17 Thread bsd
Jaime writes: 

IIRC, FTP sends its replies on TCP port 20.  I can't recall if
that is port 20 on the remote or local host, though.  A little
experimentation and you'll probably figure it out.  (hint:  netstat -nf
inet)
That's true of non-passive mode connections (FTP server port 20 to FTP 
Client port 1024-65535), but I suspect the original poster is trying to 
permit passive mode connections. 

PS: does anyone know what the correct terminology for FTP's non-passive 
mode is?  I sometimes refer to active mode when talking FTP (because that 
term somehow got stuck in my head once upon a time), but I usually get some 
very curious/confused looks when I talk about active FTP...  :) 

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


Re: dualboot, first fbsd, then xp

2003-06-17 Thread Doug Poland
Matthew Seaman said:
 On Mon, Jun 16, 2003 at 10:40:48PM +0200, Tobias Roth wrote:

 Is it save to install WinXP after FreeBSD? My IBM recovery cd goofed
 up my WinXP and I'd like to reinstall XP only and keep my existing
 FreeBSD slices intact. Same goes for the MBR, of course.

 And yes, I will back up my data in any case, but I'd still hate it if
 I had to set up my whole system again.

I just did a similar dual-boot machine this weekend.  Box has a single 35GB IDE disk.
Used FreeBSD 4.8-RELEASE to delete old micosoft partitions, create a 12GB UFS slice
and 27GB FAT slice.  Installed and config'd fbsd on UFS.  Then did Win2K on the FAT
(converted to NTFS) slice.  I use GRUB as bootloader as Win2K overwrites boot sector.
The whole process is quite straight forward and safe.  I've done 1/2 dozen similar
configurations in the last 6 months with a mix of FreeBSD/Win2K-XP.

HTH,

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


Re: ping: sendto: No buffer space available

2003-06-17 Thread jaime
On Tue, 17 Jun 2003, lbland wrote:
 I don't know, but it may be a router loop problem in the ISP router
 tables. Those tables can change dynamically and can cause intermittent
 issues like you explained.

I had three pings going at the same time.  One to the ISP's DNS
resolver, one to the far end of the T-1, and one to the ethernet interface
on the router at my site.  The router and firewall are on opposite ends of
the same cable.

When the pings to the DNS resolver gave the No buffer space
message, so did the other two pings.  This means that the break down is
not any further up stream than the router.  I'm now running pings to a
host on the same LAN as the firewall.  The next time that the No buffer
space message appears on the pings to the DNS resolver, I'll check the
pings to the internal host.  If they have the same problem, then I'm
experiencing an OS level issue of some kind.

OK, it happened while I was typing this.  :)  Results:  internal
host remained ping-able while the other three pings were all giving No
buffer space messages.

This is starting to sound like some kind of packet over-load on
the public side of my FreeBSD/ipfw based firewall.  Does anyone have any
advice on how to confirm this?

bash-2.05b$ uname -a
FreeBSD cerberus.cairodurham.org. 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat
Oct 12 12:54:03 EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CERBERUS  i386

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


bad file descriptor

2003-06-17 Thread Jaime
Can anyone explain this?  It looks like I can't delete a given
file.  This file has been causing weird errors with just about everything,
including tar, rm, ls -l, etc.  It resides on a vinum RAID-5 array, which
is the only strange thing I can think of about it.

zeus# ls
#pico29506# .login  .shrc  
 cdtashirt.jpg
.addressbook.login_conf .spamassassin  
 cdtashirtstitch.jpg
.addressbook.lu .mail_aliases   December 2002 
Newsletter.docs   dead.letter
.aspell.en.prepl.mailrc Documents  
 mail
.aspell.en.pws  .pinerc Lawrence.JPG   
 mbox
.aspell.english.prepl   .profileOctober 2002 
Newsletter.doc public_html
.aspell.english.pws .qmail.backup.from.cyrusOctober 2002 
Newsletter.doc.
.cshrc  .rhosts acker
zeus# rm #pico29506#
rm: #pico29506#: Bad file descriptor
zeus# whoami
root

Thanks in advance,
Jaime

To affect the quality of the day, that is the highest of arts.
 - Henry David Thoreau, _Where_I_Live_
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: restrictive ipfw ruleset and ftp

2003-06-17 Thread Bill Moran
Andrew Thomson wrote:
any suggestions would be great.

i have a restrictive ipfw ruleset that works great.. it only allows
incoming connections that i allow and outgoing connections allow. i have
a list of ports that i let my users go out on: 80, 22, 143, 443 etc
etc..
All the stuff they might need to do.

how can i handle passive ftp though?

i can let 21 out, but when the remote ftp server says use this x high
port.. i block that because it's not in my list. so what can i do to get
around this..
not totally familiar with it, but is this what fw_punch is for within
nat??
That's what it's designed for.  I've never used it so I can't verify how
well it works.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ping: sendto: No buffer space available

2003-06-17 Thread Bill Moran
Jaime wrote:
I've been noticing for a few days that my network's performance is
less than good.  When I checked on it, I found that the firewall
attempting to ping the ISP's DNS resolver would have hiccups.  The ISP
claims that there is nothing wrong on the T-1 line and that there is a
problem on the ethernet interface of the router (which leads to the
firewall).
The pings will run just fine for several minutes at a time and
then begin to output this:
ping: sendto: No buffer space available

This will go on for anywhere from 15 seconds to 5 minutes, during
which we're effectively not connected to the Internet at all.  An
occasional ping will work, but only about 1 in 20 and it seems random.
Then, just as suddenly, the connection will work again.
I'm not completely sure what this means, but I found the following
command in the mailing list archives:
cerberus# sysctl -a | grep intr_qu
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.intr_queue_drops: 6987
	Does anyone have any suggestions or tips?
What make/model of NIC are you using?
The only time I've ever seen this, the only thing that solved the problem
was swapping the network card out for a better one.
That's not to say it isn't a driver problem, as the new network card used
a different driver as well.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question about ingress filtering

2003-06-17 Thread Ragi Bejjani
How can i configure the IFF_LINK2 flag, in order to enable or disable 
the ingrees filtering on a stf or gif interface?

Thank u

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


cvsup

2003-06-17 Thread Ülkü SAYILAN
Hi,

 Thank for all advise, and also apologize to wrong list mail..
 I have solve my cvsup problem.. by using


  *default release=cvs tag=RELENG_5

so cvsup process has began.. I wonder result of this operation




  

Her development, her freedom, her independence, must come from and through
  herself. First, by asserting herself as a personality, and not as a sex commodity. 
  Second, by refusing the right of anyone over her body; by refusing to bear
  children, unless she wants them, by refusing to be a servant to God, the State, 
society, 
  the husband, the family, etc., by making her life simpler, but deeper and
  richer. That is, by trying to learn the meaning and substance of life in all its
  complexities; by freeing herself from the fear of public opinion and public 
condemnation.
 [Emma Goldman, Anarchism and Other Essays, p. 211] 

Hoscakalin,
 Ülkü  mailto:[EMAIL PROTECTED]


This e-mail was scanned by Antivirus!
http://www.kssgm.gov.tr
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ping: sendto: No buffer space available

2003-06-17 Thread jaime
On Tue, 17 Jun 2003, Bill Moran wrote:
 What make/model of NIC are you using?

cerberus# ifconfig -a
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.0.3.2 netmask 0xff00 broadcast 10.0.3.255
ether 00:e0:81:21:45:8c
media: Ethernet autoselect (10baseT/UTP)
status: active
fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.1.1.1 netmask 0x broadcast 10.1.255.255
ether 00:e0:81:21:45:8d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00

The interface in question is 10.0.3.2.  That interface has worked
fine for over a year.  That driver is in use on several other systems for
several years each.  No problems until now.


 The only time I've ever seen this, the only thing that solved the problem
 was swapping the network card out for a better one.
 That's not to say it isn't a driver problem, as the new network card used
 a different driver as well.

I think that the NIC is on the logic board.  I can try to install
a PCI card and use that in its place to see if the problem goes away.
Should I bother?

FWIW, a reboot of the system did not help.

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


Re: Tools to modify shared libraries

2003-06-17 Thread Joe Kelsey
Brandon S. Allbery KF8NH wrote:
On Mon, 2003-06-16 at 18:39, Joe Kelsey wrote:

Has anyone ever come across general-purpose tools for modifying shared 
libraries?  What I want to do is to edit the list of needed shared 
libraries to correct the common mistakes that developers make in 
creating shared objects with large lists of shared libraries.
GNU objcopy --- but it's a bit *too* general; you'd need to extract the
.dynamic section, edit it using some binary editing tool, and re-add it.
I have tried and failed... I even looked at the code.  objcopy is
horrible as far as it goes.  Maybe if I could learn more about bfd in
general, there might be something I could do with objcopy, but it does 
not look promising.

I doubt there are any tools of the kind you're looking for because the
details are too different between different systypes; even if someone
had developed one, it's just as likely to be for Linux or Solaris as for
*BSD, and as a result wouldn't be particularly useful.
All 32-bit Elf libraries look the same as far as the DT_NEEDED entries
in the DYNAMIC section.  In fact, *all* ELF libraries look the same
relative to the size of the string table offset used for entries.  The
DYNAMIC section is the simplest of all sections, generally consisting of
a tag and a value, both in the native word size (e.g., 32 or 64).  I am
surprised that no one has done this yet.
I tried elfsh, but the version in ports is too old.  I got the most 
recent version from the website, but it has a lot of linuxisms in it.

Basically, what I want to do is remove several entries from the *front* 
of the dynamic section.  Actually, I would settle for just removing all 
of a certain tag (such as DT_NEEDED) from the dynamic section.

/Joe





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


Installing SquidGuard on FreeBSD 4.4

2003-06-17 Thread Simon-Pierre Butsana
Hi,

I am trying to install SquidGuard on a FreeBSD server but this doesn't work. I 
succeeded in installing SquidCache that works fine.
Can you advice me in getting a successful installation of SquidGuard on FreeBSD 4.4?
Alternatively, can you advice me a access controller and redirector working fine with 
FreeBSD 4.4?
Thanks for your support,

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


Re: bad file descriptor

2003-06-17 Thread heikki soerum
On Tue, 17 Jun 2003 09:06:10 -0400 (EDT)
Jaime [EMAIL PROTECTED] wrote:
   Can anyone explain this?  It looks like I can't delete a given
 file.  This file has been causing weird errors with just about
 everything, including tar, rm, ls -l, etc.  It resides on a vinum
 RAID-5 array, which is the only strange thing I can think of about it.
 
 zeus# ls
 #pico29506# .login  .shrc 
  cdtashirt.jpg
 .addressbook.login_conf
 .spamassassin   cdtashirtstitch.jpg.addressbook.lu
 .mail_aliases   December 2002
 Newsletter.docs   dead.letter
 .aspell.en.prepl.mailrc
 Documents   mail.aspell.en.pws 
 .pinerc Lawrence.JPG   
 mbox.aspell.english.prepl   .profile   
 October 2002 Newsletter.doc public_html.aspell.english.pws
 .qmail.backup.from.cyrusOctober 2002 Newsletter.doc.
 .cshrc  .rhosts acker
 zeus# rm #pico29506#
 rm: #pico29506#: Bad file descriptor
 zeus# whoami
 root

# is usually an special character, I usually delete such files with
Midnight Commander (mc shell), another possibility might be to not use
 but rather use an \ backslash before every special character.
I'm not guaranteeing that it would work though. :/

Heikki S.


-- 
If people say that here and there someone has been taken away and
maltreated,
I can only reply: You can't make an omelette without breaking eggs.
-- Hermann Goering
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: restrictive ipfw ruleset and ftp

2003-06-17 Thread FBSD_User
Read man info carefully. The fw_punch IPFW command opens up more
things than just FTP.  There is no way just to active FTP part. The
other things become a security problem.  The fw_punch command is a
very poorly designed command and should have never been allowed into
IPFW as it currently is. User be ware.   Best solution is to make
and publish to all users of your environment that passive FTP is
only FTP method allowed to be used per security, and be done with
it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Moran
Sent: Tuesday, June 17, 2003 9:08 AM
To: Andrew Thomson
Cc: [EMAIL PROTECTED]
Subject: Re: restrictive ipfw ruleset and ftp

Andrew Thomson wrote:
 any suggestions would be great.

 i have a restrictive ipfw ruleset that works great.. it only
allows
 incoming connections that i allow and outgoing connections allow.
i have
 a list of ports that i let my users go out on: 80, 22, 143, 443
etc
 etc..

 All the stuff they might need to do.

 how can i handle passive ftp though?

 i can let 21 out, but when the remote ftp server says use this x
high
 port.. i block that because it's not in my list. so what can i do
to get
 around this..

 not totally familiar with it, but is this what fw_punch is for
within
 nat??

That's what it's designed for.  I've never used it so I can't verify
how
well it works.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com

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

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


mount_nwfs fstab and connection via IP (not IPX)

2003-06-17 Thread Stefan Farrenkopf
Hi all,

with the -A server option one can use mount_nwfs to connect to a Netware 
server without the need of a running IPXrouted etc. I can use this from the 
command line manually, but I do not know how to include the -A option 
into my /etc/fstab or is this impossible?

The corresponding line of a linux box looks like this:

SERVER/USER  /mount-point ncp \ 
rw,uid=UID,passwdfile=xyz,mode=640,ipserver=SERVER,multiple 0 0

Any help or ideas on this is appreciated :)

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


RE: free?

2003-06-17 Thread Valerie Andrewlevich
Thanks to everyone who responded.  You are obviously a very enthusiastic
bunch about open source.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 16, 2003 5:20 PM
To: Valerie Andrewlevich
Cc: 'Kenneth Wayne Culver'; [EMAIL PROTECTED]
Subject: RE: free?



try the not-quite-linux-specific 

www.linuxcd.org

they seem anyway to be selling FreeBSD 5.0 for about $6 US. i can't
vouch for 
them myself, but my dad bought a Knoppix CD from them ...

HTH,

glenn becker


On Mon, 16 Jun 2003, 
Valerie Andrewlevich 
wrote:

 Don't have the juice.
 
 -Original Message-
 From: Kenneth Wayne Culver [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 16, 2003 5:08 PM
 To: Valerie Andrewlevich
 Cc: [EMAIL PROTECTED]
 Subject: RE: free?
 
 
  I am down with a few dollars.  However, after perusing a few of 
  the
  sites, the bare minimum cheapest going rate seems to be around $30. 
  Anyone know of any cheaper freebsd CDs out there?  Student rate 
  perhaps?
 
 Why can't you just download it?
 
 Ken
 
 
 
 ___
 [EMAIL PROTECTED] mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

-- 
+-+
There are no motionless targets
+-+



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


Re: SCSI tape drive...

2003-06-17 Thread Andreas Totlis
Do you have change any buffers(e.g. dump) in your backup scenario? 

Do you used a clean cartridge?

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


Re: restrictive ipfw ruleset and ftp

2003-06-17 Thread Kirk Strauser
At 2003-06-17T12:13:46Z, Andrew Thomson [EMAIL PROTECTED] writes:

 i have a list of ports that i let my users go out on: 80, 22, 143, 443 etc
 etc..

Out of curiosity, do you have control over the set of machines that your
users are connecting to?  I.e., are they uploading to your own FTP server at
a colo site?  If so, you might consider dropping FTP altogether in favor of
SFTP.  It's radically easier to firewall; you just open a single TCP port.
You also get decent authentication and end-to-end encryption.  Just a
thought.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: ping: sendto: No buffer space available

2003-06-17 Thread Bill Moran
[EMAIL PROTECTED] wrote:
On Tue, 17 Jun 2003, Bill Moran wrote:

What make/model of NIC are you using?
cerberus# ifconfig -a
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.0.3.2 netmask 0xff00 broadcast 10.0.3.255
ether 00:e0:81:21:45:8c
media: Ethernet autoselect (10baseT/UTP)
status: active
SNIP

The interface in question is 10.0.3.2.  That interface has worked
fine for over a year.  That driver is in use on several other systems for
several years each.  No problems until now.
I, too, have use Intel cards with the fxp driver quite often, with no
problems.
The only time I've ever seen this, the only thing that solved the problem
was swapping the network card out for a better one.
That's not to say it isn't a driver problem, as the new network card used
a different driver as well.
I think that the NIC is on the logic board.  I can try to install
a PCI card and use that in its place to see if the problem goes away.
Should I bother?
I would.  There are two possibilities that I would consider here:
a) The NIC has gone flaky with age
b) Newer drivers don't talk to that particular NIC as well as the old
Did you notice this starting to happen after a particular upgrade?  You
may be able to correlate this with a particular update to the driver by
looking at dates in the cvs logs.
This is hearsay, and I have no personal experience with it, but I've
seen lots of complaints across the lists about onboard cards that
use the fxp driver not being very good.  I've never had (nor heard of)
any problems with the PCI versions.
Another possibility is hardware ... have you added any hardware or
changed any BIOS settings?  There's the possibility of interrupt
problems.
I'm just shooting out ideas for you to work with.  Please distill
everything I've said through your own experience.  i.e. take it with
a grain of salt, as I don't _know_ what your problem is.
	FWIW, a reboot of the system did not help.
Never helped for me either.  You may want to check, but in my experience
the output of 'netstat -m' will also tell you that you have plenty of
network buffers available.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: free?

2003-06-17 Thread Bill Moran
Valerie Andrewlevich wrote:
Thanks to everyone who responded.  You are obviously a very enthusiastic
bunch about open source.
Enthusiastic?  I'd say we're outright zealots at times! ;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 16, 2003 5:20 PM
To: Valerie Andrewlevich
Cc: 'Kenneth Wayne Culver'; [EMAIL PROTECTED]
Subject: RE: free?



try the not-quite-linux-specific 

www.linuxcd.org

they seem anyway to be selling FreeBSD 5.0 for about $6 US. i can't
vouch for 
them myself, but my dad bought a Knoppix CD from them ...

HTH,

glenn becker

On Mon, 16 Jun 2003, 
Valerie Andrewlevich 
wrote:


Don't have the juice.

-Original Message-
From: Kenneth Wayne Culver [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 5:08 PM
To: Valerie Andrewlevich
Cc: [EMAIL PROTECTED]
Subject: RE: free?


I am down with a few dollars.  However, after perusing a few of 
the
sites, the bare minimum cheapest going rate seems to be around $30. 
Anyone know of any cheaper freebsd CDs out there?  Student rate 
perhaps?
Why can't you just download it?

Ken
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getting ordb.org to stop spam with sendmail

2003-06-17 Thread Dan Nelson
In the last episode (Jun 17), David Banning said:
 I am interested in getting my server to bounce mail from open relays.
 
 I have been to the ordb.org site. I have added the suggested line
 to my mc files;
 
 FEATURE(`dnsbl', `relays.ordb.org', ` 550 Email rejected due to sending server 
 misconfiguration - see http://www.ordb.org/faq/\#why_rejected;')dnl
 
 I have tried to test that it is working by adding;
 
 127.0.0.2  29.66.188.209.relays.ordb.org
  
 to my /etc/hosts file, as my ip address is 209.188.66.299

/etc/hosts is not examined for DNS lookups.  You'll have to set up a
fake relays.ordb.org zone in named if you want to test it on your own
IP.

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


squid port and freebsd 5.1

2003-06-17 Thread Christer.Gundersen
I cant compile squid for freebsd 5.1
(fresh cvsup`d ports!)

this error i get
===  Building for squid-2.5_3
Making all in lib
source='Array.c' object='Array.o' libtool=no  depfile='.deps/Array.Po' 
tmpdepfile='.deps/Array.TPo'  depmode=gcc3 /bin/sh ../cfg
aux/depcomp  cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -O 
-pipe -march=pentium2 -c `test -f Array.c
|| echo './'`Array.c
source='base64.c' object='base64.o' libtool=no  depfile='.deps/base64.Po' 
tmpdepfile='.deps/base64.TPo'  depmode=gcc3 /bin/sh ..
/cfgaux/depcomp  cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include 
-O -pipe -march=pentium2 -c `test -f base
64.c || echo './'`base64.c
source='getfullhostname.c' object='getfullhostname.o' libtool=no  
depfile='.deps/getfullhostname.Po' tmpdepfile='.deps/getfullho
stname.TPo'  depmode=gcc3 /bin/sh ../cfgaux/depcomp  cc -DHAVE_CONFIG_H -I. -I. 
-I../include -I../include -I../include -O -p
ipe -march=pentium2 -c `test -f getfullhostname.c || echo './'`getfullhostname.c
source='hash.c' object='hash.o' libtool=no  depfile='.deps/hash.Po' 
tmpdepfile='.deps/hash.TPo'  depmode=gcc3 /bin/sh ../cfgaux/
depcomp  cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -O 
-pipe -march=pentium2 -c `test -f hash.c || ec
ho './'`hash.c
source='heap.c' object='heap.o' libtool=no  depfile='.deps/heap.Po' 
tmpdepfile='.deps/heap.TPo'  depmode=gcc3 /bin/sh ../cfgaux/
depcomp  cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -O 
-pipe -march=pentium2 -c `test -f heap.c || ec
ho './'`heap.c
source='html_quote.c' object='html_quote.o' libtool=no  depfile='.deps/html_quote.Po' 
tmpdepfile='.deps/html_quote.TPo'  depmode
=gcc3 /bin/sh ../cfgaux/depcomp  cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-I../include -O -pipe -march=pentium2
-c `test -f html_quote.c || echo './'`html_quote.c
source='iso3307.c' object='iso3307.o' libtool=no  depfile='.deps/iso3307.Po' 
tmpdepfile='.deps/iso3307.TPo'  depmode=gcc3 /bin/s
h ../cfgaux/depcomp  cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include 
-O -pipe -march=pentium2 -c `test -f
iso3307.c || echo './'`iso3307.c
source='md5.c' object='md5.o' libtool=no  depfile='.deps/md5.Po' 
tmpdepfile='.deps/md5.TPo'  depmode=gcc3 /bin/sh ../cfgaux/depc
omp  cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -O -pipe 
-march=pentium2 -c `test -f md5.c || echo '.
/'`md5.c
In file included from ../include/squid_types.h:70,
 from ../include/md5.h:55,
 from md5.c:39:
/usr/include/sys/bitypes.h:25: conflicting types for `int8_t'
/usr/include/sys/stdint.h:38: previous declaration of `int8_t'
/usr/include/sys/bitypes.h:26: redefinition of `u_int8_t'
/usr/include/sys/types.h:109: `u_int8_t' previously declared here
/usr/include/sys/bitypes.h:27: redefinition of `int16_t'
/usr/include/sys/stdint.h:43: `int16_t' previously declared here
/usr/include/sys/bitypes.h:28: redefinition of `u_int16_t'
/usr/include/sys/types.h:110: `u_int16_t' previously declared here
/usr/include/sys/bitypes.h:29: redefinition of `int32_t'
/usr/include/sys/stdint.h:48: `int32_t' previously declared here
/usr/include/sys/bitypes.h:30: redefinition of `u_int32_t'
/usr/include/sys/types.h:111: `u_int32_t' previously declared here
*** Error code 1

Stop in /tmp/files/ports/www/squid/work/squid-2.5.STABLE2/lib.
*** Error code 1

Stop in /tmp/files/ports/www/squid/work/squid-2.5.STABLE2.
*** Error code 1

Stop in /files/ports/www/squid.



any suggestions?
I did a make buildworld installworld-thingy from 5.0 to 5.1 on the machine.

Med vennlig hilsen
Christer Gundersen
Telenor Kundeservice - Top10/Pri1

Kontakt Kundeservice for henvendelser vedrørende fasttelefoni på Dine Sider 
https://privat.telenor.no/dinesider/default.aspx?a=goKontaktOss  og vedrørende 
Internett på online.no http://www.online.no/ti/kundeservice/kontaktinfo.html . Du 
kan også kontakte oss på telefon 05000. 

Denne meldingen er bare ment for mottakeren, og kan inneholde fortrolige opplysninger 
eller annen privat informasjon. Hvis du mottar denne ved en feil, vær så vennlig å 
melde fra til avsenderen og slett originalen. All annen bruk av innholdet i e-posten 
er forbudt.

This message is for the designated recipient only, and may contain privileged 
proprietary, or otherwise private information. If you have received it in error, 
please notify the sender immediately and delete the original. Any other use of the 
e-mail by you is prohibited.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bad file descriptor

2003-06-17 Thread Bill Moran
Jaime wrote:
Can anyone explain this?  It looks like I can't delete a given
file.  This file has been causing weird errors with just about everything,
including tar, rm, ls -l, etc.  It resides on a vinum RAID-5 array, which
is the only strange thing I can think of about it.
zeus# ls
#pico29506# .login  .shrc  
 cdtashirt.jpg
.addressbook.login_conf .spamassassin  
 cdtashirtstitch.jpg
.addressbook.lu .mail_aliases   December 2002 
Newsletter.docs   dead.letter
.aspell.en.prepl.mailrc Documents  
 mail
.aspell.en.pws  .pinerc Lawrence.JPG   
 mbox
.aspell.english.prepl   .profileOctober 2002 
Newsletter.doc public_html
.aspell.english.pws .qmail.backup.from.cyrusOctober 2002 
Newsletter.doc.
.cshrc  .rhosts acker
zeus# rm #pico29506#
rm: #pico29506#: Bad file descriptor
zeus# whoami
root
That looks like a recovery file from the pico editor.

It's unlikely, but possible that your system crashed during a pico
editing session and left this file behind with a broken file
descriptor.  If such is the case, fsck might be able to fix it.
Try unmounting the filesystem (or booting into single user mode
if you must) and running 'fsck -f'.  Once it's finished and you've
rebooted the system, see if you can then delete the file.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI tape drive...

2003-06-17 Thread Peter Elsner
Yes, I have used a cleaning cartridge... (2 of them as a matter of fact).

Also replaced all the hardware, tape drive, scsi card, and cable...

I'm not sure how to change the buffers in my back up scenario...
I know it was working for 3 years, without incident, and then
suddenly stopped, right about the time I upgraded from 4.7 to 4.8...
Nothing else (to my knowledge) changed...

Peter

At 04:03 PM 6/17/2003 +0200, you wrote:
Do you have change any buffers(e.g. dump) in your backup scenario?

Do you used a clean cartridge?

Andreas -
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.

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


Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote:
 
 Basically, what I want to do is remove several entries from the *front* 
 of the dynamic section.  Actually, I would settle for just removing all 
 of a certain tag (such as DT_NEEDED) from the dynamic section.

It's more constructive to fix the linker than it is to patch the
ELF files created by it. The linker knows which libraries are
really needed and should be able to create the minimal list of
(true) dependencies.

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


Re: Tools to modify shared libraries

2003-06-17 Thread Joe Kelsey
Marcel Moolenaar wrote:
On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote:

Basically, what I want to do is remove several entries from the *front* 
of the dynamic section.  Actually, I would settle for just removing all 
of a certain tag (such as DT_NEEDED) from the dynamic section.


It's more constructive to fix the linker than it is to patch the
ELF files created by it. The linker knows which libraries are
really needed and should be able to create the minimal list of
(true) dependencies.
This cannot be accomplished by fixing the linker.  The issue is one of 
attempting to use a *linux* shared library in a native application. 
Have you ever lookad at the flashpluginwarpper port?  It provides a 
library to perload which intercepts the linux syscalls and translates 
them to bsd syscalls to allow linux shared libraries (specifically, the 
linux flash library) in native binaries.

This works fine for the old flash plugin since that shared library did 
not include any DT_NEEDED entires in its .dynamic section.  However, the 
new Flash 6 linux shared library has a number of explicit references to 
linux-only shared libraries as DT_NEEDED references in its .dynamic 
section.  This prevents us from using the flashpluginwrapper trick to 
allow use of Flash 6 in native Mozilla.

Do you understand now?

/Joe

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


Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote:
 Marcel Moolenaar wrote:
 On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote:
 
 Basically, what I want to do is remove several entries from the *front* 
 of the dynamic section.  Actually, I would settle for just removing all 
 of a certain tag (such as DT_NEEDED) from the dynamic section.
 
 
 It's more constructive to fix the linker than it is to patch the
 ELF files created by it. The linker knows which libraries are
 really needed and should be able to create the minimal list of
 (true) dependencies.
 
 This cannot be accomplished by fixing the linker.  The issue is one of 
 attempting to use a *linux* shared library in a native application. 

Linux uses the same linker (GNU ld). Fixing the linker will have the
same effect on Linux as it will have on FreeBSD and hence will prevent
unnecessary dependencies in Linux libraries to Linux libraries and
thus remove the need to patch ELF files in the long run.

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


devfs problem (was: Re: 5.x usb gphoto

2003-06-17 Thread Jesse Guardiani
Jesse Guardiani wrote:

 Howdy list,
 
 I'm trying to get gphoto2 to connect to my digital
 camera as a NON root user. (it works fine when root,
 but that's a security risk)
 
 Under 4.x, all I had to do was make the appropriate
 USB devices group readable and writeable, then add
 users to the appropriate group (operator, usually).
 
 Under 5.x, I'm having more trouble. The /dev/usb*
 devices have the appropriate group permissions out
 of the box, but I apparently also need group write
 permission to the /dev/ugen* devices.
 
 Here are the ugen permissions when my camera is attached
 to the usb port:
 
 [11:[EMAIL PROTECTED]:[/etc]# ls -al /dev/ugen*
 crw-r--r--  1 root  operator  114,   0 Jun 13 09:07 /dev/ugen0
 crw-r--r--  1 root  operator  114,   1 Jun 13 09:07 /dev/ugen0.1
 crw-r--r--  1 root  operator  114,   2 Jun 13 09:07 /dev/ugen0.2
 
 
 The problem is that I'm unfamiliar with devfs, and
 I can't figure out how to get the ugen devices to
 appear with group writable permissions.
 
 
 Any help appreciated! Thanks.
 

Anyone? Anyone at all? Surely someone here has a wee bit of
experience with devfs...



-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


test

2003-06-17 Thread Don Buckley
sorry, please ignore
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getting ordb.org to stop spam with sendmail

2003-06-17 Thread David Banning
On Tue, Jun 17, 2003 at 11:19:40AM +0200, Ruben de Groot wrote:
 On Tue, Jun 17, 2003 at 10:06:22AM +0300, ODHIAMBO Washington typed:
  
  I believe the ordb dnslists are not free anymore, but that is upto you to
  go and find out. Perhaps you already did.
 
 ordb.org is free and AFAIK they have no intention to change that policy.

Yes, it looked that way to me when I checked too.

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


Re: Tools to modify shared libraries

2003-06-17 Thread Joe Kelsey
Marcel Moolenaar wrote:
On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote:

Marcel Moolenaar wrote:

On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote:


Basically, what I want to do is remove several entries from the *front* 
of the dynamic section.  Actually, I would settle for just removing all 
of a certain tag (such as DT_NEEDED) from the dynamic section.


It's more constructive to fix the linker than it is to patch the
ELF files created by it. The linker knows which libraries are
really needed and should be able to create the minimal list of
(true) dependencies.
This cannot be accomplished by fixing the linker.  The issue is one of 
attempting to use a *linux* shared library in a native application. 


Linux uses the same linker (GNU ld). Fixing the linker will have the
same effect on Linux as it will have on FreeBSD and hence will prevent
unnecessary dependencies in Linux libraries to Linux libraries and
thus remove the need to patch ELF files in the long run.
The problem cannot be resolved by fixing ld.  The problem arises from 
people who specify unnecessary libraries on their ld command lines.  ld 
cannot tell the difference between a required library and an unnecessary 
library at link time.  Only the runtime loader can do this, and the 
FreeBSD runtime loader has numerous problems in this area.

Sometimes a shared library has to include a required library reference 
since the shared library author knows in advance that the programs using 
the library do not have the same requirements.  Most often, clueless 
programmers reference every single library ever known to them on their 
linker command lines in the off-chance that it *might* make a difference 
at load time.  However, this leads to shared libraries containing 
references to explicitlyly versioned libraries, thus leading to the 
proliferation of unnecessarily versioned shared libraries, etc., etc.

I can think of many reasons for post-linker tools to modify shared 
libraries.  Most of them involve fixing the egregious mistakes 
perpetrated by users who have not thought out what requirements a shared 
library outgt to carry with it.  Others involve patching and other kinds 
of code modification.

/Joe

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


Nvidia resolution problem

2003-06-17 Thread Rik Scarborough
I cannot get the resolution for X above 800x600 (although I'm not sure,
it could be one smaller than that).  The main problem is I can't see all
the dialogs for KDE; they won't fit on the screen.

I've upgraded the box to FreeBSD 4.8 release.  I've uninstalled and
reinstalled XFree86 to the latest ports (the overall port is
XFree86-4.3.0,1).  I'm using the driver from the ports.

the Display section has the following modes:
1024x768 800x600 640x480

Any ideas on how to increase the resolution?

Thanks,

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


Re: Nvidia resolution problem

2003-06-17 Thread Kenneth Culver
Does your monitor support higher resolutions? If you have an old monitor,
did you put proper values in the monitor section of your XF86Config?

Ken

On Tue, 17 Jun 2003, Rik Scarborough wrote:

 I cannot get the resolution for X above 800x600 (although I'm not sure,
 it could be one smaller than that).  The main problem is I can't see all
 the dialogs for KDE; they won't fit on the screen.

 I've upgraded the box to FreeBSD 4.8 release.  I've uninstalled and
 reinstalled XFree86 to the latest ports (the overall port is
 XFree86-4.3.0,1).  I'm using the driver from the ports.

 the Display section has the following modes:
 1024x768 800x600 640x480

 Any ideas on how to increase the resolution?

 Thanks,

 ~Rik
 ___
 [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: getting ordb.org to stop spam with sendmail

2003-06-17 Thread David Banning
On Tue, Jun 17, 2003 at 09:13:46AM -0500, Dan Nelson wrote:
 In the last episode (Jun 17), David Banning said:
  I am interested in getting my server to bounce mail from open relays.
w do I test if my mailserver is actually using ORDB.org?


  
  I have been to the ordb.org site. I have added the suggested line
  to my mc files;
  
  FEATURE(`dnsbl', `relays.ordb.org', ` 550 Email rejected due to sending server 
  misconfiguration - see http://www.ordb.org/faq/\#why_rejected;')dnl
  
  I have tried to test that it is working by adding;
  
  127.0.0.2  29.66.188.209.relays.ordb.org
   
  to my /etc/hosts file, as my ip address is 209.188.66.299
 
 /etc/hosts is not examined for DNS lookups.  You'll have to set up a
 fake relays.ordb.org zone in named if you want to test it on your own
 IP.

Dan, your advice seems to contradict the ordb.org website which reads;


How do I test if my mailserver is actually using ORDB.org?

On Unix based systems:

Become the root user:

$ su - Edit /etc/hosts in your favourite editor: # vim /etc/hosts
Add the following line, substituting for your your local systems
inverted IP address: 

127.0.0.2 my reversed IP address.relays.ordb.org

Local system, in this case, refers to the host from which you will
be sending the test email.  You build an inverted IP address by
taking your real IP address (e.g. 62.243.214.83) and inverting the
octets. (e.g. 83.214.243.62).  Once you have accomplished this,
sending email to your protected mail server from your local system
should result in a rejection notice, or whatever you have configured
your system for.

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


Re: devfs problem (was: Re: 5.x usb gphoto

2003-06-17 Thread Thomas T. Veldhouse
I just looked in /etc/devfs.conf ... so here is a guess ;)

# Allow members of group operator to cat things to the speaker
perm   ugen0 0664

Tom Veldhouse

- Original Message -
From: Jesse Guardiani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:56 AM
Subject: devfs problem (was: Re: 5.x  usb  gphoto


 Jesse Guardiani wrote:

  Howdy list,
 
  I'm trying to get gphoto2 to connect to my digital
  camera as a NON root user. (it works fine when root,
  but that's a security risk)
 
  Under 4.x, all I had to do was make the appropriate
  USB devices group readable and writeable, then add
  users to the appropriate group (operator, usually).
 
  Under 5.x, I'm having more trouble. The /dev/usb*
  devices have the appropriate group permissions out
  of the box, but I apparently also need group write
  permission to the /dev/ugen* devices.
 
  Here are the ugen permissions when my camera is attached
  to the usb port:
 
  [11:[EMAIL PROTECTED]:[/etc]# ls -al /dev/ugen*
  crw-r--r--  1 root  operator  114,   0 Jun 13 09:07 /dev/ugen0
  crw-r--r--  1 root  operator  114,   1 Jun 13 09:07 /dev/ugen0.1
  crw-r--r--  1 root  operator  114,   2 Jun 13 09:07 /dev/ugen0.2
 
 
  The problem is that I'm unfamiliar with devfs, and
  I can't figure out how to get the ugen devices to
  appear with group writable permissions.
 
 
  Any help appreciated! Thanks.
 

 Anyone? Anyone at all? Surely someone here has a wee bit of
 experience with devfs...



 --
 Jesse Guardiani, Systems Administrator
 WingNET Internet Services,
 P.O. Box 2605 // Cleveland, TN 37320-2605
 423-559-LINK (v)  423-559-5145 (f)
 http://www.wingnet.net


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


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


Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 09:13:04AM -0700, Joe Kelsey wrote:
 It's more constructive to fix the linker than it is to patch the
 ELF files created by it. The linker knows which libraries are
 really needed and should be able to create the minimal list of
 (true) dependencies.
 
 This cannot be accomplished by fixing the linker.  The issue is one of 
 attempting to use a *linux* shared library in a native application. 
 
 
 Linux uses the same linker (GNU ld). Fixing the linker will have the
 same effect on Linux as it will have on FreeBSD and hence will prevent
 unnecessary dependencies in Linux libraries to Linux libraries and
 thus remove the need to patch ELF files in the long run.
 
 
 The problem cannot be resolved by fixing ld.  The problem arises from 
 people who specify unnecessary libraries on their ld command lines.  ld 
 cannot tell the difference between a required library and an unnecessary 
 library at link time.

Yes it can. Symbol resolution is a fundamental part in linking.
Hence, the linker has all the information it needs to filter the
gratuitously long list of libraries programmers tend to give it
and keep the libraries that actually contributed to the link.

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


Re: bad file descriptor

2003-06-17 Thread Jaime
On Tue, 17 Jun 2003, heikki soerum wrote:
  zeus# rm #pico29506#
  rm: #pico29506#: Bad file descriptor
  zeus# whoami
  root

 # is usually an special character, I usually delete such files with
 Midnight Commander (mc shell), another possibility might be to not use
  but rather use an \ backslash before every special character.

I tried that first.  That didn't work, either.  :(

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


Re: Nvidia resolution problem

2003-06-17 Thread Rik Scarborough
On Tue, 17 Jun 2003, Kenneth Culver wrote:
 Does your monitor support higher resolutions? If you have an old monitor,
 did you put proper values in the monitor section of your XF86Config?

It's a new flat screen monitor.  I've pretty much ignored that, taking
the values from the setup and concentrated on the driver.  I'll take a
look at that.

~Rik
 
 On Tue, 17 Jun 2003, Rik Scarborough wrote:
 
  I cannot get the resolution for X above 800x600 (although I'm not sure,
  it could be one smaller than that).  The main problem is I can't see all
  the dialogs for KDE; they won't fit on the screen.
 
  I've upgraded the box to FreeBSD 4.8 release.  I've uninstalled and
  reinstalled XFree86 to the latest ports (the overall port is
  XFree86-4.3.0,1).  I'm using the driver from the ports.
 
  the Display section has the following modes:
  1024x768 800x600 640x480
 
  Any ideas on how to increase the resolution?
 
  Thanks,
 
  ~Rik
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: devfs problem (was: Re: 5.x usb gphoto

2003-06-17 Thread Thomas T. Veldhouse
It should have read something nicer in the comment though:

# Allow members of group operator to write to ugen0
perm   ugen0 0664

 Tom Veldhouse

- Original Message -
From: Thomas T. Veldhouse [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: FreeBSD-Questions [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:20 AM
Subject: Re: devfs problem (was: Re: 5.x  usb  gphoto


 I just looked in /etc/devfs.conf ... so here is a guess ;)

 # Allow members of group operator to cat things to the speaker
 perm   ugen0 0664

 Tom Veldhouse

 - Original Message -
 From: Jesse Guardiani [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 10:56 AM
 Subject: devfs problem (was: Re: 5.x  usb  gphoto


  Jesse Guardiani wrote:
 
   Howdy list,
  
   I'm trying to get gphoto2 to connect to my digital
   camera as a NON root user. (it works fine when root,
   but that's a security risk)
  
   Under 4.x, all I had to do was make the appropriate
   USB devices group readable and writeable, then add
   users to the appropriate group (operator, usually).
  
   Under 5.x, I'm having more trouble. The /dev/usb*
   devices have the appropriate group permissions out
   of the box, but I apparently also need group write
   permission to the /dev/ugen* devices.
  
   Here are the ugen permissions when my camera is attached
   to the usb port:
  
   [11:[EMAIL PROTECTED]:[/etc]# ls -al /dev/ugen*
   crw-r--r--  1 root  operator  114,   0 Jun 13 09:07 /dev/ugen0
   crw-r--r--  1 root  operator  114,   1 Jun 13 09:07 /dev/ugen0.1
   crw-r--r--  1 root  operator  114,   2 Jun 13 09:07 /dev/ugen0.2
  
  
   The problem is that I'm unfamiliar with devfs, and
   I can't figure out how to get the ugen devices to
   appear with group writable permissions.
  
  
   Any help appreciated! Thanks.
  
 
  Anyone? Anyone at all? Surely someone here has a wee bit of
  experience with devfs...
 
 
 
  --
  Jesse Guardiani, Systems Administrator
  WingNET Internet Services,
  P.O. Box 2605 // Cleveland, TN 37320-2605
  423-559-LINK (v)  423-559-5145 (f)
  http://www.wingnet.net
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

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


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


Re: Tools to modify shared libraries

2003-06-17 Thread Joe Kelsey
Marcel Moolenaar wrote:
Yes it can. Symbol resolution is a fundamental part in linking.
Hence, the linker has all the information it needs to filter the
gratuitously long list of libraries programmers tend to give it
and keep the libraries that actually contributed to the link.
I know of no way to do this in the case of shared libraries.  When 
linking shared libraries, the linker *cannot* resolve any references to 
other shared libraries other than list them in the .dynamic section with 
some sort of tag such as DT_NEEDED.  Please explain to me how the linker 
can prune the shared library list at link time.

Sorry that this has veered off into a dead-end.  I promise to cut the 
mailing list from any further discussions on this dead-end thread.

/Joe

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


Re: Nvidia resolution problem

2003-06-17 Thread Kenneth Culver


On Tue, 17 Jun 2003, Rik Scarborough wrote:

 On Tue, 17 Jun 2003, Kenneth Culver wrote:
  Does your monitor support higher resolutions? If you have an old monitor,
  did you put proper values in the monitor section of your XF86Config?

 It's a new flat screen monitor.  I've pretty much ignored that, taking
 the values from the setup and concentrated on the driver.  I'll take a
 look at that.


Another thing, what do you have your default depth at? you should add the
resolutions you want to the default depth:


Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 16
SubSection Display
Depth 1
EndSubSection
SubSection Display
Depth 4
EndSubSection
SubSection Display
Depth 8
EndSubSection
SubSection Display
Depth 15
EndSubSection
SubSection Display
Depth 16
Modes 1280x1024 1152x864 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth 24
EndSubSection
EndSection

Ken

 ~Rik
 
  On Tue, 17 Jun 2003, Rik Scarborough wrote:
 
   I cannot get the resolution for X above 800x600 (although I'm not sure,
   it could be one smaller than that).  The main problem is I can't see all
   the dialogs for KDE; they won't fit on the screen.
  
   I've upgraded the box to FreeBSD 4.8 release.  I've uninstalled and
   reinstalled XFree86 to the latest ports (the overall port is
   XFree86-4.3.0,1).  I'm using the driver from the ports.
  
   the Display section has the following modes:
   1024x768 800x600 640x480
  
   Any ideas on how to increase the resolution?
  
   Thanks,
  
   ~Rik
 ___
 [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: Buildworld ERROR CODE 2

2003-06-17 Thread Joshua Oreman
On Tue, Jun 17, 2003 at 04:23:10AM -0600 or thereabouts, Duke, Brian seemed to write:
 I think you may have the answer Kent...
 in my make.conf I did allow the SUP = YES directives from the example file 
 /usr/share/examples/etc/make.conf
 I just took that section out based on your recommendation below. So the only things 
 in my make is now:
 PERL5 module stuff that was already enabled in make.conf after FTP intallation and 
 CPUTYPE=i586. The config 
 seems to be working. Thanks for your help. I would have never suspected the CVSUP 
 section. 
 
 I'll run cvsup again in the future when I don't need sleep. 

People often feel that they need to reinstall in cases such as this.
YOU DON'T HAVE TO.
Just rm -rf /usr/obj, re-cvsup, and make buildworld again.

-- Josh

 
 -Original Message-
 From: Kent Stewart [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 16, 2003 11:16 PM
 To: Duke, Brian; [EMAIL PROTECTED]
 Subject: Re: Buildworld ERROR CODE 2
 
 
 On Monday 16 June 2003 09:02 pm, Duke, Brian wrote:
  ok I didn't get an answer on my first email so I tried to do a complete
  buildworld here is a transcript of the output:
 
  install -C -o root -g wheel -m 444   libc_pic.a  
  /usr/obj/usr/src/i386/usr/lib 1 error
 
  I made only moderate changes to the make.conf...like my CPUBuild=i586.
 
 This looks like one of those problems they have been dealing with on -current. 
 They changed the -std option and I think you need to re-cvsup and start over.
 
 The old rule on make.conf is that if you add something and it doesn't work. 
 Comment it out and start over. I think you have dug a deep hole and fell in. 
 I don't have any idea on the solution.
 
 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]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ping: sendto: No buffer space available

2003-06-17 Thread jaime
On Tue, 17 Jun 2003, Bill Moran wrote:
  I think that the NIC is on the logic board.  I can try to install
  a PCI card and use that in its place to see if the problem goes away.
  Should I bother?

 I would.  There are two possibilities that I would consider here:
 a) The NIC has gone flaky with age
 b) Newer drivers don't talk to that particular NIC as well as the old

 Did you notice this starting to happen after a particular upgrade?  You
 may be able to correlate this with a particular update to the driver by
 looking at dates in the cvs logs.

Nope.  The problem is only a few days old and the OS is
4.7-Stable.  I think that the last update was in February or so.


 This is hearsay, and I have no personal experience with it, but I've
 seen lots of complaints across the lists about onboard cards that
 use the fxp driver not being very good.  I've never had (nor heard of)
 any problems with the PCI versions.

Hrm  An interesting thought


 Another possibility is hardware ... have you added any hardware or
 changed any BIOS settings?  There's the possibility of interrupt
 problems.

No.  The system was up for more than 2 months before the problems
began.


 I'm just shooting out ideas for you to work with.  Please distill
 everything I've said through your own experience.  i.e. take it with
 a grain of salt, as I don't _know_ what your problem is.

I always try to take email list advice this way.  :)


 Never helped for me either.  You may want to check, but in my experience
 the output of 'netstat -m' will also tell you that you have plenty of
 network buffers available.

bash-2.05b$ netstat -m
144/768/26624 mbufs in use (current/peak/max):
139 mbufs allocated to data
5 mbufs allocated to packet headers
138/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

That was durring normal operation.  The following are at the tail
end of one of the outages:

bash-2.05b$ netstat -m
477/768/26624 mbufs in use (current/peak/max):
386 mbufs allocated to data
91 mbufs allocated to packet headers
384/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
bash-2.05b$ netstat -m
476/768/26624 mbufs in use (current/peak/max):
387 mbufs allocated to data
89 mbufs allocated to packet headers
385/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
bash-2.05b$ netstat -m
182/768/26624 mbufs in use (current/peak/max):
149 mbufs allocated to data
33 mbufs allocated to packet headers
147/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
bash-2.05b$ netstat -m
156/768/26624 mbufs in use (current/peak/max):
153 mbufs allocated to data
3 mbufs allocated to packet headers
151/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
bash-2.05b$ netstat -m
135/768/26624 mbufs in use (current/peak/max):
134 mbufs allocated to data
1 mbufs allocated to packet headers
132/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
bash-2.05b$ netstat -m
144/768/26624 mbufs in use (current/peak/max):
139 mbufs allocated to data
5 mbufs allocated to packet headers
136/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

It looks like something is causing it to pile up packets in the
buffers temporarily.  Any thoughts?  In the mean time, I will see if I can
dig up a PCI ethernet card.

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


SSH: connection refused

2003-06-17 Thread haifa touati
Hi all,
I tried to ssh to a remote machine from a FreeBSD 4.5 machine, but I received ... 
connection refused message. However I succeeded to connect to this machine from 
Windows. Are there any specifics settings to fix this?
Thanks in advance,
Haïfa.



-
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld failed

2003-06-17 Thread Joshua Oreman
On Tue, Jun 17, 2003 at 03:50:41PM +0400 or thereabouts, ??? ?? seemed to 
write:
 Hi, All.
 
 On my machine with FreeBSD 4.4-RELEASE I was done next steps:
 
 Edit /usr/local/etc/CVSUP.conf for next settings:
 
 *default host=cvsup4.ru.FreeBSD.org
 *default base=/var/cvsup
 *default prefix=/var/cvsup
 *default release=cvs tag=RELENG_4
 *default delete use-rel-suffix
 #*default compress
 src-all
 
 REM: /var/cvsup is selected because it (/var) has free space (3Gb).
 
 File /etc/make.conf have next special strings (other strings is
 default):
 NO_MAILWRAPPER=true
 NO_OPENSSH= true
 NO_OPENSSL= true
 NO_SENDMAIL=true
 NO_X=   true
 NOGAMES=true
 NOUUCP= true
 
 # cd /var/cvsup/src
 # make cleandir
 # make cleandir
 # cvsup -g -L 2 /usr/local/etc/CVSUP.conf
 # script /var/log/mk_bworld.log
 # make buildworld
 # exit
 
 make buildworld was fail with errors. Latest string in
 /var/log/mk_bworld.log is:
 
 === gnu/usr.bin/binutils
 === gnu/usr.bin/binutils/libiberty
 cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
 -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty
 -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
 -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binu
 tils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror  -c
 /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binuti
 ls/libiberty/argv.c -o argv.o
 cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
 -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty
 -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
 -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binu
 tils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror  -c
 /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binuti
 ls/libiberty/choose-temp.c -o choose-temp.o
 cc1: warnings being treated as errors
  ^ Well, that's why it errored :-)
 /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binuti
 ls/libiberty/choose-temp.c: In function `choose_temp_base':
 /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binuti
 ls/libiberty/choose-temp.c:68: warning: implicit declaration of function
 `mktemp'

Send us the output of these commands:
$ grep mktemp /usr/include/*.h
$ nm /usr/lib/libc.so.* | grep mktemp
$ cat /var/cvsup/src/contrib/binutils/libiberty/choose-temp.c

-- Josh

 *** Error code 1
 
 Stop in /var/cvsup/src/gnu/usr.bin/binutils/libiberty.
 *** Error code 1
 
 Stop in /var/cvsup/src/gnu/usr.bin/binutils.
 *** Error code 1
 
 Stop in /var/cvsup/src/gnu/usr.bin.
 *** Error code 1
 
 Stop in /var/cvsup/src/gnu.
 *** Error code 1
 
 Stop in /var/cvsup/src.
 *** Error code 1
 
 Stop in /var/cvsup/src.
 *** Error code 1
 
 Stop in /var/cvsup/src.
 
 Full log file on http://www.nashe.ru/mk_bworld.log (~6 Mb)
 /etc/make.conf is on http://www.nashe.ru/make.conf
 
 Any ideas welcome...
 What and Why I need to resolve this problem?
 
 --
 Viktor M. Gnitiyov
 e-mail: [EMAIL PROTECTED]


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


Re: SSH: connection refused

2003-06-17 Thread Kenneth Culver


On Tue, 17 Jun 2003, [iso-8859-1] haifa touati wrote:

 Hi all, I tried to ssh to a remote machine from a FreeBSD 4.5 machine,
 but I received ... connection refused message. However I succeeded to
 connect to this machine from Windows. Are there any specifics settings
 to fix this? Thanks in advance, Haïfa.

What were you using to connect from the windows machine?

Ken



 -
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Testez le nouveau Yahoo! Mail
 ___
 [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: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 09:31:54AM -0700, Joe Kelsey wrote:
 Marcel Moolenaar wrote:
 Yes it can. Symbol resolution is a fundamental part in linking.
 Hence, the linker has all the information it needs to filter the
 gratuitously long list of libraries programmers tend to give it
 and keep the libraries that actually contributed to the link.
 
 
 I know of no way to do this in the case of shared libraries.  When 
 linking shared libraries, the linker *cannot* resolve any references to 
 other shared libraries other than list them in the .dynamic section with 
 some sort of tag such as DT_NEEDED.  Please explain to me how the linker 
 can prune the shared library list at link time.

If a symbol is unresolved, it must be present in one of the libraries
on the link line. If the symbol is in an archive library, you pull in
the code. Otherwise, if it's in a shared library, you record the
dependency on that library.

In the end you have no unresolved symbols, all code from archives has
been linked in and you have a complete list of dependencies that is a
subset of the libraries given on the command line.

For partial linking (incremental linking) the list of unresolved
symbols does not have to be empty.

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


Re: Tools to modify shared libraries

2003-06-17 Thread Alexander Kabaev
On Tue, 17 Jun 2003 09:01:41 -0700
Marcel Moolenaar [EMAIL PROTECTED] wrote:

 On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote:
 Linux uses the same linker (GNU ld). Fixing the linker will have the
 same effect on Linux as it will have on FreeBSD and hence will prevent
 unnecessary dependencies in Linux libraries to Linux libraries and
 thus remove the need to patch ELF files in the long run.
 

LD putting a library in DT_NEEDED regardless of whether or not library
exports any required symbols as long as it appears on command line is a
feature, not a bug AFAIK.

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


Re: Booting takes too long. Why? (/ was not properly dismounted)

2003-06-17 Thread Shantanu Mahajan
+-- Rohit [freebsd] [16-06-03 08:42 +]:
| Thanks for your help Jud, you are absolutely right. With issuing the halt 
| command, there are no excessive delays in booting. Inface booting is really 
| fast.
| 
| Thanks
| 
| Rohit
Rohit:
You mean to say that when you use 'halt' instead of
'shutdown -h', your machince boots faster?

Roger:
I don't think that 'shutdown -h' = 'halt'
Rohit is not invoking halt.
'shutdown -h -o' = 'halt'

Rohit:
Can you try 'shutdown -h -o' and let us know what's the
result?

Regards,
Shantanu

| 
| 
| On Saturday 14 June 2003 20:04, Jud wrote:
|  On Sat, 14 Jun 2003 12:28:23 +0530, Shantanu Mahajan
| 
|  [EMAIL PROTECTED] wrote:
|   | I shutdown using the shutdown -h now command
|   | or reboot using reboot now
|  
| did you try 'halt'?
| what msg. do you see after the shutdown is complete?
| 
|  From the halt(8) man page:
| 
|  Normally, the shutdown(8) utility is used when the system needs to be
|  halted or restarted, giving users advance warning of their impending doom
|  and cleanly terminating specific programs.
| 
|  From the shutdown(8) man page:
| 
|  The following options are available:
|   -h  The system is halted at the specified time.
| 
|  So Rohit is in fact using 'halt' in the way it is normally invoked, as an
|  option to 'shutdown.'  Is there a reason that 'halt' without 'shutdown'
|  would be preferable in this case?
| 
|  Jud

-- 
Nice tcsh prompt: set prompt = '[EMAIL PROTECTED]:%~%# '
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Keylogger For FreeBSD

2003-06-17 Thread Rohit
Hi,
I'd like to write a keylogger for my freebsd box. Something that would log all 
keyboard activity on my pc. I have peeked at the keyboard files in the 
kernel. However, if someone could point me int the right direction... it will 
be greatly appreciated.
 
note: I know theres code out there, but I would like to write my own for 
learning purpose. 

Thanks
Rohit 


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


Re: devfs problem (was: Re: 5.x usb gphoto

2003-06-17 Thread Jesse Guardiani
Thomas T. Veldhouse wrote:

 It should have read something nicer in the comment though:
 
 # Allow members of group operator to write to ugen0
 perm   ugen0 0664

Is that supposed to work for devices that always exist, or
for devices that are created on the fly?

The ugen device is created when I plug my camera in.

The above doesn't effect it (because I think it is only
run at boot).

I haven't rebooted my machine to test, but I shouldn't have
to, right? I should just have to plug my camera in, which
I did, and it didn't effect the ugen device.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: television cable internet service

2003-06-17 Thread Kliment Andreev
 computer saw the cable network, but the cable refused to accept a logon
 request from the computer.  The technician said that he believed that
 neither B.S.D. nor any other Unix, nor any Microsoft product that could be
 programmed to act as a server was acceptable.  Has any other person had
the

I don't know about Comcast, but they probably also run a DHCP server. So you
need to tell
to your NIC to act as a DHCP client. Put the following line in /etc/rc.conf

ifconfig_nic0=DHCP

where nic0 is the name of your NIC. (Check the name with # ifconfig -a)

You should get some dynamic IP.

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


Re: television cable internet service

2003-06-17 Thread Bill Moran
[EMAIL PROTECTED] wrote:
Greetings fellow B.S.D. enthusiasts.   Recently, I requested installation
of a television cable at my home in Sacramento, California.  The cable
operator is Comcast.  I requested connection of the television cable to my
computer, which is a service that the operator advertises profusely.  The
telephone sales representative assured me that all things are possible,
including both a Unix operating system, and an in-house L.A.N.  The
installation technician spent some time installing the cable, then attached
it through a Motorola DOCSYS modem to the NIC board on the computer.  The
computer saw the cable network, but the cable refused to accept a logon
request from the computer.  The technician said that he believed that
neither B.S.D. nor any other Unix, nor any Microsoft product that could be
programmed to act as a server was acceptable.
This is ridiculous.  The requirement that any product that could be programmed
to act as a server would eliminate EVERY SINGLE operating system.  Including
all versions of Windows and Macintosh.  Hell, even DOS.
The technician didn't know what he was talking about and made up an excuse
so he didn't have to figure out out.
Has any other person had the
same problem?
Yes, it's called a bad economy.  Companies hire incompetent workers because
they're cheap, and then the customer pays the price when they're unable to
do their job.
How did you solve it?
Specifically, I hooked up a client with Comcast in my area (western PA) and
there was nothing magical that needed done.  Comcast in this area supports
all the standard auth protocols.
However, having experience with cable Internet, I've had multiple occasions
where they just hooked things up wrong and tried to blame it on someone else.
Often, cable companies sub-contract the work to other companies, and sometimes
these other companies don't know their butt from a hole in the ground.
You claim The computer saw the cable network, what evidence do you have of
that?  Flashing lights do not guarantee a solid network connection.
If I insist on a B.S.D. connection,
how do I locate a B.S.D. friendly internet service provider in Sacramento?
Well, you've taken the first step.  You're likely to get emails from BSD-
friendly providers who read this list.  Another idea is to post to
[EMAIL PROTECTED] and ask if anyone on that list offers high-speed
residential service in your area.  WARNING: a posting like that would
technically be off-topic for that list, although I don't think anyone will
be too upset.
If I insist on B.S.D., am I confined to a 56 kb Hayes-type telephone modem?
Heaven's no.  I use Adelphia, which is total CRAP Internet service, but I'm
still able to make it work (in spite of their lousy technicians).  I'm looking
to switch to a _real_ provider (city-net in this area is VERY good, but they
can't get service to my location)
Any comments or advice is appreciated.  [EMAIL PROTECTED]
I would call Comcast's technical support and ask What protocol do you use
for authentication?  Write down the details.  It's probably PPPOE, but there
are other possibilites.  Once you have those details, post another question to
the list and it's likely that someone here can tell you how to set things up
(or point you to a web page that explains it).
There's also a possibility that someone in your area will read this post and
contact you with an explanation of how they got theirs working.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serial Console Port Settings ?

2003-06-17 Thread Dancho Penev
On Tue, Jun 17, 2003 at 05:29:03AM -0700, Dave Bloodgood wrote:
From: Dave Bloodgood [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Tue, 17 Jun 2003 05:29:03 -0700
Subject: Serial Console Port Settings ?
In order to trouble shoot booting a newer pc, I have tried to configure a serial console...Unfortunately, I dont 
know what port settings ( baud rate, # bits, parity etc ) to use on the receiving machine...Ive tried lots of combinations
at get gibberish at low settingslots of @ signs at 9600 and nothing at speeds above 9600. Is there an auto-baud
routine ?
FreeBSD Handbook is your friend 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html

9600 baud, 8 bits, no parity, 1 stop bit.

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


Network printing via a win2k domain?

2003-06-17 Thread Dragoncrest
	Hi all.  Ok, here's my situation.  Just recently at work we switched over 
to our network being managed by a windows 2000 domain.  (Stupid in my 
opinion, but they don't listen to me.  Sheesh)  One of the criteria for 
printing is I have to login to the domain in order to be able to print to 
our network based printer.  So that's my dillema.  I'm not sure if I can 
setup Cups to do this or if I need to install Samba, or some other printer 
software.  I'd prefer to avoid using samba if at all possible cause that 
opens up a whole new can of worms.

Cliff notes version of this:
Need to login to domain to be able to print.
Printer is a Ricoh network printer.
	Any help is greatly welcome, even if it's just a nudge in the right 
direction.  Thanks.

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


KXMLEditor crashes in startup

2003-06-17 Thread Augusto Jun Devegili
Hi all,

I've just installed /usr/ports/editors/kxmleditor 
(kxmleditor-0.8.1.tar.gz). Make was ok, but when I start it the 
following messages are written to the console:

kdecore (KLibLoader): WARNING: library=libkxmleditorpart: 
file=/usr/local/lib/libkxmleditorpart.la: 
/usr/local/lib/libkxmleditorpart.so.1: Undefined symbol 
_ZN13DlgSearchBase14languageChangeEv
kxmleditor: FATAL: KXMLEditorShell::KXMLEditorShell no libkxmleditorpart 
found
KCrash: crashing crashRecursionCounter = 2
KCrash: Application Name = kxmleditor path = unknown pid = 12603

Any ideas? Should I contact the author?

TIA and regards,

Augusto Jun Devegili

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


Re: USB/NE2000 IRQ conflict?

2003-06-17 Thread Gary Aitken

In my case, I have one Netgear card which I can manually configure, 
and one generic card which I cannot, plus an SMC Etherpower (dec 21041 
chip) card which also cannot be configured (the mfg configuration 
program only allows configuration of the media type).  By manually 
configuring the Netgear card, I can get the other ne2000 card to use 
irq 5, so I can get those two working.  But the smc card always comes 
up at 9, and the video card comes up at 15.  The video card works in 
this system, but the smc card doesn't.  If I swap the smc card and the 
video card to another system, they come up reversed (smc card at 15, 
video card at 9) and both work fine.  I've tried moving the cards 
around in the slots, but can't get the irqs to shift.  Nothing is 
landing on irq 12, so I don't think that is a problem.
I was hoping that putting them in the system where they work would set 
the irqs, and those irqs would be honored when moved to another system 
in the absence of a conflict.  But that doesn't seem to be the case.  
I put both cards in the system where they work, then put them in the 
system where they don't, and booted dos and ran the mfg config utility.  
It showed the smc card back at 9, rather than at 15 where it was in the 
previous system.
Can someone give a brief explanation of what the difference is between 
a plug and play setting and one that is manually set?  Is there no way 
to give FreeBSD hints as to where you would like PP cards to be placed?
Adam Maas wrote:

The ne2000 nic has setup utility that you run from ms/dos that you
can set the nic's irq with. If you did not get one in the box the
Nic came in them check out the MFG website.

That is not the case for RTL8029 based NIC's, which are PCI NIC's that
emulate the NE2000 for driver compatibility. They are assigned IRQ's like
any other PCI card, rather than using a setup utility like the real NE2000
ISA cards.

That said, have you tried a different slot? IRQ12 is often problematic,
since it's supposed to be reserved for PS2 Mice on most systems. See if your
BIOS allows you to exclude that IRQ somehow.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getting ordb.org to stop spam with sendmail

2003-06-17 Thread Dan Nelson
In the last episode (Jun 17), David Banning said:
 On Tue, Jun 17, 2003 at 09:13:46AM -0500, Dan Nelson wrote:
  In the last episode (Jun 17), David Banning said:
   
   I have tried to test that it is working by adding;
   
   127.0.0.2  29.66.188.209.relays.ordb.org

   to my /etc/hosts file, as my ip address is 209.188.66.299
  
  /etc/hosts is not examined for DNS lookups.  You'll have to set up
  a fake relays.ordb.org zone in named if you want to test it on your
  own IP.
 
 Dan, your advice seems to contradict the ordb.org website which reads;
 
 
 How do I test if my mailserver is actually using ORDB.org?
 
 On Unix based systems:
 
 Become the root user:
 
 $ su - Edit /etc/hosts in your favourite editor: # vim /etc/hosts
 Add the following line, substituting for your your local systems
 inverted IP address: 
 
 127.0.0.2 my reversed IP address.relays.ordb.org

Hm.  I have just never seen sendmail open /etc/hosts on my system. 
After ktracing it I see that it does.

-- 
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: make buildworld failed

2003-06-17 Thread
$ grep mktemp /usr/include/*.h
/usr/include/unistd.h:char  *mktemp __P((char *));

$ nm /usr/lib/libc.so.* | grep mktemp
/usr/libexec/elf/nm: /usr/lib/libc.so.4: no symbols

$ cat /var/cvsup/src/contrib/binutils/libiberty/choose-temp.c
/* Utility to pick a temporary filename prefix.
   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.

This file is part of the libiberty library.
Libiberty is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

Libiberty is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with libiberty; see the file COPYING.LIB.  If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite
330,
Boston, MA 02111-1307, USA.  */

#ifdef HAVE_CONFIG_H
#include config.h
#endif

#include stdio.h  /* May get P_tmpdir.  */
#ifdef HAVE_STDLIB_H
#include stdlib.h
#endif
#ifdef HAVE_STRING_H
#include string.h
#endif

#include libiberty.h
extern char *choose_tmpdir PARAMS ((void));

/* Name of temporary file.
   mktemp requires 6 trailing X's.  */
#define TEMP_FILE ccXX
#define TEMP_FILE_LEN (sizeof(TEMP_FILE) - 1)

/*

@deftypefn Extension char* choose_temp_base (void)

Return a prefix for temporary file names or @code{NULL} if unable to
find one.  The current directory is chosen if all else fails so the
program is exited if a temporary directory can't be found (@code{mktemp}
fails).  The buffer for the result is obtained with @code{xmalloc}.

This function is provided for backwards compatability only.  Its use is
not recommended.

@end deftypefn

*/

char *
choose_temp_base ()
{
  const char *base = choose_tmpdir ();
  char *temp_filename;
  int len;

  len = strlen (base);
  temp_filename = xmalloc (len + TEMP_FILE_LEN + 1);
  strcpy (temp_filename, base);
  strcpy (temp_filename + len, TEMP_FILE);

  mktemp (temp_filename);
  if (strlen (temp_filename) == 0)
abort ();
  return temp_filename;
}

--
Viktor M. Gnitiyov
e-mail: [EMAIL PROTECTED]


 -Original Message-
 From: Joshua Oreman [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 8:48 PM
 To:  
 Cc: [EMAIL PROTECTED]
 Subject: Re: make buildworld failed
 
 
 On Tue, Jun 17, 2003 at 03:50:41PM +0400 or thereabouts, 
 ??? ?? seemed to write:
  Hi, All.
  
  On my machine with FreeBSD 4.4-RELEASE I was done next steps:
  
  Edit /usr/local/etc/CVSUP.conf for next settings:
  
  *default host=cvsup4.ru.FreeBSD.org
  *default base=/var/cvsup
  *default prefix=/var/cvsup
  *default release=cvs tag=RELENG_4
  *default delete use-rel-suffix
  #*default compress
  src-all
  
  REM: /var/cvsup is selected because it (/var) has free 
 space (3Gb).
  
  File /etc/make.conf have next special strings (other strings is
  default):
  NO_MAILWRAPPER=true
  NO_OPENSSH= true
  NO_OPENSSL= true
  NO_SENDMAIL=true
  NO_X=   true
  NOGAMES=true
  NOUUCP= true
  
  # cd /var/cvsup/src
  # make cleandir
  # make cleandir
  # cvsup -g -L 2 /usr/local/etc/CVSUP.conf
  # script /var/log/mk_bworld.log
  # make buildworld
  # exit
  
  make buildworld was fail with errors. Latest string in
  /var/log/mk_bworld.log is:
  
  === gnu/usr.bin/binutils
  === gnu/usr.bin/binutils/libiberty
  cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
  -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty
  -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
  
 -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../co
 ntrib/binu
  tils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
  -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror  -c
  
 /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../cont
 rib/binuti
  ls/libiberty/argv.c -o argv.o
  cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
  -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty
  -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
  
 -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../co
 ntrib/binu
  tils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
  -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror  -c
  
 /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../cont
 rib/binuti
  ls/libiberty/choose-temp.c -o choose-temp.o
  cc1: warnings being treated as errors
   ^ Well, that's why it 
 errored :-)
  
 /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../cont
 rib/binuti
  ls/libiberty/choose-temp.c: In function `choose_temp_base':
  
 /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../cont
 rib/binuti
  ls/libiberty/choose-temp.c:68: warning: 

television cable internet service

2003-06-17 Thread Lee_Shackelford
Greetings fellow B.S.D. enthusiasts.   Recently, I requested installation
of a television cable at my home in Sacramento, California.  The cable
operator is Comcast.  I requested connection of the television cable to my
computer, which is a service that the operator advertises profusely.  The
telephone sales representative assured me that all things are possible,
including both a Unix operating system, and an in-house L.A.N.  The
installation technician spent some time installing the cable, then attached
it through a Motorola DOCSYS modem to the NIC board on the computer.  The
computer saw the cable network, but the cable refused to accept a logon
request from the computer.  The technician said that he believed that
neither B.S.D. nor any other Unix, nor any Microsoft product that could be
programmed to act as a server was acceptable.  Has any other person had the
same problem?  How did you solve it?  If I insist on a B.S.D. connection,
how do I locate a B.S.D. friendly internet service provider in Sacramento?
If I insist on B.S.D., am I confined to a 56 kb Hayes-type telephone modem?
Any comments or advice is appreciated.  [EMAIL PROTECTED]

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


Re: Tools to modify shared libraries

2003-06-17 Thread Dan Nelson
In the last episode (Jun 17), Marcel Moolenaar said:
 On Tue, Jun 17, 2003 at 01:02:36PM -0400, Alexander Kabaev wrote:
  On Tue, 17 Jun 2003 09:01:41 -0700
  Marcel Moolenaar [EMAIL PROTECTED] wrote:
   On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote: Linux
   uses the same linker (GNU ld). Fixing the linker will have the
   same effect on Linux as it will have on FreeBSD and hence will
   prevent unnecessary dependencies in Linux libraries to Linux
   libraries and thus remove the need to patch ELF files in the long
   run.
   
  
  LD putting a library in DT_NEEDED regardless of whether or not
  library exports any required symbols as long as it appears on
  command line is a feature, not a bug AFAIK.
 
 It's a bug because DT_NEEDED serves the purpose of recording library
 dependencies. Any library that does not contribute to symbol
 resolution is by definition not a dependency. Hence, its presence in
 DT_NEEDED only makes the dependency information wrong. Dependency
 information that's wrong is untrustworthy and unreliable and thus
 unusable. Hence, a bug. Immediate consequences of broken dependency
 information is the increased startup time of shared binaries, the
 restriction in use of libraries in cases where they can be used and
 the obstruction in replacing libraries with different implementations
 by possibly causing artificial conflicts due to unnecessary loading
 of libraries.
 
 Only explicit user directives should allow adding libraries to DT_NEEDED
 regardless of whether there's actually a dependency.

Dependencies can change after a program is linked, though.  How about
the contrived case of a program needing the openpty function, so -lutil
is linked in.  Then 6 months later openpty is moved to libc, making the
dependency on libutil unneeded.  The end result is the same as if a new
program is unnecessarily linked with -lutil, but cannot be fixed with
ld because at the time it was linked, the first program actually did
need libutil.

-- 
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: restrictive ipfw ruleset and ftp

2003-06-17 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
[ ... ]
PS: does anyone know what the correct terminology for FTP's 
non-passive mode is?  I sometimes refer to active mode when talking 
FTP (because that term somehow got stuck in my head once upon a time), 
but I usually get some very curious/confused looks when I talk about 
active FTP...  :)
active mode FTP or simply normal FTP.

-Chuck

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


Developing for highly tailored chips on FreeBSD

2003-06-17 Thread Pavel Grishin
Hello,

I have come across a small difficulty. I would like to develop for
Motorola DSP56300 family on FreeBSD system, but unfortunately the
company provides tools for Windows and HP systems only.

I think that BSD would only benefit if such tools were available for it.
Moreover there are many such chips for which vendors provide development
tools for only one system (read - windows) whereas BSD can propose a lot
more convenient environment to write programs.

So may be we should have some committee which would negotiate such
things with vendors (i.e. to get sources) and port tools. In my case,
the FreeBSD is the cheapest system compared to the two mentioned in the
beginning of this message. I think I could port tools for the DSP
provided I had sources.

Please cc your replies to my address below since I am not signed at this
moment.

Thanks,
   Pavel
liberty @ visti.com

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


RE: television cable internet service

2003-06-17 Thread Derrick Ryalls
 Greetings fellow B.S.D. enthusiasts.   Recently, I requested 
 installation
 of a television cable at my home in Sacramento, California.  
 The cable operator is Comcast.  I requested connection of the 
 television cable to my computer, which is a service that the 
 operator advertises profusely.  The telephone sales 
 representative assured me that all things are possible, 
 including both a Unix operating system, and an in-house 
 L.A.N.  The installation technician spent some time 
 installing the cable, then attached it through a Motorola 
 DOCSYS modem to the NIC board on the computer.  The computer 
 saw the cable network, but the cable refused to accept a 

To make life easy, I had a windows box laying around for the technician
to verify a live line with.  Once it was live and he was gone, I
switched to using a BSD router on the connection.

 logon request from the computer.  The technician said that he 
 believed that neither B.S.D. nor any other Unix, nor any 
 Microsoft product that could be programmed to act as a server 
 was acceptable.  Has any other person had the same problem?  

Yeah, they are paranoid about servers, but never do anything about them
until it starts to cost them money.  If they were really strict on the
no servers policy, they would be able to allow any windows box to
connect to their network.

 How did you solve it?  If I insist on a B.S.D. connection, 
 how do I locate a B.S.D. friendly internet service provider 
 in Sacramento? If I insist on B.S.D., am I confined to a 56 
 kb Hayes-type telephone modem? Any comments or advice is 
 appreciated.  [EMAIL PROTECTED]
 

BSD should work fine with Comcast.  I am not sure how comcast in your
area differs from the seattle area, but they should all be BSD friendly.
The big trouble is that initial service with cable/dsl is rather flaky.
It usually takes the ISP a month or so to figure out how a network is to
be expanded or something.

In any case, step 1 is to verify connection.  Try going to this website:

http://192.168.100.1  which is commonly cable modem's ips.


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


Re: bad file descriptor

2003-06-17 Thread Dan Nelson
In the last episode (Jun 17), Jaime said:
 On Tue, 17 Jun 2003, heikki soerum wrote:
   zeus# rm #pico29506#
   rm: #pico29506#: Bad file descriptor
   zeus# whoami
   root
 
  # is usually an special character, I usually delete such files with
  Midnight Commander (mc shell), another possibility might be to not use
   but rather use an \ backslash before every special character.
 
   I tried that first.  That didn't work, either.  :(

Bad file descriptor when trying to access a file usually means
filesystem corruption.  A fsck run should delete it, and if it doesn't
you can use the clri command to zap the inode (dismount the filesystem
first) then run fsck.

-- 
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: ping: sendto: No buffer space available

2003-06-17 Thread Bill Moran
[EMAIL PROTECTED] wrote:
On Tue, 17 Jun 2003, Bill Moran wrote:

I think that the NIC is on the logic board.  I can try to install
a PCI card and use that in its place to see if the problem goes away.
Should I bother?
I would.  There are two possibilities that I would consider here:
a) The NIC has gone flaky with age
b) Newer drivers don't talk to that particular NIC as well as the old
Another possibility that bites me in the ass when I'm not looking is
link-level problems.  Occasionally I've had weird issues that were resolved
by replacing a switch or patch cable, or by moving to a different port on
a switch.
As usual ... just throwing ideas at you.
Never helped for me either.  You may want to check, but in my experience
the output of 'netstat -m' will also tell you that you have plenty of
network buffers available.


bash-2.05b$ netstat -m
144/768/26624 mbufs in use (current/peak/max):
139 mbufs allocated to data
5 mbufs allocated to packet headers
138/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
That was durring normal operation.  The following are at the tail
end of one of the outages:
bash-2.05b$ netstat -m
477/768/26624 mbufs in use (current/peak/max):
386 mbufs allocated to data
91 mbufs allocated to packet headers
384/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
snip additional netstat -m output

144/768/26624 mbufs in use (current/peak/max):
139 mbufs allocated to data
5 mbufs allocated to packet headers
136/572/6656 mbuf clusters in use (current/peak/max)
1336 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
It looks like something is causing it to pile up packets in the
buffers temporarily.  Any thoughts?  In the mean time, I will see if I can
dig up a PCI ethernet card.
Yes, but it doesn't look like the pile is deep enough that it should have run
out of buffer space.
This one is a bit of a shot in the dark, but try using rndcontrol to increase
the entropy collection.  I'm not sure why I think this might help, but I have
some vague memory of it helping somewhere.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: devfs problem (was: Re: 5.x usb gphoto

2003-06-17 Thread Jesse Guardiani
Jesse Guardiani wrote:

 Thomas T. Veldhouse wrote:
 
 It should have read something nicer in the comment though:
 
 # Allow members of group operator to write to ugen0
 perm   ugen0 0664
 
 Is that supposed to work for devices that always exist, or
 for devices that are created on the fly?
 
 The ugen device is created when I plug my camera in.
 
 The above doesn't effect it (because I think it is only
 run at boot).


This works:

devfs ruleset 10
devfs rule add path 'ugen*' mode 664

I had tried that before I posted to the list, but I think
I forgot to quote my globbing.

Does anyone know the appropriate place to put this so it
will execute at system boot?

/etc/rc.conf?

Thanks.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 01:02:36PM -0400, Alexander Kabaev wrote:
 On Tue, 17 Jun 2003 09:01:41 -0700
 Marcel Moolenaar [EMAIL PROTECTED] wrote:
 
  On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote:
  Linux uses the same linker (GNU ld). Fixing the linker will have the
  same effect on Linux as it will have on FreeBSD and hence will prevent
  unnecessary dependencies in Linux libraries to Linux libraries and
  thus remove the need to patch ELF files in the long run.
  
 
 LD putting a library in DT_NEEDED regardless of whether or not library
 exports any required symbols as long as it appears on command line is a
 feature, not a bug AFAIK.

It's a bug because DT_NEEDED serves the purpose of recording library
dependencies. Any library that does not contribute to symbol resolution
is by definition not a dependency. Hence, its presence in DT_NEEDED
only makes the dependency information wrong. Dependency information
that's wrong is untrustworthy and unreliable and thus unusable. Hence,
a bug. Immediate consequences of broken dependency information is the
increased startup time of shared binaries, the restriction in use of
libraries in cases where they can be used and the obstruction in
replacing libraries with different implementations by possibly causing
artificial conflicts due to unnecessary loading of libraries.

Only explicit user directives should allow adding libraries to DT_NEEDED
regardless of whether there's actually a dependency.

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


Re: Network printing via a win2k domain?

2003-06-17 Thread Kent Stewart
On Tuesday 17 June 2003 11:34 am, Dan Nelson wrote:
 In the last episode (Jun 17), Dragoncrest said:
  Hi all.  Ok, here's my situation.  Just recently at work we switched
  over to our network being managed by a windows 2000 domain.  (Stupid
  in my opinion, but they don't listen to me.  Sheesh) One of the
  criteria for printing is I have to login to the domain in order to be
  able to print to our network based printer.  So that's my dillema.
  I'm not sure if I can setup Cups to do this or if I need to install
  Samba, or some other printer software.  I'd prefer to avoid using
  samba if at all possible cause that opens up a whole new can of
  worms.
 
  Cliff notes version of this:
  Need to login to domain to be able to print.
  Printer is a Ricoh network printer.

 Cheat, and print directly to the printer :)  Most support the lpd
 protocol.

You have to have installed the simple unix services on the NT derivatives 
server for this to work.

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: Network printing via a win2k domain?

2003-06-17 Thread Dan Nelson
In the last episode (Jun 17), Kent Stewart said:
 On Tuesday 17 June 2003 11:34 am, Dan Nelson wrote:
  In the last episode (Jun 17), Dragoncrest said:
   Hi all.  Ok, here's my situation.  Just recently at work we switched
   over to our network being managed by a windows 2000 domain.  (Stupid
  
   Cliff notes version of this:
   Need to login to domain to be able to print.
   Printer is a Ricoh network printer.
 
  Cheat, and print directly to the printer :)  Most support the lpd
  protocol.
 
 You have to have installed the simple unix services on the NT derivatives 
 server for this to work.

Ricoh printers run NT now?  I mean print directly to the printer's IP
address, not to the NT server that routes Windows workstation
printjobs.

BTW, as for the original question, I think the smbclient command can
authenticate and print to SMB shared printers.

-- 
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: Network printing via a win2k domain?

2003-06-17 Thread Dan Nelson
In the last episode (Jun 17), Dragoncrest said:
 Hi all.  Ok, here's my situation.  Just recently at work we switched
 over to our network being managed by a windows 2000 domain.  (Stupid
 in my opinion, but they don't listen to me.  Sheesh) One of the
 criteria for printing is I have to login to the domain in order to be
 able to print to our network based printer.  So that's my dillema. 
 I'm not sure if I can setup Cups to do this or if I need to install
 Samba, or some other printer software.  I'd prefer to avoid using
 samba if at all possible cause that opens up a whole new can of
 worms.
 
 Cliff notes version of this:
 Need to login to domain to be able to print.
 Printer is a Ricoh network printer.

Cheat, and print directly to the printer :)  Most support the lpd
protocol.  

-- 
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: Network printing via a win2k domain?

2003-06-17 Thread Bill Moran
Dan Nelson wrote:
In the last episode (Jun 17), Kent Stewart said:

On Tuesday 17 June 2003 11:34 am, Dan Nelson wrote:

In the last episode (Jun 17), Dragoncrest said:

Hi all.  Ok, here's my situation.  Just recently at work we switched
over to our network being managed by a windows 2000 domain.  (Stupid
Cliff notes version of this:
Need to login to domain to be able to print.
Printer is a Ricoh network printer.
Cheat, and print directly to the printer :)  Most support the lpd
protocol.
You have to have installed the simple unix services on the NT derivatives 
server for this to work.
Ricoh printers run NT now?  I mean print directly to the printer's IP
address, not to the NT server that routes Windows workstation
printjobs.
I agree that this is a good approach.  Keep in mind that you may have to
enable LPD printing on the printer itself (it might be disabled by default).
However, I've seen it cause problems with some printers, such as printer
lockups and corrupt printjobs (where it prints hundreds of pages, each with
a single character on it).  Apparently the printer's spooling capability is
easily confused.  The problem went away when I set up an lpd queue on a BSD
server, and forced all the clients to print through that.  My guess is that
the printer's spool got confused when it was recieving jobs from too many
different locations at once.
The moral is this: if your printer starts freaking out after you start
printing to the LPD spool, you may not be able to do that on that printer.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network printing via a win2k domain?

2003-06-17 Thread Kent Stewart
On Tuesday 17 June 2003 12:04 pm, Bill Moran wrote:
 Dan Nelson wrote:
  In the last episode (Jun 17), Kent Stewart said:
 On Tuesday 17 June 2003 11:34 am, Dan Nelson wrote:
 In the last episode (Jun 17), Dragoncrest said:
 Hi all.  Ok, here's my situation.  Just recently at work we switched
 over to our network being managed by a windows 2000 domain.  (Stupid
 
 Cliff notes version of this:
 Need to login to domain to be able to print.
 Printer is a Ricoh network printer.
 
 Cheat, and print directly to the printer :)  Most support the lpd
 protocol.
 
 You have to have installed the simple unix services on the NT derivatives
 server for this to work.
 
  Ricoh printers run NT now?  I mean print directly to the printer's IP
  address, not to the NT server that routes Windows workstation
  printjobs.

 I agree that this is a good approach.  Keep in mind that you may have to
 enable LPD printing on the printer itself (it might be disabled by
 default).

 However, I've seen it cause problems with some printers, such as printer
 lockups and corrupt printjobs (where it prints hundreds of pages, each with
 a single character on it).  Apparently the printer's spooling capability is
 easily confused.  The problem went away when I set up an lpd queue on a BSD
 server, and forced all the clients to print through that.  My guess is that
 the printer's spool got confused when it was recieving jobs from too many
 different locations at once.

 The moral is this: if your printer starts freaking out after you start
 printing to the LPD spool, you may not be able to do that on that printer.

If you install lpd services on NT, it doesn't matter. It spools and you don't 
have to install samba. I personally can't see corrupting Unix with samba. Why 
add a service you really don't need.

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]


usb-net

2003-06-17 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi !

I'm not sure how to ask this question, but, is there a way to make a USB 
port behaves like an interface device ?
I mean, is there some kind of usb-net driver that I could use so I could 
connect to anothr plugged-in USB device (like a pocket pc) using TCP/IP 
?
Under Windows, I use the Bahia driver allowing TCP/IP over USB 
communication between a Windows host and a Linux handheld based.

Thanks for your help.

Regards.

- -- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
pgp key: http://www.lphp.org/ressources/ajacoutot.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+72jCY3Hnhkr+5cQRAg6GAJ9EclprWbfWuJ7Hs15lEIcPdE+UkQCeM8KR
FV9+2QtBsyYM9d+SjRMZWZY=
=ayy6
-END PGP SIGNATURE-

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


Re: Installing SquidGuard on FreeBSD 4.4

2003-06-17 Thread Jaime
On Tue, 17 Jun 2003, Simon-Pierre Butsana wrote:
 I am trying to install SquidGuard on a FreeBSD server but this doesn't
 work. I succeeded in installing SquidCache that works fine. Can you
 advice me in getting a successful installation of SquidGuard on FreeBSD
 4.4? Alternatively, can you advice me a access controller and redirector
 working fine with FreeBSD 4.4?

SquidGuard uses squid.  I would actually recommend adding
DansGuardian to your filters.  That is how I do things.  DansGuardian
loads the SquidGuard files and speaks to squid, squid does the web site
retrieval and caching, nad some ipfw rules handle redirection and prevent
anyone from accessing squid directly.  (Accessing squid directly would
circumvent DansGuardian.)

There are lots of docs on the web that detail this.  Most of the
settings in the squid configuration files are OK in their default form.  I
think that I changed about a half dozen settings at most.

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


  1   2   >